System.registerDynamic("npm:react@0.14.7/lib/ReactServerBatchingStrategy.js", [], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var ReactServerBatchingStrategy = { isBatchingUpdates: false, batchedUpdates: function(callback) {} }; module.exports = ReactServerBatchingStrategy; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ReactServerRenderingTransaction.js", ["npm:react@0.14.7/lib/PooledClass.js", "npm:react@0.14.7/lib/CallbackQueue.js", "npm:react@0.14.7/lib/Transaction.js", "npm:react@0.14.7/lib/Object.assign.js", "npm:fbjs@0.6.1/lib/emptyFunction.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var PooledClass = $__require('npm:react@0.14.7/lib/PooledClass.js'); var CallbackQueue = $__require('npm:react@0.14.7/lib/CallbackQueue.js'); var Transaction = $__require('npm:react@0.14.7/lib/Transaction.js'); var assign = $__require('npm:react@0.14.7/lib/Object.assign.js'); var emptyFunction = $__require('npm:fbjs@0.6.1/lib/emptyFunction.js'); var ON_DOM_READY_QUEUEING = { initialize: function() { this.reactMountReady.reset(); }, close: emptyFunction }; var TRANSACTION_WRAPPERS = [ON_DOM_READY_QUEUEING]; function ReactServerRenderingTransaction(renderToStaticMarkup) { this.reinitializeTransaction(); this.renderToStaticMarkup = renderToStaticMarkup; this.reactMountReady = CallbackQueue.getPooled(null); this.useCreateElement = false; } var Mixin = { getTransactionWrappers: function() { return TRANSACTION_WRAPPERS; }, getReactMountReady: function() { return this.reactMountReady; }, destructor: function() { CallbackQueue.release(this.reactMountReady); this.reactMountReady = null; } }; assign(ReactServerRenderingTransaction.prototype, Transaction.Mixin, Mixin); PooledClass.addPoolingTo(ReactServerRenderingTransaction); module.exports = ReactServerRenderingTransaction; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ReactServerRendering.js", ["npm:react@0.14.7/lib/ReactDefaultBatchingStrategy.js", "npm:react@0.14.7/lib/ReactElement.js", "npm:react@0.14.7/lib/ReactInstanceHandles.js", "npm:react@0.14.7/lib/ReactMarkupChecksum.js", "npm:react@0.14.7/lib/ReactServerBatchingStrategy.js", "npm:react@0.14.7/lib/ReactServerRenderingTransaction.js", "npm:react@0.14.7/lib/ReactUpdates.js", "npm:fbjs@0.6.1/lib/emptyObject.js", "npm:react@0.14.7/lib/instantiateReactComponent.js", "npm:fbjs@0.6.1/lib/invariant.js", "github:jspm/nodelibs-process@0.1.2.js"], true, function($__require, exports, module) { ; var define; var global = this; var GLOBAL = this; (function(process) { 'use strict'; var ReactDefaultBatchingStrategy = $__require('npm:react@0.14.7/lib/ReactDefaultBatchingStrategy.js'); var ReactElement = $__require('npm:react@0.14.7/lib/ReactElement.js'); var ReactInstanceHandles = $__require('npm:react@0.14.7/lib/ReactInstanceHandles.js'); var ReactMarkupChecksum = $__require('npm:react@0.14.7/lib/ReactMarkupChecksum.js'); var ReactServerBatchingStrategy = $__require('npm:react@0.14.7/lib/ReactServerBatchingStrategy.js'); var ReactServerRenderingTransaction = $__require('npm:react@0.14.7/lib/ReactServerRenderingTransaction.js'); var ReactUpdates = $__require('npm:react@0.14.7/lib/ReactUpdates.js'); var emptyObject = $__require('npm:fbjs@0.6.1/lib/emptyObject.js'); var instantiateReactComponent = $__require('npm:react@0.14.7/lib/instantiateReactComponent.js'); var invariant = $__require('npm:fbjs@0.6.1/lib/invariant.js'); function renderToString(element) { !ReactElement.isValidElement(element) ? "production" !== 'production' ? invariant(false, 'renderToString(): You must pass a valid ReactElement.') : invariant(false) : undefined; var transaction; try { ReactUpdates.injection.injectBatchingStrategy(ReactServerBatchingStrategy); var id = ReactInstanceHandles.createReactRootID(); transaction = ReactServerRenderingTransaction.getPooled(false); return transaction.perform(function() { var componentInstance = instantiateReactComponent(element, null); var markup = componentInstance.mountComponent(id, transaction, emptyObject); return ReactMarkupChecksum.addChecksumToMarkup(markup); }, null); } finally { ReactServerRenderingTransaction.release(transaction); ReactUpdates.injection.injectBatchingStrategy(ReactDefaultBatchingStrategy); } } function renderToStaticMarkup(element) { !ReactElement.isValidElement(element) ? "production" !== 'production' ? invariant(false, 'renderToStaticMarkup(): You must pass a valid ReactElement.') : invariant(false) : undefined; var transaction; try { ReactUpdates.injection.injectBatchingStrategy(ReactServerBatchingStrategy); var id = ReactInstanceHandles.createReactRootID(); transaction = ReactServerRenderingTransaction.getPooled(true); return transaction.perform(function() { var componentInstance = instantiateReactComponent(element, null); return componentInstance.mountComponent(id, transaction, emptyObject); }, null); } finally { ReactServerRenderingTransaction.release(transaction); ReactUpdates.injection.injectBatchingStrategy(ReactDefaultBatchingStrategy); } } module.exports = { renderToString: renderToString, renderToStaticMarkup: renderToStaticMarkup }; })($__require('github:jspm/nodelibs-process@0.1.2.js')); return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ReactDOMServer.js", ["npm:react@0.14.7/lib/ReactDefaultInjection.js", "npm:react@0.14.7/lib/ReactServerRendering.js", "npm:react@0.14.7/lib/ReactVersion.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var ReactDefaultInjection = $__require('npm:react@0.14.7/lib/ReactDefaultInjection.js'); var ReactServerRendering = $__require('npm:react@0.14.7/lib/ReactServerRendering.js'); var ReactVersion = $__require('npm:react@0.14.7/lib/ReactVersion.js'); ReactDefaultInjection.inject(); var ReactDOMServer = { renderToString: ReactServerRendering.renderToString, renderToStaticMarkup: ReactServerRendering.renderToStaticMarkup, version: ReactVersion }; module.exports = ReactDOMServer; return module.exports; }); System.registerDynamic("npm:fbjs@0.6.1/lib/mapObject.js", [], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var hasOwnProperty = Object.prototype.hasOwnProperty; function mapObject(object, callback, context) { if (!object) { return null; } var result = {}; for (var name in object) { if (hasOwnProperty.call(object, name)) { result[name] = callback.call(context, object[name], name, object); } } return result; } module.exports = mapObject; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ReactDOMFactories.js", ["npm:react@0.14.7/lib/ReactElement.js", "npm:react@0.14.7/lib/ReactElementValidator.js", "npm:fbjs@0.6.1/lib/mapObject.js", "github:jspm/nodelibs-process@0.1.2.js"], true, function($__require, exports, module) { ; var define; var global = this; var GLOBAL = this; (function(process) { 'use strict'; var ReactElement = $__require('npm:react@0.14.7/lib/ReactElement.js'); var ReactElementValidator = $__require('npm:react@0.14.7/lib/ReactElementValidator.js'); var mapObject = $__require('npm:fbjs@0.6.1/lib/mapObject.js'); function createDOMFactory(tag) { if ("production" !== 'production') { return ReactElementValidator.createFactory(tag); } return ReactElement.createFactory(tag); } var ReactDOMFactories = mapObject({ a: 'a', abbr: 'abbr', address: 'address', area: 'area', article: 'article', aside: 'aside', audio: 'audio', b: 'b', base: 'base', bdi: 'bdi', bdo: 'bdo', big: 'big', blockquote: 'blockquote', body: 'body', br: 'br', button: 'button', canvas: 'canvas', caption: 'caption', cite: 'cite', code: 'code', col: 'col', colgroup: 'colgroup', data: 'data', datalist: 'datalist', dd: 'dd', del: 'del', details: 'details', dfn: 'dfn', dialog: 'dialog', div: 'div', dl: 'dl', dt: 'dt', em: 'em', embed: 'embed', fieldset: 'fieldset', figcaption: 'figcaption', figure: 'figure', footer: 'footer', form: 'form', h1: 'h1', h2: 'h2', h3: 'h3', h4: 'h4', h5: 'h5', h6: 'h6', head: 'head', header: 'header', hgroup: 'hgroup', hr: 'hr', html: 'html', i: 'i', iframe: 'iframe', img: 'img', input: 'input', ins: 'ins', kbd: 'kbd', keygen: 'keygen', label: 'label', legend: 'legend', li: 'li', link: 'link', main: 'main', map: 'map', mark: 'mark', menu: 'menu', menuitem: 'menuitem', meta: 'meta', meter: 'meter', nav: 'nav', noscript: 'noscript', object: 'object', ol: 'ol', optgroup: 'optgroup', option: 'option', output: 'output', p: 'p', param: 'param', picture: 'picture', pre: 'pre', progress: 'progress', q: 'q', rp: 'rp', rt: 'rt', ruby: 'ruby', s: 's', samp: 'samp', script: 'script', section: 'section', select: 'select', small: 'small', source: 'source', span: 'span', strong: 'strong', style: 'style', sub: 'sub', summary: 'summary', sup: 'sup', table: 'table', tbody: 'tbody', td: 'td', textarea: 'textarea', tfoot: 'tfoot', th: 'th', thead: 'thead', time: 'time', title: 'title', tr: 'tr', track: 'track', u: 'u', ul: 'ul', 'var': 'var', video: 'video', wbr: 'wbr', circle: 'circle', clipPath: 'clipPath', defs: 'defs', ellipse: 'ellipse', g: 'g', image: 'image', line: 'line', linearGradient: 'linearGradient', mask: 'mask', path: 'path', pattern: 'pattern', polygon: 'polygon', polyline: 'polyline', radialGradient: 'radialGradient', rect: 'rect', stop: 'stop', svg: 'svg', text: 'text', tspan: 'tspan' }, createDOMFactory); module.exports = ReactDOMFactories; })($__require('github:jspm/nodelibs-process@0.1.2.js')); return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ReactElementValidator.js", ["npm:react@0.14.7/lib/ReactElement.js", "npm:react@0.14.7/lib/ReactPropTypeLocations.js", "npm:react@0.14.7/lib/ReactPropTypeLocationNames.js", "npm:react@0.14.7/lib/ReactCurrentOwner.js", "npm:react@0.14.7/lib/canDefineProperty.js", "npm:react@0.14.7/lib/getIteratorFn.js", "npm:fbjs@0.6.1/lib/invariant.js", "npm:fbjs@0.6.1/lib/warning.js", "github:jspm/nodelibs-process@0.1.2.js"], true, function($__require, exports, module) { ; var define; var global = this; var GLOBAL = this; (function(process) { 'use strict'; var ReactElement = $__require('npm:react@0.14.7/lib/ReactElement.js'); var ReactPropTypeLocations = $__require('npm:react@0.14.7/lib/ReactPropTypeLocations.js'); var ReactPropTypeLocationNames = $__require('npm:react@0.14.7/lib/ReactPropTypeLocationNames.js'); var ReactCurrentOwner = $__require('npm:react@0.14.7/lib/ReactCurrentOwner.js'); var canDefineProperty = $__require('npm:react@0.14.7/lib/canDefineProperty.js'); var getIteratorFn = $__require('npm:react@0.14.7/lib/getIteratorFn.js'); var invariant = $__require('npm:fbjs@0.6.1/lib/invariant.js'); var warning = $__require('npm:fbjs@0.6.1/lib/warning.js'); function getDeclarationErrorAddendum() { if (ReactCurrentOwner.current) { var name = ReactCurrentOwner.current.getName(); if (name) { return ' Check the render method of `' + name + '`.'; } } return ''; } var ownerHasKeyUseWarning = {}; var loggedTypeFailures = {}; function validateExplicitKey(element, parentType) { if (!element._store || element._store.validated || element.key != null) { return; } element._store.validated = true; var addenda = getAddendaForKeyUse('uniqueKey', element, parentType); if (addenda === null) { return; } "production" !== 'production' ? warning(false, 'Each child in an array or iterator should have a unique "key" prop.' + '%s%s%s', addenda.parentOrOwner || '', addenda.childOwner || '', addenda.url || '') : undefined; } function getAddendaForKeyUse(messageType, element, parentType) { var addendum = getDeclarationErrorAddendum(); if (!addendum) { var parentName = typeof parentType === 'string' ? parentType : parentType.displayName || parentType.name; if (parentName) { addendum = ' Check the top-level render call using <' + parentName + '>.'; } } var memoizer = ownerHasKeyUseWarning[messageType] || (ownerHasKeyUseWarning[messageType] = {}); if (memoizer[addendum]) { return null; } memoizer[addendum] = true; var addenda = { parentOrOwner: addendum, url: ' See https://fb.me/react-warning-keys for more information.', childOwner: null }; if (element && element._owner && element._owner !== ReactCurrentOwner.current) { addenda.childOwner = ' It was passed a child from ' + element._owner.getName() + '.'; } return addenda; } function validateChildKeys(node, parentType) { if (typeof node !== 'object') { return; } if (Array.isArray(node)) { for (var i = 0; i < node.length; i++) { var child = node[i]; if (ReactElement.isValidElement(child)) { validateExplicitKey(child, parentType); } } } else if (ReactElement.isValidElement(node)) { if (node._store) { node._store.validated = true; } } else if (node) { var iteratorFn = getIteratorFn(node); if (iteratorFn) { if (iteratorFn !== node.entries) { var iterator = iteratorFn.call(node); var step; while (!(step = iterator.next()).done) { if (ReactElement.isValidElement(step.value)) { validateExplicitKey(step.value, parentType); } } } } } } function checkPropTypes(componentName, propTypes, props, location) { for (var propName in propTypes) { if (propTypes.hasOwnProperty(propName)) { var error; try { !(typeof propTypes[propName] === 'function') ? "production" !== 'production' ? invariant(false, '%s: %s type `%s` is invalid; it must be a function, usually from ' + 'React.PropTypes.', componentName || 'React class', ReactPropTypeLocationNames[location], propName) : invariant(false) : undefined; error = propTypes[propName](props, propName, componentName, location); } catch (ex) { error = ex; } "production" !== 'production' ? warning(!error || error instanceof Error, '%s: type specification of %s `%s` is invalid; the type checker ' + 'function must return `null` or an `Error` but returned a %s. ' + 'You may have forgotten to pass an argument to the type checker ' + 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' + 'shape all require an argument).', componentName || 'React class', ReactPropTypeLocationNames[location], propName, typeof error) : undefined; if (error instanceof Error && !(error.message in loggedTypeFailures)) { loggedTypeFailures[error.message] = true; var addendum = getDeclarationErrorAddendum(); "production" !== 'production' ? warning(false, 'Failed propType: %s%s', error.message, addendum) : undefined; } } } } function validatePropTypes(element) { var componentClass = element.type; if (typeof componentClass !== 'function') { return; } var name = componentClass.displayName || componentClass.name; if (componentClass.propTypes) { checkPropTypes(name, componentClass.propTypes, element.props, ReactPropTypeLocations.prop); } if (typeof componentClass.getDefaultProps === 'function') { "production" !== 'production' ? warning(componentClass.getDefaultProps.isReactClassApproved, 'getDefaultProps is only used on classic React.createClass ' + 'definitions. Use a static property named `defaultProps` instead.') : undefined; } } var ReactElementValidator = { createElement: function(type, props, children) { var validType = typeof type === 'string' || typeof type === 'function'; "production" !== 'production' ? warning(validType, 'React.createElement: type should not be null, undefined, boolean, or ' + 'number. It should be a string (for DOM elements) or a ReactClass ' + '(for composite components).%s', getDeclarationErrorAddendum()) : undefined; var element = ReactElement.createElement.apply(this, arguments); if (element == null) { return element; } if (validType) { for (var i = 2; i < arguments.length; i++) { validateChildKeys(arguments[i], type); } } validatePropTypes(element); return element; }, createFactory: function(type) { var validatedFactory = ReactElementValidator.createElement.bind(null, type); validatedFactory.type = type; if ("production" !== 'production') { if (canDefineProperty) { Object.defineProperty(validatedFactory, 'type', { enumerable: false, get: function() { "production" !== 'production' ? warning(false, 'Factory.type is deprecated. Access the class directly ' + 'before passing it to createFactory.') : undefined; Object.defineProperty(this, 'type', {value: type}); return type; } }); } } return validatedFactory; }, cloneElement: function(element, props, children) { var newElement = ReactElement.cloneElement.apply(this, arguments); for (var i = 2; i < arguments.length; i++) { validateChildKeys(arguments[i], newElement.type); } validatePropTypes(newElement); return newElement; } }; module.exports = ReactElementValidator; })($__require('github:jspm/nodelibs-process@0.1.2.js')); return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/onlyChild.js", ["npm:react@0.14.7/lib/ReactElement.js", "npm:fbjs@0.6.1/lib/invariant.js", "github:jspm/nodelibs-process@0.1.2.js"], true, function($__require, exports, module) { ; var define; var global = this; var GLOBAL = this; (function(process) { 'use strict'; var ReactElement = $__require('npm:react@0.14.7/lib/ReactElement.js'); var invariant = $__require('npm:fbjs@0.6.1/lib/invariant.js'); function onlyChild(children) { !ReactElement.isValidElement(children) ? "production" !== 'production' ? invariant(false, 'onlyChild must be passed a children with exactly one child.') : invariant(false) : undefined; return children; } module.exports = onlyChild; })($__require('github:jspm/nodelibs-process@0.1.2.js')); return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ReactIsomorphic.js", ["npm:react@0.14.7/lib/ReactChildren.js", "npm:react@0.14.7/lib/ReactComponent.js", "npm:react@0.14.7/lib/ReactClass.js", "npm:react@0.14.7/lib/ReactDOMFactories.js", "npm:react@0.14.7/lib/ReactElement.js", "npm:react@0.14.7/lib/ReactElementValidator.js", "npm:react@0.14.7/lib/ReactPropTypes.js", "npm:react@0.14.7/lib/ReactVersion.js", "npm:react@0.14.7/lib/Object.assign.js", "npm:react@0.14.7/lib/onlyChild.js", "github:jspm/nodelibs-process@0.1.2.js"], true, function($__require, exports, module) { ; var define; var global = this; var GLOBAL = this; (function(process) { 'use strict'; var ReactChildren = $__require('npm:react@0.14.7/lib/ReactChildren.js'); var ReactComponent = $__require('npm:react@0.14.7/lib/ReactComponent.js'); var ReactClass = $__require('npm:react@0.14.7/lib/ReactClass.js'); var ReactDOMFactories = $__require('npm:react@0.14.7/lib/ReactDOMFactories.js'); var ReactElement = $__require('npm:react@0.14.7/lib/ReactElement.js'); var ReactElementValidator = $__require('npm:react@0.14.7/lib/ReactElementValidator.js'); var ReactPropTypes = $__require('npm:react@0.14.7/lib/ReactPropTypes.js'); var ReactVersion = $__require('npm:react@0.14.7/lib/ReactVersion.js'); var assign = $__require('npm:react@0.14.7/lib/Object.assign.js'); var onlyChild = $__require('npm:react@0.14.7/lib/onlyChild.js'); var createElement = ReactElement.createElement; var createFactory = ReactElement.createFactory; var cloneElement = ReactElement.cloneElement; if ("production" !== 'production') { createElement = ReactElementValidator.createElement; createFactory = ReactElementValidator.createFactory; cloneElement = ReactElementValidator.cloneElement; } var React = { Children: { map: ReactChildren.map, forEach: ReactChildren.forEach, count: ReactChildren.count, toArray: ReactChildren.toArray, only: onlyChild }, Component: ReactComponent, createElement: createElement, cloneElement: cloneElement, isValidElement: ReactElement.isValidElement, PropTypes: ReactPropTypes, createClass: ReactClass.createClass, createFactory: createFactory, createMixin: function(mixin) { return mixin; }, DOM: ReactDOMFactories, version: ReactVersion, __spread: assign }; module.exports = React; })($__require('github:jspm/nodelibs-process@0.1.2.js')); return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/deprecated.js", ["npm:react@0.14.7/lib/Object.assign.js", "npm:fbjs@0.6.1/lib/warning.js", "github:jspm/nodelibs-process@0.1.2.js"], true, function($__require, exports, module) { ; var define; var global = this; var GLOBAL = this; (function(process) { 'use strict'; var assign = $__require('npm:react@0.14.7/lib/Object.assign.js'); var warning = $__require('npm:fbjs@0.6.1/lib/warning.js'); function deprecated(fnName, newModule, newPackage, ctx, fn) { var warned = false; if ("production" !== 'production') { var newFn = function() { "production" !== 'production' ? warning(warned, 'React.%s is deprecated. Please use %s.%s from require' + '(\'%s\') ' + 'instead.', fnName, newModule, fnName, newPackage) : undefined; warned = true; return fn.apply(ctx, arguments); }; return assign(newFn, fn); } return fn; } module.exports = deprecated; })($__require('github:jspm/nodelibs-process@0.1.2.js')); return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/React.js", ["npm:react@0.14.7/lib/ReactDOM.js", "npm:react@0.14.7/lib/ReactDOMServer.js", "npm:react@0.14.7/lib/ReactIsomorphic.js", "npm:react@0.14.7/lib/Object.assign.js", "npm:react@0.14.7/lib/deprecated.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var ReactDOM = $__require('npm:react@0.14.7/lib/ReactDOM.js'); var ReactDOMServer = $__require('npm:react@0.14.7/lib/ReactDOMServer.js'); var ReactIsomorphic = $__require('npm:react@0.14.7/lib/ReactIsomorphic.js'); var assign = $__require('npm:react@0.14.7/lib/Object.assign.js'); var deprecated = $__require('npm:react@0.14.7/lib/deprecated.js'); var React = {}; assign(React, ReactIsomorphic); assign(React, { findDOMNode: deprecated('findDOMNode', 'ReactDOM', 'react-dom', ReactDOM, ReactDOM.findDOMNode), render: deprecated('render', 'ReactDOM', 'react-dom', ReactDOM, ReactDOM.render), unmountComponentAtNode: deprecated('unmountComponentAtNode', 'ReactDOM', 'react-dom', ReactDOM, ReactDOM.unmountComponentAtNode), renderToString: deprecated('renderToString', 'ReactDOMServer', 'react-dom/server', ReactDOMServer, ReactDOMServer.renderToString), renderToStaticMarkup: deprecated('renderToStaticMarkup', 'ReactDOMServer', 'react-dom/server', ReactDOMServer, ReactDOMServer.renderToStaticMarkup) }); React.__SECRET_DOM_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactDOM; React.__SECRET_DOM_SERVER_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ReactDOMServer; module.exports = React; return module.exports; }); System.registerDynamic("npm:react@0.14.7/react.js", ["npm:react@0.14.7/lib/React.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; module.exports = $__require('npm:react@0.14.7/lib/React.js'); return module.exports; }); System.registerDynamic("npm:react@0.14.7.js", ["npm:react@0.14.7/react.js"], true, function($__require, exports, module) { ; var define; var global = this; var GLOBAL = this; module.exports = $__require('npm:react@0.14.7/react.js'); return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/FallbackCompositionState.js", ["npm:react@0.14.7/lib/PooledClass.js", "npm:react@0.14.7/lib/Object.assign.js", "npm:react@0.14.7/lib/getTextContentAccessor.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var PooledClass = $__require('npm:react@0.14.7/lib/PooledClass.js'); var assign = $__require('npm:react@0.14.7/lib/Object.assign.js'); var getTextContentAccessor = $__require('npm:react@0.14.7/lib/getTextContentAccessor.js'); function FallbackCompositionState(root) { this._root = root; this._startText = this.getText(); this._fallbackText = null; } assign(FallbackCompositionState.prototype, { destructor: function() { this._root = null; this._startText = null; this._fallbackText = null; }, getText: function() { if ('value' in this._root) { return this._root.value; } return this._root[getTextContentAccessor()]; }, getData: function() { if (this._fallbackText) { return this._fallbackText; } var start; var startValue = this._startText; var startLength = startValue.length; var end; var endValue = this.getText(); var endLength = endValue.length; for (start = 0; start < startLength; start++) { if (startValue[start] !== endValue[start]) { break; } } var minEnd = startLength - start; for (end = 1; end <= minEnd; end++) { if (startValue[startLength - end] !== endValue[endLength - end]) { break; } } var sliceTail = end > 1 ? 1 - end : undefined; this._fallbackText = endValue.slice(start, sliceTail); return this._fallbackText; } }); PooledClass.addPoolingTo(FallbackCompositionState); module.exports = FallbackCompositionState; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/SyntheticCompositionEvent.js", ["npm:react@0.14.7/lib/SyntheticEvent.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var SyntheticEvent = $__require('npm:react@0.14.7/lib/SyntheticEvent.js'); var CompositionEventInterface = {data: null}; function SyntheticCompositionEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); } SyntheticEvent.augmentClass(SyntheticCompositionEvent, CompositionEventInterface); module.exports = SyntheticCompositionEvent; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/SyntheticInputEvent.js", ["npm:react@0.14.7/lib/SyntheticEvent.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var SyntheticEvent = $__require('npm:react@0.14.7/lib/SyntheticEvent.js'); var InputEventInterface = {data: null}; function SyntheticInputEvent(dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget) { SyntheticEvent.call(this, dispatchConfig, dispatchMarker, nativeEvent, nativeEventTarget); } SyntheticEvent.augmentClass(SyntheticInputEvent, InputEventInterface); module.exports = SyntheticInputEvent; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/BeforeInputEventPlugin.js", ["npm:react@0.14.7/lib/EventConstants.js", "npm:react@0.14.7/lib/EventPropagators.js", "npm:fbjs@0.6.1/lib/ExecutionEnvironment.js", "npm:react@0.14.7/lib/FallbackCompositionState.js", "npm:react@0.14.7/lib/SyntheticCompositionEvent.js", "npm:react@0.14.7/lib/SyntheticInputEvent.js", "npm:fbjs@0.6.1/lib/keyOf.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var EventConstants = $__require('npm:react@0.14.7/lib/EventConstants.js'); var EventPropagators = $__require('npm:react@0.14.7/lib/EventPropagators.js'); var ExecutionEnvironment = $__require('npm:fbjs@0.6.1/lib/ExecutionEnvironment.js'); var FallbackCompositionState = $__require('npm:react@0.14.7/lib/FallbackCompositionState.js'); var SyntheticCompositionEvent = $__require('npm:react@0.14.7/lib/SyntheticCompositionEvent.js'); var SyntheticInputEvent = $__require('npm:react@0.14.7/lib/SyntheticInputEvent.js'); var keyOf = $__require('npm:fbjs@0.6.1/lib/keyOf.js'); var END_KEYCODES = [9, 13, 27, 32]; var START_KEYCODE = 229; var canUseCompositionEvent = ExecutionEnvironment.canUseDOM && 'CompositionEvent' in window; var documentMode = null; if (ExecutionEnvironment.canUseDOM && 'documentMode' in document) { documentMode = document.documentMode; } var canUseTextInputEvent = ExecutionEnvironment.canUseDOM && 'TextEvent' in window && !documentMode && !isPresto(); var useFallbackCompositionData = ExecutionEnvironment.canUseDOM && (!canUseCompositionEvent || documentMode && documentMode > 8 && documentMode <= 11); function isPresto() { var opera = window.opera; return typeof opera === 'object' && typeof opera.version === 'function' && parseInt(opera.version(), 10) <= 12; } var SPACEBAR_CODE = 32; var SPACEBAR_CHAR = String.fromCharCode(SPACEBAR_CODE); var topLevelTypes = EventConstants.topLevelTypes; var eventTypes = { beforeInput: { phasedRegistrationNames: { bubbled: keyOf({onBeforeInput: null}), captured: keyOf({onBeforeInputCapture: null}) }, dependencies: [topLevelTypes.topCompositionEnd, topLevelTypes.topKeyPress, topLevelTypes.topTextInput, topLevelTypes.topPaste] }, compositionEnd: { phasedRegistrationNames: { bubbled: keyOf({onCompositionEnd: null}), captured: keyOf({onCompositionEndCapture: null}) }, dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionEnd, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown] }, compositionStart: { phasedRegistrationNames: { bubbled: keyOf({onCompositionStart: null}), captured: keyOf({onCompositionStartCapture: null}) }, dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionStart, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown] }, compositionUpdate: { phasedRegistrationNames: { bubbled: keyOf({onCompositionUpdate: null}), captured: keyOf({onCompositionUpdateCapture: null}) }, dependencies: [topLevelTypes.topBlur, topLevelTypes.topCompositionUpdate, topLevelTypes.topKeyDown, topLevelTypes.topKeyPress, topLevelTypes.topKeyUp, topLevelTypes.topMouseDown] } }; var hasSpaceKeypress = false; function isKeypressCommand(nativeEvent) { return (nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) && !(nativeEvent.ctrlKey && nativeEvent.altKey); } function getCompositionEventType(topLevelType) { switch (topLevelType) { case topLevelTypes.topCompositionStart: return eventTypes.compositionStart; case topLevelTypes.topCompositionEnd: return eventTypes.compositionEnd; case topLevelTypes.topCompositionUpdate: return eventTypes.compositionUpdate; } } function isFallbackCompositionStart(topLevelType, nativeEvent) { return topLevelType === topLevelTypes.topKeyDown && nativeEvent.keyCode === START_KEYCODE; } function isFallbackCompositionEnd(topLevelType, nativeEvent) { switch (topLevelType) { case topLevelTypes.topKeyUp: return END_KEYCODES.indexOf(nativeEvent.keyCode) !== -1; case topLevelTypes.topKeyDown: return nativeEvent.keyCode !== START_KEYCODE; case topLevelTypes.topKeyPress: case topLevelTypes.topMouseDown: case topLevelTypes.topBlur: return true; default: return false; } } function getDataFromCustomEvent(nativeEvent) { var detail = nativeEvent.detail; if (typeof detail === 'object' && 'data' in detail) { return detail.data; } return null; } var currentComposition = null; function extractCompositionEvent(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) { var eventType; var fallbackData; if (canUseCompositionEvent) { eventType = getCompositionEventType(topLevelType); } else if (!currentComposition) { if (isFallbackCompositionStart(topLevelType, nativeEvent)) { eventType = eventTypes.compositionStart; } } else if (isFallbackCompositionEnd(topLevelType, nativeEvent)) { eventType = eventTypes.compositionEnd; } if (!eventType) { return null; } if (useFallbackCompositionData) { if (!currentComposition && eventType === eventTypes.compositionStart) { currentComposition = FallbackCompositionState.getPooled(topLevelTarget); } else if (eventType === eventTypes.compositionEnd) { if (currentComposition) { fallbackData = currentComposition.getData(); } } } var event = SyntheticCompositionEvent.getPooled(eventType, topLevelTargetID, nativeEvent, nativeEventTarget); if (fallbackData) { event.data = fallbackData; } else { var customData = getDataFromCustomEvent(nativeEvent); if (customData !== null) { event.data = customData; } } EventPropagators.accumulateTwoPhaseDispatches(event); return event; } function getNativeBeforeInputChars(topLevelType, nativeEvent) { switch (topLevelType) { case topLevelTypes.topCompositionEnd: return getDataFromCustomEvent(nativeEvent); case topLevelTypes.topKeyPress: var which = nativeEvent.which; if (which !== SPACEBAR_CODE) { return null; } hasSpaceKeypress = true; return SPACEBAR_CHAR; case topLevelTypes.topTextInput: var chars = nativeEvent.data; if (chars === SPACEBAR_CHAR && hasSpaceKeypress) { return null; } return chars; default: return null; } } function getFallbackBeforeInputChars(topLevelType, nativeEvent) { if (currentComposition) { if (topLevelType === topLevelTypes.topCompositionEnd || isFallbackCompositionEnd(topLevelType, nativeEvent)) { var chars = currentComposition.getData(); FallbackCompositionState.release(currentComposition); currentComposition = null; return chars; } return null; } switch (topLevelType) { case topLevelTypes.topPaste: return null; case topLevelTypes.topKeyPress: if (nativeEvent.which && !isKeypressCommand(nativeEvent)) { return String.fromCharCode(nativeEvent.which); } return null; case topLevelTypes.topCompositionEnd: return useFallbackCompositionData ? null : nativeEvent.data; default: return null; } } function extractBeforeInputEvent(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) { var chars; if (canUseTextInputEvent) { chars = getNativeBeforeInputChars(topLevelType, nativeEvent); } else { chars = getFallbackBeforeInputChars(topLevelType, nativeEvent); } if (!chars) { return null; } var event = SyntheticInputEvent.getPooled(eventTypes.beforeInput, topLevelTargetID, nativeEvent, nativeEventTarget); event.data = chars; EventPropagators.accumulateTwoPhaseDispatches(event); return event; } var BeforeInputEventPlugin = { eventTypes: eventTypes, extractEvents: function(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) { return [extractCompositionEvent(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget), extractBeforeInputEvent(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget)]; } }; module.exports = BeforeInputEventPlugin; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ChangeEventPlugin.js", ["npm:react@0.14.7/lib/EventConstants.js", "npm:react@0.14.7/lib/EventPluginHub.js", "npm:react@0.14.7/lib/EventPropagators.js", "npm:fbjs@0.6.1/lib/ExecutionEnvironment.js", "npm:react@0.14.7/lib/ReactUpdates.js", "npm:react@0.14.7/lib/SyntheticEvent.js", "npm:react@0.14.7/lib/getEventTarget.js", "npm:react@0.14.7/lib/isEventSupported.js", "npm:react@0.14.7/lib/isTextInputElement.js", "npm:fbjs@0.6.1/lib/keyOf.js", "github:jspm/nodelibs-process@0.1.2.js"], true, function($__require, exports, module) { ; var define; var global = this; var GLOBAL = this; (function(process) { 'use strict'; var EventConstants = $__require('npm:react@0.14.7/lib/EventConstants.js'); var EventPluginHub = $__require('npm:react@0.14.7/lib/EventPluginHub.js'); var EventPropagators = $__require('npm:react@0.14.7/lib/EventPropagators.js'); var ExecutionEnvironment = $__require('npm:fbjs@0.6.1/lib/ExecutionEnvironment.js'); var ReactUpdates = $__require('npm:react@0.14.7/lib/ReactUpdates.js'); var SyntheticEvent = $__require('npm:react@0.14.7/lib/SyntheticEvent.js'); var getEventTarget = $__require('npm:react@0.14.7/lib/getEventTarget.js'); var isEventSupported = $__require('npm:react@0.14.7/lib/isEventSupported.js'); var isTextInputElement = $__require('npm:react@0.14.7/lib/isTextInputElement.js'); var keyOf = $__require('npm:fbjs@0.6.1/lib/keyOf.js'); var topLevelTypes = EventConstants.topLevelTypes; var eventTypes = {change: { phasedRegistrationNames: { bubbled: keyOf({onChange: null}), captured: keyOf({onChangeCapture: null}) }, dependencies: [topLevelTypes.topBlur, topLevelTypes.topChange, topLevelTypes.topClick, topLevelTypes.topFocus, topLevelTypes.topInput, topLevelTypes.topKeyDown, topLevelTypes.topKeyUp, topLevelTypes.topSelectionChange] }}; var activeElement = null; var activeElementID = null; var activeElementValue = null; var activeElementValueProp = null; function shouldUseChangeEvent(elem) { var nodeName = elem.nodeName && elem.nodeName.toLowerCase(); return nodeName === 'select' || nodeName === 'input' && elem.type === 'file'; } var doesChangeEventBubble = false; if (ExecutionEnvironment.canUseDOM) { doesChangeEventBubble = isEventSupported('change') && (!('documentMode' in document) || document.documentMode > 8); } function manualDispatchChangeEvent(nativeEvent) { var event = SyntheticEvent.getPooled(eventTypes.change, activeElementID, nativeEvent, getEventTarget(nativeEvent)); EventPropagators.accumulateTwoPhaseDispatches(event); ReactUpdates.batchedUpdates(runEventInBatch, event); } function runEventInBatch(event) { EventPluginHub.enqueueEvents(event); EventPluginHub.processEventQueue(false); } function startWatchingForChangeEventIE8(target, targetID) { activeElement = target; activeElementID = targetID; activeElement.attachEvent('onchange', manualDispatchChangeEvent); } function stopWatchingForChangeEventIE8() { if (!activeElement) { return; } activeElement.detachEvent('onchange', manualDispatchChangeEvent); activeElement = null; activeElementID = null; } function getTargetIDForChangeEvent(topLevelType, topLevelTarget, topLevelTargetID) { if (topLevelType === topLevelTypes.topChange) { return topLevelTargetID; } } function handleEventsForChangeEventIE8(topLevelType, topLevelTarget, topLevelTargetID) { if (topLevelType === topLevelTypes.topFocus) { stopWatchingForChangeEventIE8(); startWatchingForChangeEventIE8(topLevelTarget, topLevelTargetID); } else if (topLevelType === topLevelTypes.topBlur) { stopWatchingForChangeEventIE8(); } } var isInputEventSupported = false; if (ExecutionEnvironment.canUseDOM) { isInputEventSupported = isEventSupported('input') && (!('documentMode' in document) || document.documentMode > 9); } var newValueProp = { get: function() { return activeElementValueProp.get.call(this); }, set: function(val) { activeElementValue = '' + val; activeElementValueProp.set.call(this, val); } }; function startWatchingForValueChange(target, targetID) { activeElement = target; activeElementID = targetID; activeElementValue = target.value; activeElementValueProp = Object.getOwnPropertyDescriptor(target.constructor.prototype, 'value'); Object.defineProperty(activeElement, 'value', newValueProp); activeElement.attachEvent('onpropertychange', handlePropertyChange); } function stopWatchingForValueChange() { if (!activeElement) { return; } delete activeElement.value; activeElement.detachEvent('onpropertychange', handlePropertyChange); activeElement = null; activeElementID = null; activeElementValue = null; activeElementValueProp = null; } function handlePropertyChange(nativeEvent) { if (nativeEvent.propertyName !== 'value') { return; } var value = nativeEvent.srcElement.value; if (value === activeElementValue) { return; } activeElementValue = value; manualDispatchChangeEvent(nativeEvent); } function getTargetIDForInputEvent(topLevelType, topLevelTarget, topLevelTargetID) { if (topLevelType === topLevelTypes.topInput) { return topLevelTargetID; } } function handleEventsForInputEventIE(topLevelType, topLevelTarget, topLevelTargetID) { if (topLevelType === topLevelTypes.topFocus) { stopWatchingForValueChange(); startWatchingForValueChange(topLevelTarget, topLevelTargetID); } else if (topLevelType === topLevelTypes.topBlur) { stopWatchingForValueChange(); } } function getTargetIDForInputEventIE(topLevelType, topLevelTarget, topLevelTargetID) { if (topLevelType === topLevelTypes.topSelectionChange || topLevelType === topLevelTypes.topKeyUp || topLevelType === topLevelTypes.topKeyDown) { if (activeElement && activeElement.value !== activeElementValue) { activeElementValue = activeElement.value; return activeElementID; } } } function shouldUseClickEvent(elem) { return elem.nodeName && elem.nodeName.toLowerCase() === 'input' && (elem.type === 'checkbox' || elem.type === 'radio'); } function getTargetIDForClickEvent(topLevelType, topLevelTarget, topLevelTargetID) { if (topLevelType === topLevelTypes.topClick) { return topLevelTargetID; } } var ChangeEventPlugin = { eventTypes: eventTypes, extractEvents: function(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) { var getTargetIDFunc, handleEventFunc; if (shouldUseChangeEvent(topLevelTarget)) { if (doesChangeEventBubble) { getTargetIDFunc = getTargetIDForChangeEvent; } else { handleEventFunc = handleEventsForChangeEventIE8; } } else if (isTextInputElement(topLevelTarget)) { if (isInputEventSupported) { getTargetIDFunc = getTargetIDForInputEvent; } else { getTargetIDFunc = getTargetIDForInputEventIE; handleEventFunc = handleEventsForInputEventIE; } } else if (shouldUseClickEvent(topLevelTarget)) { getTargetIDFunc = getTargetIDForClickEvent; } if (getTargetIDFunc) { var targetID = getTargetIDFunc(topLevelType, topLevelTarget, topLevelTargetID); if (targetID) { var event = SyntheticEvent.getPooled(eventTypes.change, targetID, nativeEvent, nativeEventTarget); event.type = 'change'; EventPropagators.accumulateTwoPhaseDispatches(event); return event; } } if (handleEventFunc) { handleEventFunc(topLevelType, topLevelTarget, topLevelTargetID); } } }; module.exports = ChangeEventPlugin; })($__require('github:jspm/nodelibs-process@0.1.2.js')); return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ClientReactRootIndex.js", [], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var nextReactRootIndex = 0; var ClientReactRootIndex = {createReactRootIndex: function() { return nextReactRootIndex++; }}; module.exports = ClientReactRootIndex; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/DefaultEventPluginOrder.js", ["npm:fbjs@0.6.1/lib/keyOf.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var keyOf = $__require('npm:fbjs@0.6.1/lib/keyOf.js'); var DefaultEventPluginOrder = [keyOf({ResponderEventPlugin: null}), keyOf({SimpleEventPlugin: null}), keyOf({TapEventPlugin: null}), keyOf({EnterLeaveEventPlugin: null}), keyOf({ChangeEventPlugin: null}), keyOf({SelectEventPlugin: null}), keyOf({BeforeInputEventPlugin: null})]; module.exports = DefaultEventPluginOrder; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/EnterLeaveEventPlugin.js", ["npm:react@0.14.7/lib/EventConstants.js", "npm:react@0.14.7/lib/EventPropagators.js", "npm:react@0.14.7/lib/SyntheticMouseEvent.js", "npm:react@0.14.7/lib/ReactMount.js", "npm:fbjs@0.6.1/lib/keyOf.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var EventConstants = $__require('npm:react@0.14.7/lib/EventConstants.js'); var EventPropagators = $__require('npm:react@0.14.7/lib/EventPropagators.js'); var SyntheticMouseEvent = $__require('npm:react@0.14.7/lib/SyntheticMouseEvent.js'); var ReactMount = $__require('npm:react@0.14.7/lib/ReactMount.js'); var keyOf = $__require('npm:fbjs@0.6.1/lib/keyOf.js'); var topLevelTypes = EventConstants.topLevelTypes; var getFirstReactDOM = ReactMount.getFirstReactDOM; var eventTypes = { mouseEnter: { registrationName: keyOf({onMouseEnter: null}), dependencies: [topLevelTypes.topMouseOut, topLevelTypes.topMouseOver] }, mouseLeave: { registrationName: keyOf({onMouseLeave: null}), dependencies: [topLevelTypes.topMouseOut, topLevelTypes.topMouseOver] } }; var extractedEvents = [null, null]; var EnterLeaveEventPlugin = { eventTypes: eventTypes, extractEvents: function(topLevelType, topLevelTarget, topLevelTargetID, nativeEvent, nativeEventTarget) { if (topLevelType === topLevelTypes.topMouseOver && (nativeEvent.relatedTarget || nativeEvent.fromElement)) { return null; } if (topLevelType !== topLevelTypes.topMouseOut && topLevelType !== topLevelTypes.topMouseOver) { return null; } var win; if (topLevelTarget.window === topLevelTarget) { win = topLevelTarget; } else { var doc = topLevelTarget.ownerDocument; if (doc) { win = doc.defaultView || doc.parentWindow; } else { win = window; } } var from; var to; var fromID = ''; var toID = ''; if (topLevelType === topLevelTypes.topMouseOut) { from = topLevelTarget; fromID = topLevelTargetID; to = getFirstReactDOM(nativeEvent.relatedTarget || nativeEvent.toElement); if (to) { toID = ReactMount.getID(to); } else { to = win; } to = to || win; } else { from = win; to = topLevelTarget; toID = topLevelTargetID; } if (from === to) { return null; } var leave = SyntheticMouseEvent.getPooled(eventTypes.mouseLeave, fromID, nativeEvent, nativeEventTarget); leave.type = 'mouseleave'; leave.target = from; leave.relatedTarget = to; var enter = SyntheticMouseEvent.getPooled(eventTypes.mouseEnter, toID, nativeEvent, nativeEventTarget); enter.type = 'mouseenter'; enter.target = to; enter.relatedTarget = from; EventPropagators.accumulateEnterLeaveDispatches(leave, enter, fromID, toID); extractedEvents[0] = leave; extractedEvents[1] = enter; return extractedEvents; } }; module.exports = EnterLeaveEventPlugin; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/HTMLDOMPropertyConfig.js", ["npm:react@0.14.7/lib/DOMProperty.js", "npm:fbjs@0.6.1/lib/ExecutionEnvironment.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var DOMProperty = $__require('npm:react@0.14.7/lib/DOMProperty.js'); var ExecutionEnvironment = $__require('npm:fbjs@0.6.1/lib/ExecutionEnvironment.js'); var MUST_USE_ATTRIBUTE = DOMProperty.injection.MUST_USE_ATTRIBUTE; var MUST_USE_PROPERTY = DOMProperty.injection.MUST_USE_PROPERTY; var HAS_BOOLEAN_VALUE = DOMProperty.injection.HAS_BOOLEAN_VALUE; var HAS_SIDE_EFFECTS = DOMProperty.injection.HAS_SIDE_EFFECTS; var HAS_NUMERIC_VALUE = DOMProperty.injection.HAS_NUMERIC_VALUE; var HAS_POSITIVE_NUMERIC_VALUE = DOMProperty.injection.HAS_POSITIVE_NUMERIC_VALUE; var HAS_OVERLOADED_BOOLEAN_VALUE = DOMProperty.injection.HAS_OVERLOADED_BOOLEAN_VALUE; var hasSVG; if (ExecutionEnvironment.canUseDOM) { var implementation = document.implementation; hasSVG = implementation && implementation.hasFeature && implementation.hasFeature('http://www.w3.org/TR/SVG11/feature#BasicStructure', '1.1'); } var HTMLDOMPropertyConfig = { isCustomAttribute: RegExp.prototype.test.bind(/^(data|aria)-[a-z_][a-z\d_.\-]*$/), Properties: { accept: null, acceptCharset: null, accessKey: null, action: null, allowFullScreen: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, allowTransparency: MUST_USE_ATTRIBUTE, alt: null, async: HAS_BOOLEAN_VALUE, autoComplete: null, autoPlay: HAS_BOOLEAN_VALUE, capture: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, cellPadding: null, cellSpacing: null, charSet: MUST_USE_ATTRIBUTE, challenge: MUST_USE_ATTRIBUTE, checked: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, classID: MUST_USE_ATTRIBUTE, className: hasSVG ? MUST_USE_ATTRIBUTE : MUST_USE_PROPERTY, cols: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE, colSpan: null, content: null, contentEditable: null, contextMenu: MUST_USE_ATTRIBUTE, controls: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, coords: null, crossOrigin: null, data: null, dateTime: MUST_USE_ATTRIBUTE, 'default': HAS_BOOLEAN_VALUE, defer: HAS_BOOLEAN_VALUE, dir: null, disabled: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, download: HAS_OVERLOADED_BOOLEAN_VALUE, draggable: null, encType: null, form: MUST_USE_ATTRIBUTE, formAction: MUST_USE_ATTRIBUTE, formEncType: MUST_USE_ATTRIBUTE, formMethod: MUST_USE_ATTRIBUTE, formNoValidate: HAS_BOOLEAN_VALUE, formTarget: MUST_USE_ATTRIBUTE, frameBorder: MUST_USE_ATTRIBUTE, headers: null, height: MUST_USE_ATTRIBUTE, hidden: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, high: null, href: null, hrefLang: null, htmlFor: null, httpEquiv: null, icon: null, id: MUST_USE_PROPERTY, inputMode: MUST_USE_ATTRIBUTE, integrity: null, is: MUST_USE_ATTRIBUTE, keyParams: MUST_USE_ATTRIBUTE, keyType: MUST_USE_ATTRIBUTE, kind: null, label: null, lang: null, list: MUST_USE_ATTRIBUTE, loop: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, low: null, manifest: MUST_USE_ATTRIBUTE, marginHeight: null, marginWidth: null, max: null, maxLength: MUST_USE_ATTRIBUTE, media: MUST_USE_ATTRIBUTE, mediaGroup: null, method: null, min: null, minLength: MUST_USE_ATTRIBUTE, multiple: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, muted: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, name: null, nonce: MUST_USE_ATTRIBUTE, noValidate: HAS_BOOLEAN_VALUE, open: HAS_BOOLEAN_VALUE, optimum: null, pattern: null, placeholder: null, poster: null, preload: null, radioGroup: null, readOnly: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, rel: null, required: HAS_BOOLEAN_VALUE, reversed: HAS_BOOLEAN_VALUE, role: MUST_USE_ATTRIBUTE, rows: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE, rowSpan: null, sandbox: null, scope: null, scoped: HAS_BOOLEAN_VALUE, scrolling: null, seamless: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, selected: MUST_USE_PROPERTY | HAS_BOOLEAN_VALUE, shape: null, size: MUST_USE_ATTRIBUTE | HAS_POSITIVE_NUMERIC_VALUE, sizes: MUST_USE_ATTRIBUTE, span: HAS_POSITIVE_NUMERIC_VALUE, spellCheck: null, src: null, srcDoc: MUST_USE_PROPERTY, srcLang: null, srcSet: MUST_USE_ATTRIBUTE, start: HAS_NUMERIC_VALUE, step: null, style: null, summary: null, tabIndex: null, target: null, title: null, type: null, useMap: null, value: MUST_USE_PROPERTY | HAS_SIDE_EFFECTS, width: MUST_USE_ATTRIBUTE, wmode: MUST_USE_ATTRIBUTE, wrap: null, about: MUST_USE_ATTRIBUTE, datatype: MUST_USE_ATTRIBUTE, inlist: MUST_USE_ATTRIBUTE, prefix: MUST_USE_ATTRIBUTE, property: MUST_USE_ATTRIBUTE, resource: MUST_USE_ATTRIBUTE, 'typeof': MUST_USE_ATTRIBUTE, vocab: MUST_USE_ATTRIBUTE, autoCapitalize: MUST_USE_ATTRIBUTE, autoCorrect: MUST_USE_ATTRIBUTE, autoSave: null, color: null, itemProp: MUST_USE_ATTRIBUTE, itemScope: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE, itemType: MUST_USE_ATTRIBUTE, itemID: MUST_USE_ATTRIBUTE, itemRef: MUST_USE_ATTRIBUTE, results: null, security: MUST_USE_ATTRIBUTE, unselectable: MUST_USE_ATTRIBUTE }, DOMAttributeNames: { acceptCharset: 'accept-charset', className: 'class', htmlFor: 'for', httpEquiv: 'http-equiv' }, DOMPropertyNames: { autoComplete: 'autocomplete', autoFocus: 'autofocus', autoPlay: 'autoplay', autoSave: 'autosave', encType: 'encoding', hrefLang: 'hreflang', radioGroup: 'radiogroup', spellCheck: 'spellcheck', srcDoc: 'srcdoc', srcSet: 'srcset' } }; module.exports = HTMLDOMPropertyConfig; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ReactBrowserComponentMixin.js", ["npm:react@0.14.7/lib/ReactInstanceMap.js", "npm:react@0.14.7/lib/findDOMNode.js", "npm:fbjs@0.6.1/lib/warning.js", "github:jspm/nodelibs-process@0.1.2.js"], true, function($__require, exports, module) { ; var define; var global = this; var GLOBAL = this; (function(process) { 'use strict'; var ReactInstanceMap = $__require('npm:react@0.14.7/lib/ReactInstanceMap.js'); var findDOMNode = $__require('npm:react@0.14.7/lib/findDOMNode.js'); var warning = $__require('npm:fbjs@0.6.1/lib/warning.js'); var didWarnKey = '_getDOMNodeDidWarn'; var ReactBrowserComponentMixin = {getDOMNode: function() { "production" !== 'production' ? warning(this.constructor[didWarnKey], '%s.getDOMNode(...) is deprecated. Please use ' + 'ReactDOM.findDOMNode(instance) instead.', ReactInstanceMap.get(this).getName() || this.tagName || 'Unknown') : undefined; this.constructor[didWarnKey] = true; return findDOMNode(this); }}; module.exports = ReactBrowserComponentMixin; })($__require('github:jspm/nodelibs-process@0.1.2.js')); return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ReactDefaultBatchingStrategy.js", ["npm:react@0.14.7/lib/ReactUpdates.js", "npm:react@0.14.7/lib/Transaction.js", "npm:react@0.14.7/lib/Object.assign.js", "npm:fbjs@0.6.1/lib/emptyFunction.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var ReactUpdates = $__require('npm:react@0.14.7/lib/ReactUpdates.js'); var Transaction = $__require('npm:react@0.14.7/lib/Transaction.js'); var assign = $__require('npm:react@0.14.7/lib/Object.assign.js'); var emptyFunction = $__require('npm:fbjs@0.6.1/lib/emptyFunction.js'); var RESET_BATCHED_UPDATES = { initialize: emptyFunction, close: function() { ReactDefaultBatchingStrategy.isBatchingUpdates = false; } }; var FLUSH_BATCHED_UPDATES = { initialize: emptyFunction, close: ReactUpdates.flushBatchedUpdates.bind(ReactUpdates) }; var TRANSACTION_WRAPPERS = [FLUSH_BATCHED_UPDATES, RESET_BATCHED_UPDATES]; function ReactDefaultBatchingStrategyTransaction() { this.reinitializeTransaction(); } assign(ReactDefaultBatchingStrategyTransaction.prototype, Transaction.Mixin, {getTransactionWrappers: function() { return TRANSACTION_WRAPPERS; }}); var transaction = new ReactDefaultBatchingStrategyTransaction(); var ReactDefaultBatchingStrategy = { isBatchingUpdates: false, batchedUpdates: function(callback, a, b, c, d, e) { var alreadyBatchingUpdates = ReactDefaultBatchingStrategy.isBatchingUpdates; ReactDefaultBatchingStrategy.isBatchingUpdates = true; if (alreadyBatchingUpdates) { callback(a, b, c, d, e); } else { transaction.perform(callback, null, a, b, c, d, e); } } }; module.exports = ReactDefaultBatchingStrategy; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/AutoFocusUtils.js", ["npm:react@0.14.7/lib/ReactMount.js", "npm:react@0.14.7/lib/findDOMNode.js", "npm:fbjs@0.6.1/lib/focusNode.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var ReactMount = $__require('npm:react@0.14.7/lib/ReactMount.js'); var findDOMNode = $__require('npm:react@0.14.7/lib/findDOMNode.js'); var focusNode = $__require('npm:fbjs@0.6.1/lib/focusNode.js'); var Mixin = {componentDidMount: function() { if (this.props.autoFocus) { focusNode(findDOMNode(this)); } }}; var AutoFocusUtils = { Mixin: Mixin, focusDOMComponent: function() { focusNode(ReactMount.getNode(this._rootNodeID)); } }; module.exports = AutoFocusUtils; return module.exports; }); System.registerDynamic("npm:fbjs@0.6.1/lib/camelize.js", [], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var _hyphenPattern = /-(.)/g; function camelize(string) { return string.replace(_hyphenPattern, function(_, character) { return character.toUpperCase(); }); } module.exports = camelize; return module.exports; }); System.registerDynamic("npm:fbjs@0.6.1/lib/camelizeStyleName.js", ["npm:fbjs@0.6.1/lib/camelize.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var camelize = $__require('npm:fbjs@0.6.1/lib/camelize.js'); var msPattern = /^-ms-/; function camelizeStyleName(string) { return camelize(string.replace(msPattern, 'ms-')); } module.exports = camelizeStyleName; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/CSSProperty.js", [], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var isUnitlessNumber = { animationIterationCount: true, boxFlex: true, boxFlexGroup: true, boxOrdinalGroup: true, columnCount: true, flex: true, flexGrow: true, flexPositive: true, flexShrink: true, flexNegative: true, flexOrder: true, fontWeight: true, lineClamp: true, lineHeight: true, opacity: true, order: true, orphans: true, tabSize: true, widows: true, zIndex: true, zoom: true, fillOpacity: true, stopOpacity: true, strokeDashoffset: true, strokeOpacity: true, strokeWidth: true }; function prefixKey(prefix, key) { return prefix + key.charAt(0).toUpperCase() + key.substring(1); } var prefixes = ['Webkit', 'ms', 'Moz', 'O']; Object.keys(isUnitlessNumber).forEach(function(prop) { prefixes.forEach(function(prefix) { isUnitlessNumber[prefixKey(prefix, prop)] = isUnitlessNumber[prop]; }); }); var shorthandPropertyExpansions = { background: { backgroundAttachment: true, backgroundColor: true, backgroundImage: true, backgroundPositionX: true, backgroundPositionY: true, backgroundRepeat: true }, backgroundPosition: { backgroundPositionX: true, backgroundPositionY: true }, border: { borderWidth: true, borderStyle: true, borderColor: true }, borderBottom: { borderBottomWidth: true, borderBottomStyle: true, borderBottomColor: true }, borderLeft: { borderLeftWidth: true, borderLeftStyle: true, borderLeftColor: true }, borderRight: { borderRightWidth: true, borderRightStyle: true, borderRightColor: true }, borderTop: { borderTopWidth: true, borderTopStyle: true, borderTopColor: true }, font: { fontStyle: true, fontVariant: true, fontWeight: true, fontSize: true, lineHeight: true, fontFamily: true }, outline: { outlineWidth: true, outlineStyle: true, outlineColor: true } }; var CSSProperty = { isUnitlessNumber: isUnitlessNumber, shorthandPropertyExpansions: shorthandPropertyExpansions }; module.exports = CSSProperty; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/dangerousStyleValue.js", ["npm:react@0.14.7/lib/CSSProperty.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var CSSProperty = $__require('npm:react@0.14.7/lib/CSSProperty.js'); var isUnitlessNumber = CSSProperty.isUnitlessNumber; function dangerousStyleValue(name, value) { var isEmpty = value == null || typeof value === 'boolean' || value === ''; if (isEmpty) { return ''; } var isNonNumeric = isNaN(value); if (isNonNumeric || value === 0 || isUnitlessNumber.hasOwnProperty(name) && isUnitlessNumber[name]) { return '' + value; } if (typeof value === 'string') { value = value.trim(); } return value + 'px'; } module.exports = dangerousStyleValue; return module.exports; }); System.registerDynamic("npm:fbjs@0.6.1/lib/hyphenate.js", [], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var _uppercasePattern = /([A-Z])/g; function hyphenate(string) { return string.replace(_uppercasePattern, '-$1').toLowerCase(); } module.exports = hyphenate; return module.exports; }); System.registerDynamic("npm:fbjs@0.6.1/lib/hyphenateStyleName.js", ["npm:fbjs@0.6.1/lib/hyphenate.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var hyphenate = $__require('npm:fbjs@0.6.1/lib/hyphenate.js'); var msPattern = /^ms-/; function hyphenateStyleName(string) { return hyphenate(string).replace(msPattern, '-ms-'); } module.exports = hyphenateStyleName; return module.exports; }); System.registerDynamic("npm:fbjs@0.6.1/lib/memoizeStringOnly.js", [], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; function memoizeStringOnly(callback) { var cache = {}; return function(string) { if (!cache.hasOwnProperty(string)) { cache[string] = callback.call(this, string); } return cache[string]; }; } module.exports = memoizeStringOnly; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/CSSPropertyOperations.js", ["npm:react@0.14.7/lib/CSSProperty.js", "npm:fbjs@0.6.1/lib/ExecutionEnvironment.js", "npm:react@0.14.7/lib/ReactPerf.js", "npm:fbjs@0.6.1/lib/camelizeStyleName.js", "npm:react@0.14.7/lib/dangerousStyleValue.js", "npm:fbjs@0.6.1/lib/hyphenateStyleName.js", "npm:fbjs@0.6.1/lib/memoizeStringOnly.js", "npm:fbjs@0.6.1/lib/warning.js", "github:jspm/nodelibs-process@0.1.2.js"], true, function($__require, exports, module) { ; var define; var global = this; var GLOBAL = this; (function(process) { 'use strict'; var CSSProperty = $__require('npm:react@0.14.7/lib/CSSProperty.js'); var ExecutionEnvironment = $__require('npm:fbjs@0.6.1/lib/ExecutionEnvironment.js'); var ReactPerf = $__require('npm:react@0.14.7/lib/ReactPerf.js'); var camelizeStyleName = $__require('npm:fbjs@0.6.1/lib/camelizeStyleName.js'); var dangerousStyleValue = $__require('npm:react@0.14.7/lib/dangerousStyleValue.js'); var hyphenateStyleName = $__require('npm:fbjs@0.6.1/lib/hyphenateStyleName.js'); var memoizeStringOnly = $__require('npm:fbjs@0.6.1/lib/memoizeStringOnly.js'); var warning = $__require('npm:fbjs@0.6.1/lib/warning.js'); var processStyleName = memoizeStringOnly(function(styleName) { return hyphenateStyleName(styleName); }); var hasShorthandPropertyBug = false; var styleFloatAccessor = 'cssFloat'; if (ExecutionEnvironment.canUseDOM) { var tempStyle = document.createElement('div').style; try { tempStyle.font = ''; } catch (e) { hasShorthandPropertyBug = true; } if (document.documentElement.style.cssFloat === undefined) { styleFloatAccessor = 'styleFloat'; } } if ("production" !== 'production') { var badVendoredStyleNamePattern = /^(?:webkit|moz|o)[A-Z]/; var badStyleValueWithSemicolonPattern = /;\s*$/; var warnedStyleNames = {}; var warnedStyleValues = {}; var warnHyphenatedStyleName = function(name) { if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) { return; } warnedStyleNames[name] = true; "production" !== 'production' ? warning(false, 'Unsupported style property %s. Did you mean %s?', name, camelizeStyleName(name)) : undefined; }; var warnBadVendoredStyleName = function(name) { if (warnedStyleNames.hasOwnProperty(name) && warnedStyleNames[name]) { return; } warnedStyleNames[name] = true; "production" !== 'production' ? warning(false, 'Unsupported vendor-prefixed style property %s. Did you mean %s?', name, name.charAt(0).toUpperCase() + name.slice(1)) : undefined; }; var warnStyleValueWithSemicolon = function(name, value) { if (warnedStyleValues.hasOwnProperty(value) && warnedStyleValues[value]) { return; } warnedStyleValues[value] = true; "production" !== 'production' ? warning(false, 'Style property values shouldn\'t contain a semicolon. ' + 'Try "%s: %s" instead.', name, value.replace(badStyleValueWithSemicolonPattern, '')) : undefined; }; var warnValidStyle = function(name, value) { if (name.indexOf('-') > -1) { warnHyphenatedStyleName(name); } else if (badVendoredStyleNamePattern.test(name)) { warnBadVendoredStyleName(name); } else if (badStyleValueWithSemicolonPattern.test(value)) { warnStyleValueWithSemicolon(name, value); } }; } var CSSPropertyOperations = { createMarkupForStyles: function(styles) { var serialized = ''; for (var styleName in styles) { if (!styles.hasOwnProperty(styleName)) { continue; } var styleValue = styles[styleName]; if ("production" !== 'production') { warnValidStyle(styleName, styleValue); } if (styleValue != null) { serialized += processStyleName(styleName) + ':'; serialized += dangerousStyleValue(styleName, styleValue) + ';'; } } return serialized || null; }, setValueForStyles: function(node, styles) { var style = node.style; for (var styleName in styles) { if (!styles.hasOwnProperty(styleName)) { continue; } if ("production" !== 'production') { warnValidStyle(styleName, styles[styleName]); } var styleValue = dangerousStyleValue(styleName, styles[styleName]); if (styleName === 'float') { styleName = styleFloatAccessor; } if (styleValue) { style[styleName] = styleValue; } else { var expansion = hasShorthandPropertyBug && CSSProperty.shorthandPropertyExpansions[styleName]; if (expansion) { for (var individualStyleName in expansion) { style[individualStyleName] = ''; } } else { style[styleName] = ''; } } } } }; ReactPerf.measureMethods(CSSPropertyOperations, 'CSSPropertyOperations', {setValueForStyles: 'setValueForStyles'}); module.exports = CSSPropertyOperations; })($__require('github:jspm/nodelibs-process@0.1.2.js')); return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ReactDOMButton.js", [], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var mouseListenerNames = { onClick: true, onDoubleClick: true, onMouseDown: true, onMouseMove: true, onMouseUp: true, onClickCapture: true, onDoubleClickCapture: true, onMouseDownCapture: true, onMouseMoveCapture: true, onMouseUpCapture: true }; var ReactDOMButton = {getNativeProps: function(inst, props, context) { if (!props.disabled) { return props; } var nativeProps = {}; for (var key in props) { if (props.hasOwnProperty(key) && !mouseListenerNames[key]) { nativeProps[key] = props[key]; } } return nativeProps; }}; module.exports = ReactDOMButton; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ReactDOMInput.js", ["npm:react@0.14.7/lib/ReactDOMIDOperations.js", "npm:react@0.14.7/lib/LinkedValueUtils.js", "npm:react@0.14.7/lib/ReactMount.js", "npm:react@0.14.7/lib/ReactUpdates.js", "npm:react@0.14.7/lib/Object.assign.js", "npm:fbjs@0.6.1/lib/invariant.js", "github:jspm/nodelibs-process@0.1.2.js"], true, function($__require, exports, module) { ; var define; var global = this; var GLOBAL = this; (function(process) { 'use strict'; var ReactDOMIDOperations = $__require('npm:react@0.14.7/lib/ReactDOMIDOperations.js'); var LinkedValueUtils = $__require('npm:react@0.14.7/lib/LinkedValueUtils.js'); var ReactMount = $__require('npm:react@0.14.7/lib/ReactMount.js'); var ReactUpdates = $__require('npm:react@0.14.7/lib/ReactUpdates.js'); var assign = $__require('npm:react@0.14.7/lib/Object.assign.js'); var invariant = $__require('npm:fbjs@0.6.1/lib/invariant.js'); var instancesByReactID = {}; function forceUpdateIfMounted() { if (this._rootNodeID) { ReactDOMInput.updateWrapper(this); } } var ReactDOMInput = { getNativeProps: function(inst, props, context) { var value = LinkedValueUtils.getValue(props); var checked = LinkedValueUtils.getChecked(props); var nativeProps = assign({}, props, { defaultChecked: undefined, defaultValue: undefined, value: value != null ? value : inst._wrapperState.initialValue, checked: checked != null ? checked : inst._wrapperState.initialChecked, onChange: inst._wrapperState.onChange }); return nativeProps; }, mountWrapper: function(inst, props) { if ("production" !== 'production') { LinkedValueUtils.checkPropTypes('input', props, inst._currentElement._owner); } var defaultValue = props.defaultValue; inst._wrapperState = { initialChecked: props.defaultChecked || false, initialValue: defaultValue != null ? defaultValue : null, onChange: _handleChange.bind(inst) }; }, mountReadyWrapper: function(inst) { instancesByReactID[inst._rootNodeID] = inst; }, unmountWrapper: function(inst) { delete instancesByReactID[inst._rootNodeID]; }, updateWrapper: function(inst) { var props = inst._currentElement.props; var checked = props.checked; if (checked != null) { ReactDOMIDOperations.updatePropertyByID(inst._rootNodeID, 'checked', checked || false); } var value = LinkedValueUtils.getValue(props); if (value != null) { ReactDOMIDOperations.updatePropertyByID(inst._rootNodeID, 'value', '' + value); } } }; function _handleChange(event) { var props = this._currentElement.props; var returnValue = LinkedValueUtils.executeOnChange(props, event); ReactUpdates.asap(forceUpdateIfMounted, this); var name = props.name; if (props.type === 'radio' && name != null) { var rootNode = ReactMount.getNode(this._rootNodeID); var queryRoot = rootNode; while (queryRoot.parentNode) { queryRoot = queryRoot.parentNode; } var group = queryRoot.querySelectorAll('input[name=' + JSON.stringify('' + name) + '][type="radio"]'); for (var i = 0; i < group.length; i++) { var otherNode = group[i]; if (otherNode === rootNode || otherNode.form !== rootNode.form) { continue; } var otherID = ReactMount.getID(otherNode); !otherID ? "production" !== 'production' ? invariant(false, 'ReactDOMInput: Mixing React and non-React radio inputs with the ' + 'same `name` is not supported.') : invariant(false) : undefined; var otherInstance = instancesByReactID[otherID]; !otherInstance ? "production" !== 'production' ? invariant(false, 'ReactDOMInput: Unknown radio button ID %s.', otherID) : invariant(false) : undefined; ReactUpdates.asap(forceUpdateIfMounted, otherInstance); } } return returnValue; } module.exports = ReactDOMInput; })($__require('github:jspm/nodelibs-process@0.1.2.js')); return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ReactChildren.js", ["npm:react@0.14.7/lib/PooledClass.js", "npm:react@0.14.7/lib/ReactElement.js", "npm:fbjs@0.6.1/lib/emptyFunction.js", "npm:react@0.14.7/lib/traverseAllChildren.js"], true, function($__require, exports, module) { "use strict"; ; var define; var global = this; var GLOBAL = this; var PooledClass = $__require('npm:react@0.14.7/lib/PooledClass.js'); var ReactElement = $__require('npm:react@0.14.7/lib/ReactElement.js'); var emptyFunction = $__require('npm:fbjs@0.6.1/lib/emptyFunction.js'); var traverseAllChildren = $__require('npm:react@0.14.7/lib/traverseAllChildren.js'); var twoArgumentPooler = PooledClass.twoArgumentPooler; var fourArgumentPooler = PooledClass.fourArgumentPooler; var userProvidedKeyEscapeRegex = /\/(?!\/)/g; function escapeUserProvidedKey(text) { return ('' + text).replace(userProvidedKeyEscapeRegex, '//'); } function ForEachBookKeeping(forEachFunction, forEachContext) { this.func = forEachFunction; this.context = forEachContext; this.count = 0; } ForEachBookKeeping.prototype.destructor = function() { this.func = null; this.context = null; this.count = 0; }; PooledClass.addPoolingTo(ForEachBookKeeping, twoArgumentPooler); function forEachSingleChild(bookKeeping, child, name) { var func = bookKeeping.func; var context = bookKeeping.context; func.call(context, child, bookKeeping.count++); } function forEachChildren(children, forEachFunc, forEachContext) { if (children == null) { return children; } var traverseContext = ForEachBookKeeping.getPooled(forEachFunc, forEachContext); traverseAllChildren(children, forEachSingleChild, traverseContext); ForEachBookKeeping.release(traverseContext); } function MapBookKeeping(mapResult, keyPrefix, mapFunction, mapContext) { this.result = mapResult; this.keyPrefix = keyPrefix; this.func = mapFunction; this.context = mapContext; this.count = 0; } MapBookKeeping.prototype.destructor = function() { this.result = null; this.keyPrefix = null; this.func = null; this.context = null; this.count = 0; }; PooledClass.addPoolingTo(MapBookKeeping, fourArgumentPooler); function mapSingleChildIntoContext(bookKeeping, child, childKey) { var result = bookKeeping.result; var keyPrefix = bookKeeping.keyPrefix; var func = bookKeeping.func; var context = bookKeeping.context; var mappedChild = func.call(context, child, bookKeeping.count++); if (Array.isArray(mappedChild)) { mapIntoWithKeyPrefixInternal(mappedChild, result, childKey, emptyFunction.thatReturnsArgument); } else if (mappedChild != null) { if (ReactElement.isValidElement(mappedChild)) { mappedChild = ReactElement.cloneAndReplaceKey(mappedChild, keyPrefix + (mappedChild !== child ? escapeUserProvidedKey(mappedChild.key || '') + '/' : '') + childKey); } result.push(mappedChild); } } function mapIntoWithKeyPrefixInternal(children, array, prefix, func, context) { var escapedPrefix = ''; if (prefix != null) { escapedPrefix = escapeUserProvidedKey(prefix) + '/'; } var traverseContext = MapBookKeeping.getPooled(array, escapedPrefix, func, context); traverseAllChildren(children, mapSingleChildIntoContext, traverseContext); MapBookKeeping.release(traverseContext); } function mapChildren(children, func, context) { if (children == null) { return children; } var result = []; mapIntoWithKeyPrefixInternal(children, result, null, func, context); return result; } function forEachSingleChildDummy(traverseContext, child, name) { return null; } function countChildren(children, context) { return traverseAllChildren(children, forEachSingleChildDummy, null); } function toArray(children) { var result = []; mapIntoWithKeyPrefixInternal(children, result, null, emptyFunction.thatReturnsArgument); return result; } var ReactChildren = { forEach: forEachChildren, map: mapChildren, mapIntoWithKeyPrefixInternal: mapIntoWithKeyPrefixInternal, count: countChildren, toArray: toArray }; module.exports = ReactChildren; return module.exports; }); System.registerDynamic("npm:react@0.14.7/lib/ReactDOMOption.js", ["npm:react@0.14.7/lib/ReactChildren.js", "npm:react@0.14.7/lib/ReactDOMSelect.js", "npm:react@0.14.7/lib/Object.assign.js", "npm:fbjs@0.6.1/lib/warning.js", "github:jspm/nodelibs-process@0.1.2.js"], true, function($__require, exports, module) { ; var define; var global = this; var GLOBAL = this; (function(process) { 'use strict'; var ReactChildren = $__require('npm:react@0.14.7/lib/ReactChildren.js'); var ReactDOMSelect = $__require('npm:react@0.14.7/lib/ReactDOMSelect.js'); var assign = $__require('npm:react@0.14.7/lib/Object.assign.js'); var warning = $__require('npm:fbjs@0.6.1/lib/warning.js'); var valueContextKey = ReactDOMSelect.valueContextKey; var ReactDOMOption = { mountWrapper: function(inst, props, context) { if ("production" !== 'production') { "production" !== 'production' ? warning(props.selected == null, 'Use the `defaultValue` or `value` props on must be an array if ' + '`multiple` is true.%s', propName, getDeclarationErrorAddendum(owner)) : undefined; } else { "production" !== 'production' ? warning(!Array.isArray(props[propName]), 'The `%s` prop supplied to