does.\n\t contentKey = 'textContent' in document.documentElement ? 'textContent' : 'innerText';\n\t }\n\t return contentKey;\n\t}\n\t\n\tmodule.exports = getTextContentAccessor;\n\n/***/ },\n/* 321 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule instantiateReactComponent\n\t */\n\t\n\t'use strict';\n\t\n\tvar _prodInvariant = __webpack_require__(5),\n\t _assign = __webpack_require__(11);\n\t\n\tvar ReactCompositeComponent = __webpack_require__(810);\n\tvar ReactEmptyComponent = __webpack_require__(305);\n\tvar ReactHostComponent = __webpack_require__(307);\n\tvar ReactInstrumentation = __webpack_require__(31);\n\t\n\tvar invariant = __webpack_require__(3);\n\tvar warning = __webpack_require__(6);\n\t\n\t// To avoid a cyclic dependency, we create the final class in this module\n\tvar ReactCompositeComponentWrapper = function (element) {\n\t this.construct(element);\n\t};\n\t_assign(ReactCompositeComponentWrapper.prototype, ReactCompositeComponent.Mixin, {\n\t _instantiateReactComponent: instantiateReactComponent\n\t});\n\t\n\tfunction getDeclarationErrorAddendum(owner) {\n\t if (owner) {\n\t var name = owner.getName();\n\t if (name) {\n\t return ' Check the render method of `' + name + '`.';\n\t }\n\t }\n\t return '';\n\t}\n\t\n\tfunction getDisplayName(instance) {\n\t var element = instance._currentElement;\n\t if (element == null) {\n\t return '#empty';\n\t } else if (typeof element === 'string' || typeof element === 'number') {\n\t return '#text';\n\t } else if (typeof element.type === 'string') {\n\t return element.type;\n\t } else if (instance.getName) {\n\t return instance.getName() || 'Unknown';\n\t } else {\n\t return element.type.displayName || element.type.name || 'Unknown';\n\t }\n\t}\n\t\n\t/**\n\t * Check if the type reference is a known internal type. I.e. not a user\n\t * provided composite type.\n\t *\n\t * @param {function} type\n\t * @return {boolean} Returns true if this is a valid internal type.\n\t */\n\tfunction isInternalComponentType(type) {\n\t return typeof type === 'function' && typeof type.prototype !== 'undefined' && typeof type.prototype.mountComponent === 'function' && typeof type.prototype.receiveComponent === 'function';\n\t}\n\t\n\tvar nextDebugID = 1;\n\t\n\t/**\n\t * Given a ReactNode, create an instance that will actually be mounted.\n\t *\n\t * @param {ReactNode} node\n\t * @param {boolean} shouldHaveDebugID\n\t * @return {object} A new instance of the element's constructor.\n\t * @protected\n\t */\n\tfunction instantiateReactComponent(node, shouldHaveDebugID) {\n\t var instance;\n\t\n\t if (node === null || node === false) {\n\t instance = ReactEmptyComponent.create(instantiateReactComponent);\n\t } else if (typeof node === 'object') {\n\t var element = node;\n\t !(element && (typeof element.type === 'function' || typeof element.type === 'string')) ? false ? invariant(false, 'Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s', element.type == null ? element.type : typeof element.type, getDeclarationErrorAddendum(element._owner)) : _prodInvariant('130', element.type == null ? element.type : typeof element.type, getDeclarationErrorAddendum(element._owner)) : void 0;\n\t\n\t // Special case string values\n\t if (typeof element.type === 'string') {\n\t instance = ReactHostComponent.createInternalComponent(element);\n\t } else if (isInternalComponentType(element.type)) {\n\t // This is temporarily available for custom components that are not string\n\t // representations. I.e. ART. Once those are updated to use the string\n\t // representation, we can drop this code path.\n\t instance = new element.type(element);\n\t\n\t // We renamed this. Allow the old name for compat. :(\n\t if (!instance.getHostNode) {\n\t instance.getHostNode = instance.getNativeNode;\n\t }\n\t } else {\n\t instance = new ReactCompositeComponentWrapper(element);\n\t }\n\t } else if (typeof node === 'string' || typeof node === 'number') {\n\t instance = ReactHostComponent.createInstanceForText(node);\n\t } else {\n\t true ? false ? invariant(false, 'Encountered invalid React node of type %s', typeof node) : _prodInvariant('131', typeof node) : void 0;\n\t }\n\t\n\t if (false) {\n\t process.env.NODE_ENV !== 'production' ? warning(typeof instance.mountComponent === 'function' && typeof instance.receiveComponent === 'function' && typeof instance.getHostNode === 'function' && typeof instance.unmountComponent === 'function', 'Only React Components can be mounted.') : void 0;\n\t }\n\t\n\t // These two fields are used by the DOM and ART diffing algorithms\n\t // respectively. Instead of using expandos on components, we should be\n\t // storing the state needed by the diffing algorithms elsewhere.\n\t instance._mountIndex = 0;\n\t instance._mountImage = null;\n\t\n\t if (false) {\n\t if (shouldHaveDebugID) {\n\t var debugID = nextDebugID++;\n\t instance._debugID = debugID;\n\t var displayName = getDisplayName(instance);\n\t ReactInstrumentation.debugTool.onSetDisplayName(debugID, displayName);\n\t var owner = node && node._owner;\n\t if (owner) {\n\t ReactInstrumentation.debugTool.onSetOwner(debugID, owner._debugID);\n\t }\n\t } else {\n\t instance._debugID = 0;\n\t }\n\t }\n\t\n\t // Internal instances should fully constructed at this point, so they should\n\t // not get any new fields added to them at this point.\n\t if (false) {\n\t if (Object.preventExtensions) {\n\t Object.preventExtensions(instance);\n\t }\n\t }\n\t\n\t return instance;\n\t}\n\t\n\tmodule.exports = instantiateReactComponent;\n\n/***/ },\n/* 322 */\n/***/ function(module, exports) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule isTextInputElement\n\t * \n\t */\n\t\n\t'use strict';\n\t\n\t/**\n\t * @see http://www.whatwg.org/specs/web-apps/current-work/multipage/the-input-element.html#input-type-attr-summary\n\t */\n\t\n\tvar supportedInputTypes = {\n\t 'color': true,\n\t 'date': true,\n\t 'datetime': true,\n\t 'datetime-local': true,\n\t 'email': true,\n\t 'month': true,\n\t 'number': true,\n\t 'password': true,\n\t 'range': true,\n\t 'search': true,\n\t 'tel': true,\n\t 'text': true,\n\t 'time': true,\n\t 'url': true,\n\t 'week': true\n\t};\n\t\n\tfunction isTextInputElement(elem) {\n\t var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n\t\n\t if (nodeName === 'input') {\n\t return !!supportedInputTypes[elem.type];\n\t }\n\t\n\t if (nodeName === 'textarea') {\n\t return true;\n\t }\n\t\n\t return false;\n\t}\n\t\n\tmodule.exports = isTextInputElement;\n\n/***/ },\n/* 323 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @providesModule setTextContent\n\t */\n\t\n\t'use strict';\n\t\n\tvar ExecutionEnvironment = __webpack_require__(25);\n\tvar escapeTextContentForBrowser = __webpack_require__(139);\n\tvar setInnerHTML = __webpack_require__(140);\n\t\n\t/**\n\t * Set the textContent property of a node, ensuring that whitespace is preserved\n\t * even in IE8. innerText is a poor substitute for textContent and, among many\n\t * issues, inserts
instead of the literal newline chars. innerHTML behaves\n\t * as it should.\n\t *\n\t * @param {DOMElement} node\n\t * @param {string} text\n\t * @internal\n\t */\n\tvar setTextContent = function (node, text) {\n\t if (text) {\n\t var firstChild = node.firstChild;\n\t\n\t if (firstChild && firstChild === node.lastChild && firstChild.nodeType === 3) {\n\t firstChild.nodeValue = text;\n\t return;\n\t }\n\t }\n\t node.textContent = text;\n\t};\n\t\n\tif (ExecutionEnvironment.canUseDOM) {\n\t if (!('textContent' in document.documentElement)) {\n\t setTextContent = function (node, text) {\n\t setInnerHTML(node, escapeTextContentForBrowser(text));\n\t };\n\t }\n\t}\n\t\n\tmodule.exports = setTextContent;\n\n/***/ },\n/* 324 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\texports.__esModule = true;\n\texports[\"default\"] = compose;\n\t/**\n\t * Composes single-argument functions from right to left. The rightmost\n\t * function can take multiple arguments as it provides the signature for\n\t * the resulting composite function.\n\t *\n\t * @param {...Function} funcs The functions to compose.\n\t * @returns {Function} A function obtained by composing the argument functions\n\t * from right to left. For example, compose(f, g, h) is identical to doing\n\t * (...args) => f(g(h(...args))).\n\t */\n\t\n\tfunction compose() {\n\t for (var _len = arguments.length, funcs = Array(_len), _key = 0; _key < _len; _key++) {\n\t funcs[_key] = arguments[_key];\n\t }\n\t\n\t if (funcs.length === 0) {\n\t return function (arg) {\n\t return arg;\n\t };\n\t } else {\n\t var _ret = function () {\n\t var last = funcs[funcs.length - 1];\n\t var rest = funcs.slice(0, -1);\n\t return {\n\t v: function v() {\n\t return rest.reduceRight(function (composed, f) {\n\t return f(composed);\n\t }, last.apply(undefined, arguments));\n\t }\n\t };\n\t }();\n\t\n\t if (typeof _ret === \"object\") return _ret.v;\n\t }\n\t}\n\n/***/ },\n/* 325 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports.ActionTypes = undefined;\n\texports[\"default\"] = createStore;\n\t\n\tvar _isPlainObject = __webpack_require__(181);\n\t\n\tvar _isPlainObject2 = _interopRequireDefault(_isPlainObject);\n\t\n\tvar _symbolObservable = __webpack_require__(871);\n\t\n\tvar _symbolObservable2 = _interopRequireDefault(_symbolObservable);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\t\n\t/**\n\t * These are private action types reserved by Redux.\n\t * For any unknown actions, you must return the current state.\n\t * If the current state is undefined, you must return the initial state.\n\t * Do not reference these action types directly in your code.\n\t */\n\tvar ActionTypes = exports.ActionTypes = {\n\t INIT: '@@redux/INIT'\n\t};\n\t\n\t/**\n\t * Creates a Redux store that holds the state tree.\n\t * The only way to change the data in the store is to call `dispatch()` on it.\n\t *\n\t * There should only be a single store in your app. To specify how different\n\t * parts of the state tree respond to actions, you may combine several reducers\n\t * into a single reducer function by using `combineReducers`.\n\t *\n\t * @param {Function} reducer A function that returns the next state tree, given\n\t * the current state tree and the action to handle.\n\t *\n\t * @param {any} [initialState] The initial state. You may optionally specify it\n\t * to hydrate the state from the server in universal apps, or to restore a\n\t * previously serialized user session.\n\t * If you use `combineReducers` to produce the root reducer function, this must be\n\t * an object with the same shape as `combineReducers` keys.\n\t *\n\t * @param {Function} enhancer The store enhancer. You may optionally specify it\n\t * to enhance the store with third-party capabilities such as middleware,\n\t * time travel, persistence, etc. The only store enhancer that ships with Redux\n\t * is `applyMiddleware()`.\n\t *\n\t * @returns {Store} A Redux store that lets you read the state, dispatch actions\n\t * and subscribe to changes.\n\t */\n\tfunction createStore(reducer, initialState, enhancer) {\n\t var _ref2;\n\t\n\t if (typeof initialState === 'function' && typeof enhancer === 'undefined') {\n\t enhancer = initialState;\n\t initialState = undefined;\n\t }\n\t\n\t if (typeof enhancer !== 'undefined') {\n\t if (typeof enhancer !== 'function') {\n\t throw new Error('Expected the enhancer to be a function.');\n\t }\n\t\n\t return enhancer(createStore)(reducer, initialState);\n\t }\n\t\n\t if (typeof reducer !== 'function') {\n\t throw new Error('Expected the reducer to be a function.');\n\t }\n\t\n\t var currentReducer = reducer;\n\t var currentState = initialState;\n\t var currentListeners = [];\n\t var nextListeners = currentListeners;\n\t var isDispatching = false;\n\t\n\t function ensureCanMutateNextListeners() {\n\t if (nextListeners === currentListeners) {\n\t nextListeners = currentListeners.slice();\n\t }\n\t }\n\t\n\t /**\n\t * Reads the state tree managed by the store.\n\t *\n\t * @returns {any} The current state tree of your application.\n\t */\n\t function getState() {\n\t return currentState;\n\t }\n\t\n\t /**\n\t * Adds a change listener. It will be called any time an action is dispatched,\n\t * and some part of the state tree may potentially have changed. You may then\n\t * call `getState()` to read the current state tree inside the callback.\n\t *\n\t * You may call `dispatch()` from a change listener, with the following\n\t * caveats:\n\t *\n\t * 1. The subscriptions are snapshotted just before every `dispatch()` call.\n\t * If you subscribe or unsubscribe while the listeners are being invoked, this\n\t * will not have any effect on the `dispatch()` that is currently in progress.\n\t * However, the next `dispatch()` call, whether nested or not, will use a more\n\t * recent snapshot of the subscription list.\n\t *\n\t * 2. The listener should not expect to see all state changes, as the state\n\t * might have been updated multiple times during a nested `dispatch()` before\n\t * the listener is called. It is, however, guaranteed that all subscribers\n\t * registered before the `dispatch()` started will be called with the latest\n\t * state by the time it exits.\n\t *\n\t * @param {Function} listener A callback to be invoked on every dispatch.\n\t * @returns {Function} A function to remove this change listener.\n\t */\n\t function subscribe(listener) {\n\t if (typeof listener !== 'function') {\n\t throw new Error('Expected listener to be a function.');\n\t }\n\t\n\t var isSubscribed = true;\n\t\n\t ensureCanMutateNextListeners();\n\t nextListeners.push(listener);\n\t\n\t return function unsubscribe() {\n\t if (!isSubscribed) {\n\t return;\n\t }\n\t\n\t isSubscribed = false;\n\t\n\t ensureCanMutateNextListeners();\n\t var index = nextListeners.indexOf(listener);\n\t nextListeners.splice(index, 1);\n\t };\n\t }\n\t\n\t /**\n\t * Dispatches an action. It is the only way to trigger a state change.\n\t *\n\t * The `reducer` function, used to create the store, will be called with the\n\t * current state tree and the given `action`. Its return value will\n\t * be considered the **next** state of the tree, and the change listeners\n\t * will be notified.\n\t *\n\t * The base implementation only supports plain object actions. If you want to\n\t * dispatch a Promise, an Observable, a thunk, or something else, you need to\n\t * wrap your store creating function into the corresponding middleware. For\n\t * example, see the documentation for the `redux-thunk` package. Even the\n\t * middleware will eventually dispatch plain object actions using this method.\n\t *\n\t * @param {Object} action A plain object representing “what changed”. It is\n\t * a good idea to keep actions serializable so you can record and replay user\n\t * sessions, or use the time travelling `redux-devtools`. An action must have\n\t * a `type` property which may not be `undefined`. It is a good idea to use\n\t * string constants for action types.\n\t *\n\t * @returns {Object} For convenience, the same action object you dispatched.\n\t *\n\t * Note that, if you use a custom middleware, it may wrap `dispatch()` to\n\t * return something else (for example, a Promise you can await).\n\t */\n\t function dispatch(action) {\n\t if (!(0, _isPlainObject2[\"default\"])(action)) {\n\t throw new Error('Actions must be plain objects. ' + 'Use custom middleware for async actions.');\n\t }\n\t\n\t if (typeof action.type === 'undefined') {\n\t throw new Error('Actions may not have an undefined \"type\" property. ' + 'Have you misspelled a constant?');\n\t }\n\t\n\t if (isDispatching) {\n\t throw new Error('Reducers may not dispatch actions.');\n\t }\n\t\n\t try {\n\t isDispatching = true;\n\t currentState = currentReducer(currentState, action);\n\t } finally {\n\t isDispatching = false;\n\t }\n\t\n\t var listeners = currentListeners = nextListeners;\n\t for (var i = 0; i < listeners.length; i++) {\n\t listeners[i]();\n\t }\n\t\n\t return action;\n\t }\n\t\n\t /**\n\t * Replaces the reducer currently used by the store to calculate the state.\n\t *\n\t * You might need this if your app implements code splitting and you want to\n\t * load some of the reducers dynamically. You might also need this if you\n\t * implement a hot reloading mechanism for Redux.\n\t *\n\t * @param {Function} nextReducer The reducer for the store to use instead.\n\t * @returns {void}\n\t */\n\t function replaceReducer(nextReducer) {\n\t if (typeof nextReducer !== 'function') {\n\t throw new Error('Expected the nextReducer to be a function.');\n\t }\n\t\n\t currentReducer = nextReducer;\n\t dispatch({ type: ActionTypes.INIT });\n\t }\n\t\n\t /**\n\t * Interoperability point for observable/reactive libraries.\n\t * @returns {observable} A minimal observable of state changes.\n\t * For more information, see the observable proposal:\n\t * https://github.com/zenparsing/es-observable\n\t */\n\t function observable() {\n\t var _ref;\n\t\n\t var outerSubscribe = subscribe;\n\t return _ref = {\n\t /**\n\t * The minimal observable subscription method.\n\t * @param {Object} observer Any object that can be used as an observer.\n\t * The observer object should have a `next` method.\n\t * @returns {subscription} An object with an `unsubscribe` method that can\n\t * be used to unsubscribe the observable from the store, and prevent further\n\t * emission of values from the observable.\n\t */\n\t\n\t subscribe: function subscribe(observer) {\n\t if (typeof observer !== 'object') {\n\t throw new TypeError('Expected the observer to be an object.');\n\t }\n\t\n\t function observeState() {\n\t if (observer.next) {\n\t observer.next(getState());\n\t }\n\t }\n\t\n\t observeState();\n\t var unsubscribe = outerSubscribe(observeState);\n\t return { unsubscribe: unsubscribe };\n\t }\n\t }, _ref[_symbolObservable2[\"default\"]] = function () {\n\t return this;\n\t }, _ref;\n\t }\n\t\n\t // When a store is created, an \"INIT\" action is dispatched so that every\n\t // reducer returns their initial state. This effectively populates\n\t // the initial state tree.\n\t dispatch({ type: ActionTypes.INIT });\n\t\n\t return _ref2 = {\n\t dispatch: dispatch,\n\t subscribe: subscribe,\n\t getState: getState,\n\t replaceReducer: replaceReducer\n\t }, _ref2[_symbolObservable2[\"default\"]] = observable, _ref2;\n\t}\n\n/***/ },\n/* 326 */\n/***/ function(module, exports) {\n\n\t'use strict';\n\t\n\texports.__esModule = true;\n\texports[\"default\"] = warning;\n\t/**\n\t * Prints a warning in the console if it exists.\n\t *\n\t * @param {String} message The warning message.\n\t * @returns {void}\n\t */\n\tfunction warning(message) {\n\t /* eslint-disable no-console */\n\t if (typeof console !== 'undefined' && typeof console.error === 'function') {\n\t console.error(message);\n\t }\n\t /* eslint-enable no-console */\n\t try {\n\t // This error was thrown as a convenience so that if you enable\n\t // \"break on all exceptions\" in your console,\n\t // it would pause the execution at this line.\n\t throw new Error(message);\n\t /* eslint-disable no-empty */\n\t } catch (e) {}\n\t /* eslint-enable no-empty */\n\t}\n\n/***/ },\n/* 327 */,\n/* 328 */,\n/* 329 */,\n/* 330 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.DEFAULT_LIMIT = undefined;\n\t\n\texports.default = function (action, requestType, successType, failureType) {\n\t /** Get the name of the item associated with action */\n\t var itemName = action.rstrip(\"s\");\n\t\n\t /**\n\t * Normalizr helper to normalize API response.\n\t *\n\t * @param jsonData The JS object returned by the API.\n\t * @return A normalized object.\n\t */\n\t var _normalizeAPIResponse = function _normalizeAPIResponse(jsonData) {\n\t return (0, _normalizr.normalize)(jsonData, {\n\t artist: (0, _normalizr.arrayOf)(_api2.artist),\n\t album: (0, _normalizr.arrayOf)(_api2.album),\n\t song: (0, _normalizr.arrayOf)(_api2.song)\n\t }, {\n\t // Use custom assignEntity function to delete useless fields\n\t assignEntity: function assignEntity(output, key, value) {\n\t if (key == \"sessionExpire\") {\n\t delete output.sessionExpire;\n\t } else {\n\t output[key] = value;\n\t }\n\t }\n\t });\n\t };\n\t\n\t /**\n\t * Callback on successful fetch of paginated items\n\t *\n\t * @param jsonData JS object returned from the API.\n\t * @param pageNumber Number of the page that was fetched.\n\t */\n\t var fetchPaginatedItemsSuccess = function fetchPaginatedItemsSuccess(jsonData, pageNumber, limit) {\n\t var totalCount = jsonData.totalCount;\n\t jsonData = _normalizeAPIResponse(jsonData);\n\t\n\t // Compute the total number of pages\n\t var nPages = Math.ceil(totalCount / limit);\n\t\n\t // Return success actions\n\t return [\n\t // Action for the global entities store\n\t (0, _entities.pushEntities)(jsonData.entities, [itemName]),\n\t // Action for the paginated store\n\t {\n\t type: successType,\n\t payload: {\n\t type: itemName,\n\t result: jsonData.result[itemName],\n\t nPages: nPages,\n\t currentPage: pageNumber\n\t }\n\t }];\n\t };\n\t\n\t /**\n\t * Callback on successful fetch of single item\n\t *\n\t * @param jsonData JS object returned from the API.\n\t * @param pageNumber Number of the page that was fetched.\n\t */\n\t var fetchItemSuccess = function fetchItemSuccess(jsonData) {\n\t jsonData = _normalizeAPIResponse(jsonData);\n\t\n\t return (0, _entities.pushEntities)(jsonData.entities, [itemName]);\n\t };\n\t\n\t /** Callback on request */\n\t var fetchItemsRequest = function fetchItemsRequest() {\n\t // Return a request type action\n\t return {\n\t type: requestType,\n\t payload: {}\n\t };\n\t };\n\t\n\t /**\n\t * Callback on failed fetch\n\t *\n\t * @param error An error object, either a string or an i18nError\n\t * object.\n\t */\n\t var fetchItemsFailure = function fetchItemsFailure(error) {\n\t // Return a failure type action\n\t return {\n\t type: failureType,\n\t payload: {\n\t error: error\n\t }\n\t };\n\t };\n\t\n\t /**\n\t * Method to trigger a fetch of items.\n\t *\n\t * @param endpoint Ampache server base URL.\n\t * @param username Username to use for API request.\n\t * @param filter An eventual filter to apply (mapped to API filter\n\t * param)\n\t * @param pageNumber Number of the page to fetch items from.\n\t * @param limit Max number of items to fetch.\n\t * @param include [Optional] A list of includes to return as well\n\t * (mapped to API include param)\n\t *\n\t * @return A CALL_API action to fetch the specified items.\n\t */\n\t var fetchItems = function fetchItems(endpoint, username, passphrase, filter, pageNumber, limit) {\n\t var include = arguments.length <= 6 || arguments[6] === undefined ? [] : arguments[6];\n\t\n\t // Compute offset in number of items from the page number\n\t var offset = (pageNumber - 1) * DEFAULT_LIMIT;\n\t // Set extra params for pagination\n\t var extraParams = {\n\t offset: offset,\n\t limit: limit\n\t };\n\t\n\t // Handle filter\n\t if (filter) {\n\t extraParams.filter = filter;\n\t }\n\t\n\t // Handle includes\n\t if (include && include.length > 0) {\n\t extraParams.include = include;\n\t }\n\t\n\t // Return a CALL_API action\n\t return {\n\t type: _api.CALL_API,\n\t payload: {\n\t endpoint: endpoint,\n\t dispatch: [fetchItemsRequest, null, fetchItemsFailure],\n\t action: action,\n\t auth: passphrase,\n\t username: username,\n\t extraParams: extraParams\n\t }\n\t };\n\t };\n\t\n\t /**\n\t * High level method to load paginated items from the API wihtout dealing about credentials.\n\t *\n\t * @param pageNumber [Optional] Number of the page to fetch items from.\n\t * @param filter [Optional] An eventual filter to apply (mapped to\n\t * API filter param)\n\t * @param include [Optional] A list of includes to return as well\n\t * (mapped to API include param)\n\t *\n\t * Dispatches the CALL_API action to fetch these items.\n\t */\n\t var loadPaginatedItems = function loadPaginatedItems() {\n\t var _ref = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t\n\t var _ref$pageNumber = _ref.pageNumber;\n\t var pageNumber = _ref$pageNumber === undefined ? 1 : _ref$pageNumber;\n\t var _ref$limit = _ref.limit;\n\t var limit = _ref$limit === undefined ? DEFAULT_LIMIT : _ref$limit;\n\t var _ref$filter = _ref.filter;\n\t var filter = _ref$filter === undefined ? null : _ref$filter;\n\t var _ref$include = _ref.include;\n\t var include = _ref$include === undefined ? [] : _ref$include;\n\t\n\t return function (dispatch, getState) {\n\t // Get credentials from the state\n\t var _getState = getState();\n\t\n\t var auth = _getState.auth;\n\t // Get the fetch action to dispatch\n\t\n\t var fetchAction = fetchItems(auth.endpoint, auth.username, auth.token.token, filter, pageNumber, limit, include);\n\t // Set success callback\n\t fetchAction.payload.dispatch[1] = function (jsonData) {\n\t return function (dispatch) {\n\t // Dispatch all the necessary actions\n\t var actions = fetchPaginatedItemsSuccess(jsonData, pageNumber, limit);\n\t actions.map(function (action) {\n\t return dispatch(action);\n\t });\n\t };\n\t };\n\t // Dispatch action\n\t dispatch(fetchAction);\n\t };\n\t };\n\t\n\t /**\n\t * High level method to load a single item from the API wihtout dealing about credentials.\n\t *\n\t * @param filter The filter to apply (mapped to API filter param)\n\t * @param include [Optional] A list of includes to return as well\n\t * (mapped to API include param)\n\t *\n\t * Dispatches the CALL_API action to fetch this item.\n\t */\n\t var loadItem = function loadItem() {\n\t var _ref2 = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\t\n\t var _ref2$filter = _ref2.filter;\n\t var filter = _ref2$filter === undefined ? null : _ref2$filter;\n\t var _ref2$include = _ref2.include;\n\t var include = _ref2$include === undefined ? [] : _ref2$include;\n\t\n\t return function (dispatch, getState) {\n\t // Get credentials from the state\n\t var _getState2 = getState();\n\t\n\t var auth = _getState2.auth;\n\t // Get the action to dispatch\n\t\n\t var fetchAction = fetchItems(auth.endpoint, auth.username, auth.token.token, filter, 1, DEFAULT_LIMIT, include);\n\t // Set success callback\n\t fetchAction.payload.dispatch[1] = function (jsonData) {\n\t return function (dispatch) {\n\t dispatch(fetchItemSuccess(jsonData));\n\t };\n\t };\n\t // Dispatch action\n\t dispatch(fetchAction);\n\t };\n\t };\n\t\n\t // Remap the above methods to methods including item name\n\t var returned = {};\n\t var camelizedAction = _humps2.default.pascalize(action);\n\t returned[\"loadPaginated\" + camelizedAction] = loadPaginatedItems;\n\t returned[\"load\" + camelizedAction.rstrip(\"s\")] = loadItem;\n\t return returned;\n\t};\n\t\n\tvar _normalizr = __webpack_require__(283);\n\t\n\tvar _humps = __webpack_require__(255);\n\t\n\tvar _humps2 = _interopRequireDefault(_humps);\n\t\n\tvar _api = __webpack_require__(141);\n\t\n\tvar _entities = __webpack_require__(103);\n\t\n\tvar _api2 = __webpack_require__(362);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t// Constants\n\tvar DEFAULT_LIMIT = exports.DEFAULT_LIMIT = 32; /** Default max number of elements to retrieve. */\n\t\n\t/**\n\t * This function wraps around an API action to generate actions trigger\n\t * functions to load items etc.\n\t *\n\t * @param action API action.\n\t * @param requestType Action type to trigger on request.\n\t * @param successType Action type to trigger on success.\n\t * @param failureType Action type to trigger on failure.\n\t */\n\t\n\t\n\t// Models\n\t\n\t\n\t// Other actions\n\t/**\n\t * This file implements actions to fetch and load data from the API.\n\t */\n\t\n\t// NPM imports\n\n/***/ },\n/* 331 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.CLEAR_PAGINATED_RESULTS = undefined;\n\texports.clearPaginatedResults = clearPaginatedResults;\n\t\n\tvar _entities = __webpack_require__(103);\n\t\n\t/** Define an action to invalidate results in paginated store. */\n\tvar CLEAR_PAGINATED_RESULTS = exports.CLEAR_PAGINATED_RESULTS = \"CLEAR_PAGINATED_RESULTS\"; /**\n\t * These actions are actions acting directly on the paginated views store.\n\t */\n\t\n\t// Other actions\n\tfunction clearPaginatedResults() {\n\t return function (dispatch, getState) {\n\t // Decrement reference counter\n\t var paginatedStore = getState().paginated;\n\t var entities = {};\n\t entities[paginatedStore.get(\"type\")] = paginatedStore.get(\"result\").toJS();\n\t dispatch((0, _entities.decrementRefCount)(entities));\n\t\n\t // Clear results in store\n\t dispatch({\n\t type: CLEAR_PAGINATED_RESULTS\n\t });\n\t };\n\t}\n\n/***/ },\n/* 332 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.goToPage = goToPage;\n\t\n\tvar _reactRouterRedux = __webpack_require__(97);\n\t\n\t/** Define an action to go to a specific page. */\n\tfunction goToPage(pageLocation) {\n\t return function (dispatch) {\n\t // Just push the new page location in react-router.\n\t dispatch((0, _reactRouterRedux.push)(pageLocation));\n\t };\n\t} /**\n\t * This file defines pagination related actions.\n\t */\n\t\n\t// NPM imports\n\n/***/ },\n/* 333 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _hacks = __webpack_require__(604);\n\t\n\tObject.keys(_hacks).forEach(function (key) {\n\t if (key === \"default\" || key === \"__esModule\") return;\n\t Object.defineProperty(exports, key, {\n\t enumerable: true,\n\t get: function get() {\n\t return _hacks[key];\n\t }\n\t });\n\t});\n\t\n\tvar _common = __webpack_require__(603);\n\t\n\tObject.keys(_common).forEach(function (key) {\n\t if (key === \"default\" || key === \"__esModule\") return;\n\t Object.defineProperty(exports, key, {\n\t enumerable: true,\n\t get: function get() {\n\t return _common[key];\n\t }\n\t });\n\t});\n\n/***/ },\n/* 334 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _jquery = __webpack_require__(335);\n\t\n\tObject.keys(_jquery).forEach(function (key) {\n\t if (key === \"default\" || key === \"__esModule\") return;\n\t Object.defineProperty(exports, key, {\n\t enumerable: true,\n\t get: function get() {\n\t return _jquery[key];\n\t }\n\t });\n\t});\n\t\n\tvar _string = __webpack_require__(336);\n\t\n\tObject.keys(_string).forEach(function (key) {\n\t if (key === \"default\" || key === \"__esModule\") return;\n\t Object.defineProperty(exports, key, {\n\t enumerable: true,\n\t get: function get() {\n\t return _string[key];\n\t }\n\t });\n\t});\n\n/***/ },\n/* 335 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {\"use strict\";\n\t\n\t/**\n\t * jQuery prototype extensions.\n\t */\n\t\n\t/**\n\t * Shake animation.\n\t *\n\t * @param intShakes Number of times to shake.\n\t * @param intDistance Distance to move the object.\n\t * @param intDuration Duration of the animation.\n\t *\n\t * @return The element it was applied one, for chaining.\n\t */\n\t$.fn.shake = function (intShakes, intDistance, intDuration) {\n\t this.each(function () {\n\t $(this).css(\"position\", \"relative\");\n\t for (var x = 1; x <= intShakes; x++) {\n\t $(this).animate({ left: intDistance * -1 }, intDuration / intShakes / 4).animate({ left: intDistance }, intDuration / intShakes / 2).animate({ left: 0 }, intDuration / intShakes / 4);\n\t }\n\t });\n\t return this;\n\t};\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 336 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * String prototype extension.\n\t */\n\t\n\t/**\n\t * Capitalize a string.\n\t *\n\t * @return Capitalized string.\n\t */\n\tString.prototype.capitalize = function () {\n\t return this.charAt(0).toUpperCase() + this.slice(1);\n\t};\n\t\n\t/**\n\t * Strip characters at the end of a string.\n\t *\n\t * @param chars A regex-like element to strip from the end.\n\t * @return Stripped string.\n\t */\n\tString.prototype.rstrip = function (chars) {\n\t var regex = new RegExp(chars + \"$\");\n\t return this.replace(regex, \"\");\n\t};\n\n/***/ },\n/* 337 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.AlbumRow = exports.AlbumTracksTable = exports.AlbumTrackRow = undefined;\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactCssModules = __webpack_require__(46);\n\t\n\tvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _reactFontawesome = __webpack_require__(78);\n\t\n\tvar _reactFontawesome2 = _interopRequireDefault(_reactFontawesome);\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _common = __webpack_require__(50);\n\t\n\tvar _common2 = _interopRequireDefault(_common);\n\t\n\tvar _Album = __webpack_require__(605);\n\t\n\tvar _Album2 = _interopRequireDefault(_Album);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM import\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Styles\n\t\n\t\n\t// Set translations\n\tvar albumMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _common2.default)));\n\t\n\t/**\n\t * Track row in an album tracks table.\n\t */\n\t\n\tvar AlbumTrackRowCSSIntl = function (_Component) {\n\t _inherits(AlbumTrackRowCSSIntl, _Component);\n\t\n\t function AlbumTrackRowCSSIntl(props) {\n\t _classCallCheck(this, AlbumTrackRowCSSIntl);\n\t\n\t // Bind this\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(AlbumTrackRowCSSIntl).call(this, props));\n\t\n\t _this.onPlayClick = _this.onPlayClick.bind(_this);\n\t _this.onPlayNextClick = _this.onPlayNextClick.bind(_this);\n\t return _this;\n\t }\n\t\n\t /**\n\t * Handle click on play button.\n\t */\n\t\n\t\n\t _createClass(AlbumTrackRowCSSIntl, [{\n\t key: \"onPlayClick\",\n\t value: function onPlayClick() {\n\t $(this.refs.play).blur();\n\t this.props.playAction(this.props.track.get(\"id\"));\n\t }\n\t\n\t /**\n\t * Handle click on play next button.\n\t */\n\t\n\t }, {\n\t key: \"onPlayNextClick\",\n\t value: function onPlayNextClick() {\n\t $(this.refs.playNext).blur();\n\t this.props.playNextAction(this.props.track.get(\"id\"));\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t var length = (0, _utils.formatLength)(this.props.track.get(\"time\"));\n\t return _react2.default.createElement(\n\t \"tr\",\n\t null,\n\t _react2.default.createElement(\n\t \"td\",\n\t null,\n\t _react2.default.createElement(\n\t \"button\",\n\t { styleName: \"play\", title: formatMessage(albumMessages[\"app.common.play\"]), onClick: this.onPlayClick },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, albumMessages[\"app.common.play\"])\n\t ),\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"play-circle-o\", \"aria-hidden\": \"true\" })\n\t ),\n\t \" \",\n\t _react2.default.createElement(\n\t \"button\",\n\t { styleName: \"playNext\", title: formatMessage(albumMessages[\"app.common.playNext\"]), onClick: this.onPlayNextClick, ref: \"playNext\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, albumMessages[\"app.common.playNext\"])\n\t ),\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"plus-circle\", \"aria-hidden\": \"true\" })\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"td\",\n\t null,\n\t this.props.track.get(\"track\")\n\t ),\n\t _react2.default.createElement(\n\t \"td\",\n\t null,\n\t this.props.track.get(\"name\")\n\t ),\n\t _react2.default.createElement(\n\t \"td\",\n\t null,\n\t length\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return AlbumTrackRowCSSIntl;\n\t}(_react.Component);\n\t\n\tAlbumTrackRowCSSIntl.propTypes = {\n\t playAction: _react.PropTypes.func.isRequired,\n\t playNextAction: _react.PropTypes.func.isRequired,\n\t track: _react.PropTypes.instanceOf(_immutable2.default.Map).isRequired,\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\tvar AlbumTrackRow = exports.AlbumTrackRow = (0, _reactIntl.injectIntl)((0, _reactCssModules2.default)(AlbumTrackRowCSSIntl, _Album2.default));\n\t\n\t/**\n\t * Tracks table of an album.\n\t */\n\t\n\tvar AlbumTracksTableCSS = function (_Component2) {\n\t _inherits(AlbumTracksTableCSS, _Component2);\n\t\n\t function AlbumTracksTableCSS() {\n\t _classCallCheck(this, AlbumTracksTableCSS);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(AlbumTracksTableCSS).apply(this, arguments));\n\t }\n\t\n\t _createClass(AlbumTracksTableCSS, [{\n\t key: \"render\",\n\t value: function render() {\n\t var rows = [];\n\t // Build rows for each track\n\t var _props = this.props;\n\t var playAction = _props.playAction;\n\t var playNextAction = _props.playNextAction;\n\t\n\t this.props.tracks.forEach(function (item) {\n\t rows.push(_react2.default.createElement(AlbumTrackRow, { playAction: playAction, playNextAction: playNextAction, track: item, key: item.get(\"id\") }));\n\t });\n\t return _react2.default.createElement(\n\t \"table\",\n\t { className: \"table table-hover\", styleName: \"songs\" },\n\t _react2.default.createElement(\n\t \"tbody\",\n\t null,\n\t rows\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return AlbumTracksTableCSS;\n\t}(_react.Component);\n\t\n\tAlbumTracksTableCSS.propTypes = {\n\t playAction: _react.PropTypes.func.isRequired,\n\t playNextAction: _react.PropTypes.func.isRequired,\n\t tracks: _react.PropTypes.instanceOf(_immutable2.default.List).isRequired\n\t};\n\tvar AlbumTracksTable = exports.AlbumTracksTable = (0, _reactCssModules2.default)(AlbumTracksTableCSS, _Album2.default);\n\t\n\t/**\n\t * An entire album row containing art and tracks table.\n\t */\n\t\n\tvar AlbumRowCSS = function (_Component3) {\n\t _inherits(AlbumRowCSS, _Component3);\n\t\n\t function AlbumRowCSS() {\n\t _classCallCheck(this, AlbumRowCSS);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(AlbumRowCSS).apply(this, arguments));\n\t }\n\t\n\t _createClass(AlbumRowCSS, [{\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\", styleName: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-9 col-sm-offset-2 col-sm-10\", styleName: \"nameRow\" },\n\t _react2.default.createElement(\n\t \"h2\",\n\t null,\n\t this.props.album.get(\"name\")\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-3 col-sm-2\", styleName: \"artRow\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t { className: \"text-center\" },\n\t _react2.default.createElement(\"img\", { src: this.props.album.get(\"art\"), width: \"200\", height: \"200\", className: \"img-responsive img-circle\", styleName: \"art\", alt: this.props.album.get(\"name\") })\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-9 col-sm-10 table-responsive\" },\n\t this.props.songs.size > 0 ? _react2.default.createElement(AlbumTracksTable, { playAction: this.props.playAction, playNextAction: this.props.playNextAction, tracks: this.props.songs }) : null\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return AlbumRowCSS;\n\t}(_react.Component);\n\t\n\tAlbumRowCSS.propTypes = {\n\t playAction: _react.PropTypes.func.isRequired,\n\t playNextAction: _react.PropTypes.func.isRequired,\n\t album: _react.PropTypes.instanceOf(_immutable2.default.Map).isRequired,\n\t songs: _react.PropTypes.instanceOf(_immutable2.default.List).isRequired\n\t};\n\tvar AlbumRow = exports.AlbumRow = (0, _reactCssModules2.default)(AlbumRowCSS, _Album2.default);\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 338 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _Grid = __webpack_require__(214);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tvar _DismissibleAlert = __webpack_require__(104);\n\t\n\tvar _DismissibleAlert2 = _interopRequireDefault(_DismissibleAlert);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t/**\n\t * Paginated albums grid\n\t */\n\tvar Albums = function (_Component) {\n\t _inherits(Albums, _Component);\n\t\n\t function Albums() {\n\t _classCallCheck(this, Albums);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(Albums).apply(this, arguments));\n\t }\n\t\n\t _createClass(Albums, [{\n\t key: \"render\",\n\t value: function render() {\n\t // Handle error\n\t var error = null;\n\t if (this.props.error) {\n\t error = _react2.default.createElement(_DismissibleAlert2.default, { type: \"danger\", text: this.props.error });\n\t }\n\t\n\t // Set grid props\n\t var artists = this.props.artists;\n\t var grid = {\n\t isFetching: this.props.isFetching,\n\t items: this.props.albums,\n\t itemsType: \"album\",\n\t itemsLabel: \"app.common.album\",\n\t subItemsType: \"tracks\",\n\t subItemsLabel: \"app.common.track\",\n\t buildLinkTo: function buildLinkTo(itemType, item) {\n\t var artist = encodeURIComponent(item.get(\"artist\"));\n\t if (artists && artists.size > 0) {\n\t var id = item.get(\"artist\");\n\t artist = encodeURIComponent(id + \"-\" + artists.getIn([id, \"name\"]));\n\t }\n\t return \"/artist/\" + artist + \"/album/\" + item.get(\"id\") + \"-\" + encodeURIComponent(item.get(\"name\"));\n\t }\n\t };\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t error,\n\t _react2.default.createElement(_Grid2.default, { grid: grid, pagination: this.props.pagination })\n\t );\n\t }\n\t }]);\n\t\n\t return Albums;\n\t}(_react.Component);\n\t\n\texports.default = Albums;\n\t\n\tAlbums.propTypes = {\n\t error: _react.PropTypes.string,\n\t isFetching: _react.PropTypes.bool.isRequired,\n\t albums: _react.PropTypes.instanceOf(_immutable2.default.List).isRequired,\n\t artists: _react.PropTypes.instanceOf(_immutable2.default.Map),\n\t pagination: _react.PropTypes.object.isRequired\n\t};\n\n/***/ },\n/* 339 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(285);\n\t\n\tvar _reactDom2 = _interopRequireDefault(_reactDom);\n\t\n\tvar _reactCssModules = __webpack_require__(46);\n\t\n\tvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _reactFontawesome = __webpack_require__(78);\n\t\n\tvar _reactFontawesome2 = _interopRequireDefault(_reactFontawesome);\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _Album = __webpack_require__(337);\n\t\n\tvar _DismissibleAlert = __webpack_require__(104);\n\t\n\tvar _DismissibleAlert2 = _interopRequireDefault(_DismissibleAlert);\n\t\n\tvar _common = __webpack_require__(50);\n\t\n\tvar _common2 = _interopRequireDefault(_common);\n\t\n\tvar _Artist = __webpack_require__(606);\n\t\n\tvar _Artist2 = _interopRequireDefault(_Artist);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Other components\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Styles\n\t\n\t\n\t// Define translations\n\tvar artistMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _common2.default)));\n\t\n\t/**\n\t * Single artist page\n\t */\n\t\n\tvar ArtistCSS = function (_Component) {\n\t _inherits(ArtistCSS, _Component);\n\t\n\t function ArtistCSS(props) {\n\t _classCallCheck(this, ArtistCSS);\n\t\n\t // Set state\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(ArtistCSS).call(this, props));\n\t\n\t _this.state = {\n\t hasScrolled: false };\n\t return _this;\n\t }\n\t\n\t _createClass(ArtistCSS, [{\n\t key: \"componentDidUpdate\",\n\t value: function componentDidUpdate() {\n\t // After each update, check if we need to scroll to a given element\n\t // State prevents scrolling at each and every update\n\t if (this.refs.scroll && !this.state.hasScrolled) {\n\t $(\"html, body\").animate({ scrollTop: $(_reactDom2.default.findDOMNode(this.refs.scroll)).offset().top }, 600);\n\t this.setState({\n\t hasScrolled: true\n\t });\n\t }\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t // Define loading message\n\t var loading = null;\n\t if (this.props.isFetching) {\n\t loading = _react2.default.createElement(\n\t \"div\",\n\t { className: \"row text-center\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t null,\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"spinner\", className: \"fa-pulse fa-3x fa-fw\", \"aria-hidden\": \"true\" }),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, artistMessages[\"app.common.loading\"])\n\t )\n\t )\n\t );\n\t }\n\t\n\t // Handle error\n\t var error = null;\n\t if (this.props.error) {\n\t error = _react2.default.createElement(_DismissibleAlert2.default, { type: \"danger\", text: this.props.error });\n\t }\n\t\n\t // Build album rows\n\t var albumsRows = [];\n\t var _props = this.props;\n\t var albums = _props.albums;\n\t var songs = _props.songs;\n\t var playAction = _props.playAction;\n\t var playNextAction = _props.playNextAction;\n\t var scrollToAlbum = _props.scrollToAlbum;\n\t\n\t if (albums && songs) {\n\t albums.forEach(function (album) {\n\t // Get songs of this album\n\t var albumSongs = album.get(\"tracks\").map(function (id) {\n\t return songs.get(id);\n\t });\n\t // Handle scrolling to a specific album by applying a given ref\n\t var ref = scrollToAlbum == album.get(\"id\") ? \"scroll\" : null;\n\t\n\t albumsRows.push(_react2.default.createElement(_Album.AlbumRow, { playAction: playAction, playNextAction: playNextAction, album: album, songs: albumSongs, key: album.get(\"id\"), ref: ref }));\n\t });\n\t }\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t error,\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\", styleName: \"name\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\n\t \"h1\",\n\t null,\n\t this.props.artist.get(\"name\")\n\t ),\n\t _react2.default.createElement(\"hr\", null)\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-9\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t null,\n\t this.props.artist.get(\"summary\")\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-3 text-center\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t null,\n\t _react2.default.createElement(\"img\", { src: this.props.artist.get(\"art\"), width: \"200\", height: \"200\", className: \"img-responsive img-circle\", styleName: \"art\", alt: this.props.artist.get(\"name\") })\n\t )\n\t )\n\t ),\n\t albumsRows,\n\t loading\n\t );\n\t }\n\t }]);\n\t\n\t return ArtistCSS;\n\t}(_react.Component);\n\t\n\tArtistCSS.propTypes = {\n\t error: _react.PropTypes.string,\n\t isFetching: _react.PropTypes.bool.isRequired,\n\t playAction: _react.PropTypes.func.isRequired,\n\t playNextAction: _react.PropTypes.func.isRequired,\n\t artist: _react.PropTypes.instanceOf(_immutable2.default.Map),\n\t albums: _react.PropTypes.instanceOf(_immutable2.default.List),\n\t songs: _react.PropTypes.instanceOf(_immutable2.default.Map),\n\t scrollToAlbum: _react.PropTypes.number\n\t};\n\texports.default = (0, _reactCssModules2.default)(ArtistCSS, _Artist2.default);\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 340 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _Grid = __webpack_require__(214);\n\t\n\tvar _Grid2 = _interopRequireDefault(_Grid);\n\t\n\tvar _DismissibleAlert = __webpack_require__(104);\n\t\n\tvar _DismissibleAlert2 = _interopRequireDefault(_DismissibleAlert);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Other components\n\t\n\t\n\t/**\n\t * Paginated artists grid\n\t */\n\tvar Artists = function (_Component) {\n\t _inherits(Artists, _Component);\n\t\n\t function Artists() {\n\t _classCallCheck(this, Artists);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(Artists).apply(this, arguments));\n\t }\n\t\n\t _createClass(Artists, [{\n\t key: \"render\",\n\t value: function render() {\n\t // Handle error\n\t var error = null;\n\t if (this.props.error) {\n\t error = _react2.default.createElement(_DismissibleAlert2.default, { type: \"danger\", text: this.props.error });\n\t }\n\t\n\t // Define grid props\n\t var grid = {\n\t isFetching: this.props.isFetching,\n\t items: this.props.artists,\n\t itemsType: \"artist\",\n\t itemsLabel: \"app.common.artist\",\n\t subItemsType: \"albums\",\n\t subItemsLabel: \"app.common.album\",\n\t buildLinkTo: function buildLinkTo(itemType, item) {\n\t return \"/artist/\" + item.get(\"id\") + \"-\" + encodeURIComponent(item.get(\"name\"));\n\t }\n\t };\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t error,\n\t _react2.default.createElement(_Grid2.default, { grid: grid, pagination: this.props.pagination })\n\t );\n\t }\n\t }]);\n\t\n\t return Artists;\n\t}(_react.Component);\n\t\n\texports.default = Artists;\n\t\n\tArtists.propTypes = {\n\t error: _react.PropTypes.string,\n\t isFetching: _react.PropTypes.bool.isRequired,\n\t artists: _react.PropTypes.instanceOf(_immutable2.default.List).isRequired,\n\t pagination: _react.PropTypes.object.isRequired\n\t};\n\n/***/ },\n/* 341 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.DiscoverCSS = undefined;\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactCssModules = __webpack_require__(46);\n\t\n\tvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\t\n\tvar _reactFontawesome = __webpack_require__(78);\n\t\n\tvar _reactFontawesome2 = _interopRequireDefault(_reactFontawesome);\n\t\n\tvar _Discover = __webpack_require__(607);\n\t\n\tvar _Discover2 = _interopRequireDefault(_Discover);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // TODO: Discover view is not done\n\t\n\t\n\tvar DiscoverCSS = exports.DiscoverCSS = function (_Component) {\n\t _inherits(DiscoverCSS, _Component);\n\t\n\t function DiscoverCSS() {\n\t _classCallCheck(this, DiscoverCSS);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(DiscoverCSS).apply(this, arguments));\n\t }\n\t\n\t _createClass(DiscoverCSS, [{\n\t key: \"render\",\n\t value: function render() {\n\t var artistsAlbumsSongsDropdown = _react2.default.createElement(\n\t \"div\",\n\t { className: \"btn-group\" },\n\t _react2.default.createElement(\n\t \"button\",\n\t { type: \"button\", className: \"btn btn-default dropdown-toggle\", styleName: \"h2Title\", \"data-toggle\": \"dropdown\", \"aria-haspopup\": \"true\", \"aria-expanded\": \"false\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { styleName: \"dashedUnderline\" },\n\t \"albums\"\n\t ),\n\t _react2.default.createElement(\"span\", { className: \"caret\", styleName: \"caret\" })\n\t ),\n\t _react2.default.createElement(\n\t \"ul\",\n\t { className: \"dropdown-menu\", styleName: \"dropdown-menu\" },\n\t _react2.default.createElement(\n\t \"li\",\n\t null,\n\t _react2.default.createElement(\n\t \"a\",\n\t { href: \"#\", role: \"button\" },\n\t \"artists\"\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"li\",\n\t { className: \"active\" },\n\t _react2.default.createElement(\n\t \"a\",\n\t { href: \"#\", role: \"button\" },\n\t \"albums\"\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"li\",\n\t null,\n\t _react2.default.createElement(\n\t \"a\",\n\t { href: \"#\", role: \"button\" },\n\t \"songs\"\n\t )\n\t )\n\t )\n\t );\n\t var bobDylan = _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-4 col-sm-2\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"text-center\" },\n\t _react2.default.createElement(\n\t \"a\",\n\t { title: \"Aller à la page de l'artiste\", href: \"#/artist/15\" },\n\t _react2.default.createElement(\"img\", { src: \"\", width: \"200\", height: \"200\", className: \"img-responsive img-circle art\", alt: \"Bob Dylan\" })\n\t ),\n\t _react2.default.createElement(\n\t \"h4\",\n\t null,\n\t \"Bob Dylan\"\n\t )\n\t )\n\t );\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"h2\",\n\t { styleName: \"noMarginTop\" },\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"heart\", \"aria-hidden\": \"true\" }),\n\t \" More \",\n\t artistsAlbumsSongsDropdown,\n\t \" you might like\"\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-4 col-sm-2 col-sm-offset-1\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"text-center\" },\n\t _react2.default.createElement(\n\t \"a\",\n\t { title: \"Aller à la page de l'artiste\", href: \"#/artist/15\" },\n\t _react2.default.createElement(\"img\", { src: \"\", width: \"200\", height: \"200\", className: \"img-responsive img-circle art\", alt: \"Bob Dylan\" })\n\t ),\n\t _react2.default.createElement(\n\t \"h4\",\n\t null,\n\t \"Bob Dylan\"\n\t )\n\t )\n\t ),\n\t bobDylan,\n\t bobDylan,\n\t bobDylan,\n\t bobDylan\n\t ),\n\t _react2.default.createElement(\"hr\", null)\n\t ),\n\t _react2.default.createElement(\n\t \"h2\",\n\t null,\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"thumbs-up\", \"aria-hidden\": \"true\" }),\n\t \" Popular \",\n\t artistsAlbumsSongsDropdown\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-4 col-sm-2 col-sm-offset-1\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"text-center\" },\n\t _react2.default.createElement(\n\t \"a\",\n\t { title: \"Aller à la page de l'artiste\", href: \"#/artist/15\" },\n\t _react2.default.createElement(\"img\", { src: \"\", width: \"200\", height: \"200\", className: \"img-responsive img-circle art\", alt: \"Bob Dylan\" })\n\t ),\n\t _react2.default.createElement(\n\t \"h4\",\n\t null,\n\t \"Bob Dylan\"\n\t )\n\t )\n\t ),\n\t bobDylan,\n\t bobDylan,\n\t bobDylan,\n\t bobDylan\n\t ),\n\t _react2.default.createElement(\"hr\", null)\n\t ),\n\t _react2.default.createElement(\n\t \"h2\",\n\t null,\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"plus-square\", \"aria-hidden\": \"true\" }),\n\t \" Recent additions\"\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-4 col-sm-2 col-sm-offset-1\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"text-center\" },\n\t _react2.default.createElement(\n\t \"a\",\n\t { title: \"Aller à la page de l'artiste\", href: \"#/artist/15\" },\n\t _react2.default.createElement(\"img\", { src: \"\", width: \"200\", height: \"200\", className: \"img-responsive img-circle art\", alt: \"Bob Dylan\" })\n\t ),\n\t _react2.default.createElement(\n\t \"h4\",\n\t null,\n\t \"Bob Dylan\"\n\t )\n\t )\n\t ),\n\t bobDylan,\n\t bobDylan,\n\t bobDylan,\n\t bobDylan\n\t ),\n\t _react2.default.createElement(\"hr\", null)\n\t ),\n\t _react2.default.createElement(\n\t \"h2\",\n\t null,\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"volume-up\", \"aria-hidden\": \"true\" }),\n\t \" Currently playing\"\n\t ),\n\t _react2.default.createElement(\"table\", null)\n\t );\n\t }\n\t }]);\n\t\n\t return DiscoverCSS;\n\t}(_react.Component);\n\t\n\tDiscoverCSS.propTypes = {};\n\t\n\texports.default = (0, _reactCssModules2.default)(DiscoverCSS, _Discover2.default);\n\n/***/ },\n/* 342 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.LoginForm = undefined;\n\t\n\tvar _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; };\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactCssModules = __webpack_require__(46);\n\t\n\tvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _reactFontawesome = __webpack_require__(78);\n\t\n\tvar _reactFontawesome2 = _interopRequireDefault(_reactFontawesome);\n\t\n\tvar _i18n = __webpack_require__(80);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _api = __webpack_require__(91);\n\t\n\tvar _api2 = _interopRequireDefault(_api);\n\t\n\tvar _Login = __webpack_require__(354);\n\t\n\tvar _Login2 = _interopRequireDefault(_Login);\n\t\n\tvar _Login3 = __webpack_require__(608);\n\t\n\tvar _Login4 = _interopRequireDefault(_Login3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Styles\n\t\n\t\n\t// Define translations\n\tvar loginMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _api2.default, _Login2.default)));\n\t\n\t/**\n\t * Login form component\n\t */\n\t\n\tvar LoginFormCSSIntl = function (_Component) {\n\t _inherits(LoginFormCSSIntl, _Component);\n\t\n\t function LoginFormCSSIntl(props) {\n\t _classCallCheck(this, LoginFormCSSIntl);\n\t\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(LoginFormCSSIntl).call(this, props));\n\t\n\t _this.handleSubmit = _this.handleSubmit.bind(_this); // bind this to handleSubmit\n\t return _this;\n\t }\n\t\n\t /**\n\t * Set an error on a form element.\n\t *\n\t * @param formGroup A form element.\n\t * @param hasError Whether or not an error should be set.\n\t *\n\t * @return True if an error is set, false otherwise\n\t */\n\t\n\t\n\t _createClass(LoginFormCSSIntl, [{\n\t key: \"setError\",\n\t value: function setError(formGroup, hasError) {\n\t if (hasError) {\n\t // If error is true, then add error class\n\t formGroup.classList.add(\"has-error\");\n\t formGroup.classList.remove(\"has-success\");\n\t return true;\n\t }\n\t // Else, drop it and put success class\n\t formGroup.classList.remove(\"has-error\");\n\t formGroup.classList.add(\"has-success\");\n\t return false;\n\t }\n\t\n\t /**\n\t * Form submission handler.\n\t *\n\t * @param e JS Event.\n\t */\n\t\n\t }, {\n\t key: \"handleSubmit\",\n\t value: function handleSubmit(e) {\n\t e.preventDefault();\n\t\n\t // Don't handle submit if already logging in\n\t if (this.props.isAuthenticating) {\n\t return;\n\t }\n\t\n\t // Get field values\n\t var username = this.refs.username.value.trim();\n\t var password = this.refs.password.value.trim();\n\t var endpoint = this.refs.endpoint.value.trim();\n\t var rememberMe = this.refs.rememberMe.checked;\n\t\n\t // Check for errors on each field\n\t var hasError = this.setError(this.refs.usernameFormGroup, !username);\n\t hasError |= this.setError(this.refs.passwordFormGroup, !password);\n\t hasError |= this.setError(this.refs.endpointFormGroup, !endpoint);\n\t\n\t if (!hasError) {\n\t // Submit if no error is found\n\t this.props.onSubmit(username, password, endpoint, rememberMe);\n\t }\n\t }\n\t }, {\n\t key: \"componentDidUpdate\",\n\t value: function componentDidUpdate() {\n\t if (this.props.error) {\n\t // On unsuccessful login, set error classes and shake the form\n\t $(this.refs.loginForm).shake(3, 10, 300);\n\t this.setError(this.refs.usernameFormGroup, this.props.error);\n\t this.setError(this.refs.passwordFormGroup, this.props.error);\n\t this.setError(this.refs.endpointFormGroup, this.props.error);\n\t }\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t // Handle info message\n\t\n\t var infoMessage = this.props.info;\n\t if (this.props.info && this.props.info instanceof _i18n.i18nRecord) {\n\t infoMessage = _react2.default.createElement(_reactIntl.FormattedMessage, _extends({}, loginMessages[this.props.info.id], { values: this.props.info.values }));\n\t }\n\t\n\t // Handle error message\n\t var errorMessage = this.props.error;\n\t if (this.props.error && this.props.error instanceof _i18n.i18nRecord) {\n\t errorMessage = _react2.default.createElement(_reactIntl.FormattedMessage, _extends({}, loginMessages[this.props.error.id], { values: this.props.error.values }));\n\t }\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t this.props.error ? _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"alert alert-danger\", id: \"loginFormError\", role: \"alert\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t null,\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"exclamation\", \"aria-hidden\": \"true\" }),\n\t \" \",\n\t errorMessage\n\t )\n\t )\n\t ) : null,\n\t this.props.info ? _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"alert alert-info\", id: \"loginFormInfo\", role: \"alert\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t null,\n\t infoMessage\n\t )\n\t )\n\t ) : null,\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"form\",\n\t { className: \"col-xs-9 col-xs-offset-1 col-md-6 col-md-offset-3 text-left form-horizontal login\", onSubmit: this.handleSubmit, ref: \"loginForm\", \"aria-describedby\": \"loginFormInfo loginFormError\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"form-group\", ref: \"usernameFormGroup\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\"input\", { type: \"text\", className: \"form-control\", ref: \"username\", \"aria-label\": formatMessage(loginMessages[\"app.login.username\"]), placeholder: formatMessage(loginMessages[\"app.login.username\"]), autoFocus: true, defaultValue: this.props.username })\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"form-group\", ref: \"passwordFormGroup\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\"input\", { type: \"password\", className: \"form-control\", ref: \"password\", \"aria-label\": formatMessage(loginMessages[\"app.login.password\"]), placeholder: formatMessage(loginMessages[\"app.login.password\"]) })\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"form-group\", ref: \"endpointFormGroup\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\"input\", { type: \"text\", className: \"form-control\", ref: \"endpoint\", \"aria-label\": formatMessage(loginMessages[\"app.login.endpointInputAriaLabel\"]), placeholder: \"http://ampache.example.com\", defaultValue: this.props.endpoint })\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"form-group\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-sm-6 col-xs-12 checkbox\" },\n\t _react2.default.createElement(\n\t \"label\",\n\t { id: \"rememberMeLabel\" },\n\t _react2.default.createElement(\"input\", { type: \"checkbox\", ref: \"rememberMe\", defaultChecked: this.props.rememberMe, \"aria-labelledby\": \"rememberMeLabel\" }),\n\t _react2.default.createElement(_reactIntl.FormattedMessage, loginMessages[\"app.login.rememberMe\"])\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-sm-6 col-xs-12 text-right\", styleName: \"submit\" },\n\t _react2.default.createElement(\"input\", { type: \"submit\", className: \"btn btn-default\", \"aria-label\": formatMessage(loginMessages[\"app.login.signIn\"]), defaultValue: formatMessage(loginMessages[\"app.login.signIn\"]), disabled: this.props.isAuthenticating })\n\t )\n\t )\n\t )\n\t )\n\t )\n\t )\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return LoginFormCSSIntl;\n\t}(_react.Component);\n\t\n\tLoginFormCSSIntl.propTypes = {\n\t username: _react.PropTypes.string,\n\t endpoint: _react.PropTypes.string,\n\t rememberMe: _react.PropTypes.bool,\n\t onSubmit: _react.PropTypes.func.isRequired,\n\t isAuthenticating: _react.PropTypes.bool,\n\t error: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.instanceOf(_i18n.i18nRecord)]),\n\t info: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.instanceOf(_i18n.i18nRecord)]),\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\tvar LoginForm = exports.LoginForm = (0, _reactIntl.injectIntl)((0, _reactCssModules2.default)(LoginFormCSSIntl, _Login4.default));\n\t\n\t/**\n\t * Main login page, including title and login form.\n\t */\n\t\n\tvar LoginCSS = function (_Component2) {\n\t _inherits(LoginCSS, _Component2);\n\t\n\t function LoginCSS() {\n\t _classCallCheck(this, LoginCSS);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(LoginCSS).apply(this, arguments));\n\t }\n\t\n\t _createClass(LoginCSS, [{\n\t key: \"render\",\n\t value: function render() {\n\t var greeting = _react2.default.createElement(\n\t \"p\",\n\t null,\n\t _react2.default.createElement(_reactIntl.FormattedMessage, loginMessages[\"app.login.greeting\"])\n\t );\n\t return _react2.default.createElement(\n\t \"div\",\n\t { className: \"text-center container-fluid\" },\n\t _react2.default.createElement(\n\t \"h1\",\n\t null,\n\t _react2.default.createElement(\"img\", { styleName: \"titleImage\", src: \"./img/ampache-blue.png\", alt: \"A\" }),\n\t \"mpache\"\n\t ),\n\t _react2.default.createElement(\"hr\", null),\n\t !this.props.error && !this.props.info ? greeting : null,\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-9 col-xs-offset-2 col-md-6 col-md-offset-3\" },\n\t _react2.default.createElement(LoginForm, { onSubmit: this.props.onSubmit, username: this.props.username, endpoint: this.props.endpoint, rememberMe: this.props.rememberMe, isAuthenticating: this.props.isAuthenticating, error: this.props.error, info: this.props.info })\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return LoginCSS;\n\t}(_react.Component);\n\t\n\tLoginCSS.propTypes = {\n\t username: _react.PropTypes.string,\n\t endpoint: _react.PropTypes.string,\n\t rememberMe: _react.PropTypes.bool,\n\t onSubmit: _react.PropTypes.func.isRequired,\n\t isAuthenticating: _react.PropTypes.bool,\n\t info: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.object]),\n\t error: _react.PropTypes.oneOfType([_react.PropTypes.string, _react.PropTypes.object])\n\t};\n\texports.default = (0, _reactCssModules2.default)(LoginCSS, _Login4.default);\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 343 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _Songs = __webpack_require__(212);\n\t\n\tvar _common = __webpack_require__(50);\n\t\n\tvar _common2 = _interopRequireDefault(_common);\n\t\n\tvar _Playlist = __webpack_require__(355);\n\t\n\tvar _Playlist2 = _interopRequireDefault(_Playlist);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // TODO: Styling\n\t// NPM import\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Other components\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Define translations\n\tvar playlistMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _common2.default, _Playlist2.default)));\n\t\n\t/**\n\t * An entire album row containing art and tracks table.\n\t */\n\t\n\tvar PlaylistIntl = function (_Component) {\n\t _inherits(PlaylistIntl, _Component);\n\t\n\t function PlaylistIntl() {\n\t _classCallCheck(this, PlaylistIntl);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(PlaylistIntl).apply(this, arguments));\n\t }\n\t\n\t _createClass(PlaylistIntl, [{\n\t key: \"render\",\n\t value: function render() {\n\t var _this2 = this;\n\t\n\t var playlistText = null;\n\t if (this.props.songs.size > 0) {\n\t var currentSongSongsTableProps = {\n\t playAction: this.props.playAction,\n\t playNextAction: this.props.playNextAction,\n\t songs: this.props.songs.slice(this.props.currentIndex, this.props.currentIndex + 1)\n\t };\n\t var fullPlaylistSongsTableProps = {\n\t playAction: this.props.playAction,\n\t playNextAction: this.props.playNextAction,\n\t songs: this.props.songs\n\t };\n\t playlistText = _react2.default.createElement(\n\t \"div\",\n\t null,\n\t _react2.default.createElement(\n\t \"p\",\n\t { className: \"text-center\" },\n\t _react2.default.createElement(\n\t \"button\",\n\t { onClick: function onClick() {\n\t return _this2.props.flushAction();\n\t } },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, playlistMessages[\"app.playlist.flushPlaylist\"])\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"h3\",\n\t null,\n\t _react2.default.createElement(_reactIntl.FormattedMessage, playlistMessages[\"app.playlist.currentSongPlaying\"])\n\t ),\n\t _react2.default.createElement(_Songs.SongsTable, currentSongSongsTableProps),\n\t _react2.default.createElement(\n\t \"h3\",\n\t null,\n\t _react2.default.createElement(_reactIntl.FormattedMessage, playlistMessages[\"app.playlist.fullPlaylist\"])\n\t ),\n\t _react2.default.createElement(_Songs.SongsTable, fullPlaylistSongsTableProps)\n\t );\n\t } else {\n\t playlistText = _react2.default.createElement(\n\t \"p\",\n\t null,\n\t _react2.default.createElement(_reactIntl.FormattedMessage, playlistMessages[\"app.playlist.emptyPlaylist\"])\n\t );\n\t }\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\n\t \"h2\",\n\t null,\n\t _react2.default.createElement(_reactIntl.FormattedMessage, playlistMessages[\"app.playlist.playlist\"])\n\t ),\n\t _react2.default.createElement(\"hr\", null)\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t playlistText\n\t )\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return PlaylistIntl;\n\t}(_react.Component);\n\t\n\tPlaylistIntl.propTypes = {\n\t playAction: _react.PropTypes.func.isRequired,\n\t playNextAction: _react.PropTypes.func,\n\t flushAction: _react.PropTypes.func.isRequired,\n\t songs: _react.PropTypes.instanceOf(_immutable2.default.List).isRequired,\n\t currentIndex: _react.PropTypes.number.isRequired,\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\texports.default = (0, _reactIntl.injectIntl)(PlaylistIntl);\n\n/***/ },\n/* 344 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _common = __webpack_require__(50);\n\t\n\tvar _common2 = _interopRequireDefault(_common);\n\t\n\tvar _Settings = __webpack_require__(356);\n\t\n\tvar _Settings2 = _interopRequireDefault(_Settings);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Define translations\n\tvar settingsMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _common2.default, _Settings2.default)));\n\t\n\t/**\n\t * A single row for a single song in the songs table.\n\t */\n\t\n\tvar SettingsIntl = function (_Component) {\n\t _inherits(SettingsIntl, _Component);\n\t\n\t function SettingsIntl() {\n\t _classCallCheck(this, SettingsIntl);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(SettingsIntl).apply(this, arguments));\n\t }\n\t\n\t _createClass(SettingsIntl, [{\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\n\t \"h2\",\n\t null,\n\t _react2.default.createElement(_reactIntl.FormattedMessage, settingsMessages[\"app.settings.settings\"])\n\t ),\n\t _react2.default.createElement(\"hr\", null)\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t null,\n\t \"TODO\"\n\t )\n\t )\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return SettingsIntl;\n\t}(_react.Component);\n\t\n\tSettingsIntl.propTypes = {\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\texports.default = (0, _reactIntl.injectIntl)(SettingsIntl);\n\n/***/ },\n/* 345 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactCssModules = __webpack_require__(46);\n\t\n\tvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _reactRouter = __webpack_require__(54);\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _reactFontawesome = __webpack_require__(78);\n\t\n\tvar _reactFontawesome2 = _interopRequireDefault(_reactFontawesome);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _WebPlayer = __webpack_require__(613);\n\t\n\tvar _WebPlayer2 = _interopRequireDefault(_WebPlayer);\n\t\n\tvar _common = __webpack_require__(50);\n\t\n\tvar _common2 = _interopRequireDefault(_common);\n\t\n\tvar _WebPlayer3 = __webpack_require__(216);\n\t\n\tvar _WebPlayer4 = _interopRequireDefault(_WebPlayer3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Styles\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Define translations\n\tvar webplayerMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _common2.default, _WebPlayer4.default)));\n\t\n\t/**\n\t * Webplayer component.\n\t */\n\t\n\tvar WebPlayerCSSIntl = function (_Component) {\n\t _inherits(WebPlayerCSSIntl, _Component);\n\t\n\t function WebPlayerCSSIntl(props) {\n\t _classCallCheck(this, WebPlayerCSSIntl);\n\t\n\t // Bind this\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(WebPlayerCSSIntl).call(this, props));\n\t\n\t _this.artOpacityHandler = _this.artOpacityHandler.bind(_this);\n\t return _this;\n\t }\n\t\n\t /**\n\t * Handle opacity on album art.\n\t *\n\t * Set opacity on mouseover / mouseout.\n\t *\n\t * @param ev A JS event.\n\t */\n\t\n\t\n\t _createClass(WebPlayerCSSIntl, [{\n\t key: \"artOpacityHandler\",\n\t value: function artOpacityHandler(ev) {\n\t if (ev.type == \"mouseover\") {\n\t // On mouse over, reduce opacity\n\t this.refs.art.style.opacity = \"1\";\n\t this.refs.artText.style.display = \"none\";\n\t this.refs.artDuration.style.display = \"none\";\n\t } else {\n\t // On mouse out, set opacity back\n\t this.refs.art.style.opacity = \"0.75\";\n\t this.refs.artText.style.display = \"block\";\n\t this.refs.artDuration.style.display = \"block\";\n\t }\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t // Get current song (eventually undefined)\n\t\n\t var song = this.props.currentSong;\n\t\n\t // Current status (play or pause) for localization\n\t var playPause = this.props.isPlaying ? \"pause\" : \"play\";\n\t // Volume fontawesome icon\n\t var volumeIcon = this.props.isMute ? \"volume-off\" : \"volume-up\";\n\t\n\t // Get classes for random and repeat buttons\n\t var randomBtnStyles = [\"randomBtn\"];\n\t var repeatBtnStyles = [\"repeatBtn\"];\n\t var playlistBtnStyles = [\"playlistBtn\"];\n\t if (this.props.isRandom) {\n\t randomBtnStyles.push(\"active\");\n\t }\n\t if (this.props.isRepeat) {\n\t repeatBtnStyles.push(\"active\");\n\t }\n\t if (this.props.isPlaylistViewActive) {\n\t playlistBtnStyles.push(\"active\");\n\t }\n\t\n\t // Check if a song is currently playing\n\t var art = null;\n\t var songTitle = null;\n\t var artistName = null;\n\t var length = null;\n\t if (song) {\n\t art = song.get(\"art\");\n\t songTitle = song.get(\"title\");\n\t if (this.props.currentArtist) {\n\t artistName = this.props.currentArtist.get(\"name\");\n\t }\n\t length = (0, _utils.formatLength)(song.get(\"time\"));\n\t }\n\t\n\t // Click handlers\n\t var onPrev = function () {\n\t $(this.refs.prevBtn).blur();\n\t this.props.onPrev();\n\t }.bind(this);\n\t var onPlayPause = function () {\n\t $(this.refs.playPauseBtn).blur();\n\t this.props.onPlayPause();\n\t }.bind(this);\n\t var onSkip = function () {\n\t $(this.refs.nextBtn).blur();\n\t this.props.onSkip();\n\t }.bind(this);\n\t var onMute = function () {\n\t $(this.refs.volumeBtn).blur();\n\t this.props.onMute();\n\t }.bind(this);\n\t var onRepeat = function () {\n\t $(this.refs.repeatBtn).blur();\n\t this.props.onRepeat();\n\t }.bind(this);\n\t var onRandom = function () {\n\t $(this.refs.randomBtn).blur();\n\t this.props.onRandom();\n\t }.bind(this);\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t { id: \"row\", styleName: \"webplayer\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\", styleName: \"artRow\", onMouseOver: this.artOpacityHandler, onMouseOut: this.artOpacityHandler },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\"div\", { styleName: \"artTimer\" }),\n\t _react2.default.createElement(\"img\", { src: art, width: \"200\", height: \"200\", alt: formatMessage(webplayerMessages[\"app.common.art\"]), ref: \"art\", styleName: \"art\" }),\n\t _react2.default.createElement(\n\t \"div\",\n\t { ref: \"artText\" },\n\t artistName && songTitle ? _react2.default.createElement(\n\t \"div\",\n\t null,\n\t _react2.default.createElement(\n\t \"h2\",\n\t null,\n\t songTitle\n\t ),\n\t _react2.default.createElement(\n\t \"h3\",\n\t null,\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"text-capitalize\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, webplayerMessages[\"app.webplayer.by\"])\n\t ),\n\t \" \",\n\t artistName\n\t )\n\t ) : null\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\", styleName: \"artDuration\", ref: \"artDuration\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t null,\n\t length\n\t )\n\t )\n\t ),\n\t this.props.error ? _react2.default.createElement(\n\t \"div\",\n\t { className: \"row text-center\" },\n\t _react2.default.createElement(\n\t \"p\",\n\t null,\n\t this.props.error\n\t )\n\t ) : null,\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row text-center\", styleName: \"controls\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\n\t \"button\",\n\t { styleName: \"prevBtn\", \"aria-label\": formatMessage(webplayerMessages[\"app.webplayer.previous\"]), title: formatMessage(webplayerMessages[\"app.webplayer.previous\"]), onClick: onPrev, ref: \"prevBtn\" },\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"step-backward\" })\n\t ),\n\t _react2.default.createElement(\n\t \"button\",\n\t { className: \"play\", styleName: \"playPauseBtn\", \"aria-label\": formatMessage(webplayerMessages[\"app.common.\" + playPause]), title: formatMessage(webplayerMessages[\"app.common.\" + playPause]), onClick: onPlayPause.bind(this), ref: \"playPauseBtn\" },\n\t _react2.default.createElement(_reactFontawesome2.default, { name: playPause })\n\t ),\n\t _react2.default.createElement(\n\t \"button\",\n\t { styleName: \"nextBtn\", \"aria-label\": formatMessage(webplayerMessages[\"app.webplayer.next\"]), title: formatMessage(webplayerMessages[\"app.webplayer.next\"]), onClick: onSkip, ref: \"nextBtn\" },\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"step-forward\" })\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12\" },\n\t _react2.default.createElement(\n\t \"button\",\n\t { styleName: \"volumeBtn\", \"aria-label\": formatMessage(webplayerMessages[\"app.webplayer.volume\"]), title: formatMessage(webplayerMessages[\"app.webplayer.volume\"]), onClick: onMute, ref: \"volumeBtn\" },\n\t _react2.default.createElement(_reactFontawesome2.default, { name: volumeIcon })\n\t ),\n\t _react2.default.createElement(\n\t \"button\",\n\t { styleName: repeatBtnStyles.join(\" \"), \"aria-label\": formatMessage(webplayerMessages[\"app.webplayer.repeat\"]), title: formatMessage(webplayerMessages[\"app.webplayer.repeat\"]), \"aria-pressed\": this.props.isRepeat, onClick: onRepeat, ref: \"repeatBtn\" },\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"repeat\" })\n\t ),\n\t _react2.default.createElement(\n\t \"button\",\n\t { styleName: randomBtnStyles.join(\" \"), \"aria-label\": formatMessage(webplayerMessages[\"app.webplayer.random\"]), title: formatMessage(webplayerMessages[\"app.webplayer.random\"]), \"aria-pressed\": this.props.isRandom, onClick: onRandom, ref: \"randomBtn\" },\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"random\" })\n\t ),\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { to: \"/playlist\", styleName: playlistBtnStyles.join(\" \"), \"aria-label\": formatMessage(webplayerMessages[\"app.webplayer.playlist\"]), title: formatMessage(webplayerMessages[\"app.webplayer.playlist\"]) },\n\t _react2.default.createElement(_reactFontawesome2.default, { name: \"list\" })\n\t )\n\t )\n\t )\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return WebPlayerCSSIntl;\n\t}(_react.Component);\n\t\n\tWebPlayerCSSIntl.propTypes = {\n\t isPlaying: _react.PropTypes.bool.isRequired,\n\t isRandom: _react.PropTypes.bool.isRequired,\n\t isRepeat: _react.PropTypes.bool.isRequired,\n\t isMute: _react.PropTypes.bool.isRequired,\n\t volume: _react.PropTypes.number.isRequired,\n\t currentIndex: _react.PropTypes.number.isRequired,\n\t playlist: _react.PropTypes.instanceOf(_immutable2.default.List).isRequired,\n\t error: _react.PropTypes.string,\n\t currentSong: _react.PropTypes.instanceOf(_immutable2.default.Map),\n\t currentArtist: _react.PropTypes.instanceOf(_immutable2.default.Map),\n\t onPlayPause: _react.PropTypes.func.isRequired,\n\t onPrev: _react.PropTypes.func.isRequired,\n\t onSkip: _react.PropTypes.func.isRequired,\n\t onRandom: _react.PropTypes.func.isRequired,\n\t onRepeat: _react.PropTypes.func.isRequired,\n\t onMute: _react.PropTypes.func.isRequired,\n\t isPlaylistViewActive: _react.PropTypes.bool,\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\t\n\texports.default = (0, _reactIntl.injectIntl)((0, _reactCssModules2.default)(WebPlayerCSSIntl, _WebPlayer2.default, { allowMultiple: true }));\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 346 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function($) {\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; };\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactRouter = __webpack_require__(54);\n\t\n\tvar _reactCssModules = __webpack_require__(46);\n\t\n\tvar _reactCssModules2 = _interopRequireDefault(_reactCssModules);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _WebPlayer = __webpack_require__(392);\n\t\n\tvar _WebPlayer2 = _interopRequireDefault(_WebPlayer);\n\t\n\tvar _common = __webpack_require__(50);\n\t\n\tvar _common2 = _interopRequireDefault(_common);\n\t\n\tvar _Sidebar = __webpack_require__(361);\n\t\n\tvar _Sidebar2 = _interopRequireDefault(_Sidebar);\n\t\n\tvar _Sidebar3 = __webpack_require__(614);\n\t\n\tvar _Sidebar4 = _interopRequireDefault(_Sidebar3);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Other components\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Styles\n\t\n\t\n\t// Define translations\n\tvar sidebarLayoutMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _common2.default, _Sidebar2.default)));\n\t\n\t/**\n\t * Sidebar layout component, putting children next to the sidebar menu.\n\t */\n\t\n\tvar SidebarLayoutIntl = function (_Component) {\n\t _inherits(SidebarLayoutIntl, _Component);\n\t\n\t function SidebarLayoutIntl() {\n\t _classCallCheck(this, SidebarLayoutIntl);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(SidebarLayoutIntl).apply(this, arguments));\n\t }\n\t\n\t _createClass(SidebarLayoutIntl, [{\n\t key: \"render\",\n\t value: function render() {\n\t var _React$createElement;\n\t\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t // Check active links\n\t\n\t var isActive = {\n\t discover: this.props.location.pathname == \"/discover\" ? \"active\" : \"link\",\n\t browse: this.props.location.pathname == \"/browse\" ? \"active\" : \"link\",\n\t artists: this.props.location.pathname == \"/artists\" ? \"active\" : \"link\",\n\t albums: this.props.location.pathname == \"/albums\" ? \"active\" : \"link\",\n\t songs: this.props.location.pathname == \"/songs\" ? \"active\" : \"link\",\n\t search: this.props.location.pathname == \"/search\" ? \"active\" : \"link\"\n\t };\n\t\n\t // Hamburger collapsing function\n\t var collapseHamburger = function collapseHamburger() {\n\t $(\"#main-navbar\").collapse(\"hide\");\n\t };\n\t\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"row\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12 col-md-1 col-lg-2 sidebar\", styleName: \"sidebar\" },\n\t _react2.default.createElement(\n\t \"button\",\n\t { type: \"button\", className: \"navbar-toggle collapsed\", \"data-toggle\": \"collapse\", \"data-target\": \"#main-navbar\", \"aria-expanded\": \"false\", styleName: \"toggle\" },\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, sidebarLayoutMessages[\"app.sidebarLayout.toggleNavigation\"])\n\t ),\n\t _react2.default.createElement(\"span\", { className: \"icon-bar\", styleName: \"icon-bar\" }),\n\t _react2.default.createElement(\"span\", { className: \"icon-bar\", styleName: \"icon-bar\" }),\n\t _react2.default.createElement(\"span\", { className: \"icon-bar\", styleName: \"icon-bar\" })\n\t ),\n\t _react2.default.createElement(\n\t \"h1\",\n\t { className: \"text-center\", styleName: \"title\" },\n\t _react2.default.createElement(\n\t _reactRouter.IndexLink,\n\t (_React$createElement = { styleName: \"link\", to: \"/\" }, _defineProperty(_React$createElement, \"styleName\", \"link\"), _defineProperty(_React$createElement, \"onClick\", collapseHamburger), _React$createElement),\n\t _react2.default.createElement(\"img\", { alt: \"A\", src: \"./img/ampache-blue.png\", styleName: \"imgTitle\" }),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"hidden-md\" },\n\t \"mpache\"\n\t )\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"nav\",\n\t { className: \"collapse\", styleName: \"collapse\", \"aria-label\": formatMessage(sidebarLayoutMessages[\"app.sidebarLayout.mainNavigationMenu\"]), id: \"main-navbar\", role: \"navigation\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"navbar text-center\", styleName: \"icon-navbar\" },\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"container-fluid\", styleName: \"container-fluid\" },\n\t _react2.default.createElement(\n\t \"ul\",\n\t { className: \"nav navbar-nav\", styleName: \"nav\" },\n\t _react2.default.createElement(\n\t \"li\",\n\t null,\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { to: \"/\", title: formatMessage(sidebarLayoutMessages[\"app.sidebarLayout.home\"]), styleName: \"link\", onClick: collapseHamburger },\n\t _react2.default.createElement(\"span\", { className: \"glyphicon glyphicon-home\", \"aria-hidden\": \"true\" }),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, sidebarLayoutMessages[\"app.sidebarLayout.home\"])\n\t )\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"li\",\n\t null,\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { to: \"/settings\", title: formatMessage(sidebarLayoutMessages[\"app.sidebarLayout.settings\"]), styleName: \"link\", onClick: collapseHamburger },\n\t _react2.default.createElement(\"span\", { className: \"glyphicon glyphicon-wrench\", \"aria-hidden\": \"true\" }),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, sidebarLayoutMessages[\"app.sidebarLayout.settings\"])\n\t )\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"li\",\n\t null,\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { to: \"/logout\", title: formatMessage(sidebarLayoutMessages[\"app.sidebarLayout.logout\"]), styleName: \"link\", onClick: collapseHamburger },\n\t _react2.default.createElement(\"span\", { className: \"glyphicon glyphicon-off\", \"aria-hidden\": \"true\" }),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, sidebarLayoutMessages[\"app.sidebarLayout.logout\"])\n\t )\n\t )\n\t )\n\t )\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"ul\",\n\t { className: \"nav\", styleName: \"nav\" },\n\t _react2.default.createElement(\n\t \"li\",\n\t null,\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { to: \"/discover\", title: formatMessage(sidebarLayoutMessages[\"app.sidebarLayout.discover\"]), styleName: isActive.discover, onClick: collapseHamburger },\n\t _react2.default.createElement(\"span\", { className: \"glyphicon glyphicon-globe\", \"aria-hidden\": \"true\" }),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"hidden-md\" },\n\t \" \",\n\t _react2.default.createElement(_reactIntl.FormattedMessage, sidebarLayoutMessages[\"app.sidebarLayout.discover\"])\n\t )\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"li\",\n\t null,\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { to: \"/browse\", title: formatMessage(sidebarLayoutMessages[\"app.sidebarLayout.browse\"]), styleName: isActive.browse, onClick: collapseHamburger },\n\t _react2.default.createElement(\"span\", { className: \"glyphicon glyphicon-headphones\", \"aria-hidden\": \"true\" }),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"hidden-md\" },\n\t \" \",\n\t _react2.default.createElement(_reactIntl.FormattedMessage, sidebarLayoutMessages[\"app.sidebarLayout.browse\"])\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"ul\",\n\t { className: \"nav text-center\", styleName: \"nav-list\" },\n\t _react2.default.createElement(\n\t \"li\",\n\t null,\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { to: \"/artists\", title: formatMessage(sidebarLayoutMessages[\"app.sidebarLayout.browseArtists\"]), styleName: isActive.artists, onClick: collapseHamburger },\n\t _react2.default.createElement(\"span\", { className: \"glyphicon glyphicon-user\", \"aria-hidden\": \"true\" }),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only text-capitalize\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, _extends({}, sidebarLayoutMessages[\"app.common.artist\"], { values: { itemCount: 42 } }))\n\t ),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"hidden-md text-capitalize\" },\n\t \" \",\n\t _react2.default.createElement(_reactIntl.FormattedMessage, _extends({}, sidebarLayoutMessages[\"app.common.artist\"], { values: { itemCount: 42 } }))\n\t )\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"li\",\n\t null,\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { to: \"/albums\", title: formatMessage(sidebarLayoutMessages[\"app.sidebarLayout.browseAlbums\"]), styleName: isActive.albums, onClick: collapseHamburger },\n\t _react2.default.createElement(\"span\", { className: \"glyphicon glyphicon-cd\", \"aria-hidden\": \"true\" }),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only text-capitalize\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, _extends({}, sidebarLayoutMessages[\"app.common.album\"], { values: { itemCount: 42 } }))\n\t ),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"hidden-md text-capitalize\" },\n\t \" \",\n\t _react2.default.createElement(_reactIntl.FormattedMessage, _extends({}, sidebarLayoutMessages[\"app.common.album\"], { values: { itemCount: 42 } }))\n\t )\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"li\",\n\t null,\n\t _react2.default.createElement(\n\t _reactRouter.Link,\n\t { to: \"/songs\", title: formatMessage(sidebarLayoutMessages[\"app.sidebarLayout.browseSongs\"]), styleName: isActive.songs, onClick: collapseHamburger },\n\t _react2.default.createElement(\"span\", { className: \"glyphicon glyphicon-music\", \"aria-hidden\": \"true\" }),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"sr-only text-capitalize\" },\n\t _react2.default.createElement(_reactIntl.FormattedMessage, _extends({}, sidebarLayoutMessages[\"app.common.track\"], { values: { itemCount: 42 } }))\n\t ),\n\t _react2.default.createElement(\n\t \"span\",\n\t { className: \"hidden-md text-capitalize\" },\n\t \" \",\n\t _react2.default.createElement(_reactIntl.FormattedMessage, _extends({}, sidebarLayoutMessages[\"app.common.track\"], { values: { itemCount: 42 } }))\n\t )\n\t )\n\t )\n\t )\n\t )\n\t )\n\t ),\n\t _react2.default.createElement(_WebPlayer2.default, { location: this.props.location })\n\t )\n\t ),\n\t _react2.default.createElement(\n\t \"div\",\n\t { className: \"col-xs-12 col-md-11 col-md-offset-1 col-lg-10 col-lg-offset-2 main-panel\", styleName: \"main-panel\", onClick: collapseHamburger, role: \"main\" },\n\t this.props.children\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return SidebarLayoutIntl;\n\t}(_react.Component);\n\t\n\tSidebarLayoutIntl.propTypes = {\n\t children: _react.PropTypes.node,\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\texports.default = (0, _reactIntl.injectIntl)((0, _reactCssModules2.default)(SidebarLayoutIntl, _Sidebar4.default));\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 347 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t/**\n\t * Simple layout, meaning just enclosing children in a div.\n\t */\n\tvar SimpleLayout = function (_Component) {\n\t _inherits(SimpleLayout, _Component);\n\t\n\t function SimpleLayout() {\n\t _classCallCheck(this, SimpleLayout);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(SimpleLayout).apply(this, arguments));\n\t }\n\t\n\t _createClass(SimpleLayout, [{\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t this.props.children\n\t );\n\t }\n\t }]);\n\t\n\t return SimpleLayout;\n\t}(_react.Component);\n\t\n\texports.default = SimpleLayout;\n\n/***/ },\n/* 348 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } /**\n\t * Main container at the top of our application components tree.\n\t *\n\t * Just a div wrapper around children for now.\n\t */\n\t\n\t\n\tvar App = function (_Component) {\n\t _inherits(App, _Component);\n\t\n\t function App() {\n\t _classCallCheck(this, App);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(App).apply(this, arguments));\n\t }\n\t\n\t _createClass(App, [{\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t this.props.children\n\t );\n\t }\n\t }]);\n\t\n\t return App;\n\t}(_react.Component);\n\t\n\texports.default = App;\n\t\n\t\n\tApp.propTypes = {\n\t children: _react.PropTypes.node\n\t};\n\n/***/ },\n/* 349 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.RequireAuthentication = undefined;\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactRedux = __webpack_require__(47);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } /**\n\t * Container wrapping elements neeeding a valid session. Automatically\n\t * redirects to login form in case such session does not exist.\n\t */\n\t\n\t\n\tvar RequireAuthentication = exports.RequireAuthentication = function (_Component) {\n\t _inherits(RequireAuthentication, _Component);\n\t\n\t function RequireAuthentication() {\n\t _classCallCheck(this, RequireAuthentication);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(RequireAuthentication).apply(this, arguments));\n\t }\n\t\n\t _createClass(RequireAuthentication, [{\n\t key: \"componentWillMount\",\n\t value: function componentWillMount() {\n\t // Check authentication on mount\n\t this.checkAuth(this.props.isAuthenticated);\n\t }\n\t }, {\n\t key: \"componentWillUpdate\",\n\t value: function componentWillUpdate(newProps) {\n\t // Check authentication on update\n\t this.checkAuth(newProps.isAuthenticated);\n\t }\n\t\n\t /**\n\t * Handle redirection in case user is not authenticated.\n\t *\n\t * @param isAuthenticated A boolean stating whether user has a valid\n\t * session or not.\n\t */\n\t\n\t }, {\n\t key: \"checkAuth\",\n\t value: function checkAuth(isAuthenticated) {\n\t if (!isAuthenticated) {\n\t // Redirect to login, redirecting to the actual page after login.\n\t this.context.router.replace({\n\t pathname: \"/login\",\n\t state: {\n\t nextPathname: this.props.location.pathname,\n\t nextQuery: this.props.location.query\n\t }\n\t });\n\t }\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(\n\t \"div\",\n\t null,\n\t this.props.isAuthenticated === true ? this.props.children : null\n\t );\n\t }\n\t }]);\n\t\n\t return RequireAuthentication;\n\t}(_react.Component);\n\t\n\tRequireAuthentication.propTypes = {\n\t // Injected by React Router\n\t children: _react.PropTypes.node\n\t};\n\t\n\tRequireAuthentication.contextTypes = {\n\t router: _react.PropTypes.object.isRequired\n\t};\n\t\n\tvar mapStateToProps = function mapStateToProps(state) {\n\t return {\n\t isAuthenticated: state.auth.isAuthenticated\n\t };\n\t};\n\t\n\texports.default = (0, _reactRedux.connect)(mapStateToProps)(RequireAuthentication);\n\n/***/ },\n/* 350 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactRedux = __webpack_require__(47);\n\t\n\tvar _reactRouter = __webpack_require__(54);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _routes = __webpack_require__(372);\n\t\n\tvar _routes2 = _interopRequireDefault(_routes);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } /**\n\t * Root component to render, setting locale, messages, Router and Store.\n\t */\n\t\n\t\n\tvar Root = function (_Component) {\n\t _inherits(Root, _Component);\n\t\n\t function Root() {\n\t _classCallCheck(this, Root);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(Root).apply(this, arguments));\n\t }\n\t\n\t _createClass(Root, [{\n\t key: \"render\",\n\t value: function render() {\n\t var _props = this.props;\n\t var locale = _props.locale;\n\t var messages = _props.messages;\n\t var defaultLocale = _props.defaultLocale;\n\t var store = _props.store;\n\t var history = _props.history;\n\t var render = _props.render;\n\t\n\t return _react2.default.createElement(\n\t _reactRedux.Provider,\n\t { store: store },\n\t _react2.default.createElement(\n\t _reactIntl.IntlProvider,\n\t { locale: locale, messages: messages, defaultLocale: defaultLocale },\n\t _react2.default.createElement(_reactRouter.Router, { history: history, routes: _routes2.default, render: render })\n\t )\n\t );\n\t }\n\t }]);\n\t\n\t return Root;\n\t}(_react.Component);\n\t\n\texports.default = Root;\n\t\n\t\n\tRoot.propTypes = {\n\t store: _react.PropTypes.object.isRequired,\n\t history: _react.PropTypes.object.isRequired,\n\t render: _react.PropTypes.func,\n\t locale: _react.PropTypes.string.isRequired,\n\t messages: _react.PropTypes.object.isRequired,\n\t defaultLocale: _react.PropTypes.string.isRequired\n\t};\n\n/***/ },\n/* 351 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tmodule.exports = {\n\t \"app.api.invalidResponse\": \"Invalid response text.\", // Invalid response from the API\n\t \"app.api.emptyResponse\": \"Empty response text.\", // Empty response from the API\n\t \"app.api.error\": \"Unknown API error.\", // An unknown error occurred from the API\n\t \"app.common.album\": \"{itemCount, plural, one {album} other {albums}}\", // Album\n\t \"app.common.art\": \"Art\", // Art\n\t \"app.common.artist\": \"{itemCount, plural, one {artist} other {artists}}\", // Artist\n\t \"app.common.cancel\": \"Cancel\", // Cancel\n\t \"app.common.close\": \"Close\", // Close\n\t \"app.common.go\": \"Go\", // Go\n\t \"app.common.loading\": \"Loading…\", // Loading indicator\n\t \"app.common.pause\": \"Pause\", // Pause icon description\n\t \"app.common.play\": \"Play\", // Play icon description\n\t \"app.common.playNext\": \"Play next\", // Play next icon descripton\n\t \"app.common.track\": \"{itemCount, plural, one {track} other {tracks}}\", // Track\n\t \"app.filter.filter\": \"Filter…\", // Filtering input placeholder\n\t \"app.filter.whatAreWeListeningToToday\": \"What are we listening to today?\", // Description for the filter bar\n\t \"app.grid.goToArtistPage\": \"Go to artist page\", // Artist thumbnail link title\n\t \"app.grid.goToAlbumPage\": \"Go to album page\", // Album thumbnail link title\n\t \"app.login.byebye\": \"See you soon!\", // Info message on successful logout\n\t \"app.login.connecting\": \"Connecting…\", // Info message while trying to connect\n\t \"app.login.endpointInputAriaLabel\": \"URL of your Ampache instance (e.g. http://ampache.example.com)\", // ARIA label for the endpoint input\n\t \"app.login.expired\": \"Your session expired… =(\", // Error message on expired session\n\t \"app.login.greeting\": \"Welcome back on Ampache, let's go!\", // Greeting to welcome the user to the app\n\t \"app.login.password\": \"Password\", // Password input placeholder\n\t \"app.login.rememberMe\": \"Remember me\", // Remember me checkbox label\n\t \"app.login.signIn\": \"Sign in\", // Sign in\n\t \"app.login.success\": \"Successfully logged in as { username }!\", // Info message on successful login.\n\t \"app.login.username\": \"Username\", // Username input placeholder\n\t \"app.pagination.current\": \"current\", // Current (page)\n\t \"app.pagination.goToPage\": \"
Go to page {pageNumber}\", // Link content to go to page N. span is here for screen-readers\n\t \"app.pagination.goToPageWithoutMarkup\": \"Go to page {pageNumber}\", // Link title to go to page N\n\t \"app.pagination.pageNavigation\": \"Page navigation\", // ARIA label for the nav block containing pagination\n\t \"app.pagination.pageToGoTo\": \"Page to go to?\", // Title of the pagination modal\n\t \"app.playlist.currentSongPlaying\": \"Current song playing\", // Current song playing\n\t \"app.playlist.emptyPlaylist\": \"Empty playlist\", // Empty playlist message\n\t \"app.playlist.flushPlaylist\": \"Empty the playlist\", // Empty the playlist link label\n\t \"app.playlist.fullPlaylist\": \"Full playlist\", // Full playlist\n\t \"app.playlist.playlist\": \"Playlist\", // Playlist translation\n\t \"app.settings.settings\": \"Settings\", // Settings translation\n\t \"app.sidebarLayout.browse\": \"Browse\", // Browse\n\t \"app.sidebarLayout.browseAlbums\": \"Browse albums\", // Browse albums\n\t \"app.sidebarLayout.browseArtists\": \"Browse artists\", // Browse artists\n\t \"app.sidebarLayout.browseSongs\": \"Browse songs\", // Browse songs\n\t \"app.sidebarLayout.discover\": \"Discover\", // Discover\n\t \"app.sidebarLayout.home\": \"Home\", // Home\n\t \"app.sidebarLayout.logout\": \"Logout\", // Logout\n\t \"app.sidebarLayout.mainNavigationMenu\": \"Main navigation menu\", // ARIA label for the main navigation menu\n\t \"app.sidebarLayout.settings\": \"Settings\", // Settings\n\t \"app.sidebarLayout.toggleNavigation\": \"Toggle navigation\", // Screen reader description of toggle navigation button\n\t \"app.songs.genre\": \"Genre\", // Genre (song)\n\t \"app.songs.length\": \"Length\", // Length (song)\n\t \"app.songs.title\": \"Title\", // Title (song)\n\t \"app.webplayer.by\": \"by\", // Artist affiliation of a song\n\t \"app.webplayer.next\": \"Next\", // Next button description\n\t \"app.webplayer.onLoadError\": \"Unable to load song\", // Error message in case a song could not be loaded\n\t \"app.webplayer.playlist\": \"Playlist\", // Playlist button description\n\t \"app.webplayer.previous\": \"Previous\", // Previous button description\n\t \"app.webplayer.random\": \"Random\", // Random button description\n\t \"app.webplayer.repeat\": \"Repeat\", // Repeat button description\n\t \"app.webplayer.unsupported\": \"Unsupported media type\", // Unsupported media type\n\t \"app.webplayer.volume\": \"Volume\" };\n\n/***/ },\n/* 352 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tmodule.exports = {\n\t \"app.api.invalidResponse\": \"Réponse invalide reçue.\", // Invalid response from the API\n\t \"app.api.emptyResponse\": \"Réponse vide reçue.\", // Empty response from the API\n\t \"app.api.error\": \"Erreur inconnue.\", // An unknown error occurred from the API\n\t \"app.common.album\": \"{itemCount, plural, one {album} other {albums}}\", // Albums\n\t \"app.common.art\": \"Pochette\", // Art\n\t \"app.common.artist\": \"{itemCount, plural, one {artiste} other {artistes}}\", // Artists\n\t \"app.common.cancel\": \"Annuler\", // Cancel\n\t \"app.common.close\": \"Fermer\", // Close\n\t \"app.common.go\": \"Aller\", // Go\n\t \"app.common.loading\": \"Chargement…\", // Loading indicator\n\t \"app.common.pause\": \"Pause\", // Pause icon description\n\t \"app.common.play\": \"Jouer\", // PLay icon description\n\t \"app.common.playNext\": \"Jouer après\", // Play next icon descripton\n\t \"app.common.track\": \"{itemCount, plural, one {piste} other {pistes}}\", // Track\n\t \"app.filter.filter\": \"Filtrer…\", // Filtering input placeholder\n\t \"app.filter.whatAreWeListeningToToday\": \"Que voulez-vous écouter aujourd'hui ?\", // Description for the filter bar\n\t \"app.grid.goToArtistPage\": \"Aller à la page de l'artiste\", // Artist thumbnail link title\n\t \"app.grid.goToAlbumPage\": \"Aller à la page de l'album\", // Album thumbnail link title\n\t \"app.login.byebye\": \"À bientôt !\", // Info message on successful logout\n\t \"app.login.connecting\": \"Connexion…\", // Info message while trying to connect\n\t \"app.login.endpointInputAriaLabel\": \"URL de votre Ampache (e.g. http://ampache.example.com)\", // ARIA label for the endpoint input\n\t \"app.login.expired\": \"Session expirée… =(\", // Error message on expired session\n\t \"app.login.greeting\": \"Bon retour sur Ampache, c'est parti !\", // Greeting to welcome the user to the app\n\t \"app.login.password\": \"Mot de passe\", // Password input placeholder\n\t \"app.login.rememberMe\": \"Se souvenir\", // Remember me checkbox label\n\t \"app.login.signIn\": \"Connexion\", // Sign in\n\t \"app.login.success\": \"Connecté en tant que { username } !\", // Info message on successful login.\n\t \"app.login.username\": \"Utilisateur\", // Username input placeholder\n\t \"app.pagination.current\": \"actuelle\", // Current (page)\n\t \"app.pagination.goToPage\": \"
Aller à la page {pageNumber}\", // Link content to go to page N. span is here for screen-readers\n\t \"app.pagination.goToPageWithoutMarkup\": \"Aller à la page {pageNumber}\", // Link title to go to page N\n\t \"app.pagination.pageNavigation\": \"Navigation entre les pages\", // ARIA label for the nav block containing pagination\n\t \"app.pagination.pageToGoTo\": \"Page à laquelle aller ?\", // Title of the pagination modal\n\t \"app.playlist.currentSongPlaying\": \"Piste en cours de lecture\", // Current song playing\n\t \"app.playlist.emptyPlaylist\": \"Liste de lecture vide\", // Empty playlist message\n\t \"app.playlist.flushPlaylist\": \"Vider la playlist\", // Empty the playlist link label\n\t \"app.playlist.fullPlaylist\": \"Playlist complète\", // Full playlist\n\t \"app.playlist.playlist\": \"Liste de lecture\", // Playlist translation\n\t \"app.settings.settings\": \"Préférences\", // Settings translation\n\t \"app.sidebarLayout.browse\": \"Explorer\", // Browse\n\t \"app.sidebarLayout.browseAlbums\": \"Parcourir les albums\", // Browse albums\n\t \"app.sidebarLayout.browseArtists\": \"Parcourir les artistes\", // Browse artists\n\t \"app.sidebarLayout.browseSongs\": \"Parcourir les pistes\", // Browse songs\n\t \"app.sidebarLayout.discover\": \"Découvrir\", // Discover\n\t \"app.sidebarLayout.home\": \"Accueil\", // Home\n\t \"app.sidebarLayout.logout\": \"Déconnexion\", // Logout\n\t \"app.sidebarLayout.mainNavigationMenu\": \"Menu principal\", // ARIA label for the main navigation menu\n\t \"app.sidebarLayout.settings\": \"Préférences\", // Settings\n\t \"app.sidebarLayout.toggleNavigation\": \"Afficher le menu\", // Screen reader description of toggle navigation button\n\t \"app.songs.genre\": \"Genre\", // Genre (song)\n\t \"app.songs.length\": \"Durée\", // Length (song)\n\t \"app.songs.title\": \"Titre\", // Title (song)\n\t \"app.webplayer.by\": \"par\", // Artist affiliation of a song\n\t \"app.webplayer.next\": \"Suivant\", // Next button description\n\t \"app.webplayer.onLoadError\": \"Impossible de charger la piste\", // Error message in case a song could not be loaded\n\t \"app.webplayer.playlist\": \"Liste de lecture\", // Playlist button description\n\t \"app.webplayer.previous\": \"Précédent\", // Previous button description\n\t \"app.webplayer.random\": \"Aléatoire\", // Random button description\n\t \"app.webplayer.repeat\": \"Répéter\", // Repeat button description\n\t \"app.webplayer.unsupported\": \"Format non supporté\", // Unsupported media type\n\t \"app.webplayer.volume\": \"Volume\" };\n\n/***/ },\n/* 353 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\t// Export all the existing locales\n\tmodule.exports = {\n\t \"en-US\": __webpack_require__(351),\n\t \"fr-FR\": __webpack_require__(352)\n\t};\n\n/***/ },\n/* 354 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar messages = [{\n\t id: \"app.login.username\",\n\t defaultMessage: \"Username\",\n\t description: \"Username input placeholder\"\n\t}, {\n\t id: \"app.login.password\",\n\t defaultMessage: \"Password\",\n\t description: \"Password input placeholder\"\n\t}, {\n\t id: \"app.login.signIn\",\n\t defaultMessage: \"Sign in\",\n\t description: \"Sign in\"\n\t}, {\n\t id: \"app.login.endpointInputAriaLabel\",\n\t defaultMessage: \"URL of your Ampache instance (e.g. http://ampache.example.com)\",\n\t description: \"ARIA label for the endpoint input\"\n\t}, {\n\t id: \"app.login.rememberMe\",\n\t description: \"Remember me checkbox label\",\n\t defaultMessage: \"Remember me\"\n\t}, {\n\t id: \"app.login.greeting\",\n\t description: \"Greeting to welcome the user to the app\",\n\t defaultMessage: \"Welcome back on Ampache, let's go!\"\n\t},\n\t\n\t// From the auth reducer\n\t{\n\t id: \"app.login.connecting\",\n\t defaultMessage: \"Connecting…\",\n\t description: \"Info message while trying to connect\"\n\t}, {\n\t id: \"app.login.success\",\n\t defaultMessage: \"Successfully logged in as { username }!\",\n\t description: \"Info message on successful login.\"\n\t}, {\n\t id: \"app.login.byebye\",\n\t defaultMessage: \"See you soon!\",\n\t description: \"Info message on successful logout\"\n\t}, {\n\t id: \"app.login.expired\",\n\t defaultMessage: \"Your session expired… =(\",\n\t description: \"Error message on expired session\"\n\t}];\n\t\n\texports.default = messages;\n\n/***/ },\n/* 355 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar messages = [{\n\t \"id\": \"app.playlist.playlist\",\n\t \"defaultMessage\": \"Playlist\",\n\t \"description\": \"Playlist translation\"\n\t}, {\n\t \"id\": \"app.playlist.currentSongPlaying\",\n\t \"defaultMessage\": \"Current song playing\",\n\t \"description\": \"Current song playing\"\n\t}, {\n\t \"id\": \"app.playlist.fullPlaylist\",\n\t \"defaultMessage\": \"Full playlist\",\n\t \"description\": \"Full playlist\"\n\t}, {\n\t \"id\": \"app.playlist.emptyPlaylist\",\n\t \"defaultMessage\": \"Empty playlist\",\n\t \"description\": \"Empty playlist message\"\n\t}, {\n\t \"id\": \"app.playlist.flushPlaylist\",\n\t \"defaultMessage\": \"Empty the playlist\",\n\t \"description\": \"Empty the playlist link label\"\n\t}];\n\t\n\texports.default = messages;\n\n/***/ },\n/* 356 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar messages = [{\n\t \"id\": \"app.settings.settings\",\n\t \"defaultMessage\": \"Settings\",\n\t \"description\": \"Settings translation\"\n\t}];\n\t\n\texports.default = messages;\n\n/***/ },\n/* 357 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar messages = [{\n\t \"id\": \"app.songs.title\",\n\t \"description\": \"Title (song)\",\n\t \"defaultMessage\": \"Title\"\n\t}, {\n\t \"id\": \"app.songs.genre\",\n\t \"description\": \"Genre (song)\",\n\t \"defaultMessage\": \"Genre\"\n\t}, {\n\t \"id\": \"app.songs.length\",\n\t \"description\": \"Length (song)\",\n\t \"defaultMessage\": \"Length\"\n\t}];\n\t\n\texports.default = messages;\n\n/***/ },\n/* 358 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar messages = [{\n\t id: \"app.filter.filter\",\n\t defaultMessage: \"Filter…\",\n\t description: \"Filtering input placeholder\"\n\t}, {\n\t id: \"app.filter.whatAreWeListeningToToday\",\n\t description: \"Description for the filter bar\",\n\t defaultMessage: \"What are we listening to today?\"\n\t}];\n\t\n\texports.default = messages;\n\n/***/ },\n/* 359 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar messages = [{\n\t id: \"app.pagination.goToPage\",\n\t defaultMessage: \"
Go to page {pageNumber}\",\n\t description: \"Link content to go to page N. span is here for screen-readers\"\n\t}, {\n\t id: \"app.pagination.goToPageWithoutMarkup\",\n\t defaultMessage: \"Go to page {pageNumber}\",\n\t description: \"Link title to go to page N\"\n\t}, {\n\t id: \"app.pagination.pageNavigation\",\n\t defaultMessage: \"Page navigation\",\n\t description: \"ARIA label for the nav block containing pagination\"\n\t}, {\n\t id: \"app.pagination.pageToGoTo\",\n\t description: \"Title of the pagination modal\",\n\t defaultMessage: \"Page to go to?\"\n\t}, {\n\t id: \"app.pagination.current\",\n\t description: \"Current (page)\",\n\t defaultMessage: \"current\"\n\t}];\n\t\n\texports.default = messages;\n\n/***/ },\n/* 360 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar messages = [{\n\t id: \"app.grid.goToArtistPage\",\n\t defaultMessage: \"Go to artist page\",\n\t description: \"Artist thumbnail link title\"\n\t}, {\n\t id: \"app.grid.goToAlbumPage\",\n\t defaultMessage: \"Go to album page\",\n\t description: \"Album thumbnail link title\"\n\t}];\n\t\n\texports.default = messages;\n\n/***/ },\n/* 361 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\tvar messages = [{\n\t id: \"app.sidebarLayout.mainNavigationMenu\",\n\t description: \"ARIA label for the main navigation menu\",\n\t defaultMessage: \"Main navigation menu\"\n\t}, {\n\t id: \"app.sidebarLayout.home\",\n\t description: \"Home\",\n\t defaultMessage: \"Home\"\n\t}, {\n\t id: \"app.sidebarLayout.settings\",\n\t description: \"Settings\",\n\t defaultMessage: \"Settings\"\n\t}, {\n\t id: \"app.sidebarLayout.logout\",\n\t description: \"Logout\",\n\t defaultMessage: \"Logout\"\n\t}, {\n\t id: \"app.sidebarLayout.discover\",\n\t description: \"Discover\",\n\t defaultMessage: \"Discover\"\n\t}, {\n\t id: \"app.sidebarLayout.browse\",\n\t description: \"Browse\",\n\t defaultMessage: \"Browse\"\n\t}, {\n\t id: \"app.sidebarLayout.browseArtists\",\n\t description: \"Browse artists\",\n\t defaultMessage: \"Browse artists\"\n\t}, {\n\t id: \"app.sidebarLayout.browseAlbums\",\n\t description: \"Browse albums\",\n\t defaultMessage: \"Browse albums\"\n\t}, {\n\t id: \"app.sidebarLayout.browseSongs\",\n\t description: \"Browse songs\",\n\t defaultMessage: \"Browse songs\"\n\t}, {\n\t id: \"app.sidebarLayout.toggleNavigation\",\n\t description: \"Screen reader description of toggle navigation button\",\n\t defaultMessage: \"Toggle navigation\"\n\t}];\n\t\n\texports.default = messages;\n\n/***/ },\n/* 362 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.song = exports.album = exports.artist = undefined;\n\t\n\tvar _normalizr = __webpack_require__(283);\n\t\n\t// Define normalizr schemas for major entities returned by the API\n\tvar artist = exports.artist = new _normalizr.Schema(\"artist\"); /** Artist schema */\n\t/**\n\t * This file defines API related models.\n\t */\n\t\n\t// NPM imports\n\tvar album = exports.album = new _normalizr.Schema(\"album\"); /** Album schema */\n\tvar song = exports.song = new _normalizr.Schema(\"song\"); /** Song schema */\n\t\n\t// Explicit relations between them\n\tartist.define({ // Artist has albums and songs (tracks)\n\t albums: (0, _normalizr.arrayOf)(album),\n\t songs: (0, _normalizr.arrayOf)(song)\n\t});\n\t\n\talbum.define({ // Album has artist, tracks and tags\n\t artist: artist,\n\t tracks: (0, _normalizr.arrayOf)(song)\n\t});\n\t\n\tsong.define({ // Track has artist and album\n\t artist: artist,\n\t album: album\n\t});\n\n/***/ },\n/* 363 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.stateRecord = exports.tokenRecord = undefined;\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t/** Record to store token parameters */\n\tvar tokenRecord = exports.tokenRecord = _immutable2.default.Record({\n\t token: null, /** Token string */\n\t expires: null });\n\t\n\t/** Record to store the full auth state */\n\t/**\n\t * This file defines authentication related models.\n\t */\n\t\n\t// NPM imports\n\tvar stateRecord = exports.stateRecord = new _immutable2.default.Record({\n\t token: new tokenRecord(), /** Auth token */\n\t username: null, /** Username */\n\t endpoint: null, /** Ampache server base URL */\n\t rememberMe: false, /** Whether to remember me or not */\n\t isAuthenticated: false, /** Whether authentication is ok or not */\n\t isAuthenticating: false, /** Whether authentication is in progress or not */\n\t error: null, /** An error string */\n\t info: null, /** An info string */\n\t timerID: null });\n\n/***/ },\n/* 364 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.stateRecord = undefined;\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t/** Record to store the shared entities. */\n\tvar stateRecord = exports.stateRecord = new _immutable2.default.Record({\n\t isFetching: false, /** Whether API fetching is in progress */\n\t error: null, /** An error string */\n\t refCounts: new _immutable2.default.Map({\n\t album: new _immutable2.default.Map(),\n\t artist: new _immutable2.default.Map(),\n\t song: new _immutable2.default.Map()\n\t }), /** Map of id => reference count for each object type (garbage collection) */\n\t entities: new _immutable2.default.Map({\n\t album: new _immutable2.default.Map(),\n\t artist: new _immutable2.default.Map(),\n\t song: new _immutable2.default.Map()\n\t }) }); /**\n\t * This file defines entities storage models.\n\t */\n\t\n\t// NPM imports\n\n/***/ },\n/* 365 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.stateRecord = undefined;\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t/** Record to store the paginated pages state. */\n\tvar stateRecord = exports.stateRecord = new _immutable2.default.Record({\n\t type: null, /** Type of the paginated entries */\n\t result: new _immutable2.default.List(), /** List of IDs of the resulting entries, maps to the entities store */\n\t currentPage: 1, /** Number of current page */\n\t nPages: 1 }); // NPM import\n\n/***/ },\n/* 366 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.stateRecord = undefined;\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t/** Record to store the webplayer state. */\n\tvar stateRecord = exports.stateRecord = new _immutable2.default.Record({\n\t isPlaying: false, /** Whether webplayer is playing */\n\t isRandom: false, /** Whether random mode is on */\n\t isRepeat: false, /** Whether repeat mode is on */\n\t isMute: false, /** Whether sound is muted or not */\n\t volume: 100, /** Current volume, between 0 and 100 */\n\t currentIndex: 0, /** Current index in the playlist */\n\t playlist: new _immutable2.default.List(), /** List of songs IDs, references songs in the entities store */\n\t error: null }); /**\n\t * This file defines authentication related models.\n\t */\n\t\n\t// NPM imports\n\n/***/ },\n/* 367 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createReducer;\n\t\n\tvar _jsCookie = __webpack_require__(258);\n\t\n\tvar _jsCookie2 = _interopRequireDefault(_jsCookie);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _i18n = __webpack_require__(80);\n\t\n\tvar _auth = __webpack_require__(363);\n\t\n\tvar _actions = __webpack_require__(26);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } /**\n\t * This implements the auth reducer, storing and updating authentication state.\n\t */\n\t\n\t// NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Models\n\t\n\t\n\t// Actions\n\t\n\t\n\t/**\n\t * Initial state, load data from cookies if set\n\t */\n\tvar initialState = new _auth.stateRecord();\n\t// Get token\n\tvar initialToken = _jsCookie2.default.getJSON(\"token\");\n\tif (initialToken) {\n\t initialToken.expires = new Date(initialToken.expires);\n\t initialState = initialState.set(\"token\", new _auth.tokenRecord({ token: initialToken.token, expires: new Date(initialToken.expires) }));\n\t}\n\t// Get username\n\tvar initialUsername = _jsCookie2.default.get(\"username\");\n\tif (initialUsername) {\n\t initialState = initialState.set(\"username\", initialUsername);\n\t}\n\t// Get endpoint\n\tvar initialEndpoint = _jsCookie2.default.get(\"endpoint\");\n\tif (initialEndpoint) {\n\t initialState = initialState.set(\"endpoint\", initialEndpoint);\n\t}\n\t// Set remember me\n\tif (initialUsername && initialEndpoint) {\n\t initialState = initialState.set(\"rememberMe\", true);\n\t}\n\t\n\t/**\n\t * Reducers\n\t */\n\texports.default = (0, _utils.createReducer)(initialState, (_createReducer = {}, _defineProperty(_createReducer, _actions.LOGIN_USER_REQUEST, function () {\n\t return new _auth.stateRecord({\n\t isAuthenticating: true,\n\t info: new _i18n.i18nRecord({\n\t id: \"app.login.connecting\",\n\t values: {}\n\t })\n\t });\n\t}), _defineProperty(_createReducer, _actions.LOGIN_USER_SUCCESS, function (state, payload) {\n\t return new _auth.stateRecord({\n\t \"isAuthenticated\": true,\n\t \"token\": new _auth.tokenRecord(payload.token),\n\t \"username\": payload.username,\n\t \"endpoint\": payload.endpoint,\n\t \"rememberMe\": payload.rememberMe,\n\t \"info\": new _i18n.i18nRecord({\n\t id: \"app.login.success\",\n\t values: { username: payload.username }\n\t }),\n\t \"timerID\": payload.timerID\n\t });\n\t}), _defineProperty(_createReducer, _actions.LOGIN_USER_FAILURE, function (state, payload) {\n\t return new _auth.stateRecord({\n\t \"error\": payload.error\n\t });\n\t}), _defineProperty(_createReducer, _actions.LOGIN_USER_EXPIRED, function (state, payload) {\n\t return new _auth.stateRecord({\n\t \"isAuthenticated\": false,\n\t \"error\": payload.error\n\t });\n\t}), _defineProperty(_createReducer, _actions.LOGOUT_USER, function () {\n\t return new _auth.stateRecord({\n\t info: new _i18n.i18nRecord({\n\t id: \"app.login.byebye\",\n\t values: {}\n\t })\n\t });\n\t}), _createReducer));\n\n/***/ },\n/* 368 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createReducer;\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _entities = __webpack_require__(364);\n\t\n\tvar _actions = __webpack_require__(26);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } /**\n\t * This implements the global entities reducer.\n\t */\n\t\n\t// NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Models\n\t\n\t\n\t// Actions\n\t\n\t\n\t/**\n\t * Helper methods\n\t */\n\t\n\t/**\n\t * Update the reference counter for a given item.\n\t *\n\t * Do not do any garbage collection.\n\t *\n\t * @param state The state object to update.\n\t * @param keyPath The keyPath to update, from the refCount key.\n\t * @param incr The increment (or decrement) for the reference counter.\n\t *\n\t * @return An updated state.\n\t */\n\tfunction updateRefCount(state, keyPath, incr) {\n\t // Prepend refCounts to keyPath\n\t var refCountKeyPath = Array.concat([\"refCounts\"], keyPath);\n\t // Get updated value\n\t var newRefCount = state.getIn(refCountKeyPath) + incr;\n\t if (isNaN(newRefCount)) {\n\t // If NaN, reference does not exist, so set it to ±1\n\t newRefCount = Math.sign(incr);\n\t }\n\t // Update state\n\t return state.setIn(refCountKeyPath, newRefCount);\n\t}\n\t\n\t/**\n\t * Update the reference counter of a given entity, taking into account the\n\t * nested objects.\n\t *\n\t * Do not do any garbage collection.\n\t *\n\t * @param state The state object to update.\n\t * @param itemName The type of the entity object.\n\t * @param id The id of the entity.\n\t * @param entity The entity object, as Immutable.\n\t * @param incr The increment (or decrement) for the reference counter.\n\t *\n\t * @return An updated state.\n\t */\n\tfunction updateEntityRefCount(state, itemName, id, entity, incr) {\n\t var newState = state;\n\t var albums = null;\n\t var tracks = null;\n\t switch (itemName) {\n\t case \"artist\":\n\t // Update artist refCount\n\t newState = updateRefCount(newState, [\"artist\", id], incr);\n\t // Update nested albums refCount\n\t albums = entity.get(\"albums\");\n\t if (_immutable2.default.List.isList(albums)) {\n\t albums.forEach(function (id) {\n\t newState = updateRefCount(newState, [\"album\", id], incr);\n\t });\n\t }\n\t // Update nested tracks refCount\n\t tracks = entity.get(\"songs\");\n\t if (_immutable2.default.List.isList(tracks)) {\n\t tracks.forEach(function (id) {\n\t newState = updateRefCount(newState, [\"song\", id], incr);\n\t });\n\t }\n\t break;\n\t case \"album\":\n\t // Update album refCount\n\t newState = updateRefCount(newState, [\"album\", id], incr);\n\t // Update nested artist refCount\n\t newState = updateRefCount(newState, [\"artist\", entity.get(\"artist\")], incr);\n\t // Update nested tracks refCount\n\t tracks = entity.get(\"tracks\");\n\t if (_immutable2.default.List.isList(tracks)) {\n\t tracks.forEach(function (id) {\n\t newState = updateRefCount(newState, [\"song\", id], incr);\n\t });\n\t }\n\t break;\n\t case \"song\":\n\t // Update track refCount\n\t newState = updateRefCount(newState, [\"song\", id], incr);\n\t // Update nested artist refCount\n\t newState = updateRefCount(newState, [\"artist\", entity.get(\"artist\")], incr);\n\t // Update nested album refCount\n\t newState = updateRefCount(newState, [\"album\", entity.get(\"album\")], incr);\n\t break;\n\t default:\n\t // Just update the entity, no nested entities\n\t newState = updateRefCount(newState, [itemName, id], incr);\n\t break;\n\t }\n\t return newState;\n\t}\n\t\n\t/**\n\t *\n\t */\n\tfunction garbageCollection(state) {\n\t var newState = state;\n\t state.refCounts.forEach(function (refCounts, itemName) {\n\t refCounts.forEach(function (refCount, id) {\n\t if (refCount < 1) {\n\t // Garbage collection\n\t newState = newState.deleteIn([\"entities\", itemName, id]);\n\t newState = newState.deleteIn([\"refCounts\", itemName, id]);\n\t }\n\t });\n\t });\n\t return newState;\n\t}\n\t\n\t/**\n\t * Initial state\n\t */\n\tvar initialState = new _entities.stateRecord();\n\t\n\t/**\n\t * Reducer\n\t */\n\texports.default = (0, _utils.createReducer)(initialState, (_createReducer = {}, _defineProperty(_createReducer, _actions.API_REQUEST, function (state) {\n\t return state.set(\"isFetching\", true).set(\"error\", null);\n\t}), _defineProperty(_createReducer, _actions.API_FAILURE, function (state, payload) {\n\t return state.set(\"isFetching\", false).set(\"error\", payload.error);\n\t}), _defineProperty(_createReducer, _actions.PUSH_ENTITIES, function (state, payload) {\n\t var newState = state;\n\t\n\t // Unset error and isFetching\n\t newState = state.set(\"isFetching\", false).set(\"error\", payload.error);\n\t\n\t // Merge entities\n\t newState = newState.mergeDeepIn([\"entities\"], payload.entities);\n\t\n\t // Increment reference counter\n\t payload.refCountType.forEach(function (itemName) {\n\t var entities = payload.entities[itemName];\n\t for (var id in entities) {\n\t var entity = newState.getIn([\"entities\", itemName, id]);\n\t newState = updateEntityRefCount(newState, itemName, id, entity, 1);\n\t }\n\t });\n\t\n\t return newState;\n\t}), _defineProperty(_createReducer, _actions.INCREMENT_REFCOUNT, function (state, payload) {\n\t var newState = state;\n\t\n\t // Increment reference counter\n\t\n\t var _loop = function _loop(itemName) {\n\t var entities = payload.entities[itemName];\n\t entities.forEach(function (id) {\n\t var entity = newState.getIn([\"entities\", itemName, id]);\n\t newState = updateEntityRefCount(newState, itemName, id, entity, 1);\n\t });\n\t };\n\t\n\t for (var itemName in payload.entities) {\n\t _loop(itemName);\n\t }\n\t\n\t return newState;\n\t}), _defineProperty(_createReducer, _actions.DECREMENT_REFCOUNT, function (state, payload) {\n\t var newState = state;\n\t\n\t // Decrement reference counter\n\t\n\t var _loop2 = function _loop2(itemName) {\n\t var entities = payload.entities[itemName];\n\t entities.forEach(function (id) {\n\t var entity = newState.getIn([\"entities\", itemName, id]);\n\t newState = updateEntityRefCount(newState, itemName, id, entity, -1);\n\t });\n\t };\n\t\n\t for (var itemName in payload.entities) {\n\t _loop2(itemName);\n\t }\n\t\n\t // Perform garbage collection\n\t newState = garbageCollection(newState);\n\t\n\t return newState;\n\t}), _defineProperty(_createReducer, _actions.INVALIDATE_STORE, function () {\n\t return new _entities.stateRecord();\n\t}), _createReducer));\n\n/***/ },\n/* 369 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _reactRouterRedux = __webpack_require__(97);\n\t\n\tvar _redux = __webpack_require__(39);\n\t\n\tvar _auth = __webpack_require__(367);\n\t\n\tvar _auth2 = _interopRequireDefault(_auth);\n\t\n\tvar _entities = __webpack_require__(368);\n\t\n\tvar _entities2 = _interopRequireDefault(_entities);\n\t\n\tvar _paginated = __webpack_require__(370);\n\t\n\tvar _paginated2 = _interopRequireDefault(_paginated);\n\t\n\tvar _webplayer = __webpack_require__(371);\n\t\n\tvar _webplayer2 = _interopRequireDefault(_webplayer);\n\t\n\tvar _actions = __webpack_require__(26);\n\t\n\tvar ActionTypes = _interopRequireWildcard(_actions);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t// Build paginated reducer\n\tvar paginated = (0, _paginated2.default)([ActionTypes.API_REQUEST, ActionTypes.API_SUCCESS, ActionTypes.API_FAILURE]);\n\t\n\t// Export the combined reducers\n\t\n\t\n\t// Actions\n\t\n\t\n\t// Import all the available reducers\n\t/**\n\t *\n\t */\n\t\n\t// NPM imports\n\texports.default = (0, _redux.combineReducers)({\n\t routing: _reactRouterRedux.routerReducer,\n\t auth: _auth2.default,\n\t entities: _entities2.default,\n\t paginated: paginated,\n\t webplayer: _webplayer2.default\n\t});\n\n/***/ },\n/* 370 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i[\"return\"]) _i[\"return\"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError(\"Invalid attempt to destructure non-iterable instance\"); } }; }(); /**\n\t * This implements a wrapper to create reducers for paginated content.\n\t */\n\t\n\t// NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Models\n\t\n\t\n\t// Actions\n\t\n\t\n\texports.default = paginated;\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _paginated = __webpack_require__(365);\n\t\n\tvar _actions = __webpack_require__(26);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\t\n\t/** Initial state of the reducer */\n\tvar initialState = new _paginated.stateRecord();\n\t\n\t/**\n\t * Creates a reducer managing pagination, given the action types to handle.\n\t */\n\tfunction paginated(types) {\n\t var _createReducer;\n\t\n\t // Check parameters\n\t if (!Array.isArray(types) || types.length !== 3) {\n\t throw new Error(\"Expected types to be an array of three elements.\");\n\t }\n\t if (!types.every(function (t) {\n\t return typeof t === \"string\";\n\t })) {\n\t throw new Error(\"Expected types to be strings.\");\n\t }\n\t\n\t var _types = _slicedToArray(types, 3);\n\t\n\t var requestType = _types[0];\n\t var successType = _types[1];\n\t var failureType = _types[2];\n\t\n\t // Create reducer\n\t\n\t return (0, _utils.createReducer)(initialState, (_createReducer = {}, _defineProperty(_createReducer, requestType, function (state) {\n\t return state;\n\t }), _defineProperty(_createReducer, successType, function (state, payload) {\n\t return state.set(\"type\", payload.type).set(\"result\", _immutable2.default.fromJS(payload.result)).set(\"nPages\", payload.nPages).set(\"currentPage\", payload.currentPage);\n\t }), _defineProperty(_createReducer, failureType, function (state) {\n\t return state;\n\t }), _defineProperty(_createReducer, _actions.CLEAR_PAGINATED_RESULTS, function (state) {\n\t return state.set(\"result\", new _immutable2.default.List());\n\t }), _defineProperty(_createReducer, _actions.INVALIDATE_STORE, function () {\n\t // Reset state on invalidation\n\t return new _paginated.stateRecord();\n\t }), _createReducer));\n\t}\n\n/***/ },\n/* 371 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _createReducer;\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _webplayer = __webpack_require__(366);\n\t\n\tvar _actions = __webpack_require__(26);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } /**\n\t * This implements the webplayer reducers.\n\t */\n\t\n\t// NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Models\n\t\n\t\n\t// Actions\n\t\n\t\n\t/**\n\t * Initial state\n\t */\n\t\n\tvar initialState = new _webplayer.stateRecord();\n\t\n\t/**\n\t * Reducers\n\t */\n\t\n\texports.default = (0, _utils.createReducer)(initialState, (_createReducer = {}, _defineProperty(_createReducer, _actions.PLAY_PAUSE, function (state, payload) {\n\t // Force play or pause\n\t return state.set(\"isPlaying\", payload.isPlaying).set(\"error\", null);\n\t}), _defineProperty(_createReducer, _actions.STOP_PLAYBACK, function (state) {\n\t // Clear the playlist\n\t return state.set(\"isPlaying\", false).set(\"currentIndex\", 0).set(\"playlist\", new _immutable2.default.List()).set(\"error\", null);\n\t}), _defineProperty(_createReducer, _actions.SET_PLAYLIST, function (state, payload) {\n\t // Set current playlist, reset playlist index\n\t return state.set(\"playlist\", new _immutable2.default.List(payload.playlist)).set(\"currentIndex\", 0).set(\"error\", null);\n\t}), _defineProperty(_createReducer, _actions.PUSH_SONG, function (state, payload) {\n\t // Push song to playlist\n\t var newState = state;\n\t if (payload.index) {\n\t // If index is specified, insert it at this position\n\t newState = newState.set(\"playlist\", newState.get(\"playlist\").insert(payload.index, payload.song));\n\t if (payload.index <= newState.get(\"currentIndex\")) {\n\t // \"<=\" because insertion is made before\n\t // If we insert before the current position in the playlist, we\n\t // update the current position to keep the currently played\n\t // music\n\t newState = newState.set(\"currentIndex\", Math.min(newState.get(\"currentIndex\") + 1, newState.get(\"playlist\").size));\n\t }\n\t } else {\n\t // Else, push at the end of the playlist\n\t newState = newState.set(\"playlist\", newState.get(\"playlist\").push(payload.song));\n\t }\n\t return newState;\n\t}), _defineProperty(_createReducer, _actions.POP_SONG, function (state, payload) {\n\t // Pop song from playlist\n\t var newState = state.deleteIn([\"playlist\", payload.index]);\n\t if (payload.index < state.get(\"currentIndex\")) {\n\t // If we delete before the current position in the playlist, we\n\t // update the current position to keep the currently played\n\t // music\n\t newState = newState.set(\"currentIndex\", Math.max(newState.get(\"currentIndex\") - 1, 0));\n\t } else if (payload.index == state.get(\"currentIndex\")) {\n\t // If we remove current song, clear the error as well\n\t newState = newState.set(\"error\", null);\n\t }\n\t return newState;\n\t}), _defineProperty(_createReducer, _actions.JUMP_TO_SONG, function (state, payload) {\n\t // Set current index\n\t var newCurrentIndex = state.get(\"playlist\").findKey(function (x) {\n\t return x == payload.song;\n\t });\n\t return state.set(\"currentIndex\", newCurrentIndex);\n\t}), _defineProperty(_createReducer, _actions.PLAY_PREVIOUS_SONG, function (state) {\n\t var newIndex = state.get(\"currentIndex\") - 1;\n\t if (newIndex < 0) {\n\t // If there is an overlow on the left of the playlist, just play\n\t // first music again\n\t // TODO: Should seek to beginning of music\n\t return state.set(\"error\", null);\n\t } else {\n\t return state.set(\"currentIndex\", newIndex).set(\"error\", null);\n\t }\n\t}), _defineProperty(_createReducer, _actions.PLAY_NEXT_SONG, function (state) {\n\t var newIndex = state.get(\"currentIndex\") + 1;\n\t if (newIndex >= state.get(\"playlist\").size) {\n\t // If there is an overflow\n\t if (state.get(\"isRepeat\")) {\n\t // If we are at the end of the playlist and repeat mode is on,\n\t // just play back first song.\n\t newIndex = 0;\n\t } else {\n\t // Just stop playback\n\t return state.set(\"isPlaying\", false).set(\"error\", null);\n\t }\n\t } else {\n\t // Else, play next item\n\t return state.set(\"currentIndex\", newIndex).set(\"error\", null);\n\t }\n\t}), _defineProperty(_createReducer, _actions.TOGGLE_RANDOM, function (state) {\n\t return state.set(\"isRandom\", !state.get(\"isRandom\"));\n\t}), _defineProperty(_createReducer, _actions.TOGGLE_REPEAT, function (state) {\n\t return state.set(\"isRepeat\", !state.get(\"isRepeat\"));\n\t}), _defineProperty(_createReducer, _actions.TOGGLE_MUTE, function (state) {\n\t return state.set(\"isMute\", !state.get(\"isMute\"));\n\t}), _defineProperty(_createReducer, _actions.SET_VOLUME, function (state, payload) {\n\t return state.set(\"volume\", payload.volume);\n\t}), _defineProperty(_createReducer, _actions.SET_ERROR, function (state, payload) {\n\t return state.set(\"isPlaying\", false).set(\"error\", payload.error);\n\t}), _defineProperty(_createReducer, _actions.INVALIDATE_STORE, function () {\n\t return new _webplayer.stateRecord();\n\t}), _createReducer));\n\n/***/ },\n/* 372 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactRouter = __webpack_require__(54);\n\t\n\tvar _RequireAuthentication = __webpack_require__(349);\n\t\n\tvar _RequireAuthentication2 = _interopRequireDefault(_RequireAuthentication);\n\t\n\tvar _App = __webpack_require__(348);\n\t\n\tvar _App2 = _interopRequireDefault(_App);\n\t\n\tvar _Simple = __webpack_require__(347);\n\t\n\tvar _Simple2 = _interopRequireDefault(_Simple);\n\t\n\tvar _Sidebar = __webpack_require__(346);\n\t\n\tvar _Sidebar2 = _interopRequireDefault(_Sidebar);\n\t\n\tvar _ArtistPage = __webpack_require__(383);\n\t\n\tvar _ArtistPage2 = _interopRequireDefault(_ArtistPage);\n\t\n\tvar _ArtistsPage = __webpack_require__(142);\n\t\n\tvar _ArtistsPage2 = _interopRequireDefault(_ArtistsPage);\n\t\n\tvar _AlbumsPage = __webpack_require__(382);\n\t\n\tvar _AlbumsPage2 = _interopRequireDefault(_AlbumsPage);\n\t\n\tvar _BrowsePage = __webpack_require__(384);\n\t\n\tvar _BrowsePage2 = _interopRequireDefault(_BrowsePage);\n\t\n\tvar _DiscoverPage = __webpack_require__(385);\n\t\n\tvar _DiscoverPage2 = _interopRequireDefault(_DiscoverPage);\n\t\n\tvar _HomePage = __webpack_require__(386);\n\t\n\tvar _HomePage2 = _interopRequireDefault(_HomePage);\n\t\n\tvar _LoginPage = __webpack_require__(387);\n\t\n\tvar _LoginPage2 = _interopRequireDefault(_LoginPage);\n\t\n\tvar _LogoutPage = __webpack_require__(388);\n\t\n\tvar _LogoutPage2 = _interopRequireDefault(_LogoutPage);\n\t\n\tvar _PlaylistPage = __webpack_require__(389);\n\t\n\tvar _PlaylistPage2 = _interopRequireDefault(_PlaylistPage);\n\t\n\tvar _SongsPage = __webpack_require__(391);\n\t\n\tvar _SongsPage2 = _interopRequireDefault(_SongsPage);\n\t\n\tvar _SettingsPage = __webpack_require__(390);\n\t\n\tvar _SettingsPage2 = _interopRequireDefault(_SettingsPage);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\texports.default = _react2.default.createElement(\n\t _reactRouter.Route,\n\t { path: \"/\", component: _App2.default },\n\t \" // Main container is App\",\n\t _react2.default.createElement(\n\t _reactRouter.Route,\n\t { path: \"login\", component: _Simple2.default },\n\t \" // Login is a SimpleLayout\",\n\t _react2.default.createElement(_reactRouter.IndexRoute, { component: _LoginPage2.default })\n\t ),\n\t _react2.default.createElement(\n\t _reactRouter.Route,\n\t { component: _Sidebar2.default },\n\t \" // All the rest is a SidebarLayout\",\n\t _react2.default.createElement(_reactRouter.Route, { path: \"logout\", component: _LogoutPage2.default }),\n\t _react2.default.createElement(\n\t _reactRouter.Route,\n\t { component: _RequireAuthentication2.default },\n\t \" // And some pages require authentication\",\n\t _react2.default.createElement(_reactRouter.Route, { path: \"discover\", component: _DiscoverPage2.default }),\n\t _react2.default.createElement(_reactRouter.Route, { path: \"browse\", component: _BrowsePage2.default }),\n\t _react2.default.createElement(_reactRouter.Route, { path: \"artists\", component: _ArtistsPage2.default }),\n\t _react2.default.createElement(_reactRouter.Route, { path: \"artist/:artist\", component: _ArtistPage2.default }),\n\t _react2.default.createElement(_reactRouter.Route, { path: \"albums\", component: _AlbumsPage2.default }),\n\t _react2.default.createElement(_reactRouter.Route, { path: \"artist/:artist/album/:album\", component: _ArtistPage2.default }),\n\t _react2.default.createElement(_reactRouter.Route, { path: \"songs\", component: _SongsPage2.default }),\n\t _react2.default.createElement(_reactRouter.Route, { path: \"playlist\", component: _PlaylistPage2.default }),\n\t _react2.default.createElement(_reactRouter.Route, { path: \"settings\", component: _SettingsPage2.default }),\n\t _react2.default.createElement(_reactRouter.IndexRoute, { component: _HomePage2.default })\n\t )\n\t )\n\t); /**\n\t * Routes for the React app.\n\t */\n\n/***/ },\n/* 373 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * Store configuration\n\t */\n\tif (true) {\n\t module.exports = __webpack_require__(374);\n\t} else {\n\t module.exports = require(\"./configureStore.development.js\");\n\t}\n\n/***/ },\n/* 374 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.default = configureStore;\n\t\n\tvar _redux = __webpack_require__(39);\n\t\n\tvar _reactRouter = __webpack_require__(54);\n\t\n\tvar _reactRouterRedux = __webpack_require__(97);\n\t\n\tvar _reduxThunk = __webpack_require__(864);\n\t\n\tvar _reduxThunk2 = _interopRequireDefault(_reduxThunk);\n\t\n\tvar _reducers = __webpack_require__(369);\n\t\n\tvar _reducers2 = _interopRequireDefault(_reducers);\n\t\n\tvar _api = __webpack_require__(141);\n\t\n\tvar _api2 = _interopRequireDefault(_api);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t// Use history\n\tvar historyMiddleware = (0, _reactRouterRedux.routerMiddleware)(_reactRouter.hashHistory);\n\t\n\tfunction configureStore(preloadedState) {\n\t return (0, _redux.createStore)(_reducers2.default, preloadedState, (0, _redux.applyMiddleware)(_reduxThunk2.default, _api2.default, historyMiddleware));\n\t}\n\n/***/ },\n/* 375 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.buildHMAC = buildHMAC;\n\t\n\tvar _jssha = __webpack_require__(664);\n\t\n\tvar _jssha2 = _interopRequireDefault(_jssha);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\t/**\n\t * Build an HMAC token for authentication against Ampache API.\n\t *\n\t * @param password User password to derive HMAC from.\n\t * @return An object with the generated HMAC and time used.\n\t *\n\t * @remark This builds an HMAC as expected by Ampache API, which is not a\n\t * standard HMAC.\n\t */\n\tfunction buildHMAC(password) {\n\t var time = Math.floor(Date.now() / 1000);\n\t\n\t var shaObj = new _jssha2.default(\"SHA-256\", \"TEXT\");\n\t shaObj.update(password);\n\t var key = shaObj.getHash(\"HEX\");\n\t\n\t shaObj = new _jssha2.default(\"SHA-256\", \"TEXT\");\n\t shaObj.update(time + key);\n\t\n\t return {\n\t time: time,\n\t passphrase: shaObj.getHash(\"HEX\")\n\t };\n\t} /**\n\t * Collection of helper function that are Ampache specific.\n\t */\n\t\n\t// NPM imports\n\n/***/ },\n/* 376 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.immutableDiff = immutableDiff;\n\t/**\n\t * Collection of helper function to act on Immutable objects.\n\t */\n\t\n\t/**\n\t * Diff two immutables objects supporting the filter method.\n\t *\n\t * @param a First Immutable object.\n\t * @param b Second Immutable object.\n\t * @returns An Immutable object equal to a except for the items in b.\n\t */\n\tfunction immutableDiff(a, b) {\n\t return a.filter(function (i) {\n\t return b.indexOf(i) < 0;\n\t });\n\t}\n\n/***/ },\n/* 377 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.getBrowserLocales = getBrowserLocales;\n\texports.messagesMap = messagesMap;\n\texports.handleErrorI18nObject = handleErrorI18nObject;\n\t\n\tvar _i18n = __webpack_require__(80);\n\t\n\t/**\n\t * Get the preferred locales from the browser, as an array sorted by preferences.\n\t */\n\tfunction getBrowserLocales() {\n\t var langs = [];\n\t\n\t if (navigator.languages) {\n\t // Chrome does not currently set navigator.language correctly\n\t // https://code.google.com/p/chromium/issues/detail?id=101138\n\t // but it does set the first element of navigator.languages correctly\n\t langs = navigator.languages;\n\t } else if (navigator.userLanguage) {\n\t // IE only\n\t langs = [navigator.userLanguage];\n\t } else {\n\t // as of this writing the latest version of firefox + safari set this correctly\n\t langs = [navigator.language];\n\t }\n\t\n\t // Some browsers does not return uppercase for second part\n\t var locales = langs.map(function (lang) {\n\t var locale = lang.split(\"-\");\n\t return locale[1] ? locale[0] + \"-\" + locale[1].toUpperCase() : lang;\n\t });\n\t\n\t return locales;\n\t}\n\t\n\t/**\n\t * Convert an array of messagesDescriptors to a map.\n\t */\n\t/**\n\t * Collection of helper functions to deal with localization.\n\t */\n\tfunction messagesMap(messagesDescriptorsArray) {\n\t var messagesDescriptorsMap = {};\n\t\n\t messagesDescriptorsArray.forEach(function (item) {\n\t messagesDescriptorsMap[item.id] = item;\n\t });\n\t\n\t return messagesDescriptorsMap;\n\t}\n\t\n\t/**\n\t * Format an error message from the state.\n\t *\n\t * Error message can be either an i18nRecord, which is to be formatted, or a\n\t * raw string. This function performs the check and returns the correctly\n\t * formatted string.\n\t *\n\t * @param errorMessage The error message from the state, either plain\n\t * string or i18nRecord.\n\t * @param formatMessage react-i18n formatMessage.\n\t * @param messages List of messages to use for formatting.\n\t *\n\t * @return A string for the error.\n\t */\n\tfunction handleErrorI18nObject(errorMessage, formatMessage, messages) {\n\t if (errorMessage instanceof _i18n.i18nRecord) {\n\t // If it is an object, format it and return it\n\t return formatMessage(messages[errorMessage.id], errorMessage.values);\n\t }\n\t // Else, it's a string, just return it\n\t return errorMessage;\n\t}\n\n/***/ },\n/* 378 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.filterInt = filterInt;\n\texports.formatLength = formatLength;\n\t/**\n\t * Miscellaneous helper functions.\n\t */\n\t\n\t/**\n\t * Strict int checking function.\n\t *\n\t * @param value The value to check for int.\n\t * @return Either NaN if the string was not a valid int representation, or the\n\t * int.\n\t */\n\tfunction filterInt(value) {\n\t if (/^(\\-|\\+)?([0-9]+|Infinity)$/.test(value)) {\n\t return Number(value);\n\t }\n\t return NaN;\n\t}\n\t\n\t/**\n\t * Helper to format song length.\n\t *\n\t * @param time Length of the song in seconds.\n\t * @return Formatted length as MM:SS.\n\t */\n\tfunction formatLength(time) {\n\t var min = Math.floor(time / 60);\n\t var sec = time - 60 * min;\n\t if (sec < 10) {\n\t sec = \"0\" + sec;\n\t }\n\t return min + \":\" + sec;\n\t}\n\n/***/ },\n/* 379 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.buildPaginationObject = buildPaginationObject;\n\texports.computePaginationBounds = computePaginationBounds;\n\t/**\n\t * Collection of helper functions to deal with pagination.\n\t */\n\t\n\t/**\n\t * Helper function to build a pagination object to pass down the component tree.\n\t *\n\t * @param location react-router location props.\n\t * @param currentPage Number of the current page.\n\t * @param nPages Total number of pages.\n\t * @param goToPageAction Action to dispatch to go to a specific page.\n\t *\n\t * @return An object containing all the props for the Pagination component.\n\t */\n\tfunction buildPaginationObject(location, currentPage, nPages, goToPageAction) {\n\t var buildLinkToPage = function buildLinkToPage(pageNumber) {\n\t return {\n\t pathname: location.pathname,\n\t query: Object.assign({}, location.query, { page: pageNumber })\n\t };\n\t };\n\t return {\n\t currentPage: currentPage,\n\t nPages: nPages,\n\t goToPage: function goToPage(pageNumber) {\n\t return goToPageAction(buildLinkToPage(pageNumber));\n\t },\n\t buildLinkToPage: buildLinkToPage\n\t };\n\t}\n\t\n\t/**\n\t * Helper function to compute the buttons to display.\n\t *\n\t * Taken from http://stackoverflow.com/a/8608998/2626416\n\t *\n\t * @param currentPage Number of the current page.\n\t * @param nPages Total number of pages.\n\t * @param maxNumberPagesShown Maximum number of pages button to show.\n\t *\n\t * @return An object containing lower limit and upper limit bounds.\n\t */\n\tfunction computePaginationBounds(currentPage, nPages) {\n\t var maxNumberPagesShown = arguments.length <= 2 || arguments[2] === undefined ? 5 : arguments[2];\n\t\n\t var lowerLimit = currentPage;\n\t var upperLimit = currentPage;\n\t\n\t for (var b = 1; b < maxNumberPagesShown && b < nPages;) {\n\t if (lowerLimit > 1) {\n\t lowerLimit--;\n\t b++;\n\t }\n\t if (b < maxNumberPagesShown && upperLimit < nPages) {\n\t upperLimit++;\n\t b++;\n\t }\n\t }\n\t\n\t return {\n\t lowerLimit: lowerLimit,\n\t upperLimit: upperLimit + 1 };\n\t}\n\n/***/ },\n/* 380 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.createReducer = createReducer;\n\t/**\n\t * Collection of helper functions to deal with reducers.\n\t */\n\t\n\t/**\n\t * Utility function to create a reducer.\n\t *\n\t * @param initialState Initial state of the reducer.\n\t * @param reducerMap Map between action types and reducing functions.\n\t *\n\t * @return A reducer.\n\t */\n\tfunction createReducer(initialState, reducerMap) {\n\t return function () {\n\t var state = arguments.length <= 0 || arguments[0] === undefined ? initialState : arguments[0];\n\t var action = arguments[1];\n\t\n\t var reducer = reducerMap[action.type];\n\t\n\t return reducer ? reducer(state, action.payload) : state;\n\t };\n\t}\n\n/***/ },\n/* 381 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.assembleURLAndParams = assembleURLAndParams;\n\texports.cleanURL = cleanURL;\n\t/**\n\t * Collection of helper functions to deal with URLs.\n\t */\n\t\n\t/**\n\t * Assemble a base URL and its GET parameters.\n\t *\n\t * @param endpoint Base URL.\n\t * @param params An object of GET params and their values.\n\t *\n\t * @return A string with the full URL with GET params.\n\t */\n\tfunction assembleURLAndParams(endpoint, params) {\n\t var url = endpoint + \"?\";\n\t Object.keys(params).forEach(function (key) {\n\t if (Array.isArray(params[key])) {\n\t params[key].forEach(function (value) {\n\t return url += key + \"[]=\" + value + \"&\";\n\t });\n\t } else {\n\t url += key + \"=\" + params[key] + \"&\";\n\t }\n\t });\n\t return url.rstrip(\"&\");\n\t}\n\t\n\t/**\n\t * Clean an endpoint URL.\n\t *\n\t * Adds the protocol prefix if not specified, remove trailing slash\n\t *\n\t * @param An URL\n\t * @return The cleaned URL\n\t */\n\tfunction cleanURL(endpoint) {\n\t if (!endpoint.startsWith(\"//\") && !endpoint.startsWith(\"http://\") && !endpoint.startsWith(\"https://\")) {\n\t // Handle endpoints of the form \"ampache.example.com\"\n\t // Append same protocol as currently in use, to avoid mixed content.\n\t endpoint = window.location.protocol + \"//\" + endpoint;\n\t }\n\t\n\t // Remove trailing slash\n\t endpoint = endpoint.replace(/\\/$/, \"\");\n\t\n\t return endpoint;\n\t}\n\n/***/ },\n/* 382 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _redux = __webpack_require__(39);\n\t\n\tvar _reactRedux = __webpack_require__(47);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _actions = __webpack_require__(26);\n\t\n\tvar actionCreators = _interopRequireWildcard(_actions);\n\t\n\tvar _Albums = __webpack_require__(338);\n\t\n\tvar _Albums2 = _interopRequireDefault(_Albums);\n\t\n\tvar _api = __webpack_require__(91);\n\t\n\tvar _api2 = _interopRequireDefault(_api);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Actions\n\t\n\t\n\t// Components\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Define translations\n\tvar albumsMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _api2.default)));\n\t\n\t/**\n\t * Albums page, grid layout of albums arts.\n\t */\n\t\n\tvar AlbumsPageIntl = function (_Component) {\n\t _inherits(AlbumsPageIntl, _Component);\n\t\n\t function AlbumsPageIntl() {\n\t _classCallCheck(this, AlbumsPageIntl);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(AlbumsPageIntl).apply(this, arguments));\n\t }\n\t\n\t _createClass(AlbumsPageIntl, [{\n\t key: \"componentWillMount\",\n\t value: function componentWillMount() {\n\t // Load the data for current page\n\t var currentPage = parseInt(this.props.location.query.page) || 1;\n\t this.props.actions.loadPaginatedAlbums({ pageNumber: currentPage });\n\t }\n\t }, {\n\t key: \"componentWillReceiveProps\",\n\t value: function componentWillReceiveProps(nextProps) {\n\t // Load the data if page has changed\n\t var currentPage = parseInt(this.props.location.query.page) || 1;\n\t var nextPage = parseInt(nextProps.location.query.page) || 1;\n\t if (currentPage != nextPage) {\n\t // Unload data on page change\n\t this.props.actions.clearPaginatedResults();\n\t // Load new data\n\t this.props.actions.loadPaginatedAlbums({ pageNumber: nextPage });\n\t }\n\t }\n\t }, {\n\t key: \"componentWillUnmount\",\n\t value: function componentWillUnmount() {\n\t // Unload data on page change\n\t this.props.actions.clearPaginatedResults();\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t\n\t var pagination = (0, _utils.buildPaginationObject)(this.props.location, this.props.currentPage, this.props.nPages, this.props.actions.goToPage);\n\t\n\t var error = (0, _utils.handleErrorI18nObject)(this.props.error, formatMessage, albumsMessages);\n\t\n\t return _react2.default.createElement(_Albums2.default, { isFetching: this.props.isFetching, error: error, albums: this.props.albumsList, artists: this.props.artistsList, pagination: pagination });\n\t }\n\t }]);\n\t\n\t return AlbumsPageIntl;\n\t}(_react.Component);\n\t\n\tAlbumsPageIntl.propTypes = {\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\t\n\tvar mapStateToProps = function mapStateToProps(state) {\n\t var albumsList = new _immutable2.default.List();\n\t var artistsList = new _immutable2.default.Map();\n\t if (state.paginated.type == \"album\" && state.paginated.result.size > 0) {\n\t albumsList = state.paginated.result.map(function (id) {\n\t return state.entities.getIn([\"entities\", \"album\", id]);\n\t });\n\t albumsList.forEach(function (album) {\n\t if (album) {\n\t var albumArtist = album.get(\"artist\");\n\t artistsList = artistsList.set(albumArtist, state.entities.getIn([\"entities\", \"artist\", albumArtist]));\n\t }\n\t });\n\t }\n\t return {\n\t isFetching: state.entities.isFetching,\n\t error: state.entities.error,\n\t albumsList: albumsList,\n\t artistsList: artistsList,\n\t currentPage: state.paginated.currentPage,\n\t nPages: state.paginated.nPages\n\t };\n\t};\n\t\n\tvar mapDispatchToProps = function mapDispatchToProps(dispatch) {\n\t return {\n\t actions: (0, _redux.bindActionCreators)(actionCreators, dispatch)\n\t };\n\t};\n\t\n\texports.default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)((0, _reactIntl.injectIntl)(AlbumsPageIntl));\n\n/***/ },\n/* 383 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _redux = __webpack_require__(39);\n\t\n\tvar _reactRedux = __webpack_require__(47);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _actions = __webpack_require__(26);\n\t\n\tvar actionCreators = _interopRequireWildcard(_actions);\n\t\n\tvar _Artist = __webpack_require__(339);\n\t\n\tvar _Artist2 = _interopRequireDefault(_Artist);\n\t\n\tvar _api = __webpack_require__(91);\n\t\n\tvar _api2 = _interopRequireDefault(_api);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Actions\n\t\n\t\n\t// Components\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Define translations\n\tvar artistMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _api2.default)));\n\t\n\t/**\n\t * Single artist page.\n\t */\n\t\n\tvar ArtistPageIntl = function (_Component) {\n\t _inherits(ArtistPageIntl, _Component);\n\t\n\t function ArtistPageIntl() {\n\t _classCallCheck(this, ArtistPageIntl);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(ArtistPageIntl).apply(this, arguments));\n\t }\n\t\n\t _createClass(ArtistPageIntl, [{\n\t key: \"componentWillMount\",\n\t value: function componentWillMount() {\n\t var id = (0, _utils.filterInt)(this.props.params.artist.split(\"-\")[0]);\n\t if (isNaN(id)) {\n\t // Redirect to homepage\n\t this.context.router.replace({\n\t pathname: \"/\"\n\t });\n\t }\n\t // Load the data\n\t this.props.actions.loadArtist({\n\t filter: id,\n\t include: [\"albums\", \"songs\"]\n\t });\n\t }\n\t }, {\n\t key: \"componentWillUnmount\",\n\t value: function componentWillUnmount() {\n\t this.props.actions.decrementRefCount({\n\t \"artist\": [this.props.artist.get(\"id\")]\n\t });\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t\n\t var error = (0, _utils.handleErrorI18nObject)(this.props.error, formatMessage, artistMessages);\n\t\n\t return _react2.default.createElement(_Artist2.default, { playAction: this.props.actions.playSong, playNextAction: this.props.actions.pushSong, isFetching: this.props.isFetching, error: error, artist: this.props.artist, albums: this.props.albums, songs: this.props.songs, scrollToAlbum: parseInt(this.props.params.album) });\n\t }\n\t }]);\n\t\n\t return ArtistPageIntl;\n\t}(_react.Component);\n\t\n\tArtistPageIntl.propTypes = {\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\tArtistPageIntl.contextTypes = {\n\t router: _react.PropTypes.object.isRequired\n\t};\n\t\n\tvar mapStateToProps = function mapStateToProps(state, ownProps) {\n\t var id = ownProps.params.artist.split(\"-\")[0];\n\t // Get artist\n\t var artist = state.entities.getIn([\"entities\", \"artist\", id]);\n\t var albums = new _immutable2.default.List();\n\t var songs = new _immutable2.default.Map();\n\t if (artist) {\n\t (function () {\n\t // Get albums\n\t var artistAlbums = artist.get(\"albums\");\n\t if (_immutable2.default.List.isList(artistAlbums)) {\n\t albums = artistAlbums.map(function (id) {\n\t return state.entities.getIn([\"entities\", \"album\", id]);\n\t });\n\t }\n\t // Get songs\n\t var artistSongs = artist.get(\"songs\");\n\t if (_immutable2.default.List.isList(artistSongs)) {\n\t songs = state.entities.getIn([\"entities\", \"song\"]).filter(function (song) {\n\t return artistSongs.includes(song.get(\"id\"));\n\t });\n\t }\n\t })();\n\t } else {\n\t artist = new _immutable2.default.Map();\n\t }\n\t return {\n\t isFetching: state.entities.isFetching,\n\t error: state.entities.error,\n\t artist: artist,\n\t albums: albums,\n\t songs: songs\n\t };\n\t};\n\t\n\tvar mapDispatchToProps = function mapDispatchToProps(dispatch) {\n\t return {\n\t actions: (0, _redux.bindActionCreators)(actionCreators, dispatch)\n\t };\n\t};\n\t\n\texports.default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)((0, _reactIntl.injectIntl)(ArtistPageIntl));\n\n/***/ },\n/* 384 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _ArtistsPage = __webpack_require__(142);\n\t\n\tvar _ArtistsPage2 = _interopRequireDefault(_ArtistsPage);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Other views\n\t\n\t\n\t/**\n\t * Browse page is an alias for artists page at the moment.\n\t */\n\tvar BrowsePage = function (_Component) {\n\t _inherits(BrowsePage, _Component);\n\t\n\t function BrowsePage() {\n\t _classCallCheck(this, BrowsePage);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(BrowsePage).apply(this, arguments));\n\t }\n\t\n\t _createClass(BrowsePage, [{\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(_ArtistsPage2.default, this.props);\n\t }\n\t }]);\n\t\n\t return BrowsePage;\n\t}(_react.Component);\n\t\n\texports.default = BrowsePage;\n\n/***/ },\n/* 385 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _Discover = __webpack_require__(341);\n\t\n\tvar _Discover2 = _interopRequireDefault(_Discover);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Components\n\t\n\t\n\t/**\n\t * Discover page\n\t */\n\tvar DiscoverPage = function (_Component) {\n\t _inherits(DiscoverPage, _Component);\n\t\n\t function DiscoverPage() {\n\t _classCallCheck(this, DiscoverPage);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(DiscoverPage).apply(this, arguments));\n\t }\n\t\n\t _createClass(DiscoverPage, [{\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(_Discover2.default, null);\n\t }\n\t }]);\n\t\n\t return DiscoverPage;\n\t}(_react.Component);\n\t\n\texports.default = DiscoverPage;\n\n/***/ },\n/* 386 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _ArtistsPage = __webpack_require__(142);\n\t\n\tvar _ArtistsPage2 = _interopRequireDefault(_ArtistsPage);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Other views\n\t\n\t\n\t/**\n\t * Homepage is an alias for Artists page at the moment.\n\t */\n\tvar HomePage = function (_Component) {\n\t _inherits(HomePage, _Component);\n\t\n\t function HomePage() {\n\t _classCallCheck(this, HomePage);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(HomePage).apply(this, arguments));\n\t }\n\t\n\t _createClass(HomePage, [{\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(_ArtistsPage2.default, this.props);\n\t }\n\t }]);\n\t\n\t return HomePage;\n\t}(_react.Component);\n\t\n\texports.default = HomePage;\n\n/***/ },\n/* 387 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.LoginPage = undefined;\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _redux = __webpack_require__(39);\n\t\n\tvar _reactRedux = __webpack_require__(47);\n\t\n\tvar _actions = __webpack_require__(26);\n\t\n\tvar actionCreators = _interopRequireWildcard(_actions);\n\t\n\tvar _Login = __webpack_require__(342);\n\t\n\tvar _Login2 = _interopRequireDefault(_Login);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Actions\n\t\n\t\n\t// Components\n\t\n\t\n\t/**\n\t * Login page\n\t */\n\tvar LoginPage = exports.LoginPage = function (_Component) {\n\t _inherits(LoginPage, _Component);\n\t\n\t function LoginPage(props) {\n\t _classCallCheck(this, LoginPage);\n\t\n\t // Bind this\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(LoginPage).call(this, props));\n\t\n\t _this.handleSubmit = _this.handleSubmit.bind(_this);\n\t _this._getRedirectTo = _this._getRedirectTo.bind(_this);\n\t return _this;\n\t }\n\t\n\t /**\n\t * Get URL to redirect to based on location props.\n\t */\n\t\n\t\n\t _createClass(LoginPage, [{\n\t key: \"_getRedirectTo\",\n\t value: function _getRedirectTo() {\n\t var redirectPathname = \"/\";\n\t var redirectQuery = {};\n\t var location = this.props.location;\n\t\n\t if (location.state && location.state.nextPathname) {\n\t redirectPathname = location.state.nextPathname;\n\t }\n\t if (location.state && location.state.nextQuery) {\n\t redirectQuery = location.state.nextQuery;\n\t }\n\t return {\n\t pathname: redirectPathname,\n\t query: redirectQuery\n\t };\n\t }\n\t }, {\n\t key: \"componentWillMount\",\n\t value: function componentWillMount() {\n\t // This checks if the user is already connected or not and redirects\n\t // them if it is the case.\n\t\n\t // Get next page to redirect to\n\t var redirectTo = this._getRedirectTo();\n\t\n\t if (this.props.isAuthenticated) {\n\t // If user is already authenticated, redirects them\n\t this.context.router.replace(redirectTo);\n\t } else if (this.props.rememberMe) {\n\t // Else if remember me is set, try to reconnect them\n\t this.props.actions.loginUser(this.props.username, this.props.token, this.props.endpoint, true, redirectTo, true);\n\t }\n\t }\n\t\n\t /**\n\t * Handle click on submit button.\n\t */\n\t\n\t }, {\n\t key: \"handleSubmit\",\n\t value: function handleSubmit(username, password, endpoint, rememberMe) {\n\t // Get page to redirect to\n\t var redirectTo = this._getRedirectTo();\n\t // Trigger login action\n\t this.props.actions.loginUser(username, password, endpoint, rememberMe, redirectTo);\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(_Login2.default, { onSubmit: this.handleSubmit, username: this.props.username, endpoint: this.props.endpoint, rememberMe: this.props.rememberMe, isAuthenticating: this.props.isAuthenticating, error: this.props.error, info: this.props.info });\n\t }\n\t }]);\n\t\n\t return LoginPage;\n\t}(_react.Component);\n\t\n\tLoginPage.contextTypes = {\n\t router: _react.PropTypes.object.isRequired\n\t};\n\t\n\tvar mapStateToProps = function mapStateToProps(state) {\n\t return {\n\t username: state.auth.username,\n\t endpoint: state.auth.endpoint,\n\t rememberMe: state.auth.rememberMe,\n\t isAuthenticating: state.auth.isAuthenticating,\n\t isAuthenticated: state.auth.isAuthenticated,\n\t token: state.auth.token,\n\t error: state.auth.error,\n\t info: state.auth.info\n\t };\n\t};\n\t\n\tvar mapDispatchToProps = function mapDispatchToProps(dispatch) {\n\t return {\n\t actions: (0, _redux.bindActionCreators)(actionCreators, dispatch)\n\t };\n\t};\n\t\n\texports.default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(LoginPage);\n\n/***/ },\n/* 388 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.LogoutPage = undefined;\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _redux = __webpack_require__(39);\n\t\n\tvar _reactRedux = __webpack_require__(47);\n\t\n\tvar _actions = __webpack_require__(26);\n\t\n\tvar actionCreators = _interopRequireWildcard(_actions);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Actions\n\t\n\t\n\t/**\n\t * Logout page\n\t */\n\tvar LogoutPage = exports.LogoutPage = function (_Component) {\n\t _inherits(LogoutPage, _Component);\n\t\n\t function LogoutPage() {\n\t _classCallCheck(this, LogoutPage);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(LogoutPage).apply(this, arguments));\n\t }\n\t\n\t _createClass(LogoutPage, [{\n\t key: \"componentWillMount\",\n\t value: function componentWillMount() {\n\t // Logout when component is mounted\n\t this.props.actions.logoutAndRedirect();\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(\"div\", null);\n\t }\n\t }]);\n\t\n\t return LogoutPage;\n\t}(_react.Component);\n\t\n\tvar mapDispatchToProps = function mapDispatchToProps(dispatch) {\n\t return {\n\t actions: (0, _redux.bindActionCreators)(actionCreators, dispatch)\n\t };\n\t};\n\t\n\texports.default = (0, _reactRedux.connect)(null, mapDispatchToProps)(LogoutPage);\n\n/***/ },\n/* 389 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _redux = __webpack_require__(39);\n\t\n\tvar _reactRedux = __webpack_require__(47);\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _actions = __webpack_require__(26);\n\t\n\tvar actionCreators = _interopRequireWildcard(_actions);\n\t\n\tvar _Playlist = __webpack_require__(343);\n\t\n\tvar _Playlist2 = _interopRequireDefault(_Playlist);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Actions\n\t\n\t\n\t// Components\n\t\n\t\n\t/**\n\t * Table of songs in the current playlist.\n\t */\n\tvar PlaylistPage = function (_Component) {\n\t _inherits(PlaylistPage, _Component);\n\t\n\t function PlaylistPage() {\n\t _classCallCheck(this, PlaylistPage);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(PlaylistPage).apply(this, arguments));\n\t }\n\t\n\t _createClass(PlaylistPage, [{\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(_Playlist2.default, { playAction: this.props.actions.jumpToSong, playNextAction: null, flushAction: this.props.actions.stopPlayback, songs: this.props.songsList, currentIndex: this.props.currentIndex });\n\t }\n\t }]);\n\t\n\t return PlaylistPage;\n\t}(_react.Component);\n\t\n\tvar mapStateToProps = function mapStateToProps(state) {\n\t var songsList = new _immutable2.default.List();\n\t if (state.webplayer.playlist.size > 0) {\n\t songsList = state.webplayer.playlist.map(function (id) {\n\t var song = state.entities.getIn([\"entities\", \"song\", id]);\n\t // Add artist and album infos to song\n\t var artist = state.entities.getIn([\"entities\", \"artist\", song.get(\"artist\")]);\n\t var album = state.entities.getIn([\"entities\", \"album\", song.get(\"album\")]);\n\t return song.set(\"artist\", new _immutable2.default.Map({ id: artist.get(\"id\"), name: artist.get(\"name\") })).set(\"album\", new _immutable2.default.Map({ id: album.get(\"id\"), name: album.get(\"name\") }));\n\t });\n\t }\n\t return {\n\t songsList: songsList,\n\t currentIndex: state.webplayer.currentIndex\n\t };\n\t};\n\tvar mapDispatchToProps = function mapDispatchToProps(dispatch) {\n\t return {\n\t actions: (0, _redux.bindActionCreators)(actionCreators, dispatch)\n\t };\n\t};\n\texports.default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)(PlaylistPage);\n\n/***/ },\n/* 390 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _Settings = __webpack_require__(344);\n\t\n\tvar _Settings2 = _interopRequireDefault(_Settings);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Components\n\t\n\t\n\t/**\n\t * Paginated table of available songs\n\t */\n\tvar SettingsPage = function (_Component) {\n\t _inherits(SettingsPage, _Component);\n\t\n\t function SettingsPage() {\n\t _classCallCheck(this, SettingsPage);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(SettingsPage).apply(this, arguments));\n\t }\n\t\n\t _createClass(SettingsPage, [{\n\t key: \"render\",\n\t value: function render() {\n\t return _react2.default.createElement(_Settings2.default, null);\n\t }\n\t }]);\n\t\n\t return SettingsPage;\n\t}(_react.Component);\n\t\n\texports.default = SettingsPage;\n\n/***/ },\n/* 391 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _redux = __webpack_require__(39);\n\t\n\tvar _reactRedux = __webpack_require__(47);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _immutable = __webpack_require__(15);\n\t\n\tvar _immutable2 = _interopRequireDefault(_immutable);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _actions = __webpack_require__(26);\n\t\n\tvar actionCreators = _interopRequireWildcard(_actions);\n\t\n\tvar _Songs = __webpack_require__(212);\n\t\n\tvar _Songs2 = _interopRequireDefault(_Songs);\n\t\n\tvar _api = __webpack_require__(91);\n\t\n\tvar _api2 = _interopRequireDefault(_api);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Actions\n\t\n\t\n\t// Components\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Define translations\n\tvar songsMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _api2.default)));\n\t\n\t/**\n\t * Paginated table of available songs\n\t */\n\t\n\tvar SongsPageIntl = function (_Component) {\n\t _inherits(SongsPageIntl, _Component);\n\t\n\t function SongsPageIntl() {\n\t _classCallCheck(this, SongsPageIntl);\n\t\n\t return _possibleConstructorReturn(this, Object.getPrototypeOf(SongsPageIntl).apply(this, arguments));\n\t }\n\t\n\t _createClass(SongsPageIntl, [{\n\t key: \"componentWillMount\",\n\t value: function componentWillMount() {\n\t // Load the data for current page\n\t var currentPage = parseInt(this.props.location.query.page) || 1;\n\t this.props.actions.loadPaginatedSongs({ pageNumber: currentPage });\n\t }\n\t }, {\n\t key: \"componentWillReceiveProps\",\n\t value: function componentWillReceiveProps(nextProps) {\n\t // Load the data if page has changed\n\t var currentPage = parseInt(this.props.location.query.page) || 1;\n\t var nextPage = parseInt(nextProps.location.query.page) || 1;\n\t if (currentPage != nextPage) {\n\t // Unload data on page change\n\t this.props.actions.clearPaginatedResults();\n\t // Load new data\n\t this.props.actions.loadPaginatedSongs({ pageNumber: nextPage });\n\t }\n\t }\n\t }, {\n\t key: \"componentWillUnmount\",\n\t value: function componentWillUnmount() {\n\t // Unload data on page change\n\t this.props.actions.clearPaginatedResults();\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t\n\t var pagination = (0, _utils.buildPaginationObject)(this.props.location, this.props.currentPage, this.props.nPages, this.props.actions.goToPage);\n\t\n\t var error = (0, _utils.handleErrorI18nObject)(this.props.error, formatMessage, songsMessages);\n\t\n\t return _react2.default.createElement(_Songs2.default, { playAction: this.props.actions.playSong, playNextAction: this.props.actions.pushSong, isFetching: this.props.isFetching, error: error, songs: this.props.songsList, pagination: pagination });\n\t }\n\t }]);\n\t\n\t return SongsPageIntl;\n\t}(_react.Component);\n\t\n\tSongsPageIntl.propTypes = {\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\t\n\tvar mapStateToProps = function mapStateToProps(state) {\n\t var songsList = new _immutable2.default.List();\n\t if (state.paginated.type == \"song\" && state.paginated.result.size > 0) {\n\t songsList = state.paginated.result.map(function (id) {\n\t var song = state.entities.getIn([\"entities\", \"song\", id]);\n\t // Add artist and album infos to song\n\t var artist = state.entities.getIn([\"entities\", \"artist\", song.get(\"artist\")]); // TODO: get on undefined\n\t var album = state.entities.getIn([\"entities\", \"album\", song.get(\"album\")]);\n\t return song.set(\"artist\", new _immutable2.default.Map({ id: artist.get(\"id\"), name: artist.get(\"name\") })).set(\"album\", new _immutable2.default.Map({ id: album.get(\"id\"), name: album.get(\"name\") }));\n\t });\n\t }\n\t return {\n\t isFetching: state.entities.isFetching,\n\t error: state.entities.error,\n\t songsList: songsList,\n\t currentPage: state.paginated.currentPage,\n\t nPages: state.paginated.nPages\n\t };\n\t};\n\t\n\tvar mapDispatchToProps = function mapDispatchToProps(dispatch) {\n\t return {\n\t actions: (0, _redux.bindActionCreators)(actionCreators, dispatch)\n\t };\n\t};\n\t\n\texports.default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)((0, _reactIntl.injectIntl)(SongsPageIntl));\n\n/***/ },\n/* 392 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\t\n\tvar _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; }; }();\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _redux = __webpack_require__(39);\n\t\n\tvar _reactRedux = __webpack_require__(47);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _howler = __webpack_require__(639);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _webplayer = __webpack_require__(211);\n\t\n\tvar _actions = __webpack_require__(26);\n\t\n\tvar actionCreators = _interopRequireWildcard(_actions);\n\t\n\tvar _WebPlayer = __webpack_require__(345);\n\t\n\tvar _WebPlayer2 = _interopRequireDefault(_WebPlayer);\n\t\n\tvar _WebPlayer3 = __webpack_require__(216);\n\t\n\tvar _WebPlayer4 = _interopRequireDefault(_WebPlayer3);\n\t\n\tfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\t\n\tfunction _possibleConstructorReturn(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; }\n\t\n\tfunction _inherits(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; } // NPM imports\n\t\n\t\n\t// Local imports\n\t\n\t\n\t// Actions\n\t\n\t\n\t// Components\n\t\n\t\n\t// Translations\n\t\n\t\n\t// Define translations\n\tvar webplayerMessages = (0, _reactIntl.defineMessages)((0, _utils.messagesMap)(Array.concat([], _WebPlayer4.default)));\n\t\n\t/**\n\t * Webplayer container.\n\t */\n\t\n\tvar WebPlayerIntl = function (_Component) {\n\t _inherits(WebPlayerIntl, _Component);\n\t\n\t function WebPlayerIntl(props) {\n\t _classCallCheck(this, WebPlayerIntl);\n\t\n\t // Data attributes\n\t var _this = _possibleConstructorReturn(this, Object.getPrototypeOf(WebPlayerIntl).call(this, props));\n\t\n\t _this.howl = null;\n\t\n\t // Bind this\n\t _this.startPlaying = _this.startPlaying.bind(_this);\n\t _this.stopPlaying = _this.stopPlaying.bind(_this);\n\t _this.isPlaying = _this.isPlaying.bind(_this);\n\t return _this;\n\t }\n\t\n\t _createClass(WebPlayerIntl, [{\n\t key: \"componentDidMount\",\n\t value: function componentDidMount() {\n\t // Start playback upon component mount\n\t this.startPlaying(this.props);\n\t }\n\t }, {\n\t key: \"componentWillUpdate\",\n\t value: function componentWillUpdate(nextProps) {\n\t // Handle stop\n\t if (\n\t // No current song in updated props\n\t !nextProps.currentSong ||\n\t // No playlist in updated props\n\t nextProps.playlist.size < 1 ||\n\t // Song played is not the song currently played\n\t this.props.currentSong && nextProps.currentSong.get(\"id\") != this.props.currentSong.get(\"id\")) {\n\t if (this.howl) {\n\t this.stopPlaying();\n\t }\n\t }\n\t\n\t // Toggle play / pause\n\t if (\n\t // This check ensure we do not start playing multiple times the\n\t // same song\n\t nextProps.isPlaying != this.props.isPlaying ||\n\t // Or we should be playing but there is no howl object playing\n\t nextProps.isPlaying && !this.isPlaying()) {\n\t this.startPlaying(nextProps);\n\t }\n\t\n\t // If something is playing back\n\t if (this.howl) {\n\t // Set mute / unmute\n\t this.howl.mute(nextProps.isMute);\n\t // Set volume\n\t this.howl.volume(nextProps.volume / 100);\n\t }\n\t }\n\t\n\t /**\n\t * Handle playback through Howler and Web Audio API.\n\t *\n\t * @params props A set of props to use for setting play parameters.\n\t */\n\t\n\t }, {\n\t key: \"startPlaying\",\n\t value: function startPlaying(props) {\n\t if (props.isPlaying && props.currentSong) {\n\t // If it should be playing any song\n\t var url = props.currentSong.get(\"url\");\n\t var format = url.split(\".\").pop();\n\t var isPlayable = _howler.Howler.codecs(format);\n\t if (isPlayable) {\n\t // Build a new Howler object with current song to play\n\t this.howl = new _howler.Howl({\n\t src: [url],\n\t html5: true, // Use HTML5 by default to allow streaming\n\t mute: props.isMute,\n\t volume: props.volume / 100, // Set current volume\n\t autoplay: false, // No autoplay, we handle it manually\n\t format: format, // Specify format as Howler is unable to fetch it from URL\n\t onloaderror: function onloaderror() {\n\t return props.actions.setError(_webplayer.ONLOAD_ERROR);\n\t }, // Display error if song cannot be loaded\n\t onend: function onend() {\n\t return props.actions.playNextSong();\n\t } });\n\t // Start playing\n\t this.howl.play();\n\t } else {\n\t // Howler already performs this check on his own, but we have\n\t // to do it ourselves to be able to display localized errors\n\t // for every possible error.\n\t // TODO: This could most likely be simplified.\n\t props.actions.setError(_webplayer.UNSUPPORTED_MEDIA_TYPE);\n\t }\n\t } else {\n\t // If it should not be playing\n\t if (this.howl) {\n\t // Pause any running music\n\t this.howl.pause();\n\t }\n\t }\n\t }\n\t\n\t /**\n\t * Stop playback through Howler and Web Audio API.\n\t */\n\t\n\t }, {\n\t key: \"stopPlaying\",\n\t value: function stopPlaying() {\n\t // Stop music playback\n\t this.howl.stop();\n\t // Reset howl object\n\t this.howl = null;\n\t }\n\t\n\t /**\n\t * Check whether some music is currently playing or not.\n\t *\n\t * @return True / False whether music is playing.\n\t */\n\t\n\t }, {\n\t key: \"isPlaying\",\n\t value: function isPlaying() {\n\t if (this.howl) {\n\t return this.howl.playing();\n\t }\n\t return false;\n\t }\n\t }, {\n\t key: \"render\",\n\t value: function render() {\n\t var _this2 = this;\n\t\n\t var formatMessage = this.props.intl.formatMessage;\n\t\n\t\n\t var webplayerProps = {\n\t isPlaying: this.props.isPlaying,\n\t isRandom: this.props.isRandom,\n\t isRepeat: this.props.isRepeat,\n\t isMute: this.props.isMute,\n\t volume: this.props.volume,\n\t currentIndex: this.props.currentIndex,\n\t playlist: this.props.playlist,\n\t error: (0, _utils.handleErrorI18nObject)(this.props.error, formatMessage, webplayerMessages),\n\t currentSong: this.props.currentSong,\n\t currentArtist: this.props.currentArtist,\n\t // Use a lambda to ensure no first argument is passed to\n\t // togglePlaying\n\t onPlayPause: function onPlayPause() {\n\t return _this2.props.actions.togglePlaying();\n\t },\n\t onPrev: this.props.actions.playPreviousSong,\n\t onSkip: this.props.actions.playNextSong,\n\t onRandom: this.props.actions.toggleRandom,\n\t onRepeat: this.props.actions.toggleRepeat,\n\t onMute: this.props.actions.toggleMute,\n\t isPlaylistViewActive: this.props.location && this.props.location.pathname == \"/playlist\" ? true : false\n\t };\n\t return this.props.playlist.size > 0 ? _react2.default.createElement(_WebPlayer2.default, webplayerProps) : _react2.default.createElement(\"div\", null);\n\t }\n\t }]);\n\t\n\t return WebPlayerIntl;\n\t}(_react.Component);\n\t\n\tWebPlayerIntl.propTypes = {\n\t location: _react.PropTypes.object,\n\t intl: _reactIntl.intlShape.isRequired\n\t};\n\tvar mapStateToProps = function mapStateToProps(state) {\n\t var currentIndex = state.webplayer.currentIndex;\n\t var playlist = state.webplayer.playlist;\n\t\n\t // Get current song and artist from entities store\n\t var currentSong = state.entities.getIn([\"entities\", \"song\", playlist.get(currentIndex)]);\n\t var currentArtist = undefined;\n\t if (currentSong) {\n\t currentArtist = state.entities.getIn([\"entities\", \"artist\", currentSong.get(\"artist\")]);\n\t }\n\t return {\n\t isPlaying: state.webplayer.isPlaying,\n\t isRandom: state.webplayer.isRandom,\n\t isRepeat: state.webplayer.isRepeat,\n\t isMute: state.webplayer.isMute,\n\t volume: state.webplayer.volume,\n\t currentIndex: currentIndex,\n\t playlist: playlist,\n\t error: state.webplayer.error,\n\t currentSong: currentSong,\n\t currentArtist: currentArtist\n\t };\n\t};\n\tvar mapDispatchToProps = function mapDispatchToProps(dispatch) {\n\t return {\n\t actions: (0, _redux.bindActionCreators)(actionCreators, dispatch)\n\t };\n\t};\n\texports.default = (0, _reactRedux.connect)(mapStateToProps, mapDispatchToProps)((0, _reactIntl.injectIntl)(WebPlayerIntl));\n\n/***/ },\n/* 393 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\tObject.defineProperty(exports, \"__esModule\", {\n\t value: true\n\t});\n\texports.rootElement = undefined;\n\texports.onWindowIntl = onWindowIntl;\n\texports.Intl = Intl;\n\t\n\tvar _react = __webpack_require__(2);\n\t\n\tvar _react2 = _interopRequireDefault(_react);\n\t\n\tvar _reactDom = __webpack_require__(285);\n\t\n\tvar _reactDom2 = _interopRequireDefault(_reactDom);\n\t\n\tvar _reactRouter = __webpack_require__(54);\n\t\n\tvar _reactRouterRedux = __webpack_require__(97);\n\t\n\tvar _reactRouterScroll = __webpack_require__(777);\n\t\n\tvar _reactRouterScroll2 = _interopRequireDefault(_reactRouterScroll);\n\t\n\tvar _configureStore = __webpack_require__(373);\n\t\n\tvar _configureStore2 = _interopRequireDefault(_configureStore);\n\t\n\tvar _reactIntl = __webpack_require__(18);\n\t\n\tvar _en = __webpack_require__(768);\n\t\n\tvar _en2 = _interopRequireDefault(_en);\n\t\n\tvar _fr = __webpack_require__(769);\n\t\n\tvar _fr2 = _interopRequireDefault(_fr);\n\t\n\tvar _utils = __webpack_require__(12);\n\t\n\tvar _locales = __webpack_require__(353);\n\t\n\tvar _locales2 = _interopRequireDefault(_locales);\n\t\n\tfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\t\n\tfunction _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } } /**\n\t * Main JS entry point for all the builds.\n\t *\n\t * Performs i18n and initial render.\n\t */\n\t// React stuff\n\t\n\t\n\t// Store\n\t\n\t\n\t// i18n stuff\n\t\n\t\n\t// Init store and history\n\tvar store = (0, _configureStore2.default)();\n\tvar history = (0, _reactRouterRedux.syncHistoryWithStore)(_reactRouter.hashHistory, store);\n\t\n\t// Get root element\n\tvar rootElement = exports.rootElement = document.getElementById(\"root\");\n\t\n\t/**\n\t * Main function to be called once window.Intl has been populated.\n\t *\n\t * Populates the locales messages and perform render.\n\t */\n\tfunction onWindowIntl() {\n\t // Add locales we support\n\t (0, _reactIntl.addLocaleData)([].concat(_toConsumableArray(_en2.default), _toConsumableArray(_fr2.default)));\n\t\n\t // Fetch current preferred locales from the browser\n\t var locales = (0, _utils.getBrowserLocales)();\n\t\n\t var locale = \"en-US\"; // Safe default\n\t // Populate strings with best matching locale\n\t var strings = {};\n\t for (var i = 0; i < locales.length; ++i) {\n\t if (_locales2.default[locales[i]]) {\n\t locale = locales[i];\n\t strings = _locales2.default[locale];\n\t break; // Break at first matching locale\n\t }\n\t }\n\t // Overload strings with default English translation, in case of missing translations\n\t strings = Object.assign(_locales2.default[\"en-US\"], strings);\n\t\n\t // Dynamically set html lang attribute\n\t document.documentElement.lang = locale;\n\t\n\t // Return a rendering function\n\t return function () {\n\t var Root = __webpack_require__(350).default;\n\t _reactDom2.default.render(_react2.default.createElement(Root, { store: store, history: history, render: (0, _reactRouter.applyRouterMiddleware)((0, _reactRouterScroll2.default)()), locale: locale, defaultLocale: \"en-US\", messages: strings }), rootElement);\n\t };\n\t};\n\t\n\t/**\n\t * Ensure window.Intl exists, or polyfill it.\n\t *\n\t * @param render Initial rendering function.\n\t */\n\tfunction Intl(render) {\n\t if (!window.Intl) {\n\t __webpack_require__.e/* nsure */(1, function (require) {\n\t __webpack_require__(327);\n\t __webpack_require__(328);\n\t __webpack_require__(329);\n\t render();\n\t });\n\t } else {\n\t render();\n\t }\n\t};\n\n/***/ },\n/* 394 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * This is the main JS entry point.\n\t * It loads either the production or the development index file, based on the\n\t * environment variables in use.\n\t */\n\tif (true) {\n\t module.exports = __webpack_require__(395);\n\t} else {\n\t module.exports = require(\"./index.development.js\");\n\t}\n\n/***/ },\n/* 395 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * This is the main JS entry point in production builds.\n\t */\n\t\n\t// Load the common index\n\tvar index = __webpack_require__(393);\n\t\n\t// Get the rendering function\n\tvar render = index.onWindowIntl();\n\t\n\t// Perform i18n and render\n\tindex.Intl(render);\n\n/***/ },\n/* 396 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {\"use strict\";\n\t\n\t__webpack_require__(593);\n\t\n\t__webpack_require__(868);\n\t\n\t__webpack_require__(412);\n\t\n\t/* eslint max-len: 0 */\n\t\n\tif (global._babelPolyfill) {\n\t throw new Error(\"only one instance of babel-polyfill is allowed\");\n\t}\n\tglobal._babelPolyfill = true;\n\t\n\t// Should be removed in the next major release:\n\t\n\tvar DEFINE_PROPERTY = \"defineProperty\";\n\tfunction define(O, key, value) {\n\t O[key] || Object[DEFINE_PROPERTY](O, key, {\n\t writable: true,\n\t configurable: true,\n\t value: value\n\t });\n\t}\n\t\n\tdefine(String.prototype, \"padLeft\", \"\".padStart);\n\tdefine(String.prototype, \"padRight\", \"\".padEnd);\n\t\n\t\"pop,reverse,shift,keys,values,entries,indexOf,every,some,forEach,map,filter,find,findIndex,includes,join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill\".split(\",\").forEach(function (key) {\n\t [][key] && define(Array, key, Function.call.bind([][key]));\n\t});\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ },\n/* 397 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__ (602);\n\t__webpack_require__ (398);\n\n\n/***/ },\n/* 398 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__ (411);\n\t__webpack_require__ (401);\n\t__webpack_require__ (402);\n\t__webpack_require__ (403);\n\t__webpack_require__ (404);\n\t__webpack_require__ (405);\n\t__webpack_require__ (406);\n\t__webpack_require__ (410);\n\t__webpack_require__ (407);\n\t__webpack_require__ (408);\n\t__webpack_require__ (409);\n\t__webpack_require__ (400);\n\n\n/***/ },\n/* 399 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(397);\n\n\n/***/ },\n/* 400 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/* ========================================================================\n\t * Bootstrap: affix.js v3.3.7\n\t * http://getbootstrap.com/javascript/#affix\n\t * ========================================================================\n\t * Copyright 2011-2016 Twitter, Inc.\n\t * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n\t * ======================================================================== */\n\t\n\t\n\t+function ($) {\n\t 'use strict';\n\t\n\t // AFFIX CLASS DEFINITION\n\t // ======================\n\t\n\t var Affix = function (element, options) {\n\t this.options = $.extend({}, Affix.DEFAULTS, options)\n\t\n\t this.$target = $(this.options.target)\n\t .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this))\n\t .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))\n\t\n\t this.$element = $(element)\n\t this.affixed = null\n\t this.unpin = null\n\t this.pinnedOffset = null\n\t\n\t this.checkPosition()\n\t }\n\t\n\t Affix.VERSION = '3.3.7'\n\t\n\t Affix.RESET = 'affix affix-top affix-bottom'\n\t\n\t Affix.DEFAULTS = {\n\t offset: 0,\n\t target: window\n\t }\n\t\n\t Affix.prototype.getState = function (scrollHeight, height, offsetTop, offsetBottom) {\n\t var scrollTop = this.$target.scrollTop()\n\t var position = this.$element.offset()\n\t var targetHeight = this.$target.height()\n\t\n\t if (offsetTop != null && this.affixed == 'top') return scrollTop < offsetTop ? 'top' : false\n\t\n\t if (this.affixed == 'bottom') {\n\t if (offsetTop != null) return (scrollTop + this.unpin <= position.top) ? false : 'bottom'\n\t return (scrollTop + targetHeight <= scrollHeight - offsetBottom) ? false : 'bottom'\n\t }\n\t\n\t var initializing = this.affixed == null\n\t var colliderTop = initializing ? scrollTop : position.top\n\t var colliderHeight = initializing ? targetHeight : height\n\t\n\t if (offsetTop != null && scrollTop <= offsetTop) return 'top'\n\t if (offsetBottom != null && (colliderTop + colliderHeight >= scrollHeight - offsetBottom)) return 'bottom'\n\t\n\t return false\n\t }\n\t\n\t Affix.prototype.getPinnedOffset = function () {\n\t if (this.pinnedOffset) return this.pinnedOffset\n\t this.$element.removeClass(Affix.RESET).addClass('affix')\n\t var scrollTop = this.$target.scrollTop()\n\t var position = this.$element.offset()\n\t return (this.pinnedOffset = position.top - scrollTop)\n\t }\n\t\n\t Affix.prototype.checkPositionWithEventLoop = function () {\n\t setTimeout($.proxy(this.checkPosition, this), 1)\n\t }\n\t\n\t Affix.prototype.checkPosition = function () {\n\t if (!this.$element.is(':visible')) return\n\t\n\t var height = this.$element.height()\n\t var offset = this.options.offset\n\t var offsetTop = offset.top\n\t var offsetBottom = offset.bottom\n\t var scrollHeight = Math.max($(document).height(), $(document.body).height())\n\t\n\t if (typeof offset != 'object') offsetBottom = offsetTop = offset\n\t if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element)\n\t if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element)\n\t\n\t var affix = this.getState(scrollHeight, height, offsetTop, offsetBottom)\n\t\n\t if (this.affixed != affix) {\n\t if (this.unpin != null) this.$element.css('top', '')\n\t\n\t var affixType = 'affix' + (affix ? '-' + affix : '')\n\t var e = $.Event(affixType + '.bs.affix')\n\t\n\t this.$element.trigger(e)\n\t\n\t if (e.isDefaultPrevented()) return\n\t\n\t this.affixed = affix\n\t this.unpin = affix == 'bottom' ? this.getPinnedOffset() : null\n\t\n\t this.$element\n\t .removeClass(Affix.RESET)\n\t .addClass(affixType)\n\t .trigger(affixType.replace('affix', 'affixed') + '.bs.affix')\n\t }\n\t\n\t if (affix == 'bottom') {\n\t this.$element.offset({\n\t top: scrollHeight - height - offsetBottom\n\t })\n\t }\n\t }\n\t\n\t\n\t // AFFIX PLUGIN DEFINITION\n\t // =======================\n\t\n\t function Plugin(option) {\n\t return this.each(function () {\n\t var $this = $(this)\n\t var data = $this.data('bs.affix')\n\t var options = typeof option == 'object' && option\n\t\n\t if (!data) $this.data('bs.affix', (data = new Affix(this, options)))\n\t if (typeof option == 'string') data[option]()\n\t })\n\t }\n\t\n\t var old = $.fn.affix\n\t\n\t $.fn.affix = Plugin\n\t $.fn.affix.Constructor = Affix\n\t\n\t\n\t // AFFIX NO CONFLICT\n\t // =================\n\t\n\t $.fn.affix.noConflict = function () {\n\t $.fn.affix = old\n\t return this\n\t }\n\t\n\t\n\t // AFFIX DATA-API\n\t // ==============\n\t\n\t $(window).on('load', function () {\n\t $('[data-spy=\"affix\"]').each(function () {\n\t var $spy = $(this)\n\t var data = $spy.data()\n\t\n\t data.offset = data.offset || {}\n\t\n\t if (data.offsetBottom != null) data.offset.bottom = data.offsetBottom\n\t if (data.offsetTop != null) data.offset.top = data.offsetTop\n\t\n\t Plugin.call($spy, data)\n\t })\n\t })\n\t\n\t}(jQuery);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 401 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/* ========================================================================\n\t * Bootstrap: alert.js v3.3.7\n\t * http://getbootstrap.com/javascript/#alerts\n\t * ========================================================================\n\t * Copyright 2011-2016 Twitter, Inc.\n\t * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n\t * ======================================================================== */\n\t\n\t\n\t+function ($) {\n\t 'use strict';\n\t\n\t // ALERT CLASS DEFINITION\n\t // ======================\n\t\n\t var dismiss = '[data-dismiss=\"alert\"]'\n\t var Alert = function (el) {\n\t $(el).on('click', dismiss, this.close)\n\t }\n\t\n\t Alert.VERSION = '3.3.7'\n\t\n\t Alert.TRANSITION_DURATION = 150\n\t\n\t Alert.prototype.close = function (e) {\n\t var $this = $(this)\n\t var selector = $this.attr('data-target')\n\t\n\t if (!selector) {\n\t selector = $this.attr('href')\n\t selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n\t }\n\t\n\t var $parent = $(selector === '#' ? [] : selector)\n\t\n\t if (e) e.preventDefault()\n\t\n\t if (!$parent.length) {\n\t $parent = $this.closest('.alert')\n\t }\n\t\n\t $parent.trigger(e = $.Event('close.bs.alert'))\n\t\n\t if (e.isDefaultPrevented()) return\n\t\n\t $parent.removeClass('in')\n\t\n\t function removeElement() {\n\t // detach from parent, fire event then clean up data\n\t $parent.detach().trigger('closed.bs.alert').remove()\n\t }\n\t\n\t $.support.transition && $parent.hasClass('fade') ?\n\t $parent\n\t .one('bsTransitionEnd', removeElement)\n\t .emulateTransitionEnd(Alert.TRANSITION_DURATION) :\n\t removeElement()\n\t }\n\t\n\t\n\t // ALERT PLUGIN DEFINITION\n\t // =======================\n\t\n\t function Plugin(option) {\n\t return this.each(function () {\n\t var $this = $(this)\n\t var data = $this.data('bs.alert')\n\t\n\t if (!data) $this.data('bs.alert', (data = new Alert(this)))\n\t if (typeof option == 'string') data[option].call($this)\n\t })\n\t }\n\t\n\t var old = $.fn.alert\n\t\n\t $.fn.alert = Plugin\n\t $.fn.alert.Constructor = Alert\n\t\n\t\n\t // ALERT NO CONFLICT\n\t // =================\n\t\n\t $.fn.alert.noConflict = function () {\n\t $.fn.alert = old\n\t return this\n\t }\n\t\n\t\n\t // ALERT DATA-API\n\t // ==============\n\t\n\t $(document).on('click.bs.alert.data-api', dismiss, Alert.prototype.close)\n\t\n\t}(jQuery);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 402 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/* ========================================================================\n\t * Bootstrap: button.js v3.3.7\n\t * http://getbootstrap.com/javascript/#buttons\n\t * ========================================================================\n\t * Copyright 2011-2016 Twitter, Inc.\n\t * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n\t * ======================================================================== */\n\t\n\t\n\t+function ($) {\n\t 'use strict';\n\t\n\t // BUTTON PUBLIC CLASS DEFINITION\n\t // ==============================\n\t\n\t var Button = function (element, options) {\n\t this.$element = $(element)\n\t this.options = $.extend({}, Button.DEFAULTS, options)\n\t this.isLoading = false\n\t }\n\t\n\t Button.VERSION = '3.3.7'\n\t\n\t Button.DEFAULTS = {\n\t loadingText: 'loading...'\n\t }\n\t\n\t Button.prototype.setState = function (state) {\n\t var d = 'disabled'\n\t var $el = this.$element\n\t var val = $el.is('input') ? 'val' : 'html'\n\t var data = $el.data()\n\t\n\t state += 'Text'\n\t\n\t if (data.resetText == null) $el.data('resetText', $el[val]())\n\t\n\t // push to event loop to allow forms to submit\n\t setTimeout($.proxy(function () {\n\t $el[val](data[state] == null ? this.options[state] : data[state])\n\t\n\t if (state == 'loadingText') {\n\t this.isLoading = true\n\t $el.addClass(d).attr(d, d).prop(d, true)\n\t } else if (this.isLoading) {\n\t this.isLoading = false\n\t $el.removeClass(d).removeAttr(d).prop(d, false)\n\t }\n\t }, this), 0)\n\t }\n\t\n\t Button.prototype.toggle = function () {\n\t var changed = true\n\t var $parent = this.$element.closest('[data-toggle=\"buttons\"]')\n\t\n\t if ($parent.length) {\n\t var $input = this.$element.find('input')\n\t if ($input.prop('type') == 'radio') {\n\t if ($input.prop('checked')) changed = false\n\t $parent.find('.active').removeClass('active')\n\t this.$element.addClass('active')\n\t } else if ($input.prop('type') == 'checkbox') {\n\t if (($input.prop('checked')) !== this.$element.hasClass('active')) changed = false\n\t this.$element.toggleClass('active')\n\t }\n\t $input.prop('checked', this.$element.hasClass('active'))\n\t if (changed) $input.trigger('change')\n\t } else {\n\t this.$element.attr('aria-pressed', !this.$element.hasClass('active'))\n\t this.$element.toggleClass('active')\n\t }\n\t }\n\t\n\t\n\t // BUTTON PLUGIN DEFINITION\n\t // ========================\n\t\n\t function Plugin(option) {\n\t return this.each(function () {\n\t var $this = $(this)\n\t var data = $this.data('bs.button')\n\t var options = typeof option == 'object' && option\n\t\n\t if (!data) $this.data('bs.button', (data = new Button(this, options)))\n\t\n\t if (option == 'toggle') data.toggle()\n\t else if (option) data.setState(option)\n\t })\n\t }\n\t\n\t var old = $.fn.button\n\t\n\t $.fn.button = Plugin\n\t $.fn.button.Constructor = Button\n\t\n\t\n\t // BUTTON NO CONFLICT\n\t // ==================\n\t\n\t $.fn.button.noConflict = function () {\n\t $.fn.button = old\n\t return this\n\t }\n\t\n\t\n\t // BUTTON DATA-API\n\t // ===============\n\t\n\t $(document)\n\t .on('click.bs.button.data-api', '[data-toggle^=\"button\"]', function (e) {\n\t var $btn = $(e.target).closest('.btn')\n\t Plugin.call($btn, 'toggle')\n\t if (!($(e.target).is('input[type=\"radio\"], input[type=\"checkbox\"]'))) {\n\t // Prevent double click on radios, and the double selections (so cancellation) on checkboxes\n\t e.preventDefault()\n\t // The target component still receive the focus\n\t if ($btn.is('input,button')) $btn.trigger('focus')\n\t else $btn.find('input:visible,button:visible').first().trigger('focus')\n\t }\n\t })\n\t .on('focus.bs.button.data-api blur.bs.button.data-api', '[data-toggle^=\"button\"]', function (e) {\n\t $(e.target).closest('.btn').toggleClass('focus', /^focus(in)?$/.test(e.type))\n\t })\n\t\n\t}(jQuery);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 403 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/* ========================================================================\n\t * Bootstrap: carousel.js v3.3.7\n\t * http://getbootstrap.com/javascript/#carousel\n\t * ========================================================================\n\t * Copyright 2011-2016 Twitter, Inc.\n\t * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n\t * ======================================================================== */\n\t\n\t\n\t+function ($) {\n\t 'use strict';\n\t\n\t // CAROUSEL CLASS DEFINITION\n\t // =========================\n\t\n\t var Carousel = function (element, options) {\n\t this.$element = $(element)\n\t this.$indicators = this.$element.find('.carousel-indicators')\n\t this.options = options\n\t this.paused = null\n\t this.sliding = null\n\t this.interval = null\n\t this.$active = null\n\t this.$items = null\n\t\n\t this.options.keyboard && this.$element.on('keydown.bs.carousel', $.proxy(this.keydown, this))\n\t\n\t this.options.pause == 'hover' && !('ontouchstart' in document.documentElement) && this.$element\n\t .on('mouseenter.bs.carousel', $.proxy(this.pause, this))\n\t .on('mouseleave.bs.carousel', $.proxy(this.cycle, this))\n\t }\n\t\n\t Carousel.VERSION = '3.3.7'\n\t\n\t Carousel.TRANSITION_DURATION = 600\n\t\n\t Carousel.DEFAULTS = {\n\t interval: 5000,\n\t pause: 'hover',\n\t wrap: true,\n\t keyboard: true\n\t }\n\t\n\t Carousel.prototype.keydown = function (e) {\n\t if (/input|textarea/i.test(e.target.tagName)) return\n\t switch (e.which) {\n\t case 37: this.prev(); break\n\t case 39: this.next(); break\n\t default: return\n\t }\n\t\n\t e.preventDefault()\n\t }\n\t\n\t Carousel.prototype.cycle = function (e) {\n\t e || (this.paused = false)\n\t\n\t this.interval && clearInterval(this.interval)\n\t\n\t this.options.interval\n\t && !this.paused\n\t && (this.interval = setInterval($.proxy(this.next, this), this.options.interval))\n\t\n\t return this\n\t }\n\t\n\t Carousel.prototype.getItemIndex = function (item) {\n\t this.$items = item.parent().children('.item')\n\t return this.$items.index(item || this.$active)\n\t }\n\t\n\t Carousel.prototype.getItemForDirection = function (direction, active) {\n\t var activeIndex = this.getItemIndex(active)\n\t var willWrap = (direction == 'prev' && activeIndex === 0)\n\t || (direction == 'next' && activeIndex == (this.$items.length - 1))\n\t if (willWrap && !this.options.wrap) return active\n\t var delta = direction == 'prev' ? -1 : 1\n\t var itemIndex = (activeIndex + delta) % this.$items.length\n\t return this.$items.eq(itemIndex)\n\t }\n\t\n\t Carousel.prototype.to = function (pos) {\n\t var that = this\n\t var activeIndex = this.getItemIndex(this.$active = this.$element.find('.item.active'))\n\t\n\t if (pos > (this.$items.length - 1) || pos < 0) return\n\t\n\t if (this.sliding) return this.$element.one('slid.bs.carousel', function () { that.to(pos) }) // yes, \"slid\"\n\t if (activeIndex == pos) return this.pause().cycle()\n\t\n\t return this.slide(pos > activeIndex ? 'next' : 'prev', this.$items.eq(pos))\n\t }\n\t\n\t Carousel.prototype.pause = function (e) {\n\t e || (this.paused = true)\n\t\n\t if (this.$element.find('.next, .prev').length && $.support.transition) {\n\t this.$element.trigger($.support.transition.end)\n\t this.cycle(true)\n\t }\n\t\n\t this.interval = clearInterval(this.interval)\n\t\n\t return this\n\t }\n\t\n\t Carousel.prototype.next = function () {\n\t if (this.sliding) return\n\t return this.slide('next')\n\t }\n\t\n\t Carousel.prototype.prev = function () {\n\t if (this.sliding) return\n\t return this.slide('prev')\n\t }\n\t\n\t Carousel.prototype.slide = function (type, next) {\n\t var $active = this.$element.find('.item.active')\n\t var $next = next || this.getItemForDirection(type, $active)\n\t var isCycling = this.interval\n\t var direction = type == 'next' ? 'left' : 'right'\n\t var that = this\n\t\n\t if ($next.hasClass('active')) return (this.sliding = false)\n\t\n\t var relatedTarget = $next[0]\n\t var slideEvent = $.Event('slide.bs.carousel', {\n\t relatedTarget: relatedTarget,\n\t direction: direction\n\t })\n\t this.$element.trigger(slideEvent)\n\t if (slideEvent.isDefaultPrevented()) return\n\t\n\t this.sliding = true\n\t\n\t isCycling && this.pause()\n\t\n\t if (this.$indicators.length) {\n\t this.$indicators.find('.active').removeClass('active')\n\t var $nextIndicator = $(this.$indicators.children()[this.getItemIndex($next)])\n\t $nextIndicator && $nextIndicator.addClass('active')\n\t }\n\t\n\t var slidEvent = $.Event('slid.bs.carousel', { relatedTarget: relatedTarget, direction: direction }) // yes, \"slid\"\n\t if ($.support.transition && this.$element.hasClass('slide')) {\n\t $next.addClass(type)\n\t $next[0].offsetWidth // force reflow\n\t $active.addClass(direction)\n\t $next.addClass(direction)\n\t $active\n\t .one('bsTransitionEnd', function () {\n\t $next.removeClass([type, direction].join(' ')).addClass('active')\n\t $active.removeClass(['active', direction].join(' '))\n\t that.sliding = false\n\t setTimeout(function () {\n\t that.$element.trigger(slidEvent)\n\t }, 0)\n\t })\n\t .emulateTransitionEnd(Carousel.TRANSITION_DURATION)\n\t } else {\n\t $active.removeClass('active')\n\t $next.addClass('active')\n\t this.sliding = false\n\t this.$element.trigger(slidEvent)\n\t }\n\t\n\t isCycling && this.cycle()\n\t\n\t return this\n\t }\n\t\n\t\n\t // CAROUSEL PLUGIN DEFINITION\n\t // ==========================\n\t\n\t function Plugin(option) {\n\t return this.each(function () {\n\t var $this = $(this)\n\t var data = $this.data('bs.carousel')\n\t var options = $.extend({}, Carousel.DEFAULTS, $this.data(), typeof option == 'object' && option)\n\t var action = typeof option == 'string' ? option : options.slide\n\t\n\t if (!data) $this.data('bs.carousel', (data = new Carousel(this, options)))\n\t if (typeof option == 'number') data.to(option)\n\t else if (action) data[action]()\n\t else if (options.interval) data.pause().cycle()\n\t })\n\t }\n\t\n\t var old = $.fn.carousel\n\t\n\t $.fn.carousel = Plugin\n\t $.fn.carousel.Constructor = Carousel\n\t\n\t\n\t // CAROUSEL NO CONFLICT\n\t // ====================\n\t\n\t $.fn.carousel.noConflict = function () {\n\t $.fn.carousel = old\n\t return this\n\t }\n\t\n\t\n\t // CAROUSEL DATA-API\n\t // =================\n\t\n\t var clickHandler = function (e) {\n\t var href\n\t var $this = $(this)\n\t var $target = $($this.attr('data-target') || (href = $this.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '')) // strip for ie7\n\t if (!$target.hasClass('carousel')) return\n\t var options = $.extend({}, $target.data(), $this.data())\n\t var slideIndex = $this.attr('data-slide-to')\n\t if (slideIndex) options.interval = false\n\t\n\t Plugin.call($target, options)\n\t\n\t if (slideIndex) {\n\t $target.data('bs.carousel').to(slideIndex)\n\t }\n\t\n\t e.preventDefault()\n\t }\n\t\n\t $(document)\n\t .on('click.bs.carousel.data-api', '[data-slide]', clickHandler)\n\t .on('click.bs.carousel.data-api', '[data-slide-to]', clickHandler)\n\t\n\t $(window).on('load', function () {\n\t $('[data-ride=\"carousel\"]').each(function () {\n\t var $carousel = $(this)\n\t Plugin.call($carousel, $carousel.data())\n\t })\n\t })\n\t\n\t}(jQuery);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 404 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/* ========================================================================\n\t * Bootstrap: collapse.js v3.3.7\n\t * http://getbootstrap.com/javascript/#collapse\n\t * ========================================================================\n\t * Copyright 2011-2016 Twitter, Inc.\n\t * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n\t * ======================================================================== */\n\t\n\t/* jshint latedef: false */\n\t\n\t+function ($) {\n\t 'use strict';\n\t\n\t // COLLAPSE PUBLIC CLASS DEFINITION\n\t // ================================\n\t\n\t var Collapse = function (element, options) {\n\t this.$element = $(element)\n\t this.options = $.extend({}, Collapse.DEFAULTS, options)\n\t this.$trigger = $('[data-toggle=\"collapse\"][href=\"#' + element.id + '\"],' +\n\t '[data-toggle=\"collapse\"][data-target=\"#' + element.id + '\"]')\n\t this.transitioning = null\n\t\n\t if (this.options.parent) {\n\t this.$parent = this.getParent()\n\t } else {\n\t this.addAriaAndCollapsedClass(this.$element, this.$trigger)\n\t }\n\t\n\t if (this.options.toggle) this.toggle()\n\t }\n\t\n\t Collapse.VERSION = '3.3.7'\n\t\n\t Collapse.TRANSITION_DURATION = 350\n\t\n\t Collapse.DEFAULTS = {\n\t toggle: true\n\t }\n\t\n\t Collapse.prototype.dimension = function () {\n\t var hasWidth = this.$element.hasClass('width')\n\t return hasWidth ? 'width' : 'height'\n\t }\n\t\n\t Collapse.prototype.show = function () {\n\t if (this.transitioning || this.$element.hasClass('in')) return\n\t\n\t var activesData\n\t var actives = this.$parent && this.$parent.children('.panel').children('.in, .collapsing')\n\t\n\t if (actives && actives.length) {\n\t activesData = actives.data('bs.collapse')\n\t if (activesData && activesData.transitioning) return\n\t }\n\t\n\t var startEvent = $.Event('show.bs.collapse')\n\t this.$element.trigger(startEvent)\n\t if (startEvent.isDefaultPrevented()) return\n\t\n\t if (actives && actives.length) {\n\t Plugin.call(actives, 'hide')\n\t activesData || actives.data('bs.collapse', null)\n\t }\n\t\n\t var dimension = this.dimension()\n\t\n\t this.$element\n\t .removeClass('collapse')\n\t .addClass('collapsing')[dimension](0)\n\t .attr('aria-expanded', true)\n\t\n\t this.$trigger\n\t .removeClass('collapsed')\n\t .attr('aria-expanded', true)\n\t\n\t this.transitioning = 1\n\t\n\t var complete = function () {\n\t this.$element\n\t .removeClass('collapsing')\n\t .addClass('collapse in')[dimension]('')\n\t this.transitioning = 0\n\t this.$element\n\t .trigger('shown.bs.collapse')\n\t }\n\t\n\t if (!$.support.transition) return complete.call(this)\n\t\n\t var scrollSize = $.camelCase(['scroll', dimension].join('-'))\n\t\n\t this.$element\n\t .one('bsTransitionEnd', $.proxy(complete, this))\n\t .emulateTransitionEnd(Collapse.TRANSITION_DURATION)[dimension](this.$element[0][scrollSize])\n\t }\n\t\n\t Collapse.prototype.hide = function () {\n\t if (this.transitioning || !this.$element.hasClass('in')) return\n\t\n\t var startEvent = $.Event('hide.bs.collapse')\n\t this.$element.trigger(startEvent)\n\t if (startEvent.isDefaultPrevented()) return\n\t\n\t var dimension = this.dimension()\n\t\n\t this.$element[dimension](this.$element[dimension]())[0].offsetHeight\n\t\n\t this.$element\n\t .addClass('collapsing')\n\t .removeClass('collapse in')\n\t .attr('aria-expanded', false)\n\t\n\t this.$trigger\n\t .addClass('collapsed')\n\t .attr('aria-expanded', false)\n\t\n\t this.transitioning = 1\n\t\n\t var complete = function () {\n\t this.transitioning = 0\n\t this.$element\n\t .removeClass('collapsing')\n\t .addClass('collapse')\n\t .trigger('hidden.bs.collapse')\n\t }\n\t\n\t if (!$.support.transition) return complete.call(this)\n\t\n\t this.$element\n\t [dimension](0)\n\t .one('bsTransitionEnd', $.proxy(complete, this))\n\t .emulateTransitionEnd(Collapse.TRANSITION_DURATION)\n\t }\n\t\n\t Collapse.prototype.toggle = function () {\n\t this[this.$element.hasClass('in') ? 'hide' : 'show']()\n\t }\n\t\n\t Collapse.prototype.getParent = function () {\n\t return $(this.options.parent)\n\t .find('[data-toggle=\"collapse\"][data-parent=\"' + this.options.parent + '\"]')\n\t .each($.proxy(function (i, element) {\n\t var $element = $(element)\n\t this.addAriaAndCollapsedClass(getTargetFromTrigger($element), $element)\n\t }, this))\n\t .end()\n\t }\n\t\n\t Collapse.prototype.addAriaAndCollapsedClass = function ($element, $trigger) {\n\t var isOpen = $element.hasClass('in')\n\t\n\t $element.attr('aria-expanded', isOpen)\n\t $trigger\n\t .toggleClass('collapsed', !isOpen)\n\t .attr('aria-expanded', isOpen)\n\t }\n\t\n\t function getTargetFromTrigger($trigger) {\n\t var href\n\t var target = $trigger.attr('data-target')\n\t || (href = $trigger.attr('href')) && href.replace(/.*(?=#[^\\s]+$)/, '') // strip for ie7\n\t\n\t return $(target)\n\t }\n\t\n\t\n\t // COLLAPSE PLUGIN DEFINITION\n\t // ==========================\n\t\n\t function Plugin(option) {\n\t return this.each(function () {\n\t var $this = $(this)\n\t var data = $this.data('bs.collapse')\n\t var options = $.extend({}, Collapse.DEFAULTS, $this.data(), typeof option == 'object' && option)\n\t\n\t if (!data && options.toggle && /show|hide/.test(option)) options.toggle = false\n\t if (!data) $this.data('bs.collapse', (data = new Collapse(this, options)))\n\t if (typeof option == 'string') data[option]()\n\t })\n\t }\n\t\n\t var old = $.fn.collapse\n\t\n\t $.fn.collapse = Plugin\n\t $.fn.collapse.Constructor = Collapse\n\t\n\t\n\t // COLLAPSE NO CONFLICT\n\t // ====================\n\t\n\t $.fn.collapse.noConflict = function () {\n\t $.fn.collapse = old\n\t return this\n\t }\n\t\n\t\n\t // COLLAPSE DATA-API\n\t // =================\n\t\n\t $(document).on('click.bs.collapse.data-api', '[data-toggle=\"collapse\"]', function (e) {\n\t var $this = $(this)\n\t\n\t if (!$this.attr('data-target')) e.preventDefault()\n\t\n\t var $target = getTargetFromTrigger($this)\n\t var data = $target.data('bs.collapse')\n\t var option = data ? 'toggle' : $this.data()\n\t\n\t Plugin.call($target, option)\n\t })\n\t\n\t}(jQuery);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 405 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/* ========================================================================\n\t * Bootstrap: dropdown.js v3.3.7\n\t * http://getbootstrap.com/javascript/#dropdowns\n\t * ========================================================================\n\t * Copyright 2011-2016 Twitter, Inc.\n\t * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n\t * ======================================================================== */\n\t\n\t\n\t+function ($) {\n\t 'use strict';\n\t\n\t // DROPDOWN CLASS DEFINITION\n\t // =========================\n\t\n\t var backdrop = '.dropdown-backdrop'\n\t var toggle = '[data-toggle=\"dropdown\"]'\n\t var Dropdown = function (element) {\n\t $(element).on('click.bs.dropdown', this.toggle)\n\t }\n\t\n\t Dropdown.VERSION = '3.3.7'\n\t\n\t function getParent($this) {\n\t var selector = $this.attr('data-target')\n\t\n\t if (!selector) {\n\t selector = $this.attr('href')\n\t selector = selector && /#[A-Za-z]/.test(selector) && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n\t }\n\t\n\t var $parent = selector && $(selector)\n\t\n\t return $parent && $parent.length ? $parent : $this.parent()\n\t }\n\t\n\t function clearMenus(e) {\n\t if (e && e.which === 3) return\n\t $(backdrop).remove()\n\t $(toggle).each(function () {\n\t var $this = $(this)\n\t var $parent = getParent($this)\n\t var relatedTarget = { relatedTarget: this }\n\t\n\t if (!$parent.hasClass('open')) return\n\t\n\t if (e && e.type == 'click' && /input|textarea/i.test(e.target.tagName) && $.contains($parent[0], e.target)) return\n\t\n\t $parent.trigger(e = $.Event('hide.bs.dropdown', relatedTarget))\n\t\n\t if (e.isDefaultPrevented()) return\n\t\n\t $this.attr('aria-expanded', 'false')\n\t $parent.removeClass('open').trigger($.Event('hidden.bs.dropdown', relatedTarget))\n\t })\n\t }\n\t\n\t Dropdown.prototype.toggle = function (e) {\n\t var $this = $(this)\n\t\n\t if ($this.is('.disabled, :disabled')) return\n\t\n\t var $parent = getParent($this)\n\t var isActive = $parent.hasClass('open')\n\t\n\t clearMenus()\n\t\n\t if (!isActive) {\n\t if ('ontouchstart' in document.documentElement && !$parent.closest('.navbar-nav').length) {\n\t // if mobile we use a backdrop because click events don't delegate\n\t $(document.createElement('div'))\n\t .addClass('dropdown-backdrop')\n\t .insertAfter($(this))\n\t .on('click', clearMenus)\n\t }\n\t\n\t var relatedTarget = { relatedTarget: this }\n\t $parent.trigger(e = $.Event('show.bs.dropdown', relatedTarget))\n\t\n\t if (e.isDefaultPrevented()) return\n\t\n\t $this\n\t .trigger('focus')\n\t .attr('aria-expanded', 'true')\n\t\n\t $parent\n\t .toggleClass('open')\n\t .trigger($.Event('shown.bs.dropdown', relatedTarget))\n\t }\n\t\n\t return false\n\t }\n\t\n\t Dropdown.prototype.keydown = function (e) {\n\t if (!/(38|40|27|32)/.test(e.which) || /input|textarea/i.test(e.target.tagName)) return\n\t\n\t var $this = $(this)\n\t\n\t e.preventDefault()\n\t e.stopPropagation()\n\t\n\t if ($this.is('.disabled, :disabled')) return\n\t\n\t var $parent = getParent($this)\n\t var isActive = $parent.hasClass('open')\n\t\n\t if (!isActive && e.which != 27 || isActive && e.which == 27) {\n\t if (e.which == 27) $parent.find(toggle).trigger('focus')\n\t return $this.trigger('click')\n\t }\n\t\n\t var desc = ' li:not(.disabled):visible a'\n\t var $items = $parent.find('.dropdown-menu' + desc)\n\t\n\t if (!$items.length) return\n\t\n\t var index = $items.index(e.target)\n\t\n\t if (e.which == 38 && index > 0) index-- // up\n\t if (e.which == 40 && index < $items.length - 1) index++ // down\n\t if (!~index) index = 0\n\t\n\t $items.eq(index).trigger('focus')\n\t }\n\t\n\t\n\t // DROPDOWN PLUGIN DEFINITION\n\t // ==========================\n\t\n\t function Plugin(option) {\n\t return this.each(function () {\n\t var $this = $(this)\n\t var data = $this.data('bs.dropdown')\n\t\n\t if (!data) $this.data('bs.dropdown', (data = new Dropdown(this)))\n\t if (typeof option == 'string') data[option].call($this)\n\t })\n\t }\n\t\n\t var old = $.fn.dropdown\n\t\n\t $.fn.dropdown = Plugin\n\t $.fn.dropdown.Constructor = Dropdown\n\t\n\t\n\t // DROPDOWN NO CONFLICT\n\t // ====================\n\t\n\t $.fn.dropdown.noConflict = function () {\n\t $.fn.dropdown = old\n\t return this\n\t }\n\t\n\t\n\t // APPLY TO STANDARD DROPDOWN ELEMENTS\n\t // ===================================\n\t\n\t $(document)\n\t .on('click.bs.dropdown.data-api', clearMenus)\n\t .on('click.bs.dropdown.data-api', '.dropdown form', function (e) { e.stopPropagation() })\n\t .on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)\n\t .on('keydown.bs.dropdown.data-api', toggle, Dropdown.prototype.keydown)\n\t .on('keydown.bs.dropdown.data-api', '.dropdown-menu', Dropdown.prototype.keydown)\n\t\n\t}(jQuery);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 406 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/* ========================================================================\n\t * Bootstrap: modal.js v3.3.7\n\t * http://getbootstrap.com/javascript/#modals\n\t * ========================================================================\n\t * Copyright 2011-2016 Twitter, Inc.\n\t * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n\t * ======================================================================== */\n\t\n\t\n\t+function ($) {\n\t 'use strict';\n\t\n\t // MODAL CLASS DEFINITION\n\t // ======================\n\t\n\t var Modal = function (element, options) {\n\t this.options = options\n\t this.$body = $(document.body)\n\t this.$element = $(element)\n\t this.$dialog = this.$element.find('.modal-dialog')\n\t this.$backdrop = null\n\t this.isShown = null\n\t this.originalBodyPad = null\n\t this.scrollbarWidth = 0\n\t this.ignoreBackdropClick = false\n\t\n\t if (this.options.remote) {\n\t this.$element\n\t .find('.modal-content')\n\t .load(this.options.remote, $.proxy(function () {\n\t this.$element.trigger('loaded.bs.modal')\n\t }, this))\n\t }\n\t }\n\t\n\t Modal.VERSION = '3.3.7'\n\t\n\t Modal.TRANSITION_DURATION = 300\n\t Modal.BACKDROP_TRANSITION_DURATION = 150\n\t\n\t Modal.DEFAULTS = {\n\t backdrop: true,\n\t keyboard: true,\n\t show: true\n\t }\n\t\n\t Modal.prototype.toggle = function (_relatedTarget) {\n\t return this.isShown ? this.hide() : this.show(_relatedTarget)\n\t }\n\t\n\t Modal.prototype.show = function (_relatedTarget) {\n\t var that = this\n\t var e = $.Event('show.bs.modal', { relatedTarget: _relatedTarget })\n\t\n\t this.$element.trigger(e)\n\t\n\t if (this.isShown || e.isDefaultPrevented()) return\n\t\n\t this.isShown = true\n\t\n\t this.checkScrollbar()\n\t this.setScrollbar()\n\t this.$body.addClass('modal-open')\n\t\n\t this.escape()\n\t this.resize()\n\t\n\t this.$element.on('click.dismiss.bs.modal', '[data-dismiss=\"modal\"]', $.proxy(this.hide, this))\n\t\n\t this.$dialog.on('mousedown.dismiss.bs.modal', function () {\n\t that.$element.one('mouseup.dismiss.bs.modal', function (e) {\n\t if ($(e.target).is(that.$element)) that.ignoreBackdropClick = true\n\t })\n\t })\n\t\n\t this.backdrop(function () {\n\t var transition = $.support.transition && that.$element.hasClass('fade')\n\t\n\t if (!that.$element.parent().length) {\n\t that.$element.appendTo(that.$body) // don't move modals dom position\n\t }\n\t\n\t that.$element\n\t .show()\n\t .scrollTop(0)\n\t\n\t that.adjustDialog()\n\t\n\t if (transition) {\n\t that.$element[0].offsetWidth // force reflow\n\t }\n\t\n\t that.$element.addClass('in')\n\t\n\t that.enforceFocus()\n\t\n\t var e = $.Event('shown.bs.modal', { relatedTarget: _relatedTarget })\n\t\n\t transition ?\n\t that.$dialog // wait for modal to slide in\n\t .one('bsTransitionEnd', function () {\n\t that.$element.trigger('focus').trigger(e)\n\t })\n\t .emulateTransitionEnd(Modal.TRANSITION_DURATION) :\n\t that.$element.trigger('focus').trigger(e)\n\t })\n\t }\n\t\n\t Modal.prototype.hide = function (e) {\n\t if (e) e.preventDefault()\n\t\n\t e = $.Event('hide.bs.modal')\n\t\n\t this.$element.trigger(e)\n\t\n\t if (!this.isShown || e.isDefaultPrevented()) return\n\t\n\t this.isShown = false\n\t\n\t this.escape()\n\t this.resize()\n\t\n\t $(document).off('focusin.bs.modal')\n\t\n\t this.$element\n\t .removeClass('in')\n\t .off('click.dismiss.bs.modal')\n\t .off('mouseup.dismiss.bs.modal')\n\t\n\t this.$dialog.off('mousedown.dismiss.bs.modal')\n\t\n\t $.support.transition && this.$element.hasClass('fade') ?\n\t this.$element\n\t .one('bsTransitionEnd', $.proxy(this.hideModal, this))\n\t .emulateTransitionEnd(Modal.TRANSITION_DURATION) :\n\t this.hideModal()\n\t }\n\t\n\t Modal.prototype.enforceFocus = function () {\n\t $(document)\n\t .off('focusin.bs.modal') // guard against infinite focus loop\n\t .on('focusin.bs.modal', $.proxy(function (e) {\n\t if (document !== e.target &&\n\t this.$element[0] !== e.target &&\n\t !this.$element.has(e.target).length) {\n\t this.$element.trigger('focus')\n\t }\n\t }, this))\n\t }\n\t\n\t Modal.prototype.escape = function () {\n\t if (this.isShown && this.options.keyboard) {\n\t this.$element.on('keydown.dismiss.bs.modal', $.proxy(function (e) {\n\t e.which == 27 && this.hide()\n\t }, this))\n\t } else if (!this.isShown) {\n\t this.$element.off('keydown.dismiss.bs.modal')\n\t }\n\t }\n\t\n\t Modal.prototype.resize = function () {\n\t if (this.isShown) {\n\t $(window).on('resize.bs.modal', $.proxy(this.handleUpdate, this))\n\t } else {\n\t $(window).off('resize.bs.modal')\n\t }\n\t }\n\t\n\t Modal.prototype.hideModal = function () {\n\t var that = this\n\t this.$element.hide()\n\t this.backdrop(function () {\n\t that.$body.removeClass('modal-open')\n\t that.resetAdjustments()\n\t that.resetScrollbar()\n\t that.$element.trigger('hidden.bs.modal')\n\t })\n\t }\n\t\n\t Modal.prototype.removeBackdrop = function () {\n\t this.$backdrop && this.$backdrop.remove()\n\t this.$backdrop = null\n\t }\n\t\n\t Modal.prototype.backdrop = function (callback) {\n\t var that = this\n\t var animate = this.$element.hasClass('fade') ? 'fade' : ''\n\t\n\t if (this.isShown && this.options.backdrop) {\n\t var doAnimate = $.support.transition && animate\n\t\n\t this.$backdrop = $(document.createElement('div'))\n\t .addClass('modal-backdrop ' + animate)\n\t .appendTo(this.$body)\n\t\n\t this.$element.on('click.dismiss.bs.modal', $.proxy(function (e) {\n\t if (this.ignoreBackdropClick) {\n\t this.ignoreBackdropClick = false\n\t return\n\t }\n\t if (e.target !== e.currentTarget) return\n\t this.options.backdrop == 'static'\n\t ? this.$element[0].focus()\n\t : this.hide()\n\t }, this))\n\t\n\t if (doAnimate) this.$backdrop[0].offsetWidth // force reflow\n\t\n\t this.$backdrop.addClass('in')\n\t\n\t if (!callback) return\n\t\n\t doAnimate ?\n\t this.$backdrop\n\t .one('bsTransitionEnd', callback)\n\t .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :\n\t callback()\n\t\n\t } else if (!this.isShown && this.$backdrop) {\n\t this.$backdrop.removeClass('in')\n\t\n\t var callbackRemove = function () {\n\t that.removeBackdrop()\n\t callback && callback()\n\t }\n\t $.support.transition && this.$element.hasClass('fade') ?\n\t this.$backdrop\n\t .one('bsTransitionEnd', callbackRemove)\n\t .emulateTransitionEnd(Modal.BACKDROP_TRANSITION_DURATION) :\n\t callbackRemove()\n\t\n\t } else if (callback) {\n\t callback()\n\t }\n\t }\n\t\n\t // these following methods are used to handle overflowing modals\n\t\n\t Modal.prototype.handleUpdate = function () {\n\t this.adjustDialog()\n\t }\n\t\n\t Modal.prototype.adjustDialog = function () {\n\t var modalIsOverflowing = this.$element[0].scrollHeight > document.documentElement.clientHeight\n\t\n\t this.$element.css({\n\t paddingLeft: !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : '',\n\t paddingRight: this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : ''\n\t })\n\t }\n\t\n\t Modal.prototype.resetAdjustments = function () {\n\t this.$element.css({\n\t paddingLeft: '',\n\t paddingRight: ''\n\t })\n\t }\n\t\n\t Modal.prototype.checkScrollbar = function () {\n\t var fullWindowWidth = window.innerWidth\n\t if (!fullWindowWidth) { // workaround for missing window.innerWidth in IE8\n\t var documentElementRect = document.documentElement.getBoundingClientRect()\n\t fullWindowWidth = documentElementRect.right - Math.abs(documentElementRect.left)\n\t }\n\t this.bodyIsOverflowing = document.body.clientWidth < fullWindowWidth\n\t this.scrollbarWidth = this.measureScrollbar()\n\t }\n\t\n\t Modal.prototype.setScrollbar = function () {\n\t var bodyPad = parseInt((this.$body.css('padding-right') || 0), 10)\n\t this.originalBodyPad = document.body.style.paddingRight || ''\n\t if (this.bodyIsOverflowing) this.$body.css('padding-right', bodyPad + this.scrollbarWidth)\n\t }\n\t\n\t Modal.prototype.resetScrollbar = function () {\n\t this.$body.css('padding-right', this.originalBodyPad)\n\t }\n\t\n\t Modal.prototype.measureScrollbar = function () { // thx walsh\n\t var scrollDiv = document.createElement('div')\n\t scrollDiv.className = 'modal-scrollbar-measure'\n\t this.$body.append(scrollDiv)\n\t var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth\n\t this.$body[0].removeChild(scrollDiv)\n\t return scrollbarWidth\n\t }\n\t\n\t\n\t // MODAL PLUGIN DEFINITION\n\t // =======================\n\t\n\t function Plugin(option, _relatedTarget) {\n\t return this.each(function () {\n\t var $this = $(this)\n\t var data = $this.data('bs.modal')\n\t var options = $.extend({}, Modal.DEFAULTS, $this.data(), typeof option == 'object' && option)\n\t\n\t if (!data) $this.data('bs.modal', (data = new Modal(this, options)))\n\t if (typeof option == 'string') data[option](_relatedTarget)\n\t else if (options.show) data.show(_relatedTarget)\n\t })\n\t }\n\t\n\t var old = $.fn.modal\n\t\n\t $.fn.modal = Plugin\n\t $.fn.modal.Constructor = Modal\n\t\n\t\n\t // MODAL NO CONFLICT\n\t // =================\n\t\n\t $.fn.modal.noConflict = function () {\n\t $.fn.modal = old\n\t return this\n\t }\n\t\n\t\n\t // MODAL DATA-API\n\t // ==============\n\t\n\t $(document).on('click.bs.modal.data-api', '[data-toggle=\"modal\"]', function (e) {\n\t var $this = $(this)\n\t var href = $this.attr('href')\n\t var $target = $($this.attr('data-target') || (href && href.replace(/.*(?=#[^\\s]+$)/, ''))) // strip for ie7\n\t var option = $target.data('bs.modal') ? 'toggle' : $.extend({ remote: !/#/.test(href) && href }, $target.data(), $this.data())\n\t\n\t if ($this.is('a')) e.preventDefault()\n\t\n\t $target.one('show.bs.modal', function (showEvent) {\n\t if (showEvent.isDefaultPrevented()) return // only register focus restorer if modal will actually get shown\n\t $target.one('hidden.bs.modal', function () {\n\t $this.is(':visible') && $this.trigger('focus')\n\t })\n\t })\n\t Plugin.call($target, option, this)\n\t })\n\t\n\t}(jQuery);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 407 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/* ========================================================================\n\t * Bootstrap: popover.js v3.3.7\n\t * http://getbootstrap.com/javascript/#popovers\n\t * ========================================================================\n\t * Copyright 2011-2016 Twitter, Inc.\n\t * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n\t * ======================================================================== */\n\t\n\t\n\t+function ($) {\n\t 'use strict';\n\t\n\t // POPOVER PUBLIC CLASS DEFINITION\n\t // ===============================\n\t\n\t var Popover = function (element, options) {\n\t this.init('popover', element, options)\n\t }\n\t\n\t if (!$.fn.tooltip) throw new Error('Popover requires tooltip.js')\n\t\n\t Popover.VERSION = '3.3.7'\n\t\n\t Popover.DEFAULTS = $.extend({}, $.fn.tooltip.Constructor.DEFAULTS, {\n\t placement: 'right',\n\t trigger: 'click',\n\t content: '',\n\t template: '
'\n\t })\n\t\n\t\n\t // NOTE: POPOVER EXTENDS tooltip.js\n\t // ================================\n\t\n\t Popover.prototype = $.extend({}, $.fn.tooltip.Constructor.prototype)\n\t\n\t Popover.prototype.constructor = Popover\n\t\n\t Popover.prototype.getDefaults = function () {\n\t return Popover.DEFAULTS\n\t }\n\t\n\t Popover.prototype.setContent = function () {\n\t var $tip = this.tip()\n\t var title = this.getTitle()\n\t var content = this.getContent()\n\t\n\t $tip.find('.popover-title')[this.options.html ? 'html' : 'text'](title)\n\t $tip.find('.popover-content').children().detach().end()[ // we use append for html objects to maintain js events\n\t this.options.html ? (typeof content == 'string' ? 'html' : 'append') : 'text'\n\t ](content)\n\t\n\t $tip.removeClass('fade top bottom left right in')\n\t\n\t // IE8 doesn't accept hiding via the `:empty` pseudo selector, we have to do\n\t // this manually by checking the contents.\n\t if (!$tip.find('.popover-title').html()) $tip.find('.popover-title').hide()\n\t }\n\t\n\t Popover.prototype.hasContent = function () {\n\t return this.getTitle() || this.getContent()\n\t }\n\t\n\t Popover.prototype.getContent = function () {\n\t var $e = this.$element\n\t var o = this.options\n\t\n\t return $e.attr('data-content')\n\t || (typeof o.content == 'function' ?\n\t o.content.call($e[0]) :\n\t o.content)\n\t }\n\t\n\t Popover.prototype.arrow = function () {\n\t return (this.$arrow = this.$arrow || this.tip().find('.arrow'))\n\t }\n\t\n\t\n\t // POPOVER PLUGIN DEFINITION\n\t // =========================\n\t\n\t function Plugin(option) {\n\t return this.each(function () {\n\t var $this = $(this)\n\t var data = $this.data('bs.popover')\n\t var options = typeof option == 'object' && option\n\t\n\t if (!data && /destroy|hide/.test(option)) return\n\t if (!data) $this.data('bs.popover', (data = new Popover(this, options)))\n\t if (typeof option == 'string') data[option]()\n\t })\n\t }\n\t\n\t var old = $.fn.popover\n\t\n\t $.fn.popover = Plugin\n\t $.fn.popover.Constructor = Popover\n\t\n\t\n\t // POPOVER NO CONFLICT\n\t // ===================\n\t\n\t $.fn.popover.noConflict = function () {\n\t $.fn.popover = old\n\t return this\n\t }\n\t\n\t}(jQuery);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 408 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/* ========================================================================\n\t * Bootstrap: scrollspy.js v3.3.7\n\t * http://getbootstrap.com/javascript/#scrollspy\n\t * ========================================================================\n\t * Copyright 2011-2016 Twitter, Inc.\n\t * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n\t * ======================================================================== */\n\t\n\t\n\t+function ($) {\n\t 'use strict';\n\t\n\t // SCROLLSPY CLASS DEFINITION\n\t // ==========================\n\t\n\t function ScrollSpy(element, options) {\n\t this.$body = $(document.body)\n\t this.$scrollElement = $(element).is(document.body) ? $(window) : $(element)\n\t this.options = $.extend({}, ScrollSpy.DEFAULTS, options)\n\t this.selector = (this.options.target || '') + ' .nav li > a'\n\t this.offsets = []\n\t this.targets = []\n\t this.activeTarget = null\n\t this.scrollHeight = 0\n\t\n\t this.$scrollElement.on('scroll.bs.scrollspy', $.proxy(this.process, this))\n\t this.refresh()\n\t this.process()\n\t }\n\t\n\t ScrollSpy.VERSION = '3.3.7'\n\t\n\t ScrollSpy.DEFAULTS = {\n\t offset: 10\n\t }\n\t\n\t ScrollSpy.prototype.getScrollHeight = function () {\n\t return this.$scrollElement[0].scrollHeight || Math.max(this.$body[0].scrollHeight, document.documentElement.scrollHeight)\n\t }\n\t\n\t ScrollSpy.prototype.refresh = function () {\n\t var that = this\n\t var offsetMethod = 'offset'\n\t var offsetBase = 0\n\t\n\t this.offsets = []\n\t this.targets = []\n\t this.scrollHeight = this.getScrollHeight()\n\t\n\t if (!$.isWindow(this.$scrollElement[0])) {\n\t offsetMethod = 'position'\n\t offsetBase = this.$scrollElement.scrollTop()\n\t }\n\t\n\t this.$body\n\t .find(this.selector)\n\t .map(function () {\n\t var $el = $(this)\n\t var href = $el.data('target') || $el.attr('href')\n\t var $href = /^#./.test(href) && $(href)\n\t\n\t return ($href\n\t && $href.length\n\t && $href.is(':visible')\n\t && [[$href[offsetMethod]().top + offsetBase, href]]) || null\n\t })\n\t .sort(function (a, b) { return a[0] - b[0] })\n\t .each(function () {\n\t that.offsets.push(this[0])\n\t that.targets.push(this[1])\n\t })\n\t }\n\t\n\t ScrollSpy.prototype.process = function () {\n\t var scrollTop = this.$scrollElement.scrollTop() + this.options.offset\n\t var scrollHeight = this.getScrollHeight()\n\t var maxScroll = this.options.offset + scrollHeight - this.$scrollElement.height()\n\t var offsets = this.offsets\n\t var targets = this.targets\n\t var activeTarget = this.activeTarget\n\t var i\n\t\n\t if (this.scrollHeight != scrollHeight) {\n\t this.refresh()\n\t }\n\t\n\t if (scrollTop >= maxScroll) {\n\t return activeTarget != (i = targets[targets.length - 1]) && this.activate(i)\n\t }\n\t\n\t if (activeTarget && scrollTop < offsets[0]) {\n\t this.activeTarget = null\n\t return this.clear()\n\t }\n\t\n\t for (i = offsets.length; i--;) {\n\t activeTarget != targets[i]\n\t && scrollTop >= offsets[i]\n\t && (offsets[i + 1] === undefined || scrollTop < offsets[i + 1])\n\t && this.activate(targets[i])\n\t }\n\t }\n\t\n\t ScrollSpy.prototype.activate = function (target) {\n\t this.activeTarget = target\n\t\n\t this.clear()\n\t\n\t var selector = this.selector +\n\t '[data-target=\"' + target + '\"],' +\n\t this.selector + '[href=\"' + target + '\"]'\n\t\n\t var active = $(selector)\n\t .parents('li')\n\t .addClass('active')\n\t\n\t if (active.parent('.dropdown-menu').length) {\n\t active = active\n\t .closest('li.dropdown')\n\t .addClass('active')\n\t }\n\t\n\t active.trigger('activate.bs.scrollspy')\n\t }\n\t\n\t ScrollSpy.prototype.clear = function () {\n\t $(this.selector)\n\t .parentsUntil(this.options.target, '.active')\n\t .removeClass('active')\n\t }\n\t\n\t\n\t // SCROLLSPY PLUGIN DEFINITION\n\t // ===========================\n\t\n\t function Plugin(option) {\n\t return this.each(function () {\n\t var $this = $(this)\n\t var data = $this.data('bs.scrollspy')\n\t var options = typeof option == 'object' && option\n\t\n\t if (!data) $this.data('bs.scrollspy', (data = new ScrollSpy(this, options)))\n\t if (typeof option == 'string') data[option]()\n\t })\n\t }\n\t\n\t var old = $.fn.scrollspy\n\t\n\t $.fn.scrollspy = Plugin\n\t $.fn.scrollspy.Constructor = ScrollSpy\n\t\n\t\n\t // SCROLLSPY NO CONFLICT\n\t // =====================\n\t\n\t $.fn.scrollspy.noConflict = function () {\n\t $.fn.scrollspy = old\n\t return this\n\t }\n\t\n\t\n\t // SCROLLSPY DATA-API\n\t // ==================\n\t\n\t $(window).on('load.bs.scrollspy.data-api', function () {\n\t $('[data-spy=\"scroll\"]').each(function () {\n\t var $spy = $(this)\n\t Plugin.call($spy, $spy.data())\n\t })\n\t })\n\t\n\t}(jQuery);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 409 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/* ========================================================================\n\t * Bootstrap: tab.js v3.3.7\n\t * http://getbootstrap.com/javascript/#tabs\n\t * ========================================================================\n\t * Copyright 2011-2016 Twitter, Inc.\n\t * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n\t * ======================================================================== */\n\t\n\t\n\t+function ($) {\n\t 'use strict';\n\t\n\t // TAB CLASS DEFINITION\n\t // ====================\n\t\n\t var Tab = function (element) {\n\t // jscs:disable requireDollarBeforejQueryAssignment\n\t this.element = $(element)\n\t // jscs:enable requireDollarBeforejQueryAssignment\n\t }\n\t\n\t Tab.VERSION = '3.3.7'\n\t\n\t Tab.TRANSITION_DURATION = 150\n\t\n\t Tab.prototype.show = function () {\n\t var $this = this.element\n\t var $ul = $this.closest('ul:not(.dropdown-menu)')\n\t var selector = $this.data('target')\n\t\n\t if (!selector) {\n\t selector = $this.attr('href')\n\t selector = selector && selector.replace(/.*(?=#[^\\s]*$)/, '') // strip for ie7\n\t }\n\t\n\t if ($this.parent('li').hasClass('active')) return\n\t\n\t var $previous = $ul.find('.active:last a')\n\t var hideEvent = $.Event('hide.bs.tab', {\n\t relatedTarget: $this[0]\n\t })\n\t var showEvent = $.Event('show.bs.tab', {\n\t relatedTarget: $previous[0]\n\t })\n\t\n\t $previous.trigger(hideEvent)\n\t $this.trigger(showEvent)\n\t\n\t if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) return\n\t\n\t var $target = $(selector)\n\t\n\t this.activate($this.closest('li'), $ul)\n\t this.activate($target, $target.parent(), function () {\n\t $previous.trigger({\n\t type: 'hidden.bs.tab',\n\t relatedTarget: $this[0]\n\t })\n\t $this.trigger({\n\t type: 'shown.bs.tab',\n\t relatedTarget: $previous[0]\n\t })\n\t })\n\t }\n\t\n\t Tab.prototype.activate = function (element, container, callback) {\n\t var $active = container.find('> .active')\n\t var transition = callback\n\t && $.support.transition\n\t && ($active.length && $active.hasClass('fade') || !!container.find('> .fade').length)\n\t\n\t function next() {\n\t $active\n\t .removeClass('active')\n\t .find('> .dropdown-menu > .active')\n\t .removeClass('active')\n\t .end()\n\t .find('[data-toggle=\"tab\"]')\n\t .attr('aria-expanded', false)\n\t\n\t element\n\t .addClass('active')\n\t .find('[data-toggle=\"tab\"]')\n\t .attr('aria-expanded', true)\n\t\n\t if (transition) {\n\t element[0].offsetWidth // reflow for transition\n\t element.addClass('in')\n\t } else {\n\t element.removeClass('fade')\n\t }\n\t\n\t if (element.parent('.dropdown-menu').length) {\n\t element\n\t .closest('li.dropdown')\n\t .addClass('active')\n\t .end()\n\t .find('[data-toggle=\"tab\"]')\n\t .attr('aria-expanded', true)\n\t }\n\t\n\t callback && callback()\n\t }\n\t\n\t $active.length && transition ?\n\t $active\n\t .one('bsTransitionEnd', next)\n\t .emulateTransitionEnd(Tab.TRANSITION_DURATION) :\n\t next()\n\t\n\t $active.removeClass('in')\n\t }\n\t\n\t\n\t // TAB PLUGIN DEFINITION\n\t // =====================\n\t\n\t function Plugin(option) {\n\t return this.each(function () {\n\t var $this = $(this)\n\t var data = $this.data('bs.tab')\n\t\n\t if (!data) $this.data('bs.tab', (data = new Tab(this)))\n\t if (typeof option == 'string') data[option]()\n\t })\n\t }\n\t\n\t var old = $.fn.tab\n\t\n\t $.fn.tab = Plugin\n\t $.fn.tab.Constructor = Tab\n\t\n\t\n\t // TAB NO CONFLICT\n\t // ===============\n\t\n\t $.fn.tab.noConflict = function () {\n\t $.fn.tab = old\n\t return this\n\t }\n\t\n\t\n\t // TAB DATA-API\n\t // ============\n\t\n\t var clickHandler = function (e) {\n\t e.preventDefault()\n\t Plugin.call($(this), 'show')\n\t }\n\t\n\t $(document)\n\t .on('click.bs.tab.data-api', '[data-toggle=\"tab\"]', clickHandler)\n\t .on('click.bs.tab.data-api', '[data-toggle=\"pill\"]', clickHandler)\n\t\n\t}(jQuery);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 410 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/* ========================================================================\n\t * Bootstrap: tooltip.js v3.3.7\n\t * http://getbootstrap.com/javascript/#tooltip\n\t * Inspired by the original jQuery.tipsy by Jason Frame\n\t * ========================================================================\n\t * Copyright 2011-2016 Twitter, Inc.\n\t * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n\t * ======================================================================== */\n\t\n\t\n\t+function ($) {\n\t 'use strict';\n\t\n\t // TOOLTIP PUBLIC CLASS DEFINITION\n\t // ===============================\n\t\n\t var Tooltip = function (element, options) {\n\t this.type = null\n\t this.options = null\n\t this.enabled = null\n\t this.timeout = null\n\t this.hoverState = null\n\t this.$element = null\n\t this.inState = null\n\t\n\t this.init('tooltip', element, options)\n\t }\n\t\n\t Tooltip.VERSION = '3.3.7'\n\t\n\t Tooltip.TRANSITION_DURATION = 150\n\t\n\t Tooltip.DEFAULTS = {\n\t animation: true,\n\t placement: 'top',\n\t selector: false,\n\t template: '
',\n\t trigger: 'hover focus',\n\t title: '',\n\t delay: 0,\n\t html: false,\n\t container: false,\n\t viewport: {\n\t selector: 'body',\n\t padding: 0\n\t }\n\t }\n\t\n\t Tooltip.prototype.init = function (type, element, options) {\n\t this.enabled = true\n\t this.type = type\n\t this.$element = $(element)\n\t this.options = this.getOptions(options)\n\t this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))\n\t this.inState = { click: false, hover: false, focus: false }\n\t\n\t if (this.$element[0] instanceof document.constructor && !this.options.selector) {\n\t throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')\n\t }\n\t\n\t var triggers = this.options.trigger.split(' ')\n\t\n\t for (var i = triggers.length; i--;) {\n\t var trigger = triggers[i]\n\t\n\t if (trigger == 'click') {\n\t this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))\n\t } else if (trigger != 'manual') {\n\t var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'\n\t var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'\n\t\n\t this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))\n\t this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))\n\t }\n\t }\n\t\n\t this.options.selector ?\n\t (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :\n\t this.fixTitle()\n\t }\n\t\n\t Tooltip.prototype.getDefaults = function () {\n\t return Tooltip.DEFAULTS\n\t }\n\t\n\t Tooltip.prototype.getOptions = function (options) {\n\t options = $.extend({}, this.getDefaults(), this.$element.data(), options)\n\t\n\t if (options.delay && typeof options.delay == 'number') {\n\t options.delay = {\n\t show: options.delay,\n\t hide: options.delay\n\t }\n\t }\n\t\n\t return options\n\t }\n\t\n\t Tooltip.prototype.getDelegateOptions = function () {\n\t var options = {}\n\t var defaults = this.getDefaults()\n\t\n\t this._options && $.each(this._options, function (key, value) {\n\t if (defaults[key] != value) options[key] = value\n\t })\n\t\n\t return options\n\t }\n\t\n\t Tooltip.prototype.enter = function (obj) {\n\t var self = obj instanceof this.constructor ?\n\t obj : $(obj.currentTarget).data('bs.' + this.type)\n\t\n\t if (!self) {\n\t self = new this.constructor(obj.currentTarget, this.getDelegateOptions())\n\t $(obj.currentTarget).data('bs.' + this.type, self)\n\t }\n\t\n\t if (obj instanceof $.Event) {\n\t self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true\n\t }\n\t\n\t if (self.tip().hasClass('in') || self.hoverState == 'in') {\n\t self.hoverState = 'in'\n\t return\n\t }\n\t\n\t clearTimeout(self.timeout)\n\t\n\t self.hoverState = 'in'\n\t\n\t if (!self.options.delay || !self.options.delay.show) return self.show()\n\t\n\t self.timeout = setTimeout(function () {\n\t if (self.hoverState == 'in') self.show()\n\t }, self.options.delay.show)\n\t }\n\t\n\t Tooltip.prototype.isInStateTrue = function () {\n\t for (var key in this.inState) {\n\t if (this.inState[key]) return true\n\t }\n\t\n\t return false\n\t }\n\t\n\t Tooltip.prototype.leave = function (obj) {\n\t var self = obj instanceof this.constructor ?\n\t obj : $(obj.currentTarget).data('bs.' + this.type)\n\t\n\t if (!self) {\n\t self = new this.constructor(obj.currentTarget, this.getDelegateOptions())\n\t $(obj.currentTarget).data('bs.' + this.type, self)\n\t }\n\t\n\t if (obj instanceof $.Event) {\n\t self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false\n\t }\n\t\n\t if (self.isInStateTrue()) return\n\t\n\t clearTimeout(self.timeout)\n\t\n\t self.hoverState = 'out'\n\t\n\t if (!self.options.delay || !self.options.delay.hide) return self.hide()\n\t\n\t self.timeout = setTimeout(function () {\n\t if (self.hoverState == 'out') self.hide()\n\t }, self.options.delay.hide)\n\t }\n\t\n\t Tooltip.prototype.show = function () {\n\t var e = $.Event('show.bs.' + this.type)\n\t\n\t if (this.hasContent() && this.enabled) {\n\t this.$element.trigger(e)\n\t\n\t var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])\n\t if (e.isDefaultPrevented() || !inDom) return\n\t var that = this\n\t\n\t var $tip = this.tip()\n\t\n\t var tipId = this.getUID(this.type)\n\t\n\t this.setContent()\n\t $tip.attr('id', tipId)\n\t this.$element.attr('aria-describedby', tipId)\n\t\n\t if (this.options.animation) $tip.addClass('fade')\n\t\n\t var placement = typeof this.options.placement == 'function' ?\n\t this.options.placement.call(this, $tip[0], this.$element[0]) :\n\t this.options.placement\n\t\n\t var autoToken = /\\s?auto?\\s?/i\n\t var autoPlace = autoToken.test(placement)\n\t if (autoPlace) placement = placement.replace(autoToken, '') || 'top'\n\t\n\t $tip\n\t .detach()\n\t .css({ top: 0, left: 0, display: 'block' })\n\t .addClass(placement)\n\t .data('bs.' + this.type, this)\n\t\n\t this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)\n\t this.$element.trigger('inserted.bs.' + this.type)\n\t\n\t var pos = this.getPosition()\n\t var actualWidth = $tip[0].offsetWidth\n\t var actualHeight = $tip[0].offsetHeight\n\t\n\t if (autoPlace) {\n\t var orgPlacement = placement\n\t var viewportDim = this.getPosition(this.$viewport)\n\t\n\t placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top' :\n\t placement == 'top' && pos.top - actualHeight < viewportDim.top ? 'bottom' :\n\t placement == 'right' && pos.right + actualWidth > viewportDim.width ? 'left' :\n\t placement == 'left' && pos.left - actualWidth < viewportDim.left ? 'right' :\n\t placement\n\t\n\t $tip\n\t .removeClass(orgPlacement)\n\t .addClass(placement)\n\t }\n\t\n\t var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)\n\t\n\t this.applyPlacement(calculatedOffset, placement)\n\t\n\t var complete = function () {\n\t var prevHoverState = that.hoverState\n\t that.$element.trigger('shown.bs.' + that.type)\n\t that.hoverState = null\n\t\n\t if (prevHoverState == 'out') that.leave(that)\n\t }\n\t\n\t $.support.transition && this.$tip.hasClass('fade') ?\n\t $tip\n\t .one('bsTransitionEnd', complete)\n\t .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :\n\t complete()\n\t }\n\t }\n\t\n\t Tooltip.prototype.applyPlacement = function (offset, placement) {\n\t var $tip = this.tip()\n\t var width = $tip[0].offsetWidth\n\t var height = $tip[0].offsetHeight\n\t\n\t // manually read margins because getBoundingClientRect includes difference\n\t var marginTop = parseInt($tip.css('margin-top'), 10)\n\t var marginLeft = parseInt($tip.css('margin-left'), 10)\n\t\n\t // we must check for NaN for ie 8/9\n\t if (isNaN(marginTop)) marginTop = 0\n\t if (isNaN(marginLeft)) marginLeft = 0\n\t\n\t offset.top += marginTop\n\t offset.left += marginLeft\n\t\n\t // $.fn.offset doesn't round pixel values\n\t // so we use setOffset directly with our own function B-0\n\t $.offset.setOffset($tip[0], $.extend({\n\t using: function (props) {\n\t $tip.css({\n\t top: Math.round(props.top),\n\t left: Math.round(props.left)\n\t })\n\t }\n\t }, offset), 0)\n\t\n\t $tip.addClass('in')\n\t\n\t // check to see if placing tip in new offset caused the tip to resize itself\n\t var actualWidth = $tip[0].offsetWidth\n\t var actualHeight = $tip[0].offsetHeight\n\t\n\t if (placement == 'top' && actualHeight != height) {\n\t offset.top = offset.top + height - actualHeight\n\t }\n\t\n\t var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)\n\t\n\t if (delta.left) offset.left += delta.left\n\t else offset.top += delta.top\n\t\n\t var isVertical = /top|bottom/.test(placement)\n\t var arrowDelta = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight\n\t var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'\n\t\n\t $tip.offset(offset)\n\t this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)\n\t }\n\t\n\t Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {\n\t this.arrow()\n\t .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')\n\t .css(isVertical ? 'top' : 'left', '')\n\t }\n\t\n\t Tooltip.prototype.setContent = function () {\n\t var $tip = this.tip()\n\t var title = this.getTitle()\n\t\n\t $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)\n\t $tip.removeClass('fade in top bottom left right')\n\t }\n\t\n\t Tooltip.prototype.hide = function (callback) {\n\t var that = this\n\t var $tip = $(this.$tip)\n\t var e = $.Event('hide.bs.' + this.type)\n\t\n\t function complete() {\n\t if (that.hoverState != 'in') $tip.detach()\n\t if (that.$element) { // TODO: Check whether guarding this code with this `if` is really necessary.\n\t that.$element\n\t .removeAttr('aria-describedby')\n\t .trigger('hidden.bs.' + that.type)\n\t }\n\t callback && callback()\n\t }\n\t\n\t this.$element.trigger(e)\n\t\n\t if (e.isDefaultPrevented()) return\n\t\n\t $tip.removeClass('in')\n\t\n\t $.support.transition && $tip.hasClass('fade') ?\n\t $tip\n\t .one('bsTransitionEnd', complete)\n\t .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :\n\t complete()\n\t\n\t this.hoverState = null\n\t\n\t return this\n\t }\n\t\n\t Tooltip.prototype.fixTitle = function () {\n\t var $e = this.$element\n\t if ($e.attr('title') || typeof $e.attr('data-original-title') != 'string') {\n\t $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')\n\t }\n\t }\n\t\n\t Tooltip.prototype.hasContent = function () {\n\t return this.getTitle()\n\t }\n\t\n\t Tooltip.prototype.getPosition = function ($element) {\n\t $element = $element || this.$element\n\t\n\t var el = $element[0]\n\t var isBody = el.tagName == 'BODY'\n\t\n\t var elRect = el.getBoundingClientRect()\n\t if (elRect.width == null) {\n\t // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093\n\t elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })\n\t }\n\t var isSvg = window.SVGElement && el instanceof window.SVGElement\n\t // Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3.\n\t // See https://github.com/twbs/bootstrap/issues/20280\n\t var elOffset = isBody ? { top: 0, left: 0 } : (isSvg ? null : $element.offset())\n\t var scroll = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }\n\t var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null\n\t\n\t return $.extend({}, elRect, scroll, outerDims, elOffset)\n\t }\n\t\n\t Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {\n\t return placement == 'bottom' ? { top: pos.top + pos.height, left: pos.left + pos.width / 2 - actualWidth / 2 } :\n\t placement == 'top' ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :\n\t placement == 'left' ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :\n\t /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }\n\t\n\t }\n\t\n\t Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {\n\t var delta = { top: 0, left: 0 }\n\t if (!this.$viewport) return delta\n\t\n\t var viewportPadding = this.options.viewport && this.options.viewport.padding || 0\n\t var viewportDimensions = this.getPosition(this.$viewport)\n\t\n\t if (/right|left/.test(placement)) {\n\t var topEdgeOffset = pos.top - viewportPadding - viewportDimensions.scroll\n\t var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight\n\t if (topEdgeOffset < viewportDimensions.top) { // top overflow\n\t delta.top = viewportDimensions.top - topEdgeOffset\n\t } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow\n\t delta.top = viewportDimensions.top + viewportDimensions.height - bottomEdgeOffset\n\t }\n\t } else {\n\t var leftEdgeOffset = pos.left - viewportPadding\n\t var rightEdgeOffset = pos.left + viewportPadding + actualWidth\n\t if (leftEdgeOffset < viewportDimensions.left) { // left overflow\n\t delta.left = viewportDimensions.left - leftEdgeOffset\n\t } else if (rightEdgeOffset > viewportDimensions.right) { // right overflow\n\t delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset\n\t }\n\t }\n\t\n\t return delta\n\t }\n\t\n\t Tooltip.prototype.getTitle = function () {\n\t var title\n\t var $e = this.$element\n\t var o = this.options\n\t\n\t title = $e.attr('data-original-title')\n\t || (typeof o.title == 'function' ? o.title.call($e[0]) : o.title)\n\t\n\t return title\n\t }\n\t\n\t Tooltip.prototype.getUID = function (prefix) {\n\t do prefix += ~~(Math.random() * 1000000)\n\t while (document.getElementById(prefix))\n\t return prefix\n\t }\n\t\n\t Tooltip.prototype.tip = function () {\n\t if (!this.$tip) {\n\t this.$tip = $(this.options.template)\n\t if (this.$tip.length != 1) {\n\t throw new Error(this.type + ' `template` option must consist of exactly 1 top-level element!')\n\t }\n\t }\n\t return this.$tip\n\t }\n\t\n\t Tooltip.prototype.arrow = function () {\n\t return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))\n\t }\n\t\n\t Tooltip.prototype.enable = function () {\n\t this.enabled = true\n\t }\n\t\n\t Tooltip.prototype.disable = function () {\n\t this.enabled = false\n\t }\n\t\n\t Tooltip.prototype.toggleEnabled = function () {\n\t this.enabled = !this.enabled\n\t }\n\t\n\t Tooltip.prototype.toggle = function (e) {\n\t var self = this\n\t if (e) {\n\t self = $(e.currentTarget).data('bs.' + this.type)\n\t if (!self) {\n\t self = new this.constructor(e.currentTarget, this.getDelegateOptions())\n\t $(e.currentTarget).data('bs.' + this.type, self)\n\t }\n\t }\n\t\n\t if (e) {\n\t self.inState.click = !self.inState.click\n\t if (self.isInStateTrue()) self.enter(self)\n\t else self.leave(self)\n\t } else {\n\t self.tip().hasClass('in') ? self.leave(self) : self.enter(self)\n\t }\n\t }\n\t\n\t Tooltip.prototype.destroy = function () {\n\t var that = this\n\t clearTimeout(this.timeout)\n\t this.hide(function () {\n\t that.$element.off('.' + that.type).removeData('bs.' + that.type)\n\t if (that.$tip) {\n\t that.$tip.detach()\n\t }\n\t that.$tip = null\n\t that.$arrow = null\n\t that.$viewport = null\n\t that.$element = null\n\t })\n\t }\n\t\n\t\n\t // TOOLTIP PLUGIN DEFINITION\n\t // =========================\n\t\n\t function Plugin(option) {\n\t return this.each(function () {\n\t var $this = $(this)\n\t var data = $this.data('bs.tooltip')\n\t var options = typeof option == 'object' && option\n\t\n\t if (!data && /destroy|hide/.test(option)) return\n\t if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))\n\t if (typeof option == 'string') data[option]()\n\t })\n\t }\n\t\n\t var old = $.fn.tooltip\n\t\n\t $.fn.tooltip = Plugin\n\t $.fn.tooltip.Constructor = Tooltip\n\t\n\t\n\t // TOOLTIP NO CONFLICT\n\t // ===================\n\t\n\t $.fn.tooltip.noConflict = function () {\n\t $.fn.tooltip = old\n\t return this\n\t }\n\t\n\t}(jQuery);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 411 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(jQuery) {/* ========================================================================\n\t * Bootstrap: transition.js v3.3.7\n\t * http://getbootstrap.com/javascript/#transitions\n\t * ========================================================================\n\t * Copyright 2011-2016 Twitter, Inc.\n\t * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n\t * ======================================================================== */\n\t\n\t\n\t+function ($) {\n\t 'use strict';\n\t\n\t // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)\n\t // ============================================================\n\t\n\t function transitionEnd() {\n\t var el = document.createElement('bootstrap')\n\t\n\t var transEndEventNames = {\n\t WebkitTransition : 'webkitTransitionEnd',\n\t MozTransition : 'transitionend',\n\t OTransition : 'oTransitionEnd otransitionend',\n\t transition : 'transitionend'\n\t }\n\t\n\t for (var name in transEndEventNames) {\n\t if (el.style[name] !== undefined) {\n\t return { end: transEndEventNames[name] }\n\t }\n\t }\n\t\n\t return false // explicit for ie8 ( ._.)\n\t }\n\t\n\t // http://blog.alexmaccaw.com/css-transitions\n\t $.fn.emulateTransitionEnd = function (duration) {\n\t var called = false\n\t var $el = this\n\t $(this).one('bsTransitionEnd', function () { called = true })\n\t var callback = function () { if (!called) $($el).trigger($.support.transition.end) }\n\t setTimeout(callback, duration)\n\t return this\n\t }\n\t\n\t $(function () {\n\t $.support.transition = transitionEnd()\n\t\n\t if (!$.support.transition) return\n\t\n\t $.event.special.bsTransitionEnd = {\n\t bindType: $.support.transition.end,\n\t delegateType: $.support.transition.end,\n\t handle: function (e) {\n\t if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)\n\t }\n\t }\n\t })\n\t\n\t}(jQuery);\n\t\n\t/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__(16)))\n\n/***/ },\n/* 412 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(422);\n\tmodule.exports = __webpack_require__(41).RegExp.escape;\n\n/***/ },\n/* 413 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar isObject = __webpack_require__(9)\r\n\t , isArray = __webpack_require__(151)\r\n\t , SPECIES = __webpack_require__(10)('species');\r\n\t\r\n\tmodule.exports = function(original){\r\n\t var C;\r\n\t if(isArray(original)){\r\n\t C = original.constructor;\r\n\t // cross-realm fallback\r\n\t if(typeof C == 'function' && (C === Array || isArray(C.prototype)))C = undefined;\r\n\t if(isObject(C)){\r\n\t C = C[SPECIES];\r\n\t if(C === null)C = undefined;\r\n\t }\r\n\t } return C === undefined ? Array : C;\r\n\t};\n\n/***/ },\n/* 414 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\n\tvar speciesConstructor = __webpack_require__(413);\n\t\n\tmodule.exports = function(original, length){\n\t return new (speciesConstructor(original))(length);\n\t};\n\n/***/ },\n/* 415 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar anObject = __webpack_require__(4)\r\n\t , toPrimitive = __webpack_require__(43)\r\n\t , NUMBER = 'number';\r\n\t\r\n\tmodule.exports = function(hint){\r\n\t if(hint !== 'string' && hint !== NUMBER && hint !== 'default')throw TypeError('Incorrect hint');\r\n\t return toPrimitive(anObject(this), hint != NUMBER);\r\n\t};\n\n/***/ },\n/* 416 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// all enumerable object keys, includes symbols\n\tvar getKeys = __webpack_require__(70)\n\t , gOPS = __webpack_require__(113)\n\t , pIE = __webpack_require__(93);\n\tmodule.exports = function(it){\n\t var result = getKeys(it)\n\t , getSymbols = gOPS.f;\n\t if(getSymbols){\n\t var symbols = getSymbols(it)\n\t , isEnum = pIE.f\n\t , i = 0\n\t , key;\n\t while(symbols.length > i)if(isEnum.call(it, key = symbols[i++]))result.push(key);\n\t } return result;\n\t};\n\n/***/ },\n/* 417 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar getKeys = __webpack_require__(70)\n\t , toIObject = __webpack_require__(30);\n\tmodule.exports = function(object, el){\n\t var O = toIObject(object)\n\t , keys = getKeys(O)\n\t , length = keys.length\n\t , index = 0\n\t , key;\n\t while(length > index)if(O[key = keys[index++]] === el)return key;\n\t};\n\n/***/ },\n/* 418 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar path = __webpack_require__(419)\n\t , invoke = __webpack_require__(109)\n\t , aFunction = __webpack_require__(27);\n\tmodule.exports = function(/* ...pargs */){\n\t var fn = aFunction(this)\n\t , length = arguments.length\n\t , pargs = Array(length)\n\t , i = 0\n\t , _ = path._\n\t , holder = false;\n\t while(length > i)if((pargs[i] = arguments[i++]) === _)holder = true;\n\t return function(/* ...args */){\n\t var that = this\n\t , aLen = arguments.length\n\t , j = 0, k = 0, args;\n\t if(!holder && !aLen)return invoke(fn, pargs, that);\n\t args = pargs.slice();\n\t if(holder)for(;length > j; j++)if(args[j] === _)args[j] = arguments[k++];\n\t while(aLen > k)args.push(arguments[k++]);\n\t return invoke(fn, args, that);\n\t };\n\t};\n\n/***/ },\n/* 419 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tmodule.exports = __webpack_require__(7);\n\n/***/ },\n/* 420 */\n/***/ function(module, exports) {\n\n\tmodule.exports = function(regExp, replace){\n\t var replacer = replace === Object(replace) ? function(part){\n\t return replace[part];\n\t } : replace;\n\t return function(it){\n\t return String(it).replace(regExp, replacer);\n\t };\n\t};\n\n/***/ },\n/* 421 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar classof = __webpack_require__(82)\n\t , ITERATOR = __webpack_require__(10)('iterator')\n\t , Iterators = __webpack_require__(66);\n\tmodule.exports = __webpack_require__(41).isIterable = function(it){\n\t var O = Object(it);\n\t return O[ITERATOR] !== undefined\n\t || '@@iterator' in O\n\t || Iterators.hasOwnProperty(classof(O));\n\t};\n\n/***/ },\n/* 422 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://github.com/benjamingr/RexExp.escape\n\tvar $export = __webpack_require__(1)\n\t , $re = __webpack_require__(420)(/[\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n\t\n\t$export($export.S, 'RegExp', {escape: function escape(it){ return $re(it); }});\n\n\n/***/ },\n/* 423 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.P, 'Array', {copyWithin: __webpack_require__(218)});\n\t\n\t__webpack_require__(81)('copyWithin');\n\n/***/ },\n/* 424 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , $every = __webpack_require__(40)(4);\r\n\t\r\n\t$export($export.P + $export.F * !__webpack_require__(37)([].every, true), 'Array', {\r\n\t // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\r\n\t every: function every(callbackfn /* , thisArg */){\r\n\t return $every(this, callbackfn, arguments[1]);\r\n\t }\r\n\t});\n\n/***/ },\n/* 425 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.P, 'Array', {fill: __webpack_require__(143)});\n\t\n\t__webpack_require__(81)('fill');\n\n/***/ },\n/* 426 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(1)\n\t , $filter = __webpack_require__(40)(2);\n\t\n\t$export($export.P + $export.F * !__webpack_require__(37)([].filter, true), 'Array', {\n\t // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n\t filter: function filter(callbackfn /* , thisArg */){\n\t return $filter(this, callbackfn, arguments[1]);\n\t }\n\t});\n\n/***/ },\n/* 427 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\n\tvar $export = __webpack_require__(1)\n\t , $find = __webpack_require__(40)(6)\n\t , KEY = 'findIndex'\n\t , forced = true;\n\t// Shouldn't skip holes\n\tif(KEY in [])Array(1)[KEY](function(){ forced = false; });\n\t$export($export.P + $export.F * forced, 'Array', {\n\t findIndex: function findIndex(callbackfn/*, that = undefined */){\n\t return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n\t }\n\t});\n\t__webpack_require__(81)(KEY);\n\n/***/ },\n/* 428 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\n\tvar $export = __webpack_require__(1)\n\t , $find = __webpack_require__(40)(5)\n\t , KEY = 'find'\n\t , forced = true;\n\t// Shouldn't skip holes\n\tif(KEY in [])Array(1)[KEY](function(){ forced = false; });\n\t$export($export.P + $export.F * forced, 'Array', {\n\t find: function find(callbackfn/*, that = undefined */){\n\t return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n\t }\n\t});\n\t__webpack_require__(81)(KEY);\n\n/***/ },\n/* 429 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , $forEach = __webpack_require__(40)(0)\r\n\t , STRICT = __webpack_require__(37)([].forEach, true);\r\n\t\r\n\t$export($export.P + $export.F * !STRICT, 'Array', {\r\n\t // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\r\n\t forEach: function forEach(callbackfn /* , thisArg */){\r\n\t return $forEach(this, callbackfn, arguments[1]);\r\n\t }\r\n\t});\n\n/***/ },\n/* 430 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar ctx = __webpack_require__(51)\n\t , $export = __webpack_require__(1)\n\t , toObject = __webpack_require__(20)\n\t , call = __webpack_require__(226)\n\t , isArrayIter = __webpack_require__(150)\n\t , toLength = __webpack_require__(19)\n\t , createProperty = __webpack_require__(144)\n\t , getIterFn = __webpack_require__(167);\n\t\n\t$export($export.S + $export.F * !__webpack_require__(111)(function(iter){ Array.from(iter); }), 'Array', {\n\t // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n\t from: function from(arrayLike/*, mapfn = undefined, thisArg = undefined*/){\n\t var O = toObject(arrayLike)\n\t , C = typeof this == 'function' ? this : Array\n\t , aLen = arguments.length\n\t , mapfn = aLen > 1 ? arguments[1] : undefined\n\t , mapping = mapfn !== undefined\n\t , index = 0\n\t , iterFn = getIterFn(O)\n\t , length, result, step, iterator;\n\t if(mapping)mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n\t // if object isn't iterable or it's array with default iterator - use simple case\n\t if(iterFn != undefined && !(C == Array && isArrayIter(iterFn))){\n\t for(iterator = iterFn.call(O), result = new C; !(step = iterator.next()).done; index++){\n\t createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n\t }\n\t } else {\n\t length = toLength(O.length);\n\t for(result = new C(length); length > index; index++){\n\t createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n\t }\n\t }\n\t result.length = index;\n\t return result;\n\t }\n\t});\n\n\n/***/ },\n/* 431 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , $indexOf = __webpack_require__(105)(false)\r\n\t , $native = [].indexOf\r\n\t , NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\r\n\t\r\n\t$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(37)($native)), 'Array', {\r\n\t // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\r\n\t indexOf: function indexOf(searchElement /*, fromIndex = 0 */){\r\n\t return NEGATIVE_ZERO\r\n\t // convert -0 to +0\r\n\t ? $native.apply(this, arguments) || 0\r\n\t : $indexOf(this, searchElement, arguments[1]);\r\n\t }\r\n\t});\n\n/***/ },\n/* 432 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\r\n\tvar $export = __webpack_require__(1);\r\n\t\r\n\t$export($export.S, 'Array', {isArray: __webpack_require__(151)});\n\n/***/ },\n/* 433 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\t// 22.1.3.13 Array.prototype.join(separator)\r\n\tvar $export = __webpack_require__(1)\r\n\t , toIObject = __webpack_require__(30)\r\n\t , arrayJoin = [].join;\r\n\t\r\n\t// fallback for not array-like strings\r\n\t$export($export.P + $export.F * (__webpack_require__(92) != Object || !__webpack_require__(37)(arrayJoin)), 'Array', {\r\n\t join: function join(separator){\r\n\t return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\r\n\t }\r\n\t});\n\n/***/ },\n/* 434 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , toIObject = __webpack_require__(30)\r\n\t , toInteger = __webpack_require__(60)\r\n\t , toLength = __webpack_require__(19)\r\n\t , $native = [].lastIndexOf\r\n\t , NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\r\n\t\r\n\t$export($export.P + $export.F * (NEGATIVE_ZERO || !__webpack_require__(37)($native)), 'Array', {\r\n\t // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\r\n\t lastIndexOf: function lastIndexOf(searchElement /*, fromIndex = @[*-1] */){\r\n\t // convert -0 to +0\r\n\t if(NEGATIVE_ZERO)return $native.apply(this, arguments) || 0;\r\n\t var O = toIObject(this)\r\n\t , length = toLength(O.length)\r\n\t , index = length - 1;\r\n\t if(arguments.length > 1)index = Math.min(index, toInteger(arguments[1]));\r\n\t if(index < 0)index = length + index;\r\n\t for(;index >= 0; index--)if(index in O)if(O[index] === searchElement)return index || 0;\r\n\t return -1;\r\n\t }\r\n\t});\n\n/***/ },\n/* 435 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , $map = __webpack_require__(40)(1);\r\n\t\r\n\t$export($export.P + $export.F * !__webpack_require__(37)([].map, true), 'Array', {\r\n\t // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\r\n\t map: function map(callbackfn /* , thisArg */){\r\n\t return $map(this, callbackfn, arguments[1]);\r\n\t }\r\n\t});\n\n/***/ },\n/* 436 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(1)\n\t , createProperty = __webpack_require__(144);\n\t\n\t// WebKit Array.of isn't generic\n\t$export($export.S + $export.F * __webpack_require__(8)(function(){\n\t function F(){}\n\t return !(Array.of.call(F) instanceof F);\n\t}), 'Array', {\n\t // 22.1.2.3 Array.of( ...items)\n\t of: function of(/* ...args */){\n\t var index = 0\n\t , aLen = arguments.length\n\t , result = new (typeof this == 'function' ? this : Array)(aLen);\n\t while(aLen > index)createProperty(result, index, arguments[index++]);\n\t result.length = aLen;\n\t return result;\n\t }\n\t});\n\n/***/ },\n/* 437 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , $reduce = __webpack_require__(220);\r\n\t\r\n\t$export($export.P + $export.F * !__webpack_require__(37)([].reduceRight, true), 'Array', {\r\n\t // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\r\n\t reduceRight: function reduceRight(callbackfn /* , initialValue */){\r\n\t return $reduce(this, callbackfn, arguments.length, arguments[1], true);\r\n\t }\r\n\t});\n\n/***/ },\n/* 438 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , $reduce = __webpack_require__(220);\r\n\t\r\n\t$export($export.P + $export.F * !__webpack_require__(37)([].reduce, true), 'Array', {\r\n\t // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\r\n\t reduce: function reduce(callbackfn /* , initialValue */){\r\n\t return $reduce(this, callbackfn, arguments.length, arguments[1], false);\r\n\t }\r\n\t});\n\n/***/ },\n/* 439 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , html = __webpack_require__(148)\r\n\t , cof = __webpack_require__(35)\r\n\t , toIndex = __webpack_require__(73)\r\n\t , toLength = __webpack_require__(19)\r\n\t , arraySlice = [].slice;\r\n\t\r\n\t// fallback for not array-like ES3 strings and DOM objects\r\n\t$export($export.P + $export.F * __webpack_require__(8)(function(){\r\n\t if(html)arraySlice.call(html);\r\n\t}), 'Array', {\r\n\t slice: function slice(begin, end){\r\n\t var len = toLength(this.length)\r\n\t , klass = cof(this);\r\n\t end = end === undefined ? len : end;\r\n\t if(klass == 'Array')return arraySlice.call(this, begin, end);\r\n\t var start = toIndex(begin, len)\r\n\t , upTo = toIndex(end, len)\r\n\t , size = toLength(upTo - start)\r\n\t , cloned = Array(size)\r\n\t , i = 0;\r\n\t for(; i < size; i++)cloned[i] = klass == 'String'\r\n\t ? this.charAt(start + i)\r\n\t : this[start + i];\r\n\t return cloned;\r\n\t }\r\n\t});\n\n/***/ },\n/* 440 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , $some = __webpack_require__(40)(3);\r\n\t\r\n\t$export($export.P + $export.F * !__webpack_require__(37)([].some, true), 'Array', {\r\n\t // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\r\n\t some: function some(callbackfn /* , thisArg */){\r\n\t return $some(this, callbackfn, arguments[1]);\r\n\t }\r\n\t});\n\n/***/ },\n/* 441 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , aFunction = __webpack_require__(27)\r\n\t , toObject = __webpack_require__(20)\r\n\t , fails = __webpack_require__(8)\r\n\t , $sort = [].sort\r\n\t , test = [1, 2, 3];\r\n\t\r\n\t$export($export.P + $export.F * (fails(function(){\r\n\t // IE8-\r\n\t test.sort(undefined);\r\n\t}) || !fails(function(){\r\n\t // V8 bug\r\n\t test.sort(null);\r\n\t // Old WebKit\r\n\t}) || !__webpack_require__(37)($sort)), 'Array', {\r\n\t // 22.1.3.25 Array.prototype.sort(comparefn)\r\n\t sort: function sort(comparefn){\r\n\t return comparefn === undefined\r\n\t ? $sort.call(toObject(this))\r\n\t : $sort.call(toObject(this), aFunction(comparefn));\r\n\t }\r\n\t});\n\n/***/ },\n/* 442 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(72)('Array');\n\n/***/ },\n/* 443 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.3.3.1 / 15.9.4.4 Date.now()\r\n\tvar $export = __webpack_require__(1);\r\n\t\r\n\t$export($export.S, 'Date', {now: function(){ return new Date().getTime(); }});\n\n/***/ },\n/* 444 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\t// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\r\n\tvar $export = __webpack_require__(1)\r\n\t , fails = __webpack_require__(8)\r\n\t , getTime = Date.prototype.getTime;\r\n\t\r\n\tvar lz = function(num){\r\n\t return num > 9 ? num : '0' + num;\r\n\t};\r\n\t\r\n\t// PhantomJS / old WebKit has a broken implementations\r\n\t$export($export.P + $export.F * (fails(function(){\r\n\t return new Date(-5e13 - 1).toISOString() != '0385-07-25T07:06:39.999Z';\r\n\t}) || !fails(function(){\r\n\t new Date(NaN).toISOString();\r\n\t})), 'Date', {\r\n\t toISOString: function toISOString(){\r\n\t if(!isFinite(getTime.call(this)))throw RangeError('Invalid time value');\r\n\t var d = this\r\n\t , y = d.getUTCFullYear()\r\n\t , m = d.getUTCMilliseconds()\r\n\t , s = y < 0 ? '-' : y > 9999 ? '+' : '';\r\n\t return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\r\n\t '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\r\n\t 'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\r\n\t ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\r\n\t }\r\n\t});\n\n/***/ },\n/* 445 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(1)\n\t , toObject = __webpack_require__(20)\n\t , toPrimitive = __webpack_require__(43);\n\t\n\t$export($export.P + $export.F * __webpack_require__(8)(function(){\n\t return new Date(NaN).toJSON() !== null || Date.prototype.toJSON.call({toISOString: function(){ return 1; }}) !== 1;\n\t}), 'Date', {\n\t toJSON: function toJSON(key){\n\t var O = toObject(this)\n\t , pv = toPrimitive(O);\n\t return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n\t }\n\t});\n\n/***/ },\n/* 446 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar TO_PRIMITIVE = __webpack_require__(10)('toPrimitive')\r\n\t , proto = Date.prototype;\r\n\t\r\n\tif(!(TO_PRIMITIVE in proto))__webpack_require__(24)(proto, TO_PRIMITIVE, __webpack_require__(415));\n\n/***/ },\n/* 447 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar DateProto = Date.prototype\n\t , INVALID_DATE = 'Invalid Date'\n\t , TO_STRING = 'toString'\n\t , $toString = DateProto[TO_STRING]\n\t , getTime = DateProto.getTime;\n\tif(new Date(NaN) + '' != INVALID_DATE){\n\t __webpack_require__(28)(DateProto, TO_STRING, function toString(){\n\t var value = getTime.call(this);\n\t return value === value ? $toString.call(this) : INVALID_DATE;\n\t });\n\t}\n\n/***/ },\n/* 448 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\r\n\tvar $export = __webpack_require__(1);\r\n\t\r\n\t$export($export.P, 'Function', {bind: __webpack_require__(221)});\n\n/***/ },\n/* 449 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar isObject = __webpack_require__(9)\n\t , getPrototypeOf = __webpack_require__(33)\n\t , HAS_INSTANCE = __webpack_require__(10)('hasInstance')\n\t , FunctionProto = Function.prototype;\n\t// 19.2.3.6 Function.prototype[@@hasInstance](V)\n\tif(!(HAS_INSTANCE in FunctionProto))__webpack_require__(14).f(FunctionProto, HAS_INSTANCE, {value: function(O){\n\t if(typeof this != 'function' || !isObject(O))return false;\n\t if(!isObject(this.prototype))return O instanceof this;\n\t // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n\t while(O = getPrototypeOf(O))if(this.prototype === O)return true;\n\t return false;\n\t}});\n\n/***/ },\n/* 450 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar dP = __webpack_require__(14).f\n\t , createDesc = __webpack_require__(59)\n\t , has = __webpack_require__(23)\n\t , FProto = Function.prototype\n\t , nameRE = /^\\s*function ([^ (]*)/\n\t , NAME = 'name';\n\t\n\tvar isExtensible = Object.isExtensible || function(){\n\t return true;\n\t};\n\t\n\t// 19.2.4.2 name\n\tNAME in FProto || __webpack_require__(13) && dP(FProto, NAME, {\n\t configurable: true,\n\t get: function(){\n\t try {\n\t var that = this\n\t , name = ('' + that).match(nameRE)[1];\n\t has(that, NAME) || !isExtensible(that) || dP(that, NAME, createDesc(5, name));\n\t return name;\n\t } catch(e){\n\t return '';\n\t }\n\t }\n\t});\n\n/***/ },\n/* 451 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.3 Math.acosh(x)\n\tvar $export = __webpack_require__(1)\n\t , log1p = __webpack_require__(228)\n\t , sqrt = Math.sqrt\n\t , $acosh = Math.acosh;\n\t\n\t$export($export.S + $export.F * !($acosh\n\t // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n\t && Math.floor($acosh(Number.MAX_VALUE)) == 710\n\t // Tor Browser bug: Math.acosh(Infinity) -> NaN \n\t && $acosh(Infinity) == Infinity\n\t), 'Math', {\n\t acosh: function acosh(x){\n\t return (x = +x) < 1 ? NaN : x > 94906265.62425156\n\t ? Math.log(x) + Math.LN2\n\t : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n\t }\n\t});\n\n/***/ },\n/* 452 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.5 Math.asinh(x)\n\tvar $export = __webpack_require__(1)\n\t , $asinh = Math.asinh;\n\t\n\tfunction asinh(x){\n\t return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n\t}\n\t\n\t// Tor Browser bug: Math.asinh(0) -> -0 \n\t$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', {asinh: asinh});\n\n/***/ },\n/* 453 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.7 Math.atanh(x)\n\tvar $export = __webpack_require__(1)\n\t , $atanh = Math.atanh;\n\t\n\t// Tor Browser bug: Math.atanh(-0) -> 0 \n\t$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n\t atanh: function atanh(x){\n\t return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n\t }\n\t});\n\n/***/ },\n/* 454 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.9 Math.cbrt(x)\n\tvar $export = __webpack_require__(1)\n\t , sign = __webpack_require__(156);\n\t\n\t$export($export.S, 'Math', {\n\t cbrt: function cbrt(x){\n\t return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n\t }\n\t});\n\n/***/ },\n/* 455 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.11 Math.clz32(x)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Math', {\n\t clz32: function clz32(x){\n\t return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n\t }\n\t});\n\n/***/ },\n/* 456 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.12 Math.cosh(x)\n\tvar $export = __webpack_require__(1)\n\t , exp = Math.exp;\n\t\n\t$export($export.S, 'Math', {\n\t cosh: function cosh(x){\n\t return (exp(x = +x) + exp(-x)) / 2;\n\t }\n\t});\n\n/***/ },\n/* 457 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.14 Math.expm1(x)\n\tvar $export = __webpack_require__(1)\n\t , $expm1 = __webpack_require__(155);\n\t\n\t$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', {expm1: $expm1});\n\n/***/ },\n/* 458 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.16 Math.fround(x)\n\tvar $export = __webpack_require__(1)\n\t , sign = __webpack_require__(156)\n\t , pow = Math.pow\n\t , EPSILON = pow(2, -52)\n\t , EPSILON32 = pow(2, -23)\n\t , MAX32 = pow(2, 127) * (2 - EPSILON32)\n\t , MIN32 = pow(2, -126);\n\t\n\tvar roundTiesToEven = function(n){\n\t return n + 1 / EPSILON - 1 / EPSILON;\n\t};\n\t\n\t\n\t$export($export.S, 'Math', {\n\t fround: function fround(x){\n\t var $abs = Math.abs(x)\n\t , $sign = sign(x)\n\t , a, result;\n\t if($abs < MIN32)return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n\t a = (1 + EPSILON32 / EPSILON) * $abs;\n\t result = a - (a - $abs);\n\t if(result > MAX32 || result != result)return $sign * Infinity;\n\t return $sign * result;\n\t }\n\t});\n\n/***/ },\n/* 459 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\n\tvar $export = __webpack_require__(1)\n\t , abs = Math.abs;\n\t\n\t$export($export.S, 'Math', {\n\t hypot: function hypot(value1, value2){ // eslint-disable-line no-unused-vars\n\t var sum = 0\n\t , i = 0\n\t , aLen = arguments.length\n\t , larg = 0\n\t , arg, div;\n\t while(i < aLen){\n\t arg = abs(arguments[i++]);\n\t if(larg < arg){\n\t div = larg / arg;\n\t sum = sum * div * div + 1;\n\t larg = arg;\n\t } else if(arg > 0){\n\t div = arg / larg;\n\t sum += div * div;\n\t } else sum += arg;\n\t }\n\t return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n\t }\n\t});\n\n/***/ },\n/* 460 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.18 Math.imul(x, y)\n\tvar $export = __webpack_require__(1)\n\t , $imul = Math.imul;\n\t\n\t// some WebKit versions fails with big numbers, some has wrong arity\n\t$export($export.S + $export.F * __webpack_require__(8)(function(){\n\t return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n\t}), 'Math', {\n\t imul: function imul(x, y){\n\t var UINT16 = 0xffff\n\t , xn = +x\n\t , yn = +y\n\t , xl = UINT16 & xn\n\t , yl = UINT16 & yn;\n\t return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n\t }\n\t});\n\n/***/ },\n/* 461 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.21 Math.log10(x)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Math', {\n\t log10: function log10(x){\n\t return Math.log(x) / Math.LN10;\n\t }\n\t});\n\n/***/ },\n/* 462 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.20 Math.log1p(x)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Math', {log1p: __webpack_require__(228)});\n\n/***/ },\n/* 463 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.22 Math.log2(x)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Math', {\n\t log2: function log2(x){\n\t return Math.log(x) / Math.LN2;\n\t }\n\t});\n\n/***/ },\n/* 464 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.28 Math.sign(x)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Math', {sign: __webpack_require__(156)});\n\n/***/ },\n/* 465 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.30 Math.sinh(x)\n\tvar $export = __webpack_require__(1)\n\t , expm1 = __webpack_require__(155)\n\t , exp = Math.exp;\n\t\n\t// V8 near Chromium 38 has a problem with very small numbers\n\t$export($export.S + $export.F * __webpack_require__(8)(function(){\n\t return !Math.sinh(-2e-17) != -2e-17;\n\t}), 'Math', {\n\t sinh: function sinh(x){\n\t return Math.abs(x = +x) < 1\n\t ? (expm1(x) - expm1(-x)) / 2\n\t : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n\t }\n\t});\n\n/***/ },\n/* 466 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.33 Math.tanh(x)\n\tvar $export = __webpack_require__(1)\n\t , expm1 = __webpack_require__(155)\n\t , exp = Math.exp;\n\t\n\t$export($export.S, 'Math', {\n\t tanh: function tanh(x){\n\t var a = expm1(x = +x)\n\t , b = expm1(-x);\n\t return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n\t }\n\t});\n\n/***/ },\n/* 467 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.2.2.34 Math.trunc(x)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Math', {\n\t trunc: function trunc(it){\n\t return (it > 0 ? Math.floor : Math.ceil)(it);\n\t }\n\t});\n\n/***/ },\n/* 468 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar global = __webpack_require__(7)\n\t , has = __webpack_require__(23)\n\t , cof = __webpack_require__(35)\n\t , inheritIfRequired = __webpack_require__(149)\n\t , toPrimitive = __webpack_require__(43)\n\t , fails = __webpack_require__(8)\n\t , gOPN = __webpack_require__(69).f\n\t , gOPD = __webpack_require__(32).f\n\t , dP = __webpack_require__(14).f\n\t , $trim = __webpack_require__(85).trim\n\t , NUMBER = 'Number'\n\t , $Number = global[NUMBER]\n\t , Base = $Number\n\t , proto = $Number.prototype\n\t // Opera ~12 has broken Object#toString\n\t , BROKEN_COF = cof(__webpack_require__(68)(proto)) == NUMBER\n\t , TRIM = 'trim' in String.prototype;\n\t\n\t// 7.1.3 ToNumber(argument)\n\tvar toNumber = function(argument){\n\t var it = toPrimitive(argument, false);\n\t if(typeof it == 'string' && it.length > 2){\n\t it = TRIM ? it.trim() : $trim(it, 3);\n\t var first = it.charCodeAt(0)\n\t , third, radix, maxCode;\n\t if(first === 43 || first === 45){\n\t third = it.charCodeAt(2);\n\t if(third === 88 || third === 120)return NaN; // Number('+0x1') should be NaN, old V8 fix\n\t } else if(first === 48){\n\t switch(it.charCodeAt(1)){\n\t case 66 : case 98 : radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n\t case 79 : case 111 : radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n\t default : return +it;\n\t }\n\t for(var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++){\n\t code = digits.charCodeAt(i);\n\t // parseInt parses a string to a first unavailable symbol\n\t // but ToNumber should return NaN if a string contains unavailable symbols\n\t if(code < 48 || code > maxCode)return NaN;\n\t } return parseInt(digits, radix);\n\t }\n\t } return +it;\n\t};\n\t\n\tif(!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')){\n\t $Number = function Number(value){\n\t var it = arguments.length < 1 ? 0 : value\n\t , that = this;\n\t return that instanceof $Number\n\t // check on 1..constructor(foo) case\n\t && (BROKEN_COF ? fails(function(){ proto.valueOf.call(that); }) : cof(that) != NUMBER)\n\t ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n\t };\n\t for(var keys = __webpack_require__(13) ? gOPN(Base) : (\n\t // ES3:\n\t 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n\t // ES6 (in case, if modules with ES6 Number statics required before):\n\t 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n\t 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n\t ).split(','), j = 0, key; keys.length > j; j++){\n\t if(has(Base, key = keys[j]) && !has($Number, key)){\n\t dP($Number, key, gOPD(Base, key));\n\t }\n\t }\n\t $Number.prototype = proto;\n\t proto.constructor = $Number;\n\t __webpack_require__(28)(global, NUMBER, $Number);\n\t}\n\n/***/ },\n/* 469 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.1 Number.EPSILON\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Number', {EPSILON: Math.pow(2, -52)});\n\n/***/ },\n/* 470 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.2 Number.isFinite(number)\n\tvar $export = __webpack_require__(1)\n\t , _isFinite = __webpack_require__(7).isFinite;\n\t\n\t$export($export.S, 'Number', {\n\t isFinite: function isFinite(it){\n\t return typeof it == 'number' && _isFinite(it);\n\t }\n\t});\n\n/***/ },\n/* 471 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.3 Number.isInteger(number)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Number', {isInteger: __webpack_require__(152)});\n\n/***/ },\n/* 472 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.4 Number.isNaN(number)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Number', {\n\t isNaN: function isNaN(number){\n\t return number != number;\n\t }\n\t});\n\n/***/ },\n/* 473 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.5 Number.isSafeInteger(number)\n\tvar $export = __webpack_require__(1)\n\t , isInteger = __webpack_require__(152)\n\t , abs = Math.abs;\n\t\n\t$export($export.S, 'Number', {\n\t isSafeInteger: function isSafeInteger(number){\n\t return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n\t }\n\t});\n\n/***/ },\n/* 474 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.6 Number.MAX_SAFE_INTEGER\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Number', {MAX_SAFE_INTEGER: 0x1fffffffffffff});\n\n/***/ },\n/* 475 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 20.1.2.10 Number.MIN_SAFE_INTEGER\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Number', {MIN_SAFE_INTEGER: -0x1fffffffffffff});\n\n/***/ },\n/* 476 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1)\n\t , $parseFloat = __webpack_require__(235);\n\t// 20.1.2.12 Number.parseFloat(string)\n\t$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', {parseFloat: $parseFloat});\n\n/***/ },\n/* 477 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1)\n\t , $parseInt = __webpack_require__(236);\n\t// 20.1.2.13 Number.parseInt(string, radix)\n\t$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', {parseInt: $parseInt});\n\n/***/ },\n/* 478 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , anInstance = __webpack_require__(57)\r\n\t , toInteger = __webpack_require__(60)\r\n\t , aNumberValue = __webpack_require__(217)\r\n\t , repeat = __webpack_require__(162)\r\n\t , $toFixed = 1..toFixed\r\n\t , floor = Math.floor\r\n\t , data = [0, 0, 0, 0, 0, 0]\r\n\t , ERROR = 'Number.toFixed: incorrect invocation!'\r\n\t , ZERO = '0';\r\n\t\r\n\tvar multiply = function(n, c){\r\n\t var i = -1\r\n\t , c2 = c;\r\n\t while(++i < 6){\r\n\t c2 += n * data[i];\r\n\t data[i] = c2 % 1e7;\r\n\t c2 = floor(c2 / 1e7);\r\n\t }\r\n\t};\r\n\tvar divide = function(n){\r\n\t var i = 6\r\n\t , c = 0;\r\n\t while(--i >= 0){\r\n\t c += data[i];\r\n\t data[i] = floor(c / n);\r\n\t c = (c % n) * 1e7;\r\n\t }\r\n\t};\r\n\tvar numToString = function(){\r\n\t var i = 6\r\n\t , s = '';\r\n\t while(--i >= 0){\r\n\t if(s !== '' || i === 0 || data[i] !== 0){\r\n\t var t = String(data[i]);\r\n\t s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\r\n\t }\r\n\t } return s;\r\n\t};\r\n\tvar pow = function(x, n, acc){\r\n\t return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\r\n\t};\r\n\tvar log = function(x){\r\n\t var n = 0\r\n\t , x2 = x;\r\n\t while(x2 >= 4096){\r\n\t n += 12;\r\n\t x2 /= 4096;\r\n\t }\r\n\t while(x2 >= 2){\r\n\t n += 1;\r\n\t x2 /= 2;\r\n\t } return n;\r\n\t};\r\n\t\r\n\t$export($export.P + $export.F * (!!$toFixed && (\r\n\t 0.00008.toFixed(3) !== '0.000' ||\r\n\t 0.9.toFixed(0) !== '1' ||\r\n\t 1.255.toFixed(2) !== '1.25' ||\r\n\t 1000000000000000128..toFixed(0) !== '1000000000000000128'\r\n\t) || !__webpack_require__(8)(function(){\r\n\t // V8 ~ Android 4.3-\r\n\t $toFixed.call({});\r\n\t})), 'Number', {\r\n\t toFixed: function toFixed(fractionDigits){\r\n\t var x = aNumberValue(this, ERROR)\r\n\t , f = toInteger(fractionDigits)\r\n\t , s = ''\r\n\t , m = ZERO\r\n\t , e, z, j, k;\r\n\t if(f < 0 || f > 20)throw RangeError(ERROR);\r\n\t if(x != x)return 'NaN';\r\n\t if(x <= -1e21 || x >= 1e21)return String(x);\r\n\t if(x < 0){\r\n\t s = '-';\r\n\t x = -x;\r\n\t }\r\n\t if(x > 1e-21){\r\n\t e = log(x * pow(2, 69, 1)) - 69;\r\n\t z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\r\n\t z *= 0x10000000000000;\r\n\t e = 52 - e;\r\n\t if(e > 0){\r\n\t multiply(0, z);\r\n\t j = f;\r\n\t while(j >= 7){\r\n\t multiply(1e7, 0);\r\n\t j -= 7;\r\n\t }\r\n\t multiply(pow(10, j, 1), 0);\r\n\t j = e - 1;\r\n\t while(j >= 23){\r\n\t divide(1 << 23);\r\n\t j -= 23;\r\n\t }\r\n\t divide(1 << j);\r\n\t multiply(1, 1);\r\n\t divide(2);\r\n\t m = numToString();\r\n\t } else {\r\n\t multiply(0, z);\r\n\t multiply(1 << -e, 0);\r\n\t m = numToString() + repeat.call(ZERO, f);\r\n\t }\r\n\t }\r\n\t if(f > 0){\r\n\t k = m.length;\r\n\t m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\r\n\t } else {\r\n\t m = s + m;\r\n\t } return m;\r\n\t }\r\n\t});\n\n/***/ },\n/* 479 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , $fails = __webpack_require__(8)\r\n\t , aNumberValue = __webpack_require__(217)\r\n\t , $toPrecision = 1..toPrecision;\r\n\t\r\n\t$export($export.P + $export.F * ($fails(function(){\r\n\t // IE7-\r\n\t return $toPrecision.call(1, undefined) !== '1';\r\n\t}) || !$fails(function(){\r\n\t // V8 ~ Android 4.3-\r\n\t $toPrecision.call({});\r\n\t})), 'Number', {\r\n\t toPrecision: function toPrecision(precision){\r\n\t var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\r\n\t return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision); \r\n\t }\r\n\t});\n\n/***/ },\n/* 480 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.3.1 Object.assign(target, source)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S + $export.F, 'Object', {assign: __webpack_require__(229)});\n\n/***/ },\n/* 481 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1)\r\n\t// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\r\n\t$export($export.S, 'Object', {create: __webpack_require__(68)});\n\n/***/ },\n/* 482 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1);\r\n\t// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\r\n\t$export($export.S + $export.F * !__webpack_require__(13), 'Object', {defineProperties: __webpack_require__(230)});\n\n/***/ },\n/* 483 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1);\r\n\t// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\r\n\t$export($export.S + $export.F * !__webpack_require__(13), 'Object', {defineProperty: __webpack_require__(14).f});\n\n/***/ },\n/* 484 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.5 Object.freeze(O)\n\tvar isObject = __webpack_require__(9)\n\t , meta = __webpack_require__(58).onFreeze;\n\t\n\t__webpack_require__(42)('freeze', function($freeze){\n\t return function freeze(it){\n\t return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n\t };\n\t});\n\n/***/ },\n/* 485 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n\tvar toIObject = __webpack_require__(30)\n\t , $getOwnPropertyDescriptor = __webpack_require__(32).f;\n\t\n\t__webpack_require__(42)('getOwnPropertyDescriptor', function(){\n\t return function getOwnPropertyDescriptor(it, key){\n\t return $getOwnPropertyDescriptor(toIObject(it), key);\n\t };\n\t});\n\n/***/ },\n/* 486 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.7 Object.getOwnPropertyNames(O)\n\t__webpack_require__(42)('getOwnPropertyNames', function(){\n\t return __webpack_require__(231).f;\n\t});\n\n/***/ },\n/* 487 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.9 Object.getPrototypeOf(O)\n\tvar toObject = __webpack_require__(20)\n\t , $getPrototypeOf = __webpack_require__(33);\n\t\n\t__webpack_require__(42)('getPrototypeOf', function(){\n\t return function getPrototypeOf(it){\n\t return $getPrototypeOf(toObject(it));\n\t };\n\t});\n\n/***/ },\n/* 488 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.11 Object.isExtensible(O)\n\tvar isObject = __webpack_require__(9);\n\t\n\t__webpack_require__(42)('isExtensible', function($isExtensible){\n\t return function isExtensible(it){\n\t return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n\t };\n\t});\n\n/***/ },\n/* 489 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.12 Object.isFrozen(O)\n\tvar isObject = __webpack_require__(9);\n\t\n\t__webpack_require__(42)('isFrozen', function($isFrozen){\n\t return function isFrozen(it){\n\t return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n\t };\n\t});\n\n/***/ },\n/* 490 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.13 Object.isSealed(O)\n\tvar isObject = __webpack_require__(9);\n\t\n\t__webpack_require__(42)('isSealed', function($isSealed){\n\t return function isSealed(it){\n\t return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n\t };\n\t});\n\n/***/ },\n/* 491 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.3.10 Object.is(value1, value2)\n\tvar $export = __webpack_require__(1);\n\t$export($export.S, 'Object', {is: __webpack_require__(237)});\n\n/***/ },\n/* 492 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.14 Object.keys(O)\n\tvar toObject = __webpack_require__(20)\n\t , $keys = __webpack_require__(70);\n\t\n\t__webpack_require__(42)('keys', function(){\n\t return function keys(it){\n\t return $keys(toObject(it));\n\t };\n\t});\n\n/***/ },\n/* 493 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.15 Object.preventExtensions(O)\n\tvar isObject = __webpack_require__(9)\n\t , meta = __webpack_require__(58).onFreeze;\n\t\n\t__webpack_require__(42)('preventExtensions', function($preventExtensions){\n\t return function preventExtensions(it){\n\t return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n\t };\n\t});\n\n/***/ },\n/* 494 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.17 Object.seal(O)\n\tvar isObject = __webpack_require__(9)\n\t , meta = __webpack_require__(58).onFreeze;\n\t\n\t__webpack_require__(42)('seal', function($seal){\n\t return function seal(it){\n\t return $seal && isObject(it) ? $seal(meta(it)) : it;\n\t };\n\t});\n\n/***/ },\n/* 495 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 19.1.3.19 Object.setPrototypeOf(O, proto)\n\tvar $export = __webpack_require__(1);\n\t$export($export.S, 'Object', {setPrototypeOf: __webpack_require__(114).set});\n\n/***/ },\n/* 496 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 19.1.3.6 Object.prototype.toString()\n\tvar classof = __webpack_require__(82)\n\t , test = {};\n\ttest[__webpack_require__(10)('toStringTag')] = 'z';\n\tif(test + '' != '[object z]'){\n\t __webpack_require__(28)(Object.prototype, 'toString', function toString(){\n\t return '[object ' + classof(this) + ']';\n\t }, true);\n\t}\n\n/***/ },\n/* 497 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1)\r\n\t , $parseFloat = __webpack_require__(235);\r\n\t// 18.2.4 parseFloat(string)\r\n\t$export($export.G + $export.F * (parseFloat != $parseFloat), {parseFloat: $parseFloat});\n\n/***/ },\n/* 498 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1)\r\n\t , $parseInt = __webpack_require__(236);\r\n\t// 18.2.5 parseInt(string, radix)\r\n\t$export($export.G + $export.F * (parseInt != $parseInt), {parseInt: $parseInt});\n\n/***/ },\n/* 499 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar LIBRARY = __webpack_require__(67)\n\t , global = __webpack_require__(7)\n\t , ctx = __webpack_require__(51)\n\t , classof = __webpack_require__(82)\n\t , $export = __webpack_require__(1)\n\t , isObject = __webpack_require__(9)\n\t , anObject = __webpack_require__(4)\n\t , aFunction = __webpack_require__(27)\n\t , anInstance = __webpack_require__(57)\n\t , forOf = __webpack_require__(83)\n\t , setProto = __webpack_require__(114).set\n\t , speciesConstructor = __webpack_require__(159)\n\t , task = __webpack_require__(164).set\n\t , microtask = __webpack_require__(157)()\n\t , PROMISE = 'Promise'\n\t , TypeError = global.TypeError\n\t , process = global.process\n\t , $Promise = global[PROMISE]\n\t , process = global.process\n\t , isNode = classof(process) == 'process'\n\t , empty = function(){ /* empty */ }\n\t , Internal, GenericPromiseCapability, Wrapper;\n\t\n\tvar USE_NATIVE = !!function(){\n\t try {\n\t // correct subclassing with @@species support\n\t var promise = $Promise.resolve(1)\n\t , FakePromise = (promise.constructor = {})[__webpack_require__(10)('species')] = function(exec){ exec(empty, empty); };\n\t // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n\t return (isNode || typeof PromiseRejectionEvent == 'function') && promise.then(empty) instanceof FakePromise;\n\t } catch(e){ /* empty */ }\n\t}();\n\t\n\t// helpers\n\tvar sameConstructor = function(a, b){\n\t // with library wrapper special case\n\t return a === b || a === $Promise && b === Wrapper;\n\t};\n\tvar isThenable = function(it){\n\t var then;\n\t return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n\t};\n\tvar newPromiseCapability = function(C){\n\t return sameConstructor($Promise, C)\n\t ? new PromiseCapability(C)\n\t : new GenericPromiseCapability(C);\n\t};\n\tvar PromiseCapability = GenericPromiseCapability = function(C){\n\t var resolve, reject;\n\t this.promise = new C(function($$resolve, $$reject){\n\t if(resolve !== undefined || reject !== undefined)throw TypeError('Bad Promise constructor');\n\t resolve = $$resolve;\n\t reject = $$reject;\n\t });\n\t this.resolve = aFunction(resolve);\n\t this.reject = aFunction(reject);\n\t};\n\tvar perform = function(exec){\n\t try {\n\t exec();\n\t } catch(e){\n\t return {error: e};\n\t }\n\t};\n\tvar notify = function(promise, isReject){\n\t if(promise._n)return;\n\t promise._n = true;\n\t var chain = promise._c;\n\t microtask(function(){\n\t var value = promise._v\n\t , ok = promise._s == 1\n\t , i = 0;\n\t var run = function(reaction){\n\t var handler = ok ? reaction.ok : reaction.fail\n\t , resolve = reaction.resolve\n\t , reject = reaction.reject\n\t , domain = reaction.domain\n\t , result, then;\n\t try {\n\t if(handler){\n\t if(!ok){\n\t if(promise._h == 2)onHandleUnhandled(promise);\n\t promise._h = 1;\n\t }\n\t if(handler === true)result = value;\n\t else {\n\t if(domain)domain.enter();\n\t result = handler(value);\n\t if(domain)domain.exit();\n\t }\n\t if(result === reaction.promise){\n\t reject(TypeError('Promise-chain cycle'));\n\t } else if(then = isThenable(result)){\n\t then.call(result, resolve, reject);\n\t } else resolve(result);\n\t } else reject(value);\n\t } catch(e){\n\t reject(e);\n\t }\n\t };\n\t while(chain.length > i)run(chain[i++]); // variable length - can't use forEach\n\t promise._c = [];\n\t promise._n = false;\n\t if(isReject && !promise._h)onUnhandled(promise);\n\t });\n\t};\n\tvar onUnhandled = function(promise){\n\t task.call(global, function(){\n\t var value = promise._v\n\t , abrupt, handler, console;\n\t if(isUnhandled(promise)){\n\t abrupt = perform(function(){\n\t if(isNode){\n\t process.emit('unhandledRejection', value, promise);\n\t } else if(handler = global.onunhandledrejection){\n\t handler({promise: promise, reason: value});\n\t } else if((console = global.console) && console.error){\n\t console.error('Unhandled promise rejection', value);\n\t }\n\t });\n\t // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n\t promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n\t } promise._a = undefined;\n\t if(abrupt)throw abrupt.error;\n\t });\n\t};\n\tvar isUnhandled = function(promise){\n\t if(promise._h == 1)return false;\n\t var chain = promise._a || promise._c\n\t , i = 0\n\t , reaction;\n\t while(chain.length > i){\n\t reaction = chain[i++];\n\t if(reaction.fail || !isUnhandled(reaction.promise))return false;\n\t } return true;\n\t};\n\tvar onHandleUnhandled = function(promise){\n\t task.call(global, function(){\n\t var handler;\n\t if(isNode){\n\t process.emit('rejectionHandled', promise);\n\t } else if(handler = global.onrejectionhandled){\n\t handler({promise: promise, reason: promise._v});\n\t }\n\t });\n\t};\n\tvar $reject = function(value){\n\t var promise = this;\n\t if(promise._d)return;\n\t promise._d = true;\n\t promise = promise._w || promise; // unwrap\n\t promise._v = value;\n\t promise._s = 2;\n\t if(!promise._a)promise._a = promise._c.slice();\n\t notify(promise, true);\n\t};\n\tvar $resolve = function(value){\n\t var promise = this\n\t , then;\n\t if(promise._d)return;\n\t promise._d = true;\n\t promise = promise._w || promise; // unwrap\n\t try {\n\t if(promise === value)throw TypeError(\"Promise can't be resolved itself\");\n\t if(then = isThenable(value)){\n\t microtask(function(){\n\t var wrapper = {_w: promise, _d: false}; // wrap\n\t try {\n\t then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n\t } catch(e){\n\t $reject.call(wrapper, e);\n\t }\n\t });\n\t } else {\n\t promise._v = value;\n\t promise._s = 1;\n\t notify(promise, false);\n\t }\n\t } catch(e){\n\t $reject.call({_w: promise, _d: false}, e); // wrap\n\t }\n\t};\n\t\n\t// constructor polyfill\n\tif(!USE_NATIVE){\n\t // 25.4.3.1 Promise(executor)\n\t $Promise = function Promise(executor){\n\t anInstance(this, $Promise, PROMISE, '_h');\n\t aFunction(executor);\n\t Internal.call(this);\n\t try {\n\t executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n\t } catch(err){\n\t $reject.call(this, err);\n\t }\n\t };\n\t Internal = function Promise(executor){\n\t this._c = []; // <- awaiting reactions\n\t this._a = undefined; // <- checked in isUnhandled reactions\n\t this._s = 0; // <- state\n\t this._d = false; // <- done\n\t this._v = undefined; // <- value\n\t this._h = 0; // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n\t this._n = false; // <- notify\n\t };\n\t Internal.prototype = __webpack_require__(71)($Promise.prototype, {\n\t // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n\t then: function then(onFulfilled, onRejected){\n\t var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n\t reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n\t reaction.fail = typeof onRejected == 'function' && onRejected;\n\t reaction.domain = isNode ? process.domain : undefined;\n\t this._c.push(reaction);\n\t if(this._a)this._a.push(reaction);\n\t if(this._s)notify(this, false);\n\t return reaction.promise;\n\t },\n\t // 25.4.5.1 Promise.prototype.catch(onRejected)\n\t 'catch': function(onRejected){\n\t return this.then(undefined, onRejected);\n\t }\n\t });\n\t PromiseCapability = function(){\n\t var promise = new Internal;\n\t this.promise = promise;\n\t this.resolve = ctx($resolve, promise, 1);\n\t this.reject = ctx($reject, promise, 1);\n\t };\n\t}\n\t\n\t$export($export.G + $export.W + $export.F * !USE_NATIVE, {Promise: $Promise});\n\t__webpack_require__(84)($Promise, PROMISE);\n\t__webpack_require__(72)(PROMISE);\n\tWrapper = __webpack_require__(41)[PROMISE];\n\t\n\t// statics\n\t$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n\t // 25.4.4.5 Promise.reject(r)\n\t reject: function reject(r){\n\t var capability = newPromiseCapability(this)\n\t , $$reject = capability.reject;\n\t $$reject(r);\n\t return capability.promise;\n\t }\n\t});\n\t$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n\t // 25.4.4.6 Promise.resolve(x)\n\t resolve: function resolve(x){\n\t // instanceof instead of internal slot check because we should fix it without replacement native Promise core\n\t if(x instanceof $Promise && sameConstructor(x.constructor, this))return x;\n\t var capability = newPromiseCapability(this)\n\t , $$resolve = capability.resolve;\n\t $$resolve(x);\n\t return capability.promise;\n\t }\n\t});\n\t$export($export.S + $export.F * !(USE_NATIVE && __webpack_require__(111)(function(iter){\n\t $Promise.all(iter)['catch'](empty);\n\t})), PROMISE, {\n\t // 25.4.4.1 Promise.all(iterable)\n\t all: function all(iterable){\n\t var C = this\n\t , capability = newPromiseCapability(C)\n\t , resolve = capability.resolve\n\t , reject = capability.reject;\n\t var abrupt = perform(function(){\n\t var values = []\n\t , index = 0\n\t , remaining = 1;\n\t forOf(iterable, false, function(promise){\n\t var $index = index++\n\t , alreadyCalled = false;\n\t values.push(undefined);\n\t remaining++;\n\t C.resolve(promise).then(function(value){\n\t if(alreadyCalled)return;\n\t alreadyCalled = true;\n\t values[$index] = value;\n\t --remaining || resolve(values);\n\t }, reject);\n\t });\n\t --remaining || resolve(values);\n\t });\n\t if(abrupt)reject(abrupt.error);\n\t return capability.promise;\n\t },\n\t // 25.4.4.4 Promise.race(iterable)\n\t race: function race(iterable){\n\t var C = this\n\t , capability = newPromiseCapability(C)\n\t , reject = capability.reject;\n\t var abrupt = perform(function(){\n\t forOf(iterable, false, function(promise){\n\t C.resolve(promise).then(capability.resolve, reject);\n\t });\n\t });\n\t if(abrupt)reject(abrupt.error);\n\t return capability.promise;\n\t }\n\t});\n\n/***/ },\n/* 500 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\n\tvar $export = __webpack_require__(1)\n\t , aFunction = __webpack_require__(27)\n\t , anObject = __webpack_require__(4)\n\t , _apply = Function.apply;\n\t\n\t$export($export.S, 'Reflect', {\n\t apply: function apply(target, thisArgument, argumentsList){\n\t return _apply.call(aFunction(target), thisArgument, anObject(argumentsList));\n\t }\n\t});\n\n/***/ },\n/* 501 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\n\tvar $export = __webpack_require__(1)\n\t , create = __webpack_require__(68)\n\t , aFunction = __webpack_require__(27)\n\t , anObject = __webpack_require__(4)\n\t , isObject = __webpack_require__(9)\n\t , bind = __webpack_require__(221);\n\t\n\t// MS Edge supports only 2 arguments\n\t// FF Nightly sets third argument as `new.target`, but does not create `this` from it\n\t$export($export.S + $export.F * __webpack_require__(8)(function(){\n\t function F(){}\n\t return !(Reflect.construct(function(){}, [], F) instanceof F);\n\t}), 'Reflect', {\n\t construct: function construct(Target, args /*, newTarget*/){\n\t aFunction(Target);\n\t anObject(args);\n\t var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n\t if(Target == newTarget){\n\t // w/o altered newTarget, optimization for 0-4 arguments\n\t switch(args.length){\n\t case 0: return new Target;\n\t case 1: return new Target(args[0]);\n\t case 2: return new Target(args[0], args[1]);\n\t case 3: return new Target(args[0], args[1], args[2]);\n\t case 4: return new Target(args[0], args[1], args[2], args[3]);\n\t }\n\t // w/o altered newTarget, lot of arguments case\n\t var $args = [null];\n\t $args.push.apply($args, args);\n\t return new (bind.apply(Target, $args));\n\t }\n\t // with altered newTarget, not support built-in constructors\n\t var proto = newTarget.prototype\n\t , instance = create(isObject(proto) ? proto : Object.prototype)\n\t , result = Function.apply.call(Target, instance, args);\n\t return isObject(result) ? result : instance;\n\t }\n\t});\n\n/***/ },\n/* 502 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\n\tvar dP = __webpack_require__(14)\n\t , $export = __webpack_require__(1)\n\t , anObject = __webpack_require__(4)\n\t , toPrimitive = __webpack_require__(43);\n\t\n\t// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n\t$export($export.S + $export.F * __webpack_require__(8)(function(){\n\t Reflect.defineProperty(dP.f({}, 1, {value: 1}), 1, {value: 2});\n\t}), 'Reflect', {\n\t defineProperty: function defineProperty(target, propertyKey, attributes){\n\t anObject(target);\n\t propertyKey = toPrimitive(propertyKey, true);\n\t anObject(attributes);\n\t try {\n\t dP.f(target, propertyKey, attributes);\n\t return true;\n\t } catch(e){\n\t return false;\n\t }\n\t }\n\t});\n\n/***/ },\n/* 503 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.4 Reflect.deleteProperty(target, propertyKey)\n\tvar $export = __webpack_require__(1)\n\t , gOPD = __webpack_require__(32).f\n\t , anObject = __webpack_require__(4);\n\t\n\t$export($export.S, 'Reflect', {\n\t deleteProperty: function deleteProperty(target, propertyKey){\n\t var desc = gOPD(anObject(target), propertyKey);\n\t return desc && !desc.configurable ? false : delete target[propertyKey];\n\t }\n\t});\n\n/***/ },\n/* 504 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 26.1.5 Reflect.enumerate(target)\n\tvar $export = __webpack_require__(1)\n\t , anObject = __webpack_require__(4);\n\tvar Enumerate = function(iterated){\n\t this._t = anObject(iterated); // target\n\t this._i = 0; // next index\n\t var keys = this._k = [] // keys\n\t , key;\n\t for(key in iterated)keys.push(key);\n\t};\n\t__webpack_require__(153)(Enumerate, 'Object', function(){\n\t var that = this\n\t , keys = that._k\n\t , key;\n\t do {\n\t if(that._i >= keys.length)return {value: undefined, done: true};\n\t } while(!((key = keys[that._i++]) in that._t));\n\t return {value: key, done: false};\n\t});\n\t\n\t$export($export.S, 'Reflect', {\n\t enumerate: function enumerate(target){\n\t return new Enumerate(target);\n\t }\n\t});\n\n/***/ },\n/* 505 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\n\tvar gOPD = __webpack_require__(32)\n\t , $export = __webpack_require__(1)\n\t , anObject = __webpack_require__(4);\n\t\n\t$export($export.S, 'Reflect', {\n\t getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey){\n\t return gOPD.f(anObject(target), propertyKey);\n\t }\n\t});\n\n/***/ },\n/* 506 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.8 Reflect.getPrototypeOf(target)\n\tvar $export = __webpack_require__(1)\n\t , getProto = __webpack_require__(33)\n\t , anObject = __webpack_require__(4);\n\t\n\t$export($export.S, 'Reflect', {\n\t getPrototypeOf: function getPrototypeOf(target){\n\t return getProto(anObject(target));\n\t }\n\t});\n\n/***/ },\n/* 507 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.6 Reflect.get(target, propertyKey [, receiver])\n\tvar gOPD = __webpack_require__(32)\n\t , getPrototypeOf = __webpack_require__(33)\n\t , has = __webpack_require__(23)\n\t , $export = __webpack_require__(1)\n\t , isObject = __webpack_require__(9)\n\t , anObject = __webpack_require__(4);\n\t\n\tfunction get(target, propertyKey/*, receiver*/){\n\t var receiver = arguments.length < 3 ? target : arguments[2]\n\t , desc, proto;\n\t if(anObject(target) === receiver)return target[propertyKey];\n\t if(desc = gOPD.f(target, propertyKey))return has(desc, 'value')\n\t ? desc.value\n\t : desc.get !== undefined\n\t ? desc.get.call(receiver)\n\t : undefined;\n\t if(isObject(proto = getPrototypeOf(target)))return get(proto, propertyKey, receiver);\n\t}\n\t\n\t$export($export.S, 'Reflect', {get: get});\n\n/***/ },\n/* 508 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.9 Reflect.has(target, propertyKey)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Reflect', {\n\t has: function has(target, propertyKey){\n\t return propertyKey in target;\n\t }\n\t});\n\n/***/ },\n/* 509 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.10 Reflect.isExtensible(target)\n\tvar $export = __webpack_require__(1)\n\t , anObject = __webpack_require__(4)\n\t , $isExtensible = Object.isExtensible;\n\t\n\t$export($export.S, 'Reflect', {\n\t isExtensible: function isExtensible(target){\n\t anObject(target);\n\t return $isExtensible ? $isExtensible(target) : true;\n\t }\n\t});\n\n/***/ },\n/* 510 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.11 Reflect.ownKeys(target)\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Reflect', {ownKeys: __webpack_require__(234)});\n\n/***/ },\n/* 511 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.12 Reflect.preventExtensions(target)\n\tvar $export = __webpack_require__(1)\n\t , anObject = __webpack_require__(4)\n\t , $preventExtensions = Object.preventExtensions;\n\t\n\t$export($export.S, 'Reflect', {\n\t preventExtensions: function preventExtensions(target){\n\t anObject(target);\n\t try {\n\t if($preventExtensions)$preventExtensions(target);\n\t return true;\n\t } catch(e){\n\t return false;\n\t }\n\t }\n\t});\n\n/***/ },\n/* 512 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.14 Reflect.setPrototypeOf(target, proto)\n\tvar $export = __webpack_require__(1)\n\t , setProto = __webpack_require__(114);\n\t\n\tif(setProto)$export($export.S, 'Reflect', {\n\t setPrototypeOf: function setPrototypeOf(target, proto){\n\t setProto.check(target, proto);\n\t try {\n\t setProto.set(target, proto);\n\t return true;\n\t } catch(e){\n\t return false;\n\t }\n\t }\n\t});\n\n/***/ },\n/* 513 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\n\tvar dP = __webpack_require__(14)\n\t , gOPD = __webpack_require__(32)\n\t , getPrototypeOf = __webpack_require__(33)\n\t , has = __webpack_require__(23)\n\t , $export = __webpack_require__(1)\n\t , createDesc = __webpack_require__(59)\n\t , anObject = __webpack_require__(4)\n\t , isObject = __webpack_require__(9);\n\t\n\tfunction set(target, propertyKey, V/*, receiver*/){\n\t var receiver = arguments.length < 4 ? target : arguments[3]\n\t , ownDesc = gOPD.f(anObject(target), propertyKey)\n\t , existingDescriptor, proto;\n\t if(!ownDesc){\n\t if(isObject(proto = getPrototypeOf(target))){\n\t return set(proto, propertyKey, V, receiver);\n\t }\n\t ownDesc = createDesc(0);\n\t }\n\t if(has(ownDesc, 'value')){\n\t if(ownDesc.writable === false || !isObject(receiver))return false;\n\t existingDescriptor = gOPD.f(receiver, propertyKey) || createDesc(0);\n\t existingDescriptor.value = V;\n\t dP.f(receiver, propertyKey, existingDescriptor);\n\t return true;\n\t }\n\t return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n\t}\n\t\n\t$export($export.S, 'Reflect', {set: set});\n\n/***/ },\n/* 514 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar global = __webpack_require__(7)\n\t , inheritIfRequired = __webpack_require__(149)\n\t , dP = __webpack_require__(14).f\n\t , gOPN = __webpack_require__(69).f\n\t , isRegExp = __webpack_require__(110)\n\t , $flags = __webpack_require__(108)\n\t , $RegExp = global.RegExp\n\t , Base = $RegExp\n\t , proto = $RegExp.prototype\n\t , re1 = /a/g\n\t , re2 = /a/g\n\t // \"new\" creates a new object, old webkit buggy here\n\t , CORRECT_NEW = new $RegExp(re1) !== re1;\n\t\n\tif(__webpack_require__(13) && (!CORRECT_NEW || __webpack_require__(8)(function(){\n\t re2[__webpack_require__(10)('match')] = false;\n\t // RegExp constructor can alter flags and IsRegExp works correct with @@match\n\t return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n\t}))){\n\t $RegExp = function RegExp(p, f){\n\t var tiRE = this instanceof $RegExp\n\t , piRE = isRegExp(p)\n\t , fiU = f === undefined;\n\t return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n\t : inheritIfRequired(CORRECT_NEW\n\t ? new Base(piRE && !fiU ? p.source : p, f)\n\t : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n\t , tiRE ? this : proto, $RegExp);\n\t };\n\t var proxy = function(key){\n\t key in $RegExp || dP($RegExp, key, {\n\t configurable: true,\n\t get: function(){ return Base[key]; },\n\t set: function(it){ Base[key] = it; }\n\t });\n\t };\n\t for(var keys = gOPN(Base), i = 0; keys.length > i; )proxy(keys[i++]);\n\t proto.constructor = $RegExp;\n\t $RegExp.prototype = proto;\n\t __webpack_require__(28)(global, 'RegExp', $RegExp);\n\t}\n\t\n\t__webpack_require__(72)('RegExp');\n\n/***/ },\n/* 515 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// @@match logic\n\t__webpack_require__(107)('match', 1, function(defined, MATCH, $match){\n\t // 21.1.3.11 String.prototype.match(regexp)\n\t return [function match(regexp){\n\t 'use strict';\n\t var O = defined(this)\n\t , fn = regexp == undefined ? undefined : regexp[MATCH];\n\t return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n\t }, $match];\n\t});\n\n/***/ },\n/* 516 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// @@replace logic\n\t__webpack_require__(107)('replace', 2, function(defined, REPLACE, $replace){\n\t // 21.1.3.14 String.prototype.replace(searchValue, replaceValue)\n\t return [function replace(searchValue, replaceValue){\n\t 'use strict';\n\t var O = defined(this)\n\t , fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n\t return fn !== undefined\n\t ? fn.call(searchValue, O, replaceValue)\n\t : $replace.call(String(O), searchValue, replaceValue);\n\t }, $replace];\n\t});\n\n/***/ },\n/* 517 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// @@search logic\n\t__webpack_require__(107)('search', 1, function(defined, SEARCH, $search){\n\t // 21.1.3.15 String.prototype.search(regexp)\n\t return [function search(regexp){\n\t 'use strict';\n\t var O = defined(this)\n\t , fn = regexp == undefined ? undefined : regexp[SEARCH];\n\t return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n\t }, $search];\n\t});\n\n/***/ },\n/* 518 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// @@split logic\n\t__webpack_require__(107)('split', 2, function(defined, SPLIT, $split){\n\t 'use strict';\n\t var isRegExp = __webpack_require__(110)\n\t , _split = $split\n\t , $push = [].push\n\t , $SPLIT = 'split'\n\t , LENGTH = 'length'\n\t , LAST_INDEX = 'lastIndex';\n\t if(\n\t 'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n\t 'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n\t 'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n\t '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n\t '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n\t ''[$SPLIT](/.?/)[LENGTH]\n\t ){\n\t var NPCG = /()??/.exec('')[1] === undefined; // nonparticipating capturing group\n\t // based on es5-shim implementation, need to rework it\n\t $split = function(separator, limit){\n\t var string = String(this);\n\t if(separator === undefined && limit === 0)return [];\n\t // If `separator` is not a regex, use native split\n\t if(!isRegExp(separator))return _split.call(string, separator, limit);\n\t var output = [];\n\t var flags = (separator.ignoreCase ? 'i' : '') +\n\t (separator.multiline ? 'm' : '') +\n\t (separator.unicode ? 'u' : '') +\n\t (separator.sticky ? 'y' : '');\n\t var lastLastIndex = 0;\n\t var splitLimit = limit === undefined ? 4294967295 : limit >>> 0;\n\t // Make `global` and avoid `lastIndex` issues by working with a copy\n\t var separatorCopy = new RegExp(separator.source, flags + 'g');\n\t var separator2, match, lastIndex, lastLength, i;\n\t // Doesn't need flags gy, but they don't hurt\n\t if(!NPCG)separator2 = new RegExp('^' + separatorCopy.source + '$(?!\\\\s)', flags);\n\t while(match = separatorCopy.exec(string)){\n\t // `separatorCopy.lastIndex` is not reliable cross-browser\n\t lastIndex = match.index + match[0][LENGTH];\n\t if(lastIndex > lastLastIndex){\n\t output.push(string.slice(lastLastIndex, match.index));\n\t // Fix browsers whose `exec` methods don't consistently return `undefined` for NPCG\n\t if(!NPCG && match[LENGTH] > 1)match[0].replace(separator2, function(){\n\t for(i = 1; i < arguments[LENGTH] - 2; i++)if(arguments[i] === undefined)match[i] = undefined;\n\t });\n\t if(match[LENGTH] > 1 && match.index < string[LENGTH])$push.apply(output, match.slice(1));\n\t lastLength = match[0][LENGTH];\n\t lastLastIndex = lastIndex;\n\t if(output[LENGTH] >= splitLimit)break;\n\t }\n\t if(separatorCopy[LAST_INDEX] === match.index)separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n\t }\n\t if(lastLastIndex === string[LENGTH]){\n\t if(lastLength || !separatorCopy.test(''))output.push('');\n\t } else output.push(string.slice(lastLastIndex));\n\t return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n\t };\n\t // Chakra, V8\n\t } else if('0'[$SPLIT](undefined, 0)[LENGTH]){\n\t $split = function(separator, limit){\n\t return separator === undefined && limit === 0 ? [] : _split.call(this, separator, limit);\n\t };\n\t }\n\t // 21.1.3.17 String.prototype.split(separator, limit)\n\t return [function split(separator, limit){\n\t var O = defined(this)\n\t , fn = separator == undefined ? undefined : separator[SPLIT];\n\t return fn !== undefined ? fn.call(separator, O, limit) : $split.call(String(O), separator, limit);\n\t }, $split];\n\t});\n\n/***/ },\n/* 519 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\t__webpack_require__(241);\r\n\tvar anObject = __webpack_require__(4)\r\n\t , $flags = __webpack_require__(108)\r\n\t , DESCRIPTORS = __webpack_require__(13)\r\n\t , TO_STRING = 'toString'\r\n\t , $toString = /./[TO_STRING];\r\n\t\r\n\tvar define = function(fn){\r\n\t __webpack_require__(28)(RegExp.prototype, TO_STRING, fn, true);\r\n\t};\r\n\t\r\n\t// 21.2.5.14 RegExp.prototype.toString()\r\n\tif(__webpack_require__(8)(function(){ return $toString.call({source: 'a', flags: 'b'}) != '/a/b'; })){\r\n\t define(function toString(){\r\n\t var R = anObject(this);\r\n\t return '/'.concat(R.source, '/',\r\n\t 'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\r\n\t });\r\n\t// FF44- RegExp#toString has a wrong name\r\n\t} else if($toString.name != TO_STRING){\r\n\t define(function toString(){\r\n\t return $toString.call(this);\r\n\t });\r\n\t}\n\n/***/ },\n/* 520 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.2 String.prototype.anchor(name)\n\t__webpack_require__(29)('anchor', function(createHTML){\n\t return function anchor(name){\n\t return createHTML(this, 'a', 'name', name);\n\t }\n\t});\n\n/***/ },\n/* 521 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.3 String.prototype.big()\n\t__webpack_require__(29)('big', function(createHTML){\n\t return function big(){\n\t return createHTML(this, 'big', '', '');\n\t }\n\t});\n\n/***/ },\n/* 522 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.4 String.prototype.blink()\n\t__webpack_require__(29)('blink', function(createHTML){\n\t return function blink(){\n\t return createHTML(this, 'blink', '', '');\n\t }\n\t});\n\n/***/ },\n/* 523 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.5 String.prototype.bold()\n\t__webpack_require__(29)('bold', function(createHTML){\n\t return function bold(){\n\t return createHTML(this, 'b', '', '');\n\t }\n\t});\n\n/***/ },\n/* 524 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(1)\n\t , $at = __webpack_require__(160)(false);\n\t$export($export.P, 'String', {\n\t // 21.1.3.3 String.prototype.codePointAt(pos)\n\t codePointAt: function codePointAt(pos){\n\t return $at(this, pos);\n\t }\n\t});\n\n/***/ },\n/* 525 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n\t'use strict';\n\tvar $export = __webpack_require__(1)\n\t , toLength = __webpack_require__(19)\n\t , context = __webpack_require__(161)\n\t , ENDS_WITH = 'endsWith'\n\t , $endsWith = ''[ENDS_WITH];\n\t\n\t$export($export.P + $export.F * __webpack_require__(147)(ENDS_WITH), 'String', {\n\t endsWith: function endsWith(searchString /*, endPosition = @length */){\n\t var that = context(this, searchString, ENDS_WITH)\n\t , endPosition = arguments.length > 1 ? arguments[1] : undefined\n\t , len = toLength(that.length)\n\t , end = endPosition === undefined ? len : Math.min(toLength(endPosition), len)\n\t , search = String(searchString);\n\t return $endsWith\n\t ? $endsWith.call(that, search, end)\n\t : that.slice(end - search.length, end) === search;\n\t }\n\t});\n\n/***/ },\n/* 526 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.6 String.prototype.fixed()\n\t__webpack_require__(29)('fixed', function(createHTML){\n\t return function fixed(){\n\t return createHTML(this, 'tt', '', '');\n\t }\n\t});\n\n/***/ },\n/* 527 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.7 String.prototype.fontcolor(color)\n\t__webpack_require__(29)('fontcolor', function(createHTML){\n\t return function fontcolor(color){\n\t return createHTML(this, 'font', 'color', color);\n\t }\n\t});\n\n/***/ },\n/* 528 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.8 String.prototype.fontsize(size)\n\t__webpack_require__(29)('fontsize', function(createHTML){\n\t return function fontsize(size){\n\t return createHTML(this, 'font', 'size', size);\n\t }\n\t});\n\n/***/ },\n/* 529 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1)\n\t , toIndex = __webpack_require__(73)\n\t , fromCharCode = String.fromCharCode\n\t , $fromCodePoint = String.fromCodePoint;\n\t\n\t// length should be 1, old FF problem\n\t$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n\t // 21.1.2.2 String.fromCodePoint(...codePoints)\n\t fromCodePoint: function fromCodePoint(x){ // eslint-disable-line no-unused-vars\n\t var res = []\n\t , aLen = arguments.length\n\t , i = 0\n\t , code;\n\t while(aLen > i){\n\t code = +arguments[i++];\n\t if(toIndex(code, 0x10ffff) !== code)throw RangeError(code + ' is not a valid code point');\n\t res.push(code < 0x10000\n\t ? fromCharCode(code)\n\t : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n\t );\n\t } return res.join('');\n\t }\n\t});\n\n/***/ },\n/* 530 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n\t'use strict';\n\tvar $export = __webpack_require__(1)\n\t , context = __webpack_require__(161)\n\t , INCLUDES = 'includes';\n\t\n\t$export($export.P + $export.F * __webpack_require__(147)(INCLUDES), 'String', {\n\t includes: function includes(searchString /*, position = 0 */){\n\t return !!~context(this, searchString, INCLUDES)\n\t .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n\t }\n\t});\n\n/***/ },\n/* 531 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.9 String.prototype.italics()\n\t__webpack_require__(29)('italics', function(createHTML){\n\t return function italics(){\n\t return createHTML(this, 'i', '', '');\n\t }\n\t});\n\n/***/ },\n/* 532 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $at = __webpack_require__(160)(true);\n\t\n\t// 21.1.3.27 String.prototype[@@iterator]()\n\t__webpack_require__(154)(String, 'String', function(iterated){\n\t this._t = String(iterated); // target\n\t this._i = 0; // next index\n\t// 21.1.5.2.1 %StringIteratorPrototype%.next()\n\t}, function(){\n\t var O = this._t\n\t , index = this._i\n\t , point;\n\t if(index >= O.length)return {value: undefined, done: true};\n\t point = $at(O, index);\n\t this._i += point.length;\n\t return {value: point, done: false};\n\t});\n\n/***/ },\n/* 533 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.10 String.prototype.link(url)\n\t__webpack_require__(29)('link', function(createHTML){\n\t return function link(url){\n\t return createHTML(this, 'a', 'href', url);\n\t }\n\t});\n\n/***/ },\n/* 534 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1)\n\t , toIObject = __webpack_require__(30)\n\t , toLength = __webpack_require__(19);\n\t\n\t$export($export.S, 'String', {\n\t // 21.1.2.4 String.raw(callSite, ...substitutions)\n\t raw: function raw(callSite){\n\t var tpl = toIObject(callSite.raw)\n\t , len = toLength(tpl.length)\n\t , aLen = arguments.length\n\t , res = []\n\t , i = 0;\n\t while(len > i){\n\t res.push(String(tpl[i++]));\n\t if(i < aLen)res.push(String(arguments[i]));\n\t } return res.join('');\n\t }\n\t});\n\n/***/ },\n/* 535 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.P, 'String', {\n\t // 21.1.3.13 String.prototype.repeat(count)\n\t repeat: __webpack_require__(162)\n\t});\n\n/***/ },\n/* 536 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.11 String.prototype.small()\n\t__webpack_require__(29)('small', function(createHTML){\n\t return function small(){\n\t return createHTML(this, 'small', '', '');\n\t }\n\t});\n\n/***/ },\n/* 537 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n\t'use strict';\n\tvar $export = __webpack_require__(1)\n\t , toLength = __webpack_require__(19)\n\t , context = __webpack_require__(161)\n\t , STARTS_WITH = 'startsWith'\n\t , $startsWith = ''[STARTS_WITH];\n\t\n\t$export($export.P + $export.F * __webpack_require__(147)(STARTS_WITH), 'String', {\n\t startsWith: function startsWith(searchString /*, position = 0 */){\n\t var that = context(this, searchString, STARTS_WITH)\n\t , index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length))\n\t , search = String(searchString);\n\t return $startsWith\n\t ? $startsWith.call(that, search, index)\n\t : that.slice(index, index + search.length) === search;\n\t }\n\t});\n\n/***/ },\n/* 538 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.12 String.prototype.strike()\n\t__webpack_require__(29)('strike', function(createHTML){\n\t return function strike(){\n\t return createHTML(this, 'strike', '', '');\n\t }\n\t});\n\n/***/ },\n/* 539 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.13 String.prototype.sub()\n\t__webpack_require__(29)('sub', function(createHTML){\n\t return function sub(){\n\t return createHTML(this, 'sub', '', '');\n\t }\n\t});\n\n/***/ },\n/* 540 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// B.2.3.14 String.prototype.sup()\n\t__webpack_require__(29)('sup', function(createHTML){\n\t return function sup(){\n\t return createHTML(this, 'sup', '', '');\n\t }\n\t});\n\n/***/ },\n/* 541 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// 21.1.3.25 String.prototype.trim()\n\t__webpack_require__(85)('trim', function($trim){\n\t return function trim(){\n\t return $trim(this, 3);\n\t };\n\t});\n\n/***/ },\n/* 542 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// ECMAScript 6 symbols shim\n\tvar global = __webpack_require__(7)\n\t , has = __webpack_require__(23)\n\t , DESCRIPTORS = __webpack_require__(13)\n\t , $export = __webpack_require__(1)\n\t , redefine = __webpack_require__(28)\n\t , META = __webpack_require__(58).KEY\n\t , $fails = __webpack_require__(8)\n\t , shared = __webpack_require__(115)\n\t , setToStringTag = __webpack_require__(84)\n\t , uid = __webpack_require__(74)\n\t , wks = __webpack_require__(10)\n\t , wksExt = __webpack_require__(239)\n\t , wksDefine = __webpack_require__(166)\n\t , keyOf = __webpack_require__(417)\n\t , enumKeys = __webpack_require__(416)\n\t , isArray = __webpack_require__(151)\n\t , anObject = __webpack_require__(4)\n\t , toIObject = __webpack_require__(30)\n\t , toPrimitive = __webpack_require__(43)\n\t , createDesc = __webpack_require__(59)\n\t , _create = __webpack_require__(68)\n\t , gOPNExt = __webpack_require__(231)\n\t , $GOPD = __webpack_require__(32)\n\t , $DP = __webpack_require__(14)\n\t , $keys = __webpack_require__(70)\n\t , gOPD = $GOPD.f\n\t , dP = $DP.f\n\t , gOPN = gOPNExt.f\n\t , $Symbol = global.Symbol\n\t , $JSON = global.JSON\n\t , _stringify = $JSON && $JSON.stringify\n\t , PROTOTYPE = 'prototype'\n\t , HIDDEN = wks('_hidden')\n\t , TO_PRIMITIVE = wks('toPrimitive')\n\t , isEnum = {}.propertyIsEnumerable\n\t , SymbolRegistry = shared('symbol-registry')\n\t , AllSymbols = shared('symbols')\n\t , OPSymbols = shared('op-symbols')\n\t , ObjectProto = Object[PROTOTYPE]\n\t , USE_NATIVE = typeof $Symbol == 'function'\n\t , QObject = global.QObject;\n\t// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\n\tvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\t\n\t// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\n\tvar setSymbolDesc = DESCRIPTORS && $fails(function(){\n\t return _create(dP({}, 'a', {\n\t get: function(){ return dP(this, 'a', {value: 7}).a; }\n\t })).a != 7;\n\t}) ? function(it, key, D){\n\t var protoDesc = gOPD(ObjectProto, key);\n\t if(protoDesc)delete ObjectProto[key];\n\t dP(it, key, D);\n\t if(protoDesc && it !== ObjectProto)dP(ObjectProto, key, protoDesc);\n\t} : dP;\n\t\n\tvar wrap = function(tag){\n\t var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n\t sym._k = tag;\n\t return sym;\n\t};\n\t\n\tvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function(it){\n\t return typeof it == 'symbol';\n\t} : function(it){\n\t return it instanceof $Symbol;\n\t};\n\t\n\tvar $defineProperty = function defineProperty(it, key, D){\n\t if(it === ObjectProto)$defineProperty(OPSymbols, key, D);\n\t anObject(it);\n\t key = toPrimitive(key, true);\n\t anObject(D);\n\t if(has(AllSymbols, key)){\n\t if(!D.enumerable){\n\t if(!has(it, HIDDEN))dP(it, HIDDEN, createDesc(1, {}));\n\t it[HIDDEN][key] = true;\n\t } else {\n\t if(has(it, HIDDEN) && it[HIDDEN][key])it[HIDDEN][key] = false;\n\t D = _create(D, {enumerable: createDesc(0, false)});\n\t } return setSymbolDesc(it, key, D);\n\t } return dP(it, key, D);\n\t};\n\tvar $defineProperties = function defineProperties(it, P){\n\t anObject(it);\n\t var keys = enumKeys(P = toIObject(P))\n\t , i = 0\n\t , l = keys.length\n\t , key;\n\t while(l > i)$defineProperty(it, key = keys[i++], P[key]);\n\t return it;\n\t};\n\tvar $create = function create(it, P){\n\t return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n\t};\n\tvar $propertyIsEnumerable = function propertyIsEnumerable(key){\n\t var E = isEnum.call(this, key = toPrimitive(key, true));\n\t if(this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return false;\n\t return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n\t};\n\tvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key){\n\t it = toIObject(it);\n\t key = toPrimitive(key, true);\n\t if(it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key))return;\n\t var D = gOPD(it, key);\n\t if(D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key]))D.enumerable = true;\n\t return D;\n\t};\n\tvar $getOwnPropertyNames = function getOwnPropertyNames(it){\n\t var names = gOPN(toIObject(it))\n\t , result = []\n\t , i = 0\n\t , key;\n\t while(names.length > i){\n\t if(!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META)result.push(key);\n\t } return result;\n\t};\n\tvar $getOwnPropertySymbols = function getOwnPropertySymbols(it){\n\t var IS_OP = it === ObjectProto\n\t , names = gOPN(IS_OP ? OPSymbols : toIObject(it))\n\t , result = []\n\t , i = 0\n\t , key;\n\t while(names.length > i){\n\t if(has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true))result.push(AllSymbols[key]);\n\t } return result;\n\t};\n\t\n\t// 19.4.1.1 Symbol([description])\n\tif(!USE_NATIVE){\n\t $Symbol = function Symbol(){\n\t if(this instanceof $Symbol)throw TypeError('Symbol is not a constructor!');\n\t var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n\t var $set = function(value){\n\t if(this === ObjectProto)$set.call(OPSymbols, value);\n\t if(has(this, HIDDEN) && has(this[HIDDEN], tag))this[HIDDEN][tag] = false;\n\t setSymbolDesc(this, tag, createDesc(1, value));\n\t };\n\t if(DESCRIPTORS && setter)setSymbolDesc(ObjectProto, tag, {configurable: true, set: $set});\n\t return wrap(tag);\n\t };\n\t redefine($Symbol[PROTOTYPE], 'toString', function toString(){\n\t return this._k;\n\t });\n\t\n\t $GOPD.f = $getOwnPropertyDescriptor;\n\t $DP.f = $defineProperty;\n\t __webpack_require__(69).f = gOPNExt.f = $getOwnPropertyNames;\n\t __webpack_require__(93).f = $propertyIsEnumerable;\n\t __webpack_require__(113).f = $getOwnPropertySymbols;\n\t\n\t if(DESCRIPTORS && !__webpack_require__(67)){\n\t redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n\t }\n\t\n\t wksExt.f = function(name){\n\t return wrap(wks(name));\n\t }\n\t}\n\t\n\t$export($export.G + $export.W + $export.F * !USE_NATIVE, {Symbol: $Symbol});\n\t\n\tfor(var symbols = (\n\t // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n\t 'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n\t).split(','), i = 0; symbols.length > i; )wks(symbols[i++]);\n\t\n\tfor(var symbols = $keys(wks.store), i = 0; symbols.length > i; )wksDefine(symbols[i++]);\n\t\n\t$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n\t // 19.4.2.1 Symbol.for(key)\n\t 'for': function(key){\n\t return has(SymbolRegistry, key += '')\n\t ? SymbolRegistry[key]\n\t : SymbolRegistry[key] = $Symbol(key);\n\t },\n\t // 19.4.2.5 Symbol.keyFor(sym)\n\t keyFor: function keyFor(key){\n\t if(isSymbol(key))return keyOf(SymbolRegistry, key);\n\t throw TypeError(key + ' is not a symbol!');\n\t },\n\t useSetter: function(){ setter = true; },\n\t useSimple: function(){ setter = false; }\n\t});\n\t\n\t$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n\t // 19.1.2.2 Object.create(O [, Properties])\n\t create: $create,\n\t // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n\t defineProperty: $defineProperty,\n\t // 19.1.2.3 Object.defineProperties(O, Properties)\n\t defineProperties: $defineProperties,\n\t // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n\t getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n\t // 19.1.2.7 Object.getOwnPropertyNames(O)\n\t getOwnPropertyNames: $getOwnPropertyNames,\n\t // 19.1.2.8 Object.getOwnPropertySymbols(O)\n\t getOwnPropertySymbols: $getOwnPropertySymbols\n\t});\n\t\n\t// 24.3.2 JSON.stringify(value [, replacer [, space]])\n\t$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function(){\n\t var S = $Symbol();\n\t // MS Edge converts symbol values to JSON as {}\n\t // WebKit converts symbol values to JSON as null\n\t // V8 throws on boxed symbols\n\t return _stringify([S]) != '[null]' || _stringify({a: S}) != '{}' || _stringify(Object(S)) != '{}';\n\t})), 'JSON', {\n\t stringify: function stringify(it){\n\t if(it === undefined || isSymbol(it))return; // IE8 returns string on undefined\n\t var args = [it]\n\t , i = 1\n\t , replacer, $replacer;\n\t while(arguments.length > i)args.push(arguments[i++]);\n\t replacer = args[1];\n\t if(typeof replacer == 'function')$replacer = replacer;\n\t if($replacer || !isArray(replacer))replacer = function(key, value){\n\t if($replacer)value = $replacer.call(this, key, value);\n\t if(!isSymbol(value))return value;\n\t };\n\t args[1] = replacer;\n\t return _stringify.apply($JSON, args);\n\t }\n\t});\n\t\n\t// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n\t$Symbol[PROTOTYPE][TO_PRIMITIVE] || __webpack_require__(24)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n\t// 19.4.3.5 Symbol.prototype[@@toStringTag]\n\tsetToStringTag($Symbol, 'Symbol');\n\t// 20.2.1.9 Math[@@toStringTag]\n\tsetToStringTag(Math, 'Math', true);\n\t// 24.3.3 JSON[@@toStringTag]\n\tsetToStringTag(global.JSON, 'JSON', true);\n\n/***/ },\n/* 543 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar $export = __webpack_require__(1)\n\t , $typed = __webpack_require__(116)\n\t , buffer = __webpack_require__(165)\n\t , anObject = __webpack_require__(4)\n\t , toIndex = __webpack_require__(73)\n\t , toLength = __webpack_require__(19)\n\t , isObject = __webpack_require__(9)\n\t , TYPED_ARRAY = __webpack_require__(10)('typed_array')\n\t , ArrayBuffer = __webpack_require__(7).ArrayBuffer\n\t , speciesConstructor = __webpack_require__(159)\n\t , $ArrayBuffer = buffer.ArrayBuffer\n\t , $DataView = buffer.DataView\n\t , $isView = $typed.ABV && ArrayBuffer.isView\n\t , $slice = $ArrayBuffer.prototype.slice\n\t , VIEW = $typed.VIEW\n\t , ARRAY_BUFFER = 'ArrayBuffer';\n\t\n\t$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), {ArrayBuffer: $ArrayBuffer});\n\t\n\t$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {\n\t // 24.1.3.1 ArrayBuffer.isView(arg)\n\t isView: function isView(it){\n\t return $isView && $isView(it) || isObject(it) && VIEW in it;\n\t }\n\t});\n\t\n\t$export($export.P + $export.U + $export.F * __webpack_require__(8)(function(){\n\t return !new $ArrayBuffer(2).slice(1, undefined).byteLength;\n\t}), ARRAY_BUFFER, {\n\t // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)\n\t slice: function slice(start, end){\n\t if($slice !== undefined && end === undefined)return $slice.call(anObject(this), start); // FF fix\n\t var len = anObject(this).byteLength\n\t , first = toIndex(start, len)\n\t , final = toIndex(end === undefined ? len : end, len)\n\t , result = new (speciesConstructor(this, $ArrayBuffer))(toLength(final - first))\n\t , viewS = new $DataView(this)\n\t , viewT = new $DataView(result)\n\t , index = 0;\n\t while(first < final){\n\t viewT.setUint8(index++, viewS.getUint8(first++));\n\t } return result;\n\t }\n\t});\n\t\n\t__webpack_require__(72)(ARRAY_BUFFER);\n\n/***/ },\n/* 544 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1);\n\t$export($export.G + $export.W + $export.F * !__webpack_require__(116).ABV, {\n\t DataView: __webpack_require__(165).DataView\n\t});\n\n/***/ },\n/* 545 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(53)('Float32', 4, function(init){\n\t return function Float32Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 546 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(53)('Float64', 8, function(init){\n\t return function Float64Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 547 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(53)('Int16', 2, function(init){\n\t return function Int16Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 548 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(53)('Int32', 4, function(init){\n\t return function Int32Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 549 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(53)('Int8', 1, function(init){\n\t return function Int8Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 550 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(53)('Uint16', 2, function(init){\n\t return function Uint16Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 551 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(53)('Uint32', 4, function(init){\n\t return function Uint32Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 552 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(53)('Uint8', 1, function(init){\n\t return function Uint8Array(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t});\n\n/***/ },\n/* 553 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(53)('Uint8', 1, function(init){\n\t return function Uint8ClampedArray(data, byteOffset, length){\n\t return init(this, data, byteOffset, length);\n\t };\n\t}, true);\n\n/***/ },\n/* 554 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar weak = __webpack_require__(224);\n\t\n\t// 23.4 WeakSet Objects\n\t__webpack_require__(106)('WeakSet', function(get){\n\t return function WeakSet(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n\t}, {\n\t // 23.4.3.1 WeakSet.prototype.add(value)\n\t add: function add(value){\n\t return weak.def(this, value, true);\n\t }\n\t}, weak, false, true);\n\n/***/ },\n/* 555 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// https://github.com/tc39/Array.prototype.includes\n\tvar $export = __webpack_require__(1)\n\t , $includes = __webpack_require__(105)(true);\n\t\n\t$export($export.P, 'Array', {\n\t includes: function includes(el /*, fromIndex = 0 */){\n\t return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n\t }\n\t});\n\t\n\t__webpack_require__(81)('includes');\n\n/***/ },\n/* 556 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://github.com/rwaldron/tc39-notes/blob/master/es6/2014-09/sept-25.md#510-globalasap-for-enqueuing-a-microtask\r\n\tvar $export = __webpack_require__(1)\r\n\t , microtask = __webpack_require__(157)()\r\n\t , process = __webpack_require__(7).process\r\n\t , isNode = __webpack_require__(35)(process) == 'process';\r\n\t\r\n\t$export($export.G, {\r\n\t asap: function asap(fn){\r\n\t var domain = isNode && process.domain;\r\n\t microtask(domain ? domain.bind(fn) : fn);\r\n\t }\r\n\t});\n\n/***/ },\n/* 557 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://github.com/ljharb/proposal-is-error\n\tvar $export = __webpack_require__(1)\n\t , cof = __webpack_require__(35);\n\t\n\t$export($export.S, 'Error', {\n\t isError: function isError(it){\n\t return cof(it) === 'Error';\n\t }\n\t});\n\n/***/ },\n/* 558 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://github.com/DavidBruant/Map-Set.prototype.toJSON\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.P + $export.R, 'Map', {toJSON: __webpack_require__(223)('Map')});\n\n/***/ },\n/* 559 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Math', {\n\t iaddh: function iaddh(x0, x1, y0, y1){\n\t var $x0 = x0 >>> 0\n\t , $x1 = x1 >>> 0\n\t , $y0 = y0 >>> 0;\n\t return $x1 + (y1 >>> 0) + (($x0 & $y0 | ($x0 | $y0) & ~($x0 + $y0 >>> 0)) >>> 31) | 0;\n\t }\n\t});\n\n/***/ },\n/* 560 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Math', {\n\t imulh: function imulh(u, v){\n\t var UINT16 = 0xffff\n\t , $u = +u\n\t , $v = +v\n\t , u0 = $u & UINT16\n\t , v0 = $v & UINT16\n\t , u1 = $u >> 16\n\t , v1 = $v >> 16\n\t , t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);\n\t return u1 * v1 + (t >> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >> 16);\n\t }\n\t});\n\n/***/ },\n/* 561 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Math', {\n\t isubh: function isubh(x0, x1, y0, y1){\n\t var $x0 = x0 >>> 0\n\t , $x1 = x1 >>> 0\n\t , $y0 = y0 >>> 0;\n\t return $x1 - (y1 >>> 0) - ((~$x0 & $y0 | ~($x0 ^ $y0) & $x0 - $y0 >>> 0) >>> 31) | 0;\n\t }\n\t});\n\n/***/ },\n/* 562 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://gist.github.com/BrendanEich/4294d5c212a6d2254703\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'Math', {\n\t umulh: function umulh(u, v){\n\t var UINT16 = 0xffff\n\t , $u = +u\n\t , $v = +v\n\t , u0 = $u & UINT16\n\t , v0 = $v & UINT16\n\t , u1 = $u >>> 16\n\t , v1 = $v >>> 16\n\t , t = (u1 * v0 >>> 0) + (u0 * v0 >>> 16);\n\t return u1 * v1 + (t >>> 16) + ((u0 * v1 >>> 0) + (t & UINT16) >>> 16);\n\t }\n\t});\n\n/***/ },\n/* 563 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , toObject = __webpack_require__(20)\r\n\t , aFunction = __webpack_require__(27)\r\n\t , $defineProperty = __webpack_require__(14);\r\n\t\r\n\t// B.2.2.2 Object.prototype.__defineGetter__(P, getter)\r\n\t__webpack_require__(13) && $export($export.P + __webpack_require__(112), 'Object', {\r\n\t __defineGetter__: function __defineGetter__(P, getter){\r\n\t $defineProperty.f(toObject(this), P, {get: aFunction(getter), enumerable: true, configurable: true});\r\n\t }\r\n\t});\n\n/***/ },\n/* 564 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , toObject = __webpack_require__(20)\r\n\t , aFunction = __webpack_require__(27)\r\n\t , $defineProperty = __webpack_require__(14);\r\n\t\r\n\t// B.2.2.3 Object.prototype.__defineSetter__(P, setter)\r\n\t__webpack_require__(13) && $export($export.P + __webpack_require__(112), 'Object', {\r\n\t __defineSetter__: function __defineSetter__(P, setter){\r\n\t $defineProperty.f(toObject(this), P, {set: aFunction(setter), enumerable: true, configurable: true});\r\n\t }\r\n\t});\n\n/***/ },\n/* 565 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://github.com/tc39/proposal-object-values-entries\n\tvar $export = __webpack_require__(1)\n\t , $entries = __webpack_require__(233)(true);\n\t\n\t$export($export.S, 'Object', {\n\t entries: function entries(it){\n\t return $entries(it);\n\t }\n\t});\n\n/***/ },\n/* 566 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://github.com/tc39/proposal-object-getownpropertydescriptors\n\tvar $export = __webpack_require__(1)\n\t , ownKeys = __webpack_require__(234)\n\t , toIObject = __webpack_require__(30)\n\t , gOPD = __webpack_require__(32)\n\t , createProperty = __webpack_require__(144);\n\t\n\t$export($export.S, 'Object', {\n\t getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object){\n\t var O = toIObject(object)\n\t , getDesc = gOPD.f\n\t , keys = ownKeys(O)\n\t , result = {}\n\t , i = 0\n\t , key, D;\n\t while(keys.length > i)createProperty(result, key = keys[i++], getDesc(O, key));\n\t return result;\n\t }\n\t});\n\n/***/ },\n/* 567 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , toObject = __webpack_require__(20)\r\n\t , toPrimitive = __webpack_require__(43)\r\n\t , getPrototypeOf = __webpack_require__(33)\r\n\t , getOwnPropertyDescriptor = __webpack_require__(32).f;\r\n\t\r\n\t// B.2.2.4 Object.prototype.__lookupGetter__(P)\r\n\t__webpack_require__(13) && $export($export.P + __webpack_require__(112), 'Object', {\r\n\t __lookupGetter__: function __lookupGetter__(P){\r\n\t var O = toObject(this)\r\n\t , K = toPrimitive(P, true)\r\n\t , D;\r\n\t do {\r\n\t if(D = getOwnPropertyDescriptor(O, K))return D.get;\r\n\t } while(O = getPrototypeOf(O));\r\n\t }\r\n\t});\n\n/***/ },\n/* 568 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\tvar $export = __webpack_require__(1)\r\n\t , toObject = __webpack_require__(20)\r\n\t , toPrimitive = __webpack_require__(43)\r\n\t , getPrototypeOf = __webpack_require__(33)\r\n\t , getOwnPropertyDescriptor = __webpack_require__(32).f;\r\n\t\r\n\t// B.2.2.5 Object.prototype.__lookupSetter__(P)\r\n\t__webpack_require__(13) && $export($export.P + __webpack_require__(112), 'Object', {\r\n\t __lookupSetter__: function __lookupSetter__(P){\r\n\t var O = toObject(this)\r\n\t , K = toPrimitive(P, true)\r\n\t , D;\r\n\t do {\r\n\t if(D = getOwnPropertyDescriptor(O, K))return D.set;\r\n\t } while(O = getPrototypeOf(O));\r\n\t }\r\n\t});\n\n/***/ },\n/* 569 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://github.com/tc39/proposal-object-values-entries\n\tvar $export = __webpack_require__(1)\n\t , $values = __webpack_require__(233)(false);\n\t\n\t$export($export.S, 'Object', {\n\t values: function values(it){\n\t return $values(it);\n\t }\n\t});\n\n/***/ },\n/* 570 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\t// https://github.com/zenparsing/es-observable\r\n\tvar $export = __webpack_require__(1)\r\n\t , global = __webpack_require__(7)\r\n\t , core = __webpack_require__(41)\r\n\t , microtask = __webpack_require__(157)()\r\n\t , OBSERVABLE = __webpack_require__(10)('observable')\r\n\t , aFunction = __webpack_require__(27)\r\n\t , anObject = __webpack_require__(4)\r\n\t , anInstance = __webpack_require__(57)\r\n\t , redefineAll = __webpack_require__(71)\r\n\t , hide = __webpack_require__(24)\r\n\t , forOf = __webpack_require__(83)\r\n\t , RETURN = forOf.RETURN;\r\n\t\r\n\tvar getMethod = function(fn){\r\n\t return fn == null ? undefined : aFunction(fn);\r\n\t};\r\n\t\r\n\tvar cleanupSubscription = function(subscription){\r\n\t var cleanup = subscription._c;\r\n\t if(cleanup){\r\n\t subscription._c = undefined;\r\n\t cleanup();\r\n\t }\r\n\t};\r\n\t\r\n\tvar subscriptionClosed = function(subscription){\r\n\t return subscription._o === undefined;\r\n\t};\r\n\t\r\n\tvar closeSubscription = function(subscription){\r\n\t if(!subscriptionClosed(subscription)){\r\n\t subscription._o = undefined;\r\n\t cleanupSubscription(subscription);\r\n\t }\r\n\t};\r\n\t\r\n\tvar Subscription = function(observer, subscriber){\r\n\t anObject(observer);\r\n\t this._c = undefined;\r\n\t this._o = observer;\r\n\t observer = new SubscriptionObserver(this);\r\n\t try {\r\n\t var cleanup = subscriber(observer)\r\n\t , subscription = cleanup;\r\n\t if(cleanup != null){\r\n\t if(typeof cleanup.unsubscribe === 'function')cleanup = function(){ subscription.unsubscribe(); };\r\n\t else aFunction(cleanup);\r\n\t this._c = cleanup;\r\n\t }\r\n\t } catch(e){\r\n\t observer.error(e);\r\n\t return;\r\n\t } if(subscriptionClosed(this))cleanupSubscription(this);\r\n\t};\r\n\t\r\n\tSubscription.prototype = redefineAll({}, {\r\n\t unsubscribe: function unsubscribe(){ closeSubscription(this); }\r\n\t});\r\n\t\r\n\tvar SubscriptionObserver = function(subscription){\r\n\t this._s = subscription;\r\n\t};\r\n\t\r\n\tSubscriptionObserver.prototype = redefineAll({}, {\r\n\t next: function next(value){\r\n\t var subscription = this._s;\r\n\t if(!subscriptionClosed(subscription)){\r\n\t var observer = subscription._o;\r\n\t try {\r\n\t var m = getMethod(observer.next);\r\n\t if(m)return m.call(observer, value);\r\n\t } catch(e){\r\n\t try {\r\n\t closeSubscription(subscription);\r\n\t } finally {\r\n\t throw e;\r\n\t }\r\n\t }\r\n\t }\r\n\t },\r\n\t error: function error(value){\r\n\t var subscription = this._s;\r\n\t if(subscriptionClosed(subscription))throw value;\r\n\t var observer = subscription._o;\r\n\t subscription._o = undefined;\r\n\t try {\r\n\t var m = getMethod(observer.error);\r\n\t if(!m)throw value;\r\n\t value = m.call(observer, value);\r\n\t } catch(e){\r\n\t try {\r\n\t cleanupSubscription(subscription);\r\n\t } finally {\r\n\t throw e;\r\n\t }\r\n\t } cleanupSubscription(subscription);\r\n\t return value;\r\n\t },\r\n\t complete: function complete(value){\r\n\t var subscription = this._s;\r\n\t if(!subscriptionClosed(subscription)){\r\n\t var observer = subscription._o;\r\n\t subscription._o = undefined;\r\n\t try {\r\n\t var m = getMethod(observer.complete);\r\n\t value = m ? m.call(observer, value) : undefined;\r\n\t } catch(e){\r\n\t try {\r\n\t cleanupSubscription(subscription);\r\n\t } finally {\r\n\t throw e;\r\n\t }\r\n\t } cleanupSubscription(subscription);\r\n\t return value;\r\n\t }\r\n\t }\r\n\t});\r\n\t\r\n\tvar $Observable = function Observable(subscriber){\r\n\t anInstance(this, $Observable, 'Observable', '_f')._f = aFunction(subscriber);\r\n\t};\r\n\t\r\n\tredefineAll($Observable.prototype, {\r\n\t subscribe: function subscribe(observer){\r\n\t return new Subscription(observer, this._f);\r\n\t },\r\n\t forEach: function forEach(fn){\r\n\t var that = this;\r\n\t return new (core.Promise || global.Promise)(function(resolve, reject){\r\n\t aFunction(fn);\r\n\t var subscription = that.subscribe({\r\n\t next : function(value){\r\n\t try {\r\n\t return fn(value);\r\n\t } catch(e){\r\n\t reject(e);\r\n\t subscription.unsubscribe();\r\n\t }\r\n\t },\r\n\t error: reject,\r\n\t complete: resolve\r\n\t });\r\n\t });\r\n\t }\r\n\t});\r\n\t\r\n\tredefineAll($Observable, {\r\n\t from: function from(x){\r\n\t var C = typeof this === 'function' ? this : $Observable;\r\n\t var method = getMethod(anObject(x)[OBSERVABLE]);\r\n\t if(method){\r\n\t var observable = anObject(method.call(x));\r\n\t return observable.constructor === C ? observable : new C(function(observer){\r\n\t return observable.subscribe(observer);\r\n\t });\r\n\t }\r\n\t return new C(function(observer){\r\n\t var done = false;\r\n\t microtask(function(){\r\n\t if(!done){\r\n\t try {\r\n\t if(forOf(x, false, function(it){\r\n\t observer.next(it);\r\n\t if(done)return RETURN;\r\n\t }) === RETURN)return;\r\n\t } catch(e){\r\n\t if(done)throw e;\r\n\t observer.error(e);\r\n\t return;\r\n\t } observer.complete();\r\n\t }\r\n\t });\r\n\t return function(){ done = true; };\r\n\t });\r\n\t },\r\n\t of: function of(){\r\n\t for(var i = 0, l = arguments.length, items = Array(l); i < l;)items[i] = arguments[i++];\r\n\t return new (typeof this === 'function' ? this : $Observable)(function(observer){\r\n\t var done = false;\r\n\t microtask(function(){\r\n\t if(!done){\r\n\t for(var i = 0; i < items.length; ++i){\r\n\t observer.next(items[i]);\r\n\t if(done)return;\r\n\t } observer.complete();\r\n\t }\r\n\t });\r\n\t return function(){ done = true; };\r\n\t });\r\n\t }\r\n\t});\r\n\t\r\n\thide($Observable.prototype, OBSERVABLE, function(){ return this; });\r\n\t\r\n\t$export($export.G, {Observable: $Observable});\r\n\t\r\n\t__webpack_require__(72)('Observable');\n\n/***/ },\n/* 571 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(52)\n\t , anObject = __webpack_require__(4)\n\t , toMetaKey = metadata.key\n\t , ordinaryDefineOwnMetadata = metadata.set;\n\t\n\tmetadata.exp({defineMetadata: function defineMetadata(metadataKey, metadataValue, target, targetKey){\n\t ordinaryDefineOwnMetadata(metadataKey, metadataValue, anObject(target), toMetaKey(targetKey));\n\t}});\n\n/***/ },\n/* 572 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(52)\n\t , anObject = __webpack_require__(4)\n\t , toMetaKey = metadata.key\n\t , getOrCreateMetadataMap = metadata.map\n\t , store = metadata.store;\n\t\n\tmetadata.exp({deleteMetadata: function deleteMetadata(metadataKey, target /*, targetKey */){\n\t var targetKey = arguments.length < 3 ? undefined : toMetaKey(arguments[2])\n\t , metadataMap = getOrCreateMetadataMap(anObject(target), targetKey, false);\n\t if(metadataMap === undefined || !metadataMap['delete'](metadataKey))return false;\n\t if(metadataMap.size)return true;\n\t var targetMetadata = store.get(target);\n\t targetMetadata['delete'](targetKey);\n\t return !!targetMetadata.size || store['delete'](target);\n\t}});\n\n/***/ },\n/* 573 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar Set = __webpack_require__(242)\n\t , from = __webpack_require__(219)\n\t , metadata = __webpack_require__(52)\n\t , anObject = __webpack_require__(4)\n\t , getPrototypeOf = __webpack_require__(33)\n\t , ordinaryOwnMetadataKeys = metadata.keys\n\t , toMetaKey = metadata.key;\n\t\n\tvar ordinaryMetadataKeys = function(O, P){\n\t var oKeys = ordinaryOwnMetadataKeys(O, P)\n\t , parent = getPrototypeOf(O);\n\t if(parent === null)return oKeys;\n\t var pKeys = ordinaryMetadataKeys(parent, P);\n\t return pKeys.length ? oKeys.length ? from(new Set(oKeys.concat(pKeys))) : pKeys : oKeys;\n\t};\n\t\n\tmetadata.exp({getMetadataKeys: function getMetadataKeys(target /*, targetKey */){\n\t return ordinaryMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n\t}});\n\n/***/ },\n/* 574 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(52)\n\t , anObject = __webpack_require__(4)\n\t , getPrototypeOf = __webpack_require__(33)\n\t , ordinaryHasOwnMetadata = metadata.has\n\t , ordinaryGetOwnMetadata = metadata.get\n\t , toMetaKey = metadata.key;\n\t\n\tvar ordinaryGetMetadata = function(MetadataKey, O, P){\n\t var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n\t if(hasOwn)return ordinaryGetOwnMetadata(MetadataKey, O, P);\n\t var parent = getPrototypeOf(O);\n\t return parent !== null ? ordinaryGetMetadata(MetadataKey, parent, P) : undefined;\n\t};\n\t\n\tmetadata.exp({getMetadata: function getMetadata(metadataKey, target /*, targetKey */){\n\t return ordinaryGetMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n\t}});\n\n/***/ },\n/* 575 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(52)\n\t , anObject = __webpack_require__(4)\n\t , ordinaryOwnMetadataKeys = metadata.keys\n\t , toMetaKey = metadata.key;\n\t\n\tmetadata.exp({getOwnMetadataKeys: function getOwnMetadataKeys(target /*, targetKey */){\n\t return ordinaryOwnMetadataKeys(anObject(target), arguments.length < 2 ? undefined : toMetaKey(arguments[1]));\n\t}});\n\n/***/ },\n/* 576 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(52)\n\t , anObject = __webpack_require__(4)\n\t , ordinaryGetOwnMetadata = metadata.get\n\t , toMetaKey = metadata.key;\n\t\n\tmetadata.exp({getOwnMetadata: function getOwnMetadata(metadataKey, target /*, targetKey */){\n\t return ordinaryGetOwnMetadata(metadataKey, anObject(target)\n\t , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n\t}});\n\n/***/ },\n/* 577 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(52)\n\t , anObject = __webpack_require__(4)\n\t , getPrototypeOf = __webpack_require__(33)\n\t , ordinaryHasOwnMetadata = metadata.has\n\t , toMetaKey = metadata.key;\n\t\n\tvar ordinaryHasMetadata = function(MetadataKey, O, P){\n\t var hasOwn = ordinaryHasOwnMetadata(MetadataKey, O, P);\n\t if(hasOwn)return true;\n\t var parent = getPrototypeOf(O);\n\t return parent !== null ? ordinaryHasMetadata(MetadataKey, parent, P) : false;\n\t};\n\t\n\tmetadata.exp({hasMetadata: function hasMetadata(metadataKey, target /*, targetKey */){\n\t return ordinaryHasMetadata(metadataKey, anObject(target), arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n\t}});\n\n/***/ },\n/* 578 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(52)\n\t , anObject = __webpack_require__(4)\n\t , ordinaryHasOwnMetadata = metadata.has\n\t , toMetaKey = metadata.key;\n\t\n\tmetadata.exp({hasOwnMetadata: function hasOwnMetadata(metadataKey, target /*, targetKey */){\n\t return ordinaryHasOwnMetadata(metadataKey, anObject(target)\n\t , arguments.length < 3 ? undefined : toMetaKey(arguments[2]));\n\t}});\n\n/***/ },\n/* 579 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar metadata = __webpack_require__(52)\n\t , anObject = __webpack_require__(4)\n\t , aFunction = __webpack_require__(27)\n\t , toMetaKey = metadata.key\n\t , ordinaryDefineOwnMetadata = metadata.set;\n\t\n\tmetadata.exp({metadata: function metadata(metadataKey, metadataValue){\n\t return function decorator(target, targetKey){\n\t ordinaryDefineOwnMetadata(\n\t metadataKey, metadataValue,\n\t (targetKey !== undefined ? anObject : aFunction)(target),\n\t toMetaKey(targetKey)\n\t );\n\t };\n\t}});\n\n/***/ },\n/* 580 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://github.com/DavidBruant/Map-Set.prototype.toJSON\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.P + $export.R, 'Set', {toJSON: __webpack_require__(223)('Set')});\n\n/***/ },\n/* 581 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// https://github.com/mathiasbynens/String.prototype.at\n\tvar $export = __webpack_require__(1)\n\t , $at = __webpack_require__(160)(true);\n\t\n\t$export($export.P, 'String', {\n\t at: function at(pos){\n\t return $at(this, pos);\n\t }\n\t});\n\n/***/ },\n/* 582 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\r\n\t// https://tc39.github.io/String.prototype.matchAll/\r\n\tvar $export = __webpack_require__(1)\r\n\t , defined = __webpack_require__(36)\r\n\t , toLength = __webpack_require__(19)\r\n\t , isRegExp = __webpack_require__(110)\r\n\t , getFlags = __webpack_require__(108)\r\n\t , RegExpProto = RegExp.prototype;\r\n\t\r\n\tvar $RegExpStringIterator = function(regexp, string){\r\n\t this._r = regexp;\r\n\t this._s = string;\r\n\t};\r\n\t\r\n\t__webpack_require__(153)($RegExpStringIterator, 'RegExp String', function next(){\r\n\t var match = this._r.exec(this._s);\r\n\t return {value: match, done: match === null};\r\n\t});\r\n\t\r\n\t$export($export.P, 'String', {\r\n\t matchAll: function matchAll(regexp){\r\n\t defined(this);\r\n\t if(!isRegExp(regexp))throw TypeError(regexp + ' is not a regexp!');\r\n\t var S = String(this)\r\n\t , flags = 'flags' in RegExpProto ? String(regexp.flags) : getFlags.call(regexp)\r\n\t , rx = new RegExp(regexp.source, ~flags.indexOf('g') ? flags : 'g' + flags);\r\n\t rx.lastIndex = toLength(regexp.lastIndex);\r\n\t return new $RegExpStringIterator(rx, S);\r\n\t }\r\n\t});\n\n/***/ },\n/* 583 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// https://github.com/tc39/proposal-string-pad-start-end\n\tvar $export = __webpack_require__(1)\n\t , $pad = __webpack_require__(238);\n\t\n\t$export($export.P, 'String', {\n\t padEnd: function padEnd(maxLength /*, fillString = ' ' */){\n\t return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n\t }\n\t});\n\n/***/ },\n/* 584 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// https://github.com/tc39/proposal-string-pad-start-end\n\tvar $export = __webpack_require__(1)\n\t , $pad = __webpack_require__(238);\n\t\n\t$export($export.P, 'String', {\n\t padStart: function padStart(maxLength /*, fillString = ' ' */){\n\t return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n\t }\n\t});\n\n/***/ },\n/* 585 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\n\t__webpack_require__(85)('trimLeft', function($trim){\n\t return function trimLeft(){\n\t return $trim(this, 1);\n\t };\n\t}, 'trimStart');\n\n/***/ },\n/* 586 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\n\t__webpack_require__(85)('trimRight', function($trim){\n\t return function trimRight(){\n\t return $trim(this, 2);\n\t };\n\t}, 'trimEnd');\n\n/***/ },\n/* 587 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(166)('asyncIterator');\n\n/***/ },\n/* 588 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(166)('observable');\n\n/***/ },\n/* 589 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// https://github.com/ljharb/proposal-global\n\tvar $export = __webpack_require__(1);\n\t\n\t$export($export.S, 'System', {global: __webpack_require__(7)});\n\n/***/ },\n/* 590 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $iterators = __webpack_require__(168)\n\t , redefine = __webpack_require__(28)\n\t , global = __webpack_require__(7)\n\t , hide = __webpack_require__(24)\n\t , Iterators = __webpack_require__(66)\n\t , wks = __webpack_require__(10)\n\t , ITERATOR = wks('iterator')\n\t , TO_STRING_TAG = wks('toStringTag')\n\t , ArrayValues = Iterators.Array;\n\t\n\tfor(var collections = ['NodeList', 'DOMTokenList', 'MediaList', 'StyleSheetList', 'CSSRuleList'], i = 0; i < 5; i++){\n\t var NAME = collections[i]\n\t , Collection = global[NAME]\n\t , proto = Collection && Collection.prototype\n\t , key;\n\t if(proto){\n\t if(!proto[ITERATOR])hide(proto, ITERATOR, ArrayValues);\n\t if(!proto[TO_STRING_TAG])hide(proto, TO_STRING_TAG, NAME);\n\t Iterators[NAME] = ArrayValues;\n\t for(key in $iterators)if(!proto[key])redefine(proto, key, $iterators[key], true);\n\t }\n\t}\n\n/***/ },\n/* 591 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar $export = __webpack_require__(1)\n\t , $task = __webpack_require__(164);\n\t$export($export.G + $export.B, {\n\t setImmediate: $task.set,\n\t clearImmediate: $task.clear\n\t});\n\n/***/ },\n/* 592 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t// ie9- setTimeout & setInterval additional parameters fix\n\tvar global = __webpack_require__(7)\n\t , $export = __webpack_require__(1)\n\t , invoke = __webpack_require__(109)\n\t , partial = __webpack_require__(418)\n\t , navigator = global.navigator\n\t , MSIE = !!navigator && /MSIE .\\./.test(navigator.userAgent); // <- dirty ie9- check\n\tvar wrap = function(set){\n\t return MSIE ? function(fn, time /*, ...args */){\n\t return set(invoke(\n\t partial,\n\t [].slice.call(arguments, 2),\n\t typeof fn == 'function' ? fn : Function(fn)\n\t ), time);\n\t } : set;\n\t};\n\t$export($export.G + $export.B + $export.F * MSIE, {\n\t setTimeout: wrap(global.setTimeout),\n\t setInterval: wrap(global.setInterval)\n\t});\n\n/***/ },\n/* 593 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(542);\n\t__webpack_require__(481);\n\t__webpack_require__(483);\n\t__webpack_require__(482);\n\t__webpack_require__(485);\n\t__webpack_require__(487);\n\t__webpack_require__(492);\n\t__webpack_require__(486);\n\t__webpack_require__(484);\n\t__webpack_require__(494);\n\t__webpack_require__(493);\n\t__webpack_require__(489);\n\t__webpack_require__(490);\n\t__webpack_require__(488);\n\t__webpack_require__(480);\n\t__webpack_require__(491);\n\t__webpack_require__(495);\n\t__webpack_require__(496);\n\t__webpack_require__(448);\n\t__webpack_require__(450);\n\t__webpack_require__(449);\n\t__webpack_require__(498);\n\t__webpack_require__(497);\n\t__webpack_require__(468);\n\t__webpack_require__(478);\n\t__webpack_require__(479);\n\t__webpack_require__(469);\n\t__webpack_require__(470);\n\t__webpack_require__(471);\n\t__webpack_require__(472);\n\t__webpack_require__(473);\n\t__webpack_require__(474);\n\t__webpack_require__(475);\n\t__webpack_require__(476);\n\t__webpack_require__(477);\n\t__webpack_require__(451);\n\t__webpack_require__(452);\n\t__webpack_require__(453);\n\t__webpack_require__(454);\n\t__webpack_require__(455);\n\t__webpack_require__(456);\n\t__webpack_require__(457);\n\t__webpack_require__(458);\n\t__webpack_require__(459);\n\t__webpack_require__(460);\n\t__webpack_require__(461);\n\t__webpack_require__(462);\n\t__webpack_require__(463);\n\t__webpack_require__(464);\n\t__webpack_require__(465);\n\t__webpack_require__(466);\n\t__webpack_require__(467);\n\t__webpack_require__(529);\n\t__webpack_require__(534);\n\t__webpack_require__(541);\n\t__webpack_require__(532);\n\t__webpack_require__(524);\n\t__webpack_require__(525);\n\t__webpack_require__(530);\n\t__webpack_require__(535);\n\t__webpack_require__(537);\n\t__webpack_require__(520);\n\t__webpack_require__(521);\n\t__webpack_require__(522);\n\t__webpack_require__(523);\n\t__webpack_require__(526);\n\t__webpack_require__(527);\n\t__webpack_require__(528);\n\t__webpack_require__(531);\n\t__webpack_require__(533);\n\t__webpack_require__(536);\n\t__webpack_require__(538);\n\t__webpack_require__(539);\n\t__webpack_require__(540);\n\t__webpack_require__(443);\n\t__webpack_require__(445);\n\t__webpack_require__(444);\n\t__webpack_require__(447);\n\t__webpack_require__(446);\n\t__webpack_require__(432);\n\t__webpack_require__(430);\n\t__webpack_require__(436);\n\t__webpack_require__(433);\n\t__webpack_require__(439);\n\t__webpack_require__(441);\n\t__webpack_require__(429);\n\t__webpack_require__(435);\n\t__webpack_require__(426);\n\t__webpack_require__(440);\n\t__webpack_require__(424);\n\t__webpack_require__(438);\n\t__webpack_require__(437);\n\t__webpack_require__(431);\n\t__webpack_require__(434);\n\t__webpack_require__(423);\n\t__webpack_require__(425);\n\t__webpack_require__(428);\n\t__webpack_require__(427);\n\t__webpack_require__(442);\n\t__webpack_require__(168);\n\t__webpack_require__(514);\n\t__webpack_require__(519);\n\t__webpack_require__(241);\n\t__webpack_require__(515);\n\t__webpack_require__(516);\n\t__webpack_require__(517);\n\t__webpack_require__(518);\n\t__webpack_require__(499);\n\t__webpack_require__(240);\n\t__webpack_require__(242);\n\t__webpack_require__(243);\n\t__webpack_require__(554);\n\t__webpack_require__(543);\n\t__webpack_require__(544);\n\t__webpack_require__(549);\n\t__webpack_require__(552);\n\t__webpack_require__(553);\n\t__webpack_require__(547);\n\t__webpack_require__(550);\n\t__webpack_require__(548);\n\t__webpack_require__(551);\n\t__webpack_require__(545);\n\t__webpack_require__(546);\n\t__webpack_require__(500);\n\t__webpack_require__(501);\n\t__webpack_require__(502);\n\t__webpack_require__(503);\n\t__webpack_require__(504);\n\t__webpack_require__(507);\n\t__webpack_require__(505);\n\t__webpack_require__(506);\n\t__webpack_require__(508);\n\t__webpack_require__(509);\n\t__webpack_require__(510);\n\t__webpack_require__(511);\n\t__webpack_require__(513);\n\t__webpack_require__(512);\n\t__webpack_require__(555);\n\t__webpack_require__(581);\n\t__webpack_require__(584);\n\t__webpack_require__(583);\n\t__webpack_require__(585);\n\t__webpack_require__(586);\n\t__webpack_require__(582);\n\t__webpack_require__(587);\n\t__webpack_require__(588);\n\t__webpack_require__(566);\n\t__webpack_require__(569);\n\t__webpack_require__(565);\n\t__webpack_require__(563);\n\t__webpack_require__(564);\n\t__webpack_require__(567);\n\t__webpack_require__(568);\n\t__webpack_require__(558);\n\t__webpack_require__(580);\n\t__webpack_require__(589);\n\t__webpack_require__(557);\n\t__webpack_require__(559);\n\t__webpack_require__(561);\n\t__webpack_require__(560);\n\t__webpack_require__(562);\n\t__webpack_require__(571);\n\t__webpack_require__(572);\n\t__webpack_require__(574);\n\t__webpack_require__(573);\n\t__webpack_require__(576);\n\t__webpack_require__(575);\n\t__webpack_require__(577);\n\t__webpack_require__(578);\n\t__webpack_require__(579);\n\t__webpack_require__(556);\n\t__webpack_require__(570);\n\t__webpack_require__(592);\n\t__webpack_require__(591);\n\t__webpack_require__(590);\n\tmodule.exports = __webpack_require__(41);\n\n/***/ },\n/* 594 */\n/***/ function(module, exports, __webpack_require__) {\n\n\tvar pSlice = Array.prototype.slice;\n\tvar objectKeys = __webpack_require__(596);\n\tvar isArguments = __webpack_require__(595);\n\t\n\tvar deepEqual = module.exports = function (actual, expected, opts) {\n\t if (!opts) opts = {};\n\t // 7.1. All identical values are equivalent, as determined by ===.\n\t if (actual === expected) {\n\t return true;\n\t\n\t } else if (actual instanceof Date && expected instanceof Date) {\n\t return actual.getTime() === expected.getTime();\n\t\n\t // 7.3. Other pairs that do not both pass typeof value == 'object',\n\t // equivalence is determined by ==.\n\t } else if (!actual || !expected || typeof actual != 'object' && typeof expected != 'object') {\n\t return opts.strict ? actual === expected : actual == expected;\n\t\n\t // 7.4. For all other Object pairs, including Array objects, equivalence is\n\t // determined by having the same number of owned properties (as verified\n\t // with Object.prototype.hasOwnProperty.call), the same set of keys\n\t // (although not necessarily the same order), equivalent values for every\n\t // corresponding key, and an identical 'prototype' property. Note: this\n\t // accounts for both named and indexed properties on Arrays.\n\t } else {\n\t return objEquiv(actual, expected, opts);\n\t }\n\t}\n\t\n\tfunction isUndefinedOrNull(value) {\n\t return value === null || value === undefined;\n\t}\n\t\n\tfunction isBuffer (x) {\n\t if (!x || typeof x !== 'object' || typeof x.length !== 'number') return false;\n\t if (typeof x.copy !== 'function' || typeof x.slice !== 'function') {\n\t return false;\n\t }\n\t if (x.length > 0 && typeof x[0] !== 'number') return false;\n\t return true;\n\t}\n\t\n\tfunction objEquiv(a, b, opts) {\n\t var i, key;\n\t if (isUndefinedOrNull(a) || isUndefinedOrNull(b))\n\t return false;\n\t // an identical 'prototype' property.\n\t if (a.prototype !== b.prototype) return false;\n\t //~~~I've managed to break Object.keys through screwy arguments passing.\n\t // Converting to array solves the problem.\n\t if (isArguments(a)) {\n\t if (!isArguments(b)) {\n\t return false;\n\t }\n\t a = pSlice.call(a);\n\t b = pSlice.call(b);\n\t return deepEqual(a, b, opts);\n\t }\n\t if (isBuffer(a)) {\n\t if (!isBuffer(b)) {\n\t return false;\n\t }\n\t if (a.length !== b.length) return false;\n\t for (i = 0; i < a.length; i++) {\n\t if (a[i] !== b[i]) return false;\n\t }\n\t return true;\n\t }\n\t try {\n\t var ka = objectKeys(a),\n\t kb = objectKeys(b);\n\t } catch (e) {//happens when one is a string literal and the other isn't\n\t return false;\n\t }\n\t // having the same number of owned properties (keys incorporates\n\t // hasOwnProperty)\n\t if (ka.length != kb.length)\n\t return false;\n\t //the same set of keys (although not necessarily the same order),\n\t ka.sort();\n\t kb.sort();\n\t //~~~cheap key test\n\t for (i = ka.length - 1; i >= 0; i--) {\n\t if (ka[i] != kb[i])\n\t return false;\n\t }\n\t //equivalent values for every corresponding key, and\n\t //~~~possibly expensive deep test\n\t for (i = ka.length - 1; i >= 0; i--) {\n\t key = ka[i];\n\t if (!deepEqual(a[key], b[key], opts)) return false;\n\t }\n\t return typeof a === typeof b;\n\t}\n\n\n/***/ },\n/* 595 */\n/***/ function(module, exports) {\n\n\tvar supportsArgumentsClass = (function(){\n\t return Object.prototype.toString.call(arguments)\n\t})() == '[object Arguments]';\n\t\n\texports = module.exports = supportsArgumentsClass ? supported : unsupported;\n\t\n\texports.supported = supported;\n\tfunction supported(object) {\n\t return Object.prototype.toString.call(object) == '[object Arguments]';\n\t};\n\t\n\texports.unsupported = unsupported;\n\tfunction unsupported(object){\n\t return object &&\n\t typeof object == 'object' &&\n\t typeof object.length == 'number' &&\n\t Object.prototype.hasOwnProperty.call(object, 'callee') &&\n\t !Object.prototype.propertyIsEnumerable.call(object, 'callee') ||\n\t false;\n\t};\n\n\n/***/ },\n/* 596 */\n/***/ function(module, exports) {\n\n\texports = module.exports = typeof Object.keys === 'function'\n\t ? Object.keys : shim;\n\t\n\texports.shim = shim;\n\tfunction shim (obj) {\n\t var keys = [];\n\t for (var key in obj) keys.push(key);\n\t return keys;\n\t}\n\n\n/***/ },\n/* 597 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar canUseDOM = __webpack_require__(169);\n\tvar off = function off() {};\n\t\n\tif (canUseDOM) {\n\t\n\t off = (function () {\n\t\n\t if (document.addEventListener) return function (node, eventName, handler, capture) {\n\t return node.removeEventListener(eventName, handler, capture || false);\n\t };else if (document.attachEvent) return function (node, eventName, handler) {\n\t return node.detachEvent('on' + eventName, handler);\n\t };\n\t })();\n\t}\n\t\n\tmodule.exports = off;\n\n/***/ },\n/* 598 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar canUseDOM = __webpack_require__(169);\n\tvar on = function on() {};\n\t\n\tif (canUseDOM) {\n\t on = (function () {\n\t\n\t if (document.addEventListener) return function (node, eventName, handler, capture) {\n\t return node.addEventListener(eventName, handler, capture || false);\n\t };else if (document.attachEvent) return function (node, eventName, handler) {\n\t return node.attachEvent('on' + eventName, handler);\n\t };\n\t })();\n\t}\n\t\n\tmodule.exports = on;\n\n/***/ },\n/* 599 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar getWindow = __webpack_require__(245);\n\t\n\tmodule.exports = function scrollTop(node, val) {\n\t var win = getWindow(node);\n\t\n\t if (val === undefined) return win ? 'pageXOffset' in win ? win.pageXOffset : win.document.documentElement.scrollLeft : node.scrollLeft;\n\t\n\t if (win) win.scrollTo(val, 'pageYOffset' in win ? win.pageYOffset : win.document.documentElement.scrollTop);else node.scrollLeft = val;\n\t};\n\n/***/ },\n/* 600 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\tvar getWindow = __webpack_require__(245);\n\t\n\tmodule.exports = function scrollTop(node, val) {\n\t var win = getWindow(node);\n\t\n\t if (val === undefined) return win ? 'pageYOffset' in win ? win.pageYOffset : win.document.documentElement.scrollTop : node.scrollTop;\n\t\n\t if (win) win.scrollTo('pageXOffset' in win ? win.pageXOffset : win.document.documentElement.scrollLeft, val);else node.scrollTop = val;\n\t};\n\n/***/ },\n/* 601 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\tvar canUseDOM = __webpack_require__(169);\n\t\n\tvar vendors = ['', 'webkit', 'moz', 'o', 'ms'],\n\t cancel = 'clearTimeout',\n\t raf = fallback,\n\t compatRaf;\n\t\n\tvar getKey = function getKey(vendor, k) {\n\t return vendor + (!vendor ? k : k[0].toUpperCase() + k.substr(1)) + 'AnimationFrame';\n\t};\n\t\n\tif (canUseDOM) {\n\t vendors.some(function (vendor) {\n\t var rafKey = getKey(vendor, 'request');\n\t\n\t if (rafKey in window) {\n\t cancel = getKey(vendor, 'cancel');\n\t return raf = function (cb) {\n\t return window[rafKey](cb);\n\t };\n\t }\n\t });\n\t}\n\t\n\t/* https://github.com/component/raf */\n\tvar prev = new Date().getTime();\n\t\n\tfunction fallback(fn) {\n\t var curr = new Date().getTime(),\n\t ms = Math.max(0, 16 - (curr - prev)),\n\t req = setTimeout(fn, ms);\n\t\n\t prev = curr;\n\t return req;\n\t}\n\t\n\tcompatRaf = function (cb) {\n\t return raf(cb);\n\t};\n\tcompatRaf.cancel = function (id) {\n\t return window[cancel](id);\n\t};\n\t\n\tmodule.exports = compatRaf;\n\n/***/ },\n/* 602 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\n/***/ },\n/* 603 */\n602,\n/* 604 */\n602,\n/* 605 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\tmodule.exports = {\"row\":\"Album__row__2o5fb\",\"art\":\"Album__art__1tMui\",\"play\":\"Album__play__2zFWE Songs__play__1O6-p\",\"playNext\":\"Album__playNext__3KXjB Songs__playNext__2v-xp\",\"nameRow\":\"Album__nameRow__12kfS\",\"artRow\":\"Album__artRow__3ouy5\",\"songs\":\"Album__songs__1PPsj Songs__songs__CIaD9\"};\n\n/***/ },\n/* 606 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\tmodule.exports = {\"name\":\"Artist__name__3mI6y\",\"art\":\"Artist__art__3QV3w\"};\n\n/***/ },\n/* 607 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\tmodule.exports = {\"noMarginTop\":\"Discover__noMarginTop__2bubk\",\"h2Title\":\"Discover__h2Title__25yU5\",\"caret\":\"Discover__caret__1zwQ4\",\"dashedUnderline\":\"Discover__dashedUnderline__2ePE6\",\"dropdown-menu\":\"Discover__dropdown-menu__o2cZr\"};\n\n/***/ },\n/* 608 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\tmodule.exports = {\"titleImage\":\"Login__titleImage__33L1L\",\"submit\":\"Login__submit__1BiPC\"};\n\n/***/ },\n/* 609 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\tmodule.exports = {\"play\":\"Songs__play__1O6-p\",\"playNext\":\"Songs__playNext__2v-xp\",\"songs\":\"Songs__songs__CIaD9\"};\n\n/***/ },\n/* 610 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\tmodule.exports = {\"filter\":\"FilterBar__filter__2xukG\",\"legend\":\"FilterBar__legend__1wPAA\",\"form-group\":\"FilterBar__form-group__3coaa\"};\n\n/***/ },\n/* 611 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\tmodule.exports = {\"placeholders\":\"Grid__placeholders__3sosj\",\"name\":\"Grid__name__2qx8M\",\"art\":\"Grid__art__2OMDU\"};\n\n/***/ },\n/* 612 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\tmodule.exports = {\"nav\":\"Pagination__nav__1sgUO\",\"pointer\":\"Pagination__pointer__27wCb\"};\n\n/***/ },\n/* 613 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\tmodule.exports = {\"webplayer\":\"WebPlayer__webplayer__22F_4\",\"art\":\"WebPlayer__art__omkHN\",\"artRow\":\"WebPlayer__artRow__9onVV\",\"artTimer\":\"WebPlayer__artTimer__3-Um6\",\"artDuration\":\"WebPlayer__artDuration__3exrw\",\"controls\":\"WebPlayer__controls__we9ux\",\"btn\":\"WebPlayer__btn__1S8Hy\",\"prevBtn\":\"WebPlayer__prevBtn__QTVVR WebPlayer__btn__1S8Hy\",\"playPauseBtn\":\"WebPlayer__playPauseBtn__yN44O WebPlayer__btn__1S8Hy\",\"nextBtn\":\"WebPlayer__nextBtn__2582V WebPlayer__btn__1S8Hy\",\"volumeBtn\":\"WebPlayer__volumeBtn__2OcLS WebPlayer__btn__1S8Hy\",\"repeatBtn\":\"WebPlayer__repeatBtn__w2JIN WebPlayer__btn__1S8Hy\",\"randomBtn\":\"WebPlayer__randomBtn__2NB_N WebPlayer__btn__1S8Hy\",\"playlistBtn\":\"WebPlayer__playlistBtn__3rkYH WebPlayer__btn__1S8Hy\",\"active\":\"WebPlayer__active__3OOYe\"};\n\n/***/ },\n/* 614 */\n/***/ function(module, exports) {\n\n\t// removed by extract-text-webpack-plugin\n\tmodule.exports = {\"sidebar\":\"Sidebar__sidebar__2XLQ1\",\"collapse\":\"Sidebar__collapse__3-rUF\",\"link\":\"Sidebar__link__1faG5\",\"active\":\"Sidebar__active__3HL57 Sidebar__link__1faG5\",\"title\":\"Sidebar__title__XR8sf\",\"imgTitle\":\"Sidebar__imgTitle__1iVIJ\",\"toggle\":\"Sidebar__toggle__32s05\",\"icon-bar\":\"Sidebar__icon-bar__kStJV\",\"icon-navbar\":\"Sidebar__icon-navbar__1oNVr\",\"container-fluid\":\"Sidebar__container-fluid__3rTUW\",\"nav\":\"Sidebar__nav__13nUO\",\"main-panel\":\"Sidebar__main-panel__3FfOV\",\"nav-list\":\"Sidebar__nav-list__1jNav\"};\n\n/***/ },\n/* 615 */\n/***/ function(module, exports) {\n\n\t\"use strict\";\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\tvar _hyphenPattern = /-(.)/g;\n\t\n\t/**\n\t * Camelcases a hyphenated string, for example:\n\t *\n\t * > camelize('background-color')\n\t * < \"backgroundColor\"\n\t *\n\t * @param {string} string\n\t * @return {string}\n\t */\n\tfunction camelize(string) {\n\t return string.replace(_hyphenPattern, function (_, character) {\n\t return character.toUpperCase();\n\t });\n\t}\n\t\n\tmodule.exports = camelize;\n\n/***/ },\n/* 616 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\t'use strict';\n\t\n\tvar camelize = __webpack_require__(615);\n\t\n\tvar msPattern = /^-ms-/;\n\t\n\t/**\n\t * Camelcases a hyphenated CSS property name, for example:\n\t *\n\t * > camelizeStyleName('background-color')\n\t * < \"backgroundColor\"\n\t * > camelizeStyleName('-moz-transition')\n\t * < \"MozTransition\"\n\t * > camelizeStyleName('-ms-transition')\n\t * < \"msTransition\"\n\t *\n\t * As Andi Smith suggests\n\t * (http://www.andismith.com/blog/2012/02/modernizr-prefixed/), an `-ms` prefix\n\t * is converted to lowercase `ms`.\n\t *\n\t * @param {string} string\n\t * @return {string}\n\t */\n\tfunction camelizeStyleName(string) {\n\t return camelize(string.replace(msPattern, 'ms-'));\n\t}\n\t\n\tmodule.exports = camelizeStyleName;\n\n/***/ },\n/* 617 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * \n\t */\n\t\n\tvar isTextNode = __webpack_require__(625);\n\t\n\t/*eslint-disable no-bitwise */\n\t\n\t/**\n\t * Checks if a given DOM node contains or is another DOM node.\n\t */\n\tfunction containsNode(outerNode, innerNode) {\n\t if (!outerNode || !innerNode) {\n\t return false;\n\t } else if (outerNode === innerNode) {\n\t return true;\n\t } else if (isTextNode(outerNode)) {\n\t return false;\n\t } else if (isTextNode(innerNode)) {\n\t return containsNode(outerNode, innerNode.parentNode);\n\t } else if ('contains' in outerNode) {\n\t return outerNode.contains(innerNode);\n\t } else if (outerNode.compareDocumentPosition) {\n\t return !!(outerNode.compareDocumentPosition(innerNode) & 16);\n\t } else {\n\t return false;\n\t }\n\t}\n\t\n\tmodule.exports = containsNode;\n\n/***/ },\n/* 618 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Convert array-like objects to arrays.\n\t *\n\t * This API assumes the caller knows the contents of the data type. For less\n\t * well defined inputs use createArrayFromMixed.\n\t *\n\t * @param {object|function|filelist} obj\n\t * @return {array}\n\t */\n\tfunction toArray(obj) {\n\t var length = obj.length;\n\t\n\t // Some browsers builtin objects can report typeof 'function' (e.g. NodeList\n\t // in old versions of Safari).\n\t !(!Array.isArray(obj) && (typeof obj === 'object' || typeof obj === 'function')) ? false ? invariant(false, 'toArray: Array-like object expected') : invariant(false) : void 0;\n\t\n\t !(typeof length === 'number') ? false ? invariant(false, 'toArray: Object needs a length property') : invariant(false) : void 0;\n\t\n\t !(length === 0 || length - 1 in obj) ? false ? invariant(false, 'toArray: Object should have keys for indices') : invariant(false) : void 0;\n\t\n\t !(typeof obj.callee !== 'function') ? false ? invariant(false, 'toArray: Object can\\'t be `arguments`. Use rest params ' + '(function(...args) {}) or Array.from() instead.') : invariant(false) : void 0;\n\t\n\t // Old IE doesn't give collections access to hasOwnProperty. Assume inputs\n\t // without method will throw during the slice call and skip straight to the\n\t // fallback.\n\t if (obj.hasOwnProperty) {\n\t try {\n\t return Array.prototype.slice.call(obj);\n\t } catch (e) {\n\t // IE < 9 does not support Array#slice on collections objects\n\t }\n\t }\n\t\n\t // Fall back to copying key by key. This assumes all keys have a value,\n\t // so will not preserve sparsely populated inputs.\n\t var ret = Array(length);\n\t for (var ii = 0; ii < length; ii++) {\n\t ret[ii] = obj[ii];\n\t }\n\t return ret;\n\t}\n\t\n\t/**\n\t * Perform a heuristic test to determine if an object is \"array-like\".\n\t *\n\t * A monk asked Joshu, a Zen master, \"Has a dog Buddha nature?\"\n\t * Joshu replied: \"Mu.\"\n\t *\n\t * This function determines if its argument has \"array nature\": it returns\n\t * true if the argument is an actual array, an `arguments' object, or an\n\t * HTMLCollection (e.g. node.childNodes or node.getElementsByTagName()).\n\t *\n\t * It will return false for other array-like objects like Filelist.\n\t *\n\t * @param {*} obj\n\t * @return {boolean}\n\t */\n\tfunction hasArrayNature(obj) {\n\t return(\n\t // not null/false\n\t !!obj && (\n\t // arrays are objects, NodeLists are functions in Safari\n\t typeof obj == 'object' || typeof obj == 'function') &&\n\t // quacks like an array\n\t 'length' in obj &&\n\t // not window\n\t !('setInterval' in obj) &&\n\t // no DOM node should be considered an array-like\n\t // a 'select' element has 'length' and 'item' properties on IE8\n\t typeof obj.nodeType != 'number' && (\n\t // a real array\n\t Array.isArray(obj) ||\n\t // arguments\n\t 'callee' in obj ||\n\t // HTMLCollection/NodeList\n\t 'item' in obj)\n\t );\n\t}\n\t\n\t/**\n\t * Ensure that the argument is an array by wrapping it in an array if it is not.\n\t * Creates a copy of the argument if it is already an array.\n\t *\n\t * This is mostly useful idiomatically:\n\t *\n\t * var createArrayFromMixed = require('createArrayFromMixed');\n\t *\n\t * function takesOneOrMoreThings(things) {\n\t * things = createArrayFromMixed(things);\n\t * ...\n\t * }\n\t *\n\t * This allows you to treat `things' as an array, but accept scalars in the API.\n\t *\n\t * If you need to convert an array-like object, like `arguments`, into an array\n\t * use toArray instead.\n\t *\n\t * @param {*} obj\n\t * @return {array}\n\t */\n\tfunction createArrayFromMixed(obj) {\n\t if (!hasArrayNature(obj)) {\n\t return [obj];\n\t } else if (Array.isArray(obj)) {\n\t return obj.slice();\n\t } else {\n\t return toArray(obj);\n\t }\n\t}\n\t\n\tmodule.exports = createArrayFromMixed;\n\n/***/ },\n/* 619 */\n/***/ function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\t\n\t/**\n\t * Copyright (c) 2013-present, Facebook, Inc.\n\t * All rights reserved.\n\t *\n\t * This source code is licensed under the BSD-style license found in the\n\t * LICENSE file in the root directory of this source tree. An additional grant\n\t * of patent rights can be found in the PATENTS file in the same directory.\n\t *\n\t * @typechecks\n\t */\n\t\n\t/*eslint-disable fb-www/unsafe-html*/\n\t\n\tvar ExecutionEnvironment = __webpack_require__(25);\n\t\n\tvar createArrayFromMixed = __webpack_require__(618);\n\tvar getMarkupWrap = __webpack_require__(620);\n\tvar invariant = __webpack_require__(3);\n\t\n\t/**\n\t * Dummy container used to render all markup.\n\t */\n\tvar dummyNode = ExecutionEnvironment.canUseDOM ? document.createElement('div') : null;\n\t\n\t/**\n\t * Pattern used by `getNodeName`.\n\t */\n\tvar nodeNamePattern = /^\\s*<(\\w+)/;\n\t\n\t/**\n\t * Extracts the `nodeName` of the first element in a string of markup.\n\t *\n\t * @param {string} markup String of markup.\n\t * @return {?string} Node name of the supplied markup.\n\t */\n\tfunction getNodeName(markup) {\n\t var nodeNameMatch = markup.match(nodeNamePattern);\n\t return nodeNameMatch && nodeNameMatch[1].toLowerCase();\n\t}\n\t\n\t/**\n\t * Creates an array containing the nodes rendered from the supplied markup. The\n\t * optionally supplied `handleScript` function will be invoked once for each\n\t * true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return !!value && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/isObjectLike.js\n ** module id = 77\n ** module chunks = 0\n **/","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(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; }\n\n/**\n * A React component for the font-awesome icon library.\n *\n *\n * @param {Boolean} [border=false] Whether or not to show a border radius\n * @param {String} [className] An extra set of CSS classes to add to the component\n * @param {Boolean} [fixedWidth=false] Make buttons fixed width\n * @param {String} [flip=false] Flip the icon's orientation.\n * @param {Boolean} [inverse=false]Inverse the icon's color\n * @param {String} name Name of the icon to use\n * @param {Boolean} [pulse=false] Rotate icon with 8 steps (rather than smoothly)\n * @param {Number} [rotate] The degress to rotate the icon by\n * @param {String} [size] The icon scaling size\n * @param {Boolean} [spin=false] Spin the icon\n * @param {String} [stack] Stack an icon on top of another\n * @module FontAwesome\n * @type {ReactClass}\n */\nexports.default = _react2.default.createClass({\n\n displayName: 'FontAwesome',\n\n propTypes: {\n border: _react2.default.PropTypes.bool,\n className: _react2.default.PropTypes.string,\n fixedWidth: _react2.default.PropTypes.bool,\n flip: _react2.default.PropTypes.oneOf(['horizontal', 'vertical']),\n inverse: _react2.default.PropTypes.bool,\n name: _react2.default.PropTypes.string.isRequired,\n pulse: _react2.default.PropTypes.bool,\n rotate: _react2.default.PropTypes.oneOf([90, 180, 270]),\n size: _react2.default.PropTypes.oneOf(['lg', '2x', '3x', '4x', '5x']),\n spin: _react2.default.PropTypes.bool,\n stack: _react2.default.PropTypes.oneOf(['1x', '2x'])\n },\n\n render: function render() {\n var _props = this.props;\n var border = _props.border;\n var fixedWidth = _props.fixedWidth;\n var flip = _props.flip;\n var inverse = _props.inverse;\n var name = _props.name;\n var pulse = _props.pulse;\n var rotate = _props.rotate;\n var size = _props.size;\n var spin = _props.spin;\n var stack = _props.stack;\n\n var props = _objectWithoutProperties(_props, ['border', 'fixedWidth', 'flip', 'inverse', 'name', 'pulse', 'rotate', 'size', 'spin', 'stack']);\n\n var className = 'fa fa-' + name;\n\n if (size) {\n className += ' fa-' + size;\n }\n\n if (spin) {\n className += ' fa-spin';\n }\n\n if (pulse) {\n className += ' fa-pulse';\n }\n\n if (border) {\n className += ' fa-border';\n }\n\n if (fixedWidth) {\n className += ' fa-fw';\n }\n\n if (inverse) {\n className += ' fa-inverse';\n }\n\n if (flip) {\n className += ' fa-flip-' + flip;\n }\n\n if (rotate) {\n className += ' fa-rotate-' + rotate;\n }\n\n if (stack) {\n className += ' fa-stack-' + stack;\n }\n\n if (this.props.className) {\n className += ' ' + this.props.className;\n }\n\n return _react2.default.createElement('span', _extends({}, props, {\n className: className\n }));\n }\n});\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-fontawesome/lib/index.js\n ** module id = 78\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports.routes = exports.route = exports.components = exports.component = exports.history = undefined;\nexports.falsy = falsy;\n\nvar _react = require('react');\n\nvar func = _react.PropTypes.func;\nvar object = _react.PropTypes.object;\nvar arrayOf = _react.PropTypes.arrayOf;\nvar oneOfType = _react.PropTypes.oneOfType;\nvar element = _react.PropTypes.element;\nvar shape = _react.PropTypes.shape;\nvar string = _react.PropTypes.string;\nfunction falsy(props, propName, componentName) {\n if (props[propName]) return new Error('<' + componentName + '> should not have a \"' + propName + '\" prop');\n}\n\nvar history = exports.history = shape({\n listen: func.isRequired,\n push: func.isRequired,\n replace: func.isRequired,\n go: func.isRequired,\n goBack: func.isRequired,\n goForward: func.isRequired\n});\n\nvar component = exports.component = oneOfType([func, string]);\nvar components = exports.components = oneOfType([component, object]);\nvar route = exports.route = oneOfType([object, element]);\nvar routes = exports.routes = oneOfType([route, arrayOf(route)]);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/InternalPropTypes.js\n ** module id = 79\n ** module chunks = 0\n **/","/**\n * This file defines i18n related models.\n */\n\n// NPM import\nimport Immutable from \"immutable\";\n\n/** i18n record for passing errors to be localized from actions to components */\nexport const i18nRecord = new Immutable.Record({\n id: null, /** Translation message id */\n values: new Immutable.Map(), /** Values to pass to formatMessage */\n});\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/models/i18n.js\n **/","// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = require('./_wks')('unscopables')\n , ArrayProto = Array.prototype;\nif(ArrayProto[UNSCOPABLES] == undefined)require('./_hide')(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function(key){\n ArrayProto[UNSCOPABLES][key] = true;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_add-to-unscopables.js\n ** module id = 81\n ** module chunks = 0\n **/","// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = require('./_cof')\n , TAG = require('./_wks')('toStringTag')\n // ES3 wrong here\n , ARG = cof(function(){ return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function(it, key){\n try {\n return it[key];\n } catch(e){ /* empty */ }\n};\n\nmodule.exports = function(it){\n var O, T, B;\n return it === undefined ? 'Undefined' : it === null ? 'Null'\n // @@toStringTag case\n : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n // builtinTag case\n : ARG ? cof(O)\n // ES3 arguments fallback\n : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_classof.js\n ** module id = 82\n ** module chunks = 0\n **/","var ctx = require('./_ctx')\n , call = require('./_iter-call')\n , isArrayIter = require('./_is-array-iter')\n , anObject = require('./_an-object')\n , toLength = require('./_to-length')\n , getIterFn = require('./core.get-iterator-method')\n , BREAK = {}\n , RETURN = {};\nvar exports = module.exports = function(iterable, entries, fn, that, ITERATOR){\n var iterFn = ITERATOR ? function(){ return iterable; } : getIterFn(iterable)\n , f = ctx(fn, that, entries ? 2 : 1)\n , index = 0\n , length, step, iterator, result;\n if(typeof iterFn != 'function')throw TypeError(iterable + ' is not iterable!');\n // fast case for arrays with default iterator\n if(isArrayIter(iterFn))for(length = toLength(iterable.length); length > index; index++){\n result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n if(result === BREAK || result === RETURN)return result;\n } else for(iterator = iterFn.call(iterable); !(step = iterator.next()).done; ){\n result = call(iterator, f, step.value, entries);\n if(result === BREAK || result === RETURN)return result;\n }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_for-of.js\n ** module id = 83\n ** module chunks = 0\n **/","var def = require('./_object-dp').f\n , has = require('./_has')\n , TAG = require('./_wks')('toStringTag');\n\nmodule.exports = function(it, tag, stat){\n if(it && !has(it = stat ? it : it.prototype, TAG))def(it, TAG, {configurable: true, value: tag});\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_set-to-string-tag.js\n ** module id = 84\n ** module chunks = 0\n **/","var $export = require('./_export')\n , defined = require('./_defined')\n , fails = require('./_fails')\n , spaces = require('./_string-ws')\n , space = '[' + spaces + ']'\n , non = '\\u200b\\u0085'\n , ltrim = RegExp('^' + space + space + '*')\n , rtrim = RegExp(space + space + '*$');\n\nvar exporter = function(KEY, exec, ALIAS){\n var exp = {};\n var FORCE = fails(function(){\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if(ALIAS)exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function(string, TYPE){\n string = String(defined(string));\n if(TYPE & 1)string = string.replace(ltrim, '');\n if(TYPE & 2)string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_string-trim.js\n ** module id = 85\n ** module chunks = 0\n **/","var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_getNative.js\n ** module id = 86\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports.compilePattern = compilePattern;\nexports.matchPattern = matchPattern;\nexports.getParamNames = getParamNames;\nexports.getParams = getParams;\nexports.formatPattern = formatPattern;\n\nvar _invariant = require('invariant');\n\nvar _invariant2 = _interopRequireDefault(_invariant);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction escapeRegExp(string) {\n return string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n}\n\nfunction _compilePattern(pattern) {\n var regexpSource = '';\n var paramNames = [];\n var tokens = [];\n\n var match = void 0,\n lastIndex = 0,\n matcher = /:([a-zA-Z_$][a-zA-Z0-9_$]*)|\\*\\*|\\*|\\(|\\)/g;\n while (match = matcher.exec(pattern)) {\n if (match.index !== lastIndex) {\n tokens.push(pattern.slice(lastIndex, match.index));\n regexpSource += escapeRegExp(pattern.slice(lastIndex, match.index));\n }\n\n if (match[1]) {\n regexpSource += '([^/]+)';\n paramNames.push(match[1]);\n } else if (match[0] === '**') {\n regexpSource += '(.*)';\n paramNames.push('splat');\n } else if (match[0] === '*') {\n regexpSource += '(.*?)';\n paramNames.push('splat');\n } else if (match[0] === '(') {\n regexpSource += '(?:';\n } else if (match[0] === ')') {\n regexpSource += ')?';\n }\n\n tokens.push(match[0]);\n\n lastIndex = matcher.lastIndex;\n }\n\n if (lastIndex !== pattern.length) {\n tokens.push(pattern.slice(lastIndex, pattern.length));\n regexpSource += escapeRegExp(pattern.slice(lastIndex, pattern.length));\n }\n\n return {\n pattern: pattern,\n regexpSource: regexpSource,\n paramNames: paramNames,\n tokens: tokens\n };\n}\n\nvar CompiledPatternsCache = Object.create(null);\n\nfunction compilePattern(pattern) {\n if (!CompiledPatternsCache[pattern]) CompiledPatternsCache[pattern] = _compilePattern(pattern);\n\n return CompiledPatternsCache[pattern];\n}\n\n/**\n * Attempts to match a pattern on the given pathname. Patterns may use\n * the following special characters:\n *\n * - :paramName Matches a URL segment up to the next /, ?, or #. The\n * captured string is considered a \"param\"\n * - () Wraps a segment of the URL that is optional\n * - * Consumes (non-greedy) all characters up to the next\n * character in the pattern, or to the end of the URL if\n * there is none\n * - ** Consumes (greedy) all characters up to the next character\n * in the pattern, or to the end of the URL if there is none\n *\n * The function calls callback(error, matched) when finished.\n * The return value is an object with the following properties:\n *\n * - remainingPathname\n * - paramNames\n * - paramValues\n */\nfunction matchPattern(pattern, pathname) {\n // Ensure pattern starts with leading slash for consistency with pathname.\n if (pattern.charAt(0) !== '/') {\n pattern = '/' + pattern;\n }\n\n var _compilePattern2 = compilePattern(pattern);\n\n var regexpSource = _compilePattern2.regexpSource;\n var paramNames = _compilePattern2.paramNames;\n var tokens = _compilePattern2.tokens;\n\n\n if (pattern.charAt(pattern.length - 1) !== '/') {\n regexpSource += '/?'; // Allow optional path separator at end.\n }\n\n // Special-case patterns like '*' for catch-all routes.\n if (tokens[tokens.length - 1] === '*') {\n regexpSource += '$';\n }\n\n var match = pathname.match(new RegExp('^' + regexpSource, 'i'));\n if (match == null) {\n return null;\n }\n\n var matchedPath = match[0];\n var remainingPathname = pathname.substr(matchedPath.length);\n\n if (remainingPathname) {\n // Require that the match ends at a path separator, if we didn't match\n // the full path, so any remaining pathname is a new path segment.\n if (matchedPath.charAt(matchedPath.length - 1) !== '/') {\n return null;\n }\n\n // If there is a remaining pathname, treat the path separator as part of\n // the remaining pathname for properly continuing the match.\n remainingPathname = '/' + remainingPathname;\n }\n\n return {\n remainingPathname: remainingPathname,\n paramNames: paramNames,\n paramValues: match.slice(1).map(function (v) {\n return v && decodeURIComponent(v);\n })\n };\n}\n\nfunction getParamNames(pattern) {\n return compilePattern(pattern).paramNames;\n}\n\nfunction getParams(pattern, pathname) {\n var match = matchPattern(pattern, pathname);\n if (!match) {\n return null;\n }\n\n var paramNames = match.paramNames;\n var paramValues = match.paramValues;\n\n var params = {};\n\n paramNames.forEach(function (paramName, index) {\n params[paramName] = paramValues[index];\n });\n\n return params;\n}\n\n/**\n * Returns a version of the given pattern with params interpolated. Throws\n * if there is a dynamic segment of the pattern for which there is no param.\n */\nfunction formatPattern(pattern, params) {\n params = params || {};\n\n var _compilePattern3 = compilePattern(pattern);\n\n var tokens = _compilePattern3.tokens;\n\n var parenCount = 0,\n pathname = '',\n splatIndex = 0;\n\n var token = void 0,\n paramName = void 0,\n paramValue = void 0;\n for (var i = 0, len = tokens.length; i < len; ++i) {\n token = tokens[i];\n\n if (token === '*' || token === '**') {\n paramValue = Array.isArray(params.splat) ? params.splat[splatIndex++] : params.splat;\n\n !(paramValue != null || parenCount > 0) ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, 'Missing splat #%s for path \"%s\"', splatIndex, pattern) : (0, _invariant2.default)(false) : void 0;\n\n if (paramValue != null) pathname += encodeURI(paramValue);\n } else if (token === '(') {\n parenCount += 1;\n } else if (token === ')') {\n parenCount -= 1;\n } else if (token.charAt(0) === ':') {\n paramName = token.substring(1);\n paramValue = params[paramName];\n\n !(paramValue != null || parenCount > 0) ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, 'Missing \"%s\" parameter for path \"%s\"', paramName, pattern) : (0, _invariant2.default)(false) : void 0;\n\n if (paramValue != null) pathname += encodeURIComponent(paramValue);\n } else {\n pathname += token;\n }\n }\n\n return pathname.replace(/\\/+/g, '/');\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/PatternUtils.js\n ** module id = 87\n ** module chunks = 0\n **/","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule DOMLazyTree\n */\n\n'use strict';\n\nvar DOMNamespaces = require('./DOMNamespaces');\nvar setInnerHTML = require('./setInnerHTML');\n\nvar createMicrosoftUnsafeLocalFunction = require('./createMicrosoftUnsafeLocalFunction');\nvar setTextContent = require('./setTextContent');\n\nvar ELEMENT_NODE_TYPE = 1;\nvar DOCUMENT_FRAGMENT_NODE_TYPE = 11;\n\n/**\n * In IE (8-11) and Edge, appending nodes with no children is dramatically\n * faster than appending a full subtree, so we essentially queue up the\n * .appendChild calls here and apply them so each node is added to its parent\n * before any children are added.\n *\n * In other browsers, doing so is slower or neutral compared to the other order\n * (in Firefox, twice as slow) so we only do this inversion in IE.\n *\n * See https://github.com/spicyj/innerhtml-vs-createelement-vs-clonenode.\n */\nvar enableLazy = typeof document !== 'undefined' && typeof document.documentMode === 'number' || typeof navigator !== 'undefined' && typeof navigator.userAgent === 'string' && /\\bEdge\\/\\d/.test(navigator.userAgent);\n\nfunction insertTreeChildren(tree) {\n if (!enableLazy) {\n return;\n }\n var node = tree.node;\n var children = tree.children;\n if (children.length) {\n for (var i = 0; i < children.length; i++) {\n insertTreeBefore(node, children[i], null);\n }\n } else if (tree.html != null) {\n setInnerHTML(node, tree.html);\n } else if (tree.text != null) {\n setTextContent(node, tree.text);\n }\n}\n\nvar insertTreeBefore = createMicrosoftUnsafeLocalFunction(function (parentNode, tree, referenceNode) {\n // DocumentFragments aren't actually part of the DOM after insertion so\n // appending children won't update the DOM. We need to ensure the fragment\n // is properly populated first, breaking out of our lazy approach for just\n // this level. Also, some
plugins (like Flash Player) will read\n // nodes immediately upon insertion into the DOM, so \n // must also be populated prior to insertion into the DOM.\n if (tree.node.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE || tree.node.nodeType === ELEMENT_NODE_TYPE && tree.node.nodeName.toLowerCase() === 'object' && (tree.node.namespaceURI == null || tree.node.namespaceURI === DOMNamespaces.html)) {\n insertTreeChildren(tree);\n parentNode.insertBefore(tree.node, referenceNode);\n } else {\n parentNode.insertBefore(tree.node, referenceNode);\n insertTreeChildren(tree);\n }\n});\n\nfunction replaceChildWithTree(oldNode, newTree) {\n oldNode.parentNode.replaceChild(newTree.node, oldNode);\n insertTreeChildren(newTree);\n}\n\nfunction queueChild(parentTree, childTree) {\n if (enableLazy) {\n parentTree.children.push(childTree);\n } else {\n parentTree.node.appendChild(childTree.node);\n }\n}\n\nfunction queueHTML(tree, html) {\n if (enableLazy) {\n tree.html = html;\n } else {\n setInnerHTML(tree.node, html);\n }\n}\n\nfunction queueText(tree, text) {\n if (enableLazy) {\n tree.text = text;\n } else {\n setTextContent(tree.node, text);\n }\n}\n\nfunction toString() {\n return this.node.nodeName;\n}\n\nfunction DOMLazyTree(node) {\n return {\n node: node,\n children: [],\n html: null,\n text: null,\n toString: toString\n };\n}\n\nDOMLazyTree.insertTreeBefore = insertTreeBefore;\nDOMLazyTree.replaceChildWithTree = replaceChildWithTree;\nDOMLazyTree.queueChild = queueChild;\nDOMLazyTree.queueHTML = queueHTML;\nDOMLazyTree.queueText = queueText;\n\nmodule.exports = DOMLazyTree;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/DOMLazyTree.js\n ** module id = 88\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule DOMProperty\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\nfunction checkMask(value, bitmask) {\n return (value & bitmask) === bitmask;\n}\n\nvar DOMPropertyInjection = {\n /**\n * Mapping from normalized, camelcased property names to a configuration that\n * specifies how the associated DOM property should be accessed or rendered.\n */\n MUST_USE_PROPERTY: 0x1,\n HAS_BOOLEAN_VALUE: 0x4,\n HAS_NUMERIC_VALUE: 0x8,\n HAS_POSITIVE_NUMERIC_VALUE: 0x10 | 0x8,\n HAS_OVERLOADED_BOOLEAN_VALUE: 0x20,\n\n /**\n * Inject some specialized knowledge about the DOM. This takes a config object\n * with the following properties:\n *\n * isCustomAttribute: function that given an attribute name will return true\n * if it can be inserted into the DOM verbatim. Useful for data-* or aria-*\n * attributes where it's impossible to enumerate all of the possible\n * attribute names,\n *\n * Properties: object mapping DOM property name to one of the\n * DOMPropertyInjection constants or null. If your attribute isn't in here,\n * it won't get written to the DOM.\n *\n * DOMAttributeNames: object mapping React attribute name to the DOM\n * attribute name. Attribute names not specified use the **lowercase**\n * normalized name.\n *\n * DOMAttributeNamespaces: object mapping React attribute name to the DOM\n * attribute namespace URL. (Attribute names not specified use no namespace.)\n *\n * DOMPropertyNames: similar to DOMAttributeNames but for DOM properties.\n * Property names not specified use the normalized name.\n *\n * DOMMutationMethods: Properties that require special mutation methods. If\n * `value` is undefined, the mutation method should unset the property.\n *\n * @param {object} domPropertyConfig the config as described above.\n */\n injectDOMPropertyConfig: function (domPropertyConfig) {\n var Injection = DOMPropertyInjection;\n var Properties = domPropertyConfig.Properties || {};\n var DOMAttributeNamespaces = domPropertyConfig.DOMAttributeNamespaces || {};\n var DOMAttributeNames = domPropertyConfig.DOMAttributeNames || {};\n var DOMPropertyNames = domPropertyConfig.DOMPropertyNames || {};\n var DOMMutationMethods = domPropertyConfig.DOMMutationMethods || {};\n\n if (domPropertyConfig.isCustomAttribute) {\n DOMProperty._isCustomAttributeFunctions.push(domPropertyConfig.isCustomAttribute);\n }\n\n for (var propName in Properties) {\n !!DOMProperty.properties.hasOwnProperty(propName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'injectDOMPropertyConfig(...): You\\'re trying to inject DOM property \\'%s\\' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.', propName) : _prodInvariant('48', propName) : void 0;\n\n var lowerCased = propName.toLowerCase();\n var propConfig = Properties[propName];\n\n var propertyInfo = {\n attributeName: lowerCased,\n attributeNamespace: null,\n propertyName: propName,\n mutationMethod: null,\n\n mustUseProperty: checkMask(propConfig, Injection.MUST_USE_PROPERTY),\n hasBooleanValue: checkMask(propConfig, Injection.HAS_BOOLEAN_VALUE),\n hasNumericValue: checkMask(propConfig, Injection.HAS_NUMERIC_VALUE),\n hasPositiveNumericValue: checkMask(propConfig, Injection.HAS_POSITIVE_NUMERIC_VALUE),\n hasOverloadedBooleanValue: checkMask(propConfig, Injection.HAS_OVERLOADED_BOOLEAN_VALUE)\n };\n !(propertyInfo.hasBooleanValue + propertyInfo.hasNumericValue + propertyInfo.hasOverloadedBooleanValue <= 1) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s', propName) : _prodInvariant('50', propName) : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n DOMProperty.getPossibleStandardName[lowerCased] = propName;\n }\n\n if (DOMAttributeNames.hasOwnProperty(propName)) {\n var attributeName = DOMAttributeNames[propName];\n propertyInfo.attributeName = attributeName;\n if (process.env.NODE_ENV !== 'production') {\n DOMProperty.getPossibleStandardName[attributeName] = propName;\n }\n }\n\n if (DOMAttributeNamespaces.hasOwnProperty(propName)) {\n propertyInfo.attributeNamespace = DOMAttributeNamespaces[propName];\n }\n\n if (DOMPropertyNames.hasOwnProperty(propName)) {\n propertyInfo.propertyName = DOMPropertyNames[propName];\n }\n\n if (DOMMutationMethods.hasOwnProperty(propName)) {\n propertyInfo.mutationMethod = DOMMutationMethods[propName];\n }\n\n DOMProperty.properties[propName] = propertyInfo;\n }\n }\n};\n\n/* eslint-disable max-len */\nvar ATTRIBUTE_NAME_START_CHAR = ':A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD';\n/* eslint-enable max-len */\n\n/**\n * DOMProperty exports lookup objects that can be used like functions:\n *\n * > DOMProperty.isValid['id']\n * true\n * > DOMProperty.isValid['foobar']\n * undefined\n *\n * Although this may be confusing, it performs better in general.\n *\n * @see http://jsperf.com/key-exists\n * @see http://jsperf.com/key-missing\n */\nvar DOMProperty = {\n\n ID_ATTRIBUTE_NAME: 'data-reactid',\n ROOT_ATTRIBUTE_NAME: 'data-reactroot',\n\n ATTRIBUTE_NAME_START_CHAR: ATTRIBUTE_NAME_START_CHAR,\n ATTRIBUTE_NAME_CHAR: ATTRIBUTE_NAME_START_CHAR + '\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040',\n\n /**\n * Map from property \"standard name\" to an object with info about how to set\n * the property in the DOM. Each object contains:\n *\n * attributeName:\n * Used when rendering markup or with `*Attribute()`.\n * attributeNamespace\n * propertyName:\n * Used on DOM node instances. (This includes properties that mutate due to\n * external factors.)\n * mutationMethod:\n * If non-null, used instead of the property or `setAttribute()` after\n * initial render.\n * mustUseProperty:\n * Whether the property must be accessed and mutated as an object property.\n * hasBooleanValue:\n * Whether the property should be removed when set to a falsey value.\n * hasNumericValue:\n * Whether the property must be numeric or parse as a numeric and should be\n * removed when set to a falsey value.\n * hasPositiveNumericValue:\n * Whether the property must be positive numeric or parse as a positive\n * numeric and should be removed when set to a falsey value.\n * hasOverloadedBooleanValue:\n * Whether the property can be used as a flag as well as with a value.\n * Removed when strictly equal to false; present without a value when\n * strictly equal to true; present with a value otherwise.\n */\n properties: {},\n\n /**\n * Mapping from lowercase property names to the properly cased version, used\n * to warn in the case of missing properties. Available only in __DEV__.\n * @type {Object}\n */\n getPossibleStandardName: process.env.NODE_ENV !== 'production' ? {} : null,\n\n /**\n * All of the isCustomAttribute() functions that have been injected.\n */\n _isCustomAttributeFunctions: [],\n\n /**\n * Checks whether a property name is a custom attribute.\n * @method\n */\n isCustomAttribute: function (attributeName) {\n for (var i = 0; i < DOMProperty._isCustomAttributeFunctions.length; i++) {\n var isCustomAttributeFn = DOMProperty._isCustomAttributeFunctions[i];\n if (isCustomAttributeFn(attributeName)) {\n return true;\n }\n }\n return false;\n },\n\n injection: DOMPropertyInjection\n};\n\nmodule.exports = DOMProperty;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/DOMProperty.js\n ** module id = 89\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactReconciler\n */\n\n'use strict';\n\nvar ReactRef = require('./ReactRef');\nvar ReactInstrumentation = require('./ReactInstrumentation');\n\nvar warning = require('fbjs/lib/warning');\n\n/**\n * Helper to call ReactRef.attachRefs with this composite component, split out\n * to avoid allocations in the transaction mount-ready queue.\n */\nfunction attachRefs() {\n ReactRef.attachRefs(this, this._currentElement);\n}\n\nvar ReactReconciler = {\n\n /**\n * Initializes the component, renders markup, and registers event listeners.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactReconcileTransaction|ReactServerRenderingTransaction} transaction\n * @param {?object} the containing host component instance\n * @param {?object} info about the host container\n * @return {?string} Rendered markup to be inserted into the DOM.\n * @final\n * @internal\n */\n mountComponent: function (internalInstance, transaction, hostParent, hostContainerInfo, context) {\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeMountComponent(internalInstance._debugID, internalInstance._currentElement);\n ReactInstrumentation.debugTool.onBeginReconcilerTimer(internalInstance._debugID, 'mountComponent');\n }\n }\n var markup = internalInstance.mountComponent(transaction, hostParent, hostContainerInfo, context);\n if (internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n }\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onEndReconcilerTimer(internalInstance._debugID, 'mountComponent');\n ReactInstrumentation.debugTool.onMountComponent(internalInstance._debugID);\n }\n }\n return markup;\n },\n\n /**\n * Returns a value that can be passed to\n * ReactComponentEnvironment.replaceNodeWithMarkup.\n */\n getHostNode: function (internalInstance) {\n return internalInstance.getHostNode();\n },\n\n /**\n * Releases any resources allocated by `mountComponent`.\n *\n * @final\n * @internal\n */\n unmountComponent: function (internalInstance, safely) {\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeginReconcilerTimer(internalInstance._debugID, 'unmountComponent');\n }\n }\n ReactRef.detachRefs(internalInstance, internalInstance._currentElement);\n internalInstance.unmountComponent(safely);\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onEndReconcilerTimer(internalInstance._debugID, 'unmountComponent');\n ReactInstrumentation.debugTool.onUnmountComponent(internalInstance._debugID);\n }\n }\n },\n\n /**\n * Update a component using a new element.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactElement} nextElement\n * @param {ReactReconcileTransaction} transaction\n * @param {object} context\n * @internal\n */\n receiveComponent: function (internalInstance, nextElement, transaction, context) {\n var prevElement = internalInstance._currentElement;\n\n if (nextElement === prevElement && context === internalInstance._context) {\n // Since elements are immutable after the owner is rendered,\n // we can do a cheap identity compare here to determine if this is a\n // superfluous reconcile. It's possible for state to be mutable but such\n // change should trigger an update of the owner which would recreate\n // the element. We explicitly check for the existence of an owner since\n // it's possible for an element created outside a composite to be\n // deeply mutated and reused.\n\n // TODO: Bailing out early is just a perf optimization right?\n // TODO: Removing the return statement should affect correctness?\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, nextElement);\n ReactInstrumentation.debugTool.onBeginReconcilerTimer(internalInstance._debugID, 'receiveComponent');\n }\n }\n\n var refsChanged = ReactRef.shouldUpdateRefs(prevElement, nextElement);\n\n if (refsChanged) {\n ReactRef.detachRefs(internalInstance, prevElement);\n }\n\n internalInstance.receiveComponent(nextElement, transaction, context);\n\n if (refsChanged && internalInstance._currentElement && internalInstance._currentElement.ref != null) {\n transaction.getReactMountReady().enqueue(attachRefs, internalInstance);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onEndReconcilerTimer(internalInstance._debugID, 'receiveComponent');\n ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);\n }\n }\n },\n\n /**\n * Flush any dirty changes in a component.\n *\n * @param {ReactComponent} internalInstance\n * @param {ReactReconcileTransaction} transaction\n * @internal\n */\n performUpdateIfNecessary: function (internalInstance, transaction, updateBatchNumber) {\n if (internalInstance._updateBatchNumber !== updateBatchNumber) {\n // The component's enqueued batch number should always be the current\n // batch or the following one.\n process.env.NODE_ENV !== 'production' ? warning(internalInstance._updateBatchNumber == null || internalInstance._updateBatchNumber === updateBatchNumber + 1, 'performUpdateIfNecessary: Unexpected batch number (current %s, ' + 'pending %s)', updateBatchNumber, internalInstance._updateBatchNumber) : void 0;\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onBeginReconcilerTimer(internalInstance._debugID, 'performUpdateIfNecessary');\n ReactInstrumentation.debugTool.onBeforeUpdateComponent(internalInstance._debugID, internalInstance._currentElement);\n }\n }\n internalInstance.performUpdateIfNecessary(transaction);\n if (process.env.NODE_ENV !== 'production') {\n if (internalInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onEndReconcilerTimer(internalInstance._debugID, 'performUpdateIfNecessary');\n ReactInstrumentation.debugTool.onUpdateComponent(internalInstance._debugID);\n }\n }\n }\n\n};\n\nmodule.exports = ReactReconciler;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactReconciler.js\n ** module id = 90\n ** module chunks = 0\n **/","const messages = [\n {\n id: \"app.api.invalidResponse\",\n defaultMessage: \"Invalid response text.\",\n description: \"Invalid response from the API\",\n },\n {\n id: \"app.api.emptyResponse\",\n defaultMessage: \"Empty response text.\",\n description: \"Empty response from the API\",\n },\n {\n id: \"app.api.error\",\n defaultMessage: \"Unknown API error.\",\n description: \"An unknown error occurred from the API\",\n },\n];\n\nexport default messages;\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/locales/messagesDescriptors/api.js\n **/","// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = require('./_cof');\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function(it){\n return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_iobject.js\n ** module id = 92\n ** module chunks = 0\n **/","exports.f = {}.propertyIsEnumerable;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_object-pie.js\n ** module id = 93\n ** module chunks = 0\n **/","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\nvar emptyObject = {};\n\nif (process.env.NODE_ENV !== 'production') {\n Object.freeze(emptyObject);\n}\n\nmodule.exports = emptyObject;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/emptyObject.js\n ** module id = 94\n ** module chunks = 0\n **/","/*!\n * getSize v2.0.2\n * measure size of elements\n * MIT license\n */\n\n/*jshint browser: true, strict: true, undef: true, unused: true */\n/*global define: false, module: false, console: false */\n\n( function( window, factory ) {\n 'use strict';\n\n if ( typeof define == 'function' && define.amd ) {\n // AMD\n define( function() {\n return factory();\n });\n } else if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory();\n } else {\n // browser global\n window.getSize = factory();\n }\n\n})( window, function factory() {\n'use strict';\n\n// -------------------------- helpers -------------------------- //\n\n// get a number from a string, not a percentage\nfunction getStyleSize( value ) {\n var num = parseFloat( value );\n // not a percent like '100%', and a number\n var isValid = value.indexOf('%') == -1 && !isNaN( num );\n return isValid && num;\n}\n\nfunction noop() {}\n\nvar logError = typeof console == 'undefined' ? noop :\n function( message ) {\n console.error( message );\n };\n\n// -------------------------- measurements -------------------------- //\n\nvar measurements = [\n 'paddingLeft',\n 'paddingRight',\n 'paddingTop',\n 'paddingBottom',\n 'marginLeft',\n 'marginRight',\n 'marginTop',\n 'marginBottom',\n 'borderLeftWidth',\n 'borderRightWidth',\n 'borderTopWidth',\n 'borderBottomWidth'\n];\n\nvar measurementsLength = measurements.length;\n\nfunction getZeroSize() {\n var size = {\n width: 0,\n height: 0,\n innerWidth: 0,\n innerHeight: 0,\n outerWidth: 0,\n outerHeight: 0\n };\n for ( var i=0; i < measurementsLength; i++ ) {\n var measurement = measurements[i];\n size[ measurement ] = 0;\n }\n return size;\n}\n\n// -------------------------- getStyle -------------------------- //\n\n/**\n * getStyle, get style of element, check for Firefox bug\n * https://bugzilla.mozilla.org/show_bug.cgi?id=548397\n */\nfunction getStyle( elem ) {\n var style = getComputedStyle( elem );\n if ( !style ) {\n logError( 'Style returned ' + style +\n '. Are you running this code in a hidden iframe on Firefox? ' +\n 'See http://bit.ly/getsizebug1' );\n }\n return style;\n}\n\n// -------------------------- setup -------------------------- //\n\nvar isSetup = false;\n\nvar isBoxSizeOuter;\n\n/**\n * setup\n * check isBoxSizerOuter\n * do on first getSize() rather than on page load for Firefox bug\n */\nfunction setup() {\n // setup once\n if ( isSetup ) {\n return;\n }\n isSetup = true;\n\n // -------------------------- box sizing -------------------------- //\n\n /**\n * WebKit measures the outer-width on style.width on border-box elems\n * IE & Firefox<29 measures the inner-width\n */\n var div = document.createElement('div');\n div.style.width = '200px';\n div.style.padding = '1px 2px 3px 4px';\n div.style.borderStyle = 'solid';\n div.style.borderWidth = '1px 2px 3px 4px';\n div.style.boxSizing = 'border-box';\n\n var body = document.body || document.documentElement;\n body.appendChild( div );\n var style = getStyle( div );\n\n getSize.isBoxSizeOuter = isBoxSizeOuter = getStyleSize( style.width ) == 200;\n body.removeChild( div );\n\n}\n\n// -------------------------- getSize -------------------------- //\n\nfunction getSize( elem ) {\n setup();\n\n // use querySeletor if elem is string\n if ( typeof elem == 'string' ) {\n elem = document.querySelector( elem );\n }\n\n // do not proceed on non-objects\n if ( !elem || typeof elem != 'object' || !elem.nodeType ) {\n return;\n }\n\n var style = getStyle( elem );\n\n // if hidden, everything is 0\n if ( style.display == 'none' ) {\n return getZeroSize();\n }\n\n var size = {};\n size.width = elem.offsetWidth;\n size.height = elem.offsetHeight;\n\n var isBorderBox = size.isBorderBox = style.boxSizing == 'border-box';\n\n // get all measurements\n for ( var i=0; i < measurementsLength; i++ ) {\n var measurement = measurements[i];\n var value = style[ measurement ];\n var num = parseFloat( value );\n // any 'auto', 'medium' value will be 0\n size[ measurement ] = !isNaN( num ) ? num : 0;\n }\n\n var paddingWidth = size.paddingLeft + size.paddingRight;\n var paddingHeight = size.paddingTop + size.paddingBottom;\n var marginWidth = size.marginLeft + size.marginRight;\n var marginHeight = size.marginTop + size.marginBottom;\n var borderWidth = size.borderLeftWidth + size.borderRightWidth;\n var borderHeight = size.borderTopWidth + size.borderBottomWidth;\n\n var isBorderBoxSizeOuter = isBorderBox && isBoxSizeOuter;\n\n // overwrite width and height if we can get it from style\n var styleWidth = getStyleSize( style.width );\n if ( styleWidth !== false ) {\n size.width = styleWidth +\n // add padding and border unless it's already including it\n ( isBorderBoxSizeOuter ? 0 : paddingWidth + borderWidth );\n }\n\n var styleHeight = getStyleSize( style.height );\n if ( styleHeight !== false ) {\n size.height = styleHeight +\n // add padding and border unless it's already including it\n ( isBorderBoxSizeOuter ? 0 : paddingHeight + borderHeight );\n }\n\n size.innerWidth = size.width - ( paddingWidth + borderWidth );\n size.innerHeight = size.height - ( paddingHeight + borderHeight );\n\n size.outerWidth = size.width + marginWidth;\n size.outerHeight = size.height + marginHeight;\n\n return size;\n}\n\nreturn getSize;\n\n});\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/get-size/get-size.js\n ** module id = 95\n ** module chunks = 0\n **/","var getLength = require('./_getLength'),\n isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(getLength(value)) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/isArrayLike.js\n ** module id = 96\n ** module chunks = 0\n **/","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.routerMiddleware = exports.routerActions = exports.goForward = exports.goBack = exports.go = exports.replace = exports.push = exports.CALL_HISTORY_METHOD = exports.routerReducer = exports.LOCATION_CHANGE = exports.syncHistoryWithStore = undefined;\n\nvar _reducer = require('./reducer');\n\nObject.defineProperty(exports, 'LOCATION_CHANGE', {\n enumerable: true,\n get: function get() {\n return _reducer.LOCATION_CHANGE;\n }\n});\nObject.defineProperty(exports, 'routerReducer', {\n enumerable: true,\n get: function get() {\n return _reducer.routerReducer;\n }\n});\n\nvar _actions = require('./actions');\n\nObject.defineProperty(exports, 'CALL_HISTORY_METHOD', {\n enumerable: true,\n get: function get() {\n return _actions.CALL_HISTORY_METHOD;\n }\n});\nObject.defineProperty(exports, 'push', {\n enumerable: true,\n get: function get() {\n return _actions.push;\n }\n});\nObject.defineProperty(exports, 'replace', {\n enumerable: true,\n get: function get() {\n return _actions.replace;\n }\n});\nObject.defineProperty(exports, 'go', {\n enumerable: true,\n get: function get() {\n return _actions.go;\n }\n});\nObject.defineProperty(exports, 'goBack', {\n enumerable: true,\n get: function get() {\n return _actions.goBack;\n }\n});\nObject.defineProperty(exports, 'goForward', {\n enumerable: true,\n get: function get() {\n return _actions.goForward;\n }\n});\nObject.defineProperty(exports, 'routerActions', {\n enumerable: true,\n get: function get() {\n return _actions.routerActions;\n }\n});\n\nvar _sync = require('./sync');\n\nvar _sync2 = _interopRequireDefault(_sync);\n\nvar _middleware = require('./middleware');\n\nvar _middleware2 = _interopRequireDefault(_middleware);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nexports.syncHistoryWithStore = _sync2['default'];\nexports.routerMiddleware = _middleware2['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router-redux/lib/index.js\n ** module id = 97\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule EventPluginHub\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar EventPluginRegistry = require('./EventPluginRegistry');\nvar EventPluginUtils = require('./EventPluginUtils');\nvar ReactErrorUtils = require('./ReactErrorUtils');\n\nvar accumulateInto = require('./accumulateInto');\nvar forEachAccumulated = require('./forEachAccumulated');\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Internal store for event listeners\n */\nvar listenerBank = {};\n\n/**\n * Internal queue of events that have accumulated their dispatches and are\n * waiting to have their dispatches executed.\n */\nvar eventQueue = null;\n\n/**\n * Dispatches an event and releases it back into the pool, unless persistent.\n *\n * @param {?object} event Synthetic event to be dispatched.\n * @param {boolean} simulated If the event is simulated (changes exn behavior)\n * @private\n */\nvar executeDispatchesAndRelease = function (event, simulated) {\n if (event) {\n EventPluginUtils.executeDispatchesInOrder(event, simulated);\n\n if (!event.isPersistent()) {\n event.constructor.release(event);\n }\n }\n};\nvar executeDispatchesAndReleaseSimulated = function (e) {\n return executeDispatchesAndRelease(e, true);\n};\nvar executeDispatchesAndReleaseTopLevel = function (e) {\n return executeDispatchesAndRelease(e, false);\n};\n\nvar getDictionaryKey = function (inst) {\n return '.' + inst._rootNodeID;\n};\n\n/**\n * This is a unified interface for event plugins to be installed and configured.\n *\n * Event plugins can implement the following properties:\n *\n * `extractEvents` {function(string, DOMEventTarget, string, object): *}\n * Required. When a top-level event is fired, this method is expected to\n * extract synthetic events that will in turn be queued and dispatched.\n *\n * `eventTypes` {object}\n * Optional, plugins that fire events must publish a mapping of registration\n * names that are used to register listeners. Values of this mapping must\n * be objects that contain `registrationName` or `phasedRegistrationNames`.\n *\n * `executeDispatch` {function(object, function, string)}\n * Optional, allows plugins to override how an event gets dispatched. By\n * default, the listener is simply invoked.\n *\n * Each plugin that is injected into `EventsPluginHub` is immediately operable.\n *\n * @public\n */\nvar EventPluginHub = {\n\n /**\n * Methods for injecting dependencies.\n */\n injection: {\n\n /**\n * @param {array} InjectedEventPluginOrder\n * @public\n */\n injectEventPluginOrder: EventPluginRegistry.injectEventPluginOrder,\n\n /**\n * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n */\n injectEventPluginsByName: EventPluginRegistry.injectEventPluginsByName\n\n },\n\n /**\n * Stores `listener` at `listenerBank[registrationName][key]`. Is idempotent.\n *\n * @param {object} inst The instance, which is the source of events.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @param {function} listener The callback to store.\n */\n putListener: function (inst, registrationName, listener) {\n !(typeof listener === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected %s listener to be a function, instead got type %s', registrationName, typeof listener) : _prodInvariant('94', registrationName, typeof listener) : void 0;\n\n var key = getDictionaryKey(inst);\n var bankForRegistrationName = listenerBank[registrationName] || (listenerBank[registrationName] = {});\n bankForRegistrationName[key] = listener;\n\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.didPutListener) {\n PluginModule.didPutListener(inst, registrationName, listener);\n }\n },\n\n /**\n * @param {object} inst The instance, which is the source of events.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @return {?function} The stored callback.\n */\n getListener: function (inst, registrationName) {\n var bankForRegistrationName = listenerBank[registrationName];\n var key = getDictionaryKey(inst);\n return bankForRegistrationName && bankForRegistrationName[key];\n },\n\n /**\n * Deletes a listener from the registration bank.\n *\n * @param {object} inst The instance, which is the source of events.\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n */\n deleteListener: function (inst, registrationName) {\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.willDeleteListener) {\n PluginModule.willDeleteListener(inst, registrationName);\n }\n\n var bankForRegistrationName = listenerBank[registrationName];\n // TODO: This should never be null -- when is it?\n if (bankForRegistrationName) {\n var key = getDictionaryKey(inst);\n delete bankForRegistrationName[key];\n }\n },\n\n /**\n * Deletes all listeners for the DOM element with the supplied ID.\n *\n * @param {object} inst The instance, which is the source of events.\n */\n deleteAllListeners: function (inst) {\n var key = getDictionaryKey(inst);\n for (var registrationName in listenerBank) {\n if (!listenerBank.hasOwnProperty(registrationName)) {\n continue;\n }\n\n if (!listenerBank[registrationName][key]) {\n continue;\n }\n\n var PluginModule = EventPluginRegistry.registrationNameModules[registrationName];\n if (PluginModule && PluginModule.willDeleteListener) {\n PluginModule.willDeleteListener(inst, registrationName);\n }\n\n delete listenerBank[registrationName][key];\n }\n },\n\n /**\n * Allows registered plugins an opportunity to extract events from top-level\n * native browser events.\n *\n * @return {*} An accumulation of synthetic events.\n * @internal\n */\n extractEvents: function (topLevelType, targetInst, nativeEvent, nativeEventTarget) {\n var events;\n var plugins = EventPluginRegistry.plugins;\n for (var i = 0; i < plugins.length; i++) {\n // Not every plugin in the ordering may be loaded at runtime.\n var possiblePlugin = plugins[i];\n if (possiblePlugin) {\n var extractedEvents = possiblePlugin.extractEvents(topLevelType, targetInst, nativeEvent, nativeEventTarget);\n if (extractedEvents) {\n events = accumulateInto(events, extractedEvents);\n }\n }\n }\n return events;\n },\n\n /**\n * Enqueues a synthetic event that should be dispatched when\n * `processEventQueue` is invoked.\n *\n * @param {*} events An accumulation of synthetic events.\n * @internal\n */\n enqueueEvents: function (events) {\n if (events) {\n eventQueue = accumulateInto(eventQueue, events);\n }\n },\n\n /**\n * Dispatches all synthetic events on the event queue.\n *\n * @internal\n */\n processEventQueue: function (simulated) {\n // Set `eventQueue` to null before processing it so that we can tell if more\n // events get enqueued while processing.\n var processingEventQueue = eventQueue;\n eventQueue = null;\n if (simulated) {\n forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseSimulated);\n } else {\n forEachAccumulated(processingEventQueue, executeDispatchesAndReleaseTopLevel);\n }\n !!eventQueue ? process.env.NODE_ENV !== 'production' ? invariant(false, 'processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented.') : _prodInvariant('95') : void 0;\n // This would be a good time to rethrow if any of the event handlers threw.\n ReactErrorUtils.rethrowCaughtError();\n },\n\n /**\n * These are needed for tests only. Do not use!\n */\n __purge: function () {\n listenerBank = {};\n },\n\n __getListenerBank: function () {\n return listenerBank;\n }\n\n};\n\nmodule.exports = EventPluginHub;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/EventPluginHub.js\n ** module id = 98\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule EventPropagators\n */\n\n'use strict';\n\nvar EventConstants = require('./EventConstants');\nvar EventPluginHub = require('./EventPluginHub');\nvar EventPluginUtils = require('./EventPluginUtils');\n\nvar accumulateInto = require('./accumulateInto');\nvar forEachAccumulated = require('./forEachAccumulated');\nvar warning = require('fbjs/lib/warning');\n\nvar PropagationPhases = EventConstants.PropagationPhases;\nvar getListener = EventPluginHub.getListener;\n\n/**\n * Some event types have a notion of different registration names for different\n * \"phases\" of propagation. This finds listeners by a given phase.\n */\nfunction listenerAtPhase(inst, event, propagationPhase) {\n var registrationName = event.dispatchConfig.phasedRegistrationNames[propagationPhase];\n return getListener(inst, registrationName);\n}\n\n/**\n * Tags a `SyntheticEvent` with dispatched listeners. Creating this function\n * here, allows us to not have to bind or create functions for each event.\n * Mutating the event's members allows us to not have to create a wrapping\n * \"dispatch\" object that pairs the event with the listener.\n */\nfunction accumulateDirectionalDispatches(inst, upwards, event) {\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(inst, 'Dispatching inst must not be null') : void 0;\n }\n var phase = upwards ? PropagationPhases.bubbled : PropagationPhases.captured;\n var listener = listenerAtPhase(inst, event, phase);\n if (listener) {\n event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);\n }\n}\n\n/**\n * Collect dispatches (must be entirely collected before dispatching - see unit\n * tests). Lazily allocate the array to conserve memory. We must loop through\n * each event and perform the traversal for each one. We cannot perform a\n * single traversal for the entire collection of events because each event may\n * have a different target.\n */\nfunction accumulateTwoPhaseDispatchesSingle(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n EventPluginUtils.traverseTwoPhase(event._targetInst, accumulateDirectionalDispatches, event);\n }\n}\n\n/**\n * Same as `accumulateTwoPhaseDispatchesSingle`, but skips over the targetID.\n */\nfunction accumulateTwoPhaseDispatchesSingleSkipTarget(event) {\n if (event && event.dispatchConfig.phasedRegistrationNames) {\n var targetInst = event._targetInst;\n var parentInst = targetInst ? EventPluginUtils.getParentInstance(targetInst) : null;\n EventPluginUtils.traverseTwoPhase(parentInst, accumulateDirectionalDispatches, event);\n }\n}\n\n/**\n * Accumulates without regard to direction, does not look for phased\n * registration names. Same as `accumulateDirectDispatchesSingle` but without\n * requiring that the `dispatchMarker` be the same as the dispatched ID.\n */\nfunction accumulateDispatches(inst, ignoredDirection, event) {\n if (event && event.dispatchConfig.registrationName) {\n var registrationName = event.dispatchConfig.registrationName;\n var listener = getListener(inst, registrationName);\n if (listener) {\n event._dispatchListeners = accumulateInto(event._dispatchListeners, listener);\n event._dispatchInstances = accumulateInto(event._dispatchInstances, inst);\n }\n }\n}\n\n/**\n * Accumulates dispatches on an `SyntheticEvent`, but only for the\n * `dispatchMarker`.\n * @param {SyntheticEvent} event\n */\nfunction accumulateDirectDispatchesSingle(event) {\n if (event && event.dispatchConfig.registrationName) {\n accumulateDispatches(event._targetInst, null, event);\n }\n}\n\nfunction accumulateTwoPhaseDispatches(events) {\n forEachAccumulated(events, accumulateTwoPhaseDispatchesSingle);\n}\n\nfunction accumulateTwoPhaseDispatchesSkipTarget(events) {\n forEachAccumulated(events, accumulateTwoPhaseDispatchesSingleSkipTarget);\n}\n\nfunction accumulateEnterLeaveDispatches(leave, enter, from, to) {\n EventPluginUtils.traverseEnterLeave(from, to, accumulateDispatches, leave, enter);\n}\n\nfunction accumulateDirectDispatches(events) {\n forEachAccumulated(events, accumulateDirectDispatchesSingle);\n}\n\n/**\n * A small set of propagation patterns, each of which will accept a small amount\n * of information, and generate a set of \"dispatch ready event objects\" - which\n * are sets of events that have already been annotated with a set of dispatched\n * listener functions/ids. The API is designed this way to discourage these\n * propagation strategies from actually executing the dispatches, since we\n * always want to collect the entire set of dispatches before executing event a\n * single one.\n *\n * @constructor EventPropagators\n */\nvar EventPropagators = {\n accumulateTwoPhaseDispatches: accumulateTwoPhaseDispatches,\n accumulateTwoPhaseDispatchesSkipTarget: accumulateTwoPhaseDispatchesSkipTarget,\n accumulateDirectDispatches: accumulateDirectDispatches,\n accumulateEnterLeaveDispatches: accumulateEnterLeaveDispatches\n};\n\nmodule.exports = EventPropagators;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/EventPropagators.js\n ** module id = 99\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactInstanceMap\n */\n\n'use strict';\n\n/**\n * `ReactInstanceMap` maintains a mapping from a public facing stateful\n * instance (key) and the internal representation (value). This allows public\n * methods to accept the user facing instance as an argument and map them back\n * to internal methods.\n */\n\n// TODO: Replace this with ES6: var ReactInstanceMap = new Map();\n\nvar ReactInstanceMap = {\n\n /**\n * This API should be called `delete` but we'd have to make sure to always\n * transform these to strings for IE support. When this transform is fully\n * supported we can rename it.\n */\n remove: function (key) {\n key._reactInternalInstance = undefined;\n },\n\n get: function (key) {\n return key._reactInternalInstance;\n },\n\n has: function (key) {\n return key._reactInternalInstance !== undefined;\n },\n\n set: function (key, value) {\n key._reactInternalInstance = value;\n }\n\n};\n\nmodule.exports = ReactInstanceMap;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactInstanceMap.js\n ** module id = 100\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticUIEvent\n */\n\n'use strict';\n\nvar SyntheticEvent = require('./SyntheticEvent');\n\nvar getEventTarget = require('./getEventTarget');\n\n/**\n * @interface UIEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar UIEventInterface = {\n view: function (event) {\n if (event.view) {\n return event.view;\n }\n\n var target = getEventTarget(event);\n if (target.window === target) {\n // target is a window object\n return target;\n }\n\n var doc = target.ownerDocument;\n // TODO: Figure out why `ownerDocument` is sometimes undefined in IE8.\n if (doc) {\n return doc.defaultView || doc.parentWindow;\n } else {\n return window;\n }\n },\n detail: function (event) {\n return event.detail || 0;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticEvent}\n */\nfunction SyntheticUIEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticEvent.augmentClass(SyntheticUIEvent, UIEventInterface);\n\nmodule.exports = SyntheticUIEvent;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticUIEvent.js\n ** module id = 101\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule Transaction\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * `Transaction` creates a black box that is able to wrap any method such that\n * certain invariants are maintained before and after the method is invoked\n * (Even if an exception is thrown while invoking the wrapped method). Whoever\n * instantiates a transaction can provide enforcers of the invariants at\n * creation time. The `Transaction` class itself will supply one additional\n * automatic invariant for you - the invariant that any transaction instance\n * should not be run while it is already being run. You would typically create a\n * single instance of a `Transaction` for reuse multiple times, that potentially\n * is used to wrap several different methods. Wrappers are extremely simple -\n * they only require implementing two methods.\n *\n * \n * wrappers (injected at creation time)\n * + +\n * | |\n * +-----------------|--------|--------------+\n * | v | |\n * | +---------------+ | |\n * | +--| wrapper1 |---|----+ |\n * | | +---------------+ v | |\n * | | +-------------+ | |\n * | | +----| wrapper2 |--------+ |\n * | | | +-------------+ | | |\n * | | | | | |\n * | v v v v | wrapper\n * | +---+ +---+ +---------+ +---+ +---+ | invariants\n * perform(anyMethod) | | | | | | | | | | | | maintained\n * +----------------->|-|---|-|---|-->|anyMethod|---|---|-|---|-|-------->\n * | | | | | | | | | | | |\n * | | | | | | | | | | | |\n * | | | | | | | | | | | |\n * | +---+ +---+ +---------+ +---+ +---+ |\n * | initialize close |\n * +-----------------------------------------+\n * \n *\n * Use cases:\n * - Preserving the input selection ranges before/after reconciliation.\n * Restoring selection even in the event of an unexpected error.\n * - Deactivating events while rearranging the DOM, preventing blurs/focuses,\n * while guaranteeing that afterwards, the event system is reactivated.\n * - Flushing a queue of collected DOM mutations to the main UI thread after a\n * reconciliation takes place in a worker thread.\n * - Invoking any collected `componentDidUpdate` callbacks after rendering new\n * content.\n * - (Future use case): Wrapping particular flushes of the `ReactWorker` queue\n * to preserve the `scrollTop` (an automatic scroll aware DOM).\n * - (Future use case): Layout calculations before and after DOM updates.\n *\n * Transactional plugin API:\n * - A module that has an `initialize` method that returns any precomputation.\n * - and a `close` method that accepts the precomputation. `close` is invoked\n * when the wrapped process is completed, or has failed.\n *\n * @param {Array} transactionWrapper Wrapper modules\n * that implement `initialize` and `close`.\n * @return {Transaction} Single transaction for reuse in thread.\n *\n * @class Transaction\n */\nvar Mixin = {\n /**\n * Sets up this instance so that it is prepared for collecting metrics. Does\n * so such that this setup method may be used on an instance that is already\n * initialized, in a way that does not consume additional memory upon reuse.\n * That can be useful if you decide to make your subclass of this mixin a\n * \"PooledClass\".\n */\n reinitializeTransaction: function () {\n this.transactionWrappers = this.getTransactionWrappers();\n if (this.wrapperInitData) {\n this.wrapperInitData.length = 0;\n } else {\n this.wrapperInitData = [];\n }\n this._isInTransaction = false;\n },\n\n _isInTransaction: false,\n\n /**\n * @abstract\n * @return {Array} Array of transaction wrappers.\n */\n getTransactionWrappers: null,\n\n isInTransaction: function () {\n return !!this._isInTransaction;\n },\n\n /**\n * Executes the function within a safety window. Use this for the top level\n * methods that result in large amounts of computation/mutations that would\n * need to be safety checked. The optional arguments helps prevent the need\n * to bind in many cases.\n *\n * @param {function} method Member of scope to call.\n * @param {Object} scope Scope to invoke from.\n * @param {Object?=} a Argument to pass to the method.\n * @param {Object?=} b Argument to pass to the method.\n * @param {Object?=} c Argument to pass to the method.\n * @param {Object?=} d Argument to pass to the method.\n * @param {Object?=} e Argument to pass to the method.\n * @param {Object?=} f Argument to pass to the method.\n *\n * @return {*} Return value from `method`.\n */\n perform: function (method, scope, a, b, c, d, e, f) {\n !!this.isInTransaction() ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction.') : _prodInvariant('27') : void 0;\n var errorThrown;\n var ret;\n try {\n this._isInTransaction = true;\n // Catching errors makes debugging more difficult, so we start with\n // errorThrown set to true before setting it to false after calling\n // close -- if it's still set to true in the finally block, it means\n // one of these calls threw.\n errorThrown = true;\n this.initializeAll(0);\n ret = method.call(scope, a, b, c, d, e, f);\n errorThrown = false;\n } finally {\n try {\n if (errorThrown) {\n // If `method` throws, prefer to show that stack trace over any thrown\n // by invoking `closeAll`.\n try {\n this.closeAll(0);\n } catch (err) {}\n } else {\n // Since `method` didn't throw, we don't want to silence the exception\n // here.\n this.closeAll(0);\n }\n } finally {\n this._isInTransaction = false;\n }\n }\n return ret;\n },\n\n initializeAll: function (startIndex) {\n var transactionWrappers = this.transactionWrappers;\n for (var i = startIndex; i < transactionWrappers.length; i++) {\n var wrapper = transactionWrappers[i];\n try {\n // Catching errors makes debugging more difficult, so we start with the\n // OBSERVED_ERROR state before overwriting it with the real return value\n // of initialize -- if it's still set to OBSERVED_ERROR in the finally\n // block, it means wrapper.initialize threw.\n this.wrapperInitData[i] = Transaction.OBSERVED_ERROR;\n this.wrapperInitData[i] = wrapper.initialize ? wrapper.initialize.call(this) : null;\n } finally {\n if (this.wrapperInitData[i] === Transaction.OBSERVED_ERROR) {\n // The initializer for wrapper i threw an error; initialize the\n // remaining wrappers but silence any exceptions from them to ensure\n // that the first error is the one to bubble up.\n try {\n this.initializeAll(i + 1);\n } catch (err) {}\n }\n }\n }\n },\n\n /**\n * Invokes each of `this.transactionWrappers.close[i]` functions, passing into\n * them the respective return values of `this.transactionWrappers.init[i]`\n * (`close`rs that correspond to initializers that failed will not be\n * invoked).\n */\n closeAll: function (startIndex) {\n !this.isInTransaction() ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Transaction.closeAll(): Cannot close transaction when none are open.') : _prodInvariant('28') : void 0;\n var transactionWrappers = this.transactionWrappers;\n for (var i = startIndex; i < transactionWrappers.length; i++) {\n var wrapper = transactionWrappers[i];\n var initData = this.wrapperInitData[i];\n var errorThrown;\n try {\n // Catching errors makes debugging more difficult, so we start with\n // errorThrown set to true before setting it to false after calling\n // close -- if it's still set to true in the finally block, it means\n // wrapper.close threw.\n errorThrown = true;\n if (initData !== Transaction.OBSERVED_ERROR && wrapper.close) {\n wrapper.close.call(this, initData);\n }\n errorThrown = false;\n } finally {\n if (errorThrown) {\n // The closer for wrapper i threw an error; close the remaining\n // wrappers but silence any exceptions from them to ensure that the\n // first error is the one to bubble up.\n try {\n this.closeAll(i + 1);\n } catch (e) {}\n }\n }\n }\n this.wrapperInitData.length = 0;\n }\n};\n\nvar Transaction = {\n\n Mixin: Mixin,\n\n /**\n * Token to look for to determine if an error occurred.\n */\n OBSERVED_ERROR: {}\n\n};\n\nmodule.exports = Transaction;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/Transaction.js\n ** module id = 102\n ** module chunks = 0\n **/","/**\n * This file implements actions related to global entities store.\n */\n\nexport const PUSH_ENTITIES = \"PUSH_ENTITIES\";\n/**\n * Push some entities in the global entities store.\n *\n * @param entities An entities mapping, such as the one in the entities\n * store: type => id => entity.\n * @param refCountType An array of entities type to consider for\n * increasing reference counting (elements loaded as nested objects)\n * @return A PUSH_ENTITIES action.\n */\nexport function pushEntities(entities, refCountType=[\"album\", \"artist\", \"song\"]) {\n return {\n type: PUSH_ENTITIES,\n payload: {\n entities: entities,\n refCountType: refCountType,\n },\n };\n}\n\n\nexport const INCREMENT_REFCOUNT = \"INCREMENT_REFCOUNT\";\n/**\n * Increment the reference counter for given entities.\n *\n * @param ids A mapping type => list of IDs, each ID being the one of an\n * entity to increment reference counter. List of IDs must be\n * a JS Object.\n * @return An INCREMENT_REFCOUNT action.\n */\nexport function incrementRefCount(entities) {\n return {\n type: INCREMENT_REFCOUNT,\n payload: {\n entities: entities,\n },\n };\n}\n\n\nexport const DECREMENT_REFCOUNT = \"DECREMENT_REFCOUNT\";\n/**\n * Decrement the reference counter for given entities.\n *\n * @param ids A mapping type => list of IDs, each ID being the one of an\n * entity to decrement reference counter. List of IDs must be\n * a JS Object.\n * @return A DECREMENT_REFCOUNT action.\n */\nexport function decrementRefCount(entities) {\n return {\n type: DECREMENT_REFCOUNT,\n payload: {\n entities: entities,\n },\n };\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/actions/entities.js\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\n\n\n/**\n * A dismissible Bootstrap alert.\n */\nexport default class DismissibleAlert extends Component {\n render() {\n // Set correct alert type\n let alertType = \"alert-danger\";\n if (this.props.type) {\n alertType = \"alert-\" + this.props.type;\n }\n\n return (\n \n
\n \n × \n \n {this.props.text}\n
\n
\n );\n }\n}\nDismissibleAlert.propTypes = {\n type: PropTypes.string,\n text: PropTypes.string,\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/elements/DismissibleAlert.jsx\n **/","// false -> Array#indexOf\n// true -> Array#includes\nvar toIObject = require('./_to-iobject')\n , toLength = require('./_to-length')\n , toIndex = require('./_to-index');\nmodule.exports = function(IS_INCLUDES){\n return function($this, el, fromIndex){\n var O = toIObject($this)\n , length = toLength(O.length)\n , index = toIndex(fromIndex, length)\n , value;\n // Array#includes uses SameValueZero equality algorithm\n if(IS_INCLUDES && el != el)while(length > index){\n value = O[index++];\n if(value != value)return true;\n // Array#toIndex ignores holes, Array#includes - not\n } else for(;length > index; index++)if(IS_INCLUDES || index in O){\n if(O[index] === el)return IS_INCLUDES || index || 0;\n } return !IS_INCLUDES && -1;\n };\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_array-includes.js\n ** module id = 105\n ** module chunks = 0\n **/","'use strict';\nvar global = require('./_global')\n , $export = require('./_export')\n , redefine = require('./_redefine')\n , redefineAll = require('./_redefine-all')\n , meta = require('./_meta')\n , forOf = require('./_for-of')\n , anInstance = require('./_an-instance')\n , isObject = require('./_is-object')\n , fails = require('./_fails')\n , $iterDetect = require('./_iter-detect')\n , setToStringTag = require('./_set-to-string-tag')\n , inheritIfRequired = require('./_inherit-if-required');\n\nmodule.exports = function(NAME, wrapper, methods, common, IS_MAP, IS_WEAK){\n var Base = global[NAME]\n , C = Base\n , ADDER = IS_MAP ? 'set' : 'add'\n , proto = C && C.prototype\n , O = {};\n var fixMethod = function(KEY){\n var fn = proto[KEY];\n redefine(proto, KEY,\n KEY == 'delete' ? function(a){\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'has' ? function has(a){\n return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'get' ? function get(a){\n return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n } : KEY == 'add' ? function add(a){ fn.call(this, a === 0 ? 0 : a); return this; }\n : function set(a, b){ fn.call(this, a === 0 ? 0 : a, b); return this; }\n );\n };\n if(typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function(){\n new C().entries().next();\n }))){\n // create collection constructor\n C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n redefineAll(C.prototype, methods);\n meta.NEED = true;\n } else {\n var instance = new C\n // early implementations not supports chaining\n , HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance\n // V8 ~ Chromium 40- weak-collections throws on primitives, but should return false\n , THROWS_ON_PRIMITIVES = fails(function(){ instance.has(1); })\n // most early implementations doesn't supports iterables, most modern - not close it correctly\n , ACCEPT_ITERABLES = $iterDetect(function(iter){ new C(iter); }) // eslint-disable-line no-new\n // for early implementations -0 and +0 not the same\n , BUGGY_ZERO = !IS_WEAK && fails(function(){\n // V8 ~ Chromium 42- fails only with 5+ elements\n var $instance = new C()\n , index = 5;\n while(index--)$instance[ADDER](index, index);\n return !$instance.has(-0);\n });\n if(!ACCEPT_ITERABLES){ \n C = wrapper(function(target, iterable){\n anInstance(target, C, NAME);\n var that = inheritIfRequired(new Base, target, C);\n if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n return that;\n });\n C.prototype = proto;\n proto.constructor = C;\n }\n if(THROWS_ON_PRIMITIVES || BUGGY_ZERO){\n fixMethod('delete');\n fixMethod('has');\n IS_MAP && fixMethod('get');\n }\n if(BUGGY_ZERO || HASNT_CHAINING)fixMethod(ADDER);\n // weak collections should not contains .clear method\n if(IS_WEAK && proto.clear)delete proto.clear;\n }\n\n setToStringTag(C, NAME);\n\n O[NAME] = C;\n $export($export.G + $export.W + $export.F * (C != Base), O);\n\n if(!IS_WEAK)common.setStrong(C, NAME, IS_MAP);\n\n return C;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_collection.js\n ** module id = 106\n ** module chunks = 0\n **/","'use strict';\nvar hide = require('./_hide')\n , redefine = require('./_redefine')\n , fails = require('./_fails')\n , defined = require('./_defined')\n , wks = require('./_wks');\n\nmodule.exports = function(KEY, length, exec){\n var SYMBOL = wks(KEY)\n , fns = exec(defined, SYMBOL, ''[KEY])\n , strfn = fns[0]\n , rxfn = fns[1];\n if(fails(function(){\n var O = {};\n O[SYMBOL] = function(){ return 7; };\n return ''[KEY](O) != 7;\n })){\n redefine(String.prototype, KEY, strfn);\n hide(RegExp.prototype, SYMBOL, length == 2\n // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n ? function(string, arg){ return rxfn.call(string, this, arg); }\n // 21.2.5.6 RegExp.prototype[@@match](string)\n // 21.2.5.9 RegExp.prototype[@@search](string)\n : function(string){ return rxfn.call(string, this); }\n );\n }\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_fix-re-wks.js\n ** module id = 107\n ** module chunks = 0\n **/","'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = require('./_an-object');\nmodule.exports = function(){\n var that = anObject(this)\n , result = '';\n if(that.global) result += 'g';\n if(that.ignoreCase) result += 'i';\n if(that.multiline) result += 'm';\n if(that.unicode) result += 'u';\n if(that.sticky) result += 'y';\n return result;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_flags.js\n ** module id = 108\n ** module chunks = 0\n **/","// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function(fn, args, that){\n var un = that === undefined;\n switch(args.length){\n case 0: return un ? fn()\n : fn.call(that);\n case 1: return un ? fn(args[0])\n : fn.call(that, args[0]);\n case 2: return un ? fn(args[0], args[1])\n : fn.call(that, args[0], args[1]);\n case 3: return un ? fn(args[0], args[1], args[2])\n : fn.call(that, args[0], args[1], args[2]);\n case 4: return un ? fn(args[0], args[1], args[2], args[3])\n : fn.call(that, args[0], args[1], args[2], args[3]);\n } return fn.apply(that, args);\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_invoke.js\n ** module id = 109\n ** module chunks = 0\n **/","// 7.2.8 IsRegExp(argument)\nvar isObject = require('./_is-object')\n , cof = require('./_cof')\n , MATCH = require('./_wks')('match');\nmodule.exports = function(it){\n var isRegExp;\n return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_is-regexp.js\n ** module id = 110\n ** module chunks = 0\n **/","var ITERATOR = require('./_wks')('iterator')\n , SAFE_CLOSING = false;\n\ntry {\n var riter = [7][ITERATOR]();\n riter['return'] = function(){ SAFE_CLOSING = true; };\n Array.from(riter, function(){ throw 2; });\n} catch(e){ /* empty */ }\n\nmodule.exports = function(exec, skipClosing){\n if(!skipClosing && !SAFE_CLOSING)return false;\n var safe = false;\n try {\n var arr = [7]\n , iter = arr[ITERATOR]();\n iter.next = function(){ return {done: safe = true}; };\n arr[ITERATOR] = function(){ return iter; };\n exec(arr);\n } catch(e){ /* empty */ }\n return safe;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_iter-detect.js\n ** module id = 111\n ** module chunks = 0\n **/","// Forced replacement prototype accessors methods\r\nmodule.exports = require('./_library')|| !require('./_fails')(function(){\r\n var K = Math.random();\r\n // In FF throws only define methods\r\n __defineSetter__.call(null, K, function(){ /* empty */});\r\n delete require('./_global')[K];\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_object-forced-pam.js\n ** module id = 112\n ** module chunks = 0\n **/","exports.f = Object.getOwnPropertySymbols;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_object-gops.js\n ** module id = 113\n ** module chunks = 0\n **/","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object')\n , anObject = require('./_an-object');\nvar check = function(O, proto){\n anObject(O);\n if(!isObject(proto) && proto !== null)throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function(test, buggy, set){\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch(e){ buggy = true; }\n return function setPrototypeOf(O, proto){\n check(O, proto);\n if(buggy)O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_set-proto.js\n ** module id = 114\n ** module chunks = 0\n **/","var global = require('./_global')\n , SHARED = '__core-js_shared__'\n , store = global[SHARED] || (global[SHARED] = {});\nmodule.exports = function(key){\n return store[key] || (store[key] = {});\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_shared.js\n ** module id = 115\n ** module chunks = 0\n **/","var global = require('./_global')\n , hide = require('./_hide')\n , uid = require('./_uid')\n , TYPED = uid('typed_array')\n , VIEW = uid('view')\n , ABV = !!(global.ArrayBuffer && global.DataView)\n , CONSTR = ABV\n , i = 0, l = 9, Typed;\n\nvar TypedArrayConstructors = (\n 'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'\n).split(',');\n\nwhile(i < l){\n if(Typed = global[TypedArrayConstructors[i++]]){\n hide(Typed.prototype, TYPED, true);\n hide(Typed.prototype, VIEW, true);\n } else CONSTR = false;\n}\n\nmodule.exports = {\n ABV: ABV,\n CONSTR: CONSTR,\n TYPED: TYPED,\n VIEW: VIEW\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_typed.js\n ** module id = 116\n ** module chunks = 0\n **/","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks static-only\n */\n\n'use strict';\n\nvar invariant = require('./invariant');\n\n/**\n * Constructs an enumeration with keys equal to their value.\n *\n * For example:\n *\n * var COLORS = keyMirror({blue: null, red: null});\n * var myColor = COLORS.blue;\n * var isColorValid = !!COLORS[myColor];\n *\n * The last line could not be performed if the values of the generated enum were\n * not equal to their keys.\n *\n * Input: {key1: val1, key2: val2}\n * Output: {key1: key1, key2: key2}\n *\n * @param {object} obj\n * @return {object}\n */\nvar keyMirror = function keyMirror(obj) {\n var ret = {};\n var key;\n !(obj instanceof Object && !Array.isArray(obj)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'keyMirror(...): Argument must be an object.') : invariant(false) : void 0;\n for (key in obj) {\n if (!obj.hasOwnProperty(key)) {\n continue;\n }\n ret[key] = key;\n }\n return ret;\n};\n\nmodule.exports = keyMirror;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/keyMirror.js\n ** module id = 117\n ** module chunks = 0\n **/","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n * \n */\n\n/*eslint-disable no-self-compare */\n\n'use strict';\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n\n/**\n * inlined Object.is polyfill to avoid requiring consumers ship their own\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\n */\nfunction is(x, y) {\n // SameValue algorithm\n if (x === y) {\n // Steps 1-5, 7-10\n // Steps 6.b-6.e: +0 != -0\n return x !== 0 || 1 / x === 1 / y;\n } else {\n // Step 6.a: NaN == NaN\n return x !== x && y !== y;\n }\n}\n\n/**\n * Performs equality by iterating through keys on an object and returning false\n * when any key has values which are not strictly equal between the arguments.\n * Returns true when the values of all keys are strictly equal.\n */\nfunction shallowEqual(objA, objB) {\n if (is(objA, objB)) {\n return true;\n }\n\n if (typeof objA !== 'object' || objA === null || typeof objB !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n }\n\n // Test for A's keys different from B.\n for (var i = 0; i < keysA.length; i++) {\n if (!hasOwnProperty.call(objB, keysA[i]) || !is(objA[keysA[i]], objB[keysA[i]])) {\n return false;\n }\n }\n\n return true;\n}\n\nmodule.exports = shallowEqual;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/shallowEqual.js\n ** module id = 118\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\nexports.canUseDOM = canUseDOM;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/history/lib/ExecutionEnvironment.js\n ** module id = 119\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nvar _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; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar _queryString = require('query-string');\n\nvar _runTransitionHook = require('./runTransitionHook');\n\nvar _runTransitionHook2 = _interopRequireDefault(_runTransitionHook);\n\nvar _PathUtils = require('./PathUtils');\n\nvar _deprecate = require('./deprecate');\n\nvar _deprecate2 = _interopRequireDefault(_deprecate);\n\nvar SEARCH_BASE_KEY = '$searchBase';\n\nfunction defaultStringifyQuery(query) {\n return _queryString.stringify(query).replace(/%20/g, '+');\n}\n\nvar defaultParseQueryString = _queryString.parse;\n\nfunction isNestedObject(object) {\n for (var p in object) {\n if (Object.prototype.hasOwnProperty.call(object, p) && typeof object[p] === 'object' && !Array.isArray(object[p]) && object[p] !== null) return true;\n }return false;\n}\n\n/**\n * Returns a new createHistory function that may be used to create\n * history objects that know how to handle URL queries.\n */\nfunction useQueries(createHistory) {\n return function () {\n var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n var history = createHistory(options);\n\n var stringifyQuery = options.stringifyQuery;\n var parseQueryString = options.parseQueryString;\n\n if (typeof stringifyQuery !== 'function') stringifyQuery = defaultStringifyQuery;\n\n if (typeof parseQueryString !== 'function') parseQueryString = defaultParseQueryString;\n\n function addQuery(location) {\n if (location.query == null) {\n var search = location.search;\n\n location.query = parseQueryString(search.substring(1));\n location[SEARCH_BASE_KEY] = { search: search, searchBase: '' };\n }\n\n // TODO: Instead of all the book-keeping here, this should just strip the\n // stringified query from the search.\n\n return location;\n }\n\n function appendQuery(location, query) {\n var _extends2;\n\n var searchBaseSpec = location[SEARCH_BASE_KEY];\n var queryString = query ? stringifyQuery(query) : '';\n if (!searchBaseSpec && !queryString) {\n return location;\n }\n\n process.env.NODE_ENV !== 'production' ? _warning2['default'](stringifyQuery !== defaultStringifyQuery || !isNestedObject(query), 'useQueries does not stringify nested query objects by default; ' + 'use a custom stringifyQuery function') : undefined;\n\n if (typeof location === 'string') location = _PathUtils.parsePath(location);\n\n var searchBase = undefined;\n if (searchBaseSpec && location.search === searchBaseSpec.search) {\n searchBase = searchBaseSpec.searchBase;\n } else {\n searchBase = location.search || '';\n }\n\n var search = searchBase;\n if (queryString) {\n search += (search ? '&' : '?') + queryString;\n }\n\n return _extends({}, location, (_extends2 = {\n search: search\n }, _extends2[SEARCH_BASE_KEY] = { search: search, searchBase: searchBase }, _extends2));\n }\n\n // Override all read methods with query-aware versions.\n function listenBefore(hook) {\n return history.listenBefore(function (location, callback) {\n _runTransitionHook2['default'](hook, addQuery(location), callback);\n });\n }\n\n function listen(listener) {\n return history.listen(function (location) {\n listener(addQuery(location));\n });\n }\n\n // Override all write methods with query-aware versions.\n function push(location) {\n history.push(appendQuery(location, location.query));\n }\n\n function replace(location) {\n history.replace(appendQuery(location, location.query));\n }\n\n function createPath(location, query) {\n process.env.NODE_ENV !== 'production' ? _warning2['default'](!query, 'the query argument to createPath is deprecated; use a location descriptor instead') : undefined;\n\n return history.createPath(appendQuery(location, query || location.query));\n }\n\n function createHref(location, query) {\n process.env.NODE_ENV !== 'production' ? _warning2['default'](!query, 'the query argument to createHref is deprecated; use a location descriptor instead') : undefined;\n\n return history.createHref(appendQuery(location, query || location.query));\n }\n\n function createLocation(location) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var fullLocation = history.createLocation.apply(history, [appendQuery(location, location.query)].concat(args));\n if (location.query) {\n fullLocation.query = location.query;\n }\n return addQuery(fullLocation);\n }\n\n // deprecated\n function pushState(state, path, query) {\n if (typeof path === 'string') path = _PathUtils.parsePath(path);\n\n push(_extends({ state: state }, path, { query: query }));\n }\n\n // deprecated\n function replaceState(state, path, query) {\n if (typeof path === 'string') path = _PathUtils.parsePath(path);\n\n replace(_extends({ state: state }, path, { query: query }));\n }\n\n return _extends({}, history, {\n listenBefore: listenBefore,\n listen: listen,\n push: push,\n replace: replace,\n createPath: createPath,\n createHref: createHref,\n createLocation: createLocation,\n\n pushState: _deprecate2['default'](pushState, 'pushState is deprecated; use push instead'),\n replaceState: _deprecate2['default'](replaceState, 'replaceState is deprecated; use replace instead')\n });\n };\n}\n\nexports['default'] = useQueries;\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/history/lib/useQueries.js\n ** module id = 120\n ** module chunks = 0\n **/","/**\n * Isotope LayoutMode\n */\n\n( function( window, factory ) {\n // universal module definition\n /* jshint strict: false */ /*globals define, module, require */\n if ( typeof define == 'function' && define.amd ) {\n // AMD\n define( [\n 'get-size/get-size',\n 'outlayer/outlayer'\n ],\n factory );\n } else if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory(\n require('get-size'),\n require('outlayer')\n );\n } else {\n // browser global\n window.Isotope = window.Isotope || {};\n window.Isotope.LayoutMode = factory(\n window.getSize,\n window.Outlayer\n );\n }\n\n}( window, function factory( getSize, Outlayer ) {\n 'use strict';\n\n // layout mode class\n function LayoutMode( isotope ) {\n this.isotope = isotope;\n // link properties\n if ( isotope ) {\n this.options = isotope.options[ this.namespace ];\n this.element = isotope.element;\n this.items = isotope.filteredItems;\n this.size = isotope.size;\n }\n }\n\n var proto = LayoutMode.prototype;\n\n /**\n * some methods should just defer to default Outlayer method\n * and reference the Isotope instance as `this`\n **/\n var facadeMethods = [\n '_resetLayout',\n '_getItemLayoutPosition',\n '_manageStamp',\n '_getContainerSize',\n '_getElementOffset',\n 'needsResizeLayout',\n '_getOption'\n ];\n\n facadeMethods.forEach( function( methodName ) {\n proto[ methodName ] = function() {\n return Outlayer.prototype[ methodName ].apply( this.isotope, arguments );\n };\n });\n\n // ----- ----- //\n\n // for horizontal layout modes, check vertical size\n proto.needsVerticalResizeLayout = function() {\n // don't trigger if size did not change\n var size = getSize( this.isotope.element );\n // check that this.size and size are there\n // IE8 triggers resize on body size change, so they might not be\n var hasSizes = this.isotope.size && size;\n return hasSizes && size.innerHeight != this.isotope.size.innerHeight;\n };\n\n // ----- measurements ----- //\n\n proto._getMeasurement = function() {\n this.isotope._getMeasurement.apply( this, arguments );\n };\n\n proto.getColumnWidth = function() {\n this.getSegmentSize( 'column', 'Width' );\n };\n\n proto.getRowHeight = function() {\n this.getSegmentSize( 'row', 'Height' );\n };\n\n /**\n * get columnWidth or rowHeight\n * segment: 'column' or 'row'\n * size 'Width' or 'Height'\n **/\n proto.getSegmentSize = function( segment, size ) {\n var segmentName = segment + size;\n var outerSize = 'outer' + size;\n // columnWidth / outerWidth // rowHeight / outerHeight\n this._getMeasurement( segmentName, outerSize );\n // got rowHeight or columnWidth, we can chill\n if ( this[ segmentName ] ) {\n return;\n }\n // fall back to item of first element\n var firstItemSize = this.getFirstItemSize();\n this[ segmentName ] = firstItemSize && firstItemSize[ outerSize ] ||\n // or size of container\n this.isotope.size[ 'inner' + size ];\n };\n\n proto.getFirstItemSize = function() {\n var firstItem = this.isotope.filteredItems[0];\n return firstItem && firstItem.element && getSize( firstItem.element );\n };\n\n // ----- methods that should reference isotope ----- //\n\n proto.layout = function() {\n this.isotope.layout.apply( this.isotope, arguments );\n };\n\n proto.getSize = function() {\n this.isotope.getSize();\n this.size = this.isotope.size;\n };\n\n // -------------------------- create -------------------------- //\n\n LayoutMode.modes = {};\n\n LayoutMode.create = function( namespace, options ) {\n\n function Mode() {\n LayoutMode.apply( this, arguments );\n }\n\n Mode.prototype = Object.create( proto );\n Mode.prototype.constructor = Mode;\n\n // default options\n if ( options ) {\n Mode.options = options;\n }\n\n Mode.prototype.namespace = namespace;\n // register in Isotope\n LayoutMode.modes[ namespace ] = Mode;\n\n return Mode;\n };\n\n return LayoutMode;\n\n}));\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/isotope-layout/js/layout-mode.js\n ** module id = 121\n ** module chunks = 0\n **/","var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_ListCache.js\n ** module id = 122\n ** module chunks = 0\n **/","var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to search.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_assocIndexOf.js\n ** module id = 123\n ** module chunks = 0\n **/","var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_getMapData.js\n ** module id = 124\n ** module chunks = 0\n **/","var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_isKey.js\n ** module id = 125\n ** module chunks = 0\n **/","var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_nativeCreate.js\n ** module id = 126\n ** module chunks = 0\n **/","var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_toKey.js\n ** module id = 127\n ** module chunks = 0\n **/","/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/eq.js\n ** module id = 128\n ** module chunks = 0\n **/","var isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 8 which returns 'object' for typed array and weak map constructors,\n // and PhantomJS 1.9 which returns 'function' for `NodeList` instances.\n var tag = isObject(value) ? objectToString.call(value) : '';\n return tag == funcTag || tag == genTag;\n}\n\nmodule.exports = isFunction;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/isFunction.js\n ** module id = 129\n ** module chunks = 0\n **/","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This function is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/6.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length,\n * else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/isLength.js\n ** module id = 130\n ** module chunks = 0\n **/","var baseHas = require('./_baseHas'),\n baseKeys = require('./_baseKeys'),\n indexKeys = require('./_indexKeys'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/6.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n var isProto = isPrototype(object);\n if (!(isProto || isArrayLike(object))) {\n return baseKeys(object);\n }\n var indexes = indexKeys(object),\n skipIndexes = !!indexes,\n result = indexes || [],\n length = result.length;\n\n for (var key in object) {\n if (baseHas(object, key) &&\n !(skipIndexes && (key == 'length' || isIndex(key, length))) &&\n !(isProto && key == 'constructor')) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = keys;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/keys.js\n ** module id = 131\n ** module chunks = 0\n **/","/*!\n * Outlayer v2.1.0\n * the brains and guts of a layout library\n * MIT license\n */\n\n( function( window, factory ) {\n 'use strict';\n // universal module definition\n /* jshint strict: false */ /* globals define, module, require */\n if ( typeof define == 'function' && define.amd ) {\n // AMD - RequireJS\n define( [\n 'ev-emitter/ev-emitter',\n 'get-size/get-size',\n 'fizzy-ui-utils/utils',\n './item'\n ],\n function( EvEmitter, getSize, utils, Item ) {\n return factory( window, EvEmitter, getSize, utils, Item);\n }\n );\n } else if ( typeof module == 'object' && module.exports ) {\n // CommonJS - Browserify, Webpack\n module.exports = factory(\n window,\n require('ev-emitter'),\n require('get-size'),\n require('fizzy-ui-utils'),\n require('./item')\n );\n } else {\n // browser global\n window.Outlayer = factory(\n window,\n window.EvEmitter,\n window.getSize,\n window.fizzyUIUtils,\n window.Outlayer.Item\n );\n }\n\n}( window, function factory( window, EvEmitter, getSize, utils, Item ) {\n'use strict';\n\n// ----- vars ----- //\n\nvar console = window.console;\nvar jQuery = window.jQuery;\nvar noop = function() {};\n\n// -------------------------- Outlayer -------------------------- //\n\n// globally unique identifiers\nvar GUID = 0;\n// internal store of all Outlayer intances\nvar instances = {};\n\n\n/**\n * @param {Element, String} element\n * @param {Object} options\n * @constructor\n */\nfunction Outlayer( element, options ) {\n var queryElement = utils.getQueryElement( element );\n if ( !queryElement ) {\n if ( console ) {\n console.error( 'Bad element for ' + this.constructor.namespace +\n ': ' + ( queryElement || element ) );\n }\n return;\n }\n this.element = queryElement;\n // add jQuery\n if ( jQuery ) {\n this.$element = jQuery( this.element );\n }\n\n // options\n this.options = utils.extend( {}, this.constructor.defaults );\n this.option( options );\n\n // add id for Outlayer.getFromElement\n var id = ++GUID;\n this.element.outlayerGUID = id; // expando\n instances[ id ] = this; // associate via id\n\n // kick it off\n this._create();\n\n var isInitLayout = this._getOption('initLayout');\n if ( isInitLayout ) {\n this.layout();\n }\n}\n\n// settings are for internal use only\nOutlayer.namespace = 'outlayer';\nOutlayer.Item = Item;\n\n// default options\nOutlayer.defaults = {\n containerStyle: {\n position: 'relative'\n },\n initLayout: true,\n originLeft: true,\n originTop: true,\n resize: true,\n resizeContainer: true,\n // item options\n transitionDuration: '0.4s',\n hiddenStyle: {\n opacity: 0,\n transform: 'scale(0.001)'\n },\n visibleStyle: {\n opacity: 1,\n transform: 'scale(1)'\n }\n};\n\nvar proto = Outlayer.prototype;\n// inherit EvEmitter\nutils.extend( proto, EvEmitter.prototype );\n\n/**\n * set options\n * @param {Object} opts\n */\nproto.option = function( opts ) {\n utils.extend( this.options, opts );\n};\n\n/**\n * get backwards compatible option value, check old name\n */\nproto._getOption = function( option ) {\n var oldOption = this.constructor.compatOptions[ option ];\n return oldOption && this.options[ oldOption ] !== undefined ?\n this.options[ oldOption ] : this.options[ option ];\n};\n\nOutlayer.compatOptions = {\n // currentName: oldName\n initLayout: 'isInitLayout',\n horizontal: 'isHorizontal',\n layoutInstant: 'isLayoutInstant',\n originLeft: 'isOriginLeft',\n originTop: 'isOriginTop',\n resize: 'isResizeBound',\n resizeContainer: 'isResizingContainer'\n};\n\nproto._create = function() {\n // get items from children\n this.reloadItems();\n // elements that affect layout, but are not laid out\n this.stamps = [];\n this.stamp( this.options.stamp );\n // set container style\n utils.extend( this.element.style, this.options.containerStyle );\n\n // bind resize method\n var canBindResize = this._getOption('resize');\n if ( canBindResize ) {\n this.bindResize();\n }\n};\n\n// goes through all children again and gets bricks in proper order\nproto.reloadItems = function() {\n // collection of item elements\n this.items = this._itemize( this.element.children );\n};\n\n\n/**\n * turn elements into Outlayer.Items to be used in layout\n * @param {Array or NodeList or HTMLElement} elems\n * @returns {Array} items - collection of new Outlayer Items\n */\nproto._itemize = function( elems ) {\n\n var itemElems = this._filterFindItemElements( elems );\n var Item = this.constructor.Item;\n\n // create new Outlayer Items for collection\n var items = [];\n for ( var i=0; i < itemElems.length; i++ ) {\n var elem = itemElems[i];\n var item = new Item( elem, this );\n items.push( item );\n }\n\n return items;\n};\n\n/**\n * get item elements to be used in layout\n * @param {Array or NodeList or HTMLElement} elems\n * @returns {Array} items - item elements\n */\nproto._filterFindItemElements = function( elems ) {\n return utils.filterFindElements( elems, this.options.itemSelector );\n};\n\n/**\n * getter method for getting item elements\n * @returns {Array} elems - collection of item elements\n */\nproto.getItemElements = function() {\n return this.items.map( function( item ) {\n return item.element;\n });\n};\n\n// ----- init & layout ----- //\n\n/**\n * lays out all items\n */\nproto.layout = function() {\n this._resetLayout();\n this._manageStamps();\n\n // don't animate first layout\n var layoutInstant = this._getOption('layoutInstant');\n var isInstant = layoutInstant !== undefined ?\n layoutInstant : !this._isLayoutInited;\n this.layoutItems( this.items, isInstant );\n\n // flag for initalized\n this._isLayoutInited = true;\n};\n\n// _init is alias for layout\nproto._init = proto.layout;\n\n/**\n * logic before any new layout\n */\nproto._resetLayout = function() {\n this.getSize();\n};\n\n\nproto.getSize = function() {\n this.size = getSize( this.element );\n};\n\n/**\n * get measurement from option, for columnWidth, rowHeight, gutter\n * if option is String -> get element from selector string, & get size of element\n * if option is Element -> get size of element\n * else use option as a number\n *\n * @param {String} measurement\n * @param {String} size - width or height\n * @private\n */\nproto._getMeasurement = function( measurement, size ) {\n var option = this.options[ measurement ];\n var elem;\n if ( !option ) {\n // default to 0\n this[ measurement ] = 0;\n } else {\n // use option as an element\n if ( typeof option == 'string' ) {\n elem = this.element.querySelector( option );\n } else if ( option instanceof HTMLElement ) {\n elem = option;\n }\n // use size of element, if element\n this[ measurement ] = elem ? getSize( elem )[ size ] : option;\n }\n};\n\n/**\n * layout a collection of item elements\n * @api public\n */\nproto.layoutItems = function( items, isInstant ) {\n items = this._getItemsForLayout( items );\n\n this._layoutItems( items, isInstant );\n\n this._postLayout();\n};\n\n/**\n * get the items to be laid out\n * you may want to skip over some items\n * @param {Array} items\n * @returns {Array} items\n */\nproto._getItemsForLayout = function( items ) {\n return items.filter( function( item ) {\n return !item.isIgnored;\n });\n};\n\n/**\n * layout items\n * @param {Array} items\n * @param {Boolean} isInstant\n */\nproto._layoutItems = function( items, isInstant ) {\n this._emitCompleteOnItems( 'layout', items );\n\n if ( !items || !items.length ) {\n // no items, emit event with empty array\n return;\n }\n\n var queue = [];\n\n items.forEach( function( item ) {\n // get x/y object from method\n var position = this._getItemLayoutPosition( item );\n // enqueue\n position.item = item;\n position.isInstant = isInstant || item.isLayoutInstant;\n queue.push( position );\n }, this );\n\n this._processLayoutQueue( queue );\n};\n\n/**\n * get item layout position\n * @param {Outlayer.Item} item\n * @returns {Object} x and y position\n */\nproto._getItemLayoutPosition = function( /* item */ ) {\n return {\n x: 0,\n y: 0\n };\n};\n\n/**\n * iterate over array and position each item\n * Reason being - separating this logic prevents 'layout invalidation'\n * thx @paul_irish\n * @param {Array} queue\n */\nproto._processLayoutQueue = function( queue ) {\n this.updateStagger();\n queue.forEach( function( obj, i ) {\n this._positionItem( obj.item, obj.x, obj.y, obj.isInstant, i );\n }, this );\n};\n\n// set stagger from option in milliseconds number\nproto.updateStagger = function() {\n var stagger = this.options.stagger;\n if ( stagger === null || stagger === undefined ) {\n this.stagger = 0;\n return;\n }\n this.stagger = getMilliseconds( stagger );\n return this.stagger;\n};\n\n/**\n * Sets position of item in DOM\n * @param {Outlayer.Item} item\n * @param {Number} x - horizontal position\n * @param {Number} y - vertical position\n * @param {Boolean} isInstant - disables transitions\n */\nproto._positionItem = function( item, x, y, isInstant, i ) {\n if ( isInstant ) {\n // if not transition, just set CSS\n item.goTo( x, y );\n } else {\n item.stagger( i * this.stagger );\n item.moveTo( x, y );\n }\n};\n\n/**\n * Any logic you want to do after each layout,\n * i.e. size the container\n */\nproto._postLayout = function() {\n this.resizeContainer();\n};\n\nproto.resizeContainer = function() {\n var isResizingContainer = this._getOption('resizeContainer');\n if ( !isResizingContainer ) {\n return;\n }\n var size = this._getContainerSize();\n if ( size ) {\n this._setContainerMeasure( size.width, true );\n this._setContainerMeasure( size.height, false );\n }\n};\n\n/**\n * Sets width or height of container if returned\n * @returns {Object} size\n * @param {Number} width\n * @param {Number} height\n */\nproto._getContainerSize = noop;\n\n/**\n * @param {Number} measure - size of width or height\n * @param {Boolean} isWidth\n */\nproto._setContainerMeasure = function( measure, isWidth ) {\n if ( measure === undefined ) {\n return;\n }\n\n var elemSize = this.size;\n // add padding and border width if border box\n if ( elemSize.isBorderBox ) {\n measure += isWidth ? elemSize.paddingLeft + elemSize.paddingRight +\n elemSize.borderLeftWidth + elemSize.borderRightWidth :\n elemSize.paddingBottom + elemSize.paddingTop +\n elemSize.borderTopWidth + elemSize.borderBottomWidth;\n }\n\n measure = Math.max( measure, 0 );\n this.element.style[ isWidth ? 'width' : 'height' ] = measure + 'px';\n};\n\n/**\n * emit eventComplete on a collection of items events\n * @param {String} eventName\n * @param {Array} items - Outlayer.Items\n */\nproto._emitCompleteOnItems = function( eventName, items ) {\n var _this = this;\n function onComplete() {\n _this.dispatchEvent( eventName + 'Complete', null, [ items ] );\n }\n\n var count = items.length;\n if ( !items || !count ) {\n onComplete();\n return;\n }\n\n var doneCount = 0;\n function tick() {\n doneCount++;\n if ( doneCount == count ) {\n onComplete();\n }\n }\n\n // bind callback\n items.forEach( function( item ) {\n item.once( eventName, tick );\n });\n};\n\n/**\n * emits events via EvEmitter and jQuery events\n * @param {String} type - name of event\n * @param {Event} event - original event\n * @param {Array} args - extra arguments\n */\nproto.dispatchEvent = function( type, event, args ) {\n // add original event to arguments\n var emitArgs = event ? [ event ].concat( args ) : args;\n this.emitEvent( type, emitArgs );\n\n if ( jQuery ) {\n // set this.$element\n this.$element = this.$element || jQuery( this.element );\n if ( event ) {\n // create jQuery event\n var $event = jQuery.Event( event );\n $event.type = type;\n this.$element.trigger( $event, args );\n } else {\n // just trigger with type if no event available\n this.$element.trigger( type, args );\n }\n }\n};\n\n// -------------------------- ignore & stamps -------------------------- //\n\n\n/**\n * keep item in collection, but do not lay it out\n * ignored items do not get skipped in layout\n * @param {Element} elem\n */\nproto.ignore = function( elem ) {\n var item = this.getItem( elem );\n if ( item ) {\n item.isIgnored = true;\n }\n};\n\n/**\n * return item to layout collection\n * @param {Element} elem\n */\nproto.unignore = function( elem ) {\n var item = this.getItem( elem );\n if ( item ) {\n delete item.isIgnored;\n }\n};\n\n/**\n * adds elements to stamps\n * @param {NodeList, Array, Element, or String} elems\n */\nproto.stamp = function( elems ) {\n elems = this._find( elems );\n if ( !elems ) {\n return;\n }\n\n this.stamps = this.stamps.concat( elems );\n // ignore\n elems.forEach( this.ignore, this );\n};\n\n/**\n * removes elements to stamps\n * @param {NodeList, Array, or Element} elems\n */\nproto.unstamp = function( elems ) {\n elems = this._find( elems );\n if ( !elems ){\n return;\n }\n\n elems.forEach( function( elem ) {\n // filter out removed stamp elements\n utils.removeFrom( this.stamps, elem );\n this.unignore( elem );\n }, this );\n};\n\n/**\n * finds child elements\n * @param {NodeList, Array, Element, or String} elems\n * @returns {Array} elems\n */\nproto._find = function( elems ) {\n if ( !elems ) {\n return;\n }\n // if string, use argument as selector string\n if ( typeof elems == 'string' ) {\n elems = this.element.querySelectorAll( elems );\n }\n elems = utils.makeArray( elems );\n return elems;\n};\n\nproto._manageStamps = function() {\n if ( !this.stamps || !this.stamps.length ) {\n return;\n }\n\n this._getBoundingRect();\n\n this.stamps.forEach( this._manageStamp, this );\n};\n\n// update boundingLeft / Top\nproto._getBoundingRect = function() {\n // get bounding rect for container element\n var boundingRect = this.element.getBoundingClientRect();\n var size = this.size;\n this._boundingRect = {\n left: boundingRect.left + size.paddingLeft + size.borderLeftWidth,\n top: boundingRect.top + size.paddingTop + size.borderTopWidth,\n right: boundingRect.right - ( size.paddingRight + size.borderRightWidth ),\n bottom: boundingRect.bottom - ( size.paddingBottom + size.borderBottomWidth )\n };\n};\n\n/**\n * @param {Element} stamp\n**/\nproto._manageStamp = noop;\n\n/**\n * get x/y position of element relative to container element\n * @param {Element} elem\n * @returns {Object} offset - has left, top, right, bottom\n */\nproto._getElementOffset = function( elem ) {\n var boundingRect = elem.getBoundingClientRect();\n var thisRect = this._boundingRect;\n var size = getSize( elem );\n var offset = {\n left: boundingRect.left - thisRect.left - size.marginLeft,\n top: boundingRect.top - thisRect.top - size.marginTop,\n right: thisRect.right - boundingRect.right - size.marginRight,\n bottom: thisRect.bottom - boundingRect.bottom - size.marginBottom\n };\n return offset;\n};\n\n// -------------------------- resize -------------------------- //\n\n// enable event handlers for listeners\n// i.e. resize -> onresize\nproto.handleEvent = utils.handleEvent;\n\n/**\n * Bind layout to window resizing\n */\nproto.bindResize = function() {\n window.addEventListener( 'resize', this );\n this.isResizeBound = true;\n};\n\n/**\n * Unbind layout to window resizing\n */\nproto.unbindResize = function() {\n window.removeEventListener( 'resize', this );\n this.isResizeBound = false;\n};\n\nproto.onresize = function() {\n this.resize();\n};\n\nutils.debounceMethod( Outlayer, 'onresize', 100 );\n\nproto.resize = function() {\n // don't trigger if size did not change\n // or if resize was unbound. See #9\n if ( !this.isResizeBound || !this.needsResizeLayout() ) {\n return;\n }\n\n this.layout();\n};\n\n/**\n * check if layout is needed post layout\n * @returns Boolean\n */\nproto.needsResizeLayout = function() {\n var size = getSize( this.element );\n // check that this.size and size are there\n // IE8 triggers resize on body size change, so they might not be\n var hasSizes = this.size && size;\n return hasSizes && size.innerWidth !== this.size.innerWidth;\n};\n\n// -------------------------- methods -------------------------- //\n\n/**\n * add items to Outlayer instance\n * @param {Array or NodeList or Element} elems\n * @returns {Array} items - Outlayer.Items\n**/\nproto.addItems = function( elems ) {\n var items = this._itemize( elems );\n // add items to collection\n if ( items.length ) {\n this.items = this.items.concat( items );\n }\n return items;\n};\n\n/**\n * Layout newly-appended item elements\n * @param {Array or NodeList or Element} elems\n */\nproto.appended = function( elems ) {\n var items = this.addItems( elems );\n if ( !items.length ) {\n return;\n }\n // layout and reveal just the new items\n this.layoutItems( items, true );\n this.reveal( items );\n};\n\n/**\n * Layout prepended elements\n * @param {Array or NodeList or Element} elems\n */\nproto.prepended = function( elems ) {\n var items = this._itemize( elems );\n if ( !items.length ) {\n return;\n }\n // add items to beginning of collection\n var previousItems = this.items.slice(0);\n this.items = items.concat( previousItems );\n // start new layout\n this._resetLayout();\n this._manageStamps();\n // layout new stuff without transition\n this.layoutItems( items, true );\n this.reveal( items );\n // layout previous items\n this.layoutItems( previousItems );\n};\n\n/**\n * reveal a collection of items\n * @param {Array of Outlayer.Items} items\n */\nproto.reveal = function( items ) {\n this._emitCompleteOnItems( 'reveal', items );\n if ( !items || !items.length ) {\n return;\n }\n var stagger = this.updateStagger();\n items.forEach( function( item, i ) {\n item.stagger( i * stagger );\n item.reveal();\n });\n};\n\n/**\n * hide a collection of items\n * @param {Array of Outlayer.Items} items\n */\nproto.hide = function( items ) {\n this._emitCompleteOnItems( 'hide', items );\n if ( !items || !items.length ) {\n return;\n }\n var stagger = this.updateStagger();\n items.forEach( function( item, i ) {\n item.stagger( i * stagger );\n item.hide();\n });\n};\n\n/**\n * reveal item elements\n * @param {Array}, {Element}, {NodeList} items\n */\nproto.revealItemElements = function( elems ) {\n var items = this.getItems( elems );\n this.reveal( items );\n};\n\n/**\n * hide item elements\n * @param {Array}, {Element}, {NodeList} items\n */\nproto.hideItemElements = function( elems ) {\n var items = this.getItems( elems );\n this.hide( items );\n};\n\n/**\n * get Outlayer.Item, given an Element\n * @param {Element} elem\n * @param {Function} callback\n * @returns {Outlayer.Item} item\n */\nproto.getItem = function( elem ) {\n // loop through items to get the one that matches\n for ( var i=0; i < this.items.length; i++ ) {\n var item = this.items[i];\n if ( item.element == elem ) {\n // return item\n return item;\n }\n }\n};\n\n/**\n * get collection of Outlayer.Items, given Elements\n * @param {Array} elems\n * @returns {Array} items - Outlayer.Items\n */\nproto.getItems = function( elems ) {\n elems = utils.makeArray( elems );\n var items = [];\n elems.forEach( function( elem ) {\n var item = this.getItem( elem );\n if ( item ) {\n items.push( item );\n }\n }, this );\n\n return items;\n};\n\n/**\n * remove element(s) from instance and DOM\n * @param {Array or NodeList or Element} elems\n */\nproto.remove = function( elems ) {\n var removeItems = this.getItems( elems );\n\n this._emitCompleteOnItems( 'remove', removeItems );\n\n // bail if no items to remove\n if ( !removeItems || !removeItems.length ) {\n return;\n }\n\n removeItems.forEach( function( item ) {\n item.remove();\n // remove item from collection\n utils.removeFrom( this.items, item );\n }, this );\n};\n\n// ----- destroy ----- //\n\n// remove and disable Outlayer instance\nproto.destroy = function() {\n // clean up dynamic styles\n var style = this.element.style;\n style.height = '';\n style.position = '';\n style.width = '';\n // destroy items\n this.items.forEach( function( item ) {\n item.destroy();\n });\n\n this.unbindResize();\n\n var id = this.element.outlayerGUID;\n delete instances[ id ]; // remove reference to instance by id\n delete this.element.outlayerGUID;\n // remove data for jQuery\n if ( jQuery ) {\n jQuery.removeData( this.element, this.constructor.namespace );\n }\n\n};\n\n// -------------------------- data -------------------------- //\n\n/**\n * get Outlayer instance from element\n * @param {Element} elem\n * @returns {Outlayer}\n */\nOutlayer.data = function( elem ) {\n elem = utils.getQueryElement( elem );\n var id = elem && elem.outlayerGUID;\n return id && instances[ id ];\n};\n\n\n// -------------------------- create Outlayer class -------------------------- //\n\n/**\n * create a layout class\n * @param {String} namespace\n */\nOutlayer.create = function( namespace, options ) {\n // sub-class Outlayer\n var Layout = subclass( Outlayer );\n // apply new options and compatOptions\n Layout.defaults = utils.extend( {}, Outlayer.defaults );\n utils.extend( Layout.defaults, options );\n Layout.compatOptions = utils.extend( {}, Outlayer.compatOptions );\n\n Layout.namespace = namespace;\n\n Layout.data = Outlayer.data;\n\n // sub-class Item\n Layout.Item = subclass( Item );\n\n // -------------------------- declarative -------------------------- //\n\n utils.htmlInit( Layout, namespace );\n\n // -------------------------- jQuery bridge -------------------------- //\n\n // make into jQuery plugin\n if ( jQuery && jQuery.bridget ) {\n jQuery.bridget( namespace, Layout );\n }\n\n return Layout;\n};\n\nfunction subclass( Parent ) {\n function SubClass() {\n Parent.apply( this, arguments );\n }\n\n SubClass.prototype = Object.create( Parent.prototype );\n SubClass.prototype.constructor = SubClass;\n\n return SubClass;\n}\n\n// ----- helpers ----- //\n\n// how many milliseconds are in each unit\nvar msUnits = {\n ms: 1,\n s: 1000\n};\n\n// munge time-like parameter into millisecond number\n// '0.4s' -> 40\nfunction getMilliseconds( time ) {\n if ( typeof time == 'number' ) {\n return time;\n }\n var matches = time.match( /(^\\d*\\.?\\d*)(\\w*)/ );\n var num = matches && matches[1];\n var unit = matches && matches[2];\n if ( !num.length ) {\n return 0;\n }\n num = parseFloat( num );\n var mult = msUnits[ unit ] || 1;\n return num * mult;\n}\n\n// ----- fin ----- //\n\n// back in global\nOutlayer.Item = Item;\n\nreturn Outlayer;\n\n}));\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/outlayer/outlayer.js\n ** module id = 132\n ** module chunks = 0\n **/","// shim for using process in browser\n\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\n(function () {\n try {\n cachedSetTimeout = setTimeout;\n } catch (e) {\n cachedSetTimeout = function () {\n throw new Error('setTimeout is not defined');\n }\n }\n try {\n cachedClearTimeout = clearTimeout;\n } catch (e) {\n cachedClearTimeout = function () {\n throw new Error('clearTimeout is not defined');\n }\n }\n} ())\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = cachedSetTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n cachedClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n cachedSetTimeout(drainQueue, 0);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/process/browser.js\n ** module id = 133\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol ? \"symbol\" : typeof obj; };\n\nvar _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; };\n\nvar _invariant = require('invariant');\n\nvar _invariant2 = _interopRequireDefault(_invariant);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _deprecateObjectProperties = require('./deprecateObjectProperties');\n\nvar _deprecateObjectProperties2 = _interopRequireDefault(_deprecateObjectProperties);\n\nvar _getRouteParams = require('./getRouteParams');\n\nvar _getRouteParams2 = _interopRequireDefault(_getRouteParams);\n\nvar _RouteUtils = require('./RouteUtils');\n\nvar _routerWarning = require('./routerWarning');\n\nvar _routerWarning2 = _interopRequireDefault(_routerWarning);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _React$PropTypes = _react2.default.PropTypes;\nvar array = _React$PropTypes.array;\nvar func = _React$PropTypes.func;\nvar object = _React$PropTypes.object;\n\n/**\n * A renders the component tree for a given router state\n * and sets the history object and the current location in context.\n */\n\nvar RouterContext = _react2.default.createClass({\n displayName: 'RouterContext',\n\n\n propTypes: {\n history: object,\n router: object.isRequired,\n location: object.isRequired,\n routes: array.isRequired,\n params: object.isRequired,\n components: array.isRequired,\n createElement: func.isRequired\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n createElement: _react2.default.createElement\n };\n },\n\n\n childContextTypes: {\n history: object,\n location: object.isRequired,\n router: object.isRequired\n },\n\n getChildContext: function getChildContext() {\n var _props = this.props;\n var router = _props.router;\n var history = _props.history;\n var location = _props.location;\n\n if (!router) {\n process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(false, '`` expects a `router` rather than a `history`') : void 0;\n\n router = _extends({}, history, {\n setRouteLeaveHook: history.listenBeforeLeavingRoute\n });\n delete router.listenBeforeLeavingRoute;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n location = (0, _deprecateObjectProperties2.default)(location, '`context.location` is deprecated, please use a route component\\'s `props.location` instead. http://tiny.cc/router-accessinglocation');\n }\n\n return { history: history, location: location, router: router };\n },\n createElement: function createElement(component, props) {\n return component == null ? null : this.props.createElement(component, props);\n },\n render: function render() {\n var _this = this;\n\n var _props2 = this.props;\n var history = _props2.history;\n var location = _props2.location;\n var routes = _props2.routes;\n var params = _props2.params;\n var components = _props2.components;\n\n var element = null;\n\n if (components) {\n element = components.reduceRight(function (element, components, index) {\n if (components == null) return element; // Don't create new children; use the grandchildren.\n\n var route = routes[index];\n var routeParams = (0, _getRouteParams2.default)(route, params);\n var props = {\n history: history,\n location: location,\n params: params,\n route: route,\n routeParams: routeParams,\n routes: routes\n };\n\n if ((0, _RouteUtils.isReactChildren)(element)) {\n props.children = element;\n } else if (element) {\n for (var prop in element) {\n if (Object.prototype.hasOwnProperty.call(element, prop)) props[prop] = element[prop];\n }\n }\n\n if ((typeof components === 'undefined' ? 'undefined' : _typeof(components)) === 'object') {\n var elements = {};\n\n for (var key in components) {\n if (Object.prototype.hasOwnProperty.call(components, key)) {\n // Pass through the key as a prop to createElement to allow\n // custom createElement functions to know which named component\n // they're rendering, for e.g. matching up to fetched data.\n elements[key] = _this.createElement(components[key], _extends({\n key: key }, props));\n }\n }\n\n return elements;\n }\n\n return _this.createElement(components, props);\n }, element);\n }\n\n !(element === null || element === false || _react2.default.isValidElement(element)) ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, 'The root route must render a single element') : (0, _invariant2.default)(false) : void 0;\n\n return element;\n }\n});\n\nexports.default = RouterContext;\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/RouterContext.js\n ** module id = 134\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports.canUseMembrane = undefined;\n\nvar _routerWarning = require('./routerWarning');\n\nvar _routerWarning2 = _interopRequireDefault(_routerWarning);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar canUseMembrane = exports.canUseMembrane = false;\n\n// No-op by default.\nvar deprecateObjectProperties = function deprecateObjectProperties(object) {\n return object;\n};\n\nif (process.env.NODE_ENV !== 'production') {\n try {\n if (Object.defineProperty({}, 'x', {\n get: function get() {\n return true;\n }\n }).x) {\n exports.canUseMembrane = canUseMembrane = true;\n }\n /* eslint-disable no-empty */\n } catch (e) {}\n /* eslint-enable no-empty */\n\n if (canUseMembrane) {\n deprecateObjectProperties = function deprecateObjectProperties(object, message) {\n // Wrap the deprecated object in a membrane to warn on property access.\n var membrane = {};\n\n var _loop = function _loop(prop) {\n if (!Object.prototype.hasOwnProperty.call(object, prop)) {\n return 'continue';\n }\n\n if (typeof object[prop] === 'function') {\n // Can't use fat arrow here because of use of arguments below.\n membrane[prop] = function () {\n process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(false, message) : void 0;\n return object[prop].apply(object, arguments);\n };\n return 'continue';\n }\n\n // These properties are non-enumerable to prevent React dev tools from\n // seeing them and causing spurious warnings when accessing them. In\n // principle this could be done with a proxy, but support for the\n // ownKeys trap on proxies is not universal, even among browsers that\n // otherwise support proxies.\n Object.defineProperty(membrane, prop, {\n get: function get() {\n process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(false, message) : void 0;\n return object[prop];\n }\n });\n };\n\n for (var prop in object) {\n var _ret = _loop(prop);\n\n if (_ret === 'continue') continue;\n }\n\n return membrane;\n };\n }\n}\n\nexports.default = deprecateObjectProperties;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/deprecateObjectProperties.js\n ** module id = 135\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule DisabledInputUtils\n */\n\n'use strict';\n\nvar disableableMouseListenerNames = {\n onClick: true,\n onDoubleClick: true,\n onMouseDown: true,\n onMouseMove: true,\n onMouseUp: true,\n\n onClickCapture: true,\n onDoubleClickCapture: true,\n onMouseDownCapture: true,\n onMouseMoveCapture: true,\n onMouseUpCapture: true\n};\n\n/**\n * Implements a host component that does not receive mouse events\n * when `disabled` is set.\n */\nvar DisabledInputUtils = {\n getHostProps: function (inst, props) {\n if (!props.disabled) {\n return props;\n }\n\n // Copy the props, except the mouse listeners\n var hostProps = {};\n for (var key in props) {\n if (!disableableMouseListenerNames[key] && props.hasOwnProperty(key)) {\n hostProps[key] = props[key];\n }\n }\n\n return hostProps;\n }\n};\n\nmodule.exports = DisabledInputUtils;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/DisabledInputUtils.js\n ** module id = 136\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactBrowserEventEmitter\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar EventConstants = require('./EventConstants');\nvar EventPluginRegistry = require('./EventPluginRegistry');\nvar ReactEventEmitterMixin = require('./ReactEventEmitterMixin');\nvar ViewportMetrics = require('./ViewportMetrics');\n\nvar getVendorPrefixedEventName = require('./getVendorPrefixedEventName');\nvar isEventSupported = require('./isEventSupported');\n\n/**\n * Summary of `ReactBrowserEventEmitter` event handling:\n *\n * - Top-level delegation is used to trap most native browser events. This\n * may only occur in the main thread and is the responsibility of\n * ReactEventListener, which is injected and can therefore support pluggable\n * event sources. This is the only work that occurs in the main thread.\n *\n * - We normalize and de-duplicate events to account for browser quirks. This\n * may be done in the worker thread.\n *\n * - Forward these native events (with the associated top-level type used to\n * trap it) to `EventPluginHub`, which in turn will ask plugins if they want\n * to extract any synthetic events.\n *\n * - The `EventPluginHub` will then process each event by annotating them with\n * \"dispatches\", a sequence of listeners and IDs that care about that event.\n *\n * - The `EventPluginHub` then dispatches the events.\n *\n * Overview of React and the event system:\n *\n * +------------+ .\n * | DOM | .\n * +------------+ .\n * | .\n * v .\n * +------------+ .\n * | ReactEvent | .\n * | Listener | .\n * +------------+ . +-----------+\n * | . +--------+|SimpleEvent|\n * | . | |Plugin |\n * +-----|------+ . v +-----------+\n * | | | . +--------------+ +------------+\n * | +-----------.--->|EventPluginHub| | Event |\n * | | . | | +-----------+ | Propagators|\n * | ReactEvent | . | | |TapEvent | |------------|\n * | Emitter | . | |<---+|Plugin | |other plugin|\n * | | . | | +-----------+ | utilities |\n * | +-----------.--->| | +------------+\n * | | | . +--------------+\n * +-----|------+ . ^ +-----------+\n * | . | |Enter/Leave|\n * + . +-------+|Plugin |\n * +-------------+ . +-----------+\n * | application | .\n * |-------------| .\n * | | .\n * | | .\n * +-------------+ .\n * .\n * React Core . General Purpose Event Plugin System\n */\n\nvar hasEventPageXY;\nvar alreadyListeningTo = {};\nvar isMonitoringScrollValue = false;\nvar reactTopListenersCounter = 0;\n\n// For events like 'submit' which don't consistently bubble (which we trap at a\n// lower node than `document`), binding at `document` would cause duplicate\n// events so we don't include them here\nvar topEventMapping = {\n topAbort: 'abort',\n topAnimationEnd: getVendorPrefixedEventName('animationend') || 'animationend',\n topAnimationIteration: getVendorPrefixedEventName('animationiteration') || 'animationiteration',\n topAnimationStart: getVendorPrefixedEventName('animationstart') || 'animationstart',\n topBlur: 'blur',\n topCanPlay: 'canplay',\n topCanPlayThrough: 'canplaythrough',\n topChange: 'change',\n topClick: 'click',\n topCompositionEnd: 'compositionend',\n topCompositionStart: 'compositionstart',\n topCompositionUpdate: 'compositionupdate',\n topContextMenu: 'contextmenu',\n topCopy: 'copy',\n topCut: 'cut',\n topDoubleClick: 'dblclick',\n topDrag: 'drag',\n topDragEnd: 'dragend',\n topDragEnter: 'dragenter',\n topDragExit: 'dragexit',\n topDragLeave: 'dragleave',\n topDragOver: 'dragover',\n topDragStart: 'dragstart',\n topDrop: 'drop',\n topDurationChange: 'durationchange',\n topEmptied: 'emptied',\n topEncrypted: 'encrypted',\n topEnded: 'ended',\n topError: 'error',\n topFocus: 'focus',\n topInput: 'input',\n topKeyDown: 'keydown',\n topKeyPress: 'keypress',\n topKeyUp: 'keyup',\n topLoadedData: 'loadeddata',\n topLoadedMetadata: 'loadedmetadata',\n topLoadStart: 'loadstart',\n topMouseDown: 'mousedown',\n topMouseMove: 'mousemove',\n topMouseOut: 'mouseout',\n topMouseOver: 'mouseover',\n topMouseUp: 'mouseup',\n topPaste: 'paste',\n topPause: 'pause',\n topPlay: 'play',\n topPlaying: 'playing',\n topProgress: 'progress',\n topRateChange: 'ratechange',\n topScroll: 'scroll',\n topSeeked: 'seeked',\n topSeeking: 'seeking',\n topSelectionChange: 'selectionchange',\n topStalled: 'stalled',\n topSuspend: 'suspend',\n topTextInput: 'textInput',\n topTimeUpdate: 'timeupdate',\n topTouchCancel: 'touchcancel',\n topTouchEnd: 'touchend',\n topTouchMove: 'touchmove',\n topTouchStart: 'touchstart',\n topTransitionEnd: getVendorPrefixedEventName('transitionend') || 'transitionend',\n topVolumeChange: 'volumechange',\n topWaiting: 'waiting',\n topWheel: 'wheel'\n};\n\n/**\n * To ensure no conflicts with other potential React instances on the page\n */\nvar topListenersIDKey = '_reactListenersID' + String(Math.random()).slice(2);\n\nfunction getListeningForDocument(mountAt) {\n // In IE8, `mountAt` is a host object and doesn't have `hasOwnProperty`\n // directly.\n if (!Object.prototype.hasOwnProperty.call(mountAt, topListenersIDKey)) {\n mountAt[topListenersIDKey] = reactTopListenersCounter++;\n alreadyListeningTo[mountAt[topListenersIDKey]] = {};\n }\n return alreadyListeningTo[mountAt[topListenersIDKey]];\n}\n\n/**\n * `ReactBrowserEventEmitter` is used to attach top-level event listeners. For\n * example:\n *\n * EventPluginHub.putListener('myID', 'onClick', myFunction);\n *\n * This would allocate a \"registration\" of `('onClick', myFunction)` on 'myID'.\n *\n * @internal\n */\nvar ReactBrowserEventEmitter = _assign({}, ReactEventEmitterMixin, {\n\n /**\n * Injectable event backend\n */\n ReactEventListener: null,\n\n injection: {\n /**\n * @param {object} ReactEventListener\n */\n injectReactEventListener: function (ReactEventListener) {\n ReactEventListener.setHandleTopLevel(ReactBrowserEventEmitter.handleTopLevel);\n ReactBrowserEventEmitter.ReactEventListener = ReactEventListener;\n }\n },\n\n /**\n * Sets whether or not any created callbacks should be enabled.\n *\n * @param {boolean} enabled True if callbacks should be enabled.\n */\n setEnabled: function (enabled) {\n if (ReactBrowserEventEmitter.ReactEventListener) {\n ReactBrowserEventEmitter.ReactEventListener.setEnabled(enabled);\n }\n },\n\n /**\n * @return {boolean} True if callbacks are enabled.\n */\n isEnabled: function () {\n return !!(ReactBrowserEventEmitter.ReactEventListener && ReactBrowserEventEmitter.ReactEventListener.isEnabled());\n },\n\n /**\n * We listen for bubbled touch events on the document object.\n *\n * Firefox v8.01 (and possibly others) exhibited strange behavior when\n * mounting `onmousemove` events at some node that was not the document\n * element. The symptoms were that if your mouse is not moving over something\n * contained within that mount point (for example on the background) the\n * top-level listeners for `onmousemove` won't be called. However, if you\n * register the `mousemove` on the document object, then it will of course\n * catch all `mousemove`s. This along with iOS quirks, justifies restricting\n * top-level listeners to the document object only, at least for these\n * movement types of events and possibly all events.\n *\n * @see http://www.quirksmode.org/blog/archives/2010/09/click_event_del.html\n *\n * Also, `keyup`/`keypress`/`keydown` do not bubble to the window on IE, but\n * they bubble to document.\n *\n * @param {string} registrationName Name of listener (e.g. `onClick`).\n * @param {object} contentDocumentHandle Document which owns the container\n */\n listenTo: function (registrationName, contentDocumentHandle) {\n var mountAt = contentDocumentHandle;\n var isListening = getListeningForDocument(mountAt);\n var dependencies = EventPluginRegistry.registrationNameDependencies[registrationName];\n\n var topLevelTypes = EventConstants.topLevelTypes;\n for (var i = 0; i < dependencies.length; i++) {\n var dependency = dependencies[i];\n if (!(isListening.hasOwnProperty(dependency) && isListening[dependency])) {\n if (dependency === topLevelTypes.topWheel) {\n if (isEventSupported('wheel')) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel, 'wheel', mountAt);\n } else if (isEventSupported('mousewheel')) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel, 'mousewheel', mountAt);\n } else {\n // Firefox needs to capture a different mouse scroll event.\n // @see http://www.quirksmode.org/dom/events/tests/scroll.html\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topWheel, 'DOMMouseScroll', mountAt);\n }\n } else if (dependency === topLevelTypes.topScroll) {\n\n if (isEventSupported('scroll', true)) {\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topScroll, 'scroll', mountAt);\n } else {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topScroll, 'scroll', ReactBrowserEventEmitter.ReactEventListener.WINDOW_HANDLE);\n }\n } else if (dependency === topLevelTypes.topFocus || dependency === topLevelTypes.topBlur) {\n\n if (isEventSupported('focus', true)) {\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topFocus, 'focus', mountAt);\n ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelTypes.topBlur, 'blur', mountAt);\n } else if (isEventSupported('focusin')) {\n // IE has `focusin` and `focusout` events which bubble.\n // @see http://www.quirksmode.org/blog/archives/2008/04/delegating_the.html\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topFocus, 'focusin', mountAt);\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelTypes.topBlur, 'focusout', mountAt);\n }\n\n // to make sure blur and focus event listeners are only attached once\n isListening[topLevelTypes.topBlur] = true;\n isListening[topLevelTypes.topFocus] = true;\n } else if (topEventMapping.hasOwnProperty(dependency)) {\n ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(dependency, topEventMapping[dependency], mountAt);\n }\n\n isListening[dependency] = true;\n }\n }\n },\n\n trapBubbledEvent: function (topLevelType, handlerBaseName, handle) {\n return ReactBrowserEventEmitter.ReactEventListener.trapBubbledEvent(topLevelType, handlerBaseName, handle);\n },\n\n trapCapturedEvent: function (topLevelType, handlerBaseName, handle) {\n return ReactBrowserEventEmitter.ReactEventListener.trapCapturedEvent(topLevelType, handlerBaseName, handle);\n },\n\n /**\n * Listens to window scroll and resize events. We cache scroll values so that\n * application code can access them without triggering reflows.\n *\n * ViewportMetrics is only used by SyntheticMouse/TouchEvent and only when\n * pageX/pageY isn't supported (legacy browsers).\n *\n * NOTE: Scroll events do not bubble.\n *\n * @see http://www.quirksmode.org/dom/events/scroll.html\n */\n ensureScrollValueMonitoring: function () {\n if (hasEventPageXY === undefined) {\n hasEventPageXY = document.createEvent && 'pageX' in document.createEvent('MouseEvent');\n }\n if (!hasEventPageXY && !isMonitoringScrollValue) {\n var refresh = ViewportMetrics.refreshScrollValues;\n ReactBrowserEventEmitter.ReactEventListener.monitorScrollValue(refresh);\n isMonitoringScrollValue = true;\n }\n }\n\n});\n\nmodule.exports = ReactBrowserEventEmitter;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactBrowserEventEmitter.js\n ** module id = 137\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule SyntheticMouseEvent\n */\n\n'use strict';\n\nvar SyntheticUIEvent = require('./SyntheticUIEvent');\nvar ViewportMetrics = require('./ViewportMetrics');\n\nvar getEventModifierState = require('./getEventModifierState');\n\n/**\n * @interface MouseEvent\n * @see http://www.w3.org/TR/DOM-Level-3-Events/\n */\nvar MouseEventInterface = {\n screenX: null,\n screenY: null,\n clientX: null,\n clientY: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n getModifierState: getEventModifierState,\n button: function (event) {\n // Webkit, Firefox, IE9+\n // which: 1 2 3\n // button: 0 1 2 (standard)\n var button = event.button;\n if ('which' in event) {\n return button;\n }\n // IE<9\n // which: undefined\n // button: 0 0 0\n // button: 1 4 2 (onmouseup)\n return button === 2 ? 2 : button === 4 ? 1 : 0;\n },\n buttons: null,\n relatedTarget: function (event) {\n return event.relatedTarget || (event.fromElement === event.srcElement ? event.toElement : event.fromElement);\n },\n // \"Proprietary\" Interface.\n pageX: function (event) {\n return 'pageX' in event ? event.pageX : event.clientX + ViewportMetrics.currentScrollLeft;\n },\n pageY: function (event) {\n return 'pageY' in event ? event.pageY : event.clientY + ViewportMetrics.currentScrollTop;\n }\n};\n\n/**\n * @param {object} dispatchConfig Configuration used to dispatch this event.\n * @param {string} dispatchMarker Marker identifying the event target.\n * @param {object} nativeEvent Native browser event.\n * @extends {SyntheticUIEvent}\n */\nfunction SyntheticMouseEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) {\n return SyntheticUIEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget);\n}\n\nSyntheticUIEvent.augmentClass(SyntheticMouseEvent, MouseEventInterface);\n\nmodule.exports = SyntheticMouseEvent;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/SyntheticMouseEvent.js\n ** module id = 138\n ** module chunks = 0\n **/","/**\n * Copyright 2016-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * Based on the escape-html library, which is used under the MIT License below:\n *\n * Copyright (c) 2012-2013 TJ Holowaychuk\n * Copyright (c) 2015 Andreas Lubbe\n * Copyright (c) 2015 Tiancheng \"Timothy\" Gu\n *\n * Permission is hereby granted, free of charge, to any person obtaining\n * a copy of this software and associated documentation files (the\n * 'Software'), to deal in the Software without restriction, including\n * without limitation the rights to use, copy, modify, merge, publish,\n * distribute, sublicense, and/or sell copies of the Software, and to\n * permit persons to whom the Software is furnished to do so, subject to\n * the following conditions:\n *\n * The above copyright notice and this permission notice shall be\n * included in all copies or substantial portions of the Software.\n *\n * THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\n * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\n * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\n * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\n * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\n * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n *\n * @providesModule escapeTextContentForBrowser\n */\n\n'use strict';\n\n// code copied and modified from escape-html\n/**\n * Module variables.\n * @private\n */\n\nvar matchHtmlRegExp = /[\"'&<>]/;\n\n/**\n * Escape special characters in the given string of html.\n *\n * @param {string} string The string to escape for inserting into HTML\n * @return {string}\n * @public\n */\n\nfunction escapeHtml(string) {\n var str = '' + string;\n var match = matchHtmlRegExp.exec(str);\n\n if (!match) {\n return str;\n }\n\n var escape;\n var html = '';\n var index = 0;\n var lastIndex = 0;\n\n for (index = match.index; index < str.length; index++) {\n switch (str.charCodeAt(index)) {\n case 34:\n // \"\n escape = '"';\n break;\n case 38:\n // &\n escape = '&';\n break;\n case 39:\n // '\n escape = '''; // modified from escape-html; used to be '''\n break;\n case 60:\n // <\n escape = '<';\n break;\n case 62:\n // >\n escape = '>';\n break;\n default:\n continue;\n }\n\n if (lastIndex !== index) {\n html += str.substring(lastIndex, index);\n }\n\n lastIndex = index + 1;\n html += escape;\n }\n\n return lastIndex !== index ? html + str.substring(lastIndex, index) : html;\n}\n// end code copied and modified from escape-html\n\n/**\n * Escapes text to prevent scripting attacks.\n *\n * @param {*} text Text value to escape.\n * @return {string} An escaped string.\n */\nfunction escapeTextContentForBrowser(text) {\n if (typeof text === 'boolean' || typeof text === 'number') {\n // this shortcircuit helps perf for types that we know will never have\n // special characters, especially given that this function is used often\n // for numeric dom ids.\n return '' + text;\n }\n return escapeHtml(text);\n}\n\nmodule.exports = escapeTextContentForBrowser;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/escapeTextContentForBrowser.js\n ** module id = 139\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule setInnerHTML\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\nvar DOMNamespaces = require('./DOMNamespaces');\n\nvar WHITESPACE_TEST = /^[ \\r\\n\\t\\f]/;\nvar NONVISIBLE_TEST = /<(!--|link|noscript|meta|script|style)[ \\r\\n\\t\\f\\/>]/;\n\nvar createMicrosoftUnsafeLocalFunction = require('./createMicrosoftUnsafeLocalFunction');\n\n// SVG temp container for IE lacking innerHTML\nvar reusableSVGContainer;\n\n/**\n * Set the innerHTML property of a node, ensuring that whitespace is preserved\n * even in IE8.\n *\n * @param {DOMElement} node\n * @param {string} html\n * @internal\n */\nvar setInnerHTML = createMicrosoftUnsafeLocalFunction(function (node, html) {\n // IE does not have innerHTML for SVG nodes, so instead we inject the\n // new markup in a temp node and then move the child nodes across into\n // the target node\n if (node.namespaceURI === DOMNamespaces.svg && !('innerHTML' in node)) {\n reusableSVGContainer = reusableSVGContainer || document.createElement('div');\n reusableSVGContainer.innerHTML = '' + html + ' ';\n var newNodes = reusableSVGContainer.firstChild.childNodes;\n for (var i = 0; i < newNodes.length; i++) {\n node.appendChild(newNodes[i]);\n }\n } else {\n node.innerHTML = html;\n }\n});\n\nif (ExecutionEnvironment.canUseDOM) {\n // IE8: When updating a just created node with innerHTML only leading\n // whitespace is removed. When updating an existing node with innerHTML\n // whitespace in root TextNodes is also collapsed.\n // @see quirksmode.org/bugreports/archives/2004/11/innerhtml_and_t.html\n\n // Feature detection; only IE8 is known to behave improperly like this.\n var testElement = document.createElement('div');\n testElement.innerHTML = ' ';\n if (testElement.innerHTML === '') {\n setInnerHTML = function (node, html) {\n // Magic theory: IE8 supposedly differentiates between added and updated\n // nodes when processing innerHTML, innerHTML on updated nodes suffers\n // from worse whitespace behavior. Re-adding a node like this triggers\n // the initial and more favorable whitespace behavior.\n // TODO: What to do on a detached node?\n if (node.parentNode) {\n node.parentNode.replaceChild(node, node);\n }\n\n // We also implement a workaround for non-visible tags disappearing into\n // thin air on IE8, this only happens if there is no visible text\n // in-front of the non-visible tags. Piggyback on the whitespace fix\n // and simply check if any non-visible tags appear in the source.\n if (WHITESPACE_TEST.test(html) || html[0] === '<' && NONVISIBLE_TEST.test(html)) {\n // Recover leading whitespace by temporarily prepending any character.\n // \\uFEFF has the potential advantage of being zero-width/invisible.\n // UglifyJS drops U+FEFF chars when parsing, so use String.fromCharCode\n // in hopes that this is preserved even if \"\\uFEFF\" is transformed to\n // the actual Unicode character (by Babel, for example).\n // https://github.com/mishoo/UglifyJS2/blob/v2.4.20/lib/parse.js#L216\n node.innerHTML = String.fromCharCode(0xFEFF) + html;\n\n // deleteData leaves an empty `TextNode` which offsets the index of all\n // children. Definitely want to avoid this.\n var textNode = node.firstChild;\n if (textNode.data.length === 1) {\n node.removeChild(textNode);\n } else {\n textNode.deleteData(0, 1);\n }\n } else {\n node.innerHTML = html;\n }\n };\n }\n testElement = null;\n}\n\nmodule.exports = setInnerHTML;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/setInnerHTML.js\n ** module id = 140\n ** module chunks = 0\n **/","/**\n * Redux middleware to perform API queries.\n *\n * This middleware catches the API requests and replaces them with API\n * responses.\n */\nimport fetch from \"isomorphic-fetch\";\nimport humps from \"humps\";\nimport X2JS from \"x2js\";\n\nimport { assembleURLAndParams } from \"../utils\";\nimport { i18nRecord } from \"../models/i18n\";\n\nimport { loginUserExpired } from \"../actions/auth\";\n\nexport const API_VERSION = 350001; /** API version to use. */\nexport const BASE_API_PATH = \"/server/xml.server.php\"; /** Base API path after endpoint. */\n\n// Action key that carries API call info interpreted by this Redux middleware.\nexport const CALL_API = \"CALL_API\";\n\n// Error class to represents errors from these actions.\nclass APIError extends Error {}\n\n\n/**\n * Check the HTTP status of the response.\n *\n * @param response A XHR response object.\n * @return The response or a rejected Promise if the check failed.\n */\nfunction _checkHTTPStatus(response) {\n if (response.status >= 200 && response.status < 300) {\n return response;\n } else {\n return Promise.reject(response.statusText);\n }\n}\n\n\n/**\n * Parse the XML resulting from the API to JS object.\n *\n * @param responseText The text from the API response.\n * @return The response as a JS object or a rejected Promise on error.\n */\nfunction _parseToJSON(responseText) {\n let x2js = new X2JS({\n attributePrefix: \"\", // No prefix for attributes\n keepCData: false, // Do not store __cdata and toString functions\n });\n if (responseText) {\n return x2js.xml_str2json(responseText).root;\n }\n return Promise.reject(new i18nRecord({\n id: \"app.api.invalidResponse\",\n values: {},\n }));\n}\n\n\n/**\n * Check the errors returned by the API itself, in its response.\n *\n * @param jsonData A JS object representing the API response.\n * @return The input data or a rejected Promise if errors are present.\n */\nfunction _checkAPIErrors(jsonData) {\n if (jsonData.error) {\n return Promise.reject(jsonData.error);\n } else if (!jsonData) {\n // No data returned\n return Promise.reject(new i18nRecord({\n id: \"app.api.emptyResponse\",\n values: {},\n }));\n }\n return jsonData;\n}\n\n\n/**\n * Apply some fixes on the API data.\n *\n * @param jsonData A JS object representing the API response.\n * @return A fixed JS object.\n */\nfunction _uglyFixes(jsonData) {\n // Fix songs array\n let _uglyFixesSongs = function (songs) {\n return songs.map(function (song) {\n // Fix for cdata left in artist and album\n song.artist.name = song.artist.cdata;\n delete(song.artist.cdata);\n delete(song.artist.toString);\n song.album.name = song.album.cdata;\n delete(song.album.cdata);\n delete(song.album.toString);\n return song;\n });\n };\n\n // Fix albums array\n let _uglyFixesAlbums = function (albums) {\n return albums.map(function (album) {\n // TODO: Should go in Ampache core\n // Fix for absence of distinction between disks in the same album\n if (album.disk > 1) {\n album.name = album.name + \" [Disk \" + album.disk + \"]\";\n }\n\n // Fix for cdata left in artist\n album.artist.name = album.artist.cdata;\n delete(album.artist.cdata);\n delete(album.artist.toString);\n\n // Move songs one node top\n if (album.tracks.song) {\n album.tracks = album.tracks.song;\n\n // Ensure tracks is an array\n if (!Array.isArray(album.tracks)) {\n album.tracks = [album.tracks];\n }\n\n // Fix tracks array\n album.tracks = _uglyFixesSongs(album.tracks);\n }\n return album;\n });\n };\n\n // Fix artists array\n let _uglyFixesArtists = function (artists) {\n return artists.map(function (artist) {\n // Move albums one node top\n if (artist.albums.album) {\n artist.albums = artist.albums.album;\n\n // Ensure albums are an array\n if (!Array.isArray(artist.albums)) {\n artist.albums = [artist.albums];\n }\n\n // Fix albums\n artist.albums = _uglyFixesAlbums(artist.albums);\n }\n\n // Move songs one node top\n if (artist.songs.song) {\n artist.songs = artist.songs.song;\n\n // Ensure songs are an array\n if (!Array.isArray(artist.songs)) {\n artist.songs = [artist.songs];\n }\n\n // Fix songs\n artist.songs = _uglyFixesSongs(artist.songs);\n }\n return artist;\n });\n };\n\n // Ensure items are always wrapped in an array\n if (jsonData.artist && !Array.isArray(jsonData.artist)) {\n jsonData.artist = [jsonData.artist];\n }\n if (jsonData.album && !Array.isArray(jsonData.album)) {\n jsonData.album = [jsonData.album];\n }\n if (jsonData.song && !Array.isArray(jsonData.song)) {\n jsonData.song = [jsonData.song];\n }\n\n // Fix artists\n if (jsonData.artist) {\n jsonData.artist = _uglyFixesArtists(jsonData.artist);\n }\n\n // Fix albums\n if (jsonData.album) {\n jsonData.album = _uglyFixesAlbums(jsonData.album);\n }\n\n // Fix songs\n if (jsonData.song) {\n jsonData.song = _uglyFixesSongs(jsonData.song);\n }\n\n // TODO: Should go in Ampache core\n // Add sessionExpire information\n if (!jsonData.sessionExpire) {\n // Fix for Ampache not returning updated sessionExpire\n jsonData.sessionExpire = (new Date(Date.now() + 3600 * 1000)).toJSON();\n }\n\n return jsonData;\n}\n\n\n/**\n * Fetches an API response and normalizes the result.\n *\n * @param endpoint Base URL of your Ampache server.\n * @param action API action name.\n * @param auth API token to use.\n * @param username Username to use in the API.\n * @param extraParams An object of extra parameters to pass to the API.\n *\n * @return A fetching Promise.\n */\nfunction doAPICall(endpoint, action, auth, username, extraParams) {\n // Translate the API action to real API action\n const APIAction = extraParams.filter ? action.rstrip(\"s\") : action;\n // Set base params\n const baseParams = {\n version: API_VERSION,\n action: APIAction,\n auth: auth,\n user: username,\n };\n // Extend with extraParams\n const params = Object.assign({}, baseParams, extraParams);\n // Assemble the full URL with endpoint, API path and GET params\n const fullURL = assembleURLAndParams(endpoint + BASE_API_PATH, params);\n\n return fetch(fullURL, {\n method: \"get\",\n })\n .then(_checkHTTPStatus)\n .then (response => response.text())\n .then(_parseToJSON)\n .then(_checkAPIErrors)\n .then(jsonData => humps.camelizeKeys(jsonData)) // Camelize\n .then(_uglyFixes);\n}\n\n\n/**\n * A Redux middleware that interprets actions with CALL_API info specified.\n * Performs the call and promises when such actions are dispatched.\n */\nexport default store => next => reduxAction => {\n if (reduxAction.type !== CALL_API) {\n // Do not apply on other actions\n return next(reduxAction);\n }\n\n // Check payload\n const { endpoint, action, auth, username, dispatch, extraParams } = reduxAction.payload;\n if (!endpoint || typeof endpoint !== \"string\") {\n throw new APIError(\"Specify a string endpoint URL.\");\n }\n if (!action) {\n throw new APIError(\"Specify one of the supported API actions.\");\n }\n if (!auth) {\n throw new APIError(\"Specify an auth token.\");\n }\n if (!username) {\n throw new APIError(\"Specify a username.\");\n }\n if (!Array.isArray(dispatch) || dispatch.length !== 3) {\n throw new APIError(\"Expected an array of three action dispatch.\");\n }\n if (!dispatch.every(type => typeof type === \"function\" || type === null)) {\n throw new APIError(\"Expected action to dispatch to be functions or null.\");\n }\n\n // Get the actions to dispatch\n const [ requestDispatch, successDispatch, failureDispatch ] = dispatch;\n if (requestDispatch) {\n // Dispatch request action if needed\n store.dispatch(requestDispatch());\n }\n\n // Run the API call\n return doAPICall(endpoint, action, auth, username, extraParams).then(\n response => {\n if (successDispatch) {\n // Dispatch success if needed\n store.dispatch(successDispatch(response));\n }\n },\n error => {\n if (failureDispatch) {\n // Error object from the API (in the JS object)\n if (error._code && error.__cdata) {\n // Format the error message\n const errorMessage = error.__cdata + \" (\" + error._code + \")\";\n if (401 == error._code) {\n // This is an error meaning no valid session was\n // passed. We must perform a new handshake.\n store.dispatch(loginUserExpired(errorMessage));\n return;\n }\n // Else, form error message and continue\n error = errorMessage;\n }\n // Else if exception was thrown\n else if (error instanceof Error) {\n // Form error message and continue\n error = error.message;\n }\n // Dispatch a failure event\n store.dispatch(failureDispatch(error));\n }\n }\n );\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/middleware/api.js\n **/","// NPM imports\nimport React, { Component } from \"react\";\nimport { bindActionCreators } from \"redux\";\nimport { connect } from \"react-redux\";\nimport { defineMessages, injectIntl, intlShape } from \"react-intl\";\nimport Immutable from \"immutable\";\n\n// Local imports\nimport { buildPaginationObject, messagesMap, handleErrorI18nObject } from \"../utils\";\n\n// Actions\nimport * as actionCreators from \"../actions\";\n\n// Components\nimport Artists from \"../components/Artists\";\n\n// Translations\nimport APIMessages from \"../locales/messagesDescriptors/api\";\n\n// Define translations\nconst artistsMessages = defineMessages(messagesMap(Array.concat([], APIMessages)));\n\n\n/**\n * Grid of artists arts.\n */\nclass ArtistsPageIntl extends Component {\n componentWillMount() {\n // Load the data for the current page\n const currentPage = parseInt(this.props.location.query.page) || 1;\n this.props.actions.loadPaginatedArtists({pageNumber: currentPage});\n }\n\n componentWillReceiveProps(nextProps) {\n // Load the data if page has changed\n const currentPage = parseInt(this.props.location.query.page) || 1;\n const nextPage = parseInt(nextProps.location.query.page) || 1;\n if (currentPage != nextPage) {\n // Unload data on page change\n this.props.actions.clearPaginatedResults();\n // Load new data\n this.props.actions.loadPaginatedArtists({pageNumber: nextPage});\n }\n }\n\n componentWillUnmount() {\n // Unload data on page change\n this.props.actions.clearPaginatedResults();\n }\n\n render() {\n const {formatMessage} = this.props.intl;\n\n const pagination = buildPaginationObject(this.props.location, this.props.currentPage, this.props.nPages, this.props.actions.goToPage);\n\n const error = handleErrorI18nObject(this.props.error, formatMessage, artistsMessages);\n\n return (\n \n );\n }\n}\n\nArtistsPageIntl.propTypes = {\n intl: intlShape.isRequired,\n};\n\nconst mapStateToProps = (state) => {\n let artistsList = new Immutable.List();\n if (state.paginated.type == \"artist\" && state.paginated.result.size > 0) {\n artistsList = state.paginated.result.map(\n id => state.entities.getIn([\"entities\", \"artist\", id])\n );\n }\n return {\n isFetching: state.entities.isFetching,\n error: state.entities.error,\n artistsList: artistsList,\n currentPage: state.paginated.currentPage,\n nPages: state.paginated.nPages,\n };\n};\n\nconst mapDispatchToProps = (dispatch) => ({\n actions: bindActionCreators(actionCreators, dispatch),\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(injectIntl(ArtistsPageIntl));\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/views/ArtistsPage.jsx\n **/","// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = require('./_to-object')\n , toIndex = require('./_to-index')\n , toLength = require('./_to-length');\nmodule.exports = function fill(value /*, start = 0, end = @length */){\n var O = toObject(this)\n , length = toLength(O.length)\n , aLen = arguments.length\n , index = toIndex(aLen > 1 ? arguments[1] : undefined, length)\n , end = aLen > 2 ? arguments[2] : undefined\n , endPos = end === undefined ? length : toIndex(end, length);\n while(endPos > index)O[index++] = value;\n return O;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_array-fill.js\n ** module id = 143\n ** module chunks = 0\n **/","'use strict';\r\nvar $defineProperty = require('./_object-dp')\r\n , createDesc = require('./_property-desc');\r\n\r\nmodule.exports = function(object, index, value){\r\n if(index in object)$defineProperty.f(object, index, createDesc(0, value));\r\n else object[index] = value;\r\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_create-property.js\n ** module id = 144\n ** module chunks = 0\n **/","var isObject = require('./_is-object')\n , document = require('./_global').document\n // in old IE typeof document.createElement is 'object'\n , is = isObject(document) && isObject(document.createElement);\nmodule.exports = function(it){\n return is ? document.createElement(it) : {};\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_dom-create.js\n ** module id = 145\n ** module chunks = 0\n **/","// IE 8- don't enum bug keys\r\nmodule.exports = (\r\n 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\r\n).split(',');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_enum-bug-keys.js\n ** module id = 146\n ** module chunks = 0\n **/","var MATCH = require('./_wks')('match');\nmodule.exports = function(KEY){\n var re = /./;\n try {\n '/./'[KEY](re);\n } catch(e){\n try {\n re[MATCH] = false;\n return !'/./'[KEY](re);\n } catch(f){ /* empty */ }\n } return true;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_fails-is-regexp.js\n ** module id = 147\n ** module chunks = 0\n **/","module.exports = require('./_global').document && document.documentElement;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_html.js\n ** module id = 148\n ** module chunks = 0\n **/","var isObject = require('./_is-object')\r\n , setPrototypeOf = require('./_set-proto').set;\r\nmodule.exports = function(that, target, C){\r\n var P, S = target.constructor;\r\n if(S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf){\r\n setPrototypeOf(that, P);\r\n } return that;\r\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_inherit-if-required.js\n ** module id = 149\n ** module chunks = 0\n **/","// check on default Array iterator\nvar Iterators = require('./_iterators')\n , ITERATOR = require('./_wks')('iterator')\n , ArrayProto = Array.prototype;\n\nmodule.exports = function(it){\n return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_is-array-iter.js\n ** module id = 150\n ** module chunks = 0\n **/","// 7.2.2 IsArray(argument)\nvar cof = require('./_cof');\nmodule.exports = Array.isArray || function isArray(arg){\n return cof(arg) == 'Array';\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_is-array.js\n ** module id = 151\n ** module chunks = 0\n **/","// 20.1.2.3 Number.isInteger(number)\nvar isObject = require('./_is-object')\n , floor = Math.floor;\nmodule.exports = function isInteger(it){\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_is-integer.js\n ** module id = 152\n ** module chunks = 0\n **/","'use strict';\nvar create = require('./_object-create')\n , descriptor = require('./_property-desc')\n , setToStringTag = require('./_set-to-string-tag')\n , IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\nrequire('./_hide')(IteratorPrototype, require('./_wks')('iterator'), function(){ return this; });\n\nmodule.exports = function(Constructor, NAME, next){\n Constructor.prototype = create(IteratorPrototype, {next: descriptor(1, next)});\n setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_iter-create.js\n ** module id = 153\n ** module chunks = 0\n **/","'use strict';\nvar LIBRARY = require('./_library')\n , $export = require('./_export')\n , redefine = require('./_redefine')\n , hide = require('./_hide')\n , has = require('./_has')\n , Iterators = require('./_iterators')\n , $iterCreate = require('./_iter-create')\n , setToStringTag = require('./_set-to-string-tag')\n , getPrototypeOf = require('./_object-gpo')\n , ITERATOR = require('./_wks')('iterator')\n , BUGGY = !([].keys && 'next' in [].keys()) // Safari has buggy iterators w/o `next`\n , FF_ITERATOR = '@@iterator'\n , KEYS = 'keys'\n , VALUES = 'values';\n\nvar returnThis = function(){ return this; };\n\nmodule.exports = function(Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED){\n $iterCreate(Constructor, NAME, next);\n var getMethod = function(kind){\n if(!BUGGY && kind in proto)return proto[kind];\n switch(kind){\n case KEYS: return function keys(){ return new Constructor(this, kind); };\n case VALUES: return function values(){ return new Constructor(this, kind); };\n } return function entries(){ return new Constructor(this, kind); };\n };\n var TAG = NAME + ' Iterator'\n , DEF_VALUES = DEFAULT == VALUES\n , VALUES_BUG = false\n , proto = Base.prototype\n , $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT]\n , $default = $native || getMethod(DEFAULT)\n , $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined\n , $anyNative = NAME == 'Array' ? proto.entries || $native : $native\n , methods, key, IteratorPrototype;\n // Fix native\n if($anyNative){\n IteratorPrototype = getPrototypeOf($anyNative.call(new Base));\n if(IteratorPrototype !== Object.prototype){\n // Set @@toStringTag to native iterators\n setToStringTag(IteratorPrototype, TAG, true);\n // fix for some old engines\n if(!LIBRARY && !has(IteratorPrototype, ITERATOR))hide(IteratorPrototype, ITERATOR, returnThis);\n }\n }\n // fix Array#{values, @@iterator}.name in V8 / FF\n if(DEF_VALUES && $native && $native.name !== VALUES){\n VALUES_BUG = true;\n $default = function values(){ return $native.call(this); };\n }\n // Define iterator\n if((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])){\n hide(proto, ITERATOR, $default);\n }\n // Plug for library\n Iterators[NAME] = $default;\n Iterators[TAG] = returnThis;\n if(DEFAULT){\n methods = {\n values: DEF_VALUES ? $default : getMethod(VALUES),\n keys: IS_SET ? $default : getMethod(KEYS),\n entries: $entries\n };\n if(FORCED)for(key in methods){\n if(!(key in proto))redefine(proto, key, methods[key]);\n } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n }\n return methods;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_iter-define.js\n ** module id = 154\n ** module chunks = 0\n **/","// 20.2.2.14 Math.expm1(x)\nvar $expm1 = Math.expm1;\nmodule.exports = (!$expm1\n // Old FF bug\n || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n // Tor Browser bug\n || $expm1(-2e-17) != -2e-17\n) ? function expm1(x){\n return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n} : $expm1;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_math-expm1.js\n ** module id = 155\n ** module chunks = 0\n **/","// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x){\n return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_math-sign.js\n ** module id = 156\n ** module chunks = 0\n **/","var global = require('./_global')\n , macrotask = require('./_task').set\n , Observer = global.MutationObserver || global.WebKitMutationObserver\n , process = global.process\n , Promise = global.Promise\n , isNode = require('./_cof')(process) == 'process';\n\nmodule.exports = function(){\n var head, last, notify;\n\n var flush = function(){\n var parent, fn;\n if(isNode && (parent = process.domain))parent.exit();\n while(head){\n fn = head.fn;\n head = head.next;\n try {\n fn();\n } catch(e){\n if(head)notify();\n else last = undefined;\n throw e;\n }\n } last = undefined;\n if(parent)parent.enter();\n };\n\n // Node.js\n if(isNode){\n notify = function(){\n process.nextTick(flush);\n };\n // browsers with MutationObserver\n } else if(Observer){\n var toggle = true\n , node = document.createTextNode('');\n new Observer(flush).observe(node, {characterData: true}); // eslint-disable-line no-new\n notify = function(){\n node.data = toggle = !toggle;\n };\n // environments with maybe non-completely correct, but existent Promise\n } else if(Promise && Promise.resolve){\n var promise = Promise.resolve();\n notify = function(){\n promise.then(flush);\n };\n // for other environments - macrotask based on:\n // - setImmediate\n // - MessageChannel\n // - window.postMessag\n // - onreadystatechange\n // - setTimeout\n } else {\n notify = function(){\n // strange IE + webpack dev server bug - use .call(global)\n macrotask.call(global, flush);\n };\n }\n\n return function(fn){\n var task = {fn: fn, next: undefined};\n if(last)last.next = task;\n if(!head){\n head = task;\n notify();\n } last = task;\n };\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_microtask.js\n ** module id = 157\n ** module chunks = 0\n **/","var shared = require('./_shared')('keys')\r\n , uid = require('./_uid');\r\nmodule.exports = function(key){\r\n return shared[key] || (shared[key] = uid(key));\r\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_shared-key.js\n ** module id = 158\n ** module chunks = 0\n **/","// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = require('./_an-object')\n , aFunction = require('./_a-function')\n , SPECIES = require('./_wks')('species');\nmodule.exports = function(O, D){\n var C = anObject(O).constructor, S;\n return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_species-constructor.js\n ** module id = 159\n ** module chunks = 0\n **/","var toInteger = require('./_to-integer')\n , defined = require('./_defined');\n// true -> String#at\n// false -> String#codePointAt\nmodule.exports = function(TO_STRING){\n return function(that, pos){\n var s = String(defined(that))\n , i = toInteger(pos)\n , l = s.length\n , a, b;\n if(i < 0 || i >= l)return TO_STRING ? '' : undefined;\n a = s.charCodeAt(i);\n return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n ? TO_STRING ? s.charAt(i) : a\n : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n };\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_string-at.js\n ** module id = 160\n ** module chunks = 0\n **/","// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = require('./_is-regexp')\n , defined = require('./_defined');\n\nmodule.exports = function(that, searchString, NAME){\n if(isRegExp(searchString))throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n return String(defined(that));\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_string-context.js\n ** module id = 161\n ** module chunks = 0\n **/","'use strict';\nvar toInteger = require('./_to-integer')\n , defined = require('./_defined');\n\nmodule.exports = function repeat(count){\n var str = String(defined(this))\n , res = ''\n , n = toInteger(count);\n if(n < 0 || n == Infinity)throw RangeError(\"Count can't be negative\");\n for(;n > 0; (n >>>= 1) && (str += str))if(n & 1)res += str;\n return res;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_string-repeat.js\n ** module id = 162\n ** module chunks = 0\n **/","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\r\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_string-ws.js\n ** module id = 163\n ** module chunks = 0\n **/","var ctx = require('./_ctx')\n , invoke = require('./_invoke')\n , html = require('./_html')\n , cel = require('./_dom-create')\n , global = require('./_global')\n , process = global.process\n , setTask = global.setImmediate\n , clearTask = global.clearImmediate\n , MessageChannel = global.MessageChannel\n , counter = 0\n , queue = {}\n , ONREADYSTATECHANGE = 'onreadystatechange'\n , defer, channel, port;\nvar run = function(){\n var id = +this;\n if(queue.hasOwnProperty(id)){\n var fn = queue[id];\n delete queue[id];\n fn();\n }\n};\nvar listener = function(event){\n run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif(!setTask || !clearTask){\n setTask = function setImmediate(fn){\n var args = [], i = 1;\n while(arguments.length > i)args.push(arguments[i++]);\n queue[++counter] = function(){\n invoke(typeof fn == 'function' ? fn : Function(fn), args);\n };\n defer(counter);\n return counter;\n };\n clearTask = function clearImmediate(id){\n delete queue[id];\n };\n // Node.js 0.8-\n if(require('./_cof')(process) == 'process'){\n defer = function(id){\n process.nextTick(ctx(run, id, 1));\n };\n // Browsers with MessageChannel, includes WebWorkers\n } else if(MessageChannel){\n channel = new MessageChannel;\n port = channel.port2;\n channel.port1.onmessage = listener;\n defer = ctx(port.postMessage, port, 1);\n // Browsers with postMessage, skip WebWorkers\n // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n } else if(global.addEventListener && typeof postMessage == 'function' && !global.importScripts){\n defer = function(id){\n global.postMessage(id + '', '*');\n };\n global.addEventListener('message', listener, false);\n // IE8-\n } else if(ONREADYSTATECHANGE in cel('script')){\n defer = function(id){\n html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function(){\n html.removeChild(this);\n run.call(id);\n };\n };\n // Rest old browsers\n } else {\n defer = function(id){\n setTimeout(ctx(run, id, 1), 0);\n };\n }\n}\nmodule.exports = {\n set: setTask,\n clear: clearTask\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_task.js\n ** module id = 164\n ** module chunks = 0\n **/","'use strict';\nvar global = require('./_global')\n , DESCRIPTORS = require('./_descriptors')\n , LIBRARY = require('./_library')\n , $typed = require('./_typed')\n , hide = require('./_hide')\n , redefineAll = require('./_redefine-all')\n , fails = require('./_fails')\n , anInstance = require('./_an-instance')\n , toInteger = require('./_to-integer')\n , toLength = require('./_to-length')\n , gOPN = require('./_object-gopn').f\n , dP = require('./_object-dp').f\n , arrayFill = require('./_array-fill')\n , setToStringTag = require('./_set-to-string-tag')\n , ARRAY_BUFFER = 'ArrayBuffer'\n , DATA_VIEW = 'DataView'\n , PROTOTYPE = 'prototype'\n , WRONG_LENGTH = 'Wrong length!'\n , WRONG_INDEX = 'Wrong index!'\n , $ArrayBuffer = global[ARRAY_BUFFER]\n , $DataView = global[DATA_VIEW]\n , Math = global.Math\n , parseInt = global.parseInt\n , RangeError = global.RangeError\n , Infinity = global.Infinity\n , BaseBuffer = $ArrayBuffer\n , abs = Math.abs\n , pow = Math.pow\n , min = Math.min\n , floor = Math.floor\n , log = Math.log\n , LN2 = Math.LN2\n , BUFFER = 'buffer'\n , BYTE_LENGTH = 'byteLength'\n , BYTE_OFFSET = 'byteOffset'\n , $BUFFER = DESCRIPTORS ? '_b' : BUFFER\n , $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH\n , $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;\n\n// IEEE754 conversions based on https://github.com/feross/ieee754\nvar packIEEE754 = function(value, mLen, nBytes){\n var buffer = Array(nBytes)\n , eLen = nBytes * 8 - mLen - 1\n , eMax = (1 << eLen) - 1\n , eBias = eMax >> 1\n , rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0\n , i = 0\n , s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0\n , e, m, c;\n value = abs(value)\n if(value != value || value === Infinity){\n m = value != value ? 1 : 0;\n e = eMax;\n } else {\n e = floor(log(value) / LN2);\n if(value * (c = pow(2, -e)) < 1){\n e--;\n c *= 2;\n }\n if(e + eBias >= 1){\n value += rt / c;\n } else {\n value += rt * pow(2, 1 - eBias);\n }\n if(value * c >= 2){\n e++;\n c /= 2;\n }\n if(e + eBias >= eMax){\n m = 0;\n e = eMax;\n } else if(e + eBias >= 1){\n m = (value * c - 1) * pow(2, mLen);\n e = e + eBias;\n } else {\n m = value * pow(2, eBias - 1) * pow(2, mLen);\n e = 0;\n }\n }\n for(; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);\n e = e << mLen | m;\n eLen += mLen;\n for(; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);\n buffer[--i] |= s * 128;\n return buffer;\n};\nvar unpackIEEE754 = function(buffer, mLen, nBytes){\n var eLen = nBytes * 8 - mLen - 1\n , eMax = (1 << eLen) - 1\n , eBias = eMax >> 1\n , nBits = eLen - 7\n , i = nBytes - 1\n , s = buffer[i--]\n , e = s & 127\n , m;\n s >>= 7;\n for(; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);\n m = e & (1 << -nBits) - 1;\n e >>= -nBits;\n nBits += mLen;\n for(; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);\n if(e === 0){\n e = 1 - eBias;\n } else if(e === eMax){\n return m ? NaN : s ? -Infinity : Infinity;\n } else {\n m = m + pow(2, mLen);\n e = e - eBias;\n } return (s ? -1 : 1) * m * pow(2, e - mLen);\n};\n\nvar unpackI32 = function(bytes){\n return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];\n};\nvar packI8 = function(it){\n return [it & 0xff];\n};\nvar packI16 = function(it){\n return [it & 0xff, it >> 8 & 0xff];\n};\nvar packI32 = function(it){\n return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];\n};\nvar packF64 = function(it){\n return packIEEE754(it, 52, 8);\n};\nvar packF32 = function(it){\n return packIEEE754(it, 23, 4);\n};\n\nvar addGetter = function(C, key, internal){\n dP(C[PROTOTYPE], key, {get: function(){ return this[internal]; }});\n};\n\nvar get = function(view, bytes, index, isLittleEndian){\n var numIndex = +index\n , intIndex = toInteger(numIndex);\n if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b\n , start = intIndex + view[$OFFSET]\n , pack = store.slice(start, start + bytes);\n return isLittleEndian ? pack : pack.reverse();\n};\nvar set = function(view, bytes, index, conversion, value, isLittleEndian){\n var numIndex = +index\n , intIndex = toInteger(numIndex);\n if(numIndex != intIndex || intIndex < 0 || intIndex + bytes > view[$LENGTH])throw RangeError(WRONG_INDEX);\n var store = view[$BUFFER]._b\n , start = intIndex + view[$OFFSET]\n , pack = conversion(+value);\n for(var i = 0; i < bytes; i++)store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];\n};\n\nvar validateArrayBufferArguments = function(that, length){\n anInstance(that, $ArrayBuffer, ARRAY_BUFFER);\n var numberLength = +length\n , byteLength = toLength(numberLength);\n if(numberLength != byteLength)throw RangeError(WRONG_LENGTH);\n return byteLength;\n};\n\nif(!$typed.ABV){\n $ArrayBuffer = function ArrayBuffer(length){\n var byteLength = validateArrayBufferArguments(this, length);\n this._b = arrayFill.call(Array(byteLength), 0);\n this[$LENGTH] = byteLength;\n };\n\n $DataView = function DataView(buffer, byteOffset, byteLength){\n anInstance(this, $DataView, DATA_VIEW);\n anInstance(buffer, $ArrayBuffer, DATA_VIEW);\n var bufferLength = buffer[$LENGTH]\n , offset = toInteger(byteOffset);\n if(offset < 0 || offset > bufferLength)throw RangeError('Wrong offset!');\n byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n if(offset + byteLength > bufferLength)throw RangeError(WRONG_LENGTH);\n this[$BUFFER] = buffer;\n this[$OFFSET] = offset;\n this[$LENGTH] = byteLength;\n };\n\n if(DESCRIPTORS){\n addGetter($ArrayBuffer, BYTE_LENGTH, '_l');\n addGetter($DataView, BUFFER, '_b');\n addGetter($DataView, BYTE_LENGTH, '_l');\n addGetter($DataView, BYTE_OFFSET, '_o');\n }\n\n redefineAll($DataView[PROTOTYPE], {\n getInt8: function getInt8(byteOffset){\n return get(this, 1, byteOffset)[0] << 24 >> 24;\n },\n getUint8: function getUint8(byteOffset){\n return get(this, 1, byteOffset)[0];\n },\n getInt16: function getInt16(byteOffset /*, littleEndian */){\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n },\n getUint16: function getUint16(byteOffset /*, littleEndian */){\n var bytes = get(this, 2, byteOffset, arguments[1]);\n return bytes[1] << 8 | bytes[0];\n },\n getInt32: function getInt32(byteOffset /*, littleEndian */){\n return unpackI32(get(this, 4, byteOffset, arguments[1]));\n },\n getUint32: function getUint32(byteOffset /*, littleEndian */){\n return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;\n },\n getFloat32: function getFloat32(byteOffset /*, littleEndian */){\n return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);\n },\n getFloat64: function getFloat64(byteOffset /*, littleEndian */){\n return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);\n },\n setInt8: function setInt8(byteOffset, value){\n set(this, 1, byteOffset, packI8, value);\n },\n setUint8: function setUint8(byteOffset, value){\n set(this, 1, byteOffset, packI8, value);\n },\n setInt16: function setInt16(byteOffset, value /*, littleEndian */){\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setUint16: function setUint16(byteOffset, value /*, littleEndian */){\n set(this, 2, byteOffset, packI16, value, arguments[2]);\n },\n setInt32: function setInt32(byteOffset, value /*, littleEndian */){\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setUint32: function setUint32(byteOffset, value /*, littleEndian */){\n set(this, 4, byteOffset, packI32, value, arguments[2]);\n },\n setFloat32: function setFloat32(byteOffset, value /*, littleEndian */){\n set(this, 4, byteOffset, packF32, value, arguments[2]);\n },\n setFloat64: function setFloat64(byteOffset, value /*, littleEndian */){\n set(this, 8, byteOffset, packF64, value, arguments[2]);\n }\n });\n} else {\n if(!fails(function(){\n new $ArrayBuffer; // eslint-disable-line no-new\n }) || !fails(function(){\n new $ArrayBuffer(.5); // eslint-disable-line no-new\n })){\n $ArrayBuffer = function ArrayBuffer(length){\n return new BaseBuffer(validateArrayBufferArguments(this, length));\n };\n var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];\n for(var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j; ){\n if(!((key = keys[j++]) in $ArrayBuffer))hide($ArrayBuffer, key, BaseBuffer[key]);\n };\n if(!LIBRARY)ArrayBufferProto.constructor = $ArrayBuffer;\n }\n // iOS Safari 7.x bug\n var view = new $DataView(new $ArrayBuffer(2))\n , $setInt8 = $DataView[PROTOTYPE].setInt8;\n view.setInt8(0, 2147483648);\n view.setInt8(1, 2147483649);\n if(view.getInt8(0) || !view.getInt8(1))redefineAll($DataView[PROTOTYPE], {\n setInt8: function setInt8(byteOffset, value){\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n },\n setUint8: function setUint8(byteOffset, value){\n $setInt8.call(this, byteOffset, value << 24 >> 24);\n }\n }, true);\n}\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\nhide($DataView[PROTOTYPE], $typed.VIEW, true);\nexports[ARRAY_BUFFER] = $ArrayBuffer;\nexports[DATA_VIEW] = $DataView;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_typed-buffer.js\n ** module id = 165\n ** module chunks = 0\n **/","var global = require('./_global')\r\n , core = require('./_core')\r\n , LIBRARY = require('./_library')\r\n , wksExt = require('./_wks-ext')\r\n , defineProperty = require('./_object-dp').f;\r\nmodule.exports = function(name){\r\n var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\r\n if(name.charAt(0) != '_' && !(name in $Symbol))defineProperty($Symbol, name, {value: wksExt.f(name)});\r\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_wks-define.js\n ** module id = 166\n ** module chunks = 0\n **/","var classof = require('./_classof')\n , ITERATOR = require('./_wks')('iterator')\n , Iterators = require('./_iterators');\nmodule.exports = require('./_core').getIteratorMethod = function(it){\n if(it != undefined)return it[ITERATOR]\n || it['@@iterator']\n || Iterators[classof(it)];\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/core.get-iterator-method.js\n ** module id = 167\n ** module chunks = 0\n **/","'use strict';\nvar addToUnscopables = require('./_add-to-unscopables')\n , step = require('./_iter-step')\n , Iterators = require('./_iterators')\n , toIObject = require('./_to-iobject');\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = require('./_iter-define')(Array, 'Array', function(iterated, kind){\n this._t = toIObject(iterated); // target\n this._i = 0; // next index\n this._k = kind; // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function(){\n var O = this._t\n , kind = this._k\n , index = this._i++;\n if(!O || index >= O.length){\n this._t = undefined;\n return step(1);\n }\n if(kind == 'keys' )return step(0, index);\n if(kind == 'values')return step(0, O[index]);\n return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.array.iterator.js\n ** module id = 168\n ** module chunks = 0\n **/","'use strict';\nmodule.exports = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/dom-helpers/util/inDOM.js\n ** module id = 169\n ** module chunks = 0\n **/","/**\n * EvEmitter v1.0.3\n * Lil' event emitter\n * MIT License\n */\n\n/* jshint unused: true, undef: true, strict: true */\n\n( function( global, factory ) {\n // universal module definition\n /* jshint strict: false */ /* globals define, module, window */\n if ( typeof define == 'function' && define.amd ) {\n // AMD - RequireJS\n define( factory );\n } else if ( typeof module == 'object' && module.exports ) {\n // CommonJS - Browserify, Webpack\n module.exports = factory();\n } else {\n // Browser globals\n global.EvEmitter = factory();\n }\n\n}( typeof window != 'undefined' ? window : this, function() {\n\n\"use strict\";\n\nfunction EvEmitter() {}\n\nvar proto = EvEmitter.prototype;\n\nproto.on = function( eventName, listener ) {\n if ( !eventName || !listener ) {\n return;\n }\n // set events hash\n var events = this._events = this._events || {};\n // set listeners array\n var listeners = events[ eventName ] = events[ eventName ] || [];\n // only add once\n if ( listeners.indexOf( listener ) == -1 ) {\n listeners.push( listener );\n }\n\n return this;\n};\n\nproto.once = function( eventName, listener ) {\n if ( !eventName || !listener ) {\n return;\n }\n // add event\n this.on( eventName, listener );\n // set once flag\n // set onceEvents hash\n var onceEvents = this._onceEvents = this._onceEvents || {};\n // set onceListeners object\n var onceListeners = onceEvents[ eventName ] = onceEvents[ eventName ] || {};\n // set flag\n onceListeners[ listener ] = true;\n\n return this;\n};\n\nproto.off = function( eventName, listener ) {\n var listeners = this._events && this._events[ eventName ];\n if ( !listeners || !listeners.length ) {\n return;\n }\n var index = listeners.indexOf( listener );\n if ( index != -1 ) {\n listeners.splice( index, 1 );\n }\n\n return this;\n};\n\nproto.emitEvent = function( eventName, args ) {\n var listeners = this._events && this._events[ eventName ];\n if ( !listeners || !listeners.length ) {\n return;\n }\n var i = 0;\n var listener = listeners[i];\n args = args || [];\n // once stuff\n var onceListeners = this._onceEvents && this._onceEvents[ eventName ];\n\n while ( listener ) {\n var isOnce = onceListeners && onceListeners[ listener ];\n if ( isOnce ) {\n // remove listener\n // remove before trigger to prevent recursion\n this.off( eventName, listener );\n // unset once flag\n delete onceListeners[ listener ];\n }\n // trigger listener\n listener.apply( this, args );\n // get next listener\n i += isOnce ? 0 : 1;\n listener = listeners[i];\n }\n\n return this;\n};\n\nreturn EvEmitter;\n\n}));\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/ev-emitter/ev-emitter.js\n ** module id = 170\n ** module chunks = 0\n **/","/*eslint-disable no-empty */\n'use strict';\n\nexports.__esModule = true;\nexports.saveState = saveState;\nexports.readState = readState;\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar KeyPrefix = '@@History/';\nvar QuotaExceededErrors = ['QuotaExceededError', 'QUOTA_EXCEEDED_ERR'];\n\nvar SecurityError = 'SecurityError';\n\nfunction createKey(key) {\n return KeyPrefix + key;\n}\n\nfunction saveState(key, state) {\n try {\n if (state == null) {\n window.sessionStorage.removeItem(createKey(key));\n } else {\n window.sessionStorage.setItem(createKey(key), JSON.stringify(state));\n }\n } catch (error) {\n if (error.name === SecurityError) {\n // Blocking cookies in Chrome/Firefox/Safari throws SecurityError on any\n // attempt to access window.sessionStorage.\n process.env.NODE_ENV !== 'production' ? _warning2['default'](false, '[history] Unable to save state; sessionStorage is not available due to security settings') : undefined;\n\n return;\n }\n\n if (QuotaExceededErrors.indexOf(error.name) >= 0 && window.sessionStorage.length === 0) {\n // Safari \"private mode\" throws QuotaExceededError.\n process.env.NODE_ENV !== 'production' ? _warning2['default'](false, '[history] Unable to save state; sessionStorage is not available in Safari private mode') : undefined;\n\n return;\n }\n\n throw error;\n }\n}\n\nfunction readState(key) {\n var json = undefined;\n try {\n json = window.sessionStorage.getItem(createKey(key));\n } catch (error) {\n if (error.name === SecurityError) {\n // Blocking cookies in Chrome/Firefox/Safari throws SecurityError on any\n // attempt to access window.sessionStorage.\n process.env.NODE_ENV !== 'production' ? _warning2['default'](false, '[history] Unable to read state; sessionStorage is not available due to security settings') : undefined;\n\n return null;\n }\n }\n\n if (json) {\n try {\n return JSON.parse(json);\n } catch (error) {\n // Ignore invalid JSON.\n }\n }\n\n return null;\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/history/lib/DOMStateStorage.js\n ** module id = 171\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports.addEventListener = addEventListener;\nexports.removeEventListener = removeEventListener;\nexports.getHashPath = getHashPath;\nexports.replaceHashPath = replaceHashPath;\nexports.getWindowPath = getWindowPath;\nexports.go = go;\nexports.getUserConfirmation = getUserConfirmation;\nexports.supportsHistory = supportsHistory;\nexports.supportsGoWithoutReloadUsingHash = supportsGoWithoutReloadUsingHash;\n\nfunction addEventListener(node, event, listener) {\n if (node.addEventListener) {\n node.addEventListener(event, listener, false);\n } else {\n node.attachEvent('on' + event, listener);\n }\n}\n\nfunction removeEventListener(node, event, listener) {\n if (node.removeEventListener) {\n node.removeEventListener(event, listener, false);\n } else {\n node.detachEvent('on' + event, listener);\n }\n}\n\nfunction getHashPath() {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n return window.location.href.split('#')[1] || '';\n}\n\nfunction replaceHashPath(path) {\n window.location.replace(window.location.pathname + window.location.search + '#' + path);\n}\n\nfunction getWindowPath() {\n return window.location.pathname + window.location.search + window.location.hash;\n}\n\nfunction go(n) {\n if (n) window.history.go(n);\n}\n\nfunction getUserConfirmation(message, callback) {\n callback(window.confirm(message));\n}\n\n/**\n * Returns true if the HTML5 history API is supported. Taken from Modernizr.\n *\n * https://github.com/Modernizr/Modernizr/blob/master/LICENSE\n * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n * changed to avoid false negatives for Windows Phones: https://github.com/rackt/react-router/issues/586\n */\n\nfunction supportsHistory() {\n var ua = navigator.userAgent;\n if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) {\n return false;\n }\n return window.history && 'pushState' in window.history;\n}\n\n/**\n * Returns false if using go(n) with hash history causes a full page reload.\n */\n\nfunction supportsGoWithoutReloadUsingHash() {\n var ua = navigator.userAgent;\n return ua.indexOf('Firefox') === -1;\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/history/lib/DOMUtils.js\n ** module id = 172\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nfunction deprecate(fn, message) {\n return function () {\n process.env.NODE_ENV !== 'production' ? _warning2['default'](false, '[history] ' + message) : undefined;\n return fn.apply(this, arguments);\n };\n}\n\nexports['default'] = deprecate;\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/history/lib/deprecate.js\n ** module id = 173\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nfunction runTransitionHook(hook, location, callback) {\n var result = hook(location, callback);\n\n if (hook.length < 2) {\n // Assume the hook runs synchronously and automatically\n // call the callback with the return value.\n callback(result);\n } else {\n process.env.NODE_ENV !== 'production' ? _warning2['default'](result === undefined, 'You should not \"return\" in a transition hook with a callback argument; call the callback instead') : undefined;\n }\n}\n\nexports['default'] = runTransitionHook;\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/history/lib/runTransitionHook.js\n ** module id = 174\n ** module chunks = 0\n **/","/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n'use strict';\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\n\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n arguments: true,\n arity: true\n};\n\nvar isGetOwnPropertySymbolsAvailable = typeof Object.getOwnPropertySymbols === 'function';\n\nmodule.exports = function hoistNonReactStatics(targetComponent, sourceComponent, customStatics) {\n if (typeof sourceComponent !== 'string') { // don't hoist over string (html) components\n var keys = Object.getOwnPropertyNames(sourceComponent);\n\n /* istanbul ignore else */\n if (isGetOwnPropertySymbolsAvailable) {\n keys = keys.concat(Object.getOwnPropertySymbols(sourceComponent));\n }\n\n for (var i = 0; i < keys.length; ++i) {\n if (!REACT_STATICS[keys[i]] && !KNOWN_STATICS[keys[i]] && (!customStatics || !customStatics[keys[i]])) {\n try {\n targetComponent[keys[i]] = sourceComponent[keys[i]];\n } catch (error) {\n\n }\n }\n }\n }\n\n return targetComponent;\n};\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/hoist-non-react-statics/index.js\n ** module id = 175\n ** module chunks = 0\n **/","var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_Map.js\n ** module id = 176\n ** module chunks = 0\n **/","var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries ? entries.length : 0;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_MapCache.js\n ** module id = 177\n ** module chunks = 0\n **/","var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObject = require('./isObject'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {boolean} [bitmask] The bitmask of comparison flags.\n * The bitmask may be composed of the following flags:\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, customizer, bitmask, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObject(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, baseIsEqual, customizer, bitmask, stack);\n}\n\nmodule.exports = baseIsEqual;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_baseIsEqual.js\n ** module id = 178\n ** module chunks = 0\n **/","/**\n * Checks if `value` is a host object in IE < 9.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a host object, else `false`.\n */\nfunction isHostObject(value) {\n // Many host objects are `Object` objects that can coerce to strings\n // despite having improperly defined `toString` methods.\n var result = false;\n if (value != null && typeof value.toString != 'function') {\n try {\n result = !!(value + '');\n } catch (e) {}\n }\n return result;\n}\n\nmodule.exports = isHostObject;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_isHostObject.js\n ** module id = 179\n ** module chunks = 0\n **/","/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n length = length == null ? MAX_SAFE_INTEGER : length;\n return !!length &&\n (typeof value == 'number' || reIsUint.test(value)) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_isIndex.js\n ** module id = 180\n ** module chunks = 0\n **/","var getPrototype = require('./_getPrototype'),\n isHostObject = require('./_isHostObject'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = Function.prototype.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object,\n * else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) ||\n objectToString.call(value) != objectTag || isHostObject(value)) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return (typeof Ctor == 'function' &&\n Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString);\n}\n\nmodule.exports = isPlainObject;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/isPlainObject.js\n ** module id = 181\n ** module chunks = 0\n **/","var isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && objectToString.call(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/isSymbol.js\n ** module id = 182\n ** module chunks = 0\n **/","\"use strict\";\n\nexports.__esModule = true;\nexports.loopAsync = loopAsync;\nexports.mapAsync = mapAsync;\nfunction loopAsync(turns, work, callback) {\n var currentTurn = 0,\n isDone = false;\n var sync = false,\n hasNext = false,\n doneArgs = void 0;\n\n function done() {\n isDone = true;\n if (sync) {\n // Iterate instead of recursing if possible.\n doneArgs = [].concat(Array.prototype.slice.call(arguments));\n return;\n }\n\n callback.apply(this, arguments);\n }\n\n function next() {\n if (isDone) {\n return;\n }\n\n hasNext = true;\n if (sync) {\n // Iterate instead of recursing if possible.\n return;\n }\n\n sync = true;\n\n while (!isDone && currentTurn < turns && hasNext) {\n hasNext = false;\n work.call(this, currentTurn++, next, done);\n }\n\n sync = false;\n\n if (isDone) {\n // This means the loop finished synchronously.\n callback.apply(this, doneArgs);\n return;\n }\n\n if (currentTurn >= turns && hasNext) {\n isDone = true;\n callback();\n }\n }\n\n next();\n}\n\nfunction mapAsync(array, work, callback) {\n var length = array.length;\n var values = [];\n\n if (length === 0) return callback(null, values);\n\n var isDone = false,\n doneCount = 0;\n\n function done(index, error, value) {\n if (isDone) return;\n\n if (error) {\n isDone = true;\n callback(error);\n } else {\n values[index] = value;\n\n isDone = ++doneCount === length;\n\n if (isDone) callback(null, values);\n }\n }\n\n array.forEach(function (item, index) {\n work(item, index, function (error, value) {\n done(index, error, value);\n });\n });\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/AsyncUtils.js\n ** module id = 183\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports.router = exports.routes = exports.route = exports.components = exports.component = exports.location = exports.history = exports.falsy = exports.locationShape = exports.routerShape = undefined;\n\nvar _react = require('react');\n\nvar _deprecateObjectProperties = require('./deprecateObjectProperties');\n\nvar _deprecateObjectProperties2 = _interopRequireDefault(_deprecateObjectProperties);\n\nvar _InternalPropTypes = require('./InternalPropTypes');\n\nvar InternalPropTypes = _interopRequireWildcard(_InternalPropTypes);\n\nvar _routerWarning = require('./routerWarning');\n\nvar _routerWarning2 = _interopRequireDefault(_routerWarning);\n\nfunction _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key]; } } newObj.default = obj; return newObj; } }\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar func = _react.PropTypes.func;\nvar object = _react.PropTypes.object;\nvar shape = _react.PropTypes.shape;\nvar string = _react.PropTypes.string;\nvar routerShape = exports.routerShape = shape({\n push: func.isRequired,\n replace: func.isRequired,\n go: func.isRequired,\n goBack: func.isRequired,\n goForward: func.isRequired,\n setRouteLeaveHook: func.isRequired,\n isActive: func.isRequired\n});\n\nvar locationShape = exports.locationShape = shape({\n pathname: string.isRequired,\n search: string.isRequired,\n state: object,\n action: string.isRequired,\n key: string\n});\n\n// Deprecated stuff below:\n\nvar falsy = exports.falsy = InternalPropTypes.falsy;\nvar history = exports.history = InternalPropTypes.history;\nvar location = exports.location = locationShape;\nvar component = exports.component = InternalPropTypes.component;\nvar components = exports.components = InternalPropTypes.components;\nvar route = exports.route = InternalPropTypes.route;\nvar routes = exports.routes = InternalPropTypes.routes;\nvar router = exports.router = routerShape;\n\nif (process.env.NODE_ENV !== 'production') {\n (function () {\n var deprecatePropType = function deprecatePropType(propType, message) {\n return function () {\n process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(false, message) : void 0;\n return propType.apply(undefined, arguments);\n };\n };\n\n var deprecateInternalPropType = function deprecateInternalPropType(propType) {\n return deprecatePropType(propType, 'This prop type is not intended for external use, and was previously exported by mistake. These internal prop types are deprecated for external use, and will be removed in a later version.');\n };\n\n var deprecateRenamedPropType = function deprecateRenamedPropType(propType, name) {\n return deprecatePropType(propType, 'The `' + name + '` prop type is now exported as `' + name + 'Shape` to avoid name conflicts. This export is deprecated and will be removed in a later version.');\n };\n\n exports.falsy = falsy = deprecateInternalPropType(falsy);\n exports.history = history = deprecateInternalPropType(history);\n exports.component = component = deprecateInternalPropType(component);\n exports.components = components = deprecateInternalPropType(components);\n exports.route = route = deprecateInternalPropType(route);\n exports.routes = routes = deprecateInternalPropType(routes);\n\n exports.location = location = deprecateRenamedPropType(location, 'location');\n exports.router = router = deprecateRenamedPropType(router, 'router');\n })();\n}\n\nvar defaultExport = {\n falsy: falsy,\n history: history,\n location: location,\n component: component,\n components: components,\n route: route,\n // For some reason, routes was never here.\n router: router\n};\n\nif (process.env.NODE_ENV !== 'production') {\n defaultExport = (0, _deprecateObjectProperties2.default)(defaultExport, 'The default export from `react-router/lib/PropTypes` is deprecated. Please use the named exports instead.');\n}\n\nexports.default = defaultExport;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/PropTypes.js\n ** module id = 184\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nvar _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; };\n\nexports.default = createTransitionManager;\n\nvar _routerWarning = require('./routerWarning');\n\nvar _routerWarning2 = _interopRequireDefault(_routerWarning);\n\nvar _Actions = require('history/lib/Actions');\n\nvar _computeChangedRoutes2 = require('./computeChangedRoutes');\n\nvar _computeChangedRoutes3 = _interopRequireDefault(_computeChangedRoutes2);\n\nvar _TransitionUtils = require('./TransitionUtils');\n\nvar _isActive2 = require('./isActive');\n\nvar _isActive3 = _interopRequireDefault(_isActive2);\n\nvar _getComponents = require('./getComponents');\n\nvar _getComponents2 = _interopRequireDefault(_getComponents);\n\nvar _matchRoutes = require('./matchRoutes');\n\nvar _matchRoutes2 = _interopRequireDefault(_matchRoutes);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction hasAnyProperties(object) {\n for (var p in object) {\n if (Object.prototype.hasOwnProperty.call(object, p)) return true;\n }return false;\n}\n\nfunction createTransitionManager(history, routes) {\n var state = {};\n\n // Signature should be (location, indexOnly), but needs to support (path,\n // query, indexOnly)\n function isActive(location) {\n var indexOnlyOrDeprecatedQuery = arguments.length <= 1 || arguments[1] === undefined ? false : arguments[1];\n var deprecatedIndexOnly = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];\n\n var indexOnly = void 0;\n if (indexOnlyOrDeprecatedQuery && indexOnlyOrDeprecatedQuery !== true || deprecatedIndexOnly !== null) {\n process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(false, '`isActive(pathname, query, indexOnly) is deprecated; use `isActive(location, indexOnly)` with a location descriptor instead. http://tiny.cc/router-isActivedeprecated') : void 0;\n location = { pathname: location, query: indexOnlyOrDeprecatedQuery };\n indexOnly = deprecatedIndexOnly || false;\n } else {\n location = history.createLocation(location);\n indexOnly = indexOnlyOrDeprecatedQuery;\n }\n\n return (0, _isActive3.default)(location, indexOnly, state.location, state.routes, state.params);\n }\n\n function createLocationFromRedirectInfo(location) {\n return history.createLocation(location, _Actions.REPLACE);\n }\n\n var partialNextState = void 0;\n\n function match(location, callback) {\n if (partialNextState && partialNextState.location === location) {\n // Continue from where we left off.\n finishMatch(partialNextState, callback);\n } else {\n (0, _matchRoutes2.default)(routes, location, function (error, nextState) {\n if (error) {\n callback(error);\n } else if (nextState) {\n finishMatch(_extends({}, nextState, { location: location }), callback);\n } else {\n callback();\n }\n });\n }\n }\n\n function finishMatch(nextState, callback) {\n var _computeChangedRoutes = (0, _computeChangedRoutes3.default)(state, nextState);\n\n var leaveRoutes = _computeChangedRoutes.leaveRoutes;\n var changeRoutes = _computeChangedRoutes.changeRoutes;\n var enterRoutes = _computeChangedRoutes.enterRoutes;\n\n\n (0, _TransitionUtils.runLeaveHooks)(leaveRoutes, state);\n\n // Tear down confirmation hooks for left routes\n leaveRoutes.filter(function (route) {\n return enterRoutes.indexOf(route) === -1;\n }).forEach(removeListenBeforeHooksForRoute);\n\n // change and enter hooks are run in series\n (0, _TransitionUtils.runChangeHooks)(changeRoutes, state, nextState, function (error, redirectInfo) {\n if (error || redirectInfo) return handleErrorOrRedirect(error, redirectInfo);\n\n (0, _TransitionUtils.runEnterHooks)(enterRoutes, nextState, finishEnterHooks);\n });\n\n function finishEnterHooks(error, redirectInfo) {\n if (error || redirectInfo) return handleErrorOrRedirect(error, redirectInfo);\n\n // TODO: Fetch components after state is updated.\n (0, _getComponents2.default)(nextState, function (error, components) {\n if (error) {\n callback(error);\n } else {\n // TODO: Make match a pure function and have some other API\n // for \"match and update state\".\n callback(null, null, state = _extends({}, nextState, { components: components }));\n }\n });\n }\n\n function handleErrorOrRedirect(error, redirectInfo) {\n if (error) callback(error);else callback(null, createLocationFromRedirectInfo(redirectInfo));\n }\n }\n\n var RouteGuid = 1;\n\n function getRouteID(route) {\n var create = arguments.length <= 1 || arguments[1] === undefined ? true : arguments[1];\n\n return route.__id__ || create && (route.__id__ = RouteGuid++);\n }\n\n var RouteHooks = Object.create(null);\n\n function getRouteHooksForRoutes(routes) {\n return routes.reduce(function (hooks, route) {\n hooks.push.apply(hooks, RouteHooks[getRouteID(route)]);\n return hooks;\n }, []);\n }\n\n function transitionHook(location, callback) {\n (0, _matchRoutes2.default)(routes, location, function (error, nextState) {\n if (nextState == null) {\n // TODO: We didn't actually match anything, but hang\n // onto error/nextState so we don't have to matchRoutes\n // again in the listen callback.\n callback();\n return;\n }\n\n // Cache some state here so we don't have to\n // matchRoutes() again in the listen callback.\n partialNextState = _extends({}, nextState, { location: location });\n\n var hooks = getRouteHooksForRoutes((0, _computeChangedRoutes3.default)(state, partialNextState).leaveRoutes);\n\n var result = void 0;\n for (var i = 0, len = hooks.length; result == null && i < len; ++i) {\n // Passing the location arg here indicates to\n // the user that this is a transition hook.\n result = hooks[i](location);\n }\n\n callback(result);\n });\n }\n\n /* istanbul ignore next: untestable with Karma */\n function beforeUnloadHook() {\n // Synchronously check to see if any route hooks want\n // to prevent the current window/tab from closing.\n if (state.routes) {\n var hooks = getRouteHooksForRoutes(state.routes);\n\n var message = void 0;\n for (var i = 0, len = hooks.length; typeof message !== 'string' && i < len; ++i) {\n // Passing no args indicates to the user that this is a\n // beforeunload hook. We don't know the next location.\n message = hooks[i]();\n }\n\n return message;\n }\n }\n\n var unlistenBefore = void 0,\n unlistenBeforeUnload = void 0;\n\n function removeListenBeforeHooksForRoute(route) {\n var routeID = getRouteID(route, false);\n if (!routeID) {\n return;\n }\n\n delete RouteHooks[routeID];\n\n if (!hasAnyProperties(RouteHooks)) {\n // teardown transition & beforeunload hooks\n if (unlistenBefore) {\n unlistenBefore();\n unlistenBefore = null;\n }\n\n if (unlistenBeforeUnload) {\n unlistenBeforeUnload();\n unlistenBeforeUnload = null;\n }\n }\n }\n\n /**\n * Registers the given hook function to run before leaving the given route.\n *\n * During a normal transition, the hook function receives the next location\n * as its only argument and can return either a prompt message (string) to show the user,\n * to make sure they want to leave the page; or `false`, to prevent the transition.\n * Any other return value will have no effect.\n *\n * During the beforeunload event (in browsers) the hook receives no arguments.\n * In this case it must return a prompt message to prevent the transition.\n *\n * Returns a function that may be used to unbind the listener.\n */\n function listenBeforeLeavingRoute(route, hook) {\n // TODO: Warn if they register for a route that isn't currently\n // active. They're probably doing something wrong, like re-creating\n // route objects on every location change.\n var routeID = getRouteID(route);\n var hooks = RouteHooks[routeID];\n\n if (!hooks) {\n var thereWereNoRouteHooks = !hasAnyProperties(RouteHooks);\n\n RouteHooks[routeID] = [hook];\n\n if (thereWereNoRouteHooks) {\n // setup transition & beforeunload hooks\n unlistenBefore = history.listenBefore(transitionHook);\n\n if (history.listenBeforeUnload) unlistenBeforeUnload = history.listenBeforeUnload(beforeUnloadHook);\n }\n } else {\n if (hooks.indexOf(hook) === -1) {\n process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(false, 'adding multiple leave hooks for the same route is deprecated; manage multiple confirmations in your own code instead') : void 0;\n\n hooks.push(hook);\n }\n }\n\n return function () {\n var hooks = RouteHooks[routeID];\n\n if (hooks) {\n var newHooks = hooks.filter(function (item) {\n return item !== hook;\n });\n\n if (newHooks.length === 0) {\n removeListenBeforeHooksForRoute(route);\n } else {\n RouteHooks[routeID] = newHooks;\n }\n }\n };\n }\n\n /**\n * This is the API for stateful environments. As the location\n * changes, we update state and call the listener. We can also\n * gracefully handle errors and redirects.\n */\n function listen(listener) {\n // TODO: Only use a single history listener. Otherwise we'll\n // end up with multiple concurrent calls to match.\n return history.listen(function (location) {\n if (state.location === location) {\n listener(null, state);\n } else {\n match(location, function (error, redirectLocation, nextState) {\n if (error) {\n listener(error);\n } else if (redirectLocation) {\n history.transitionTo(redirectLocation);\n } else if (nextState) {\n listener(null, nextState);\n } else {\n process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(false, 'Location \"%s\" did not match any routes', location.pathname + location.search + location.hash) : void 0;\n }\n });\n }\n });\n }\n\n return {\n isActive: isActive,\n match: match,\n listenBeforeLeavingRoute: listenBeforeLeavingRoute,\n listen: listen\n };\n}\n\n//export default useRoutes\n\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/createTransitionManager.js\n ** module id = 185\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule DOMChildrenOperations\n */\n\n'use strict';\n\nvar DOMLazyTree = require('./DOMLazyTree');\nvar Danger = require('./Danger');\nvar ReactMultiChildUpdateTypes = require('./ReactMultiChildUpdateTypes');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactInstrumentation = require('./ReactInstrumentation');\n\nvar createMicrosoftUnsafeLocalFunction = require('./createMicrosoftUnsafeLocalFunction');\nvar setInnerHTML = require('./setInnerHTML');\nvar setTextContent = require('./setTextContent');\n\nfunction getNodeAfter(parentNode, node) {\n // Special case for text components, which return [open, close] comments\n // from getHostNode.\n if (Array.isArray(node)) {\n node = node[1];\n }\n return node ? node.nextSibling : parentNode.firstChild;\n}\n\n/**\n * Inserts `childNode` as a child of `parentNode` at the `index`.\n *\n * @param {DOMElement} parentNode Parent node in which to insert.\n * @param {DOMElement} childNode Child node to insert.\n * @param {number} index Index at which to insert the child.\n * @internal\n */\nvar insertChildAt = createMicrosoftUnsafeLocalFunction(function (parentNode, childNode, referenceNode) {\n // We rely exclusively on `insertBefore(node, null)` instead of also using\n // `appendChild(node)`. (Using `undefined` is not allowed by all browsers so\n // we are careful to use `null`.)\n parentNode.insertBefore(childNode, referenceNode);\n});\n\nfunction insertLazyTreeChildAt(parentNode, childTree, referenceNode) {\n DOMLazyTree.insertTreeBefore(parentNode, childTree, referenceNode);\n}\n\nfunction moveChild(parentNode, childNode, referenceNode) {\n if (Array.isArray(childNode)) {\n moveDelimitedText(parentNode, childNode[0], childNode[1], referenceNode);\n } else {\n insertChildAt(parentNode, childNode, referenceNode);\n }\n}\n\nfunction removeChild(parentNode, childNode) {\n if (Array.isArray(childNode)) {\n var closingComment = childNode[1];\n childNode = childNode[0];\n removeDelimitedText(parentNode, childNode, closingComment);\n parentNode.removeChild(closingComment);\n }\n parentNode.removeChild(childNode);\n}\n\nfunction moveDelimitedText(parentNode, openingComment, closingComment, referenceNode) {\n var node = openingComment;\n while (true) {\n var nextNode = node.nextSibling;\n insertChildAt(parentNode, node, referenceNode);\n if (node === closingComment) {\n break;\n }\n node = nextNode;\n }\n}\n\nfunction removeDelimitedText(parentNode, startNode, closingComment) {\n while (true) {\n var node = startNode.nextSibling;\n if (node === closingComment) {\n // The closing comment is removed by ReactMultiChild.\n break;\n } else {\n parentNode.removeChild(node);\n }\n }\n}\n\nfunction replaceDelimitedText(openingComment, closingComment, stringText) {\n var parentNode = openingComment.parentNode;\n var nodeAfterComment = openingComment.nextSibling;\n if (nodeAfterComment === closingComment) {\n // There are no text nodes between the opening and closing comments; insert\n // a new one if stringText isn't empty.\n if (stringText) {\n insertChildAt(parentNode, document.createTextNode(stringText), nodeAfterComment);\n }\n } else {\n if (stringText) {\n // Set the text content of the first node after the opening comment, and\n // remove all following nodes up until the closing comment.\n setTextContent(nodeAfterComment, stringText);\n removeDelimitedText(parentNode, nodeAfterComment, closingComment);\n } else {\n removeDelimitedText(parentNode, openingComment, closingComment);\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation(ReactDOMComponentTree.getInstanceFromNode(openingComment)._debugID, 'replace text', stringText);\n }\n}\n\nvar dangerouslyReplaceNodeWithMarkup = Danger.dangerouslyReplaceNodeWithMarkup;\nif (process.env.NODE_ENV !== 'production') {\n dangerouslyReplaceNodeWithMarkup = function (oldChild, markup, prevInstance) {\n Danger.dangerouslyReplaceNodeWithMarkup(oldChild, markup);\n if (prevInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onHostOperation(prevInstance._debugID, 'replace with', markup.toString());\n } else {\n var nextInstance = ReactDOMComponentTree.getInstanceFromNode(markup.node);\n if (nextInstance._debugID !== 0) {\n ReactInstrumentation.debugTool.onHostOperation(nextInstance._debugID, 'mount', markup.toString());\n }\n }\n };\n}\n\n/**\n * Operations for updating with DOM children.\n */\nvar DOMChildrenOperations = {\n\n dangerouslyReplaceNodeWithMarkup: dangerouslyReplaceNodeWithMarkup,\n\n replaceDelimitedText: replaceDelimitedText,\n\n /**\n * Updates a component's children by processing a series of updates. The\n * update configurations are each expected to have a `parentNode` property.\n *\n * @param {array} updates List of update configurations.\n * @internal\n */\n processUpdates: function (parentNode, updates) {\n if (process.env.NODE_ENV !== 'production') {\n var parentNodeDebugID = ReactDOMComponentTree.getInstanceFromNode(parentNode)._debugID;\n }\n\n for (var k = 0; k < updates.length; k++) {\n var update = updates[k];\n switch (update.type) {\n case ReactMultiChildUpdateTypes.INSERT_MARKUP:\n insertLazyTreeChildAt(parentNode, update.content, getNodeAfter(parentNode, update.afterNode));\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'insert child', { toIndex: update.toIndex, content: update.content.toString() });\n }\n break;\n case ReactMultiChildUpdateTypes.MOVE_EXISTING:\n moveChild(parentNode, update.fromNode, getNodeAfter(parentNode, update.afterNode));\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'move child', { fromIndex: update.fromIndex, toIndex: update.toIndex });\n }\n break;\n case ReactMultiChildUpdateTypes.SET_MARKUP:\n setInnerHTML(parentNode, update.content);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'replace children', update.content.toString());\n }\n break;\n case ReactMultiChildUpdateTypes.TEXT_CONTENT:\n setTextContent(parentNode, update.content);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'replace text', update.content.toString());\n }\n break;\n case ReactMultiChildUpdateTypes.REMOVE_NODE:\n removeChild(parentNode, update.fromNode);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onHostOperation(parentNodeDebugID, 'remove child', { fromIndex: update.fromIndex });\n }\n break;\n }\n }\n }\n\n};\n\nmodule.exports = DOMChildrenOperations;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/DOMChildrenOperations.js\n ** module id = 186\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule DOMNamespaces\n */\n\n'use strict';\n\nvar DOMNamespaces = {\n html: 'http://www.w3.org/1999/xhtml',\n mathml: 'http://www.w3.org/1998/Math/MathML',\n svg: 'http://www.w3.org/2000/svg'\n};\n\nmodule.exports = DOMNamespaces;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/DOMNamespaces.js\n ** module id = 187\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule EventPluginRegistry\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * Injectable ordering of event plugins.\n */\nvar EventPluginOrder = null;\n\n/**\n * Injectable mapping from names to event plugin modules.\n */\nvar namesToPlugins = {};\n\n/**\n * Recomputes the plugin list using the injected plugins and plugin ordering.\n *\n * @private\n */\nfunction recomputePluginOrdering() {\n if (!EventPluginOrder) {\n // Wait until an `EventPluginOrder` is injected.\n return;\n }\n for (var pluginName in namesToPlugins) {\n var PluginModule = namesToPlugins[pluginName];\n var pluginIndex = EventPluginOrder.indexOf(pluginName);\n !(pluginIndex > -1) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.', pluginName) : _prodInvariant('96', pluginName) : void 0;\n if (EventPluginRegistry.plugins[pluginIndex]) {\n continue;\n }\n !PluginModule.extractEvents ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.', pluginName) : _prodInvariant('97', pluginName) : void 0;\n EventPluginRegistry.plugins[pluginIndex] = PluginModule;\n var publishedEvents = PluginModule.eventTypes;\n for (var eventName in publishedEvents) {\n !publishEventForPlugin(publishedEvents[eventName], PluginModule, eventName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.', eventName, pluginName) : _prodInvariant('98', eventName, pluginName) : void 0;\n }\n }\n}\n\n/**\n * Publishes an event so that it can be dispatched by the supplied plugin.\n *\n * @param {object} dispatchConfig Dispatch configuration for the event.\n * @param {object} PluginModule Plugin publishing the event.\n * @return {boolean} True if the event was successfully published.\n * @private\n */\nfunction publishEventForPlugin(dispatchConfig, PluginModule, eventName) {\n !!EventPluginRegistry.eventNameDispatchConfigs.hasOwnProperty(eventName) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.', eventName) : _prodInvariant('99', eventName) : void 0;\n EventPluginRegistry.eventNameDispatchConfigs[eventName] = dispatchConfig;\n\n var phasedRegistrationNames = dispatchConfig.phasedRegistrationNames;\n if (phasedRegistrationNames) {\n for (var phaseName in phasedRegistrationNames) {\n if (phasedRegistrationNames.hasOwnProperty(phaseName)) {\n var phasedRegistrationName = phasedRegistrationNames[phaseName];\n publishRegistrationName(phasedRegistrationName, PluginModule, eventName);\n }\n }\n return true;\n } else if (dispatchConfig.registrationName) {\n publishRegistrationName(dispatchConfig.registrationName, PluginModule, eventName);\n return true;\n }\n return false;\n}\n\n/**\n * Publishes a registration name that is used to identify dispatched events and\n * can be used with `EventPluginHub.putListener` to register listeners.\n *\n * @param {string} registrationName Registration name to add.\n * @param {object} PluginModule Plugin publishing the event.\n * @private\n */\nfunction publishRegistrationName(registrationName, PluginModule, eventName) {\n !!EventPluginRegistry.registrationNameModules[registrationName] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.', registrationName) : _prodInvariant('100', registrationName) : void 0;\n EventPluginRegistry.registrationNameModules[registrationName] = PluginModule;\n EventPluginRegistry.registrationNameDependencies[registrationName] = PluginModule.eventTypes[eventName].dependencies;\n\n if (process.env.NODE_ENV !== 'production') {\n var lowerCasedName = registrationName.toLowerCase();\n EventPluginRegistry.possibleRegistrationNames[lowerCasedName] = registrationName;\n\n if (registrationName === 'onDoubleClick') {\n EventPluginRegistry.possibleRegistrationNames.ondblclick = registrationName;\n }\n }\n}\n\n/**\n * Registers plugins so that they can extract and dispatch events.\n *\n * @see {EventPluginHub}\n */\nvar EventPluginRegistry = {\n\n /**\n * Ordered list of injected plugins.\n */\n plugins: [],\n\n /**\n * Mapping from event name to dispatch config\n */\n eventNameDispatchConfigs: {},\n\n /**\n * Mapping from registration name to plugin module\n */\n registrationNameModules: {},\n\n /**\n * Mapping from registration name to event name\n */\n registrationNameDependencies: {},\n\n /**\n * Mapping from lowercase registration names to the properly cased version,\n * used to warn in the case of missing event handlers. Available\n * only in __DEV__.\n * @type {Object}\n */\n possibleRegistrationNames: process.env.NODE_ENV !== 'production' ? {} : null,\n\n /**\n * Injects an ordering of plugins (by plugin name). This allows the ordering\n * to be decoupled from injection of the actual plugins so that ordering is\n * always deterministic regardless of packaging, on-the-fly injection, etc.\n *\n * @param {array} InjectedEventPluginOrder\n * @internal\n * @see {EventPluginHub.injection.injectEventPluginOrder}\n */\n injectEventPluginOrder: function (InjectedEventPluginOrder) {\n !!EventPluginOrder ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React.') : _prodInvariant('101') : void 0;\n // Clone the ordering so it cannot be dynamically mutated.\n EventPluginOrder = Array.prototype.slice.call(InjectedEventPluginOrder);\n recomputePluginOrdering();\n },\n\n /**\n * Injects plugins to be used by `EventPluginHub`. The plugin names must be\n * in the ordering injected by `injectEventPluginOrder`.\n *\n * Plugins can be injected as part of page initialization or on-the-fly.\n *\n * @param {object} injectedNamesToPlugins Map from names to plugin modules.\n * @internal\n * @see {EventPluginHub.injection.injectEventPluginsByName}\n */\n injectEventPluginsByName: function (injectedNamesToPlugins) {\n var isOrderingDirty = false;\n for (var pluginName in injectedNamesToPlugins) {\n if (!injectedNamesToPlugins.hasOwnProperty(pluginName)) {\n continue;\n }\n var PluginModule = injectedNamesToPlugins[pluginName];\n if (!namesToPlugins.hasOwnProperty(pluginName) || namesToPlugins[pluginName] !== PluginModule) {\n !!namesToPlugins[pluginName] ? process.env.NODE_ENV !== 'production' ? invariant(false, 'EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.', pluginName) : _prodInvariant('102', pluginName) : void 0;\n namesToPlugins[pluginName] = PluginModule;\n isOrderingDirty = true;\n }\n }\n if (isOrderingDirty) {\n recomputePluginOrdering();\n }\n },\n\n /**\n * Looks up the plugin for the supplied event.\n *\n * @param {object} event A synthetic event.\n * @return {?object} The plugin that created the supplied event.\n * @internal\n */\n getPluginModuleForEvent: function (event) {\n var dispatchConfig = event.dispatchConfig;\n if (dispatchConfig.registrationName) {\n return EventPluginRegistry.registrationNameModules[dispatchConfig.registrationName] || null;\n }\n for (var phase in dispatchConfig.phasedRegistrationNames) {\n if (!dispatchConfig.phasedRegistrationNames.hasOwnProperty(phase)) {\n continue;\n }\n var PluginModule = EventPluginRegistry.registrationNameModules[dispatchConfig.phasedRegistrationNames[phase]];\n if (PluginModule) {\n return PluginModule;\n }\n }\n return null;\n },\n\n /**\n * Exposed for unit testing.\n * @private\n */\n _resetEventPlugins: function () {\n EventPluginOrder = null;\n for (var pluginName in namesToPlugins) {\n if (namesToPlugins.hasOwnProperty(pluginName)) {\n delete namesToPlugins[pluginName];\n }\n }\n EventPluginRegistry.plugins.length = 0;\n\n var eventNameDispatchConfigs = EventPluginRegistry.eventNameDispatchConfigs;\n for (var eventName in eventNameDispatchConfigs) {\n if (eventNameDispatchConfigs.hasOwnProperty(eventName)) {\n delete eventNameDispatchConfigs[eventName];\n }\n }\n\n var registrationNameModules = EventPluginRegistry.registrationNameModules;\n for (var registrationName in registrationNameModules) {\n if (registrationNameModules.hasOwnProperty(registrationName)) {\n delete registrationNameModules[registrationName];\n }\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var possibleRegistrationNames = EventPluginRegistry.possibleRegistrationNames;\n for (var lowerCasedName in possibleRegistrationNames) {\n if (possibleRegistrationNames.hasOwnProperty(lowerCasedName)) {\n delete possibleRegistrationNames[lowerCasedName];\n }\n }\n }\n }\n\n};\n\nmodule.exports = EventPluginRegistry;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/EventPluginRegistry.js\n ** module id = 188\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule EventPluginUtils\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar EventConstants = require('./EventConstants');\nvar ReactErrorUtils = require('./ReactErrorUtils');\n\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\n/**\n * Injected dependencies:\n */\n\n/**\n * - `ComponentTree`: [required] Module that can convert between React instances\n * and actual node references.\n */\nvar ComponentTree;\nvar TreeTraversal;\nvar injection = {\n injectComponentTree: function (Injected) {\n ComponentTree = Injected;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.getNodeFromInstance && Injected.getInstanceFromNode, 'EventPluginUtils.injection.injectComponentTree(...): Injected ' + 'module is missing getNodeFromInstance or getInstanceFromNode.') : void 0;\n }\n },\n injectTreeTraversal: function (Injected) {\n TreeTraversal = Injected;\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(Injected && Injected.isAncestor && Injected.getLowestCommonAncestor, 'EventPluginUtils.injection.injectTreeTraversal(...): Injected ' + 'module is missing isAncestor or getLowestCommonAncestor.') : void 0;\n }\n }\n};\n\nvar topLevelTypes = EventConstants.topLevelTypes;\n\nfunction isEndish(topLevelType) {\n return topLevelType === topLevelTypes.topMouseUp || topLevelType === topLevelTypes.topTouchEnd || topLevelType === topLevelTypes.topTouchCancel;\n}\n\nfunction isMoveish(topLevelType) {\n return topLevelType === topLevelTypes.topMouseMove || topLevelType === topLevelTypes.topTouchMove;\n}\nfunction isStartish(topLevelType) {\n return topLevelType === topLevelTypes.topMouseDown || topLevelType === topLevelTypes.topTouchStart;\n}\n\nvar validateEventDispatches;\nif (process.env.NODE_ENV !== 'production') {\n validateEventDispatches = function (event) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchInstances = event._dispatchInstances;\n\n var listenersIsArr = Array.isArray(dispatchListeners);\n var listenersLen = listenersIsArr ? dispatchListeners.length : dispatchListeners ? 1 : 0;\n\n var instancesIsArr = Array.isArray(dispatchInstances);\n var instancesLen = instancesIsArr ? dispatchInstances.length : dispatchInstances ? 1 : 0;\n\n process.env.NODE_ENV !== 'production' ? warning(instancesIsArr === listenersIsArr && instancesLen === listenersLen, 'EventPluginUtils: Invalid `event`.') : void 0;\n };\n}\n\n/**\n * Dispatch the event to the listener.\n * @param {SyntheticEvent} event SyntheticEvent to handle\n * @param {boolean} simulated If the event is simulated (changes exn behavior)\n * @param {function} listener Application-level callback\n * @param {*} inst Internal component instance\n */\nfunction executeDispatch(event, simulated, listener, inst) {\n var type = event.type || 'unknown-event';\n event.currentTarget = EventPluginUtils.getNodeFromInstance(inst);\n if (simulated) {\n ReactErrorUtils.invokeGuardedCallbackWithCatch(type, listener, event);\n } else {\n ReactErrorUtils.invokeGuardedCallback(type, listener, event);\n }\n event.currentTarget = null;\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches.\n */\nfunction executeDispatchesInOrder(event, simulated) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchInstances = event._dispatchInstances;\n if (process.env.NODE_ENV !== 'production') {\n validateEventDispatches(event);\n }\n if (Array.isArray(dispatchListeners)) {\n for (var i = 0; i < dispatchListeners.length; i++) {\n if (event.isPropagationStopped()) {\n break;\n }\n // Listeners and Instances are two parallel arrays that are always in sync.\n executeDispatch(event, simulated, dispatchListeners[i], dispatchInstances[i]);\n }\n } else if (dispatchListeners) {\n executeDispatch(event, simulated, dispatchListeners, dispatchInstances);\n }\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n}\n\n/**\n * Standard/simple iteration through an event's collected dispatches, but stops\n * at the first dispatch execution returning true, and returns that id.\n *\n * @return {?string} id of the first dispatch execution who's listener returns\n * true, or null if no listener returned true.\n */\nfunction executeDispatchesInOrderStopAtTrueImpl(event) {\n var dispatchListeners = event._dispatchListeners;\n var dispatchInstances = event._dispatchInstances;\n if (process.env.NODE_ENV !== 'production') {\n validateEventDispatches(event);\n }\n if (Array.isArray(dispatchListeners)) {\n for (var i = 0; i < dispatchListeners.length; i++) {\n if (event.isPropagationStopped()) {\n break;\n }\n // Listeners and Instances are two parallel arrays that are always in sync.\n if (dispatchListeners[i](event, dispatchInstances[i])) {\n return dispatchInstances[i];\n }\n }\n } else if (dispatchListeners) {\n if (dispatchListeners(event, dispatchInstances)) {\n return dispatchInstances;\n }\n }\n return null;\n}\n\n/**\n * @see executeDispatchesInOrderStopAtTrueImpl\n */\nfunction executeDispatchesInOrderStopAtTrue(event) {\n var ret = executeDispatchesInOrderStopAtTrueImpl(event);\n event._dispatchInstances = null;\n event._dispatchListeners = null;\n return ret;\n}\n\n/**\n * Execution of a \"direct\" dispatch - there must be at most one dispatch\n * accumulated on the event or it is considered an error. It doesn't really make\n * sense for an event with multiple dispatches (bubbled) to keep track of the\n * return values at each dispatch execution, but it does tend to make sense when\n * dealing with \"direct\" dispatches.\n *\n * @return {*} The return value of executing the single dispatch.\n */\nfunction executeDirectDispatch(event) {\n if (process.env.NODE_ENV !== 'production') {\n validateEventDispatches(event);\n }\n var dispatchListener = event._dispatchListeners;\n var dispatchInstance = event._dispatchInstances;\n !!Array.isArray(dispatchListener) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'executeDirectDispatch(...): Invalid `event`.') : _prodInvariant('103') : void 0;\n event.currentTarget = dispatchListener ? EventPluginUtils.getNodeFromInstance(dispatchInstance) : null;\n var res = dispatchListener ? dispatchListener(event) : null;\n event.currentTarget = null;\n event._dispatchListeners = null;\n event._dispatchInstances = null;\n return res;\n}\n\n/**\n * @param {SyntheticEvent} event\n * @return {boolean} True iff number of dispatches accumulated is greater than 0.\n */\nfunction hasDispatches(event) {\n return !!event._dispatchListeners;\n}\n\n/**\n * General utilities that are useful in creating custom Event Plugins.\n */\nvar EventPluginUtils = {\n isEndish: isEndish,\n isMoveish: isMoveish,\n isStartish: isStartish,\n\n executeDirectDispatch: executeDirectDispatch,\n executeDispatchesInOrder: executeDispatchesInOrder,\n executeDispatchesInOrderStopAtTrue: executeDispatchesInOrderStopAtTrue,\n hasDispatches: hasDispatches,\n\n getInstanceFromNode: function (node) {\n return ComponentTree.getInstanceFromNode(node);\n },\n getNodeFromInstance: function (node) {\n return ComponentTree.getNodeFromInstance(node);\n },\n isAncestor: function (a, b) {\n return TreeTraversal.isAncestor(a, b);\n },\n getLowestCommonAncestor: function (a, b) {\n return TreeTraversal.getLowestCommonAncestor(a, b);\n },\n getParentInstance: function (inst) {\n return TreeTraversal.getParentInstance(inst);\n },\n traverseTwoPhase: function (target, fn, arg) {\n return TreeTraversal.traverseTwoPhase(target, fn, arg);\n },\n traverseEnterLeave: function (from, to, fn, argFrom, argTo) {\n return TreeTraversal.traverseEnterLeave(from, to, fn, argFrom, argTo);\n },\n\n injection: injection\n};\n\nmodule.exports = EventPluginUtils;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/EventPluginUtils.js\n ** module id = 189\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule KeyEscapeUtils\n * \n */\n\n'use strict';\n\n/**\n * Escape and wrap key so it is safe to use as a reactid\n *\n * @param {string} key to be escaped.\n * @return {string} the escaped key.\n */\n\nfunction escape(key) {\n var escapeRegex = /[=:]/g;\n var escaperLookup = {\n '=': '=0',\n ':': '=2'\n };\n var escapedString = ('' + key).replace(escapeRegex, function (match) {\n return escaperLookup[match];\n });\n\n return '$' + escapedString;\n}\n\n/**\n * Unescape and unwrap key for human-readable display\n *\n * @param {string} key to unescape.\n * @return {string} the unescaped key.\n */\nfunction unescape(key) {\n var unescapeRegex = /(=0|=2)/g;\n var unescaperLookup = {\n '=0': '=',\n '=2': ':'\n };\n var keySubstring = key[0] === '.' && key[1] === '$' ? key.substring(2) : key.substring(1);\n\n return ('' + keySubstring).replace(unescapeRegex, function (match) {\n return unescaperLookup[match];\n });\n}\n\nvar KeyEscapeUtils = {\n escape: escape,\n unescape: unescape\n};\n\nmodule.exports = KeyEscapeUtils;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/KeyEscapeUtils.js\n ** module id = 190\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule LinkedValueUtils\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactPropTypes = require('./ReactPropTypes');\nvar ReactPropTypeLocations = require('./ReactPropTypeLocations');\nvar ReactPropTypesSecret = require('./ReactPropTypesSecret');\n\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\nvar hasReadOnlyValue = {\n 'button': true,\n 'checkbox': true,\n 'image': true,\n 'hidden': true,\n 'radio': true,\n 'reset': true,\n 'submit': true\n};\n\nfunction _assertSingleLink(inputProps) {\n !(inputProps.checkedLink == null || inputProps.valueLink == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Cannot provide a checkedLink and a valueLink. If you want to use checkedLink, you probably don\\'t want to use valueLink and vice versa.') : _prodInvariant('87') : void 0;\n}\nfunction _assertValueLink(inputProps) {\n _assertSingleLink(inputProps);\n !(inputProps.value == null && inputProps.onChange == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Cannot provide a valueLink and a value or onChange event. If you want to use value or onChange, you probably don\\'t want to use valueLink.') : _prodInvariant('88') : void 0;\n}\n\nfunction _assertCheckedLink(inputProps) {\n _assertSingleLink(inputProps);\n !(inputProps.checked == null && inputProps.onChange == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Cannot provide a checkedLink and a checked property or onChange event. If you want to use checked or onChange, you probably don\\'t want to use checkedLink') : _prodInvariant('89') : void 0;\n}\n\nvar propTypes = {\n value: function (props, propName, componentName) {\n if (!props[propName] || hasReadOnlyValue[props.type] || props.onChange || props.readOnly || props.disabled) {\n return null;\n }\n return new Error('You provided a `value` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultValue`. Otherwise, ' + 'set either `onChange` or `readOnly`.');\n },\n checked: function (props, propName, componentName) {\n if (!props[propName] || props.onChange || props.readOnly || props.disabled) {\n return null;\n }\n return new Error('You provided a `checked` prop to a form field without an ' + '`onChange` handler. This will render a read-only field. If ' + 'the field should be mutable use `defaultChecked`. Otherwise, ' + 'set either `onChange` or `readOnly`.');\n },\n onChange: ReactPropTypes.func\n};\n\nvar loggedTypeFailures = {};\nfunction getDeclarationErrorAddendum(owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\n/**\n * Provide a linked `value` attribute for controlled forms. You should not use\n * this outside of the ReactDOM controlled form components.\n */\nvar LinkedValueUtils = {\n checkPropTypes: function (tagName, props, owner) {\n for (var propName in propTypes) {\n if (propTypes.hasOwnProperty(propName)) {\n var error = propTypes[propName](props, propName, tagName, ReactPropTypeLocations.prop, null, ReactPropTypesSecret);\n }\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\n // Only monitor this failure once because there tends to be a lot of the\n // same error.\n loggedTypeFailures[error.message] = true;\n\n var addendum = getDeclarationErrorAddendum(owner);\n process.env.NODE_ENV !== 'production' ? warning(false, 'Failed form propType: %s%s', error.message, addendum) : void 0;\n }\n }\n },\n\n /**\n * @param {object} inputProps Props for form component\n * @return {*} current value of the input either from value prop or link.\n */\n getValue: function (inputProps) {\n if (inputProps.valueLink) {\n _assertValueLink(inputProps);\n return inputProps.valueLink.value;\n }\n return inputProps.value;\n },\n\n /**\n * @param {object} inputProps Props for form component\n * @return {*} current checked status of the input either from checked prop\n * or link.\n */\n getChecked: function (inputProps) {\n if (inputProps.checkedLink) {\n _assertCheckedLink(inputProps);\n return inputProps.checkedLink.value;\n }\n return inputProps.checked;\n },\n\n /**\n * @param {object} inputProps Props for form component\n * @param {SyntheticEvent} event change event to handle\n */\n executeOnChange: function (inputProps, event) {\n if (inputProps.valueLink) {\n _assertValueLink(inputProps);\n return inputProps.valueLink.requestChange(event.target.value);\n } else if (inputProps.checkedLink) {\n _assertCheckedLink(inputProps);\n return inputProps.checkedLink.requestChange(event.target.checked);\n } else if (inputProps.onChange) {\n return inputProps.onChange.call(undefined, event);\n }\n }\n};\n\nmodule.exports = LinkedValueUtils;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/LinkedValueUtils.js\n ** module id = 191\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactComponent\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactNoopUpdateQueue = require('./ReactNoopUpdateQueue');\n\nvar canDefineProperty = require('./canDefineProperty');\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\n/**\n * Base class helpers for the updating state of a component.\n */\nfunction ReactComponent(props, context, updater) {\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n // We initialize the default updater but the real one gets injected by the\n // renderer.\n this.updater = updater || ReactNoopUpdateQueue;\n}\n\nReactComponent.prototype.isReactComponent = {};\n\n/**\n * Sets a subset of the state. Always use this to mutate\n * state. You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * There is no guarantee that calls to `setState` will run synchronously,\n * as they may eventually be batched together. You can provide an optional\n * callback that will be executed when the call to setState is actually\n * completed.\n *\n * When a function is provided to setState, it will be called at some point in\n * the future (not synchronously). It will be called with the up to date\n * component arguments (state, props, context). These values can be different\n * from this.* because your function may be called after receiveProps but before\n * shouldComponentUpdate, and this new state, props, and context will not yet be\n * assigned to this.\n *\n * @param {object|function} partialState Next partial state or function to\n * produce next partial state to be merged with current state.\n * @param {?function} callback Called after state is updated.\n * @final\n * @protected\n */\nReactComponent.prototype.setState = function (partialState, callback) {\n !(typeof partialState === 'object' || typeof partialState === 'function' || partialState == null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'setState(...): takes an object of state variables to update or a function which returns an object of state variables.') : _prodInvariant('85') : void 0;\n this.updater.enqueueSetState(this, partialState);\n if (callback) {\n this.updater.enqueueCallback(this, callback, 'setState');\n }\n};\n\n/**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {?function} callback Called after update is complete.\n * @final\n * @protected\n */\nReactComponent.prototype.forceUpdate = function (callback) {\n this.updater.enqueueForceUpdate(this);\n if (callback) {\n this.updater.enqueueCallback(this, callback, 'forceUpdate');\n }\n};\n\n/**\n * Deprecated APIs. These APIs used to exist on classic React classes but since\n * we would like to deprecate them, we're not going to move them over to this\n * modern base class. Instead, we define a getter that warns if it's accessed.\n */\nif (process.env.NODE_ENV !== 'production') {\n var deprecatedAPIs = {\n isMounted: ['isMounted', 'Instead, make sure to clean up subscriptions and pending requests in ' + 'componentWillUnmount to prevent memory leaks.'],\n replaceState: ['replaceState', 'Refactor your code to use setState instead (see ' + 'https://github.com/facebook/react/issues/3236).']\n };\n var defineDeprecationWarning = function (methodName, info) {\n if (canDefineProperty) {\n Object.defineProperty(ReactComponent.prototype, methodName, {\n get: function () {\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...) is deprecated in plain JavaScript React classes. %s', info[0], info[1]) : void 0;\n return undefined;\n }\n });\n }\n };\n for (var fnName in deprecatedAPIs) {\n if (deprecatedAPIs.hasOwnProperty(fnName)) {\n defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);\n }\n }\n}\n\nmodule.exports = ReactComponent;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactComponent.js\n ** module id = 192\n ** module chunks = 0\n **/","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactComponentEnvironment\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar invariant = require('fbjs/lib/invariant');\n\nvar injected = false;\n\nvar ReactComponentEnvironment = {\n\n /**\n * Optionally injectable environment dependent cleanup hook. (server vs.\n * browser etc). Example: A browser system caches DOM nodes based on component\n * ID and must remove that cache entry when this instance is unmounted.\n */\n unmountIDFromEnvironment: null,\n\n /**\n * Optionally injectable hook for swapping out mount images in the middle of\n * the tree.\n */\n replaceNodeWithMarkup: null,\n\n /**\n * Optionally injectable hook for processing a queue of child updates. Will\n * later move into MultiChildComponents.\n */\n processChildrenUpdates: null,\n\n injection: {\n injectEnvironment: function (environment) {\n !!injected ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactCompositeComponent: injectEnvironment() can only be called once.') : _prodInvariant('104') : void 0;\n ReactComponentEnvironment.unmountIDFromEnvironment = environment.unmountIDFromEnvironment;\n ReactComponentEnvironment.replaceNodeWithMarkup = environment.replaceNodeWithMarkup;\n ReactComponentEnvironment.processChildrenUpdates = environment.processChildrenUpdates;\n injected = true;\n }\n }\n\n};\n\nmodule.exports = ReactComponentEnvironment;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactComponentEnvironment.js\n ** module id = 193\n ** module chunks = 0\n **/","/**\n * Copyright 2016-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactComponentTreeDevtool\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactCurrentOwner = require('./ReactCurrentOwner');\n\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\nvar tree = {};\nvar unmountedIDs = {};\nvar rootIDs = {};\n\nfunction updateTree(id, update) {\n if (!tree[id]) {\n tree[id] = {\n element: null,\n parentID: null,\n ownerID: null,\n text: null,\n childIDs: [],\n displayName: 'Unknown',\n isMounted: false,\n updateCount: 0\n };\n }\n update(tree[id]);\n}\n\nfunction purgeDeep(id) {\n var item = tree[id];\n if (item) {\n var childIDs = item.childIDs;\n\n delete tree[id];\n childIDs.forEach(purgeDeep);\n }\n}\n\nfunction describeComponentFrame(name, source, ownerName) {\n return '\\n in ' + name + (source ? ' (at ' + source.fileName.replace(/^.*[\\\\\\/]/, '') + ':' + source.lineNumber + ')' : ownerName ? ' (created by ' + ownerName + ')' : '');\n}\n\nfunction describeID(id) {\n var name = ReactComponentTreeDevtool.getDisplayName(id);\n var element = ReactComponentTreeDevtool.getElement(id);\n var ownerID = ReactComponentTreeDevtool.getOwnerID(id);\n var ownerName;\n if (ownerID) {\n ownerName = ReactComponentTreeDevtool.getDisplayName(ownerID);\n }\n process.env.NODE_ENV !== 'production' ? warning(element, 'ReactComponentTreeDevtool: Missing React element for debugID %s when ' + 'building stack', id) : void 0;\n return describeComponentFrame(name, element && element._source, ownerName);\n}\n\nvar ReactComponentTreeDevtool = {\n onSetDisplayName: function (id, displayName) {\n updateTree(id, function (item) {\n return item.displayName = displayName;\n });\n },\n onSetChildren: function (id, nextChildIDs) {\n updateTree(id, function (item) {\n item.childIDs = nextChildIDs;\n\n nextChildIDs.forEach(function (nextChildID) {\n var nextChild = tree[nextChildID];\n !nextChild ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected devtool events to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('68') : void 0;\n !(nextChild.displayName != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected onSetDisplayName() to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('69') : void 0;\n !(nextChild.childIDs != null || nextChild.text != null) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected onSetChildren() or onSetText() to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('70') : void 0;\n !nextChild.isMounted ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected onMountComponent() to fire for the child before its parent includes it in onSetChildren().') : _prodInvariant('71') : void 0;\n if (nextChild.parentID == null) {\n nextChild.parentID = id;\n // TODO: This shouldn't be necessary but mounting a new root during in\n // componentWillMount currently causes not-yet-mounted components to\n // be purged from our tree data so their parent ID is missing.\n }\n !(nextChild.parentID === id) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Expected onSetParent() and onSetChildren() to be consistent (%s has parents %s and %s).', nextChildID, nextChild.parentID, id) : _prodInvariant('72', nextChildID, nextChild.parentID, id) : void 0;\n });\n });\n },\n onSetOwner: function (id, ownerID) {\n updateTree(id, function (item) {\n return item.ownerID = ownerID;\n });\n },\n onSetParent: function (id, parentID) {\n updateTree(id, function (item) {\n return item.parentID = parentID;\n });\n },\n onSetText: function (id, text) {\n updateTree(id, function (item) {\n return item.text = text;\n });\n },\n onBeforeMountComponent: function (id, element) {\n updateTree(id, function (item) {\n return item.element = element;\n });\n },\n onBeforeUpdateComponent: function (id, element) {\n updateTree(id, function (item) {\n return item.element = element;\n });\n },\n onMountComponent: function (id) {\n updateTree(id, function (item) {\n return item.isMounted = true;\n });\n },\n onMountRootComponent: function (id) {\n rootIDs[id] = true;\n },\n onUpdateComponent: function (id) {\n updateTree(id, function (item) {\n return item.updateCount++;\n });\n },\n onUnmountComponent: function (id) {\n updateTree(id, function (item) {\n return item.isMounted = false;\n });\n unmountedIDs[id] = true;\n delete rootIDs[id];\n },\n purgeUnmountedComponents: function () {\n if (ReactComponentTreeDevtool._preventPurging) {\n // Should only be used for testing.\n return;\n }\n\n for (var id in unmountedIDs) {\n purgeDeep(id);\n }\n unmountedIDs = {};\n },\n isMounted: function (id) {\n var item = tree[id];\n return item ? item.isMounted : false;\n },\n getCurrentStackAddendum: function (topElement) {\n var info = '';\n if (topElement) {\n var type = topElement.type;\n var name = typeof type === 'function' ? type.displayName || type.name : type;\n var owner = topElement._owner;\n info += describeComponentFrame(name || 'Unknown', topElement._source, owner && owner.getName());\n }\n\n var currentOwner = ReactCurrentOwner.current;\n var id = currentOwner && currentOwner._debugID;\n\n info += ReactComponentTreeDevtool.getStackAddendumByID(id);\n return info;\n },\n getStackAddendumByID: function (id) {\n var info = '';\n while (id) {\n info += describeID(id);\n id = ReactComponentTreeDevtool.getParentID(id);\n }\n return info;\n },\n getChildIDs: function (id) {\n var item = tree[id];\n return item ? item.childIDs : [];\n },\n getDisplayName: function (id) {\n var item = tree[id];\n return item ? item.displayName : 'Unknown';\n },\n getElement: function (id) {\n var item = tree[id];\n return item ? item.element : null;\n },\n getOwnerID: function (id) {\n var item = tree[id];\n return item ? item.ownerID : null;\n },\n getParentID: function (id) {\n var item = tree[id];\n return item ? item.parentID : null;\n },\n getSource: function (id) {\n var item = tree[id];\n var element = item ? item.element : null;\n var source = element != null ? element._source : null;\n return source;\n },\n getText: function (id) {\n var item = tree[id];\n return item ? item.text : null;\n },\n getUpdateCount: function (id) {\n var item = tree[id];\n return item ? item.updateCount : 0;\n },\n getRootIDs: function () {\n return Object.keys(rootIDs);\n },\n getRegisteredIDs: function () {\n return Object.keys(tree);\n }\n};\n\nmodule.exports = ReactComponentTreeDevtool;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactComponentTreeDevtool.js\n ** module id = 194\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactErrorUtils\n */\n\n'use strict';\n\nvar caughtError = null;\n\n/**\n * Call a function while guarding against errors that happens within it.\n *\n * @param {?String} name of the guard to use for logging or debugging\n * @param {Function} func The function to invoke\n * @param {*} a First argument\n * @param {*} b Second argument\n */\nfunction invokeGuardedCallback(name, func, a, b) {\n try {\n return func(a, b);\n } catch (x) {\n if (caughtError === null) {\n caughtError = x;\n }\n return undefined;\n }\n}\n\nvar ReactErrorUtils = {\n invokeGuardedCallback: invokeGuardedCallback,\n\n /**\n * Invoked by ReactTestUtils.Simulate so that any errors thrown by the event\n * handler are sure to be rethrown by rethrowCaughtError.\n */\n invokeGuardedCallbackWithCatch: invokeGuardedCallback,\n\n /**\n * During execution of guarded functions we will capture the first error which\n * we will rethrow to be handled by the top level error handler.\n */\n rethrowCaughtError: function () {\n if (caughtError) {\n var error = caughtError;\n caughtError = null;\n throw error;\n }\n }\n};\n\nif (process.env.NODE_ENV !== 'production') {\n /**\n * To help development we can get better devtools integration by simulating a\n * real browser event.\n */\n if (typeof window !== 'undefined' && typeof window.dispatchEvent === 'function' && typeof document !== 'undefined' && typeof document.createEvent === 'function') {\n var fakeNode = document.createElement('react');\n ReactErrorUtils.invokeGuardedCallback = function (name, func, a, b) {\n var boundFunc = func.bind(null, a, b);\n var evtType = 'react-' + name;\n fakeNode.addEventListener(evtType, boundFunc, false);\n var evt = document.createEvent('Event');\n evt.initEvent(evtType, false, false);\n fakeNode.dispatchEvent(evt);\n fakeNode.removeEventListener(evtType, boundFunc, false);\n };\n }\n}\n\nmodule.exports = ReactErrorUtils;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactErrorUtils.js\n ** module id = 195\n ** module chunks = 0\n **/","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactNoopUpdateQueue\n */\n\n'use strict';\n\nvar warning = require('fbjs/lib/warning');\n\nfunction warnNoop(publicInstance, callerName) {\n if (process.env.NODE_ENV !== 'production') {\n var constructor = publicInstance.constructor;\n process.env.NODE_ENV !== 'production' ? warning(false, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, constructor && (constructor.displayName || constructor.name) || 'ReactClass') : void 0;\n }\n}\n\n/**\n * This is the abstract API for an update queue.\n */\nvar ReactNoopUpdateQueue = {\n\n /**\n * Checks whether or not this composite component is mounted.\n * @param {ReactClass} publicInstance The instance we want to test.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function (publicInstance) {\n return false;\n },\n\n /**\n * Enqueue a callback that will be executed after all the pending updates\n * have processed.\n *\n * @param {ReactClass} publicInstance The instance to use as `this` context.\n * @param {?function} callback Called after state is updated.\n * @internal\n */\n enqueueCallback: function (publicInstance, callback) {},\n\n /**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @internal\n */\n enqueueForceUpdate: function (publicInstance) {\n warnNoop(publicInstance, 'forceUpdate');\n },\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} completeState Next state.\n * @internal\n */\n enqueueReplaceState: function (publicInstance, completeState) {\n warnNoop(publicInstance, 'replaceState');\n },\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialState Next partial state to be merged with state.\n * @internal\n */\n enqueueSetState: function (publicInstance, partialState) {\n warnNoop(publicInstance, 'setState');\n }\n};\n\nmodule.exports = ReactNoopUpdateQueue;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactNoopUpdateQueue.js\n ** module id = 196\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactPropTypeLocationNames\n */\n\n'use strict';\n\nvar ReactPropTypeLocationNames = {};\n\nif (process.env.NODE_ENV !== 'production') {\n ReactPropTypeLocationNames = {\n prop: 'prop',\n context: 'context',\n childContext: 'child context'\n };\n}\n\nmodule.exports = ReactPropTypeLocationNames;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactPropTypeLocationNames.js\n ** module id = 197\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactPropTypeLocations\n */\n\n'use strict';\n\nvar keyMirror = require('fbjs/lib/keyMirror');\n\nvar ReactPropTypeLocations = keyMirror({\n prop: null,\n context: null,\n childContext: null\n});\n\nmodule.exports = ReactPropTypeLocations;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactPropTypeLocations.js\n ** module id = 198\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactPropTypesSecret\n */\n\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\n\nmodule.exports = ReactPropTypesSecret;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactPropTypesSecret.js\n ** module id = 199\n ** module chunks = 0\n **/","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactUpdateQueue\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactCurrentOwner = require('./ReactCurrentOwner');\nvar ReactInstanceMap = require('./ReactInstanceMap');\nvar ReactInstrumentation = require('./ReactInstrumentation');\nvar ReactUpdates = require('./ReactUpdates');\n\nvar invariant = require('fbjs/lib/invariant');\nvar warning = require('fbjs/lib/warning');\n\nfunction enqueueUpdate(internalInstance) {\n ReactUpdates.enqueueUpdate(internalInstance);\n}\n\nfunction formatUnexpectedArgument(arg) {\n var type = typeof arg;\n if (type !== 'object') {\n return type;\n }\n var displayName = arg.constructor && arg.constructor.name || type;\n var keys = Object.keys(arg);\n if (keys.length > 0 && keys.length < 20) {\n return displayName + ' (keys: ' + keys.join(', ') + ')';\n }\n return displayName;\n}\n\nfunction getInternalInstanceReadyForUpdate(publicInstance, callerName) {\n var internalInstance = ReactInstanceMap.get(publicInstance);\n if (!internalInstance) {\n if (process.env.NODE_ENV !== 'production') {\n var ctor = publicInstance.constructor;\n // Only warn when we have a callerName. Otherwise we should be silent.\n // We're probably calling from enqueueCallback. We don't want to warn\n // there because we already warned for the corresponding lifecycle method.\n process.env.NODE_ENV !== 'production' ? warning(!callerName, '%s(...): Can only update a mounted or mounting component. ' + 'This usually means you called %s() on an unmounted component. ' + 'This is a no-op. Please check the code for the %s component.', callerName, callerName, ctor && (ctor.displayName || ctor.name) || 'ReactClass') : void 0;\n }\n return null;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '%s(...): Cannot update during an existing state transition (such as ' + 'within `render` or another component\\'s constructor). Render methods ' + 'should be a pure function of props and state; constructor ' + 'side-effects are an anti-pattern, but can be moved to ' + '`componentWillMount`.', callerName) : void 0;\n }\n\n return internalInstance;\n}\n\n/**\n * ReactUpdateQueue allows for state updates to be scheduled into a later\n * reconciliation step.\n */\nvar ReactUpdateQueue = {\n\n /**\n * Checks whether or not this composite component is mounted.\n * @param {ReactClass} publicInstance The instance we want to test.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function (publicInstance) {\n if (process.env.NODE_ENV !== 'production') {\n var owner = ReactCurrentOwner.current;\n if (owner !== null) {\n process.env.NODE_ENV !== 'production' ? warning(owner._warnedAboutRefsInRender, '%s is accessing isMounted inside its render() function. ' + 'render() should be a pure function of props and state. It should ' + 'never access something that requires stale data from the previous ' + 'render, such as refs. Move this logic to componentDidMount and ' + 'componentDidUpdate instead.', owner.getName() || 'A component') : void 0;\n owner._warnedAboutRefsInRender = true;\n }\n }\n var internalInstance = ReactInstanceMap.get(publicInstance);\n if (internalInstance) {\n // During componentWillMount and render this will still be null but after\n // that will always render to something. At least for now. So we can use\n // this hack.\n return !!internalInstance._renderedComponent;\n } else {\n return false;\n }\n },\n\n /**\n * Enqueue a callback that will be executed after all the pending updates\n * have processed.\n *\n * @param {ReactClass} publicInstance The instance to use as `this` context.\n * @param {?function} callback Called after state is updated.\n * @param {string} callerName Name of the calling function in the public API.\n * @internal\n */\n enqueueCallback: function (publicInstance, callback, callerName) {\n ReactUpdateQueue.validateCallback(callback, callerName);\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance);\n\n // Previously we would throw an error if we didn't have an internal\n // instance. Since we want to make it a no-op instead, we mirror the same\n // behavior we have in other enqueue* methods.\n // We also need to ignore callbacks in componentWillMount. See\n // enqueueUpdates.\n if (!internalInstance) {\n return null;\n }\n\n if (internalInstance._pendingCallbacks) {\n internalInstance._pendingCallbacks.push(callback);\n } else {\n internalInstance._pendingCallbacks = [callback];\n }\n // TODO: The callback here is ignored when setState is called from\n // componentWillMount. Either fix it or disallow doing so completely in\n // favor of getInitialState. Alternatively, we can disallow\n // componentWillMount during server-side rendering.\n enqueueUpdate(internalInstance);\n },\n\n enqueueCallbackInternal: function (internalInstance, callback) {\n if (internalInstance._pendingCallbacks) {\n internalInstance._pendingCallbacks.push(callback);\n } else {\n internalInstance._pendingCallbacks = [callback];\n }\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Forces an update. This should only be invoked when it is known with\n * certainty that we are **not** in a DOM transaction.\n *\n * You may want to call this when you know that some deeper aspect of the\n * component's state has changed but `setState` was not called.\n *\n * This will not invoke `shouldComponentUpdate`, but it will invoke\n * `componentWillUpdate` and `componentDidUpdate`.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @internal\n */\n enqueueForceUpdate: function (publicInstance) {\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'forceUpdate');\n\n if (!internalInstance) {\n return;\n }\n\n internalInstance._pendingForceUpdate = true;\n\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Replaces all of the state. Always use this or `setState` to mutate state.\n * You should treat `this.state` as immutable.\n *\n * There is no guarantee that `this.state` will be immediately updated, so\n * accessing `this.state` after calling this method may return the old value.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} completeState Next state.\n * @internal\n */\n enqueueReplaceState: function (publicInstance, completeState) {\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'replaceState');\n\n if (!internalInstance) {\n return;\n }\n\n internalInstance._pendingStateQueue = [completeState];\n internalInstance._pendingReplaceState = true;\n\n enqueueUpdate(internalInstance);\n },\n\n /**\n * Sets a subset of the state. This only exists because _pendingState is\n * internal. This provides a merging strategy that is not available to deep\n * properties which is confusing. TODO: Expose pendingState or don't use it\n * during the merge.\n *\n * @param {ReactClass} publicInstance The instance that should rerender.\n * @param {object} partialState Next partial state to be merged with state.\n * @internal\n */\n enqueueSetState: function (publicInstance, partialState) {\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onSetState();\n process.env.NODE_ENV !== 'production' ? warning(partialState != null, 'setState(...): You passed an undefined or null state object; ' + 'instead, use forceUpdate().') : void 0;\n }\n\n var internalInstance = getInternalInstanceReadyForUpdate(publicInstance, 'setState');\n\n if (!internalInstance) {\n return;\n }\n\n var queue = internalInstance._pendingStateQueue || (internalInstance._pendingStateQueue = []);\n queue.push(partialState);\n\n enqueueUpdate(internalInstance);\n },\n\n enqueueElementInternal: function (internalInstance, nextElement, nextContext) {\n internalInstance._pendingElement = nextElement;\n // TODO: introduce _pendingContext instead of setting it directly.\n internalInstance._context = nextContext;\n enqueueUpdate(internalInstance);\n },\n\n validateCallback: function (callback, callerName) {\n !(!callback || typeof callback === 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.', callerName, formatUnexpectedArgument(callback)) : _prodInvariant('122', callerName, formatUnexpectedArgument(callback)) : void 0;\n }\n\n};\n\nmodule.exports = ReactUpdateQueue;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactUpdateQueue.js\n ** module id = 200\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule createMicrosoftUnsafeLocalFunction\n */\n\n/* globals MSApp */\n\n'use strict';\n\n/**\n * Create a function which has 'unsafe' privileges (required by windows8 apps)\n */\n\nvar createMicrosoftUnsafeLocalFunction = function (func) {\n if (typeof MSApp !== 'undefined' && MSApp.execUnsafeLocalFunction) {\n return function (arg0, arg1, arg2, arg3) {\n MSApp.execUnsafeLocalFunction(function () {\n return func(arg0, arg1, arg2, arg3);\n });\n };\n } else {\n return func;\n }\n};\n\nmodule.exports = createMicrosoftUnsafeLocalFunction;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/createMicrosoftUnsafeLocalFunction.js\n ** module id = 201\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getEventCharCode\n */\n\n'use strict';\n\n/**\n * `charCode` represents the actual \"character code\" and is safe to use with\n * `String.fromCharCode`. As such, only keys that correspond to printable\n * characters produce a valid `charCode`, the only exception to this is Enter.\n * The Tab-key is considered non-printable and does not have a `charCode`,\n * presumably because it does not produce a tab-character in browsers.\n *\n * @param {object} nativeEvent Native browser event.\n * @return {number} Normalized `charCode` property.\n */\n\nfunction getEventCharCode(nativeEvent) {\n var charCode;\n var keyCode = nativeEvent.keyCode;\n\n if ('charCode' in nativeEvent) {\n charCode = nativeEvent.charCode;\n\n // FF does not set `charCode` for the Enter-key, check against `keyCode`.\n if (charCode === 0 && keyCode === 13) {\n charCode = 13;\n }\n } else {\n // IE8 does not implement `charCode`, but `keyCode` has the correct value.\n charCode = keyCode;\n }\n\n // Some non-printable keys are reported in `charCode`/`keyCode`, discard them.\n // Must not discard the (non-)printable Enter-key.\n if (charCode >= 32 || charCode === 13) {\n return charCode;\n }\n\n return 0;\n}\n\nmodule.exports = getEventCharCode;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/getEventCharCode.js\n ** module id = 202\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getEventModifierState\n */\n\n'use strict';\n\n/**\n * Translation from modifier key to the associated property in the event.\n * @see http://www.w3.org/TR/DOM-Level-3-Events/#keys-Modifiers\n */\n\nvar modifierKeyToProp = {\n 'Alt': 'altKey',\n 'Control': 'ctrlKey',\n 'Meta': 'metaKey',\n 'Shift': 'shiftKey'\n};\n\n// IE8 does not implement getModifierState so we simply map it to the only\n// modifier keys exposed by the event itself, does not support Lock-keys.\n// Currently, all major browsers except Chrome seems to support Lock-keys.\nfunction modifierStateGetter(keyArg) {\n var syntheticEvent = this;\n var nativeEvent = syntheticEvent.nativeEvent;\n if (nativeEvent.getModifierState) {\n return nativeEvent.getModifierState(keyArg);\n }\n var keyProp = modifierKeyToProp[keyArg];\n return keyProp ? !!nativeEvent[keyProp] : false;\n}\n\nfunction getEventModifierState(nativeEvent) {\n return modifierStateGetter;\n}\n\nmodule.exports = getEventModifierState;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/getEventModifierState.js\n ** module id = 203\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule getEventTarget\n */\n\n'use strict';\n\n/**\n * Gets the target node from a native browser event by accounting for\n * inconsistencies in browser DOM APIs.\n *\n * @param {object} nativeEvent Native browser event.\n * @return {DOMEventTarget} Target node.\n */\n\nfunction getEventTarget(nativeEvent) {\n var target = nativeEvent.target || nativeEvent.srcElement || window;\n\n // Normalize SVG element events #4963\n if (target.correspondingUseElement) {\n target = target.correspondingUseElement;\n }\n\n // Safari may fire events on text nodes (Node.TEXT_NODE is 3).\n // @see http://www.quirksmode.org/js/events_properties.html\n return target.nodeType === 3 ? target.parentNode : target;\n}\n\nmodule.exports = getEventTarget;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/getEventTarget.js\n ** module id = 204\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule isEventSupported\n */\n\n'use strict';\n\nvar ExecutionEnvironment = require('fbjs/lib/ExecutionEnvironment');\n\nvar useHasFeature;\nif (ExecutionEnvironment.canUseDOM) {\n useHasFeature = document.implementation && document.implementation.hasFeature &&\n // always returns true in newer browsers as per the standard.\n // @see http://dom.spec.whatwg.org/#dom-domimplementation-hasfeature\n document.implementation.hasFeature('', '') !== true;\n}\n\n/**\n * Checks if an event is supported in the current execution environment.\n *\n * NOTE: This will not work correctly for non-generic events such as `change`,\n * `reset`, `load`, `error`, and `select`.\n *\n * Borrows from Modernizr.\n *\n * @param {string} eventNameSuffix Event name, e.g. \"click\".\n * @param {?boolean} capture Check if the capture phase is supported.\n * @return {boolean} True if the event is supported.\n * @internal\n * @license Modernizr 3.0.0pre (Custom Build) | MIT\n */\nfunction isEventSupported(eventNameSuffix, capture) {\n if (!ExecutionEnvironment.canUseDOM || capture && !('addEventListener' in document)) {\n return false;\n }\n\n var eventName = 'on' + eventNameSuffix;\n var isSupported = eventName in document;\n\n if (!isSupported) {\n var element = document.createElement('div');\n element.setAttribute(eventName, 'return;');\n isSupported = typeof element[eventName] === 'function';\n }\n\n if (!isSupported && useHasFeature && eventNameSuffix === 'wheel') {\n // This is the only way to test support for the `wheel` event in IE9+.\n isSupported = document.implementation.hasFeature('Events.wheel', '3.0');\n }\n\n return isSupported;\n}\n\nmodule.exports = isEventSupported;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/isEventSupported.js\n ** module id = 205\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule shouldUpdateReactComponent\n */\n\n'use strict';\n\n/**\n * Given a `prevElement` and `nextElement`, determines if the existing\n * instance should be updated as opposed to being destroyed or replaced by a new\n * instance. Both arguments are elements. This ensures that this logic can\n * operate on stateless trees without any backing instance.\n *\n * @param {?object} prevElement\n * @param {?object} nextElement\n * @return {boolean} True if the existing instance should be updated.\n * @protected\n */\n\nfunction shouldUpdateReactComponent(prevElement, nextElement) {\n var prevEmpty = prevElement === null || prevElement === false;\n var nextEmpty = nextElement === null || nextElement === false;\n if (prevEmpty || nextEmpty) {\n return prevEmpty === nextEmpty;\n }\n\n var prevType = typeof prevElement;\n var nextType = typeof nextElement;\n if (prevType === 'string' || prevType === 'number') {\n return nextType === 'string' || nextType === 'number';\n } else {\n return nextType === 'object' && prevElement.type === nextElement.type && prevElement.key === nextElement.key;\n }\n}\n\nmodule.exports = shouldUpdateReactComponent;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/shouldUpdateReactComponent.js\n ** module id = 206\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule traverseAllChildren\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar ReactCurrentOwner = require('./ReactCurrentOwner');\nvar ReactElement = require('./ReactElement');\n\nvar getIteratorFn = require('./getIteratorFn');\nvar invariant = require('fbjs/lib/invariant');\nvar KeyEscapeUtils = require('./KeyEscapeUtils');\nvar warning = require('fbjs/lib/warning');\n\nvar SEPARATOR = '.';\nvar SUBSEPARATOR = ':';\n\n/**\n * TODO: Test that a single child and an array with one item have the same key\n * pattern.\n */\n\nvar didWarnAboutMaps = false;\n\n/**\n * Generate a key string that identifies a component within a set.\n *\n * @param {*} component A component that could contain a manual key.\n * @param {number} index Index that is used if a manual key is not provided.\n * @return {string}\n */\nfunction getComponentKey(component, index) {\n // Do some typechecking here since we call this blindly. We want to ensure\n // that we don't block potential future ES APIs.\n if (component && typeof component === 'object' && component.key != null) {\n // Explicit key\n return KeyEscapeUtils.escape(component.key);\n }\n // Implicit key determined by the index in the set\n return index.toString(36);\n}\n\n/**\n * @param {?*} children Children tree container.\n * @param {!string} nameSoFar Name of the key path so far.\n * @param {!function} callback Callback to invoke with each child found.\n * @param {?*} traverseContext Used to pass information throughout the traversal\n * process.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildrenImpl(children, nameSoFar, callback, traverseContext) {\n var type = typeof children;\n\n if (type === 'undefined' || type === 'boolean') {\n // All of the above are perceived as null.\n children = null;\n }\n\n if (children === null || type === 'string' || type === 'number' || ReactElement.isValidElement(children)) {\n callback(traverseContext, children,\n // If it's the only child, treat the name as if it was wrapped in an array\n // so that it's consistent if the number of children grows.\n nameSoFar === '' ? SEPARATOR + getComponentKey(children, 0) : nameSoFar);\n return 1;\n }\n\n var child;\n var nextName;\n var subtreeCount = 0; // Count of children found in the current subtree.\n var nextNamePrefix = nameSoFar === '' ? SEPARATOR : nameSoFar + SUBSEPARATOR;\n\n if (Array.isArray(children)) {\n for (var i = 0; i < children.length; i++) {\n child = children[i];\n nextName = nextNamePrefix + getComponentKey(child, i);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n var iteratorFn = getIteratorFn(children);\n if (iteratorFn) {\n var iterator = iteratorFn.call(children);\n var step;\n if (iteratorFn !== children.entries) {\n var ii = 0;\n while (!(step = iterator.next()).done) {\n child = step.value;\n nextName = nextNamePrefix + getComponentKey(child, ii++);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n } else {\n if (process.env.NODE_ENV !== 'production') {\n var mapsAsChildrenAddendum = '';\n if (ReactCurrentOwner.current) {\n var mapsAsChildrenOwnerName = ReactCurrentOwner.current.getName();\n if (mapsAsChildrenOwnerName) {\n mapsAsChildrenAddendum = ' Check the render method of `' + mapsAsChildrenOwnerName + '`.';\n }\n }\n process.env.NODE_ENV !== 'production' ? warning(didWarnAboutMaps, 'Using Maps as children is not yet fully supported. It is an ' + 'experimental feature that might be removed. Convert it to a ' + 'sequence / iterable of keyed ReactElements instead.%s', mapsAsChildrenAddendum) : void 0;\n didWarnAboutMaps = true;\n }\n // Iterator will provide entry [k,v] tuples rather than values.\n while (!(step = iterator.next()).done) {\n var entry = step.value;\n if (entry) {\n child = entry[1];\n nextName = nextNamePrefix + KeyEscapeUtils.escape(entry[0]) + SUBSEPARATOR + getComponentKey(child, 0);\n subtreeCount += traverseAllChildrenImpl(child, nextName, callback, traverseContext);\n }\n }\n }\n } else if (type === 'object') {\n var addendum = '';\n if (process.env.NODE_ENV !== 'production') {\n addendum = ' If you meant to render a collection of children, use an array ' + 'instead or wrap the object using createFragment(object) from the ' + 'React add-ons.';\n if (children._isReactElement) {\n addendum = ' It looks like you\\'re using an element created by a different ' + 'version of React. Make sure to use only one copy of React.';\n }\n if (ReactCurrentOwner.current) {\n var name = ReactCurrentOwner.current.getName();\n if (name) {\n addendum += ' Check the render method of `' + name + '`.';\n }\n }\n }\n var childrenString = String(children);\n !false ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Objects are not valid as a React child (found: %s).%s', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : _prodInvariant('31', childrenString === '[object Object]' ? 'object with keys {' + Object.keys(children).join(', ') + '}' : childrenString, addendum) : void 0;\n }\n }\n\n return subtreeCount;\n}\n\n/**\n * Traverses children that are typically specified as `props.children`, but\n * might also be specified through attributes:\n *\n * - `traverseAllChildren(this.props.children, ...)`\n * - `traverseAllChildren(this.props.leftPanelChildren, ...)`\n *\n * The `traverseContext` is an optional argument that is passed through the\n * entire traversal. It can be used to store accumulations or anything else that\n * the callback might find relevant.\n *\n * @param {?*} children Children tree object.\n * @param {!function} callback To invoke upon traversing each child.\n * @param {?*} traverseContext Context for traversal.\n * @return {!number} The number of children in this subtree.\n */\nfunction traverseAllChildren(children, callback, traverseContext) {\n if (children == null) {\n return 0;\n }\n\n return traverseAllChildrenImpl(children, '', callback, traverseContext);\n}\n\nmodule.exports = traverseAllChildren;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/traverseAllChildren.js\n ** module id = 207\n ** module chunks = 0\n **/","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule validateDOMNesting\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar warning = require('fbjs/lib/warning');\n\nvar validateDOMNesting = emptyFunction;\n\nif (process.env.NODE_ENV !== 'production') {\n // This validation code was written based on the HTML5 parsing spec:\n // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope\n //\n // Note: this does not catch all invalid nesting, nor does it try to (as it's\n // not clear what practical benefit doing so provides); instead, we warn only\n // for cases where the parser will give a parse tree differing from what React\n // intended. For example,
is invalid but we don't warn\n // because it still parses correctly; we do warn for other cases like nested\n // tags where the beginning of the second element implicitly closes the\n // first, causing a confusing mess.\n\n // https://html.spec.whatwg.org/multipage/syntax.html#special\n var specialTags = ['address', 'applet', 'area', 'article', 'aside', 'base', 'basefont', 'bgsound', 'blockquote', 'body', 'br', 'button', 'caption', 'center', 'col', 'colgroup', 'dd', 'details', 'dir', 'div', 'dl', 'dt', 'embed', 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'frame', 'frameset', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'header', 'hgroup', 'hr', 'html', 'iframe', 'img', 'input', 'isindex', 'li', 'link', 'listing', 'main', 'marquee', 'menu', 'menuitem', 'meta', 'nav', 'noembed', 'noframes', 'noscript', 'object', 'ol', 'p', 'param', 'plaintext', 'pre', 'script', 'section', 'select', 'source', 'style', 'summary', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'title', 'tr', 'track', 'ul', 'wbr', 'xmp'];\n\n // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-scope\n var inScopeTags = ['applet', 'caption', 'html', 'table', 'td', 'th', 'marquee', 'object', 'template',\n\n // https://html.spec.whatwg.org/multipage/syntax.html#html-integration-point\n // TODO: Distinguish by namespace here -- for
, including it here\n // errs on the side of fewer warnings\n 'foreignObject', 'desc', 'title'];\n\n // https://html.spec.whatwg.org/multipage/syntax.html#has-an-element-in-button-scope\n var buttonScopeTags = inScopeTags.concat(['button']);\n\n // https://html.spec.whatwg.org/multipage/syntax.html#generate-implied-end-tags\n var impliedEndTags = ['dd', 'dt', 'li', 'option', 'optgroup', 'p', 'rp', 'rt'];\n\n var emptyAncestorInfo = {\n current: null,\n\n formTag: null,\n aTagInScope: null,\n buttonTagInScope: null,\n nobrTagInScope: null,\n pTagInButtonScope: null,\n\n listItemTagAutoclosing: null,\n dlItemTagAutoclosing: null\n };\n\n var updatedAncestorInfo = function (oldInfo, tag, instance) {\n var ancestorInfo = _assign({}, oldInfo || emptyAncestorInfo);\n var info = { tag: tag, instance: instance };\n\n if (inScopeTags.indexOf(tag) !== -1) {\n ancestorInfo.aTagInScope = null;\n ancestorInfo.buttonTagInScope = null;\n ancestorInfo.nobrTagInScope = null;\n }\n if (buttonScopeTags.indexOf(tag) !== -1) {\n ancestorInfo.pTagInButtonScope = null;\n }\n\n // See rules for 'li', 'dd', 'dt' start tags in\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody\n if (specialTags.indexOf(tag) !== -1 && tag !== 'address' && tag !== 'div' && tag !== 'p') {\n ancestorInfo.listItemTagAutoclosing = null;\n ancestorInfo.dlItemTagAutoclosing = null;\n }\n\n ancestorInfo.current = info;\n\n if (tag === 'form') {\n ancestorInfo.formTag = info;\n }\n if (tag === 'a') {\n ancestorInfo.aTagInScope = info;\n }\n if (tag === 'button') {\n ancestorInfo.buttonTagInScope = info;\n }\n if (tag === 'nobr') {\n ancestorInfo.nobrTagInScope = info;\n }\n if (tag === 'p') {\n ancestorInfo.pTagInButtonScope = info;\n }\n if (tag === 'li') {\n ancestorInfo.listItemTagAutoclosing = info;\n }\n if (tag === 'dd' || tag === 'dt') {\n ancestorInfo.dlItemTagAutoclosing = info;\n }\n\n return ancestorInfo;\n };\n\n /**\n * Returns whether\n */\n var isTagValidWithParent = function (tag, parentTag) {\n // First, let's check if we're in an unusual parsing mode...\n switch (parentTag) {\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inselect\n case 'select':\n return tag === 'option' || tag === 'optgroup' || tag === '#text';\n case 'optgroup':\n return tag === 'option' || tag === '#text';\n // Strictly speaking, seeing an doesn't mean we're in a \n // but\n case 'option':\n return tag === '#text';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intd\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incaption\n // No special behavior since these rules fall back to \"in body\" mode for\n // all except special table nodes which cause bad parsing behavior anyway.\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intr\n case 'tr':\n return tag === 'th' || tag === 'td' || tag === 'style' || tag === 'script' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intbody\n case 'tbody':\n case 'thead':\n case 'tfoot':\n return tag === 'tr' || tag === 'style' || tag === 'script' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-incolgroup\n case 'colgroup':\n return tag === 'col' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-intable\n case 'table':\n return tag === 'caption' || tag === 'colgroup' || tag === 'tbody' || tag === 'tfoot' || tag === 'thead' || tag === 'style' || tag === 'script' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inhead\n case 'head':\n return tag === 'base' || tag === 'basefont' || tag === 'bgsound' || tag === 'link' || tag === 'meta' || tag === 'title' || tag === 'noscript' || tag === 'noframes' || tag === 'style' || tag === 'script' || tag === 'template';\n\n // https://html.spec.whatwg.org/multipage/semantics.html#the-html-element\n case 'html':\n return tag === 'head' || tag === 'body';\n case '#document':\n return tag === 'html';\n }\n\n // Probably in the \"in body\" parsing mode, so we outlaw only tag combos\n // where the parsing rules cause implicit opens or closes to be added.\n // https://html.spec.whatwg.org/multipage/syntax.html#parsing-main-inbody\n switch (tag) {\n case 'h1':\n case 'h2':\n case 'h3':\n case 'h4':\n case 'h5':\n case 'h6':\n return parentTag !== 'h1' && parentTag !== 'h2' && parentTag !== 'h3' && parentTag !== 'h4' && parentTag !== 'h5' && parentTag !== 'h6';\n\n case 'rp':\n case 'rt':\n return impliedEndTags.indexOf(parentTag) === -1;\n\n case 'body':\n case 'caption':\n case 'col':\n case 'colgroup':\n case 'frame':\n case 'head':\n case 'html':\n case 'tbody':\n case 'td':\n case 'tfoot':\n case 'th':\n case 'thead':\n case 'tr':\n // These tags are only valid with a few parents that have special child\n // parsing rules -- if we're down here, then none of those matched and\n // so we allow it only if we don't know what the parent is, as all other\n // cases are invalid.\n return parentTag == null;\n }\n\n return true;\n };\n\n /**\n * Returns whether\n */\n var findInvalidAncestorForTag = function (tag, ancestorInfo) {\n switch (tag) {\n case 'address':\n case 'article':\n case 'aside':\n case 'blockquote':\n case 'center':\n case 'details':\n case 'dialog':\n case 'dir':\n case 'div':\n case 'dl':\n case 'fieldset':\n case 'figcaption':\n case 'figure':\n case 'footer':\n case 'header':\n case 'hgroup':\n case 'main':\n case 'menu':\n case 'nav':\n case 'ol':\n case 'p':\n case 'section':\n case 'summary':\n case 'ul':\n\n case 'pre':\n case 'listing':\n\n case 'table':\n\n case 'hr':\n\n case 'xmp':\n\n case 'h1':\n case 'h2':\n case 'h3':\n case 'h4':\n case 'h5':\n case 'h6':\n return ancestorInfo.pTagInButtonScope;\n\n case 'form':\n return ancestorInfo.formTag || ancestorInfo.pTagInButtonScope;\n\n case 'li':\n return ancestorInfo.listItemTagAutoclosing;\n\n case 'dd':\n case 'dt':\n return ancestorInfo.dlItemTagAutoclosing;\n\n case 'button':\n return ancestorInfo.buttonTagInScope;\n\n case 'a':\n // Spec says something about storing a list of markers, but it sounds\n // equivalent to this check.\n return ancestorInfo.aTagInScope;\n\n case 'nobr':\n return ancestorInfo.nobrTagInScope;\n }\n\n return null;\n };\n\n /**\n * Given a ReactCompositeComponent instance, return a list of its recursive\n * owners, starting at the root and ending with the instance itself.\n */\n var findOwnerStack = function (instance) {\n if (!instance) {\n return [];\n }\n\n var stack = [];\n do {\n stack.push(instance);\n } while (instance = instance._currentElement._owner);\n stack.reverse();\n return stack;\n };\n\n var didWarn = {};\n\n validateDOMNesting = function (childTag, childInstance, ancestorInfo) {\n ancestorInfo = ancestorInfo || emptyAncestorInfo;\n var parentInfo = ancestorInfo.current;\n var parentTag = parentInfo && parentInfo.tag;\n\n var invalidParent = isTagValidWithParent(childTag, parentTag) ? null : parentInfo;\n var invalidAncestor = invalidParent ? null : findInvalidAncestorForTag(childTag, ancestorInfo);\n var problematic = invalidParent || invalidAncestor;\n\n if (problematic) {\n var ancestorTag = problematic.tag;\n var ancestorInstance = problematic.instance;\n\n var childOwner = childInstance && childInstance._currentElement._owner;\n var ancestorOwner = ancestorInstance && ancestorInstance._currentElement._owner;\n\n var childOwners = findOwnerStack(childOwner);\n var ancestorOwners = findOwnerStack(ancestorOwner);\n\n var minStackLen = Math.min(childOwners.length, ancestorOwners.length);\n var i;\n\n var deepestCommon = -1;\n for (i = 0; i < minStackLen; i++) {\n if (childOwners[i] === ancestorOwners[i]) {\n deepestCommon = i;\n } else {\n break;\n }\n }\n\n var UNKNOWN = '(unknown)';\n var childOwnerNames = childOwners.slice(deepestCommon + 1).map(function (inst) {\n return inst.getName() || UNKNOWN;\n });\n var ancestorOwnerNames = ancestorOwners.slice(deepestCommon + 1).map(function (inst) {\n return inst.getName() || UNKNOWN;\n });\n var ownerInfo = [].concat(\n // If the parent and child instances have a common owner ancestor, start\n // with that -- otherwise we just start with the parent's owners.\n deepestCommon !== -1 ? childOwners[deepestCommon].getName() || UNKNOWN : [], ancestorOwnerNames, ancestorTag,\n // If we're warning about an invalid (non-parent) ancestry, add '...'\n invalidAncestor ? ['...'] : [], childOwnerNames, childTag).join(' > ');\n\n var warnKey = !!invalidParent + '|' + childTag + '|' + ancestorTag + '|' + ownerInfo;\n if (didWarn[warnKey]) {\n return;\n }\n didWarn[warnKey] = true;\n\n var tagDisplayName = childTag;\n if (childTag !== '#text') {\n tagDisplayName = '<' + childTag + '>';\n }\n\n if (invalidParent) {\n var info = '';\n if (ancestorTag === 'table' && childTag === 'tr') {\n info += ' Add a to your code to match the DOM tree generated by ' + 'the browser.';\n }\n process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a child of <%s>. ' + 'See %s.%s', tagDisplayName, ancestorTag, ownerInfo, info) : void 0;\n } else {\n process.env.NODE_ENV !== 'production' ? warning(false, 'validateDOMNesting(...): %s cannot appear as a descendant of ' + '<%s>. See %s.', tagDisplayName, ancestorTag, ownerInfo) : void 0;\n }\n }\n };\n\n validateDOMNesting.updatedAncestorInfo = updatedAncestorInfo;\n\n // For testing\n validateDOMNesting.isTagValidInContext = function (tag, ancestorInfo) {\n ancestorInfo = ancestorInfo || emptyAncestorInfo;\n var parentInfo = ancestorInfo.current;\n var parentTag = parentInfo && parentInfo.tag;\n return isTagValidWithParent(tag, parentTag) && !findInvalidAncestorForTag(tag, ancestorInfo);\n };\n}\n\nmodule.exports = validateDOMNesting;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/validateDOMNesting.js\n ** module id = 208\n ** module chunks = 0\n **/","/**\n * This file implements authentication related actions.\n */\n\n// NPM imports\nimport { push } from \"react-router-redux\";\nimport Cookies from \"js-cookie\";\n\n// Local imports\nimport { buildHMAC, cleanURL } from \"../utils\";\n\n// Models\nimport { i18nRecord } from \"../models/i18n\";\n\n// Other actions and payload types\nimport { CALL_API } from \"../middleware/api\";\nimport { invalidateStore } from \"./store\";\n\n\n// Constants\nexport const DEFAULT_SESSION_INTERVAL = 1800 * 1000; // 30 mins long sessoins by default\n\n\n/**\n * Dispatch a ping query to the API for login keepalive and prevent session\n * from expiring.\n *\n * @param username Username to use\n * @param token Token to revive\n * @param endpoint Ampache base URL\n *\n * @return A CALL_API payload to keep session alive.\n */\nexport function loginKeepAlive(username, token, endpoint) {\n return {\n type: CALL_API,\n payload: {\n endpoint: endpoint,\n dispatch: [\n null,\n null,\n error => dispatch => {\n dispatch(loginUserFailure(error || new i18nRecord({ id: \"app.login.expired\", values: {}})));\n },\n ],\n action: \"ping\",\n auth: token,\n username: username,\n extraParams: {},\n },\n };\n}\n\n\nexport const LOGIN_USER_SUCCESS = \"LOGIN_USER_SUCCESS\";\n/**\n * Action to be called on successful login.\n *\n * @param username Username used for login\n * @param token Token got back from the API\n * @param endpoint Ampache server base URL\n * @param rememberMe Whether to remember me or not\n * @param timerID ID of the timer set for session keepalive.\n *\n * @return A login success payload.\n */\nexport function loginUserSuccess(username, token, endpoint, rememberMe, timerID) {\n return {\n type: LOGIN_USER_SUCCESS,\n payload: {\n username: username,\n token: token,\n endpoint: endpoint,\n rememberMe: rememberMe,\n timerID: timerID,\n },\n };\n}\n\n\nexport const LOGIN_USER_FAILURE = \"LOGIN_USER_FAILURE\";\n/**\n * Action to be called on failed login.\n *\n * This action removes any remember me cookie if any was set.\n *\n * @param error An error object, either string or i18nRecord.\n * @return A login failure payload.\n */\nexport function loginUserFailure(error) {\n Cookies.remove(\"username\");\n Cookies.remove(\"token\");\n Cookies.remove(\"endpoint\");\n return {\n type: LOGIN_USER_FAILURE,\n payload: {\n error: error,\n },\n };\n}\n\n\nexport const LOGIN_USER_EXPIRED = \"LOGIN_USER_EXPIRED\";\n/**\n * Action to be called when session is expired.\n *\n * @param error An error object, either a string or i18nRecord.\n * @return A session expired payload.\n */\nexport function loginUserExpired(error) {\n return {\n type: LOGIN_USER_EXPIRED,\n payload: {\n error: error,\n },\n };\n}\n\n\nexport const LOGIN_USER_REQUEST = \"LOGIN_USER_REQUEST\";\n/**\n * Action to be called when login is requested.\n *\n * @return A login request payload.\n */\nexport function loginUserRequest() {\n return {\n type: LOGIN_USER_REQUEST,\n };\n}\n\n\nexport const LOGOUT_USER = \"LOGOUT_USER\";\n/**\n * Action to be called upon logout.\n *\n * This function clears the cookies set for remember me and the keep alive\n * timer.\n *\n * @remark This function does not clear the other stores, nor handle\n * redirection.\n *\n * @return A logout payload.\n */\nexport function logout() {\n return (dispatch, state) => {\n const { auth } = state();\n if (auth.timerID) {\n clearInterval(auth.timerID);\n }\n Cookies.remove(\"username\");\n Cookies.remove(\"token\");\n Cookies.remove(\"endpoint\");\n dispatch({\n type: LOGOUT_USER,\n });\n };\n}\n\n\n/**\n * Action to be called to log a user out.\n *\n * This function clears the remember me cookies and the keepalive timer. It\n * also clears the data behind authentication in the store and redirects to\n * login page.\n */\nexport function logoutAndRedirect() {\n return (dispatch) => {\n dispatch(logout());\n dispatch(invalidateStore());\n dispatch(push(\"/login\"));\n };\n}\n\n\n/**\n * Action to be called to log a user in.\n *\n * @param username Username to use.\n * @param passwordOrToken User password, or previous token to revive.\n * @param endpoint Ampache server base URL.\n * @param rememberMe Whether to rememberMe or not\n * @param[optional] redirect Page to redirect to after login.\n * @param[optional] isToken Whether passwordOrToken is a password or a\n * token.\n *\n * @return A CALL_API payload to perform login.\n */\nexport function loginUser(username, passwordOrToken, endpoint, rememberMe, redirect=\"/\", isToken=false) {\n // Clean endpoint\n endpoint = cleanURL(endpoint);\n\n // Get passphrase and time parameters\n let time = 0;\n let passphrase = passwordOrToken;\n if (!isToken) {\n // Standard password connection\n const HMAC = buildHMAC(passwordOrToken);\n time = HMAC.time;\n passphrase = HMAC.passphrase;\n } else {\n // Remember me connection\n if (passwordOrToken.expires < new Date()) {\n // Token has expired\n return loginUserFailure(\"app.login.expired\");\n }\n time = Math.floor(Date.now() / 1000);\n passphrase = passwordOrToken.token;\n }\n\n return {\n type: CALL_API,\n payload: {\n endpoint: endpoint,\n dispatch: [\n loginUserRequest,\n jsonData => dispatch => {\n if (!jsonData.auth || !jsonData.sessionExpire) {\n // On success, check that we are actually authenticated\n return dispatch(loginUserFailure(new i18nRecord({ id: \"app.api.error\", values: {} })));\n }\n // Get token from the API\n const token = {\n token: jsonData.auth,\n expires: new Date(jsonData.sessionExpire),\n };\n // Handle session keep alive timer\n const timerID = setInterval(\n () => dispatch(loginKeepAlive(username, token.token, endpoint)),\n DEFAULT_SESSION_INTERVAL\n );\n if (rememberMe) {\n // Handle remember me option\n const cookiesOption = { expires: token.expires };\n Cookies.set(\"username\", username, cookiesOption);\n Cookies.set(\"token\", token, cookiesOption);\n Cookies.set(\"endpoint\", endpoint, cookiesOption);\n }\n // Dispatch login success\n dispatch(loginUserSuccess(username, token, endpoint, rememberMe, timerID));\n // Redirect\n dispatch(push(redirect));\n },\n loginUserFailure,\n ],\n action: \"handshake\",\n auth: passphrase,\n username: username,\n extraParams: {timestamp: time},\n },\n };\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/actions/auth.js\n **/","/**\n * These actions are actions acting directly on all the available stores.\n */\n\n\n/** Define an action to invalidate all the stores, e.g. in case of logout. */\nexport const INVALIDATE_STORE = \"INVALIDATE_STORE\";\nexport function invalidateStore() {\n return {\n type: INVALIDATE_STORE,\n };\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/actions/store.js\n **/","/**\n * These actions are actions acting on the webplayer.\n */\n\n// Other actions\nimport { decrementRefCount, incrementRefCount } from \"./entities\";\nimport { i18nRecord } from \"../models/i18n\";\n\n\nexport const PLAY_PAUSE = \"PLAY_PAUSE\";\n/**\n * Toggle play / pause for the webplayer.\n *\n * @param playPause [Optional] True to play, false to pause. If not given,\n * toggle the current state.\n *\n * @return Dispatch a PLAY_PAUSE action.\n */\nexport function togglePlaying(playPause) {\n return (dispatch, getState) => {\n let newIsPlaying = false;\n if (typeof playPause !== \"undefined\") {\n // If we want to force a mode\n newIsPlaying = playPause;\n } else {\n // Else, just toggle\n newIsPlaying = !(getState().webplayer.isPlaying);\n }\n // Dispatch action\n dispatch({\n type: PLAY_PAUSE,\n payload: {\n isPlaying: newIsPlaying,\n },\n });\n };\n}\n\n\nexport const STOP_PLAYBACK = \"STOP_PLAYBACK\";\n/**\n * Stop the webplayer, clearing the playlist.\n *\n * Handle the entities store reference counting.\n *\n * @return Dispatch a STOP_PLAYBACK action.\n */\nexport function stopPlayback() {\n return (dispatch, getState) => {\n // Stop playback\n dispatch ({\n type: STOP_PLAYBACK,\n });\n // Handle reference counting\n dispatch(decrementRefCount({\n song: getState().webplayer.get(\"playlist\").toArray(),\n }));\n };\n}\n\n\nexport const SET_PLAYLIST = \"SET_PLAYLIST\";\n/**\n * Set a given playlist.\n *\n * Handle the entities store reference counting.\n *\n * @param playlist A list of song IDs.\n *\n * @return Dispatch a SET_PLAYLIST action.\n */\nexport function setPlaylist(playlist) {\n // Attention, order of actions *do* matter in this method. We should first\n // set the playlist and then handle the reference counting.\n // We should first increment and then increment to avoid garbage collecting\n // items that would stay in the playlist.\n return (dispatch, getState) => {\n const oldPlaylist = getState().webplayer.get(\"playlist\").toArray();\n\n // Set new playlist\n dispatch ({\n type: SET_PLAYLIST,\n payload: {\n playlist: playlist,\n },\n });\n\n // Handle reference counting\n dispatch(incrementRefCount({\n song: playlist,\n }));\n dispatch(decrementRefCount({\n song: oldPlaylist,\n }));\n };\n}\n\n\n/**\n * Play a given song, emptying the current playlist.\n *\n * Handle the entities store reference counting.\n *\n * @param songID The id of the song to play.\n *\n * @return Dispatch a SET_PLAYLIST action to play this song and start playing.\n */\nexport function playSong(songID) {\n // Attention, order of actions *do* matter in this method. We should first\n // set the playlist and then handle the reference counting.\n // We should first increment and then increment to avoid garbage collecting\n // items that would stay in the playlist.\n return (dispatch, getState) => {\n // Get old and new playlists\n const oldPlaylist = getState().webplayer.get(\"playlist\").toArray();\n\n // Set new playlist\n dispatch({\n type: SET_PLAYLIST,\n payload: {\n playlist: [songID],\n },\n });\n\n // Handle reference counting\n dispatch(incrementRefCount({\n song: [songID],\n }));\n dispatch(decrementRefCount({\n song: oldPlaylist,\n }));\n\n // Force playing\n dispatch(togglePlaying(true));\n };\n}\n\n\nexport const PUSH_SONG = \"PUSH_SONG\";\n/**\n * Push a given song in the playlist.\n *\n * Handle the entities store reference counting.\n *\n * @param songID The id of the song to push.\n * @param index [Optional] The position to insert at in the playlist.\n * If negative, counts from the end. Undefined (default)\n * is last position.\n *\n * @return Dispatch a PUSH_SONG action.\n */\nexport function pushSong(songID, index) {\n return (dispatch) => {\n // Handle reference counting\n dispatch(incrementRefCount({\n song: [songID],\n }));\n // Push song\n dispatch({\n type: PUSH_SONG,\n payload: {\n song: songID,\n index: index,\n },\n });\n };\n}\n\n\nexport const POP_SONG = \"POP_SONG\";\n/**\n * Pop a given song from the playlist.\n *\n * Handle the entities store reference counting.\n *\n * @param songID The id of the song to pop.\n *\n * @return Dispatch a POP_SONG action.\n */\nexport function popSong(songID) {\n return (dispatch) => {\n // Handle reference counting\n dispatch(decrementRefCount({\n song: [songID],\n }));\n // Pop song\n dispatch({\n type: POP_SONG,\n payload: {\n song: songID,\n },\n });\n };\n}\n\n\nexport const JUMP_TO_SONG = \"JUMP_TO_SONG\";\n/**\n * Set current playlist index to specific song.\n *\n * @param songID The id of the song to play.\n *\n * @return Dispatch a JUMP_TO_SONG action.\n */\nexport function jumpToSong(songID) {\n return (dispatch) => {\n // Push song\n dispatch({\n type: JUMP_TO_SONG,\n payload: {\n song: songID,\n },\n });\n };\n}\n\n\nexport const PLAY_PREVIOUS_SONG = \"PLAY_PREVIOUS_SONG\";\n/**\n * Move one song backwards in the playlist.\n *\n * @return Dispatch a PLAY_PREVIOUS_SONG action.\n */\nexport function playPreviousSong() {\n return (dispatch) => {\n dispatch({\n type: PLAY_PREVIOUS_SONG,\n });\n };\n}\n\n\nexport const PLAY_NEXT_SONG = \"PLAY_NEXT_SONG\";\n/**\n * Move one song forward in the playlist.\n *\n * @return Dispatch a PLAY_NEXT_SONG action.\n */\nexport function playNextSong() {\n return (dispatch) => {\n dispatch({\n type: PLAY_NEXT_SONG,\n });\n };\n}\n\n\nexport const TOGGLE_RANDOM = \"TOGGLE_RANDOM\";\n/**\n * Toggle random mode.\n *\n * @return Dispatch a TOGGLE_RANDOM action.\n */\nexport function toggleRandom() {\n return (dispatch) => {\n dispatch({\n type: TOGGLE_RANDOM,\n });\n };\n}\n\n\nexport const TOGGLE_REPEAT = \"TOGGLE_REPEAT\";\n/**\n * Toggle repeat mode.\n *\n * @return Dispatch a TOGGLE_REPEAT action.\n */\nexport function toggleRepeat() {\n return (dispatch) => {\n dispatch({\n type: TOGGLE_REPEAT,\n });\n };\n}\n\n\nexport const TOGGLE_MUTE = \"TOGGLE_MUTE\";\n/**\n * Toggle mute mode.\n *\n * @return Dispatch a TOGGLE_MUTE action.\n */\nexport function toggleMute() {\n return (dispatch) => {\n dispatch({\n type: TOGGLE_MUTE,\n });\n };\n}\n\n\nexport const SET_VOLUME = \"SET_VOLUME\";\n/**\n * Set the volume.\n *\n * @param volume Volume to set (between 0 and 100)\n *\n * @return Dispatch a SET_VOLUME action.\n */\nexport function setVolume(volume) {\n return (dispatch) => {\n dispatch({\n type: SET_VOLUME,\n payload: {\n volume: volume,\n },\n });\n };\n}\n\n\nexport const SET_ERROR = \"SET_ERROR\";\nexport const UNSUPPORTED_MEDIA_TYPE = \"UNSUPPORTED_MEDIA_TYPE\";\nexport const ONLOAD_ERROR = \"ONLOAD_ERROR\";\n/**\n * Set an error appearing in the webplayer component.\n *\n * @note Does not do anything in case an invalid error identifier is passed.\n *\n * @return Dispatch the matching SET_ERROR action.\n */\nexport function setError(errorType) {\n let dispatchedError;\n switch (errorType) {\n case UNSUPPORTED_MEDIA_TYPE:\n dispatchedError = new i18nRecord({\n id: \"app.webplayer.unsupported\",\n values: {},\n });\n break;\n case ONLOAD_ERROR:\n dispatchedError = new i18nRecord({\n id: \"app.webplayer.onLoadError\",\n values: {},\n });\n break;\n default:\n return;\n }\n return (dispatch) => {\n dispatch({\n type: SET_ERROR,\n payload: {\n error: dispatchedError,\n },\n });\n };\n}\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/actions/webplayer.js\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\nimport { Link} from \"react-router\";\nimport CSSModules from \"react-css-modules\";\nimport { defineMessages, injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport FontAwesome from \"react-fontawesome\";\nimport Immutable from \"immutable\";\nimport Fuse from \"fuse.js\";\n\n// Local imports\nimport { formatLength, messagesMap } from \"../utils\";\n\n// Other components\nimport DismissibleAlert from \"./elements/DismissibleAlert\";\nimport FilterBar from \"./elements/FilterBar\";\nimport Pagination from \"./elements/Pagination\";\n\n// Translations\nimport commonMessages from \"../locales/messagesDescriptors/common\";\nimport messages from \"../locales/messagesDescriptors/Songs\";\n\n// Styles\nimport css from \"../styles/Songs.scss\";\n\n// Define translations\nconst songsMessages = defineMessages(messagesMap(Array.concat([], commonMessages, messages)));\n\n\n/**\n * A single row for a single song in the songs table.\n */\nclass SongsTableRowCSSIntl extends Component {\n constructor(props) {\n super(props);\n\n // Bind this\n this.onPlayClick = this.onPlayClick.bind(this);\n this.onPlayNextClick = this.onPlayNextClick.bind(this);\n }\n\n /**\n * Handle click on play button.\n */\n onPlayClick() {\n $(this.refs.play).blur();\n this.props.playAction(this.props.song.get(\"id\"));\n }\n\n /**\n * Handle click on play next button.\n */\n onPlayNextClick() {\n $(this.refs.playNext).blur();\n if (this.props.playNextAction) {\n this.props.playNextAction(this.props.song.get(\"id\"));\n }\n }\n\n render() {\n const { formatMessage } = this.props.intl;\n\n const length = formatLength(this.props.song.get(\"time\"));\n const linkToArtist = \"/artist/\" + this.props.song.getIn([\"artist\", \"id\"]) + \"-\" + encodeURIComponent(this.props.song.getIn([\"artist\", \"name\"]));\n const linkToAlbum = linkToArtist + \"/album/\" + this.props.song.getIn([\"album\", \"id\"]) + \"-\" + encodeURIComponent(this.props.song.getIn([\"album\", \"name\"]));\n\n let playNextButton = null;\n if (this.props.playNextAction) {\n playNextButton = (\n \n \n \n \n \n \n );\n }\n\n return (\n \n \n \n \n \n \n \n \n { playNextButton }\n \n {this.props.song.get(\"name\")} \n {this.props.song.getIn([\"artist\", \"name\"])} \n {this.props.song.getIn([\"album\", \"name\"])} \n {this.props.song.get(\"genre\")} \n {length} \n \n );\n }\n}\nSongsTableRowCSSIntl.propTypes = {\n playAction: PropTypes.func.isRequired,\n playNextAction: PropTypes.func,\n song: PropTypes.instanceOf(Immutable.Map).isRequired,\n intl: intlShape.isRequired,\n};\nexport let SongsTableRow = injectIntl(CSSModules(SongsTableRowCSSIntl, css));\n\n\n/**\n * The songs table.\n */\nclass SongsTableCSS extends Component {\n render() {\n // Handle filtering\n let displayedSongs = this.props.songs;\n if (this.props.filterText) {\n // Use Fuse for the filter\n displayedSongs = new Fuse(\n this.props.songs.toJS(),\n {\n \"keys\": [\"name\"],\n \"threshold\": 0.4,\n \"include\": [\"score\"],\n }).search(this.props.filterText);\n // Keep only items in results\n displayedSongs = displayedSongs.map(function (item) { return new Immutable.Map(item.item); });\n }\n\n // Build song rows\n let rows = [];\n const { playAction, playNextAction } = this.props;\n displayedSongs.forEach(function (song) {\n rows.push( );\n });\n\n // Handle login icon\n let loading = null;\n if (this.props.isFetching) {\n loading = (\n \n \n \n
\n );\n }\n\n return (\n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {rows} \n
\n {loading}\n
\n );\n }\n}\nSongsTableCSS.propTypes = {\n playAction: PropTypes.func.isRequired,\n playNextAction: PropTypes.func,\n songs: PropTypes.instanceOf(Immutable.List).isRequired,\n filterText: PropTypes.string,\n};\nexport let SongsTable = CSSModules(SongsTableCSS, css);\n\n\n/**\n * Complete songs table view with filter and pagination\n */\nexport default class FilterablePaginatedSongsTable extends Component {\n constructor(props) {\n super(props);\n this.state = {\n filterText: \"\", // Initial state, no filter text\n };\n\n this.handleUserInput = this.handleUserInput.bind(this); // Bind this on user input handling\n }\n\n /**\n * Method called whenever the filter input is changed.\n *\n * Update the state accordingly.\n *\n * @param filterText Content of the filter input.\n */\n handleUserInput(filterText) {\n this.setState({\n filterText: filterText,\n });\n }\n\n render() {\n // Handle error\n let error = null;\n if (this.props.error) {\n error = ( );\n }\n\n // Set props\n const filterProps = {\n filterText: this.state.filterText,\n onUserInput: this.handleUserInput,\n };\n const songsTableProps = {\n playAction: this.props.playAction,\n playNextAction: this.props.playNextAction,\n isFetching: this.props.isFetching,\n songs: this.props.songs,\n filterText: this.state.filterText,\n };\n\n return (\n \n );\n }\n}\nFilterablePaginatedSongsTable.propTypes = {\n playAction: PropTypes.func.isRequired,\n playNextAction: PropTypes.func,\n isFetching: PropTypes.bool.isRequired,\n error: PropTypes.string,\n songs: PropTypes.instanceOf(Immutable.List).isRequired,\n pagination: PropTypes.object.isRequired,\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/Songs.jsx\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\nimport CSSModules from \"react-css-modules\";\nimport { defineMessages, injectIntl, intlShape, FormattedMessage } from \"react-intl\";\n\n// Local imports\nimport { messagesMap } from \"../../utils\";\n\n// Translations\nimport messages from \"../../locales/messagesDescriptors/elements/FilterBar\";\n\n// Styles\nimport css from \"../../styles/elements/FilterBar.scss\";\n\n// Define translations\nconst filterMessages = defineMessages(messagesMap(Array.concat([], messages)));\n\n\n/**\n * Filter bar element with input filter.\n */\nclass FilterBarCSSIntl extends Component {\n constructor(props) {\n super(props);\n // Bind this on methods\n this.handleChange = this.handleChange.bind(this);\n }\n\n /**\n * Method to handle a change of filter input value.\n *\n * Calls the user input handler passed from parent component.\n *\n * @param e A JS event.\n */\n handleChange(e) {\n e.preventDefault();\n this.props.onUserInput(this.refs.filterTextInput.value);\n }\n\n render() {\n const {formatMessage} = this.props.intl;\n\n return (\n \n );\n }\n}\nFilterBarCSSIntl.propTypes = {\n onUserInput: PropTypes.func,\n filterText: PropTypes.string,\n intl: intlShape.isRequired,\n};\nexport default injectIntl(CSSModules(FilterBarCSSIntl, css));\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/elements/FilterBar.jsx\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\nimport { Link} from \"react-router\";\nimport CSSModules from \"react-css-modules\";\nimport { defineMessages, injectIntl, intlShape, FormattedMessage } from \"react-intl\";\nimport FontAwesome from \"react-fontawesome\";\nimport Immutable from \"immutable\";\nimport imagesLoaded from \"imagesloaded\";\nimport Isotope from \"isotope-layout\";\nimport Fuse from \"fuse.js\";\nimport shallowCompare from \"react-addons-shallow-compare\";\n\n// Local imports\nimport { immutableDiff, messagesMap } from \"../../utils/\";\n\n// Other components\nimport FilterBar from \"./FilterBar\";\nimport Pagination from \"./Pagination\";\n\n// Translations\nimport commonMessages from \"../../locales/messagesDescriptors/common\";\nimport messages from \"../../locales/messagesDescriptors/grid\";\n\n// Styles\nimport css from \"../../styles/elements/Grid.scss\";\n\n// Define translations\nconst gridMessages = defineMessages(messagesMap(Array.concat([], commonMessages, messages)));\n\n// Constants\nconst ISOTOPE_OPTIONS = { /** Default options for Isotope grid layout. */\n getSortData: {\n name: \".name\",\n nSubitems: \".sub-items .n-sub-items\",\n },\n transitionDuration: 0,\n sortBy: \"name\",\n itemSelector: \".grid-item\",\n percentPosition: true,\n layoutMode: \"fitRows\",\n filter: \"*\",\n fitRows: {\n gutter: 0,\n },\n};\n\n\n/**\n * A single item in the grid, art + text under the art.\n */\nclass GridItemCSSIntl extends Component {\n render() {\n const {formatMessage} = this.props.intl;\n\n // Get number of sub-items\n let nSubItems = this.props.item.get(this.props.subItemsType);\n if (Immutable.List.isList(nSubItems)) {\n nSubItems = nSubItems.size;\n }\n\n // Define correct sub-items label (plural)\n let subItemsLabel = formatMessage(\n gridMessages[this.props.subItemsLabel],\n { itemCount: nSubItems }\n );\n\n let to = \"/\" + this.props.itemsType + \"/\" + this.props.item.get(\"id\");\n if (this.props.buildLinkTo) {\n to = this.props.buildLinkTo(this.props.itemsType, this.props.item);\n }\n const id = \"grid-item-\" + this.props.itemsType + \"/\" + this.props.item.get(\"id\");\n const title = formatMessage(gridMessages[\"app.grid.goTo\" + this.props.itemsType.capitalize() + \"Page\"]);\n\n return (\n \n
\n
\n
{this.props.item.get(\"name\")} \n
{nSubItems} {subItemsLabel} \n
\n
\n );\n }\n}\nGridItemCSSIntl.propTypes = {\n item: PropTypes.instanceOf(Immutable.Map).isRequired,\n itemsType: PropTypes.string.isRequired,\n itemsLabel: PropTypes.string.isRequired,\n subItemsType: PropTypes.string.isRequired,\n subItemsLabel: PropTypes.string.isRequired,\n buildLinkTo: PropTypes.func,\n intl: intlShape.isRequired,\n};\nexport let GridItem = injectIntl(CSSModules(GridItemCSSIntl, css));\n\n\n/**\n * A grid, formatted using Isotope.JS\n */\nexport class Grid extends Component {\n constructor(props) {\n super(props);\n\n // Init grid data member\n this.iso = null;\n\n // Bind this\n this.createIsotopeContainer = this.createIsotopeContainer.bind(this);\n this.handleFiltering = this.handleFiltering.bind(this);\n }\n\n /**\n * Create an isotope container if none already exist.\n */\n createIsotopeContainer() {\n if (this.iso == null) {\n this.iso = new Isotope(this.refs.grid, ISOTOPE_OPTIONS);\n }\n }\n\n /**\n * Handle filtering on the grid.\n */\n handleFiltering(props) {\n // If no query provided, drop any filter in use\n if (props.filterText == \"\") {\n return this.iso.arrange(ISOTOPE_OPTIONS);\n }\n\n // Use Fuse for the filter\n let result = new Fuse(\n props.items.toJS(),\n {\n \"keys\": [\"name\"],\n \"threshold\": 0.4,\n \"include\": [\"score\"],\n }\n ).search(props.filterText);\n\n // Apply filter on grid\n this.iso.arrange({\n filter: function (item) {\n let name = $(item).find(\".name\").text();\n return result.find(function (i) { return i.item.name == name; });\n },\n transitionDuration: \"0.4s\",\n getSortData: {\n relevance: function (item) {\n let name = $(item).find(\".name\").text();\n return result.reduce(function (p, c) {\n if (c.item.name == name) {\n return c.score + p;\n }\n return p;\n }, 0);\n },\n },\n sortBy: \"relevance\",\n });\n this.iso.updateSortData();\n this.iso.arrange();\n }\n\n shouldComponentUpdate(nextProps, nextState) {\n // Shallow comparison, render is pure\n return shallowCompare(this, nextProps, nextState);\n }\n\n componentWillReceiveProps(nextProps) {\n // Handle filtering if filterText is changed\n if (nextProps.filterText !== this.props.filterText) {\n this.handleFiltering(nextProps);\n }\n }\n\n componentDidMount() {\n // Setup grid\n this.createIsotopeContainer();\n // Only arrange if there are elements to arrange\n if (this.props.items.size > 0) {\n this.iso.arrange();\n }\n }\n\n componentDidUpdate(prevProps) {\n // The list of keys seen in the previous render\n let currentKeys = prevProps.items.map(\n (n) => \"grid-item-\" + prevProps.itemsType + \"/\" + n.get(\"id\")\n );\n\n // The latest list of keys that have been rendered\n const {itemsType} = this.props;\n let newKeys = this.props.items.map(\n (n) => \"grid-item-\" + itemsType + \"/\" + n.get(\"id\")\n );\n\n // Find which keys are new between the current set of keys and any new\n // children passed to this component\n let addKeys = immutableDiff(newKeys, currentKeys);\n\n // Find which keys have been removed between the current set of keys\n // and any new children passed to this component\n let removeKeys = immutableDiff(currentKeys, newKeys);\n\n let iso = this.iso;\n // Remove removed items\n if (removeKeys.size > 0) {\n removeKeys.forEach(removeKey => iso.remove(document.getElementById(removeKey)));\n iso.arrange();\n }\n // Add new items\n if (addKeys.size > 0) {\n const itemsToAdd = addKeys.map((addKey) => document.getElementById(addKey)).toArray();\n iso.addItems(itemsToAdd);\n iso.arrange();\n }\n\n // Layout again after images are loaded\n imagesLoaded(this.refs.grid).on(\"progress\", function () {\n // Layout after each image load, fix for responsive grid\n if (!iso) { // Grid could have been destroyed in the meantime\n return;\n }\n iso.layout();\n });\n }\n\n render() {\n // Handle loading\n let loading = null;\n if (this.props.isFetching) {\n loading = (\n \n );\n }\n\n // Build grid items\n let gridItems = [];\n const { itemsType, itemsLabel, subItemsType, subItemsLabel, buildLinkTo } = this.props;\n this.props.items.forEach(function (item) {\n gridItems.push( );\n });\n\n return (\n \n
\n
\n {/* Sizing element */}\n
\n {/* Other items */}\n { gridItems }\n
\n
\n { loading }\n
\n );\n }\n}\nGrid.propTypes = {\n isFetching: PropTypes.bool.isRequired,\n items: PropTypes.instanceOf(Immutable.List).isRequired,\n itemsType: PropTypes.string.isRequired,\n itemsLabel: PropTypes.string.isRequired,\n subItemsType: PropTypes.string.isRequired,\n subItemsLabel: PropTypes.string.isRequired,\n buildLinkTo: PropTypes.func,\n filterText: PropTypes.string,\n};\n\n\n/**\n * Full grid with pagination and filtering input.\n */\nexport default class FilterablePaginatedGrid extends Component {\n constructor(props) {\n super(props);\n\n this.state = {\n filterText: \"\", // No filterText at init\n };\n\n // Bind this\n this.handleUserInput = this.handleUserInput.bind(this);\n }\n\n /**\n * Method called whenever the filter input is changed.\n *\n * Update the state accordingly.\n *\n * @param filterText Content of the filter input.\n */\n handleUserInput(filterText) {\n this.setState({\n filterText: filterText,\n });\n }\n\n render() {\n return (\n \n );\n }\n}\n\nFilterablePaginatedGrid.propTypes = {\n grid: PropTypes.object.isRequired,\n pagination: PropTypes.object.isRequired,\n};\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/elements/Grid.jsx\n **/","// NPM imports\nimport React, { Component, PropTypes } from \"react\";\nimport { Link } from \"react-router\";\nimport CSSModules from \"react-css-modules\";\nimport { defineMessages, injectIntl, intlShape, FormattedMessage, FormattedHTMLMessage } from \"react-intl\";\n\n// Local imports\nimport { computePaginationBounds, filterInt, messagesMap } from \"../../utils\";\n\n// Translations\nimport commonMessages from \"../../locales/messagesDescriptors/common\";\nimport messages from \"../../locales/messagesDescriptors/elements/Pagination\";\n\n// Styles\nimport css from \"../../styles/elements/Pagination.scss\";\n\n// Define translations\nconst paginationMessages = defineMessages(messagesMap(Array.concat([], commonMessages, messages)));\n\n\n/**\n * Pagination button bar\n */\nclass PaginationCSSIntl extends Component {\n constructor(props) {\n super (props);\n\n // Bind this\n this.goToPage = this.goToPage.bind(this);\n this.dotsOnClick = this.dotsOnClick.bind(this);\n this.dotsOnKeyDown = this.dotsOnKeyDown.bind(this);\n this.cancelModalBox = this.cancelModalBox.bind(this);\n }\n\n /**\n * Handle click on the \"go to page\" button in the modal.\n */\n goToPage(e) {\n e.preventDefault();\n\n // Parse and check page number\n const pageNumber = filterInt(this.refs.pageInput.value);\n if (pageNumber && !isNaN(pageNumber) && pageNumber > 0 && pageNumber <= this.props.nPages) {\n // Remove error class from input form\n this.refs.pageFormGroup.classList.remove(\"has-error\");\n this.refs.pageFormGroup.classList.add(\"has-success\");\n // Hide the modal and go to page\n $(this.refs.paginationModal).modal(\"hide\");\n this.props.goToPage(pageNumber);\n } else {\n // Set error class on input form\n this.refs.pageFormGroup.classList.add(\"has-error\");\n this.refs.pageFormGroup.classList.remove(\"has-success\");\n return;\n }\n }\n\n /**\n * Handle click on the ellipsis dots.\n */\n dotsOnClick() {\n // Show modal\n $(this.refs.paginationModal).modal();\n }\n\n /**\n * Bind key down events on ellipsis dots for a11y.\n */\n dotsOnKeyDown(e) {\n e.preventDefault;\n const code = e.keyCode || e.which;\n if (code == 13 || code == 32) { // Enter or Space key\n this.dotsOnClick(); // Fire same event as onClick\n }\n }\n\n /**\n * Handle click on \"cancel\" in the modal box.\n */\n cancelModalBox() {\n // Hide modal\n $(this.refs.paginationModal).modal(\"hide\");\n }\n\n render() {\n const { formatMessage } = this.props.intl;\n\n // Get bounds\n const { lowerLimit, upperLimit } = computePaginationBounds(this.props.currentPage, this.props.nPages);\n // Store buttons\n let pagesButton = [];\n let key = 0; // key increment to ensure correct ordering\n\n // If lower limit is above 1, push 1 and ellipsis\n if (lowerLimit > 1) {\n pagesButton.push(\n \n \n \n \n \n );\n key++; // Always increment key after a push\n if (lowerLimit > 2) {\n // Eventually push \"…\"\n pagesButton.push(\n \n … \n \n );\n key++;\n }\n }\n // Main buttons, between lower and upper limits\n for (let i = lowerLimit; i < upperLimit; i++) {\n let classNames = [\"page-item\"];\n let currentSpan = null;\n if (this.props.currentPage == i) {\n classNames.push(\"active\");\n currentSpan = ( ) ;\n }\n const title = formatMessage(paginationMessages[\"app.pagination.goToPageWithoutMarkup\"], { pageNumber: i });\n pagesButton.push(\n \n \n \n {currentSpan}\n \n \n );\n key++;\n }\n // If upper limit is below the total number of page, show last page button\n if (upperLimit < this.props.nPages) {\n if (upperLimit < this.props.nPages - 1) {\n // Eventually push \"…\"\n pagesButton.push(\n \n … \n \n );\n key++;\n }\n const title = formatMessage(paginationMessages[\"app.pagination.goToPageWithoutMarkup\"], { pageNumber: this.props.nPages });\n // Push last page\n pagesButton.push(\n \n \n \n \n \n );\n }\n\n // If there are actually some buttons, show them\n if (pagesButton.length > 1) {\n return (\n \n
\n \n \n
\n
\n
\n
\n × \n \n
\n
\n
\n \n \n \n \n \n \n
\n
\n
\n
\n
\n );\n }\n return null;\n }\n}\nPaginationCSSIntl.propTypes = {\n currentPage: PropTypes.number.isRequired,\n goToPage: PropTypes.func.isRequired,\n buildLinkToPage: PropTypes.func.isRequired,\n nPages: PropTypes.number.isRequired,\n intl: intlShape.isRequired,\n};\nexport default injectIntl(CSSModules(PaginationCSSIntl, css));\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/components/elements/Pagination.jsx\n **/","const messages = [\n {\n id: \"app.webplayer.by\",\n defaultMessage: \"by\",\n description: \"Artist affiliation of a song\",\n },\n {\n id: \"app.webplayer.previous\",\n defaultMessage: \"Previous\",\n description: \"Previous button description\",\n },\n {\n id: \"app.webplayer.next\",\n defaultMessage: \"Next\",\n description: \"Next button description\",\n },\n {\n id: \"app.webplayer.volume\",\n defaultMessage: \"Volume\",\n description: \"Volume button description\",\n },\n {\n id: \"app.webplayer.repeat\",\n defaultMessage: \"Repeat\",\n description: \"Repeat button description\",\n },\n {\n id: \"app.webplayer.random\",\n defaultMessage: \"Random\",\n description: \"Random button description\",\n },\n {\n id: \"app.webplayer.playlist\",\n defaultMessage: \"Playlist\",\n description: \"Playlist button description\",\n },\n {\n \"id\": \"app.webplayer.unsupported\",\n \"description\": \"Unsupported media type\",\n \"defaultMessage\": \"Unsupported media type\",\n },\n {\n \"id\": \"app.webplayer.onLoadError\",\n \"description\": \"Error message in case a song could not be loaded\",\n \"defaultMessage\": \"Unable to load song\",\n },\n];\n\nexport default messages;\n\n\n\n/** WEBPACK FOOTER **\n ** ./app/locales/messagesDescriptors/elements/WebPlayer.js\n **/","var cof = require('./_cof');\r\nmodule.exports = function(it, msg){\r\n if(typeof it != 'number' && cof(it) != 'Number')throw TypeError(msg);\r\n return +it;\r\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_a-number-value.js\n ** module id = 217\n ** module chunks = 0\n **/","// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = require('./_to-object')\n , toIndex = require('./_to-index')\n , toLength = require('./_to-length');\n\nmodule.exports = [].copyWithin || function copyWithin(target/*= 0*/, start/*= 0, end = @length*/){\n var O = toObject(this)\n , len = toLength(O.length)\n , to = toIndex(target, len)\n , from = toIndex(start, len)\n , end = arguments.length > 2 ? arguments[2] : undefined\n , count = Math.min((end === undefined ? len : toIndex(end, len)) - from, len - to)\n , inc = 1;\n if(from < to && to < from + count){\n inc = -1;\n from += count - 1;\n to += count - 1;\n }\n while(count-- > 0){\n if(from in O)O[to] = O[from];\n else delete O[to];\n to += inc;\n from += inc;\n } return O;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_array-copy-within.js\n ** module id = 218\n ** module chunks = 0\n **/","var forOf = require('./_for-of');\n\nmodule.exports = function(iter, ITERATOR){\n var result = [];\n forOf(iter, false, result.push, result, ITERATOR);\n return result;\n};\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_array-from-iterable.js\n ** module id = 219\n ** module chunks = 0\n **/","var aFunction = require('./_a-function')\r\n , toObject = require('./_to-object')\r\n , IObject = require('./_iobject')\r\n , toLength = require('./_to-length');\r\n\r\nmodule.exports = function(that, callbackfn, aLen, memo, isRight){\r\n aFunction(callbackfn);\r\n var O = toObject(that)\r\n , self = IObject(O)\r\n , length = toLength(O.length)\r\n , index = isRight ? length - 1 : 0\r\n , i = isRight ? -1 : 1;\r\n if(aLen < 2)for(;;){\r\n if(index in self){\r\n memo = self[index];\r\n index += i;\r\n break;\r\n }\r\n index += i;\r\n if(isRight ? index < 0 : length <= index){\r\n throw TypeError('Reduce of empty array with no initial value');\r\n }\r\n }\r\n for(;isRight ? index >= 0 : length > index; index += i)if(index in self){\r\n memo = callbackfn(memo, self[index], index, O);\r\n }\r\n return memo;\r\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_array-reduce.js\n ** module id = 220\n ** module chunks = 0\n **/","'use strict';\nvar aFunction = require('./_a-function')\n , isObject = require('./_is-object')\n , invoke = require('./_invoke')\n , arraySlice = [].slice\n , factories = {};\n\nvar construct = function(F, len, args){\n if(!(len in factories)){\n for(var n = [], i = 0; i < len; i++)n[i] = 'a[' + i + ']';\n factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /*, args... */){\n var fn = aFunction(this)\n , partArgs = arraySlice.call(arguments, 1);\n var bound = function(/* args... */){\n var args = partArgs.concat(arraySlice.call(arguments));\n return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n };\n if(isObject(fn.prototype))bound.prototype = fn.prototype;\n return bound;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_bind.js\n ** module id = 221\n ** module chunks = 0\n **/","'use strict';\nvar dP = require('./_object-dp').f\n , create = require('./_object-create')\n , hide = require('./_hide')\n , redefineAll = require('./_redefine-all')\n , ctx = require('./_ctx')\n , anInstance = require('./_an-instance')\n , defined = require('./_defined')\n , forOf = require('./_for-of')\n , $iterDefine = require('./_iter-define')\n , step = require('./_iter-step')\n , setSpecies = require('./_set-species')\n , DESCRIPTORS = require('./_descriptors')\n , fastKey = require('./_meta').fastKey\n , SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function(that, key){\n // fast case\n var index = fastKey(key), entry;\n if(index !== 'F')return that._i[index];\n // frozen object case\n for(entry = that._f; entry; entry = entry.n){\n if(entry.k == key)return entry;\n }\n};\n\nmodule.exports = {\n getConstructor: function(wrapper, NAME, IS_MAP, ADDER){\n var C = wrapper(function(that, iterable){\n anInstance(that, C, NAME, '_i');\n that._i = create(null); // index\n that._f = undefined; // first entry\n that._l = undefined; // last entry\n that[SIZE] = 0; // size\n if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.1.3.1 Map.prototype.clear()\n // 23.2.3.2 Set.prototype.clear()\n clear: function clear(){\n for(var that = this, data = that._i, entry = that._f; entry; entry = entry.n){\n entry.r = true;\n if(entry.p)entry.p = entry.p.n = undefined;\n delete data[entry.i];\n }\n that._f = that._l = undefined;\n that[SIZE] = 0;\n },\n // 23.1.3.3 Map.prototype.delete(key)\n // 23.2.3.4 Set.prototype.delete(value)\n 'delete': function(key){\n var that = this\n , entry = getEntry(that, key);\n if(entry){\n var next = entry.n\n , prev = entry.p;\n delete that._i[entry.i];\n entry.r = true;\n if(prev)prev.n = next;\n if(next)next.p = prev;\n if(that._f == entry)that._f = next;\n if(that._l == entry)that._l = prev;\n that[SIZE]--;\n } return !!entry;\n },\n // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n forEach: function forEach(callbackfn /*, that = undefined */){\n anInstance(this, C, 'forEach');\n var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3)\n , entry;\n while(entry = entry ? entry.n : this._f){\n f(entry.v, entry.k, this);\n // revert to the last existing entry\n while(entry && entry.r)entry = entry.p;\n }\n },\n // 23.1.3.7 Map.prototype.has(key)\n // 23.2.3.7 Set.prototype.has(value)\n has: function has(key){\n return !!getEntry(this, key);\n }\n });\n if(DESCRIPTORS)dP(C.prototype, 'size', {\n get: function(){\n return defined(this[SIZE]);\n }\n });\n return C;\n },\n def: function(that, key, value){\n var entry = getEntry(that, key)\n , prev, index;\n // change existing entry\n if(entry){\n entry.v = value;\n // create new entry\n } else {\n that._l = entry = {\n i: index = fastKey(key, true), // <- index\n k: key, // <- key\n v: value, // <- value\n p: prev = that._l, // <- previous entry\n n: undefined, // <- next entry\n r: false // <- removed\n };\n if(!that._f)that._f = entry;\n if(prev)prev.n = entry;\n that[SIZE]++;\n // add to index\n if(index !== 'F')that._i[index] = entry;\n } return that;\n },\n getEntry: getEntry,\n setStrong: function(C, NAME, IS_MAP){\n // add .keys, .values, .entries, [@@iterator]\n // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n $iterDefine(C, NAME, function(iterated, kind){\n this._t = iterated; // target\n this._k = kind; // kind\n this._l = undefined; // previous\n }, function(){\n var that = this\n , kind = that._k\n , entry = that._l;\n // revert to the last existing entry\n while(entry && entry.r)entry = entry.p;\n // get next entry\n if(!that._t || !(that._l = entry = entry ? entry.n : that._t._f)){\n // or finish the iteration\n that._t = undefined;\n return step(1);\n }\n // return step by kind\n if(kind == 'keys' )return step(0, entry.k);\n if(kind == 'values')return step(0, entry.v);\n return step(0, [entry.k, entry.v]);\n }, IS_MAP ? 'entries' : 'values' , !IS_MAP, true);\n\n // add [@@species], 23.1.2.2, 23.2.2.2\n setSpecies(NAME);\n }\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_collection-strong.js\n ** module id = 222\n ** module chunks = 0\n **/","// https://github.com/DavidBruant/Map-Set.prototype.toJSON\nvar classof = require('./_classof')\n , from = require('./_array-from-iterable');\nmodule.exports = function(NAME){\n return function toJSON(){\n if(classof(this) != NAME)throw TypeError(NAME + \"#toJSON isn't generic\");\n return from(this);\n };\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_collection-to-json.js\n ** module id = 223\n ** module chunks = 0\n **/","'use strict';\nvar redefineAll = require('./_redefine-all')\n , getWeak = require('./_meta').getWeak\n , anObject = require('./_an-object')\n , isObject = require('./_is-object')\n , anInstance = require('./_an-instance')\n , forOf = require('./_for-of')\n , createArrayMethod = require('./_array-methods')\n , $has = require('./_has')\n , arrayFind = createArrayMethod(5)\n , arrayFindIndex = createArrayMethod(6)\n , id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function(that){\n return that._l || (that._l = new UncaughtFrozenStore);\n};\nvar UncaughtFrozenStore = function(){\n this.a = [];\n};\nvar findUncaughtFrozen = function(store, key){\n return arrayFind(store.a, function(it){\n return it[0] === key;\n });\n};\nUncaughtFrozenStore.prototype = {\n get: function(key){\n var entry = findUncaughtFrozen(this, key);\n if(entry)return entry[1];\n },\n has: function(key){\n return !!findUncaughtFrozen(this, key);\n },\n set: function(key, value){\n var entry = findUncaughtFrozen(this, key);\n if(entry)entry[1] = value;\n else this.a.push([key, value]);\n },\n 'delete': function(key){\n var index = arrayFindIndex(this.a, function(it){\n return it[0] === key;\n });\n if(~index)this.a.splice(index, 1);\n return !!~index;\n }\n};\n\nmodule.exports = {\n getConstructor: function(wrapper, NAME, IS_MAP, ADDER){\n var C = wrapper(function(that, iterable){\n anInstance(that, C, NAME, '_i');\n that._i = id++; // collection id\n that._l = undefined; // leak store for uncaught frozen objects\n if(iterable != undefined)forOf(iterable, IS_MAP, that[ADDER], that);\n });\n redefineAll(C.prototype, {\n // 23.3.3.2 WeakMap.prototype.delete(key)\n // 23.4.3.3 WeakSet.prototype.delete(value)\n 'delete': function(key){\n if(!isObject(key))return false;\n var data = getWeak(key);\n if(data === true)return uncaughtFrozenStore(this)['delete'](key);\n return data && $has(data, this._i) && delete data[this._i];\n },\n // 23.3.3.4 WeakMap.prototype.has(key)\n // 23.4.3.4 WeakSet.prototype.has(value)\n has: function has(key){\n if(!isObject(key))return false;\n var data = getWeak(key);\n if(data === true)return uncaughtFrozenStore(this).has(key);\n return data && $has(data, this._i);\n }\n });\n return C;\n },\n def: function(that, key, value){\n var data = getWeak(anObject(key), true);\n if(data === true)uncaughtFrozenStore(that).set(key, value);\n else data[that._i] = value;\n return that;\n },\n ufstore: uncaughtFrozenStore\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_collection-weak.js\n ** module id = 224\n ** module chunks = 0\n **/","module.exports = !require('./_descriptors') && !require('./_fails')(function(){\r\n return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7;\r\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_ie8-dom-define.js\n ** module id = 225\n ** module chunks = 0\n **/","// call something on iterator step with safe closing on error\nvar anObject = require('./_an-object');\nmodule.exports = function(iterator, fn, value, entries){\n try {\n return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n // 7.4.6 IteratorClose(iterator, completion)\n } catch(e){\n var ret = iterator['return'];\n if(ret !== undefined)anObject(ret.call(iterator));\n throw e;\n }\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_iter-call.js\n ** module id = 226\n ** module chunks = 0\n **/","module.exports = function(done, value){\n return {value: value, done: !!done};\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_iter-step.js\n ** module id = 227\n ** module chunks = 0\n **/","// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x){\n return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_math-log1p.js\n ** module id = 228\n ** module chunks = 0\n **/","'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar getKeys = require('./_object-keys')\n , gOPS = require('./_object-gops')\n , pIE = require('./_object-pie')\n , toObject = require('./_to-object')\n , IObject = require('./_iobject')\n , $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || require('./_fails')(function(){\n var A = {}\n , B = {}\n , S = Symbol()\n , K = 'abcdefghijklmnopqrst';\n A[S] = 7;\n K.split('').forEach(function(k){ B[k] = k; });\n return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source){ // eslint-disable-line no-unused-vars\n var T = toObject(target)\n , aLen = arguments.length\n , index = 1\n , getSymbols = gOPS.f\n , isEnum = pIE.f;\n while(aLen > index){\n var S = IObject(arguments[index++])\n , keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S)\n , length = keys.length\n , j = 0\n , key;\n while(length > j)if(isEnum.call(S, key = keys[j++]))T[key] = S[key];\n } return T;\n} : $assign;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_object-assign.js\n ** module id = 229\n ** module chunks = 0\n **/","var dP = require('./_object-dp')\r\n , anObject = require('./_an-object')\r\n , getKeys = require('./_object-keys');\r\n\r\nmodule.exports = require('./_descriptors') ? Object.defineProperties : function defineProperties(O, Properties){\r\n anObject(O);\r\n var keys = getKeys(Properties)\r\n , length = keys.length\r\n , i = 0\r\n , P;\r\n while(length > i)dP.f(O, P = keys[i++], Properties[P]);\r\n return O;\r\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_object-dps.js\n ** module id = 230\n ** module chunks = 0\n **/","// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = require('./_to-iobject')\n , gOPN = require('./_object-gopn').f\n , toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function(it){\n try {\n return gOPN(it);\n } catch(e){\n return windowNames.slice();\n }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it){\n return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_object-gopn-ext.js\n ** module id = 231\n ** module chunks = 0\n **/","var has = require('./_has')\r\n , toIObject = require('./_to-iobject')\r\n , arrayIndexOf = require('./_array-includes')(false)\r\n , IE_PROTO = require('./_shared-key')('IE_PROTO');\r\n\r\nmodule.exports = function(object, names){\r\n var O = toIObject(object)\r\n , i = 0\r\n , result = []\r\n , key;\r\n for(key in O)if(key != IE_PROTO)has(O, key) && result.push(key);\r\n // Don't enum bug & hidden keys\r\n while(names.length > i)if(has(O, key = names[i++])){\r\n ~arrayIndexOf(result, key) || result.push(key);\r\n }\r\n return result;\r\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_object-keys-internal.js\n ** module id = 232\n ** module chunks = 0\n **/","var getKeys = require('./_object-keys')\n , toIObject = require('./_to-iobject')\n , isEnum = require('./_object-pie').f;\nmodule.exports = function(isEntries){\n return function(it){\n var O = toIObject(it)\n , keys = getKeys(O)\n , length = keys.length\n , i = 0\n , result = []\n , key;\n while(length > i)if(isEnum.call(O, key = keys[i++])){\n result.push(isEntries ? [key, O[key]] : O[key]);\n } return result;\n };\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_object-to-array.js\n ** module id = 233\n ** module chunks = 0\n **/","// all object keys, includes non-enumerable and symbols\nvar gOPN = require('./_object-gopn')\n , gOPS = require('./_object-gops')\n , anObject = require('./_an-object')\n , Reflect = require('./_global').Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it){\n var keys = gOPN.f(anObject(it))\n , getSymbols = gOPS.f;\n return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_own-keys.js\n ** module id = 234\n ** module chunks = 0\n **/","var $parseFloat = require('./_global').parseFloat\n , $trim = require('./_string-trim').trim;\n\nmodule.exports = 1 / $parseFloat(require('./_string-ws') + '-0') !== -Infinity ? function parseFloat(str){\n var string = $trim(String(str), 3)\n , result = $parseFloat(string);\n return result === 0 && string.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_parse-float.js\n ** module id = 235\n ** module chunks = 0\n **/","var $parseInt = require('./_global').parseInt\n , $trim = require('./_string-trim').trim\n , ws = require('./_string-ws')\n , hex = /^[\\-+]?0[xX]/;\n\nmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix){\n var string = $trim(String(str), 3);\n return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n} : $parseInt;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_parse-int.js\n ** module id = 236\n ** module chunks = 0\n **/","// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y){\n return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_same-value.js\n ** module id = 237\n ** module chunks = 0\n **/","// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = require('./_to-length')\n , repeat = require('./_string-repeat')\n , defined = require('./_defined');\n\nmodule.exports = function(that, maxLength, fillString, left){\n var S = String(defined(that))\n , stringLength = S.length\n , fillStr = fillString === undefined ? ' ' : String(fillString)\n , intMaxLength = toLength(maxLength);\n if(intMaxLength <= stringLength || fillStr == '')return S;\n var fillLen = intMaxLength - stringLength\n , stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n if(stringFiller.length > fillLen)stringFiller = stringFiller.slice(0, fillLen);\n return left ? stringFiller + S : S + stringFiller;\n};\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_string-pad.js\n ** module id = 238\n ** module chunks = 0\n **/","exports.f = require('./_wks');\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/_wks-ext.js\n ** module id = 239\n ** module chunks = 0\n **/","'use strict';\nvar strong = require('./_collection-strong');\n\n// 23.1 Map Objects\nmodule.exports = require('./_collection')('Map', function(get){\n return function Map(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.1.3.6 Map.prototype.get(key)\n get: function get(key){\n var entry = strong.getEntry(this, key);\n return entry && entry.v;\n },\n // 23.1.3.9 Map.prototype.set(key, value)\n set: function set(key, value){\n return strong.def(this, key === 0 ? 0 : key, value);\n }\n}, strong, true);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.map.js\n ** module id = 240\n ** module chunks = 0\n **/","// 21.2.5.3 get RegExp.prototype.flags()\nif(require('./_descriptors') && /./g.flags != 'g')require('./_object-dp').f(RegExp.prototype, 'flags', {\n configurable: true,\n get: require('./_flags')\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.regexp.flags.js\n ** module id = 241\n ** module chunks = 0\n **/","'use strict';\nvar strong = require('./_collection-strong');\n\n// 23.2 Set Objects\nmodule.exports = require('./_collection')('Set', function(get){\n return function Set(){ return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n // 23.2.3.1 Set.prototype.add(value)\n add: function add(value){\n return strong.def(this, value = value === 0 ? 0 : value, value);\n }\n}, strong);\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.set.js\n ** module id = 242\n ** module chunks = 0\n **/","'use strict';\nvar each = require('./_array-methods')(0)\n , redefine = require('./_redefine')\n , meta = require('./_meta')\n , assign = require('./_object-assign')\n , weak = require('./_collection-weak')\n , isObject = require('./_is-object')\n , has = require('./_has')\n , getWeak = meta.getWeak\n , isExtensible = Object.isExtensible\n , uncaughtFrozenStore = weak.ufstore\n , tmp = {}\n , InternalMap;\n\nvar wrapper = function(get){\n return function WeakMap(){\n return get(this, arguments.length > 0 ? arguments[0] : undefined);\n };\n};\n\nvar methods = {\n // 23.3.3.3 WeakMap.prototype.get(key)\n get: function get(key){\n if(isObject(key)){\n var data = getWeak(key);\n if(data === true)return uncaughtFrozenStore(this).get(key);\n return data ? data[this._i] : undefined;\n }\n },\n // 23.3.3.5 WeakMap.prototype.set(key, value)\n set: function set(key, value){\n return weak.def(this, key, value);\n }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = require('./_collection')('WeakMap', wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif(new $WeakMap().set((Object.freeze || Object)(tmp), 7).get(tmp) != 7){\n InternalMap = weak.getConstructor(wrapper);\n assign(InternalMap.prototype, methods);\n meta.NEED = true;\n each(['delete', 'has', 'get', 'set'], function(key){\n var proto = $WeakMap.prototype\n , method = proto[key];\n redefine(proto, key, function(a, b){\n // store frozen objects on internal weakmap shim\n if(isObject(a) && !isExtensible(a)){\n if(!this._f)this._f = new InternalMap;\n var result = this._f[key](a, b);\n return key == 'set' ? this : result;\n // store all the rest on native weakmap\n } return method.call(this, a, b);\n });\n });\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/core-js/modules/es6.weak-map.js\n ** module id = 243\n ** module chunks = 0\n **/","/**\n * matchesSelector v2.0.1\n * matchesSelector( element, '.selector' )\n * MIT license\n */\n\n/*jshint browser: true, strict: true, undef: true, unused: true */\n\n( function( window, factory ) {\n /*global define: false, module: false */\n 'use strict';\n // universal module definition\n if ( typeof define == 'function' && define.amd ) {\n // AMD\n define( factory );\n } else if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory();\n } else {\n // browser global\n window.matchesSelector = factory();\n }\n\n}( window, function factory() {\n 'use strict';\n\n var matchesMethod = ( function() {\n var ElemProto = Element.prototype;\n // check for the standard method name first\n if ( ElemProto.matches ) {\n return 'matches';\n }\n // check un-prefixed\n if ( ElemProto.matchesSelector ) {\n return 'matchesSelector';\n }\n // check vendor prefixes\n var prefixes = [ 'webkit', 'moz', 'ms', 'o' ];\n\n for ( var i=0; i < prefixes.length; i++ ) {\n var prefix = prefixes[i];\n var method = prefix + 'MatchesSelector';\n if ( ElemProto[ method ] ) {\n return method;\n }\n }\n })();\n\n return function matchesSelector( elem, selector ) {\n return elem[ matchesMethod ]( selector );\n };\n\n}));\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/desandro-matches-selector/matches-selector.js\n ** module id = 244\n ** module chunks = 0\n **/","'use strict';\n\nmodule.exports = function getWindow(node) {\n return node === node.window ? node : node.nodeType === 9 ? node.defaultView || node.parentWindow : false;\n};\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/dom-helpers/query/isWindow.js\n ** module id = 245\n ** module chunks = 0\n **/","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n *\n * @typechecks\n */\n\nvar emptyFunction = require('./emptyFunction');\n\n/**\n * Upstream version of event listener. Does not take into account specific\n * nature of platform.\n */\nvar EventListener = {\n /**\n * Listen to DOM events during the bubble phase.\n *\n * @param {DOMEventTarget} target DOM element to register listener on.\n * @param {string} eventType Event type, e.g. 'click' or 'mouseover'.\n * @param {function} callback Callback function.\n * @return {object} Object with a `remove` method.\n */\n listen: function listen(target, eventType, callback) {\n if (target.addEventListener) {\n target.addEventListener(eventType, callback, false);\n return {\n remove: function remove() {\n target.removeEventListener(eventType, callback, false);\n }\n };\n } else if (target.attachEvent) {\n target.attachEvent('on' + eventType, callback);\n return {\n remove: function remove() {\n target.detachEvent('on' + eventType, callback);\n }\n };\n }\n },\n\n /**\n * Listen to DOM events during the capture phase.\n *\n * @param {DOMEventTarget} target DOM element to register listener on.\n * @param {string} eventType Event type, e.g. 'click' or 'mouseover'.\n * @param {function} callback Callback function.\n * @return {object} Object with a `remove` method.\n */\n capture: function capture(target, eventType, callback) {\n if (target.addEventListener) {\n target.addEventListener(eventType, callback, true);\n return {\n remove: function remove() {\n target.removeEventListener(eventType, callback, true);\n }\n };\n } else {\n if (process.env.NODE_ENV !== 'production') {\n console.error('Attempted to listen to events during the capture phase on a ' + 'browser that does not support the capture phase. Your application ' + 'will not receive some events.');\n }\n return {\n remove: emptyFunction\n };\n }\n },\n\n registerDefault: function registerDefault() {}\n};\n\nmodule.exports = EventListener;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/EventListener.js\n ** module id = 246\n ** module chunks = 0\n **/","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n */\n\n'use strict';\n\n/**\n * @param {DOMElement} node input/textarea to focus\n */\n\nfunction focusNode(node) {\n // IE8 can throw \"Can't move focus to the control because it is invisible,\n // not enabled, or of a type that does not accept the focus.\" for all kinds of\n // reasons that are too expensive and fragile to test.\n try {\n node.focus();\n } catch (e) {}\n}\n\nmodule.exports = focusNode;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/focusNode.js\n ** module id = 247\n ** module chunks = 0\n **/","'use strict';\n\n/**\n * Copyright (c) 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @typechecks\n */\n\n/* eslint-disable fb-www/typeof-undefined */\n\n/**\n * Same as document.activeElement but wraps in a try-catch block. In IE it is\n * not safe to call document.activeElement if there is nothing focused.\n *\n * The activeElement will be null only if the document or document body is not\n * yet defined.\n */\nfunction getActiveElement() /*?DOMElement*/{\n if (typeof document === 'undefined') {\n return null;\n }\n try {\n return document.activeElement || document.body;\n } catch (e) {\n return document.body;\n }\n}\n\nmodule.exports = getActiveElement;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fbjs/lib/getActiveElement.js\n ** module id = 248\n ** module chunks = 0\n **/","/**\n * Fizzy UI utils v2.0.2\n * MIT license\n */\n\n/*jshint browser: true, undef: true, unused: true, strict: true */\n\n( function( window, factory ) {\n // universal module definition\n /*jshint strict: false */ /*globals define, module, require */\n\n if ( typeof define == 'function' && define.amd ) {\n // AMD\n define( [\n 'desandro-matches-selector/matches-selector'\n ], function( matchesSelector ) {\n return factory( window, matchesSelector );\n });\n } else if ( typeof module == 'object' && module.exports ) {\n // CommonJS\n module.exports = factory(\n window,\n require('desandro-matches-selector')\n );\n } else {\n // browser global\n window.fizzyUIUtils = factory(\n window,\n window.matchesSelector\n );\n }\n\n}( window, function factory( window, matchesSelector ) {\n\n'use strict';\n\nvar utils = {};\n\n// ----- extend ----- //\n\n// extends objects\nutils.extend = function( a, b ) {\n for ( var prop in b ) {\n a[ prop ] = b[ prop ];\n }\n return a;\n};\n\n// ----- modulo ----- //\n\nutils.modulo = function( num, div ) {\n return ( ( num % div ) + div ) % div;\n};\n\n// ----- makeArray ----- //\n\n// turn element or nodeList into an array\nutils.makeArray = function( obj ) {\n var ary = [];\n if ( Array.isArray( obj ) ) {\n // use object if already an array\n ary = obj;\n } else if ( obj && typeof obj.length == 'number' ) {\n // convert nodeList to array\n for ( var i=0; i < obj.length; i++ ) {\n ary.push( obj[i] );\n }\n } else {\n // array of single index\n ary.push( obj );\n }\n return ary;\n};\n\n// ----- removeFrom ----- //\n\nutils.removeFrom = function( ary, obj ) {\n var index = ary.indexOf( obj );\n if ( index != -1 ) {\n ary.splice( index, 1 );\n }\n};\n\n// ----- getParent ----- //\n\nutils.getParent = function( elem, selector ) {\n while ( elem != document.body ) {\n elem = elem.parentNode;\n if ( matchesSelector( elem, selector ) ) {\n return elem;\n }\n }\n};\n\n// ----- getQueryElement ----- //\n\n// use element as selector string\nutils.getQueryElement = function( elem ) {\n if ( typeof elem == 'string' ) {\n return document.querySelector( elem );\n }\n return elem;\n};\n\n// ----- handleEvent ----- //\n\n// enable .ontype to trigger from .addEventListener( elem, 'type' )\nutils.handleEvent = function( event ) {\n var method = 'on' + event.type;\n if ( this[ method ] ) {\n this[ method ]( event );\n }\n};\n\n// ----- filterFindElements ----- //\n\nutils.filterFindElements = function( elems, selector ) {\n // make array of elems\n elems = utils.makeArray( elems );\n var ffElems = [];\n\n elems.forEach( function( elem ) {\n // check that elem is an actual element\n if ( !( elem instanceof HTMLElement ) ) {\n return;\n }\n // add elem if no selector\n if ( !selector ) {\n ffElems.push( elem );\n return;\n }\n // filter & find items if we have a selector\n // filter\n if ( matchesSelector( elem, selector ) ) {\n ffElems.push( elem );\n }\n // find children\n var childElems = elem.querySelectorAll( selector );\n // concat childElems to filterFound array\n for ( var i=0; i < childElems.length; i++ ) {\n ffElems.push( childElems[i] );\n }\n });\n\n return ffElems;\n};\n\n// ----- debounceMethod ----- //\n\nutils.debounceMethod = function( _class, methodName, threshold ) {\n // original method\n var method = _class.prototype[ methodName ];\n var timeoutName = methodName + 'Timeout';\n\n _class.prototype[ methodName ] = function() {\n var timeout = this[ timeoutName ];\n if ( timeout ) {\n clearTimeout( timeout );\n }\n var args = arguments;\n\n var _this = this;\n this[ timeoutName ] = setTimeout( function() {\n method.apply( _this, args );\n delete _this[ timeoutName ];\n }, threshold || 100 );\n };\n};\n\n// ----- docReady ----- //\n\nutils.docReady = function( callback ) {\n var readyState = document.readyState;\n if ( readyState == 'complete' || readyState == 'interactive' ) {\n callback();\n } else {\n document.addEventListener( 'DOMContentLoaded', callback );\n }\n};\n\n// ----- htmlInit ----- //\n\n// http://jamesroberts.name/blog/2010/02/22/string-functions-for-javascript-trim-to-camel-case-to-dashed-and-to-underscore/\nutils.toDashed = function( str ) {\n return str.replace( /(.)([A-Z])/g, function( match, $1, $2 ) {\n return $1 + '-' + $2;\n }).toLowerCase();\n};\n\nvar console = window.console;\n/**\n * allow user to initialize classes via [data-namespace] or .js-namespace class\n * htmlInit( Widget, 'widgetName' )\n * options are parsed from data-namespace-options\n */\nutils.htmlInit = function( WidgetClass, namespace ) {\n utils.docReady( function() {\n var dashedNamespace = utils.toDashed( namespace );\n var dataAttr = 'data-' + dashedNamespace;\n var dataAttrElems = document.querySelectorAll( '[' + dataAttr + ']' );\n var jsDashElems = document.querySelectorAll( '.js-' + dashedNamespace );\n var elems = utils.makeArray( dataAttrElems )\n .concat( utils.makeArray( jsDashElems ) );\n var dataOptionsAttr = dataAttr + '-options';\n var jQuery = window.jQuery;\n\n elems.forEach( function( elem ) {\n var attr = elem.getAttribute( dataAttr ) ||\n elem.getAttribute( dataOptionsAttr );\n var options;\n try {\n options = attr && JSON.parse( attr );\n } catch ( error ) {\n // log error, do not initialize\n if ( console ) {\n console.error( 'Error parsing ' + dataAttr + ' on ' + elem.className +\n ': ' + error );\n }\n return;\n }\n // initialize\n var instance = new WidgetClass( elem, options );\n // make available via $().data('layoutname')\n if ( jQuery ) {\n jQuery.data( elem, namespace, instance );\n }\n });\n\n });\n};\n\n// ----- ----- //\n\nreturn utils;\n\n}));\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fizzy-ui-utils/utils.js\n ** module id = 249\n ** module chunks = 0\n **/","/**\n * @license\n * Fuse - Lightweight fuzzy-search\n *\n * Copyright (c) 2012-2016 Kirollos Risk .\n * All Rights Reserved. Apache Software License 2.0\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n;(function (global) {\n 'use strict'\n\n function log () {\n console.log.apply(console, arguments)\n }\n\n var defaultOptions = {\n // The name of the identifier property. If specified, the returned result will be a list\n // of the items' dentifiers, otherwise it will be a list of the items.\n id: null,\n\n // Indicates whether comparisons should be case sensitive.\n\n caseSensitive: false,\n\n // An array of values that should be included from the searcher's output. When this array\n // contains elements, each result in the list will be of the form `{ item: ..., include1: ..., include2: ... }`.\n // Values you can include are `score`, `matchedLocations`\n include: [],\n\n // Whether to sort the result list, by score\n shouldSort: true,\n\n // The search function to use\n // Note that the default search function ([[Function]]) must conform to the following API:\n //\n // @param pattern The pattern string to search\n // @param options The search option\n // [[Function]].constructor = function(pattern, options)\n //\n // @param text: the string to search in for the pattern\n // @return Object in the form of:\n // - isMatch: boolean\n // - score: Int\n // [[Function]].prototype.search = function(text)\n searchFn: BitapSearcher,\n\n // Default sort function\n sortFn: function (a, b) {\n return a.score - b.score\n },\n\n // The get function to use when fetching an object's properties.\n // The default will search nested paths *ie foo.bar.baz*\n getFn: deepValue,\n\n // List of properties that will be searched. This also supports nested properties.\n keys: [],\n\n // Will print to the console. Useful for debugging.\n verbose: false,\n\n // When true, the search algorithm will search individual words **and** the full string,\n // computing the final score as a function of both. Note that when `tokenize` is `true`,\n // the `threshold`, `distance`, and `location` are inconsequential for individual tokens.\n tokenize: false,\n\n // Regex used to separate words when searching. Only applicable when `tokenize` is `true`.\n tokenSeparator: / +/g\n }\n\n function Fuse (list, options) {\n var i\n var len\n var key\n var keys\n\n this.list = list\n this.options = options = options || {}\n\n // Add boolean type options\n for (i = 0, keys = ['sort', 'shouldSort', 'verbose', 'tokenize'], len = keys.length; i < len; i++) {\n key = keys[i]\n this.options[key] = key in options ? options[key] : defaultOptions[key]\n }\n // Add all other options\n for (i = 0, keys = ['searchFn', 'sortFn', 'keys', 'getFn', 'include', 'tokenSeparator'], len = keys.length; i < len; i++) {\n key = keys[i]\n this.options[key] = options[key] || defaultOptions[key]\n }\n }\n\n Fuse.VERSION = '2.4.1'\n\n /**\n * Sets a new list for Fuse to match against.\n * @param {Array} list\n * @return {Array} The newly set list\n * @public\n */\n Fuse.prototype.set = function (list) {\n this.list = list\n return list\n }\n\n Fuse.prototype.search = function (pattern) {\n if (this.options.verbose) log('\\nSearch term:', pattern, '\\n')\n\n this.pattern = pattern\n this.results = []\n this.resultMap = {}\n this._keyMap = null\n\n this._prepareSearchers()\n this._startSearch()\n this._computeScore()\n this._sort()\n\n var output = this._format()\n return output\n }\n\n Fuse.prototype._prepareSearchers = function () {\n var options = this.options\n var pattern = this.pattern\n var searchFn = options.searchFn\n var tokens = pattern.split(options.tokenSeparator)\n var i = 0\n var len = tokens.length\n\n if (this.options.tokenize) {\n this.tokenSearchers = []\n for (; i < len; i++) {\n this.tokenSearchers.push(new searchFn(tokens[i], options))\n }\n }\n this.fullSeacher = new searchFn(pattern, options)\n }\n\n Fuse.prototype._startSearch = function () {\n var options = this.options\n var getFn = options.getFn\n var list = this.list\n var listLen = list.length\n var keys = this.options.keys\n var keysLen = keys.length\n var key\n var weight\n var item = null\n var i\n var j\n\n // Check the first item in the list, if it's a string, then we assume\n // that every item in the list is also a string, and thus it's a flattened array.\n if (typeof list[0] === 'string') {\n // Iterate over every item\n for (i = 0; i < listLen; i++) {\n this._analyze('', list[i], i, i)\n }\n } else {\n this._keyMap = {}\n // Otherwise, the first item is an Object (hopefully), and thus the searching\n // is done on the values of the keys of each item.\n // Iterate over every item\n for (i = 0; i < listLen; i++) {\n item = list[i]\n // Iterate over every key\n for (j = 0; j < keysLen; j++) {\n key = keys[j]\n if (typeof key !== 'string') {\n weight = (1 - key.weight) || 1\n this._keyMap[key.name] = {\n weight: weight\n }\n if (key.weight <= 0 || key.weight > 1) {\n throw new Error('Key weight has to be > 0 and <= 1')\n }\n key = key.name\n } else {\n this._keyMap[key] = {\n weight: 1\n }\n }\n this._analyze(key, getFn(item, key, []), item, i)\n }\n }\n }\n }\n\n Fuse.prototype._analyze = function (key, text, entity, index) {\n var options = this.options\n var words\n var scores\n var exists = false\n var existingResult\n var averageScore\n var finalScore\n var scoresLen\n var mainSearchResult\n var tokenSearcher\n var termScores\n var word\n var tokenSearchResult\n var i\n var j\n\n // Check if the text can be searched\n if (text === undefined || text === null) {\n return\n }\n\n scores = []\n\n if (typeof text === 'string') {\n words = text.split(options.tokenSeparator)\n\n if (options.verbose) log('---------\\nKey:', key)\n\n if (this.options.tokenize) {\n for (i = 0; i < this.tokenSearchers.length; i++) {\n tokenSearcher = this.tokenSearchers[i]\n\n if (options.verbose) log('Pattern:', tokenSearcher.pattern)\n\n termScores = []\n for (j = 0; j < words.length; j++) {\n word = words[j]\n tokenSearchResult = tokenSearcher.search(word)\n var obj = {}\n if (tokenSearchResult.isMatch) {\n obj[word] = tokenSearchResult.score\n exists = true\n scores.push(tokenSearchResult.score)\n } else {\n obj[word] = 1\n scores.push(1)\n }\n termScores.push(obj)\n }\n if (options.verbose) log('Token scores:', termScores)\n }\n\n averageScore = scores[0]\n scoresLen = scores.length\n for (i = 1; i < scoresLen; i++) {\n averageScore += scores[i]\n }\n averageScore = averageScore / scoresLen\n\n if (options.verbose) log('Token score average:', averageScore)\n }\n\n mainSearchResult = this.fullSeacher.search(text)\n if (options.verbose) log('Full text score:', mainSearchResult.score)\n\n finalScore = mainSearchResult.score\n if (averageScore !== undefined) {\n finalScore = (finalScore + averageScore) / 2\n }\n\n if (options.verbose) log('Score average:', finalScore)\n\n // If a match is found, add the item to , including its score\n if (exists || mainSearchResult.isMatch) {\n // Check if the item already exists in our results\n existingResult = this.resultMap[index]\n\n if (existingResult) {\n // Use the lowest score\n // existingResult.score, bitapResult.score\n existingResult.output.push({\n key: key,\n score: finalScore,\n matchedIndices: mainSearchResult.matchedIndices\n })\n } else {\n // Add it to the raw result list\n this.resultMap[index] = {\n item: entity,\n output: [{\n key: key,\n score: finalScore,\n matchedIndices: mainSearchResult.matchedIndices\n }]\n }\n\n this.results.push(this.resultMap[index])\n }\n }\n } else if (isArray(text)) {\n for (i = 0; i < text.length; i++) {\n this._analyze(key, text[i], entity, index)\n }\n }\n }\n\n Fuse.prototype._computeScore = function () {\n var i\n var j\n var keyMap = this._keyMap\n var totalScore\n var output\n var scoreLen\n var score\n var weight\n var results = this.results\n var bestScore\n var nScore\n\n if (this.options.verbose) log('\\n\\nComputing score:\\n')\n\n for (i = 0; i < results.length; i++) {\n totalScore = 0\n output = results[i].output\n scoreLen = output.length\n\n bestScore = 1\n\n for (j = 0; j < scoreLen; j++) {\n score = output[j].score\n weight = keyMap ? keyMap[output[j].key].weight : 1\n\n nScore = score * weight\n\n if (weight !== 1) {\n bestScore = Math.min(bestScore, nScore)\n } else {\n totalScore += nScore\n output[j].nScore = nScore\n }\n }\n\n if (bestScore === 1) {\n results[i].score = totalScore / scoreLen\n } else {\n results[i].score = bestScore\n }\n\n if (this.options.verbose) log(results[i])\n }\n }\n\n Fuse.prototype._sort = function () {\n var options = this.options\n if (options.shouldSort) {\n if (options.verbose) log('\\n\\nSorting....')\n this.results.sort(options.sortFn)\n }\n }\n\n Fuse.prototype._format = function () {\n var options = this.options\n var getFn = options.getFn\n var finalOutput = []\n var item\n var i\n var len\n var results = this.results\n var replaceValue\n var getItemAtIndex\n var include = options.include\n\n if (options.verbose) log('\\n\\nOutput:\\n\\n', results)\n\n // Helper function, here for speed-up, which replaces the item with its value,\n // if the options specifies it,\n replaceValue = options.id ? function (index) {\n results[index].item = getFn(results[index].item, options.id, [])[0]\n } : function () {}\n\n getItemAtIndex = function (index) {\n var record = results[index]\n var data\n var j\n var output\n var _item\n var _result\n\n // If `include` has values, put the item in the result\n if (include.length > 0) {\n data = {\n item: record.item\n }\n if (include.indexOf('matches') !== -1) {\n output = record.output\n data.matches = []\n for (j = 0; j < output.length; j++) {\n _item = output[j]\n _result = {\n indices: _item.matchedIndices\n }\n if (_item.key) {\n _result.key = _item.key\n }\n data.matches.push(_result)\n }\n }\n\n if (include.indexOf('score') !== -1) {\n data.score = results[index].score\n }\n\n } else {\n data = record.item\n }\n\n return data\n }\n\n // From the results, push into a new array only the item identifier (if specified)\n // of the entire item. This is because we don't want to return the ,\n // since it contains other metadata\n for (i = 0, len = results.length; i < len; i++) {\n replaceValue(i)\n item = getItemAtIndex(i)\n finalOutput.push(item)\n }\n\n return finalOutput\n }\n\n // Helpers\n\n function deepValue (obj, path, list) {\n var firstSegment\n var remaining\n var dotIndex\n var value\n var i\n var len\n\n if (!path) {\n // If there's no path left, we've gotten to the object we care about.\n list.push(obj)\n } else {\n dotIndex = path.indexOf('.')\n\n if (dotIndex !== -1) {\n firstSegment = path.slice(0, dotIndex)\n remaining = path.slice(dotIndex + 1)\n } else {\n firstSegment = path\n }\n\n value = obj[firstSegment]\n if (value !== null && value !== undefined) {\n if (!remaining && (typeof value === 'string' || typeof value === 'number')) {\n list.push(value)\n } else if (isArray(value)) {\n // Search each item in the array.\n for (i = 0, len = value.length; i < len; i++) {\n deepValue(value[i], remaining, list)\n }\n } else if (remaining) {\n // An object. Recurse further.\n deepValue(value, remaining, list)\n }\n }\n }\n\n return list\n }\n\n function isArray (obj) {\n return Object.prototype.toString.call(obj) === '[object Array]'\n }\n\n /**\n * Adapted from \"Diff, Match and Patch\", by Google\n *\n * http://code.google.com/p/google-diff-match-patch/\n *\n * Modified by: Kirollos Risk \n * -----------------------------------------------\n * Details: the algorithm and structure was modified to allow the creation of\n * instances with a method which does the actual\n * bitap search. The (the string that is searched for) is only defined\n * once per instance and thus it eliminates redundant re-creation when searching\n * over a list of strings.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\")\n * you may not use this file except in compliance with the License.\n */\n function BitapSearcher (pattern, options) {\n options = options || {}\n this.options = options\n this.options.location = options.location || BitapSearcher.defaultOptions.location\n this.options.distance = 'distance' in options ? options.distance : BitapSearcher.defaultOptions.distance\n this.options.threshold = 'threshold' in options ? options.threshold : BitapSearcher.defaultOptions.threshold\n this.options.maxPatternLength = options.maxPatternLength || BitapSearcher.defaultOptions.maxPatternLength\n\n this.pattern = options.caseSensitive ? pattern : pattern.toLowerCase()\n this.patternLen = pattern.length\n\n if (this.patternLen <= this.options.maxPatternLength) {\n this.matchmask = 1 << (this.patternLen - 1)\n this.patternAlphabet = this._calculatePatternAlphabet()\n }\n }\n\n BitapSearcher.defaultOptions = {\n // Approximately where in the text is the pattern expected to be found?\n location: 0,\n\n // Determines how close the match must be to the fuzzy location (specified above).\n // An exact letter match which is 'distance' characters away from the fuzzy location\n // would score as a complete mismatch. A distance of '0' requires the match be at\n // the exact location specified, a threshold of '1000' would require a perfect match\n // to be within 800 characters of the fuzzy location to be found using a 0.8 threshold.\n distance: 100,\n\n // At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match\n // (of both letters and location), a threshold of '1.0' would match anything.\n threshold: 0.6,\n\n // Machine word size\n maxPatternLength: 32\n }\n\n /**\n * Initialize the alphabet for the Bitap algorithm.\n * @return {Object} Hash of character locations.\n * @private\n */\n BitapSearcher.prototype._calculatePatternAlphabet = function () {\n var mask = {},\n i = 0\n\n for (i = 0; i < this.patternLen; i++) {\n mask[this.pattern.charAt(i)] = 0\n }\n\n for (i = 0; i < this.patternLen; i++) {\n mask[this.pattern.charAt(i)] |= 1 << (this.pattern.length - i - 1)\n }\n\n return mask\n }\n\n /**\n * Compute and return the score for a match with `e` errors and `x` location.\n * @param {number} errors Number of errors in match.\n * @param {number} location Location of match.\n * @return {number} Overall score for match (0.0 = good, 1.0 = bad).\n * @private\n */\n BitapSearcher.prototype._bitapScore = function (errors, location) {\n var accuracy = errors / this.patternLen,\n proximity = Math.abs(this.options.location - location)\n\n if (!this.options.distance) {\n // Dodge divide by zero error.\n return proximity ? 1.0 : accuracy\n }\n return accuracy + (proximity / this.options.distance)\n }\n\n /**\n * Compute and return the result of the search\n * @param {String} text The text to search in\n * @return {Object} Literal containing:\n * {Boolean} isMatch Whether the text is a match or not\n * {Decimal} score Overall score for the match\n * @public\n */\n BitapSearcher.prototype.search = function (text) {\n var options = this.options\n var i\n var j\n var textLen\n var location\n var threshold\n var bestLoc\n var binMin\n var binMid\n var binMax\n var start, finish\n var bitArr\n var lastBitArr\n var charMatch\n var score\n var locations\n var matches\n var isMatched\n var matchMask\n var matchedIndices\n var matchesLen\n var match\n\n text = options.caseSensitive ? text : text.toLowerCase()\n\n if (this.pattern === text) {\n // Exact match\n return {\n isMatch: true,\n score: 0,\n matchedIndices: [[0, text.length - 1]]\n }\n }\n\n // When pattern length is greater than the machine word length, just do a a regex comparison\n if (this.patternLen > options.maxPatternLength) {\n matches = text.match(new RegExp(this.pattern.replace(options.tokenSeparator, '|')))\n isMatched = !!matches\n\n if (isMatched) {\n matchedIndices = []\n for (i = 0, matchesLen = matches.length; i < matchesLen; i++) {\n match = matches[i]\n matchedIndices.push([text.indexOf(match), match.length - 1])\n }\n }\n\n return {\n isMatch: isMatched,\n // TODO: revisit this score\n score: isMatched ? 0.5 : 1,\n matchedIndices: matchedIndices\n }\n }\n\n location = options.location\n // Set starting location at beginning text and initialize the alphabet.\n textLen = text.length\n // Highest score beyond which we give up.\n threshold = options.threshold\n // Is there a nearby exact match? (speedup)\n bestLoc = text.indexOf(this.pattern, location)\n\n // a mask of the matches\n matchMask = []\n for (i = 0; i < textLen; i++) {\n matchMask[i] = 0\n }\n\n if (bestLoc != -1) {\n threshold = Math.min(this._bitapScore(0, bestLoc), threshold)\n // What about in the other direction? (speed up)\n bestLoc = text.lastIndexOf(this.pattern, location + this.patternLen)\n\n if (bestLoc != -1) {\n threshold = Math.min(this._bitapScore(0, bestLoc), threshold)\n }\n }\n\n bestLoc = -1\n score = 1\n locations = []\n binMax = this.patternLen + textLen\n\n for (i = 0; i < this.patternLen; i++) {\n // Scan for the best match; each iteration allows for one more error.\n // Run a binary search to determine how far from the match location we can stray\n // at this error level.\n binMin = 0\n binMid = binMax\n while (binMin < binMid) {\n if (this._bitapScore(i, location + binMid) <= threshold) {\n binMin = binMid\n } else {\n binMax = binMid\n }\n binMid = Math.floor((binMax - binMin) / 2 + binMin)\n }\n\n // Use the result from this iteration as the maximum for the next.\n binMax = binMid\n start = Math.max(1, location - binMid + 1)\n finish = Math.min(location + binMid, textLen) + this.patternLen\n\n // Initialize the bit array\n bitArr = Array(finish + 2)\n\n bitArr[finish + 1] = (1 << i) - 1\n\n for (j = finish; j >= start; j--) {\n charMatch = this.patternAlphabet[text.charAt(j - 1)]\n\n if (charMatch) {\n matchMask[j - 1] = 1\n }\n\n if (i === 0) {\n // First pass: exact match.\n bitArr[j] = ((bitArr[j + 1] << 1) | 1) & charMatch\n } else {\n // Subsequent passes: fuzzy match.\n bitArr[j] = ((bitArr[j + 1] << 1) | 1) & charMatch | (((lastBitArr[j + 1] | lastBitArr[j]) << 1) | 1) | lastBitArr[j + 1]\n }\n if (bitArr[j] & this.matchmask) {\n score = this._bitapScore(i, j - 1)\n\n // This match will almost certainly be better than any existing match.\n // But check anyway.\n if (score <= threshold) {\n // Indeed it is\n threshold = score\n bestLoc = j - 1\n locations.push(bestLoc)\n\n if (bestLoc > location) {\n // When passing loc, don't exceed our current distance from loc.\n start = Math.max(1, 2 * location - bestLoc)\n } else {\n // Already passed loc, downhill from here on in.\n break\n }\n }\n }\n }\n\n // No hope for a (better) match at greater error levels.\n if (this._bitapScore(i + 1, location) > threshold) {\n break\n }\n lastBitArr = bitArr\n }\n\n matchedIndices = this._getMatchedIndices(matchMask)\n\n // Count exact matches (those with a score of 0) to be \"almost\" exact\n return {\n isMatch: bestLoc >= 0,\n score: score === 0 ? 0.001 : score,\n matchedIndices: matchedIndices\n }\n }\n\n BitapSearcher.prototype._getMatchedIndices = function (matchMask) {\n var matchedIndices = []\n var start = -1\n var end = -1\n var i = 0\n var match\n var len = matchMask.length\n for (; i < len; i++) {\n match = matchMask[i]\n if (match && start === -1) {\n start = i\n } else if (!match && start !== -1) {\n end = i - 1\n matchedIndices.push([start, end])\n start = -1\n }\n }\n if (matchMask[i - 1]) {\n matchedIndices.push([start, i - 1])\n }\n return matchedIndices\n }\n\n // Export to Common JS Loader\n if (typeof exports === 'object') {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like environments that support module.exports,\n // like Node.\n module.exports = Fuse\n } else if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(function () {\n return Fuse\n })\n } else {\n // Browser globals (root is window)\n global.Fuse = Fuse\n }\n\n})(this)\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/fuse.js/src/fuse.js\n ** module id = 250\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nvar _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; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _invariant = require('invariant');\n\nvar _invariant2 = _interopRequireDefault(_invariant);\n\nvar _ExecutionEnvironment = require('./ExecutionEnvironment');\n\nvar _DOMUtils = require('./DOMUtils');\n\nvar _createHistory = require('./createHistory');\n\nvar _createHistory2 = _interopRequireDefault(_createHistory);\n\nfunction createDOMHistory(options) {\n var history = _createHistory2['default'](_extends({\n getUserConfirmation: _DOMUtils.getUserConfirmation\n }, options, {\n go: _DOMUtils.go\n }));\n\n function listen(listener) {\n !_ExecutionEnvironment.canUseDOM ? process.env.NODE_ENV !== 'production' ? _invariant2['default'](false, 'DOM history needs a DOM') : _invariant2['default'](false) : undefined;\n\n return history.listen(listener);\n }\n\n return _extends({}, history, {\n listen: listen\n });\n}\n\nexports['default'] = createDOMHistory;\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/history/lib/createDOMHistory.js\n ** module id = 251\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nvar _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; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar _invariant = require('invariant');\n\nvar _invariant2 = _interopRequireDefault(_invariant);\n\nvar _Actions = require('./Actions');\n\nvar _PathUtils = require('./PathUtils');\n\nvar _ExecutionEnvironment = require('./ExecutionEnvironment');\n\nvar _DOMUtils = require('./DOMUtils');\n\nvar _DOMStateStorage = require('./DOMStateStorage');\n\nvar _createDOMHistory = require('./createDOMHistory');\n\nvar _createDOMHistory2 = _interopRequireDefault(_createDOMHistory);\n\nfunction isAbsolutePath(path) {\n return typeof path === 'string' && path.charAt(0) === '/';\n}\n\nfunction ensureSlash() {\n var path = _DOMUtils.getHashPath();\n\n if (isAbsolutePath(path)) return true;\n\n _DOMUtils.replaceHashPath('/' + path);\n\n return false;\n}\n\nfunction addQueryStringValueToPath(path, key, value) {\n return path + (path.indexOf('?') === -1 ? '?' : '&') + (key + '=' + value);\n}\n\nfunction stripQueryStringValueFromPath(path, key) {\n return path.replace(new RegExp('[?&]?' + key + '=[a-zA-Z0-9]+'), '');\n}\n\nfunction getQueryStringValueFromPath(path, key) {\n var match = path.match(new RegExp('\\\\?.*?\\\\b' + key + '=(.+?)\\\\b'));\n return match && match[1];\n}\n\nvar DefaultQueryKey = '_k';\n\nfunction createHashHistory() {\n var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n !_ExecutionEnvironment.canUseDOM ? process.env.NODE_ENV !== 'production' ? _invariant2['default'](false, 'Hash history needs a DOM') : _invariant2['default'](false) : undefined;\n\n var queryKey = options.queryKey;\n\n if (queryKey === undefined || !!queryKey) queryKey = typeof queryKey === 'string' ? queryKey : DefaultQueryKey;\n\n function getCurrentLocation() {\n var path = _DOMUtils.getHashPath();\n\n var key = undefined,\n state = undefined;\n if (queryKey) {\n key = getQueryStringValueFromPath(path, queryKey);\n path = stripQueryStringValueFromPath(path, queryKey);\n\n if (key) {\n state = _DOMStateStorage.readState(key);\n } else {\n state = null;\n key = history.createKey();\n _DOMUtils.replaceHashPath(addQueryStringValueToPath(path, queryKey, key));\n }\n } else {\n key = state = null;\n }\n\n var location = _PathUtils.parsePath(path);\n\n return history.createLocation(_extends({}, location, { state: state }), undefined, key);\n }\n\n function startHashChangeListener(_ref) {\n var transitionTo = _ref.transitionTo;\n\n function hashChangeListener() {\n if (!ensureSlash()) return; // Always make sure hashes are preceeded with a /.\n\n transitionTo(getCurrentLocation());\n }\n\n ensureSlash();\n _DOMUtils.addEventListener(window, 'hashchange', hashChangeListener);\n\n return function () {\n _DOMUtils.removeEventListener(window, 'hashchange', hashChangeListener);\n };\n }\n\n function finishTransition(location) {\n var basename = location.basename;\n var pathname = location.pathname;\n var search = location.search;\n var state = location.state;\n var action = location.action;\n var key = location.key;\n\n if (action === _Actions.POP) return; // Nothing to do.\n\n var path = (basename || '') + pathname + search;\n\n if (queryKey) {\n path = addQueryStringValueToPath(path, queryKey, key);\n _DOMStateStorage.saveState(key, state);\n } else {\n // Drop key and state.\n location.key = location.state = null;\n }\n\n var currentHash = _DOMUtils.getHashPath();\n\n if (action === _Actions.PUSH) {\n if (currentHash !== path) {\n window.location.hash = path;\n } else {\n process.env.NODE_ENV !== 'production' ? _warning2['default'](false, 'You cannot PUSH the same path using hash history') : undefined;\n }\n } else if (currentHash !== path) {\n // REPLACE\n _DOMUtils.replaceHashPath(path);\n }\n }\n\n var history = _createDOMHistory2['default'](_extends({}, options, {\n getCurrentLocation: getCurrentLocation,\n finishTransition: finishTransition,\n saveState: _DOMStateStorage.saveState\n }));\n\n var listenerCount = 0,\n stopHashChangeListener = undefined;\n\n function listenBefore(listener) {\n if (++listenerCount === 1) stopHashChangeListener = startHashChangeListener(history);\n\n var unlisten = history.listenBefore(listener);\n\n return function () {\n unlisten();\n\n if (--listenerCount === 0) stopHashChangeListener();\n };\n }\n\n function listen(listener) {\n if (++listenerCount === 1) stopHashChangeListener = startHashChangeListener(history);\n\n var unlisten = history.listen(listener);\n\n return function () {\n unlisten();\n\n if (--listenerCount === 0) stopHashChangeListener();\n };\n }\n\n function push(location) {\n process.env.NODE_ENV !== 'production' ? _warning2['default'](queryKey || location.state == null, 'You cannot use state without a queryKey it will be dropped') : undefined;\n\n history.push(location);\n }\n\n function replace(location) {\n process.env.NODE_ENV !== 'production' ? _warning2['default'](queryKey || location.state == null, 'You cannot use state without a queryKey it will be dropped') : undefined;\n\n history.replace(location);\n }\n\n var goIsSupportedWithoutReload = _DOMUtils.supportsGoWithoutReloadUsingHash();\n\n function go(n) {\n process.env.NODE_ENV !== 'production' ? _warning2['default'](goIsSupportedWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : undefined;\n\n history.go(n);\n }\n\n function createHref(path) {\n return '#' + history.createHref(path);\n }\n\n // deprecated\n function registerTransitionHook(hook) {\n if (++listenerCount === 1) stopHashChangeListener = startHashChangeListener(history);\n\n history.registerTransitionHook(hook);\n }\n\n // deprecated\n function unregisterTransitionHook(hook) {\n history.unregisterTransitionHook(hook);\n\n if (--listenerCount === 0) stopHashChangeListener();\n }\n\n // deprecated\n function pushState(state, path) {\n process.env.NODE_ENV !== 'production' ? _warning2['default'](queryKey || state == null, 'You cannot use state without a queryKey it will be dropped') : undefined;\n\n history.pushState(state, path);\n }\n\n // deprecated\n function replaceState(state, path) {\n process.env.NODE_ENV !== 'production' ? _warning2['default'](queryKey || state == null, 'You cannot use state without a queryKey it will be dropped') : undefined;\n\n history.replaceState(state, path);\n }\n\n return _extends({}, history, {\n listenBefore: listenBefore,\n listen: listen,\n push: push,\n replace: replace,\n go: go,\n createHref: createHref,\n\n registerTransitionHook: registerTransitionHook, // deprecated - warning is in createHistory\n unregisterTransitionHook: unregisterTransitionHook, // deprecated - warning is in createHistory\n pushState: pushState, // deprecated - warning is in createHistory\n replaceState: replaceState // deprecated - warning is in createHistory\n });\n}\n\nexports['default'] = createHashHistory;\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/history/lib/createHashHistory.js\n ** module id = 252\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nvar _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; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar _deepEqual = require('deep-equal');\n\nvar _deepEqual2 = _interopRequireDefault(_deepEqual);\n\nvar _PathUtils = require('./PathUtils');\n\nvar _AsyncUtils = require('./AsyncUtils');\n\nvar _Actions = require('./Actions');\n\nvar _createLocation2 = require('./createLocation');\n\nvar _createLocation3 = _interopRequireDefault(_createLocation2);\n\nvar _runTransitionHook = require('./runTransitionHook');\n\nvar _runTransitionHook2 = _interopRequireDefault(_runTransitionHook);\n\nvar _deprecate = require('./deprecate');\n\nvar _deprecate2 = _interopRequireDefault(_deprecate);\n\nfunction createRandomKey(length) {\n return Math.random().toString(36).substr(2, length);\n}\n\nfunction locationsAreEqual(a, b) {\n return a.pathname === b.pathname && a.search === b.search &&\n //a.action === b.action && // Different action !== location change.\n a.key === b.key && _deepEqual2['default'](a.state, b.state);\n}\n\nvar DefaultKeyLength = 6;\n\nfunction createHistory() {\n var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n var getCurrentLocation = options.getCurrentLocation;\n var finishTransition = options.finishTransition;\n var saveState = options.saveState;\n var go = options.go;\n var getUserConfirmation = options.getUserConfirmation;\n var keyLength = options.keyLength;\n\n if (typeof keyLength !== 'number') keyLength = DefaultKeyLength;\n\n var transitionHooks = [];\n\n function listenBefore(hook) {\n transitionHooks.push(hook);\n\n return function () {\n transitionHooks = transitionHooks.filter(function (item) {\n return item !== hook;\n });\n };\n }\n\n var allKeys = [];\n var changeListeners = [];\n var location = undefined;\n\n function getCurrent() {\n if (pendingLocation && pendingLocation.action === _Actions.POP) {\n return allKeys.indexOf(pendingLocation.key);\n } else if (location) {\n return allKeys.indexOf(location.key);\n } else {\n return -1;\n }\n }\n\n function updateLocation(newLocation) {\n var current = getCurrent();\n\n location = newLocation;\n\n if (location.action === _Actions.PUSH) {\n allKeys = [].concat(allKeys.slice(0, current + 1), [location.key]);\n } else if (location.action === _Actions.REPLACE) {\n allKeys[current] = location.key;\n }\n\n changeListeners.forEach(function (listener) {\n listener(location);\n });\n }\n\n function listen(listener) {\n changeListeners.push(listener);\n\n if (location) {\n listener(location);\n } else {\n var _location = getCurrentLocation();\n allKeys = [_location.key];\n updateLocation(_location);\n }\n\n return function () {\n changeListeners = changeListeners.filter(function (item) {\n return item !== listener;\n });\n };\n }\n\n function confirmTransitionTo(location, callback) {\n _AsyncUtils.loopAsync(transitionHooks.length, function (index, next, done) {\n _runTransitionHook2['default'](transitionHooks[index], location, function (result) {\n if (result != null) {\n done(result);\n } else {\n next();\n }\n });\n }, function (message) {\n if (getUserConfirmation && typeof message === 'string') {\n getUserConfirmation(message, function (ok) {\n callback(ok !== false);\n });\n } else {\n callback(message !== false);\n }\n });\n }\n\n var pendingLocation = undefined;\n\n function transitionTo(nextLocation) {\n if (location && locationsAreEqual(location, nextLocation)) return; // Nothing to do.\n\n pendingLocation = nextLocation;\n\n confirmTransitionTo(nextLocation, function (ok) {\n if (pendingLocation !== nextLocation) return; // Transition was interrupted.\n\n if (ok) {\n // treat PUSH to current path like REPLACE to be consistent with browsers\n if (nextLocation.action === _Actions.PUSH) {\n var prevPath = createPath(location);\n var nextPath = createPath(nextLocation);\n\n if (nextPath === prevPath && _deepEqual2['default'](location.state, nextLocation.state)) nextLocation.action = _Actions.REPLACE;\n }\n\n if (finishTransition(nextLocation) !== false) updateLocation(nextLocation);\n } else if (location && nextLocation.action === _Actions.POP) {\n var prevIndex = allKeys.indexOf(location.key);\n var nextIndex = allKeys.indexOf(nextLocation.key);\n\n if (prevIndex !== -1 && nextIndex !== -1) go(prevIndex - nextIndex); // Restore the URL.\n }\n });\n }\n\n function push(location) {\n transitionTo(createLocation(location, _Actions.PUSH, createKey()));\n }\n\n function replace(location) {\n transitionTo(createLocation(location, _Actions.REPLACE, createKey()));\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n function createKey() {\n return createRandomKey(keyLength);\n }\n\n function createPath(location) {\n if (location == null || typeof location === 'string') return location;\n\n var pathname = location.pathname;\n var search = location.search;\n var hash = location.hash;\n\n var result = pathname;\n\n if (search) result += search;\n\n if (hash) result += hash;\n\n return result;\n }\n\n function createHref(location) {\n return createPath(location);\n }\n\n function createLocation(location, action) {\n var key = arguments.length <= 2 || arguments[2] === undefined ? createKey() : arguments[2];\n\n if (typeof action === 'object') {\n process.env.NODE_ENV !== 'production' ? _warning2['default'](false, 'The state (2nd) argument to history.createLocation is deprecated; use a ' + 'location descriptor instead') : undefined;\n\n if (typeof location === 'string') location = _PathUtils.parsePath(location);\n\n location = _extends({}, location, { state: action });\n\n action = key;\n key = arguments[3] || createKey();\n }\n\n return _createLocation3['default'](location, action, key);\n }\n\n // deprecated\n function setState(state) {\n if (location) {\n updateLocationState(location, state);\n updateLocation(location);\n } else {\n updateLocationState(getCurrentLocation(), state);\n }\n }\n\n function updateLocationState(location, state) {\n location.state = _extends({}, location.state, state);\n saveState(location.key, location.state);\n }\n\n // deprecated\n function registerTransitionHook(hook) {\n if (transitionHooks.indexOf(hook) === -1) transitionHooks.push(hook);\n }\n\n // deprecated\n function unregisterTransitionHook(hook) {\n transitionHooks = transitionHooks.filter(function (item) {\n return item !== hook;\n });\n }\n\n // deprecated\n function pushState(state, path) {\n if (typeof path === 'string') path = _PathUtils.parsePath(path);\n\n push(_extends({ state: state }, path));\n }\n\n // deprecated\n function replaceState(state, path) {\n if (typeof path === 'string') path = _PathUtils.parsePath(path);\n\n replace(_extends({ state: state }, path));\n }\n\n return {\n listenBefore: listenBefore,\n listen: listen,\n transitionTo: transitionTo,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n createKey: createKey,\n createPath: createPath,\n createHref: createHref,\n createLocation: createLocation,\n\n setState: _deprecate2['default'](setState, 'setState is deprecated; use location.key to save state instead'),\n registerTransitionHook: _deprecate2['default'](registerTransitionHook, 'registerTransitionHook is deprecated; use listenBefore instead'),\n unregisterTransitionHook: _deprecate2['default'](unregisterTransitionHook, 'unregisterTransitionHook is deprecated; use the callback returned from listenBefore instead'),\n pushState: _deprecate2['default'](pushState, 'pushState is deprecated; use push instead'),\n replaceState: _deprecate2['default'](replaceState, 'replaceState is deprecated; use replace instead')\n };\n}\n\nexports['default'] = createHistory;\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/history/lib/createHistory.js\n ** module id = 253\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nvar _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; };\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }\n\nvar _warning = require('warning');\n\nvar _warning2 = _interopRequireDefault(_warning);\n\nvar _ExecutionEnvironment = require('./ExecutionEnvironment');\n\nvar _PathUtils = require('./PathUtils');\n\nvar _runTransitionHook = require('./runTransitionHook');\n\nvar _runTransitionHook2 = _interopRequireDefault(_runTransitionHook);\n\nvar _deprecate = require('./deprecate');\n\nvar _deprecate2 = _interopRequireDefault(_deprecate);\n\nfunction useBasename(createHistory) {\n return function () {\n var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n var history = createHistory(options);\n\n var basename = options.basename;\n\n var checkedBaseHref = false;\n\n function checkBaseHref() {\n if (checkedBaseHref) {\n return;\n }\n\n // Automatically use the value of in HTML\n // documents as basename if it's not explicitly given.\n if (basename == null && _ExecutionEnvironment.canUseDOM) {\n var base = document.getElementsByTagName('base')[0];\n var baseHref = base && base.getAttribute('href');\n\n if (baseHref != null) {\n basename = baseHref;\n\n process.env.NODE_ENV !== 'production' ? _warning2['default'](false, 'Automatically setting basename using is deprecated and will ' + 'be removed in the next major release. The semantics of are ' + 'subtly different from basename. Please pass the basename explicitly in ' + 'the options to createHistory') : undefined;\n }\n }\n\n checkedBaseHref = true;\n }\n\n function addBasename(location) {\n checkBaseHref();\n\n if (basename && location.basename == null) {\n if (location.pathname.indexOf(basename) === 0) {\n location.pathname = location.pathname.substring(basename.length);\n location.basename = basename;\n\n if (location.pathname === '') location.pathname = '/';\n } else {\n location.basename = '';\n }\n }\n\n return location;\n }\n\n function prependBasename(location) {\n checkBaseHref();\n\n if (!basename) return location;\n\n if (typeof location === 'string') location = _PathUtils.parsePath(location);\n\n var pname = location.pathname;\n var normalizedBasename = basename.slice(-1) === '/' ? basename : basename + '/';\n var normalizedPathname = pname.charAt(0) === '/' ? pname.slice(1) : pname;\n var pathname = normalizedBasename + normalizedPathname;\n\n return _extends({}, location, {\n pathname: pathname\n });\n }\n\n // Override all read methods with basename-aware versions.\n function listenBefore(hook) {\n return history.listenBefore(function (location, callback) {\n _runTransitionHook2['default'](hook, addBasename(location), callback);\n });\n }\n\n function listen(listener) {\n return history.listen(function (location) {\n listener(addBasename(location));\n });\n }\n\n // Override all write methods with basename-aware versions.\n function push(location) {\n history.push(prependBasename(location));\n }\n\n function replace(location) {\n history.replace(prependBasename(location));\n }\n\n function createPath(location) {\n return history.createPath(prependBasename(location));\n }\n\n function createHref(location) {\n return history.createHref(prependBasename(location));\n }\n\n function createLocation(location) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n return addBasename(history.createLocation.apply(history, [prependBasename(location)].concat(args)));\n }\n\n // deprecated\n function pushState(state, path) {\n if (typeof path === 'string') path = _PathUtils.parsePath(path);\n\n push(_extends({ state: state }, path));\n }\n\n // deprecated\n function replaceState(state, path) {\n if (typeof path === 'string') path = _PathUtils.parsePath(path);\n\n replace(_extends({ state: state }, path));\n }\n\n return _extends({}, history, {\n listenBefore: listenBefore,\n listen: listen,\n push: push,\n replace: replace,\n createPath: createPath,\n createHref: createHref,\n createLocation: createLocation,\n\n pushState: _deprecate2['default'](pushState, 'pushState is deprecated; use push instead'),\n replaceState: _deprecate2['default'](replaceState, 'replaceState is deprecated; use replace instead')\n });\n };\n}\n\nexports['default'] = useBasename;\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/history/lib/useBasename.js\n ** module id = 254\n ** module chunks = 0\n **/","// =========\n// = humps =\n// =========\n// Underscore-to-camelCase converter (and vice versa)\n// for strings and object keys\n\n// humps is copyright © 2012+ Dom Christie\n// Released under the MIT license.\n\n\n;(function(global) {\n\n var _processKeys = function(convert, obj, options) {\n if(!_isObject(obj) || _isDate(obj) || _isRegExp(obj) || _isBoolean(obj)) {\n return obj;\n }\n\n var output,\n i = 0,\n l = 0;\n\n if(_isArray(obj)) {\n output = [];\n for(l=obj.length; i 1) {\n\t\t\t\tattributes = extend({\n\t\t\t\t\tpath: '/'\n\t\t\t\t}, api.defaults, attributes);\n\n\t\t\t\tif (typeof attributes.expires === 'number') {\n\t\t\t\t\tvar expires = new Date();\n\t\t\t\t\texpires.setMilliseconds(expires.getMilliseconds() + attributes.expires * 864e+5);\n\t\t\t\t\tattributes.expires = expires;\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tresult = JSON.stringify(value);\n\t\t\t\t\tif (/^[\\{\\[]/.test(result)) {\n\t\t\t\t\t\tvalue = result;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\n\t\t\t\tif (!converter.write) {\n\t\t\t\t\tvalue = encodeURIComponent(String(value))\n\t\t\t\t\t\t.replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g, decodeURIComponent);\n\t\t\t\t} else {\n\t\t\t\t\tvalue = converter.write(value, key);\n\t\t\t\t}\n\n\t\t\t\tkey = encodeURIComponent(String(key));\n\t\t\t\tkey = key.replace(/%(23|24|26|2B|5E|60|7C)/g, decodeURIComponent);\n\t\t\t\tkey = key.replace(/[\\(\\)]/g, escape);\n\n\t\t\t\treturn (document.cookie = [\n\t\t\t\t\tkey, '=', value,\n\t\t\t\t\tattributes.expires && '; expires=' + attributes.expires.toUTCString(), // use expires attribute, max-age is not supported by IE\n\t\t\t\t\tattributes.path && '; path=' + attributes.path,\n\t\t\t\t\tattributes.domain && '; domain=' + attributes.domain,\n\t\t\t\t\tattributes.secure ? '; secure' : ''\n\t\t\t\t].join(''));\n\t\t\t}\n\n\t\t\t// Read\n\n\t\t\tif (!key) {\n\t\t\t\tresult = {};\n\t\t\t}\n\n\t\t\t// To prevent the for loop in the first place assign an empty array\n\t\t\t// in case there are no cookies at all. Also prevents odd result when\n\t\t\t// calling \"get()\"\n\t\t\tvar cookies = document.cookie ? document.cookie.split('; ') : [];\n\t\t\tvar rdecode = /(%[0-9A-Z]{2})+/g;\n\t\t\tvar i = 0;\n\n\t\t\tfor (; i < cookies.length; i++) {\n\t\t\t\tvar parts = cookies[i].split('=');\n\t\t\t\tvar cookie = parts.slice(1).join('=');\n\n\t\t\t\tif (cookie.charAt(0) === '\"') {\n\t\t\t\t\tcookie = cookie.slice(1, -1);\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tvar name = parts[0].replace(rdecode, decodeURIComponent);\n\t\t\t\t\tcookie = converter.read ?\n\t\t\t\t\t\tconverter.read(cookie, name) : converter(cookie, name) ||\n\t\t\t\t\t\tcookie.replace(rdecode, decodeURIComponent);\n\n\t\t\t\t\tif (this.json) {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tcookie = JSON.parse(cookie);\n\t\t\t\t\t\t} catch (e) {}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (key === name) {\n\t\t\t\t\t\tresult = cookie;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (!key) {\n\t\t\t\t\t\tresult[name] = cookie;\n\t\t\t\t\t}\n\t\t\t\t} catch (e) {}\n\t\t\t}\n\n\t\t\treturn result;\n\t\t}\n\n\t\tapi.set = api;\n\t\tapi.get = function (key) {\n\t\t\treturn api(key);\n\t\t};\n\t\tapi.getJSON = function () {\n\t\t\treturn api.apply({\n\t\t\t\tjson: true\n\t\t\t}, [].slice.call(arguments));\n\t\t};\n\t\tapi.defaults = {};\n\n\t\tapi.remove = function (key, attributes) {\n\t\t\tapi(key, '', extend(attributes, {\n\t\t\t\texpires: -1\n\t\t\t}));\n\t\t};\n\n\t\tapi.withConverter = init;\n\n\t\treturn api;\n\t}\n\n\treturn init(function () {});\n}));\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/js-cookie/src/js.cookie.js\n ** module id = 258\n ** module chunks = 0\n **/","var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n this.__data__ = new ListCache(entries);\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_Stack.js\n ** module id = 259\n ** module chunks = 0\n **/","var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_Symbol.js\n ** module id = 260\n ** module chunks = 0\n **/","var eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/6.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n object[key] = value;\n }\n}\n\nmodule.exports = assignValue;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_assignValue.js\n ** module id = 261\n ** module chunks = 0\n **/","var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_baseEach.js\n ** module id = 262\n ** module chunks = 0\n **/","var castPath = require('./_castPath'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = isKey(path, object) ? [path] : castPath(path);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_baseGet.js\n ** module id = 263\n ** module chunks = 0\n **/","var getPrototype = require('./_getPrototype');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHas(object, key) {\n // Avoid a bug in IE 10-11 where objects with a [[Prototype]] of `null`,\n // that are composed entirely of index properties, return `false` for\n // `hasOwnProperty` checks of them.\n return object != null &&\n (hasOwnProperty.call(object, key) ||\n (typeof object == 'object' && key in object && getPrototype(object) === null));\n}\n\nmodule.exports = baseHas;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_baseHas.js\n ** module id = 264\n ** module chunks = 0\n **/","var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to search.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n if (value !== value) {\n return baseFindIndex(array, baseIsNaN, fromIndex);\n }\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseIndexOf;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_baseIndexOf.js\n ** module id = 265\n ** module chunks = 0\n **/","var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_baseIteratee.js\n ** module id = 266\n ** module chunks = 0\n **/","/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_baseProperty.js\n ** module id = 267\n ** module chunks = 0\n **/","var Symbol = require('./_Symbol'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_baseToString.js\n ** module id = 268\n ** module chunks = 0\n **/","var isArray = require('./isArray'),\n stringToPath = require('./_stringToPath');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value) {\n return isArray(value) ? value : stringToPath(value);\n}\n\nmodule.exports = castPath;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_castPath.js\n ** module id = 269\n ** module chunks = 0\n **/","var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome');\n\n/** Used to compose bitmasks for comparison styles. */\nvar UNORDERED_COMPARE_FLAG = 1,\n PARTIAL_COMPARE_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Function} customizer The function to customize comparisons.\n * @param {number} bitmask The bitmask of comparison flags. See `baseIsEqual`\n * for more details.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, equalFunc, customizer, bitmask, stack) {\n var isPartial = bitmask & PARTIAL_COMPARE_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(array);\n if (stacked && stack.get(other)) {\n return stacked == other;\n }\n var index = -1,\n result = true,\n seen = (bitmask & UNORDERED_COMPARE_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!seen.has(othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, customizer, bitmask, stack))) {\n return seen.add(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, customizer, bitmask, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n return result;\n}\n\nmodule.exports = equalArrays;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_equalArrays.js\n ** module id = 270\n ** module chunks = 0\n **/","/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_freeGlobal.js\n ** module id = 271\n ** module chunks = 0\n **/","var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetPrototype = Object.getPrototypeOf;\n\n/**\n * Gets the `[[Prototype]]` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {null|Object} Returns the `[[Prototype]]`.\n */\nvar getPrototype = overArg(nativeGetPrototype, Object);\n\nmodule.exports = getPrototype;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_getPrototype.js\n ** module id = 272\n ** module chunks = 0\n **/","/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_isPrototype.js\n ** module id = 273\n ** module chunks = 0\n **/","var isObject = require('./isObject');\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_isStrictComparable.js\n ** module id = 274\n ** module chunks = 0\n **/","/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_matchesStrictComparable.js\n ** module id = 275\n ** module chunks = 0\n **/","/**\n * Creates a function that invokes `func` with its first argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_overArg.js\n ** module id = 276\n ** module chunks = 0\n **/","/** Used to resolve the decompiled source of functions. */\nvar funcToString = Function.prototype.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to process.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/_toSource.js\n ** module id = 277\n ** module chunks = 0\n **/","var assignValue = require('./_assignValue'),\n copyObject = require('./_copyObject'),\n createAssigner = require('./_createAssigner'),\n isArrayLike = require('./isArrayLike'),\n isPrototype = require('./_isPrototype'),\n keys = require('./keys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/** Detect if properties shadowing those on `Object.prototype` are non-enumerable. */\nvar nonEnumShadows = !propertyIsEnumerable.call({ 'valueOf': 1 }, 'valueOf');\n\n/**\n * Assigns own enumerable string keyed properties of source objects to the\n * destination object. Source objects are applied from left to right.\n * Subsequent sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object` and is loosely based on\n * [`Object.assign`](https://mdn.io/Object/assign).\n *\n * @static\n * @memberOf _\n * @since 0.10.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.assignIn\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * function Bar() {\n * this.c = 3;\n * }\n *\n * Foo.prototype.b = 2;\n * Bar.prototype.d = 4;\n *\n * _.assign({ 'a': 0 }, new Foo, new Bar);\n * // => { 'a': 1, 'c': 3 }\n */\nvar assign = createAssigner(function(object, source) {\n if (nonEnumShadows || isPrototype(source) || isArrayLike(source)) {\n copyObject(source, keys(source), object);\n return;\n }\n for (var key in source) {\n if (hasOwnProperty.call(source, key)) {\n assignValue(object, key, source[key]);\n }\n }\n});\n\nmodule.exports = assign;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/assign.js\n ** module id = 278\n ** module chunks = 0\n **/","var isArrayLikeObject = require('./isArrayLikeObject');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nfunction isArguments(value) {\n // Safari 8.1 incorrectly makes `arguments.callee` enumerable in strict mode.\n return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&\n (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);\n}\n\nmodule.exports = isArguments;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/isArguments.js\n ** module id = 279\n ** module chunks = 0\n **/","var isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar objectToString = objectProto.toString;\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && objectToString.call(value) == stringTag);\n}\n\nmodule.exports = isString;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/isString.js\n ** module id = 280\n ** module chunks = 0\n **/","var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/lodash/toString.js\n ** module id = 281\n ** module chunks = 0\n **/","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _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; }; }();\n\nvar _isObject = require('lodash/isObject');\n\nvar _isObject2 = _interopRequireDefault(_isObject);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar UnionSchema = function () {\n function UnionSchema(itemSchema, options) {\n _classCallCheck(this, UnionSchema);\n\n if (!(0, _isObject2.default)(itemSchema)) {\n throw new Error('UnionSchema requires item schema to be an object.');\n }\n\n if (!options || !options.schemaAttribute) {\n throw new Error('UnionSchema requires schemaAttribute option.');\n }\n\n this._itemSchema = itemSchema;\n\n var schemaAttribute = options.schemaAttribute;\n this._getSchema = typeof schemaAttribute === 'function' ? schemaAttribute : function (x) {\n return x[schemaAttribute];\n };\n }\n\n _createClass(UnionSchema, [{\n key: 'getItemSchema',\n value: function getItemSchema() {\n return this._itemSchema;\n }\n }, {\n key: 'getSchemaKey',\n value: function getSchemaKey(item) {\n return this._getSchema(item);\n }\n }]);\n\n return UnionSchema;\n}();\n\nexports.default = UnionSchema;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/normalizr/lib/UnionSchema.js\n ** module id = 282\n ** module chunks = 0\n **/","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Schema = undefined;\n\nvar _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; };\n\nexports.arrayOf = arrayOf;\nexports.valuesOf = valuesOf;\nexports.unionOf = unionOf;\nexports.normalize = normalize;\n\nvar _EntitySchema = require('./EntitySchema');\n\nvar _EntitySchema2 = _interopRequireDefault(_EntitySchema);\n\nvar _IterableSchema = require('./IterableSchema');\n\nvar _IterableSchema2 = _interopRequireDefault(_IterableSchema);\n\nvar _UnionSchema = require('./UnionSchema');\n\nvar _UnionSchema2 = _interopRequireDefault(_UnionSchema);\n\nvar _isEqual = require('lodash/isEqual');\n\nvar _isEqual2 = _interopRequireDefault(_isEqual);\n\nvar _isObject = require('lodash/isObject');\n\nvar _isObject2 = _interopRequireDefault(_isObject);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction defaultAssignEntity(normalized, key, entity) {\n normalized[key] = entity;\n}\n\nfunction visitObject(obj, schema, bag, options) {\n var _options$assignEntity = options.assignEntity;\n var assignEntity = _options$assignEntity === undefined ? defaultAssignEntity : _options$assignEntity;\n\n\n var defaults = schema && schema.getDefaults && schema.getDefaults();\n var schemaAssignEntity = schema && schema.getAssignEntity && schema.getAssignEntity();\n var normalized = (0, _isObject2.default)(defaults) ? _extends({}, defaults) : {};\n for (var key in obj) {\n if (obj.hasOwnProperty(key)) {\n var entity = visit(obj[key], schema[key], bag, options);\n assignEntity.call(null, normalized, key, entity, obj, schema);\n if (schemaAssignEntity) {\n schemaAssignEntity.call(null, normalized, key, entity, obj, schema);\n }\n }\n }\n return normalized;\n}\n\nfunction defaultMapper(iterableSchema, itemSchema, bag, options) {\n return function (obj) {\n return visit(obj, itemSchema, bag, options);\n };\n}\n\nfunction polymorphicMapper(iterableSchema, itemSchema, bag, options) {\n return function (obj) {\n var schemaKey = iterableSchema.getSchemaKey(obj);\n var result = visit(obj, itemSchema[schemaKey], bag, options);\n return { id: result, schema: schemaKey };\n };\n}\n\nfunction visitIterable(obj, iterableSchema, bag, options) {\n var itemSchema = iterableSchema.getItemSchema();\n var curriedItemMapper = defaultMapper(iterableSchema, itemSchema, bag, options);\n\n if (Array.isArray(obj)) {\n return obj.map(curriedItemMapper);\n } else {\n return Object.keys(obj).reduce(function (objMap, key) {\n objMap[key] = curriedItemMapper(obj[key]);\n return objMap;\n }, {});\n }\n}\n\nfunction visitUnion(obj, unionSchema, bag, options) {\n var itemSchema = unionSchema.getItemSchema();\n return polymorphicMapper(unionSchema, itemSchema, bag, options)(obj);\n}\n\nfunction defaultMergeIntoEntity(entityA, entityB, entityKey) {\n for (var key in entityB) {\n if (!entityB.hasOwnProperty(key)) {\n continue;\n }\n\n if (!entityA.hasOwnProperty(key) || (0, _isEqual2.default)(entityA[key], entityB[key])) {\n entityA[key] = entityB[key];\n continue;\n }\n\n console.warn('When merging two ' + entityKey + ', found unequal data in their \"' + key + '\" values. Using the earlier value.', entityA[key], entityB[key]);\n }\n}\n\nfunction visitEntity(entity, entitySchema, bag, options) {\n var _options$mergeIntoEnt = options.mergeIntoEntity;\n var mergeIntoEntity = _options$mergeIntoEnt === undefined ? defaultMergeIntoEntity : _options$mergeIntoEnt;\n\n\n var entityKey = entitySchema.getKey();\n var id = entitySchema.getId(entity);\n\n if (!bag.hasOwnProperty(entityKey)) {\n bag[entityKey] = {};\n }\n\n if (!bag[entityKey].hasOwnProperty(id)) {\n bag[entityKey][id] = {};\n }\n\n var stored = bag[entityKey][id];\n var normalized = visitObject(entity, entitySchema, bag, options);\n mergeIntoEntity(stored, normalized, entityKey);\n\n return id;\n}\n\nfunction visit(obj, schema, bag, options) {\n if (!(0, _isObject2.default)(obj) || !(0, _isObject2.default)(schema)) {\n return obj;\n }\n\n if (schema instanceof _EntitySchema2.default) {\n return visitEntity(obj, schema, bag, options);\n } else if (schema instanceof _IterableSchema2.default) {\n return visitIterable(obj, schema, bag, options);\n } else if (schema instanceof _UnionSchema2.default) {\n return visitUnion(obj, schema, bag, options);\n } else {\n return visitObject(obj, schema, bag, options);\n }\n}\n\nfunction arrayOf(schema, options) {\n return new _IterableSchema2.default(schema, options);\n}\n\nfunction valuesOf(schema, options) {\n return new _IterableSchema2.default(schema, options);\n}\n\nfunction unionOf(schema, options) {\n return new _UnionSchema2.default(schema, options);\n}\n\nexports.Schema = _EntitySchema2.default;\nfunction normalize(obj, schema) {\n var options = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\n if (!(0, _isObject2.default)(obj)) {\n throw new Error('Normalize accepts an object or an array as its input.');\n }\n\n if (!(0, _isObject2.default)(schema) || Array.isArray(schema)) {\n throw new Error('Normalize accepts an object for schema.');\n }\n\n var bag = {};\n var result = visit(obj, schema, bag, options);\n\n return {\n entities: bag,\n result: result\n };\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/normalizr/lib/index.js\n ** module id = 283\n ** module chunks = 0\n **/","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _isObject2 = require('lodash/isObject');\n\nvar _isObject3 = _interopRequireDefault(_isObject2);\n\nvar _isArray2 = require('lodash/isArray');\n\nvar _isArray3 = _interopRequireDefault(_isArray2);\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _objectUnfreeze = require('object-unfreeze');\n\nvar _objectUnfreeze2 = _interopRequireDefault(_objectUnfreeze);\n\nvar _isIterable = require('./isIterable');\n\nvar _isIterable2 = _interopRequireDefault(_isIterable);\n\nvar _parseStyleName = require('./parseStyleName');\n\nvar _parseStyleName2 = _interopRequireDefault(_parseStyleName);\n\nvar _generateAppendClassName = require('./generateAppendClassName');\n\nvar _generateAppendClassName2 = _interopRequireDefault(_generateAppendClassName);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar linkElement = function linkElement(element, styles, configuration) {\n var appendClassName = void 0,\n elementIsFrozen = void 0,\n elementShallowCopy = void 0;\n\n elementShallowCopy = element;\n\n if (Object.isFrozen && Object.isFrozen(elementShallowCopy)) {\n elementIsFrozen = true;\n\n // https://github.com/facebook/react/blob/v0.13.3/src/classic/element/ReactElement.js#L131\n elementShallowCopy = (0, _objectUnfreeze2.default)(elementShallowCopy);\n elementShallowCopy.props = (0, _objectUnfreeze2.default)(elementShallowCopy.props);\n }\n\n var styleNames = (0, _parseStyleName2.default)(elementShallowCopy.props.styleName || '', configuration.allowMultiple);\n\n if (_react2.default.isValidElement(elementShallowCopy.props.children)) {\n elementShallowCopy.props.children = linkElement(_react2.default.Children.only(elementShallowCopy.props.children), styles, configuration);\n } else if ((0, _isArray3.default)(elementShallowCopy.props.children) || (0, _isIterable2.default)(elementShallowCopy.props.children)) {\n elementShallowCopy.props.children = _react2.default.Children.map(elementShallowCopy.props.children, function (node) {\n if (_react2.default.isValidElement(node)) {\n return linkElement(node, styles, configuration);\n } else {\n return node;\n }\n });\n }\n\n if (styleNames.length) {\n appendClassName = (0, _generateAppendClassName2.default)(styles, styleNames, configuration.errorWhenNotFound);\n\n if (appendClassName) {\n if (elementShallowCopy.props.className) {\n appendClassName = elementShallowCopy.props.className + ' ' + appendClassName;\n }\n\n elementShallowCopy.props.className = appendClassName;\n }\n }\n\n delete elementShallowCopy.props.styleName;\n\n if (elementIsFrozen) {\n Object.freeze(elementShallowCopy.props);\n Object.freeze(elementShallowCopy);\n }\n\n return elementShallowCopy;\n};\n\n/**\n * @param {ReactElement} element\n * @param {Object} styles CSS modules class map.\n * @param {CSSModules~Options} configuration\n */\n\nexports.default = function (element) {\n var styles = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n var configuration = arguments.length <= 2 || arguments[2] === undefined ? {} : arguments[2];\n\n // @see https://github.com/gajus/react-css-modules/pull/30\n if (!(0, _isObject3.default)(element)) {\n return element;\n }\n\n return linkElement(element, styles, configuration);\n};\n\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-css-modules/dist/linkClass.js\n ** module id = 284\n ** module chunks = 0\n **/","'use strict';\n\nmodule.exports = require('react/lib/ReactDOM');\n\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-dom/index.js\n ** module id = 285\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nvar _react = require('react');\n\nexports[\"default\"] = _react.PropTypes.shape({\n subscribe: _react.PropTypes.func.isRequired,\n dispatch: _react.PropTypes.func.isRequired,\n getState: _react.PropTypes.func.isRequired\n});\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-redux/lib/utils/storeShape.js\n ** module id = 286\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports[\"default\"] = warning;\n/**\n * Prints a warning in the console if it exists.\n *\n * @param {String} message The warning message.\n * @returns {void}\n */\nfunction warning(message) {\n /* eslint-disable no-console */\n if (typeof console !== 'undefined' && typeof console.error === 'function') {\n console.error(message);\n }\n /* eslint-enable no-console */\n try {\n // This error was thrown as a convenience so that you can use this stack\n // to find the callsite that caused this warning to fire.\n throw new Error(message);\n /* eslint-disable no-empty */\n } catch (e) {}\n /* eslint-enable no-empty */\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-redux/lib/utils/warning.js\n ** module id = 287\n ** module chunks = 0\n **/","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/**\n * This action type will be dispatched by the history actions below.\n * If you're writing a middleware to watch for navigation events, be sure to\n * look for actions of this type.\n */\nvar CALL_HISTORY_METHOD = exports.CALL_HISTORY_METHOD = '@@router/CALL_HISTORY_METHOD';\n\nfunction updateLocation(method) {\n return function () {\n for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return {\n type: CALL_HISTORY_METHOD,\n payload: { method: method, args: args }\n };\n };\n}\n\n/**\n * These actions correspond to the history API.\n * The associated routerMiddleware will capture these events before they get to\n * your reducer and reissue them as the matching function on your history.\n */\nvar push = exports.push = updateLocation('push');\nvar replace = exports.replace = updateLocation('replace');\nvar go = exports.go = updateLocation('go');\nvar goBack = exports.goBack = updateLocation('goBack');\nvar goForward = exports.goForward = updateLocation('goForward');\n\nvar routerActions = exports.routerActions = { push: push, replace: replace, go: go, goBack: goBack, goForward: goForward };\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router-redux/lib/actions.js\n ** module id = 288\n ** module chunks = 0\n **/","'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar _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; };\n\nexports.routerReducer = routerReducer;\n/**\n * This action type will be dispatched when your history\n * receives a location change.\n */\nvar LOCATION_CHANGE = exports.LOCATION_CHANGE = '@@router/LOCATION_CHANGE';\n\nvar initialState = {\n locationBeforeTransitions: null\n};\n\n/**\n * This reducer will update the state with the most recent location history\n * has transitioned to. This may not be in sync with the router, particularly\n * if you have asynchronously-loaded routes, so reading from and relying on\n * this state is discouraged.\n */\nfunction routerReducer() {\n var state = arguments.length <= 0 || arguments[0] === undefined ? initialState : arguments[0];\n\n var _ref = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n var type = _ref.type;\n var payload = _ref.payload;\n\n if (type === LOCATION_CHANGE) {\n return _extends({}, state, { locationBeforeTransitions: payload });\n }\n\n return state;\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router-redux/lib/reducer.js\n ** module id = 289\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nvar _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; };\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _routerWarning = require('./routerWarning');\n\nvar _routerWarning2 = _interopRequireDefault(_routerWarning);\n\nvar _invariant = require('invariant');\n\nvar _invariant2 = _interopRequireDefault(_invariant);\n\nvar _PropTypes = require('./PropTypes');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _objectWithoutProperties(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; }\n\nvar _React$PropTypes = _react2.default.PropTypes;\nvar bool = _React$PropTypes.bool;\nvar object = _React$PropTypes.object;\nvar string = _React$PropTypes.string;\nvar func = _React$PropTypes.func;\nvar oneOfType = _React$PropTypes.oneOfType;\n\n\nfunction isLeftClickEvent(event) {\n return event.button === 0;\n}\n\nfunction isModifiedEvent(event) {\n return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);\n}\n\n// TODO: De-duplicate against hasAnyProperties in createTransitionManager.\nfunction isEmptyObject(object) {\n for (var p in object) {\n if (Object.prototype.hasOwnProperty.call(object, p)) return false;\n }return true;\n}\n\nfunction createLocationDescriptor(to, _ref) {\n var query = _ref.query;\n var hash = _ref.hash;\n var state = _ref.state;\n\n if (query || hash || state) {\n return { pathname: to, query: query, hash: hash, state: state };\n }\n\n return to;\n}\n\n/**\n * A is used to create an element that links to a route.\n * When that route is active, the link gets the value of its\n * activeClassName prop.\n *\n * For example, assuming you have the following route:\n *\n * \n *\n * You could use the following component to link to that route:\n *\n * \n *\n * Links may pass along location state and/or query string parameters\n * in the state/query props, respectively.\n *\n * \n */\nvar Link = _react2.default.createClass({\n displayName: 'Link',\n\n\n contextTypes: {\n router: _PropTypes.routerShape\n },\n\n propTypes: {\n to: oneOfType([string, object]).isRequired,\n query: object,\n hash: string,\n state: object,\n activeStyle: object,\n activeClassName: string,\n onlyActiveOnIndex: bool.isRequired,\n onClick: func,\n target: string\n },\n\n getDefaultProps: function getDefaultProps() {\n return {\n onlyActiveOnIndex: false,\n style: {}\n };\n },\n handleClick: function handleClick(event) {\n if (this.props.onClick) this.props.onClick(event);\n\n if (event.defaultPrevented) return;\n\n !this.context.router ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, ' s rendered outside of a router context cannot navigate.') : (0, _invariant2.default)(false) : void 0;\n\n if (isModifiedEvent(event) || !isLeftClickEvent(event)) return;\n\n // If target prop is set (e.g. to \"_blank\"), let browser handle link.\n /* istanbul ignore if: untestable with Karma */\n if (this.props.target) return;\n\n event.preventDefault();\n\n var _props = this.props;\n var to = _props.to;\n var query = _props.query;\n var hash = _props.hash;\n var state = _props.state;\n\n var location = createLocationDescriptor(to, { query: query, hash: hash, state: state });\n\n this.context.router.push(location);\n },\n render: function render() {\n var _props2 = this.props;\n var to = _props2.to;\n var query = _props2.query;\n var hash = _props2.hash;\n var state = _props2.state;\n var activeClassName = _props2.activeClassName;\n var activeStyle = _props2.activeStyle;\n var onlyActiveOnIndex = _props2.onlyActiveOnIndex;\n\n var props = _objectWithoutProperties(_props2, ['to', 'query', 'hash', 'state', 'activeClassName', 'activeStyle', 'onlyActiveOnIndex']);\n\n process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(!(query || hash || state), 'the `query`, `hash`, and `state` props on ` ` are deprecated, use ` . http://tiny.cc/router-isActivedeprecated') : void 0;\n\n // Ignore if rendered outside the context of router, simplifies unit testing.\n var router = this.context.router;\n\n\n if (router) {\n var location = createLocationDescriptor(to, { query: query, hash: hash, state: state });\n props.href = router.createHref(location);\n\n if (activeClassName || activeStyle != null && !isEmptyObject(activeStyle)) {\n if (router.isActive(location, onlyActiveOnIndex)) {\n if (activeClassName) {\n if (props.className) {\n props.className += ' ' + activeClassName;\n } else {\n props.className = activeClassName;\n }\n }\n\n if (activeStyle) props.style = _extends({}, props.style, activeStyle);\n }\n }\n }\n\n return _react2.default.createElement('a', _extends({}, props, { onClick: this.handleClick }));\n }\n});\n\nexports.default = Link;\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/Link.js\n ** module id = 290\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _invariant = require('invariant');\n\nvar _invariant2 = _interopRequireDefault(_invariant);\n\nvar _RouteUtils = require('./RouteUtils');\n\nvar _PatternUtils = require('./PatternUtils');\n\nvar _InternalPropTypes = require('./InternalPropTypes');\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar _React$PropTypes = _react2.default.PropTypes;\nvar string = _React$PropTypes.string;\nvar object = _React$PropTypes.object;\n\n/**\n * A is used to declare another URL path a client should\n * be sent to when they request a given URL.\n *\n * Redirects are placed alongside routes in the route configuration\n * and are traversed in the same manner.\n */\n\nvar Redirect = _react2.default.createClass({\n displayName: 'Redirect',\n\n\n statics: {\n createRouteFromReactElement: function createRouteFromReactElement(element) {\n var route = (0, _RouteUtils.createRouteFromReactElement)(element);\n\n if (route.from) route.path = route.from;\n\n route.onEnter = function (nextState, replace) {\n var location = nextState.location;\n var params = nextState.params;\n\n\n var pathname = void 0;\n if (route.to.charAt(0) === '/') {\n pathname = (0, _PatternUtils.formatPattern)(route.to, params);\n } else if (!route.to) {\n pathname = location.pathname;\n } else {\n var routeIndex = nextState.routes.indexOf(route);\n var parentPattern = Redirect.getRoutePattern(nextState.routes, routeIndex - 1);\n var pattern = parentPattern.replace(/\\/*$/, '/') + route.to;\n pathname = (0, _PatternUtils.formatPattern)(pattern, params);\n }\n\n replace({\n pathname: pathname,\n query: route.query || location.query,\n state: route.state || location.state\n });\n };\n\n return route;\n },\n getRoutePattern: function getRoutePattern(routes, routeIndex) {\n var parentPattern = '';\n\n for (var i = routeIndex; i >= 0; i--) {\n var route = routes[i];\n var pattern = route.path || '';\n\n parentPattern = pattern.replace(/\\/*$/, '/') + parentPattern;\n\n if (pattern.indexOf('/') === 0) break;\n }\n\n return '/' + parentPattern;\n }\n },\n\n propTypes: {\n path: string,\n from: string, // Alias for path\n to: string.isRequired,\n query: object,\n state: object,\n onEnter: _InternalPropTypes.falsy,\n children: _InternalPropTypes.falsy\n },\n\n /* istanbul ignore next: sanity check */\n render: function render() {\n !false ? process.env.NODE_ENV !== 'production' ? (0, _invariant2.default)(false, ' elements are for router configuration only and should not be rendered') : (0, _invariant2.default)(false) : void 0;\n }\n});\n\nexports.default = Redirect;\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/Redirect.js\n ** module id = 291\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nvar _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; };\n\nexports.createRouterObject = createRouterObject;\nexports.createRoutingHistory = createRoutingHistory;\n\nvar _deprecateObjectProperties = require('./deprecateObjectProperties');\n\nvar _deprecateObjectProperties2 = _interopRequireDefault(_deprecateObjectProperties);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction createRouterObject(history, transitionManager) {\n return _extends({}, history, {\n setRouteLeaveHook: transitionManager.listenBeforeLeavingRoute,\n isActive: transitionManager.isActive\n });\n}\n\n// deprecated\nfunction createRoutingHistory(history, transitionManager) {\n history = _extends({}, history, transitionManager);\n\n if (process.env.NODE_ENV !== 'production') {\n history = (0, _deprecateObjectProperties2.default)(history, '`props.history` and `context.history` are deprecated. Please use `context.router`. http://tiny.cc/router-contextchanges');\n }\n\n return history;\n}\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/RouterUtils.js\n ** module id = 292\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports.default = createMemoryHistory;\n\nvar _useQueries = require('history/lib/useQueries');\n\nvar _useQueries2 = _interopRequireDefault(_useQueries);\n\nvar _useBasename = require('history/lib/useBasename');\n\nvar _useBasename2 = _interopRequireDefault(_useBasename);\n\nvar _createMemoryHistory = require('history/lib/createMemoryHistory');\n\nvar _createMemoryHistory2 = _interopRequireDefault(_createMemoryHistory);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction createMemoryHistory(options) {\n // signatures and type checking differ between `useRoutes` and\n // `createMemoryHistory`, have to create `memoryHistory` first because\n // `useQueries` doesn't understand the signature\n var memoryHistory = (0, _createMemoryHistory2.default)(options);\n var createHistory = function createHistory() {\n return memoryHistory;\n };\n var history = (0, _useQueries2.default)((0, _useBasename2.default)(createHistory))(options);\n history.__v2_compatible__ = true;\n return history;\n}\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/createMemoryHistory.js\n ** module id = 293\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nexports.default = function (createHistory) {\n var history = void 0;\n if (canUseDOM) history = (0, _useRouterHistory2.default)(createHistory)();\n return history;\n};\n\nvar _useRouterHistory = require('./useRouterHistory');\n\nvar _useRouterHistory2 = _interopRequireDefault(_useRouterHistory);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/createRouterHistory.js\n ** module id = 294\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\n\nvar _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; };\n\nexports.default = makeStateWithLocation;\n\nvar _deprecateObjectProperties = require('./deprecateObjectProperties');\n\nvar _routerWarning = require('./routerWarning');\n\nvar _routerWarning2 = _interopRequireDefault(_routerWarning);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction makeStateWithLocation(state, location) {\n if (process.env.NODE_ENV !== 'production' && _deprecateObjectProperties.canUseMembrane) {\n var stateWithLocation = _extends({}, state);\n\n // I don't use deprecateObjectProperties here because I want to keep the\n // same code path between development and production, in that we just\n // assign extra properties to the copy of the state object in both cases.\n\n var _loop = function _loop(prop) {\n if (!Object.prototype.hasOwnProperty.call(location, prop)) {\n return 'continue';\n }\n\n Object.defineProperty(stateWithLocation, prop, {\n get: function get() {\n process.env.NODE_ENV !== 'production' ? (0, _routerWarning2.default)(false, 'Accessing location properties directly from the first argument to `getComponent`, `getComponents`, `getChildRoutes`, and `getIndexRoute` is deprecated. That argument is now the router state (`nextState` or `partialNextState`) rather than the location. To access the location, use `nextState.location` or `partialNextState.location`.') : void 0;\n return location[prop];\n }\n });\n };\n\n for (var prop in location) {\n var _ret = _loop(prop);\n\n if (_ret === 'continue') continue;\n }\n\n return stateWithLocation;\n }\n\n return _extends({}, state, location);\n}\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/makeStateWithLocation.js\n ** module id = 295\n ** module chunks = 0\n **/","'use strict';\n\nexports.__esModule = true;\nexports.default = useRouterHistory;\n\nvar _useQueries = require('history/lib/useQueries');\n\nvar _useQueries2 = _interopRequireDefault(_useQueries);\n\nvar _useBasename = require('history/lib/useBasename');\n\nvar _useBasename2 = _interopRequireDefault(_useBasename);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction useRouterHistory(createHistory) {\n return function (options) {\n var history = (0, _useQueries2.default)((0, _useBasename2.default)(createHistory))(options);\n history.__v2_compatible__ = true;\n return history;\n };\n}\nmodule.exports = exports['default'];\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react-router/lib/useRouterHistory.js\n ** module id = 296\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule CSSProperty\n */\n\n'use strict';\n\n/**\n * CSS properties which accept numbers but are not in units of \"px\".\n */\n\nvar isUnitlessNumber = {\n animationIterationCount: true,\n borderImageOutset: true,\n borderImageSlice: true,\n borderImageWidth: true,\n boxFlex: true,\n boxFlexGroup: true,\n boxOrdinalGroup: true,\n columnCount: true,\n flex: true,\n flexGrow: true,\n flexPositive: true,\n flexShrink: true,\n flexNegative: true,\n flexOrder: true,\n gridRow: true,\n gridColumn: true,\n fontWeight: true,\n lineClamp: true,\n lineHeight: true,\n opacity: true,\n order: true,\n orphans: true,\n tabSize: true,\n widows: true,\n zIndex: true,\n zoom: true,\n\n // SVG-related properties\n fillOpacity: true,\n floodOpacity: true,\n stopOpacity: true,\n strokeDasharray: true,\n strokeDashoffset: true,\n strokeMiterlimit: true,\n strokeOpacity: true,\n strokeWidth: true\n};\n\n/**\n * @param {string} prefix vendor-specific prefix, eg: Webkit\n * @param {string} key style name, eg: transitionDuration\n * @return {string} style name prefixed with `prefix`, properly camelCased, eg:\n * WebkitTransitionDuration\n */\nfunction prefixKey(prefix, key) {\n return prefix + key.charAt(0).toUpperCase() + key.substring(1);\n}\n\n/**\n * Support style names that may come passed in prefixed by adding permutations\n * of vendor prefixes.\n */\nvar prefixes = ['Webkit', 'ms', 'Moz', 'O'];\n\n// Using Object.keys here, or else the vanilla for-in loop makes IE8 go into an\n// infinite loop, because it iterates over the newly added props too.\nObject.keys(isUnitlessNumber).forEach(function (prop) {\n prefixes.forEach(function (prefix) {\n isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop];\n });\n});\n\n/**\n * Most style properties can be unset by doing .style[prop] = '' but IE8\n * doesn't like doing that with shorthand properties so for the properties that\n * IE8 breaks on, which are listed here, we instead unset each of the\n * individual properties. See http://bugs.jquery.com/ticket/12385.\n * The 4-value 'clock' properties like margin, padding, border-width seem to\n * behave without any problems. Curiously, list-style works too without any\n * special prodding.\n */\nvar shorthandPropertyExpansions = {\n background: {\n backgroundAttachment: true,\n backgroundColor: true,\n backgroundImage: true,\n backgroundPositionX: true,\n backgroundPositionY: true,\n backgroundRepeat: true\n },\n backgroundPosition: {\n backgroundPositionX: true,\n backgroundPositionY: true\n },\n border: {\n borderWidth: true,\n borderStyle: true,\n borderColor: true\n },\n borderBottom: {\n borderBottomWidth: true,\n borderBottomStyle: true,\n borderBottomColor: true\n },\n borderLeft: {\n borderLeftWidth: true,\n borderLeftStyle: true,\n borderLeftColor: true\n },\n borderRight: {\n borderRightWidth: true,\n borderRightStyle: true,\n borderRightColor: true\n },\n borderTop: {\n borderTopWidth: true,\n borderTopStyle: true,\n borderTopColor: true\n },\n font: {\n fontStyle: true,\n fontVariant: true,\n fontWeight: true,\n fontSize: true,\n lineHeight: true,\n fontFamily: true\n },\n outline: {\n outlineWidth: true,\n outlineStyle: true,\n outlineColor: true\n }\n};\n\nvar CSSProperty = {\n isUnitlessNumber: isUnitlessNumber,\n shorthandPropertyExpansions: shorthandPropertyExpansions\n};\n\nmodule.exports = CSSProperty;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/CSSProperty.js\n ** module id = 297\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule CallbackQueue\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar PooledClass = require('./PooledClass');\n\nvar invariant = require('fbjs/lib/invariant');\n\n/**\n * A specialized pseudo-event module to help keep track of components waiting to\n * be notified when their DOM representations are available for use.\n *\n * This implements `PooledClass`, so you should never need to instantiate this.\n * Instead, use `CallbackQueue.getPooled()`.\n *\n * @class ReactMountReady\n * @implements PooledClass\n * @internal\n */\nfunction CallbackQueue() {\n this._callbacks = null;\n this._contexts = null;\n}\n\n_assign(CallbackQueue.prototype, {\n\n /**\n * Enqueues a callback to be invoked when `notifyAll` is invoked.\n *\n * @param {function} callback Invoked when `notifyAll` is invoked.\n * @param {?object} context Context to call `callback` with.\n * @internal\n */\n enqueue: function (callback, context) {\n this._callbacks = this._callbacks || [];\n this._contexts = this._contexts || [];\n this._callbacks.push(callback);\n this._contexts.push(context);\n },\n\n /**\n * Invokes all enqueued callbacks and clears the queue. This is invoked after\n * the DOM representation of a component has been created or updated.\n *\n * @internal\n */\n notifyAll: function () {\n var callbacks = this._callbacks;\n var contexts = this._contexts;\n if (callbacks) {\n !(callbacks.length === contexts.length) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'Mismatched list of contexts in callback queue') : _prodInvariant('24') : void 0;\n this._callbacks = null;\n this._contexts = null;\n for (var i = 0; i < callbacks.length; i++) {\n callbacks[i].call(contexts[i]);\n }\n callbacks.length = 0;\n contexts.length = 0;\n }\n },\n\n checkpoint: function () {\n return this._callbacks ? this._callbacks.length : 0;\n },\n\n rollback: function (len) {\n if (this._callbacks) {\n this._callbacks.length = len;\n this._contexts.length = len;\n }\n },\n\n /**\n * Resets the internal queue.\n *\n * @internal\n */\n reset: function () {\n this._callbacks = null;\n this._contexts = null;\n },\n\n /**\n * `PooledClass` looks for this.\n */\n destructor: function () {\n this.reset();\n }\n\n});\n\nPooledClass.addPoolingTo(CallbackQueue);\n\nmodule.exports = CallbackQueue;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/CallbackQueue.js\n ** module id = 298\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule DOMPropertyOperations\n */\n\n'use strict';\n\nvar DOMProperty = require('./DOMProperty');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactDOMInstrumentation = require('./ReactDOMInstrumentation');\nvar ReactInstrumentation = require('./ReactInstrumentation');\n\nvar quoteAttributeValueForBrowser = require('./quoteAttributeValueForBrowser');\nvar warning = require('fbjs/lib/warning');\n\nvar VALID_ATTRIBUTE_NAME_REGEX = new RegExp('^[' + DOMProperty.ATTRIBUTE_NAME_START_CHAR + '][' + DOMProperty.ATTRIBUTE_NAME_CHAR + ']*$');\nvar illegalAttributeNameCache = {};\nvar validatedAttributeNameCache = {};\n\nfunction isAttributeNameSafe(attributeName) {\n if (validatedAttributeNameCache.hasOwnProperty(attributeName)) {\n return true;\n }\n if (illegalAttributeNameCache.hasOwnProperty(attributeName)) {\n return false;\n }\n if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) {\n validatedAttributeNameCache[attributeName] = true;\n return true;\n }\n illegalAttributeNameCache[attributeName] = true;\n process.env.NODE_ENV !== 'production' ? warning(false, 'Invalid attribute name: `%s`', attributeName) : void 0;\n return false;\n}\n\nfunction shouldIgnoreValue(propertyInfo, value) {\n return value == null || propertyInfo.hasBooleanValue && !value || propertyInfo.hasNumericValue && isNaN(value) || propertyInfo.hasPositiveNumericValue && value < 1 || propertyInfo.hasOverloadedBooleanValue && value === false;\n}\n\n/**\n * Operations for dealing with DOM properties.\n */\nvar DOMPropertyOperations = {\n\n /**\n * Creates markup for the ID property.\n *\n * @param {string} id Unescaped ID.\n * @return {string} Markup string.\n */\n createMarkupForID: function (id) {\n return DOMProperty.ID_ATTRIBUTE_NAME + '=' + quoteAttributeValueForBrowser(id);\n },\n\n setAttributeForID: function (node, id) {\n node.setAttribute(DOMProperty.ID_ATTRIBUTE_NAME, id);\n },\n\n createMarkupForRoot: function () {\n return DOMProperty.ROOT_ATTRIBUTE_NAME + '=\"\"';\n },\n\n setAttributeForRoot: function (node) {\n node.setAttribute(DOMProperty.ROOT_ATTRIBUTE_NAME, '');\n },\n\n /**\n * Creates markup for a property.\n *\n * @param {string} name\n * @param {*} value\n * @return {?string} Markup string, or null if the property was invalid.\n */\n createMarkupForProperty: function (name, value) {\n if (process.env.NODE_ENV !== 'production') {\n ReactDOMInstrumentation.debugTool.onCreateMarkupForProperty(name, value);\n }\n var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n if (propertyInfo) {\n if (shouldIgnoreValue(propertyInfo, value)) {\n return '';\n }\n var attributeName = propertyInfo.attributeName;\n if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) {\n return attributeName + '=\"\"';\n }\n return attributeName + '=' + quoteAttributeValueForBrowser(value);\n } else if (DOMProperty.isCustomAttribute(name)) {\n if (value == null) {\n return '';\n }\n return name + '=' + quoteAttributeValueForBrowser(value);\n }\n return null;\n },\n\n /**\n * Creates markup for a custom property.\n *\n * @param {string} name\n * @param {*} value\n * @return {string} Markup string, or empty string if the property was invalid.\n */\n createMarkupForCustomAttribute: function (name, value) {\n if (!isAttributeNameSafe(name) || value == null) {\n return '';\n }\n return name + '=' + quoteAttributeValueForBrowser(value);\n },\n\n /**\n * Sets the value for a property on a node.\n *\n * @param {DOMElement} node\n * @param {string} name\n * @param {*} value\n */\n setValueForProperty: function (node, name, value) {\n var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n if (propertyInfo) {\n var mutationMethod = propertyInfo.mutationMethod;\n if (mutationMethod) {\n mutationMethod(node, value);\n } else if (shouldIgnoreValue(propertyInfo, value)) {\n this.deleteValueForProperty(node, name);\n return;\n } else if (propertyInfo.mustUseProperty) {\n // Contrary to `setAttribute`, object properties are properly\n // `toString`ed by IE8/9.\n node[propertyInfo.propertyName] = value;\n } else {\n var attributeName = propertyInfo.attributeName;\n var namespace = propertyInfo.attributeNamespace;\n // `setAttribute` with objects becomes only `[object]` in IE8/9,\n // ('' + value) makes it output the correct toString()-value.\n if (namespace) {\n node.setAttributeNS(namespace, attributeName, '' + value);\n } else if (propertyInfo.hasBooleanValue || propertyInfo.hasOverloadedBooleanValue && value === true) {\n node.setAttribute(attributeName, '');\n } else {\n node.setAttribute(attributeName, '' + value);\n }\n }\n } else if (DOMProperty.isCustomAttribute(name)) {\n DOMPropertyOperations.setValueForAttribute(node, name, value);\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n ReactDOMInstrumentation.debugTool.onSetValueForProperty(node, name, value);\n var payload = {};\n payload[name] = value;\n ReactInstrumentation.debugTool.onHostOperation(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'update attribute', payload);\n }\n },\n\n setValueForAttribute: function (node, name, value) {\n if (!isAttributeNameSafe(name)) {\n return;\n }\n if (value == null) {\n node.removeAttribute(name);\n } else {\n node.setAttribute(name, '' + value);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n var payload = {};\n payload[name] = value;\n ReactInstrumentation.debugTool.onHostOperation(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'update attribute', payload);\n }\n },\n\n /**\n * Deletes an attributes from a node.\n *\n * @param {DOMElement} node\n * @param {string} name\n */\n deleteValueForAttribute: function (node, name) {\n node.removeAttribute(name);\n if (process.env.NODE_ENV !== 'production') {\n ReactDOMInstrumentation.debugTool.onDeleteValueForProperty(node, name);\n ReactInstrumentation.debugTool.onHostOperation(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'remove attribute', name);\n }\n },\n\n /**\n * Deletes the value for a property on a node.\n *\n * @param {DOMElement} node\n * @param {string} name\n */\n deleteValueForProperty: function (node, name) {\n var propertyInfo = DOMProperty.properties.hasOwnProperty(name) ? DOMProperty.properties[name] : null;\n if (propertyInfo) {\n var mutationMethod = propertyInfo.mutationMethod;\n if (mutationMethod) {\n mutationMethod(node, undefined);\n } else if (propertyInfo.mustUseProperty) {\n var propName = propertyInfo.propertyName;\n if (propertyInfo.hasBooleanValue) {\n node[propName] = false;\n } else {\n node[propName] = '';\n }\n } else {\n node.removeAttribute(propertyInfo.attributeName);\n }\n } else if (DOMProperty.isCustomAttribute(name)) {\n node.removeAttribute(name);\n }\n\n if (process.env.NODE_ENV !== 'production') {\n ReactDOMInstrumentation.debugTool.onDeleteValueForProperty(node, name);\n ReactInstrumentation.debugTool.onHostOperation(ReactDOMComponentTree.getInstanceFromNode(node)._debugID, 'remove attribute', name);\n }\n }\n\n};\n\nmodule.exports = DOMPropertyOperations;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/DOMPropertyOperations.js\n ** module id = 299\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactChildren\n */\n\n'use strict';\n\nvar PooledClass = require('./PooledClass');\nvar ReactElement = require('./ReactElement');\n\nvar emptyFunction = require('fbjs/lib/emptyFunction');\nvar traverseAllChildren = require('./traverseAllChildren');\n\nvar twoArgumentPooler = PooledClass.twoArgumentPooler;\nvar fourArgumentPooler = PooledClass.fourArgumentPooler;\n\nvar userProvidedKeyEscapeRegex = /\\/+/g;\nfunction escapeUserProvidedKey(text) {\n return ('' + text).replace(userProvidedKeyEscapeRegex, '$&/');\n}\n\n/**\n * PooledClass representing the bookkeeping associated with performing a child\n * traversal. Allows avoiding binding callbacks.\n *\n * @constructor ForEachBookKeeping\n * @param {!function} forEachFunction Function to perform traversal with.\n * @param {?*} forEachContext Context to perform context with.\n */\nfunction ForEachBookKeeping(forEachFunction, forEachContext) {\n this.func = forEachFunction;\n this.context = forEachContext;\n this.count = 0;\n}\nForEachBookKeeping.prototype.destructor = function () {\n this.func = null;\n this.context = null;\n this.count = 0;\n};\nPooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler);\n\nfunction forEachSingleChild(bookKeeping, child, name) {\n var func = bookKeeping.func;\n var context = bookKeeping.context;\n\n func.call(context, child, bookKeeping.count++);\n}\n\n/**\n * Iterates through children that are typically specified as `props.children`.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.foreach\n *\n * The provided forEachFunc(child, index) will be called for each\n * leaf child.\n *\n * @param {?*} children Children tree container.\n * @param {function(*, int)} forEachFunc\n * @param {*} forEachContext Context for forEachContext.\n */\nfunction forEachChildren(children, forEachFunc, forEachContext) {\n if (children == null) {\n return children;\n }\n var traverseContext = ForEachBookKeeping.getPooled(forEachFunc, forEachContext);\n traverseAllChildren(children, forEachSingleChild, traverseContext);\n ForEachBookKeeping.release(traverseContext);\n}\n\n/**\n * PooledClass representing the bookkeeping associated with performing a child\n * mapping. Allows avoiding binding callbacks.\n *\n * @constructor MapBookKeeping\n * @param {!*} mapResult Object containing the ordered map of results.\n * @param {!function} mapFunction Function to perform mapping with.\n * @param {?*} mapContext Context to perform mapping with.\n */\nfunction MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) {\n this.result = mapResult;\n this.keyPrefix = keyPrefix;\n this.func = mapFunction;\n this.context = mapContext;\n this.count = 0;\n}\nMapBookKeeping.prototype.destructor = function () {\n this.result = null;\n this.keyPrefix = null;\n this.func = null;\n this.context = null;\n this.count = 0;\n};\nPooledClass.addPoolingTo(MapBookKeeping, fourArgumentPooler);\n\nfunction mapSingleChildIntoContext(bookKeeping, child, childKey) {\n var result = bookKeeping.result;\n var keyPrefix = bookKeeping.keyPrefix;\n var func = bookKeeping.func;\n var context = bookKeeping.context;\n\n\n var mappedChild = func.call(context, child, bookKeeping.count++);\n if (Array.isArray(mappedChild)) {\n mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, emptyFunction.thatReturnsArgument);\n } else if (mappedChild != null) {\n if (ReactElement.isValidElement(mappedChild)) {\n mappedChild = ReactElement.cloneAndReplaceKey(mappedChild,\n // Keep both the (mapped) and old keys if they differ, just as\n // traverseAllChildren used to do for objects as children\n keyPrefix + (mappedChild.key && (!child || child.key !== mappedChild.key) ? escapeUserProvidedKey(mappedChild.key) + '/' : '') + childKey);\n }\n result.push(mappedChild);\n }\n}\n\nfunction mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) {\n var escapedPrefix = '';\n if (prefix != null) {\n escapedPrefix = escapeUserProvidedKey(prefix) + '/';\n }\n var traverseContext = MapBookKeeping.getPooled(array, escapedPrefix, func, context);\n traverseAllChildren(children, mapSingleChildIntoContext, traverseContext);\n MapBookKeeping.release(traverseContext);\n}\n\n/**\n * Maps children that are typically specified as `props.children`.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.map\n *\n * The provided mapFunction(child, key, index) will be called for each\n * leaf child.\n *\n * @param {?*} children Children tree container.\n * @param {function(*, int)} func The map function.\n * @param {*} context Context for mapFunction.\n * @return {object} Object containing the ordered map of results.\n */\nfunction mapChildren(children, func, context) {\n if (children == null) {\n return children;\n }\n var result = [];\n mapIntoWithKeyPrefixInternal(children, result, null, func, context);\n return result;\n}\n\nfunction forEachSingleChildDummy(traverseContext, child, name) {\n return null;\n}\n\n/**\n * Count the number of children that are typically specified as\n * `props.children`.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.count\n *\n * @param {?*} children Children tree container.\n * @return {number} The number of children.\n */\nfunction countChildren(children, context) {\n return traverseAllChildren(children, forEachSingleChildDummy, null);\n}\n\n/**\n * Flatten a children object (typically specified as `props.children`) and\n * return an array with appropriately re-keyed children.\n *\n * See https://facebook.github.io/react/docs/top-level-api.html#react.children.toarray\n */\nfunction toArray(children) {\n var result = [];\n mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument);\n return result;\n}\n\nvar ReactChildren = {\n forEach: forEachChildren,\n map: mapChildren,\n mapIntoWithKeyPrefixInternal: mapIntoWithKeyPrefixInternal,\n count: countChildren,\n toArray: toArray\n};\n\nmodule.exports = ReactChildren;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactChildren.js\n ** module id = 300\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactClass\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar ReactComponent = require('./ReactComponent');\nvar ReactElement = require('./ReactElement');\nvar ReactPropTypeLocations = require('./ReactPropTypeLocations');\nvar ReactPropTypeLocationNames = require('./ReactPropTypeLocationNames');\nvar ReactNoopUpdateQueue = require('./ReactNoopUpdateQueue');\n\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar invariant = require('fbjs/lib/invariant');\nvar keyMirror = require('fbjs/lib/keyMirror');\nvar keyOf = require('fbjs/lib/keyOf');\nvar warning = require('fbjs/lib/warning');\n\nvar MIXINS_KEY = keyOf({ mixins: null });\n\n/**\n * Policies that describe methods in `ReactClassInterface`.\n */\nvar SpecPolicy = keyMirror({\n /**\n * These methods may be defined only once by the class specification or mixin.\n */\n DEFINE_ONCE: null,\n /**\n * These methods may be defined by both the class specification and mixins.\n * Subsequent definitions will be chained. These methods must return void.\n */\n DEFINE_MANY: null,\n /**\n * These methods are overriding the base class.\n */\n OVERRIDE_BASE: null,\n /**\n * These methods are similar to DEFINE_MANY, except we assume they return\n * objects. We try to merge the keys of the return values of all the mixed in\n * functions. If there is a key conflict we throw.\n */\n DEFINE_MANY_MERGED: null\n});\n\nvar injectedMixins = [];\n\n/**\n * Composite components are higher-level components that compose other composite\n * or host components.\n *\n * To create a new type of `ReactClass`, pass a specification of\n * your new class to `React.createClass`. The only requirement of your class\n * specification is that you implement a `render` method.\n *\n * var MyComponent = React.createClass({\n * render: function() {\n * return Hello World
;\n * }\n * });\n *\n * The class specification supports a specific protocol of methods that have\n * special meaning (e.g. `render`). See `ReactClassInterface` for\n * more the comprehensive protocol. Any other properties and methods in the\n * class specification will be available on the prototype.\n *\n * @interface ReactClassInterface\n * @internal\n */\nvar ReactClassInterface = {\n\n /**\n * An array of Mixin objects to include when defining your component.\n *\n * @type {array}\n * @optional\n */\n mixins: SpecPolicy.DEFINE_MANY,\n\n /**\n * An object containing properties and methods that should be defined on\n * the component's constructor instead of its prototype (static methods).\n *\n * @type {object}\n * @optional\n */\n statics: SpecPolicy.DEFINE_MANY,\n\n /**\n * Definition of prop types for this component.\n *\n * @type {object}\n * @optional\n */\n propTypes: SpecPolicy.DEFINE_MANY,\n\n /**\n * Definition of context types for this component.\n *\n * @type {object}\n * @optional\n */\n contextTypes: SpecPolicy.DEFINE_MANY,\n\n /**\n * Definition of context types this component sets for its children.\n *\n * @type {object}\n * @optional\n */\n childContextTypes: SpecPolicy.DEFINE_MANY,\n\n // ==== Definition methods ====\n\n /**\n * Invoked when the component is mounted. Values in the mapping will be set on\n * `this.props` if that prop is not specified (i.e. using an `in` check).\n *\n * This method is invoked before `getInitialState` and therefore cannot rely\n * on `this.state` or use `this.setState`.\n *\n * @return {object}\n * @optional\n */\n getDefaultProps: SpecPolicy.DEFINE_MANY_MERGED,\n\n /**\n * Invoked once before the component is mounted. The return value will be used\n * as the initial value of `this.state`.\n *\n * getInitialState: function() {\n * return {\n * isOn: false,\n * fooBaz: new BazFoo()\n * }\n * }\n *\n * @return {object}\n * @optional\n */\n getInitialState: SpecPolicy.DEFINE_MANY_MERGED,\n\n /**\n * @return {object}\n * @optional\n */\n getChildContext: SpecPolicy.DEFINE_MANY_MERGED,\n\n /**\n * Uses props from `this.props` and state from `this.state` to render the\n * structure of the component.\n *\n * No guarantees are made about when or how often this method is invoked, so\n * it must not have side effects.\n *\n * render: function() {\n * var name = this.props.name;\n * return Hello, {name}!
;\n * }\n *\n * @return {ReactComponent}\n * @nosideeffects\n * @required\n */\n render: SpecPolicy.DEFINE_ONCE,\n\n // ==== Delegate methods ====\n\n /**\n * Invoked when the component is initially created and about to be mounted.\n * This may have side effects, but any external subscriptions or data created\n * by this method must be cleaned up in `componentWillUnmount`.\n *\n * @optional\n */\n componentWillMount: SpecPolicy.DEFINE_MANY,\n\n /**\n * Invoked when the component has been mounted and has a DOM representation.\n * However, there is no guarantee that the DOM node is in the document.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been mounted (initialized and rendered) for the first time.\n *\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidMount: SpecPolicy.DEFINE_MANY,\n\n /**\n * Invoked before the component receives new props.\n *\n * Use this as an opportunity to react to a prop transition by updating the\n * state using `this.setState`. Current props are accessed via `this.props`.\n *\n * componentWillReceiveProps: function(nextProps, nextContext) {\n * this.setState({\n * likesIncreasing: nextProps.likeCount > this.props.likeCount\n * });\n * }\n *\n * NOTE: There is no equivalent `componentWillReceiveState`. An incoming prop\n * transition may cause a state change, but the opposite is not true. If you\n * need it, you are probably looking for `componentWillUpdate`.\n *\n * @param {object} nextProps\n * @optional\n */\n componentWillReceiveProps: SpecPolicy.DEFINE_MANY,\n\n /**\n * Invoked while deciding if the component should be updated as a result of\n * receiving new props, state and/or context.\n *\n * Use this as an opportunity to `return false` when you're certain that the\n * transition to the new props/state/context will not require a component\n * update.\n *\n * shouldComponentUpdate: function(nextProps, nextState, nextContext) {\n * return !equal(nextProps, this.props) ||\n * !equal(nextState, this.state) ||\n * !equal(nextContext, this.context);\n * }\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @return {boolean} True if the component should update.\n * @optional\n */\n shouldComponentUpdate: SpecPolicy.DEFINE_ONCE,\n\n /**\n * Invoked when the component is about to update due to a transition from\n * `this.props`, `this.state` and `this.context` to `nextProps`, `nextState`\n * and `nextContext`.\n *\n * Use this as an opportunity to perform preparation before an update occurs.\n *\n * NOTE: You **cannot** use `this.setState()` in this method.\n *\n * @param {object} nextProps\n * @param {?object} nextState\n * @param {?object} nextContext\n * @param {ReactReconcileTransaction} transaction\n * @optional\n */\n componentWillUpdate: SpecPolicy.DEFINE_MANY,\n\n /**\n * Invoked when the component's DOM representation has been updated.\n *\n * Use this as an opportunity to operate on the DOM when the component has\n * been updated.\n *\n * @param {object} prevProps\n * @param {?object} prevState\n * @param {?object} prevContext\n * @param {DOMElement} rootNode DOM element representing the component.\n * @optional\n */\n componentDidUpdate: SpecPolicy.DEFINE_MANY,\n\n /**\n * Invoked when the component is about to be removed from its parent and have\n * its DOM representation destroyed.\n *\n * Use this as an opportunity to deallocate any external resources.\n *\n * NOTE: There is no `componentDidUnmount` since your component will have been\n * destroyed by that point.\n *\n * @optional\n */\n componentWillUnmount: SpecPolicy.DEFINE_MANY,\n\n // ==== Advanced methods ====\n\n /**\n * Updates the component's currently mounted DOM representation.\n *\n * By default, this implements React's rendering and reconciliation algorithm.\n * Sophisticated clients may wish to override this.\n *\n * @param {ReactReconcileTransaction} transaction\n * @internal\n * @overridable\n */\n updateComponent: SpecPolicy.OVERRIDE_BASE\n\n};\n\n/**\n * Mapping from class specification keys to special processing functions.\n *\n * Although these are declared like instance properties in the specification\n * when defining classes using `React.createClass`, they are actually static\n * and are accessible on the constructor instead of the prototype. Despite\n * being static, they must be defined outside of the \"statics\" key under\n * which all other static methods are defined.\n */\nvar RESERVED_SPEC_KEYS = {\n displayName: function (Constructor, displayName) {\n Constructor.displayName = displayName;\n },\n mixins: function (Constructor, mixins) {\n if (mixins) {\n for (var i = 0; i < mixins.length; i++) {\n mixSpecIntoComponent(Constructor, mixins[i]);\n }\n }\n },\n childContextTypes: function (Constructor, childContextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, childContextTypes, ReactPropTypeLocations.childContext);\n }\n Constructor.childContextTypes = _assign({}, Constructor.childContextTypes, childContextTypes);\n },\n contextTypes: function (Constructor, contextTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, contextTypes, ReactPropTypeLocations.context);\n }\n Constructor.contextTypes = _assign({}, Constructor.contextTypes, contextTypes);\n },\n /**\n * Special case getDefaultProps which should move into statics but requires\n * automatic merging.\n */\n getDefaultProps: function (Constructor, getDefaultProps) {\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps = createMergedResultFunction(Constructor.getDefaultProps, getDefaultProps);\n } else {\n Constructor.getDefaultProps = getDefaultProps;\n }\n },\n propTypes: function (Constructor, propTypes) {\n if (process.env.NODE_ENV !== 'production') {\n validateTypeDef(Constructor, propTypes, ReactPropTypeLocations.prop);\n }\n Constructor.propTypes = _assign({}, Constructor.propTypes, propTypes);\n },\n statics: function (Constructor, statics) {\n mixStaticSpecIntoComponent(Constructor, statics);\n },\n autobind: function () {} };\n\n// noop\nfunction validateTypeDef(Constructor, typeDef, location) {\n for (var propName in typeDef) {\n if (typeDef.hasOwnProperty(propName)) {\n // use a warning instead of an invariant so components\n // don't show up in prod but only in __DEV__\n process.env.NODE_ENV !== 'production' ? warning(typeof typeDef[propName] === 'function', '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', Constructor.displayName || 'ReactClass', ReactPropTypeLocationNames[location], propName) : void 0;\n }\n }\n}\n\nfunction validateMethodOverride(isAlreadyDefined, name) {\n var specPolicy = ReactClassInterface.hasOwnProperty(name) ? ReactClassInterface[name] : null;\n\n // Disallow overriding of base class methods unless explicitly allowed.\n if (ReactClassMixin.hasOwnProperty(name)) {\n !(specPolicy === SpecPolicy.OVERRIDE_BASE) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClassInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.', name) : _prodInvariant('73', name) : void 0;\n }\n\n // Disallow defining methods more than once unless explicitly allowed.\n if (isAlreadyDefined) {\n !(specPolicy === SpecPolicy.DEFINE_MANY || specPolicy === SpecPolicy.DEFINE_MANY_MERGED) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClassInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.', name) : _prodInvariant('74', name) : void 0;\n }\n}\n\n/**\n * Mixin helper which handles policy validation and reserved\n * specification keys when building React classes.\n */\nfunction mixSpecIntoComponent(Constructor, spec) {\n if (!spec) {\n if (process.env.NODE_ENV !== 'production') {\n var typeofSpec = typeof spec;\n var isMixinValid = typeofSpec === 'object' && spec !== null;\n\n process.env.NODE_ENV !== 'production' ? warning(isMixinValid, '%s: You\\'re attempting to include a mixin that is either null ' + 'or not an object. Check the mixins included by the component, ' + 'as well as any mixins they include themselves. ' + 'Expected object but got %s.', Constructor.displayName || 'ReactClass', spec === null ? null : typeofSpec) : void 0;\n }\n\n return;\n }\n\n !(typeof spec !== 'function') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You\\'re attempting to use a component class or function as a mixin. Instead, just use a regular object.') : _prodInvariant('75') : void 0;\n !!ReactElement.isValidElement(spec) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You\\'re attempting to use a component as a mixin. Instead, just use a regular object.') : _prodInvariant('76') : void 0;\n\n var proto = Constructor.prototype;\n var autoBindPairs = proto.__reactAutoBindPairs;\n\n // By handling mixins before any other properties, we ensure the same\n // chaining order is applied to methods with DEFINE_MANY policy, whether\n // mixins are listed before or after these methods in the spec.\n if (spec.hasOwnProperty(MIXINS_KEY)) {\n RESERVED_SPEC_KEYS.mixins(Constructor, spec.mixins);\n }\n\n for (var name in spec) {\n if (!spec.hasOwnProperty(name)) {\n continue;\n }\n\n if (name === MIXINS_KEY) {\n // We have already handled mixins in a special case above.\n continue;\n }\n\n var property = spec[name];\n var isAlreadyDefined = proto.hasOwnProperty(name);\n validateMethodOverride(isAlreadyDefined, name);\n\n if (RESERVED_SPEC_KEYS.hasOwnProperty(name)) {\n RESERVED_SPEC_KEYS[name](Constructor, property);\n } else {\n // Setup methods on prototype:\n // The following member methods should not be automatically bound:\n // 1. Expected ReactClass methods (in the \"interface\").\n // 2. Overridden methods (that were mixed in).\n var isReactClassMethod = ReactClassInterface.hasOwnProperty(name);\n var isFunction = typeof property === 'function';\n var shouldAutoBind = isFunction && !isReactClassMethod && !isAlreadyDefined && spec.autobind !== false;\n\n if (shouldAutoBind) {\n autoBindPairs.push(name, property);\n proto[name] = property;\n } else {\n if (isAlreadyDefined) {\n var specPolicy = ReactClassInterface[name];\n\n // These cases should already be caught by validateMethodOverride.\n !(isReactClassMethod && (specPolicy === SpecPolicy.DEFINE_MANY_MERGED || specPolicy === SpecPolicy.DEFINE_MANY)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: Unexpected spec policy %s for key %s when mixing in component specs.', specPolicy, name) : _prodInvariant('77', specPolicy, name) : void 0;\n\n // For methods which are defined more than once, call the existing\n // methods before calling the new property, merging if appropriate.\n if (specPolicy === SpecPolicy.DEFINE_MANY_MERGED) {\n proto[name] = createMergedResultFunction(proto[name], property);\n } else if (specPolicy === SpecPolicy.DEFINE_MANY) {\n proto[name] = createChainedFunction(proto[name], property);\n }\n } else {\n proto[name] = property;\n if (process.env.NODE_ENV !== 'production') {\n // Add verbose displayName to the function, which helps when looking\n // at profiling tools.\n if (typeof property === 'function' && spec.displayName) {\n proto[name].displayName = spec.displayName + '_' + name;\n }\n }\n }\n }\n }\n }\n}\n\nfunction mixStaticSpecIntoComponent(Constructor, statics) {\n if (!statics) {\n return;\n }\n for (var name in statics) {\n var property = statics[name];\n if (!statics.hasOwnProperty(name)) {\n continue;\n }\n\n var isReserved = name in RESERVED_SPEC_KEYS;\n !!isReserved ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You are attempting to define a reserved property, `%s`, that shouldn\\'t be on the \"statics\" key. Define it as an instance property instead; it will still be accessible on the constructor.', name) : _prodInvariant('78', name) : void 0;\n\n var isInherited = name in Constructor;\n !!isInherited ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactClass: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.', name) : _prodInvariant('79', name) : void 0;\n Constructor[name] = property;\n }\n}\n\n/**\n * Merge two objects, but throw if both contain the same key.\n *\n * @param {object} one The first object, which is mutated.\n * @param {object} two The second object\n * @return {object} one after it has been mutated to contain everything in two.\n */\nfunction mergeIntoWithNoDuplicateKeys(one, two) {\n !(one && two && typeof one === 'object' && typeof two === 'object') ? process.env.NODE_ENV !== 'production' ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Cannot merge non-objects.') : _prodInvariant('80') : void 0;\n\n for (var key in two) {\n if (two.hasOwnProperty(key)) {\n !(one[key] === undefined) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'mergeIntoWithNoDuplicateKeys(): Tried to merge two objects with the same key: `%s`. This conflict may be due to a mixin; in particular, this may be caused by two getInitialState() or getDefaultProps() methods returning objects with clashing keys.', key) : _prodInvariant('81', key) : void 0;\n one[key] = two[key];\n }\n }\n return one;\n}\n\n/**\n * Creates a function that invokes two functions and merges their return values.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\nfunction createMergedResultFunction(one, two) {\n return function mergedResult() {\n var a = one.apply(this, arguments);\n var b = two.apply(this, arguments);\n if (a == null) {\n return b;\n } else if (b == null) {\n return a;\n }\n var c = {};\n mergeIntoWithNoDuplicateKeys(c, a);\n mergeIntoWithNoDuplicateKeys(c, b);\n return c;\n };\n}\n\n/**\n * Creates a function that invokes two functions and ignores their return vales.\n *\n * @param {function} one Function to invoke first.\n * @param {function} two Function to invoke second.\n * @return {function} Function that invokes the two argument functions.\n * @private\n */\nfunction createChainedFunction(one, two) {\n return function chainedFunction() {\n one.apply(this, arguments);\n two.apply(this, arguments);\n };\n}\n\n/**\n * Binds a method to the component.\n *\n * @param {object} component Component whose method is going to be bound.\n * @param {function} method Method to be bound.\n * @return {function} The bound method.\n */\nfunction bindAutoBindMethod(component, method) {\n var boundMethod = method.bind(component);\n if (process.env.NODE_ENV !== 'production') {\n boundMethod.__reactBoundContext = component;\n boundMethod.__reactBoundMethod = method;\n boundMethod.__reactBoundArguments = null;\n var componentName = component.constructor.displayName;\n var _bind = boundMethod.bind;\n boundMethod.bind = function (newThis) {\n for (var _len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n // User is trying to bind() an autobound method; we effectively will\n // ignore the value of \"this\" that the user is trying to use, so\n // let's warn.\n if (newThis !== component && newThis !== null) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): React component methods may only be bound to the ' + 'component instance. See %s', componentName) : void 0;\n } else if (!args.length) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'bind(): You are binding a component method to the component. ' + 'React does this for you automatically in a high-performance ' + 'way, so you can safely remove this call. See %s', componentName) : void 0;\n return boundMethod;\n }\n var reboundMethod = _bind.apply(boundMethod, arguments);\n reboundMethod.__reactBoundContext = component;\n reboundMethod.__reactBoundMethod = method;\n reboundMethod.__reactBoundArguments = args;\n return reboundMethod;\n };\n }\n return boundMethod;\n}\n\n/**\n * Binds all auto-bound methods in a component.\n *\n * @param {object} component Component whose method is going to be bound.\n */\nfunction bindAutoBindMethods(component) {\n var pairs = component.__reactAutoBindPairs;\n for (var i = 0; i < pairs.length; i += 2) {\n var autoBindKey = pairs[i];\n var method = pairs[i + 1];\n component[autoBindKey] = bindAutoBindMethod(component, method);\n }\n}\n\n/**\n * Add more to the ReactClass base class. These are all legacy features and\n * therefore not already part of the modern ReactComponent.\n */\nvar ReactClassMixin = {\n\n /**\n * TODO: This will be deprecated because state should always keep a consistent\n * type signature and the only use case for this, is to avoid that.\n */\n replaceState: function (newState, callback) {\n this.updater.enqueueReplaceState(this, newState);\n if (callback) {\n this.updater.enqueueCallback(this, callback, 'replaceState');\n }\n },\n\n /**\n * Checks whether or not this composite component is mounted.\n * @return {boolean} True if mounted, false otherwise.\n * @protected\n * @final\n */\n isMounted: function () {\n return this.updater.isMounted(this);\n }\n};\n\nvar ReactClassComponent = function () {};\n_assign(ReactClassComponent.prototype, ReactComponent.prototype, ReactClassMixin);\n\n/**\n * Module for creating composite components.\n *\n * @class ReactClass\n */\nvar ReactClass = {\n\n /**\n * Creates a composite component class given a class specification.\n * See https://facebook.github.io/react/docs/top-level-api.html#react.createclass\n *\n * @param {object} spec Class specification (which must define `render`).\n * @return {function} Component constructor function.\n * @public\n */\n createClass: function (spec) {\n var Constructor = function (props, context, updater) {\n // This constructor gets overridden by mocks. The argument is used\n // by mocks to assert on what gets mounted.\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(this instanceof Constructor, 'Something is calling a React component directly. Use a factory or ' + 'JSX instead. See: https://fb.me/react-legacyfactory') : void 0;\n }\n\n // Wire up auto-binding\n if (this.__reactAutoBindPairs.length) {\n bindAutoBindMethods(this);\n }\n\n this.props = props;\n this.context = context;\n this.refs = emptyObject;\n this.updater = updater || ReactNoopUpdateQueue;\n\n this.state = null;\n\n // ReactClasses doesn't have constructors. Instead, they use the\n // getInitialState and componentWillMount methods for initialization.\n\n var initialState = this.getInitialState ? this.getInitialState() : null;\n if (process.env.NODE_ENV !== 'production') {\n // We allow auto-mocks to proceed as if they're returning null.\n if (initialState === undefined && this.getInitialState._isMockFunction) {\n // This is probably bad practice. Consider warning here and\n // deprecating this convenience.\n initialState = null;\n }\n }\n !(typeof initialState === 'object' && !Array.isArray(initialState)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '%s.getInitialState(): must return an object or null', Constructor.displayName || 'ReactCompositeComponent') : _prodInvariant('82', Constructor.displayName || 'ReactCompositeComponent') : void 0;\n\n this.state = initialState;\n };\n Constructor.prototype = new ReactClassComponent();\n Constructor.prototype.constructor = Constructor;\n Constructor.prototype.__reactAutoBindPairs = [];\n\n injectedMixins.forEach(mixSpecIntoComponent.bind(null, Constructor));\n\n mixSpecIntoComponent(Constructor, spec);\n\n // Initialize the defaultProps property after all mixins have been merged.\n if (Constructor.getDefaultProps) {\n Constructor.defaultProps = Constructor.getDefaultProps();\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This is a tag to indicate that the use of these method names is ok,\n // since it's used with createClass. If it's not, then it's likely a\n // mistake so we'll warn you to use the static property, property\n // initializer or constructor respectively.\n if (Constructor.getDefaultProps) {\n Constructor.getDefaultProps.isReactClassApproved = {};\n }\n if (Constructor.prototype.getInitialState) {\n Constructor.prototype.getInitialState.isReactClassApproved = {};\n }\n }\n\n !Constructor.prototype.render ? process.env.NODE_ENV !== 'production' ? invariant(false, 'createClass(...): Class specification must implement a `render` method.') : _prodInvariant('83') : void 0;\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentShouldUpdate, '%s has a method called ' + 'componentShouldUpdate(). Did you mean shouldComponentUpdate()? ' + 'The name is phrased as a question because the function is ' + 'expected to return a value.', spec.displayName || 'A component') : void 0;\n process.env.NODE_ENV !== 'production' ? warning(!Constructor.prototype.componentWillRecieveProps, '%s has a method called ' + 'componentWillRecieveProps(). Did you mean componentWillReceiveProps()?', spec.displayName || 'A component') : void 0;\n }\n\n // Reduce time spent doing lookups by setting these on the prototype.\n for (var methodName in ReactClassInterface) {\n if (!Constructor.prototype[methodName]) {\n Constructor.prototype[methodName] = null;\n }\n }\n\n return Constructor;\n },\n\n injection: {\n injectMixin: function (mixin) {\n injectedMixins.push(mixin);\n }\n }\n\n};\n\nmodule.exports = ReactClass;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactClass.js\n ** module id = 301\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactComponentBrowserEnvironment\n */\n\n'use strict';\n\nvar DOMChildrenOperations = require('./DOMChildrenOperations');\nvar ReactDOMIDOperations = require('./ReactDOMIDOperations');\n\n/**\n * Abstracts away all functionality of the reconciler that requires knowledge of\n * the browser context. TODO: These callers should be refactored to avoid the\n * need for this injection.\n */\nvar ReactComponentBrowserEnvironment = {\n\n processChildrenUpdates: ReactDOMIDOperations.dangerouslyProcessChildrenUpdates,\n\n replaceNodeWithMarkup: DOMChildrenOperations.dangerouslyReplaceNodeWithMarkup,\n\n /**\n * If a particular environment requires that some resources be cleaned up,\n * specify this in the injected Mixin. In the DOM, we would likely want to\n * purge any cached node ID lookups.\n *\n * @private\n */\n unmountIDFromEnvironment: function (rootNodeID) {}\n\n};\n\nmodule.exports = ReactComponentBrowserEnvironment;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactComponentBrowserEnvironment.js\n ** module id = 302\n ** module chunks = 0\n **/","/**\n * Copyright 2015-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMComponentFlags\n */\n\n'use strict';\n\nvar ReactDOMComponentFlags = {\n hasCachedChildNodes: 1 << 0\n};\n\nmodule.exports = ReactDOMComponentFlags;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMComponentFlags.js\n ** module id = 303\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactDOMSelect\n */\n\n'use strict';\n\nvar _assign = require('object-assign');\n\nvar DisabledInputUtils = require('./DisabledInputUtils');\nvar LinkedValueUtils = require('./LinkedValueUtils');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactUpdates = require('./ReactUpdates');\n\nvar warning = require('fbjs/lib/warning');\n\nvar didWarnValueLink = false;\nvar didWarnValueDefaultValue = false;\n\nfunction updateOptionsIfPendingUpdateAndMounted() {\n if (this._rootNodeID && this._wrapperState.pendingUpdate) {\n this._wrapperState.pendingUpdate = false;\n\n var props = this._currentElement.props;\n var value = LinkedValueUtils.getValue(props);\n\n if (value != null) {\n updateOptions(this, Boolean(props.multiple), value);\n }\n }\n}\n\nfunction getDeclarationErrorAddendum(owner) {\n if (owner) {\n var name = owner.getName();\n if (name) {\n return ' Check the render method of `' + name + '`.';\n }\n }\n return '';\n}\n\nvar valuePropNames = ['value', 'defaultValue'];\n\n/**\n * Validation function for `value` and `defaultValue`.\n * @private\n */\nfunction checkSelectPropTypes(inst, props) {\n var owner = inst._currentElement._owner;\n LinkedValueUtils.checkPropTypes('select', props, owner);\n\n if (props.valueLink !== undefined && !didWarnValueLink) {\n process.env.NODE_ENV !== 'production' ? warning(false, '`valueLink` prop on `select` is deprecated; set `value` and `onChange` instead.') : void 0;\n didWarnValueLink = true;\n }\n\n for (var i = 0; i < valuePropNames.length; i++) {\n var propName = valuePropNames[i];\n if (props[propName] == null) {\n continue;\n }\n if (props.multiple) {\n process.env.NODE_ENV !== 'production' ? warning(Array.isArray(props[propName]), 'The `%s` prop supplied to must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum(owner)) : void 0;\n } else {\n process.env.NODE_ENV !== 'production' ? warning(!Array.isArray(props[propName]), 'The `%s` prop supplied to must be a scalar ' + 'value if `multiple` is false.%s', propName, getDeclarationErrorAddendum(owner)) : void 0;\n }\n }\n}\n\n/**\n * @param {ReactDOMComponent} inst\n * @param {boolean} multiple\n * @param {*} propValue A stringable (with `multiple`, a list of stringables).\n * @private\n */\nfunction updateOptions(inst, multiple, propValue) {\n var selectedValue, i;\n var options = ReactDOMComponentTree.getNodeFromInstance(inst).options;\n\n if (multiple) {\n selectedValue = {};\n for (i = 0; i < propValue.length; i++) {\n selectedValue['' + propValue[i]] = true;\n }\n for (i = 0; i < options.length; i++) {\n var selected = selectedValue.hasOwnProperty(options[i].value);\n if (options[i].selected !== selected) {\n options[i].selected = selected;\n }\n }\n } else {\n // Do not set `select.value` as exact behavior isn't consistent across all\n // browsers for all cases.\n selectedValue = '' + propValue;\n for (i = 0; i < options.length; i++) {\n if (options[i].value === selectedValue) {\n options[i].selected = true;\n return;\n }\n }\n if (options.length) {\n options[0].selected = true;\n }\n }\n}\n\n/**\n * Implements a host component that allows optionally setting the\n * props `value` and `defaultValue`. If `multiple` is false, the prop must be a\n * stringable. If `multiple` is true, the prop must be an array of stringables.\n *\n * If `value` is not supplied (or null/undefined), user actions that change the\n * selected option will trigger updates to the rendered options.\n *\n * If it is supplied (and not null/undefined), the rendered options will not\n * update in response to user actions. Instead, the `value` prop must change in\n * order for the rendered options to update.\n *\n * If `defaultValue` is provided, any options with the supplied values will be\n * selected.\n */\nvar ReactDOMSelect = {\n getHostProps: function (inst, props) {\n return _assign({}, DisabledInputUtils.getHostProps(inst, props), {\n onChange: inst._wrapperState.onChange,\n value: undefined\n });\n },\n\n mountWrapper: function (inst, props) {\n if (process.env.NODE_ENV !== 'production') {\n checkSelectPropTypes(inst, props);\n }\n\n var value = LinkedValueUtils.getValue(props);\n inst._wrapperState = {\n pendingUpdate: false,\n initialValue: value != null ? value : props.defaultValue,\n listeners: null,\n onChange: _handleChange.bind(inst),\n wasMultiple: Boolean(props.multiple)\n };\n\n if (props.value !== undefined && props.defaultValue !== undefined && !didWarnValueDefaultValue) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'Select elements must be either controlled or uncontrolled ' + '(specify either the value prop, or the defaultValue prop, but not ' + 'both). Decide between using a controlled or uncontrolled select ' + 'element and remove one of these props. More info: ' + 'https://fb.me/react-controlled-components') : void 0;\n didWarnValueDefaultValue = true;\n }\n },\n\n getSelectValueContext: function (inst) {\n // ReactDOMOption looks at this initial value so the initial generated\n // markup has correct `selected` attributes\n return inst._wrapperState.initialValue;\n },\n\n postUpdateWrapper: function (inst) {\n var props = inst._currentElement.props;\n\n // After the initial mount, we control selected-ness manually so don't pass\n // this value down\n inst._wrapperState.initialValue = undefined;\n\n var wasMultiple = inst._wrapperState.wasMultiple;\n inst._wrapperState.wasMultiple = Boolean(props.multiple);\n\n var value = LinkedValueUtils.getValue(props);\n if (value != null) {\n inst._wrapperState.pendingUpdate = false;\n updateOptions(inst, Boolean(props.multiple), value);\n } else if (wasMultiple !== Boolean(props.multiple)) {\n // For simplicity, reapply `defaultValue` if `multiple` is toggled.\n if (props.defaultValue != null) {\n updateOptions(inst, Boolean(props.multiple), props.defaultValue);\n } else {\n // Revert the select back to its default unselected state.\n updateOptions(inst, Boolean(props.multiple), props.multiple ? [] : '');\n }\n }\n }\n};\n\nfunction _handleChange(event) {\n var props = this._currentElement.props;\n var returnValue = LinkedValueUtils.executeOnChange(props, event);\n\n if (this._rootNodeID) {\n this._wrapperState.pendingUpdate = true;\n }\n ReactUpdates.asap(updateOptionsIfPendingUpdateAndMounted, this);\n return returnValue;\n}\n\nmodule.exports = ReactDOMSelect;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactDOMSelect.js\n ** module id = 304\n ** module chunks = 0\n **/","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactEmptyComponent\n */\n\n'use strict';\n\nvar emptyComponentFactory;\n\nvar ReactEmptyComponentInjection = {\n injectEmptyComponentFactory: function (factory) {\n emptyComponentFactory = factory;\n }\n};\n\nvar ReactEmptyComponent = {\n create: function (instantiate) {\n return emptyComponentFactory(instantiate);\n }\n};\n\nReactEmptyComponent.injection = ReactEmptyComponentInjection;\n\nmodule.exports = ReactEmptyComponent;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactEmptyComponent.js\n ** module id = 305\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactFeatureFlags\n * \n */\n\n'use strict';\n\nvar ReactFeatureFlags = {\n // When true, call console.time() before and .timeEnd() after each top-level\n // render (both initial renders and updates). Useful when looking at prod-mode\n // timeline profiles in Chrome, for example.\n logTopLevelRenders: false\n};\n\nmodule.exports = ReactFeatureFlags;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactFeatureFlags.js\n ** module id = 306\n ** module chunks = 0\n **/","/**\n * Copyright 2014-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactHostComponent\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant'),\n _assign = require('object-assign');\n\nvar invariant = require('fbjs/lib/invariant');\n\nvar genericComponentClass = null;\n// This registry keeps track of wrapper classes around host tags.\nvar tagToComponentClass = {};\nvar textComponentClass = null;\n\nvar ReactHostComponentInjection = {\n // This accepts a class that receives the tag string. This is a catch all\n // that can render any kind of tag.\n injectGenericComponentClass: function (componentClass) {\n genericComponentClass = componentClass;\n },\n // This accepts a text component class that takes the text string to be\n // rendered as props.\n injectTextComponentClass: function (componentClass) {\n textComponentClass = componentClass;\n },\n // This accepts a keyed object with classes as values. Each key represents a\n // tag. That particular tag will use this class instead of the generic one.\n injectComponentClasses: function (componentClasses) {\n _assign(tagToComponentClass, componentClasses);\n }\n};\n\n/**\n * Get a host internal component class for a specific tag.\n *\n * @param {ReactElement} element The element to create.\n * @return {function} The internal class constructor function.\n */\nfunction createInternalComponent(element) {\n !genericComponentClass ? process.env.NODE_ENV !== 'production' ? invariant(false, 'There is no registered component for the tag %s', element.type) : _prodInvariant('111', element.type) : void 0;\n return new genericComponentClass(element);\n}\n\n/**\n * @param {ReactText} text\n * @return {ReactComponent}\n */\nfunction createInstanceForText(text) {\n return new textComponentClass(text);\n}\n\n/**\n * @param {ReactComponent} component\n * @return {boolean}\n */\nfunction isTextComponent(component) {\n return component instanceof textComponentClass;\n}\n\nvar ReactHostComponent = {\n createInternalComponent: createInternalComponent,\n createInstanceForText: createInstanceForText,\n isTextComponent: isTextComponent,\n injection: ReactHostComponentInjection\n};\n\nmodule.exports = ReactHostComponent;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactHostComponent.js\n ** module id = 307\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactInputSelection\n */\n\n'use strict';\n\nvar ReactDOMSelection = require('./ReactDOMSelection');\n\nvar containsNode = require('fbjs/lib/containsNode');\nvar focusNode = require('fbjs/lib/focusNode');\nvar getActiveElement = require('fbjs/lib/getActiveElement');\n\nfunction isInDocument(node) {\n return containsNode(document.documentElement, node);\n}\n\n/**\n * @ReactInputSelection: React input selection module. Based on Selection.js,\n * but modified to be suitable for react and has a couple of bug fixes (doesn't\n * assume buttons have range selections allowed).\n * Input selection module for React.\n */\nvar ReactInputSelection = {\n\n hasSelectionCapabilities: function (elem) {\n var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n return nodeName && (nodeName === 'input' && elem.type === 'text' || nodeName === 'textarea' || elem.contentEditable === 'true');\n },\n\n getSelectionInformation: function () {\n var focusedElem = getActiveElement();\n return {\n focusedElem: focusedElem,\n selectionRange: ReactInputSelection.hasSelectionCapabilities(focusedElem) ? ReactInputSelection.getSelection(focusedElem) : null\n };\n },\n\n /**\n * @restoreSelection: If any selection information was potentially lost,\n * restore it. This is useful when performing operations that could remove dom\n * nodes and place them back in, resulting in focus being lost.\n */\n restoreSelection: function (priorSelectionInformation) {\n var curFocusedElem = getActiveElement();\n var priorFocusedElem = priorSelectionInformation.focusedElem;\n var priorSelectionRange = priorSelectionInformation.selectionRange;\n if (curFocusedElem !== priorFocusedElem && isInDocument(priorFocusedElem)) {\n if (ReactInputSelection.hasSelectionCapabilities(priorFocusedElem)) {\n ReactInputSelection.setSelection(priorFocusedElem, priorSelectionRange);\n }\n focusNode(priorFocusedElem);\n }\n },\n\n /**\n * @getSelection: Gets the selection bounds of a focused textarea, input or\n * contentEditable node.\n * -@input: Look up selection bounds of this input\n * -@return {start: selectionStart, end: selectionEnd}\n */\n getSelection: function (input) {\n var selection;\n\n if ('selectionStart' in input) {\n // Modern browser with input or textarea.\n selection = {\n start: input.selectionStart,\n end: input.selectionEnd\n };\n } else if (document.selection && input.nodeName && input.nodeName.toLowerCase() === 'input') {\n // IE8 input.\n var range = document.selection.createRange();\n // There can only be one selection per document in IE, so it must\n // be in our element.\n if (range.parentElement() === input) {\n selection = {\n start: -range.moveStart('character', -input.value.length),\n end: -range.moveEnd('character', -input.value.length)\n };\n }\n } else {\n // Content editable or old IE textarea.\n selection = ReactDOMSelection.getOffsets(input);\n }\n\n return selection || { start: 0, end: 0 };\n },\n\n /**\n * @setSelection: Sets the selection bounds of a textarea or input and focuses\n * the input.\n * -@input Set selection bounds of this input or textarea\n * -@offsets Object of same form that is returned from get*\n */\n setSelection: function (input, offsets) {\n var start = offsets.start;\n var end = offsets.end;\n if (end === undefined) {\n end = start;\n }\n\n if ('selectionStart' in input) {\n input.selectionStart = start;\n input.selectionEnd = Math.min(end, input.value.length);\n } else if (document.selection && input.nodeName && input.nodeName.toLowerCase() === 'input') {\n var range = input.createTextRange();\n range.collapse(true);\n range.moveStart('character', start);\n range.moveEnd('character', end - start);\n range.select();\n } else {\n ReactDOMSelection.setOffsets(input, offsets);\n }\n }\n};\n\nmodule.exports = ReactInputSelection;\n\n\n/*****************\n ** WEBPACK FOOTER\n ** ./~/react/lib/ReactInputSelection.js\n ** module id = 308\n ** module chunks = 0\n **/","/**\n * Copyright 2013-present, Facebook, Inc.\n * All rights reserved.\n *\n * This source code is licensed under the BSD-style license found in the\n * LICENSE file in the root directory of this source tree. An additional grant\n * of patent rights can be found in the PATENTS file in the same directory.\n *\n * @providesModule ReactMount\n */\n\n'use strict';\n\nvar _prodInvariant = require('./reactProdInvariant');\n\nvar DOMLazyTree = require('./DOMLazyTree');\nvar DOMProperty = require('./DOMProperty');\nvar ReactBrowserEventEmitter = require('./ReactBrowserEventEmitter');\nvar ReactCurrentOwner = require('./ReactCurrentOwner');\nvar ReactDOMComponentTree = require('./ReactDOMComponentTree');\nvar ReactDOMContainerInfo = require('./ReactDOMContainerInfo');\nvar ReactDOMFeatureFlags = require('./ReactDOMFeatureFlags');\nvar ReactElement = require('./ReactElement');\nvar ReactFeatureFlags = require('./ReactFeatureFlags');\nvar ReactInstanceMap = require('./ReactInstanceMap');\nvar ReactInstrumentation = require('./ReactInstrumentation');\nvar ReactMarkupChecksum = require('./ReactMarkupChecksum');\nvar ReactReconciler = require('./ReactReconciler');\nvar ReactUpdateQueue = require('./ReactUpdateQueue');\nvar ReactUpdates = require('./ReactUpdates');\n\nvar emptyObject = require('fbjs/lib/emptyObject');\nvar instantiateReactComponent = require('./instantiateReactComponent');\nvar invariant = require('fbjs/lib/invariant');\nvar setInnerHTML = require('./setInnerHTML');\nvar shouldUpdateReactComponent = require('./shouldUpdateReactComponent');\nvar warning = require('fbjs/lib/warning');\n\nvar ATTR_NAME = DOMProperty.ID_ATTRIBUTE_NAME;\nvar ROOT_ATTR_NAME = DOMProperty.ROOT_ATTRIBUTE_NAME;\n\nvar ELEMENT_NODE_TYPE = 1;\nvar DOC_NODE_TYPE = 9;\nvar DOCUMENT_FRAGMENT_NODE_TYPE = 11;\n\nvar instancesByReactRootID = {};\n\n/**\n * Finds the index of the first character\n * that's not common between the two given strings.\n *\n * @return {number} the index of the character where the strings diverge\n */\nfunction firstDifferenceIndex(string1, string2) {\n var minLen = Math.min(string1.length, string2.length);\n for (var i = 0; i < minLen; i++) {\n if (string1.charAt(i) !== string2.charAt(i)) {\n return i;\n }\n }\n return string1.length === string2.length ? -1 : minLen;\n}\n\n/**\n * @param {DOMElement|DOMDocument} container DOM element that may contain\n * a React component\n * @return {?*} DOM element that may have the reactRoot ID, or null.\n */\nfunction getReactRootElementInContainer(container) {\n if (!container) {\n return null;\n }\n\n if (container.nodeType === DOC_NODE_TYPE) {\n return container.documentElement;\n } else {\n return container.firstChild;\n }\n}\n\nfunction internalGetID(node) {\n // If node is something like a window, document, or text node, none of\n // which support attributes or a .getAttribute method, gracefully return\n // the empty string, as if the attribute were missing.\n return node.getAttribute && node.getAttribute(ATTR_NAME) || '';\n}\n\n/**\n * Mounts this component and inserts it into the DOM.\n *\n * @param {ReactComponent} componentInstance The instance to mount.\n * @param {DOMElement} container DOM element to mount into.\n * @param {ReactReconcileTransaction} transaction\n * @param {boolean} shouldReuseMarkup If true, do not insert markup\n */\nfunction mountComponentIntoNode(wrapperInstance, container, transaction, shouldReuseMarkup, context) {\n var markerName;\n if (ReactFeatureFlags.logTopLevelRenders) {\n var wrappedElement = wrapperInstance._currentElement.props;\n var type = wrappedElement.type;\n markerName = 'React mount: ' + (typeof type === 'string' ? type : type.displayName || type.name);\n console.time(markerName);\n }\n\n var markup = ReactReconciler.mountComponent(wrapperInstance, transaction, null, ReactDOMContainerInfo(wrapperInstance, container), context);\n\n if (markerName) {\n console.timeEnd(markerName);\n }\n\n wrapperInstance._renderedComponent._topLevelWrapper = wrapperInstance;\n ReactMount._mountImageIntoNode(markup, container, wrapperInstance, shouldReuseMarkup, transaction);\n}\n\n/**\n * Batched mount.\n *\n * @param {ReactComponent} componentInstance The instance to mount.\n * @param {DOMElement} container DOM element to mount into.\n * @param {boolean} shouldReuseMarkup If true, do not insert markup\n */\nfunction batchedMountComponentIntoNode(componentInstance, container, shouldReuseMarkup, context) {\n var transaction = ReactUpdates.ReactReconcileTransaction.getPooled(\n /* useCreateElement */\n !shouldReuseMarkup && ReactDOMFeatureFlags.useCreateElement);\n transaction.perform(mountComponentIntoNode, null, componentInstance, container, transaction, shouldReuseMarkup, context);\n ReactUpdates.ReactReconcileTransaction.release(transaction);\n}\n\n/**\n * Unmounts a component and removes it from the DOM.\n *\n * @param {ReactComponent} instance React component instance.\n * @param {DOMElement} container DOM element to unmount from.\n * @final\n * @internal\n * @see {ReactMount.unmountComponentAtNode}\n */\nfunction unmountComponentFromNode(instance, container, safely) {\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onBeginFlush();\n }\n ReactReconciler.unmountComponent(instance, safely);\n if (process.env.NODE_ENV !== 'production') {\n ReactInstrumentation.debugTool.onEndFlush();\n }\n\n if (container.nodeType === DOC_NODE_TYPE) {\n container = container.documentElement;\n }\n\n // http://jsperf.com/emptying-a-node\n while (container.lastChild) {\n container.removeChild(container.lastChild);\n }\n}\n\n/**\n * True if the supplied DOM node has a direct React-rendered child that is\n * not a React root element. Useful for warning in `render`,\n * `unmountComponentAtNode`, etc.\n *\n * @param {?DOMElement} node The candidate DOM node.\n * @return {boolean} True if the DOM element contains a direct child that was\n * rendered by React but is not a root element.\n * @internal\n */\nfunction hasNonRootReactChild(container) {\n var rootEl = getReactRootElementInContainer(container);\n if (rootEl) {\n var inst = ReactDOMComponentTree.getInstanceFromNode(rootEl);\n return !!(inst && inst._hostParent);\n }\n}\n\nfunction getHostRootInstanceInContainer(container) {\n var rootEl = getReactRootElementInContainer(container);\n var prevHostInstance = rootEl && ReactDOMComponentTree.getInstanceFromNode(rootEl);\n return prevHostInstance && !prevHostInstance._hostParent ? prevHostInstance : null;\n}\n\nfunction getTopLevelWrapperInContainer(container) {\n var root = getHostRootInstanceInContainer(container);\n return root ? root._hostContainerInfo._topLevelWrapper : null;\n}\n\n/**\n * Temporary (?) hack so that we can store all top-level pending updates on\n * composites instead of having to worry about different types of components\n * here.\n */\nvar topLevelRootCounter = 1;\nvar TopLevelWrapper = function () {\n this.rootID = topLevelRootCounter++;\n};\nTopLevelWrapper.prototype.isReactComponent = {};\nif (process.env.NODE_ENV !== 'production') {\n TopLevelWrapper.displayName = 'TopLevelWrapper';\n}\nTopLevelWrapper.prototype.render = function () {\n // this.props is actually a ReactElement\n return this.props;\n};\n\n/**\n * Mounting is the process of initializing a React component by creating its\n * representative DOM elements and inserting them into a supplied `container`.\n * Any prior content inside `container` is destroyed in the process.\n *\n * ReactMount.render(\n * component,\n * document.getElementById('container')\n * );\n *\n * <-- Supplied `container`.\n *
<-- Rendered reactRoot of React\n * // ... component.\n *
\n *
\n *\n * Inside of `container`, the first element rendered is the \"reactRoot\".\n */\nvar ReactMount = {\n\n TopLevelWrapper: TopLevelWrapper,\n\n /**\n * Used by devtools. The keys are not important.\n */\n _instancesByReactRootID: instancesByReactRootID,\n\n /**\n * This is a hook provided to support rendering React components while\n * ensuring that the apparent scroll position of its `container` does not\n * change.\n *\n * @param {DOMElement} container The `container` being rendered into.\n * @param {function} renderCallback This must be called once to do the render.\n */\n scrollMonitor: function (container, renderCallback) {\n renderCallback();\n },\n\n /**\n * Take a component that's already mounted into the DOM and replace its props\n * @param {ReactComponent} prevComponent component instance already in the DOM\n * @param {ReactElement} nextElement component instance to render\n * @param {DOMElement} container container to render into\n * @param {?function} callback function triggered on completion\n */\n _updateRootComponent: function (prevComponent, nextElement, nextContext, container, callback) {\n ReactMount.scrollMonitor(container, function () {\n ReactUpdateQueue.enqueueElementInternal(prevComponent, nextElement, nextContext);\n if (callback) {\n ReactUpdateQueue.enqueueCallbackInternal(prevComponent, callback);\n }\n });\n\n return prevComponent;\n },\n\n /**\n * Render a new component into the DOM. Hooked by devtools!\n *\n * @param {ReactElement} nextElement element to render\n * @param {DOMElement} container container to render into\n * @param {boolean} shouldReuseMarkup if we should skip the markup insertion\n * @return {ReactComponent} nextComponent\n */\n _renderNewRootComponent: function (nextElement, container, shouldReuseMarkup, context) {\n // Various parts of our code (such as ReactCompositeComponent's\n // _renderValidatedComponent) assume that calls to render aren't nested;\n // verify that that's the case.\n process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, '_renderNewRootComponent(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from ' + 'render is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : void 0;\n\n !(container && (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE || container.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)) ? process.env.NODE_ENV !== 'production' ? invariant(false, '_registerComponent(...): Target container is not a DOM element.') : _prodInvariant('37') : void 0;\n\n ReactBrowserEventEmitter.ensureScrollValueMonitoring();\n var componentInstance = instantiateReactComponent(nextElement, false);\n\n // The initial render is synchronous but any updates that happen during\n // rendering, in componentWillMount or componentDidMount, will be batched\n // according to the current batching strategy.\n\n ReactUpdates.batchedUpdates(batchedMountComponentIntoNode, componentInstance, container, shouldReuseMarkup, context);\n\n var wrapperID = componentInstance._instance.rootID;\n instancesByReactRootID[wrapperID] = componentInstance;\n\n if (process.env.NODE_ENV !== 'production') {\n // The instance here is TopLevelWrapper so we report mount for its child.\n ReactInstrumentation.debugTool.onMountRootComponent(componentInstance._renderedComponent._debugID);\n }\n\n return componentInstance;\n },\n\n /**\n * Renders a React component into the DOM in the supplied `container`.\n *\n * If the React component was previously rendered into `container`, this will\n * perform an update on it and only mutate the DOM as necessary to reflect the\n * latest React component.\n *\n * @param {ReactComponent} parentComponent The conceptual parent of this render tree.\n * @param {ReactElement} nextElement Component element to render.\n * @param {DOMElement} container DOM element to render into.\n * @param {?function} callback function triggered on completion\n * @return {ReactComponent} Component instance rendered in `container`.\n */\n renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) {\n !(parentComponent != null && ReactInstanceMap.has(parentComponent)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'parentComponent must be a valid React Component') : _prodInvariant('38') : void 0;\n return ReactMount._renderSubtreeIntoContainer(parentComponent, nextElement, container, callback);\n },\n\n _renderSubtreeIntoContainer: function (parentComponent, nextElement, container, callback) {\n ReactUpdateQueue.validateCallback(callback, 'ReactDOM.render');\n !ReactElement.isValidElement(nextElement) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'ReactDOM.render(): Invalid component element.%s', typeof nextElement === 'string' ? ' Instead of passing a string like \\'div\\', pass ' + 'React.createElement(\\'div\\') or
.' : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or .' :\n // Check if it quacks like an element\n nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : _prodInvariant('39', typeof nextElement === 'string' ? ' Instead of passing a string like \\'div\\', pass ' + 'React.createElement(\\'div\\') or
.' : typeof nextElement === 'function' ? ' Instead of passing a class like Foo, pass ' + 'React.createElement(Foo) or .' : nextElement != null && nextElement.props !== undefined ? ' This may be caused by unintentionally loading two independent ' + 'copies of React.' : '') : void 0;\n\n process.env.NODE_ENV !== 'production' ? warning(!container || !container.tagName || container.tagName.toUpperCase() !== 'BODY', 'render(): Rendering components directly into document.body is ' + 'discouraged, since its children are often manipulated by third-party ' + 'scripts and browser extensions. This may lead to subtle ' + 'reconciliation issues. Try rendering into a container element created ' + 'for your app.') : void 0;\n\n var nextWrappedElement = ReactElement(TopLevelWrapper, null, null, null, null, null, nextElement);\n\n var nextContext;\n if (parentComponent) {\n var parentInst = ReactInstanceMap.get(parentComponent);\n nextContext = parentInst._processChildContext(parentInst._context);\n } else {\n nextContext = emptyObject;\n }\n\n var prevComponent = getTopLevelWrapperInContainer(container);\n\n if (prevComponent) {\n var prevWrappedElement = prevComponent._currentElement;\n var prevElement = prevWrappedElement.props;\n if (shouldUpdateReactComponent(prevElement, nextElement)) {\n var publicInst = prevComponent._renderedComponent.getPublicInstance();\n var updatedCallback = callback && function () {\n callback.call(publicInst);\n };\n ReactMount._updateRootComponent(prevComponent, nextWrappedElement, nextContext, container, updatedCallback);\n return publicInst;\n } else {\n ReactMount.unmountComponentAtNode(container);\n }\n }\n\n var reactRootElement = getReactRootElementInContainer(container);\n var containerHasReactMarkup = reactRootElement && !!internalGetID(reactRootElement);\n var containerHasNonRootReactChild = hasNonRootReactChild(container);\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'render(...): Replacing React-rendered children with a new root ' + 'component. If you intended to update the children of this node, ' + 'you should instead have the existing children update their state ' + 'and render the new components instead of calling ReactDOM.render.') : void 0;\n\n if (!containerHasReactMarkup || reactRootElement.nextSibling) {\n var rootElementSibling = reactRootElement;\n while (rootElementSibling) {\n if (internalGetID(rootElementSibling)) {\n process.env.NODE_ENV !== 'production' ? warning(false, 'render(): Target node has markup rendered by React, but there ' + 'are unrelated nodes as well. This is most commonly caused by ' + 'white-space inserted around server-rendered markup.') : void 0;\n break;\n }\n rootElementSibling = rootElementSibling.nextSibling;\n }\n }\n }\n\n var shouldReuseMarkup = containerHasReactMarkup && !prevComponent && !containerHasNonRootReactChild;\n var component = ReactMount._renderNewRootComponent(nextWrappedElement, container, shouldReuseMarkup, nextContext)._renderedComponent.getPublicInstance();\n if (callback) {\n callback.call(component);\n }\n return component;\n },\n\n /**\n * Renders a React component into the DOM in the supplied `container`.\n * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.render\n *\n * If the React component was previously rendered into `container`, this will\n * perform an update on it and only mutate the DOM as necessary to reflect the\n * latest React component.\n *\n * @param {ReactElement} nextElement Component element to render.\n * @param {DOMElement} container DOM element to render into.\n * @param {?function} callback function triggered on completion\n * @return {ReactComponent} Component instance rendered in `container`.\n */\n render: function (nextElement, container, callback) {\n return ReactMount._renderSubtreeIntoContainer(null, nextElement, container, callback);\n },\n\n /**\n * Unmounts and destroys the React component rendered in the `container`.\n * See https://facebook.github.io/react/docs/top-level-api.html#reactdom.unmountcomponentatnode\n *\n * @param {DOMElement} container DOM element containing a React component.\n * @return {boolean} True if a component was found in and unmounted from\n * `container`\n */\n unmountComponentAtNode: function (container) {\n // Various parts of our code (such as ReactCompositeComponent's\n // _renderValidatedComponent) assume that calls to render aren't nested;\n // verify that that's the case. (Strictly speaking, unmounting won't cause a\n // render but we still don't expect to be in a render call here.)\n process.env.NODE_ENV !== 'production' ? warning(ReactCurrentOwner.current == null, 'unmountComponentAtNode(): Render methods should be a pure function ' + 'of props and state; triggering nested component updates from render ' + 'is not allowed. If necessary, trigger nested updates in ' + 'componentDidUpdate. Check the render method of %s.', ReactCurrentOwner.current && ReactCurrentOwner.current.getName() || 'ReactCompositeComponent') : void 0;\n\n !(container && (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE || container.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'unmountComponentAtNode(...): Target container is not a DOM element.') : _prodInvariant('40') : void 0;\n\n var prevComponent = getTopLevelWrapperInContainer(container);\n if (!prevComponent) {\n // Check if the node being unmounted was rendered by React, but isn't a\n // root node.\n var containerHasNonRootReactChild = hasNonRootReactChild(container);\n\n // Check if the container itself is a React root node.\n var isContainerReactRoot = container.nodeType === 1 && container.hasAttribute(ROOT_ATTR_NAME);\n\n if (process.env.NODE_ENV !== 'production') {\n process.env.NODE_ENV !== 'production' ? warning(!containerHasNonRootReactChild, 'unmountComponentAtNode(): The node you\\'re attempting to unmount ' + 'was rendered by React and is not a top-level container. %s', isContainerReactRoot ? 'You may have accidentally passed in a React root node instead ' + 'of its container.' : 'Instead, have the parent component update its state and ' + 'rerender in order to remove this component.') : void 0;\n }\n\n return false;\n }\n delete instancesByReactRootID[prevComponent._instance.rootID];\n ReactUpdates.batchedUpdates(unmountComponentFromNode, prevComponent, container, false);\n return true;\n },\n\n _mountImageIntoNode: function (markup, container, instance, shouldReuseMarkup, transaction) {\n !(container && (container.nodeType === ELEMENT_NODE_TYPE || container.nodeType === DOC_NODE_TYPE || container.nodeType === DOCUMENT_FRAGMENT_NODE_TYPE)) ? process.env.NODE_ENV !== 'production' ? invariant(false, 'mountComponentIntoNode(...): Target container is not valid.') : _prodInvariant('41') : void 0;\n\n if (shouldReuseMarkup) {\n var rootElement = getReactRootElementInContainer(container);\n if (ReactMarkupChecksum.canReuseMarkup(markup, rootElement)) {\n ReactDOMComponentTree.precacheNode(instance, rootElement);\n return;\n } else {\n var checksum = rootElement.getAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n rootElement.removeAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME);\n\n var rootMarkup = rootElement.outerHTML;\n rootElement.setAttribute(ReactMarkupChecksum.CHECKSUM_ATTR_NAME, checksum);\n\n var normalizedMarkup = markup;\n if (process.env.NODE_ENV !== 'production') {\n // because rootMarkup is retrieved from the DOM, various normalizations\n // will have occurred which will not be present in `markup`. Here,\n // insert markup into a