| 1 | !function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="/static/",t(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){function o(){var e=arguments;return function(){var t,n;for(n=e[0].apply(this,arguments),t=1;t<e.length;++t)n=e[t](n);return n}}function r(e,t,n){return function(){return(n||e)[t].apply(e,arguments)}}function i(e,t){for(var n=-1,o=t.length>>>0;++n<o;)if(e===t[n])return!0;return!1}var a,s,u,c,l,p,d,f,h,m,v,y,g,E,N,b,C,_,D;n(2),a=n(6),s=n(153),u=/(?:127.0.0.1|localhost|\.local):8080/.exec(window.location.href)?"http://127.0.0.1:8000":".",c="foobar",/\/=([^_][^\/?]*)(?:\?.*)?$/.exec(window.location.href)&&(c=RegExp.$1),l=n(179).HackFoldr,p=/auth=0/.exec(window.location.href),d="",/\?auth=/.test(window.location.search)&&(p=/\??auth=0/.test(window.location.search),d=p?"/view":"/edit","."===u&&(u=".."),window.history.pushState({},"","./="+c+d)),f=a.DOM,h=f.div,m=f.iframe,v=f.input,y=f.button,g=o(a.createClass,a.createFactory),E=g({propTypes:{foldr:a.PropTypes.any.isRequired},getDefaultProps:function(){return{activeIndex:0}},render:function(){var e;return e=this.props.foldr.size()>1,h({className:"nav"+(p?" readonly":"")},b({rows:this.props.foldr.rows,activeIndex:this.getIdx(),onChange:r(this,"onChange")}),p?"":N({canDelete:e,onAdd:r(this,"onAdd"),onRename:r(this,"onRename"),onDelete:r(this,"onDelete")}))},getIdx:function(){var e,t;return(e=this.props.activeIndex)<(t=this.props.foldr.lastIndex())?e:t},getSheet:function(){return this.props.foldr.at(this.getIdx())},componentDidUpdate:function(){var e,t,n,o,r=[];for(e=0,n=(t=document.getElementsByTagName("iframe")).length;e<n;++e)o=t[e],r.push(D(o,this.props.foldr.rows));return r},onChange:function(e){return this.setProps({activeIndex:e}),document.getElementsByTagName("iframe")[e].contentWindow.focus()},onAdd:function(){var e,t,n,o,r;for(e=this.props.foldr,t="Sheet",n=e.size()+1,o="/"+c+".",/^([_a-zA-Z]+)(\d+)$/.exec(e.lastRow().title)&&(t=RegExp.$1,n=parseInt(RegExp.$2)),/^(\/[^=]+\.|\/sheet(?=\d))/.exec(e.lastRow().link)&&(o=RegExp.$1);i(t+""+n,e.titles())||i(o+""+n,e.links());)++n;return r=e.size(),e=e.push({link:o+""+n,title:t+""+n}),this.setProps({foldr:e,activeIndex:r})},onRename:function(){var e,t,n;if(e=this.props.foldr,t=prompt("Rename Sheet",this.getSheet().title),null!=t&&!i(t.toLowerCase(),function(){var t,o,r,i=[];for(t=0,r=(o=e.titles()).length;t<r;++t)n=o[t],i.push(n.toLowerCase());return i}()))return e.setAt(this.getIdx(),{title:t}),this.setProps({foldr:e})},onDelete:function(){var e;if(e=this.props.foldr,confirm("Really delete?\n"+this.getSheet().title))return e.deleteAt(this.getIdx()),this.setProps({foldr:e})}}),N=g({render:function(){return h({className:"buttons"},y({onClick:this.props.onAdd},"Add"),y({onClick:this.props.onRename},"Rename..."),y({onClick:this.props.onDelete,disabled:!this.props.canDelete},"Delete"))}}),b=g({onChange:function(e){return this.props.onChange(e)},render:function(){var e,t;return s.apply(null,[{activeIndex:this.props.activeIndex,onChange:r(this,"onChange"),tabVerticalPosition:"bottom"}].concat(function(){var n,o,r,i,a,s=[];for(n=0,r=(o=this.props.rows).length;n<r;++n)i=o[n],e=i.title,t=null!=(a=i.link)?a:"/"+encodeURIComponent(e),s.push(h({key:e,title:e,className:"wrapper"},C({src:u+""+t+d,rows:this.props.rows})));return s}.call(this)))}}),C=g({shouldComponentUpdate:function(e){return this.props.src!==e.src},render:function(){return m({key:this.props.src,src:this.props.src})},componentDidMount:function(){return D(this.getDOMNode(),this.props.rows)},componentDidUpdate:function(){return D(this.getDOMNode(),this.props.rows)}}),_=!0,D=function(e,t){var n;if(n=e.contentDocument,null!=n)return"complete"!==n.readyState?setTimeout(function(){return D(e,t)},1):setTimeout(function(){var n;if(e.contentWindow.postMessage(JSON.stringify({type:"multi",rows:t,index:c},void 0,2),"*"),n&&e===document.getElementsByTagName("iframe")[0])return e.contentWindow.focus(),n=!1},100)},function(e){return window.init=e}(function(){var e;return e=new l(u),e.fetch(c,function(){return a.render(E({foldr:e}),document.body)})})},function(e,t,n){var o=n(3);"string"==typeof o&&(o=[[e.id,o,""]]);n(5)(o,{})},function(e,t,n){t=e.exports=n(4)(),t.push([e.id,"body{margin:0;padding:0;overflow:hidden}nav,.buttons{background:#eee;font-family:Helvetica,sans-serif;border-top:1px solid #000;position:absolute!important;font-size:16px;height:22px;bottom:5px}nav{right:200px;left:0;padding-left:8px;white-space:nowrap}.readonly nav{right:0}.buttons{width:200px;right:0;padding-right:8px;text-align:right}.buttons button{font-family:Helvetica,sans-serif;background:#eee;font-size:14px;height:22px;border-radius:3px;border:1px solid #eee;margin-left:2px;cursor:pointer}.buttons button:hover{border:1px solid #ccc;background:#fff}.buttons button:disabled:hover{border:1px solid transparent;background:#eee;cursor:default}.basic-tabs-item{display:block!important;visibility:hidden}.basic-tabs-item.active{font-family:Helvetica,sans-serif;visibility:visible}.basic-tabs-item-title{background:#ccc;border:1px solid #000;border-top:none;padding:2px 10px;border-radius:0 0 8px 8px}.basic-tabs-item-title:hover{background:#eee;cursor:pointer}.basic-tabs-item-title.active{background:#fff;border-top:1px solid #fff;margin-top:-1px}body,iframe{height:100%}iframe{width:100%;border:0}.wrapper{position:absolute;width:100%;bottom:51px;top:0}body>.nav>.buttons{height:43px}body>.nav>.basic-tabs>nav.basic-tabs.basic-tabs-strip{height:43px;overflow-x:auto}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e}},function(e,t,n){function o(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=l[o.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](o.parts[i]);for(;i<o.parts.length;i++)r.parts.push(a(o.parts[i],t))}else{for(var s=[],i=0;i<o.parts.length;i++)s.push(a(o.parts[i],t));l[o.id]={id:o.id,refs:1,parts:s}}}}function r(e){for(var t=[],n={},o=0;o<e.length;o++){var r=e[o],i=r[0],a=r[1],s=r[2],u=r[3],c={css:a,media:s,sourceMap:u};n[i]?n[i].parts.push(c):t.push(n[i]={id:i,parts:[c]})}return t}function i(){var e=document.createElement("style"),t=f();return e.type="text/css",t.appendChild(e),e}function a(e,t){var n,o,r;if(t.singleton){var a=m++;n=h||(h=i()),o=u.bind(null,n,a,!1),r=u.bind(null,n,a,!0)}else n=i(),o=c.bind(null,n),r=function(){n.parentNode.removeChild(n)};return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}function s(e,t,n){var o=["/** >>"+t+" **/","/** "+t+"<< **/"],r=e.lastIndexOf(o[0]),i=n?o[0]+n+o[1]:"";if(e.lastIndexOf(o[0])>=0){var a=e.lastIndexOf(o[1])+o[1].length;return e.slice(0,r)+i+e.slice(a)}return e+i}function u(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=s(e.styleSheet.cssText,t,r);else{var i=document.createTextNode(r),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function c(e,t){var n=t.css,o=t.media,r=t.sourceMap;if(r&&"function"==typeof btoa)try{n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(JSON.stringify(r))+" */",n='@import url("data:text/css;base64,'+btoa(n)+'")'}catch(e){}if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var l={},p=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},d=p(function(){return/msie 9\b/.test(window.navigator.userAgent.toLowerCase())}),f=p(function(){return document.head||document.getElementsByTagName("head")[0]}),h=null,m=0;e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=d());var n=r(e);return o(n,t),function(e){for(var i=[],a=0;a<n.length;a++){var s=n[a],u=l[s.id];u.refs--,i.push(u)}if(e){var c=r(e);o(c,t)}for(var a=0;a<i.length;a++){var u=i[a];if(0===u.refs){for(var p=0;p<u.parts.length;p++)u.parts[p]();delete l[u.id]}}}}},function(e,t,n){e.exports=n(7)},function(e,t,n){(function(t){"use strict";var o=n(9),r=n(16),i=n(19),a=n(28),s=n(35),u=n(23),c=n(25),l=n(22),p=n(36),d=n(50),f=n(51),h=n(80),m=n(26),v=n(41),y=n(61),g=n(76),E=n(33),N=n(125),b=n(150),C=n(79),_=n(24),D=n(74),w=n(152);h.inject();var O=l.createElement,x=l.createFactory;"production"!==t.env.NODE_ENV&&(O=p.createElement,x=p.createFactory),O=v.wrapCreateElement(O),x=v.wrapCreateFactory(x);var M=E.measure("React","render",y.render),T={Children:{map:i.map,forEach:i.forEach,count:i.count,only:w},DOM:d,PropTypes:N,initializeTouchEvents:function(e){r.useTouchEvents=e},createClass:s.createClass,createElement:O,createFactory:x,constructAndRenderComponent:y.constructAndRenderComponent,constructAndRenderComponentByID:y.constructAndRenderComponentByID,render:M,renderToString:b.renderToString,renderToStaticMarkup:b.renderToStaticMarkup,unmountComponentAtNode:y.unmountComponentAtNode,isValidClass:v.isValidClass,isValidElement:l.isValidElement,withContext:u.withContext,__spread:_,renderComponent:D("React","renderComponent","render",this,M),renderComponentToString:D("React","renderComponentToString","renderToString",this,b.renderToString),renderComponentToStaticMarkup:D("React","renderComponentToStaticMarkup","renderToStaticMarkup",this,b.renderToStaticMarkup),isValidComponent:D("React","isValidComponent","isValidElement",this,l.isValidElement)};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.inject&&__REACT_DEVTOOLS_GLOBAL_HOOK__.inject({Component:a,CurrentOwner:c,DOMComponent:f,DOMPropertyOperations:o,InstanceHandles:m,Mount:y,MultiChild:g,TextComponent:C}),"production"!==t.env.NODE_ENV){var R=n(54);if(R.canUseDOM&&window.top===window.self){navigator.userAgent.indexOf("Chrome")>-1&&"undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&console.debug("Download the React DevTools for a better development experience: http://fb.me/react-devtools");for(var I=[Array.isArray,Array.prototype.every,Array.prototype.forEach,Array.prototype.indexOf,Array.prototype.map,Date.now,Function.prototype.bind,Object.keys,String.prototype.split,String.prototype.trim,Object.create,Object.freeze],S=0;S<I.length;S++)if(!I[S]){console.error("One or more ES5 shim/shams expected by React are not available: http://fb.me/react-warning-polyfills");break}}}T.version="0.12.2",e.exports=T}).call(t,n(8))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function r(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&setTimeout)return l=setTimeout,setTimeout(e,0);try{return l(e,0)}catch(t){try{return l.call(null,e,0)}catch(t){return l.call(this,e,0)}}}function i(e){if(p===clearTimeout)return clearTimeout(e);if((p===o||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function a(){m&&f&&(m=!1,f.length?h=f.concat(h):v=-1,h.length&&s())}function s(){if(!m){var e=r(a);m=!0;for(var t=h.length;t;){for(f=h,h=[];++v<t;)f&&f[v].run();v=-1,t=h.length}f=null,m=!1,i(e)}}function u(e,t){this.fun=e,this.array=t}function c(){}var l,p,d=e.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:n}catch(e){l=n}try{p="function"==typeof clearTimeout?clearTimeout:o}catch(e){p=o}}();var f,h=[],m=!1,v=-1;d.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new u(e,t)),1!==h.length||m||r(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=c,d.addListener=c,d.once=c,d.off=c,d.removeListener=c,d.removeAllListeners=c,d.emit=c,d.prependListener=c,d.prependOnceListener=c,d.listeners=function(e){return[]},d.binding=function(e){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(e){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(e,t,n){(function(t){"use strict";function o(e,t){return null==t||r.hasBooleanValue[e]&&!t||r.hasNumericValue[e]&&isNaN(t)||r.hasPositiveNumericValue[e]&&t<1||r.hasOverloadedBooleanValue[e]&&t===!1}var r=n(10),i=n(12),a=n(13),s=n(14),u=a(function(e){return i(e)+'="'});if("production"!==t.env.NODE_ENV)var c={children:!0,dangerouslySetInnerHTML:!0,key:!0,ref:!0},l={},p=function(e){if(!(c.hasOwnProperty(e)&&c[e]||l.hasOwnProperty(e)&&l[e])){l[e]=!0;var n=e.toLowerCase(),o=r.isCustomAttribute(n)?n:r.getPossibleStandardName.hasOwnProperty(n)?r.getPossibleStandardName[n]:null;"production"!==t.env.NODE_ENV?s(null==o,"Unknown DOM property "+e+". Did you mean "+o+"?"):null}};var d={createMarkupForID:function(e){return u(r.ID_ATTRIBUTE_NAME)+i(e)+'"'},createMarkupForProperty:function(e,n){if(r.isStandardName.hasOwnProperty(e)&&r.isStandardName[e]){if(o(e,n))return"";var a=r.getAttributeName[e];return r.hasBooleanValue[e]||r.hasOverloadedBooleanValue[e]&&n===!0?i(a):u(a)+i(n)+'"'}return r.isCustomAttribute(e)?null==n?"":u(e)+i(n)+'"':("production"!==t.env.NODE_ENV&&p(e),null)},setValueForProperty:function(e,n,i){if(r.isStandardName.hasOwnProperty(n)&&r.isStandardName[n]){var a=r.getMutationMethod[n];if(a)a(e,i);else if(o(n,i))this.deleteValueForProperty(e,n);else if(r.mustUseAttribute[n])e.setAttribute(r.getAttributeName[n],""+i);else{var s=r.getPropertyName[n];r.hasSideEffects[n]&&""+e[s]==""+i||(e[s]=i)}}else r.isCustomAttribute(n)?null==i?e.removeAttribute(n):e.setAttribute(n,""+i):"production"!==t.env.NODE_ENV&&p(n)},deleteValueForProperty:function(e,n){if(r.isStandardName.hasOwnProperty(n)&&r.isStandardName[n]){var o=r.getMutationMethod[n];if(o)o(e,void 0);else if(r.mustUseAttribute[n])e.removeAttribute(r.getAttributeName[n]);else{var i=r.getPropertyName[n],a=r.getDefaultValueForProperty(e.nodeName,i);r.hasSideEffects[n]&&""+e[i]===a||(e[i]=a)}}else r.isCustomAttribute(n)?e.removeAttribute(n):"production"!==t.env.NODE_ENV&&p(n)}};e.exports=d}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(e,t){return(e&t)===t}var r=n(11),i={MUST_USE_ATTRIBUTE:1,MUST_USE_PROPERTY:2,HAS_SIDE_EFFECTS:4,HAS_BOOLEAN_VALUE:8,HAS_NUMERIC_VALUE:16,HAS_POSITIVE_NUMERIC_VALUE:48,HAS_OVERLOADED_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(e){var n=e.Properties||{},a=e.DOMAttributeNames||{},u=e.DOMPropertyNames||{},c=e.DOMMutationMethods||{};e.isCustomAttribute&&s._isCustomAttributeFunctions.push(e.isCustomAttribute);for(var l in n){"production"!==t.env.NODE_ENV?r(!s.isStandardName.hasOwnProperty(l),"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.",l):r(!s.isStandardName.hasOwnProperty(l)),s.isStandardName[l]=!0;var p=l.toLowerCase();if(s.getPossibleStandardName[p]=l,a.hasOwnProperty(l)){var d=a[l];s.getPossibleStandardName[d]=l,s.getAttributeName[l]=d}else s.getAttributeName[l]=p;s.getPropertyName[l]=u.hasOwnProperty(l)?u[l]:l,c.hasOwnProperty(l)?s.getMutationMethod[l]=c[l]:s.getMutationMethod[l]=null;var f=n[l];s.mustUseAttribute[l]=o(f,i.MUST_USE_ATTRIBUTE),s.mustUseProperty[l]=o(f,i.MUST_USE_PROPERTY),s.hasSideEffects[l]=o(f,i.HAS_SIDE_EFFECTS),s.hasBooleanValue[l]=o(f,i.HAS_BOOLEAN_VALUE),s.hasNumericValue[l]=o(f,i.HAS_NUMERIC_VALUE),s.hasPositiveNumericValue[l]=o(f,i.HAS_POSITIVE_NUMERIC_VALUE),s.hasOverloadedBooleanValue[l]=o(f,i.HAS_OVERLOADED_BOOLEAN_VALUE),"production"!==t.env.NODE_ENV?r(!s.mustUseAttribute[l]||!s.mustUseProperty[l],"DOMProperty: Cannot require using both attribute and property: %s",l):r(!s.mustUseAttribute[l]||!s.mustUseProperty[l]),"production"!==t.env.NODE_ENV?r(s.mustUseProperty[l]||!s.hasSideEffects[l],"DOMProperty: Properties that have side effects must use property: %s",l):r(s.mustUseProperty[l]||!s.hasSideEffects[l]),"production"!==t.env.NODE_ENV?r(!!s.hasBooleanValue[l]+!!s.hasNumericValue[l]+!!s.hasOverloadedBooleanValue[l]<=1,"DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s",l):r(!!s.hasBooleanValue[l]+!!s.hasNumericValue[l]+!!s.hasOverloadedBooleanValue[l]<=1)}}},a={},s={ID_ATTRIBUTE_NAME:"data-reactid",isStandardName:{},getPossibleStandardName:{},getAttributeName:{},getPropertyName:{},getMutationMethod:{},mustUseAttribute:{},mustUseProperty:{},hasSideEffects:{},hasBooleanValue:{},hasNumericValue:{},hasPositiveNumericValue:{},hasOverloadedBooleanValue:{},_isCustomAttributeFunctions:[],isCustomAttribute:function(e){for(var t=0;t<s._isCustomAttributeFunctions.length;t++){var n=s._isCustomAttributeFunctions[t];if(n(e))return!0}return!1},getDefaultValueForProperty:function(e,t){var n,o=a[e];return o||(a[e]=o={}),t in o||(n=document.createElement(e),o[t]=n[t]),o[t]},injection:i};e.exports=s}).call(t,n(8))},function(e,t,n){(function(t){"use strict";var n=function(e,n,o,r,i,a,s,u){if("production"!==t.env.NODE_ENV&&void 0===n)throw new Error("invariant requires an error message argument");if(!e){var c;if(void 0===n)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[o,r,i,a,s,u],p=0;c=new Error("Invariant Violation: "+n.replace(/%s/g,function(){return l[p++]}))}throw c.framesToPop=1,c}};e.exports=n}).call(t,n(8))},function(e,t){"use strict";function n(e){return r[e]}function o(e){return(""+e).replace(i,n)}var r={"&":"&",">":">","<":"<",'"':""","'":"'"},i=/[&><"']/g;e.exports=o},function(e,t){"use strict";function n(e){var t={};return function(n){return t.hasOwnProperty(n)?t[n]:t[n]=e.call(this,n)}}e.exports=n},function(e,t,n){(function(t){"use strict";var o=n(15),r=o;"production"!==t.env.NODE_ENV&&(r=function(e,t){for(var n=[],o=2,r=arguments.length;o<r;o++)n.push(arguments[o]);if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){var i=0;console.warn("Warning: "+t.replace(/%s/g,function(){return n[i++]}))}}),e.exports=r}).call(t,n(8))},function(e,t){function n(e){return function(){return e}}function o(){}o.thatReturns=n,o.thatReturnsFalse=n(!1),o.thatReturnsTrue=n(!0),o.thatReturnsNull=n(null),o.thatReturnsThis=function(){return this},o.thatReturnsArgument=function(e){return e},e.exports=o},function(e,t,n){(function(t){"use strict";function o(e){return e===y.topMouseUp||e===y.topTouchEnd||e===y.topTouchCancel}function r(e){return e===y.topMouseMove||e===y.topTouchMove}function i(e){return e===y.topMouseDown||e===y.topTouchStart}function a(e,n){var o=e._dispatchListeners,r=e._dispatchIDs;if("production"!==t.env.NODE_ENV&&f(e),Array.isArray(o))for(var i=0;i<o.length&&!e.isPropagationStopped();i++)n(e,o[i],r[i]);else o&&n(e,o,r)}function s(e,t,n){e.currentTarget=v.Mount.getNode(n);var o=t(e,n);return e.currentTarget=null,o}function u(e,t){a(e,t),e._dispatchListeners=null,e._dispatchIDs=null}function c(e){var n=e._dispatchListeners,o=e._dispatchIDs;if("production"!==t.env.NODE_ENV&&f(e),Array.isArray(n)){for(var r=0;r<n.length&&!e.isPropagationStopped();r++)if(n[r](e,o[r]))return o[r]}else if(n&&n(e,o))return o;return null}function l(e){var t=c(e);return e._dispatchIDs=null,e._dispatchListeners=null,t}function p(e){"production"!==t.env.NODE_ENV&&f(e);var n=e._dispatchListeners,o=e._dispatchIDs;"production"!==t.env.NODE_ENV?m(!Array.isArray(n),"executeDirectDispatch(...): Invalid `event`."):m(!Array.isArray(n));var r=n?n(e,o):null;return e._dispatchListeners=null,e._dispatchIDs=null,r}function d(e){return!!e._dispatchListeners}var f,h=n(17),m=n(11),v={Mount:null,injectMount:function(e){v.Mount=e,"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?m(e&&e.getNode,"EventPluginUtils.injection.injectMount(...): Injected Mount module is missing getNode."):m(e&&e.getNode))}},y=h.topLevelTypes;"production"!==t.env.NODE_ENV&&(f=function(e){var n=e._dispatchListeners,o=e._dispatchIDs,r=Array.isArray(n),i=Array.isArray(o),a=i?o.length:o?1:0,s=r?n.length:n?1:0;"production"!==t.env.NODE_ENV?m(i===r&&a===s,"EventPluginUtils: Invalid `event`."):m(i===r&&a===s)});var g={isEndish:o,isMoveish:r,isStartish:i,executeDirectDispatch:p,executeDispatch:s,executeDispatchesInOrder:u,executeDispatchesInOrderStopAtTrue:l,hasDispatches:d,injection:v,useTouchEvents:!1};e.exports=g}).call(t,n(8))},function(e,t,n){"use strict";var o=n(18),r=o({bubbled:null,captured:null}),i=o({topBlur:null,topChange:null,topClick:null,topCompositionEnd:null,topCompositionStart:null,topCompositionUpdate:null,topContextMenu:null,topCopy:null,topCut:null,topDoubleClick:null,topDrag:null,topDragEnd:null,topDragEnter:null,topDragExit:null,topDragLeave:null,topDragOver:null,topDragStart:null,topDrop:null,topError:null,topFocus:null,topInput:null,topKeyDown:null,topKeyPress:null,topKeyUp:null,topLoad:null,topMouseDown:null,topMouseMove:null,topMouseOut:null,topMouseOver:null,topMouseUp:null,topPaste:null,topReset:null,topScroll:null,topSelectionChange:null,topSubmit:null,topTextInput:null,topTouchCancel:null,topTouchEnd:null,topTouchMove:null,topTouchStart:null,topWheel:null}),a={topLevelTypes:i,PropagationPhases:r};e.exports=a},function(e,t,n){(function(t){"use strict";var o=n(11),r=function(e){var n,r={};"production"!==t.env.NODE_ENV?o(e instanceof Object&&!Array.isArray(e),"keyMirror(...): Argument must be an object."):o(e instanceof Object&&!Array.isArray(e));for(n in e)e.hasOwnProperty(n)&&(r[n]=n);return r};e.exports=r}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(e,t){this.forEachFunction=e,this.forEachContext=t}function r(e,t,n,o){var r=e;r.forEachFunction.call(r.forEachContext,t,o)}function i(e,t,n){if(null==e)return e;var i=o.getPooled(t,n);d(e,r,i),o.release(i)}function a(e,t,n){this.mapResult=e,this.mapFunction=t,this.mapContext=n}function s(e,n,o,r){var i=e,a=i.mapResult,s=!a.hasOwnProperty(o);if("production"!==t.env.NODE_ENV?f(s,"ReactChildren.map(...): Encountered two children with the same key, `%s`. Child keys must be unique; when two children share a key, only the first child will be used.",o):null,s){var u=i.mapFunction.call(i.mapContext,n,r);a[o]=u}}function u(e,t,n){if(null==e)return e;var o={},r=a.getPooled(o,t,n);return d(e,s,r),a.release(r),o}function c(e,t,n,o){return null}function l(e,t){return d(e,c,null)}var p=n(20),d=n(21),f=n(14),h=p.twoArgumentPooler,m=p.threeArgumentPooler;p.addPoolingTo(o,h),p.addPoolingTo(a,m);var v={forEach:i,map:u,count:l};e.exports=v}).call(t,n(8))},function(e,t,n){(function(t){"use strict";var o=n(11),r=function(e){var t=this;if(t.instancePool.length){var n=t.instancePool.pop();return t.call(n,e),n}return new t(e)},i=function(e,t){var n=this;if(n.instancePool.length){var o=n.instancePool.pop();return n.call(o,e,t),o}return new n(e,t)},a=function(e,t,n){var o=this;if(o.instancePool.length){var r=o.instancePool.pop();return o.call(r,e,t,n),r}return new o(e,t,n)},s=function(e,t,n,o,r){var i=this;if(i.instancePool.length){var a=i.instancePool.pop();return i.call(a,e,t,n,o,r),a}return new i(e,t,n,o,r)},u=function(e){var n=this;"production"!==t.env.NODE_ENV?o(e instanceof n,"Trying to release an instance into a pool of a different type."):o(e instanceof n),e.destructor&&e.destructor(),n.instancePool.length<n.poolSize&&n.instancePool.push(e)},c=10,l=r,p=function(e,t){var n=e;return n.instancePool=[],n.getPooled=t||l,n.poolSize||(n.poolSize=c),n.release=u,n},d={addPoolingTo:p,oneArgumentPooler:r,twoArgumentPooler:i,threeArgumentPooler:a,fiveArgumentPooler:s};e.exports=d}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(e){return f[e]}function r(e,t){return e&&null!=e.key?a(e.key):t.toString(36)}function i(e){return(""+e).replace(h,o)}function a(e){return"$"+i(e)}function s(e,t,n){return null==e?0:m(e,"",0,t,n)}var u=n(22),c=n(26),l=n(11),p=c.SEPARATOR,d=":",f={"=":"=0",".":"=1",":":"=2"},h=/[=.:]/g,m=function(e,n,o,i,s){var c,f,h=0;if(Array.isArray(e))for(var v=0;v<e.length;v++){var y=e[v];c=n+(n?d:p)+r(y,v),f=o+h,h+=m(y,c,f,i,s)}else{var g=typeof e,E=""===n,N=E?p+r(e,0):n;if(null==e||"boolean"===g)i(s,null,N,o),h=1;else if("string"===g||"number"===g||u.isValidElement(e))i(s,e,N,o),h=1;else if("object"===g){"production"!==t.env.NODE_ENV?l(!e||1!==e.nodeType,"traverseAllChildren(...): Encountered an invalid child; DOM elements are not valid children of React components."):l(!e||1!==e.nodeType);for(var b in e)e.hasOwnProperty(b)&&(c=n+(n?d:p)+a(b)+d+r(e[b],0),f=o+h,h+=m(e[b],c,f,i,s))}}return h};e.exports=s}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(e,n){Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:function(){return this._store?this._store[n]:null},set:function(e){"production"!==t.env.NODE_ENV?s(!1,"Don't set the "+n+" property of the component. Mutate the existing props object instead."):null,this._store[n]=e}})}function r(e){try{var t={props:!0};for(var n in t)o(e,n);c=!0}catch(e){}}var i=n(23),a=n(25),s=n(14),u={key:!0,ref:!0},c=!1,l=function(e,n,o,r,i,a){return this.type=e,this.key=n,this.ref=o,this._owner=r,this._context=i,"production"!==t.env.NODE_ENV&&(this._store={validated:!1,props:a},c)?void Object.freeze(this):void(this.props=a)};l.prototype={_isReactElement:!0},"production"!==t.env.NODE_ENV&&r(l.prototype),l.createElement=function(e,n,o){var r,c={},p=null,d=null;if(null!=n){d=void 0===n.ref?null:n.ref,"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?s(null!==n.key,"createElement(...): Encountered component with a `key` of null. In a future version, this will be treated as equivalent to the string 'null'; instead, provide an explicit key or use undefined."):null),p=null==n.key?null:""+n.key;for(r in n)n.hasOwnProperty(r)&&!u.hasOwnProperty(r)&&(c[r]=n[r])}var f=arguments.length-2;if(1===f)c.children=o;else if(f>1){for(var h=Array(f),m=0;m<f;m++)h[m]=arguments[m+2];c.children=h}if(e&&e.defaultProps){var v=e.defaultProps;for(r in v)"undefined"==typeof c[r]&&(c[r]=v[r])}return new l(e,p,d,a.current,i.current,c)},l.createFactory=function(e){var t=l.createElement.bind(null,e);return t.type=e,t},l.cloneAndReplaceProps=function(e,n){var o=new l(e.type,e.key,e.ref,e._owner,e._context,n);return"production"!==t.env.NODE_ENV&&(o._store.validated=e._store.validated),o},l.isValidElement=function(e){var t=!(!e||!e._isReactElement);return t},e.exports=l}).call(t,n(8))},function(e,t,n){"use strict";var o=n(24),r={current:{},withContext:function(e,t){var n,i=r.current;r.current=o({},i,e);try{n=t()}finally{r.current=i}return n}};e.exports=r},function(e,t){function n(e,t){if(null==e)throw new TypeError("Object.assign target cannot be null or undefined");for(var n=Object(e),o=Object.prototype.hasOwnProperty,r=1;r<arguments.length;r++){var i=arguments[r];if(null!=i){var a=Object(i);for(var s in a)o.call(a,s)&&(n[s]=a[s])}}return n}e.exports=n},function(e,t){"use strict";var n={current:null};e.exports=n},function(e,t,n){(function(t){"use strict";function o(e){return f+e.toString(36)}function r(e,t){return e.charAt(t)===f||t===e.length}function i(e){return""===e||e.charAt(0)===f&&e.charAt(e.length-1)!==f}function a(e,t){return 0===t.indexOf(e)&&r(t,e.length)}function s(e){return e?e.substr(0,e.lastIndexOf(f)):""}function u(e,n){if("production"!==t.env.NODE_ENV?d(i(e)&&i(n),"getNextDescendantID(%s, %s): Received an invalid React DOM ID.",e,n):d(i(e)&&i(n)),"production"!==t.env.NODE_ENV?d(a(e,n),"getNextDescendantID(...): React has made an invalid assumption about the DOM hierarchy. Expected `%s` to be an ancestor of `%s`.",e,n):d(a(e,n)),e===n)return e;for(var o=e.length+h,s=o;s<n.length&&!r(n,s);s++);return n.substr(0,s)}function c(e,n){var o=Math.min(e.length,n.length);if(0===o)return"";for(var a=0,s=0;s<=o;s++)if(r(e,s)&&r(n,s))a=s;else if(e.charAt(s)!==n.charAt(s))break;var u=e.substr(0,a);return"production"!==t.env.NODE_ENV?d(i(u),"getFirstCommonAncestorID(%s, %s): Expected a valid React DOM ID: %s",e,n,u):d(i(u)),u}function l(e,n,o,r,i,c){e=e||"",n=n||"","production"!==t.env.NODE_ENV?d(e!==n,"traverseParentPath(...): Cannot traverse from and to the same ID, `%s`.",e):d(e!==n);var l=a(n,e);"production"!==t.env.NODE_ENV?d(l||a(e,n),"traverseParentPath(%s, %s, ...): Cannot traverse from two IDs that do not have a parent path.",e,n):d(l||a(e,n));for(var p=0,f=l?s:u,h=e;;h=f(h,n)){var v;if(i&&h===e||c&&h===n||(v=o(h,l,r)),v===!1||h===n)break;"production"!==t.env.NODE_ENV?d(p++<m,"traverseParentPath(%s, %s, ...): Detected an infinite loop while traversing the React DOM ID tree. This may be due to malformed IDs: %s",e,n):d(p++<m)}}var p=n(27),d=n(11),f=".",h=f.length,m=100,v={createReactRootID:function(){return o(p.createReactRootIndex())},createReactID:function(e,t){return e+t},getReactRootIDFromNodeID:function(e){if(e&&e.charAt(0)===f&&e.length>1){var t=e.indexOf(f,1);return t>-1?e.substr(0,t):e}return null},traverseEnterLeave:function(e,t,n,o,r){var i=c(e,t);i!==e&&l(e,i,n,o,!1,!0),i!==t&&l(i,t,n,r,!0,!1)},traverseTwoPhase:function(e,t,n){e&&(l("",e,t,n,!0,!1),l(e,"",t,n,!1,!0))},traverseAncestors:function(e,t,n){l("",e,t,n,!0,!1)},_getFirstCommonAncestorID:c,_getNextDescendantID:u,isAncestorIDOf:a,SEPARATOR:f};e.exports=v}).call(t,n(8))},function(e,t){"use strict";var n={injectCreateReactRootIndex:function(e){o.createReactRootIndex=e}},o={createReactRootIndex:null,injection:n};e.exports=o},function(e,t,n){(function(t){"use strict";var o=n(22),r=n(29),i=n(31),a=n(24),s=n(11),u=n(18),c=u({MOUNTED:null,UNMOUNTED:null}),l=!1,p=null,d=null,f={injection:{injectEnvironment:function(e){"production"!==t.env.NODE_ENV?s(!l,"ReactComponent: injectEnvironment() can only be called once."):s(!l),d=e.mountImageIntoNode,p=e.unmountIDFromEnvironment,f.BackendIDOperations=e.BackendIDOperations,l=!0}},LifeCycle:c,BackendIDOperations:null,Mixin:{isMounted:function(){return this._lifeCycleState===c.MOUNTED},setProps:function(e,t){var n=this._pendingElement||this._currentElement;this.replaceProps(a({},n.props,e),t)},replaceProps:function(e,n){"production"!==t.env.NODE_ENV?s(this.isMounted(),"replaceProps(...): Can only update a mounted component."):s(this.isMounted()),"production"!==t.env.NODE_ENV?s(0===this._mountDepth,"replaceProps(...): You called `setProps` or `replaceProps` on a component with a parent. This is an anti-pattern since props will get reactively updated when rendered. Instead, change the owner's `render` method to pass the correct value as props to the component where it is created."):s(0===this._mountDepth),this._pendingElement=o.cloneAndReplaceProps(this._pendingElement||this._currentElement,e),i.enqueueUpdate(this,n)},_setPropsInternal:function(e,t){var n=this._pendingElement||this._currentElement;this._pendingElement=o.cloneAndReplaceProps(n,a({},n.props,e)),i.enqueueUpdate(this,t)},construct:function(e){this.props=e.props,this._owner=e._owner,this._lifeCycleState=c.UNMOUNTED,this._pendingCallbacks=null,this._currentElement=e,this._pendingElement=null},mountComponent:function(e,n,o){"production"!==t.env.NODE_ENV?s(!this.isMounted(),"mountComponent(%s, ...): Can only mount an unmounted component. Make sure to avoid storing components between renders or reusing a single component instance in multiple places.",e):s(!this.isMounted());var i=this._currentElement.ref;if(null!=i){var a=this._currentElement._owner;r.addComponentAsRefTo(this,i,a)}this._rootNodeID=e,this._lifeCycleState=c.MOUNTED,this._mountDepth=o},unmountComponent:function(){"production"!==t.env.NODE_ENV?s(this.isMounted(),"unmountComponent(): Can only unmount a mounted component."):s(this.isMounted());var e=this._currentElement.ref;null!=e&&r.removeComponentAsRefFrom(this,e,this._owner),p(this._rootNodeID),this._rootNodeID=null,this._lifeCycleState=c.UNMOUNTED},receiveComponent:function(e,n){ |
| 2 | "production"!==t.env.NODE_ENV?s(this.isMounted(),"receiveComponent(...): Can only update a mounted component."):s(this.isMounted()),this._pendingElement=e,this.performUpdateIfNecessary(n)},performUpdateIfNecessary:function(e){if(null!=this._pendingElement){var t=this._currentElement,n=this._pendingElement;this._currentElement=n,this.props=n.props,this._owner=n._owner,this._pendingElement=null,this.updateComponent(e,t)}},updateComponent:function(e,t){var n=this._currentElement;n._owner===t._owner&&n.ref===t.ref||(null!=t.ref&&r.removeComponentAsRefFrom(this,t.ref,t._owner),null!=n.ref&&r.addComponentAsRefTo(this,n.ref,n._owner))},mountComponentIntoNode:function(e,t,n){var o=i.ReactReconcileTransaction.getPooled();o.perform(this._mountComponentIntoNode,this,e,t,o,n),i.ReactReconcileTransaction.release(o)},_mountComponentIntoNode:function(e,t,n,o){var r=this.mountComponent(e,n,0);d(r,t,o)},isOwnedBy:function(e){return this._owner===e},getSiblingByRef:function(e){var t=this._owner;return t&&t.refs?t.refs[e]:null}}};e.exports=f}).call(t,n(8))},function(e,t,n){(function(t){"use strict";var o=n(30),r=n(11),i={isValidOwner:function(e){return!(!e||"function"!=typeof e.attachRef||"function"!=typeof e.detachRef)},addComponentAsRefTo:function(e,n,o){"production"!==t.env.NODE_ENV?r(i.isValidOwner(o),"addComponentAsRefTo(...): Only a ReactOwner can have refs. This usually means that you're trying to add a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). Try rendering this component inside of a new top-level component which will hold the ref."):r(i.isValidOwner(o)),o.attachRef(n,e)},removeComponentAsRefFrom:function(e,n,o){"production"!==t.env.NODE_ENV?r(i.isValidOwner(o),"removeComponentAsRefFrom(...): Only a ReactOwner can have refs. This usually means that you're trying to remove a ref to a component that doesn't have an owner (that is, was not created inside of another component's `render` method). Try rendering this component inside of a new top-level component which will hold the ref."):r(i.isValidOwner(o)),o.refs[n]===e&&o.detachRef(n)},Mixin:{construct:function(){this.refs=o},attachRef:function(e,n){"production"!==t.env.NODE_ENV?r(n.isOwnedBy(this),"attachRef(%s, ...): Only a component's owner can store a ref to it.",e):r(n.isOwnedBy(this));var i=this.refs===o?this.refs={}:this.refs;i[e]=n},detachRef:function(e){delete this.refs[e]}}};e.exports=i}).call(t,n(8))},function(e,t,n){(function(t){"use strict";var n={};"production"!==t.env.NODE_ENV&&Object.freeze(n),e.exports=n}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(){"production"!==t.env.NODE_ENV?v(x.ReactReconcileTransaction&&b,"ReactUpdates: must inject a reconcile transaction class and batching strategy"):v(x.ReactReconcileTransaction&&b)}function r(){this.reinitializeTransaction(),this.dirtyComponentsLength=null,this.callbackQueue=l.getPooled(),this.reconcileTransaction=x.ReactReconcileTransaction.getPooled()}function i(e,t,n){o(),b.batchedUpdates(e,t,n)}function a(e,t){return e._mountDepth-t._mountDepth}function s(e){var n=e.dirtyComponentsLength;"production"!==t.env.NODE_ENV?v(n===g.length,"Expected flush transaction's stored dirty-components length (%s) to match dirty-components array length (%s).",n,g.length):v(n===g.length),g.sort(a);for(var o=0;o<n;o++){var r=g[o];if(r.isMounted()){var i=r._pendingCallbacks;if(r._pendingCallbacks=null,r.performUpdateIfNecessary(e.reconcileTransaction),i)for(var s=0;s<i.length;s++)e.callbackQueue.enqueue(i[s],r)}}}function u(e,n){return"production"!==t.env.NODE_ENV?v(!n||"function"==typeof n,"enqueueUpdate(...): You called `setProps`, `replaceProps`, `setState`, `replaceState`, or `forceUpdate` with a callback that isn't callable."):v(!n||"function"==typeof n),o(),"production"!==t.env.NODE_ENV?y(null==d.current,"enqueueUpdate(): 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."):null,b.isBatchingUpdates?(g.push(e),void(n&&(e._pendingCallbacks?e._pendingCallbacks.push(n):e._pendingCallbacks=[n]))):void b.batchedUpdates(u,e,n)}function c(e,n){"production"!==t.env.NODE_ENV?v(b.isBatchingUpdates,"ReactUpdates.asap: Can't enqueue an asap callback in a context whereupdates are not being batched."):v(b.isBatchingUpdates),E.enqueue(e,n),N=!0}var l=n(32),p=n(20),d=n(25),f=n(33),h=n(34),m=n(24),v=n(11),y=n(14),g=[],E=l.getPooled(),N=!1,b=null,C={initialize:function(){this.dirtyComponentsLength=g.length},close:function(){this.dirtyComponentsLength!==g.length?(g.splice(0,this.dirtyComponentsLength),w()):g.length=0}},_={initialize:function(){this.callbackQueue.reset()},close:function(){this.callbackQueue.notifyAll()}},D=[C,_];m(r.prototype,h.Mixin,{getTransactionWrappers:function(){return D},destructor:function(){this.dirtyComponentsLength=null,l.release(this.callbackQueue),this.callbackQueue=null,x.ReactReconcileTransaction.release(this.reconcileTransaction),this.reconcileTransaction=null},perform:function(e,t,n){return h.Mixin.perform.call(this,this.reconcileTransaction.perform,this.reconcileTransaction,e,t,n)}}),p.addPoolingTo(r);var w=f.measure("ReactUpdates","flushBatchedUpdates",function(){for(;g.length||N;){if(g.length){var e=r.getPooled();e.perform(s,null,e),r.release(e)}if(N){N=!1;var t=E;E=l.getPooled(),t.notifyAll(),l.release(t)}}}),O={injectReconcileTransaction:function(e){"production"!==t.env.NODE_ENV?v(e,"ReactUpdates: must provide a reconcile transaction class"):v(e),x.ReactReconcileTransaction=e},injectBatchingStrategy:function(e){"production"!==t.env.NODE_ENV?v(e,"ReactUpdates: must provide a batching strategy"):v(e),"production"!==t.env.NODE_ENV?v("function"==typeof e.batchedUpdates,"ReactUpdates: must provide a batchedUpdates() function"):v("function"==typeof e.batchedUpdates),"production"!==t.env.NODE_ENV?v("boolean"==typeof e.isBatchingUpdates,"ReactUpdates: must provide an isBatchingUpdates boolean attribute"):v("boolean"==typeof e.isBatchingUpdates),b=e}},x={ReactReconcileTransaction:null,batchedUpdates:i,enqueueUpdate:u,flushBatchedUpdates:w,injection:O,asap:c};e.exports=x}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(){this._callbacks=null,this._contexts=null}var r=n(20),i=n(24),a=n(11);i(o.prototype,{enqueue:function(e,t){this._callbacks=this._callbacks||[],this._contexts=this._contexts||[],this._callbacks.push(e),this._contexts.push(t)},notifyAll:function(){var e=this._callbacks,n=this._contexts;if(e){"production"!==t.env.NODE_ENV?a(e.length===n.length,"Mismatched list of contexts in callback queue"):a(e.length===n.length),this._callbacks=null,this._contexts=null;for(var o=0,r=e.length;o<r;o++)e[o].call(n[o]);e.length=0,n.length=0}},reset:function(){this._callbacks=null,this._contexts=null},destructor:function(){this.reset()}}),r.addPoolingTo(o),e.exports=o}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function n(e,t,n){return n}var o={enableMeasure:!1,storedMeasure:n,measure:function(e,n,r){if("production"!==t.env.NODE_ENV){var i=null,a=function(){return o.enableMeasure?(i||(i=o.storedMeasure(e,n,r)),i.apply(this,arguments)):r.apply(this,arguments)};return a.displayName=e+"_"+n,a}return r},injection:{injectMeasure:function(e){o.storedMeasure=e}}};e.exports=o}).call(t,n(8))},function(e,t,n){(function(t){"use strict";var o=n(11),r={reinitializeTransaction:function(){this.transactionWrappers=this.getTransactionWrappers(),this.wrapperInitData?this.wrapperInitData.length=0:this.wrapperInitData=[],this._isInTransaction=!1},_isInTransaction:!1,getTransactionWrappers:null,isInTransaction:function(){return!!this._isInTransaction},perform:function(e,n,r,i,a,s,u,c){"production"!==t.env.NODE_ENV?o(!this.isInTransaction(),"Transaction.perform(...): Cannot initialize a transaction when there is already an outstanding transaction."):o(!this.isInTransaction());var l,p;try{this._isInTransaction=!0,l=!0,this.initializeAll(0),p=e.call(n,r,i,a,s,u,c),l=!1}finally{try{if(l)try{this.closeAll(0)}catch(e){}else this.closeAll(0)}finally{this._isInTransaction=!1}}return p},initializeAll:function(e){for(var t=this.transactionWrappers,n=e;n<t.length;n++){var o=t[n];try{this.wrapperInitData[n]=i.OBSERVED_ERROR,this.wrapperInitData[n]=o.initialize?o.initialize.call(this):null}finally{if(this.wrapperInitData[n]===i.OBSERVED_ERROR)try{this.initializeAll(n+1)}catch(e){}}}},closeAll:function(e){"production"!==t.env.NODE_ENV?o(this.isInTransaction(),"Transaction.closeAll(): Cannot close transaction when none are open."):o(this.isInTransaction());for(var n=this.transactionWrappers,r=e;r<n.length;r++){var a,s=n[r],u=this.wrapperInitData[r];try{a=!0,u!==i.OBSERVED_ERROR&&s.close&&s.close.call(this,u),a=!1}finally{if(a)try{this.closeAll(r+1)}catch(e){}}}this.wrapperInitData.length=0}},i={Mixin:r,OBSERVED_ERROR:{}};e.exports=i}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(e){var t=e._owner||null;return t&&t.constructor&&t.constructor.displayName?" Check the render method of `"+t.constructor.displayName+"`.":""}function r(e,n,o){for(var r in n)n.hasOwnProperty(r)&&("production"!==t.env.NODE_ENV?M("function"==typeof n[r],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",e.displayName||"ReactCompositeComponent",D[o],r):M("function"==typeof n[r]))}function i(e,n){var o=U.hasOwnProperty(n)?U[n]:null;B.hasOwnProperty(n)&&("production"!==t.env.NODE_ENV?M(o===V.OVERRIDE_BASE,"ReactCompositeComponentInterface: You are attempting to override `%s` from your class specification. Ensure that your method names do not overlap with React methods.",n):M(o===V.OVERRIDE_BASE)),e.hasOwnProperty(n)&&("production"!==t.env.NODE_ENV?M(o===V.DEFINE_MANY||o===V.DEFINE_MANY_MERGED,"ReactCompositeComponentInterface: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",n):M(o===V.DEFINE_MANY||o===V.DEFINE_MANY_MERGED))}function a(e){var n=e._compositeLifeCycleState;"production"!==t.env.NODE_ENV?M(e.isMounted()||n===F.MOUNTING,"replaceState(...): Can only update a mounted or mounting component."):M(e.isMounted()||n===F.MOUNTING),"production"!==t.env.NODE_ENV?M(null==h.current,"replaceState(...): Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."):M(null==h.current),"production"!==t.env.NODE_ENV?M(n!==F.UNMOUNTING,"replaceState(...): Cannot update while unmounting component. This usually means you called setState() on an unmounted component."):M(n!==F.UNMOUNTING)}function s(e,n){if(n){"production"!==t.env.NODE_ENV?M(!E.isValidFactory(n),"ReactCompositeComponent: You're attempting to use a component class as a mixin. Instead, just use a regular object."):M(!E.isValidFactory(n)),"production"!==t.env.NODE_ENV?M(!m.isValidElement(n),"ReactCompositeComponent: You're attempting to use a component as a mixin. Instead, just use a regular object."):M(!m.isValidElement(n));var o=e.prototype;n.hasOwnProperty(A)&&j.mixins(e,n.mixins);for(var r in n)if(n.hasOwnProperty(r)&&r!==A){var a=n[r];if(i(o,r),j.hasOwnProperty(r))j[r](e,a);else{var s=U.hasOwnProperty(r),u=o.hasOwnProperty(r),c=a&&a.__reactDontBind,d="function"==typeof a,f=d&&!s&&!u&&!c;if(f)o.__reactAutoBindMap||(o.__reactAutoBindMap={}),o.__reactAutoBindMap[r]=a,o[r]=a;else if(u){var h=U[r];"production"!==t.env.NODE_ENV?M(s&&(h===V.DEFINE_MANY_MERGED||h===V.DEFINE_MANY),"ReactCompositeComponent: Unexpected spec policy %s for key %s when mixing in component specs.",h,r):M(s&&(h===V.DEFINE_MANY_MERGED||h===V.DEFINE_MANY)),h===V.DEFINE_MANY_MERGED?o[r]=l(o[r],a):h===V.DEFINE_MANY&&(o[r]=p(o[r],a))}else o[r]=a,"production"!==t.env.NODE_ENV&&"function"==typeof a&&n.displayName&&(o[r].displayName=n.displayName+"_"+r)}}}}function u(e,n){if(n)for(var o in n){var r=n[o];if(n.hasOwnProperty(o)){var i=o in j;"production"!==t.env.NODE_ENV?M(!i,'ReactCompositeComponent: 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.',o):M(!i);var a=o in e;"production"!==t.env.NODE_ENV?M(!a,"ReactCompositeComponent: You are attempting to define `%s` on your component more than once. This conflict may be due to a mixin.",o):M(!a),e[o]=r}}}function c(e,n){return"production"!==t.env.NODE_ENV?M(e&&n&&"object"==typeof e&&"object"==typeof n,"mergeObjectsWithNoDuplicateKeys(): Cannot merge non-objects"):M(e&&n&&"object"==typeof e&&"object"==typeof n),S(n,function(n,o){"production"!==t.env.NODE_ENV?M(void 0===e[o],"mergeObjectsWithNoDuplicateKeys(): 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.",o):M(void 0===e[o]),e[o]=n}),e}function l(e,t){return function(){var n=e.apply(this,arguments),o=t.apply(this,arguments);return null==n?o:null==o?n:c(n,o)}}function p(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}var d=n(28),f=n(23),h=n(25),m=n(22),v=n(36),y=n(39),g=n(40),E=n(41),N=n(29),b=n(33),C=n(42),_=n(37),D=n(44),w=n(31),O=n(24),x=n(45),M=n(11),T=n(18),R=n(47),I=n(38),S=n(48),P=n(49),k=n(14),A=R({mixins:null}),V=T({DEFINE_ONCE:null,DEFINE_MANY:null,OVERRIDE_BASE:null,DEFINE_MANY_MERGED:null}),L=[],U={mixins:V.DEFINE_MANY,statics:V.DEFINE_MANY,propTypes:V.DEFINE_MANY,contextTypes:V.DEFINE_MANY,childContextTypes:V.DEFINE_MANY,getDefaultProps:V.DEFINE_MANY_MERGED,getInitialState:V.DEFINE_MANY_MERGED,getChildContext:V.DEFINE_MANY_MERGED,render:V.DEFINE_ONCE,componentWillMount:V.DEFINE_MANY,componentDidMount:V.DEFINE_MANY,componentWillReceiveProps:V.DEFINE_MANY,shouldComponentUpdate:V.DEFINE_ONCE,componentWillUpdate:V.DEFINE_MANY,componentDidUpdate:V.DEFINE_MANY,componentWillUnmount:V.DEFINE_MANY,updateComponent:V.OVERRIDE_BASE},j={displayName:function(e,t){e.displayName=t},mixins:function(e,t){if(t)for(var n=0;n<t.length;n++)s(e,t[n])},childContextTypes:function(e,t){r(e,t,_.childContext),e.childContextTypes=O({},e.childContextTypes,t)},contextTypes:function(e,t){r(e,t,_.context),e.contextTypes=O({},e.contextTypes,t)},getDefaultProps:function(e,t){e.getDefaultProps?e.getDefaultProps=l(e.getDefaultProps,t):e.getDefaultProps=t},propTypes:function(e,t){r(e,t,_.prop),e.propTypes=O({},e.propTypes,t)},statics:function(e,t){u(e,t)}},F=T({MOUNTING:null,UNMOUNTING:null,RECEIVING_PROPS:null}),B={construct:function(e){d.Mixin.construct.apply(this,arguments),N.Mixin.construct.apply(this,arguments),this.state=null,this._pendingState=null,this.context=null,this._compositeLifeCycleState=null},isMounted:function(){return d.Mixin.isMounted.call(this)&&this._compositeLifeCycleState!==F.MOUNTING},mountComponent:b.measure("ReactCompositeComponent","mountComponent",function(e,n,o){d.Mixin.mountComponent.call(this,e,n,o),this._compositeLifeCycleState=F.MOUNTING,this.__reactAutoBindMap&&this._bindAutoBindMethods(),this.context=this._processContext(this._currentElement._context),this.props=this._processProps(this.props),this.state=this.getInitialState?this.getInitialState():null,"production"!==t.env.NODE_ENV?M("object"==typeof this.state&&!Array.isArray(this.state),"%s.getInitialState(): must return an object or null",this.constructor.displayName||"ReactCompositeComponent"):M("object"==typeof this.state&&!Array.isArray(this.state)),this._pendingState=null,this._pendingForceUpdate=!1,this.componentWillMount&&(this.componentWillMount(),this._pendingState&&(this.state=this._pendingState,this._pendingState=null)),this._renderedComponent=x(this._renderValidatedComponent(),this._currentElement.type),this._compositeLifeCycleState=null;var r=this._renderedComponent.mountComponent(e,n,o+1);return this.componentDidMount&&n.getReactMountReady().enqueue(this.componentDidMount,this),r}),unmountComponent:function(){this._compositeLifeCycleState=F.UNMOUNTING,this.componentWillUnmount&&this.componentWillUnmount(),this._compositeLifeCycleState=null,this._renderedComponent.unmountComponent(),this._renderedComponent=null,d.Mixin.unmountComponent.call(this)},setState:function(e,n){"production"!==t.env.NODE_ENV?M("object"==typeof e||null==e,"setState(...): takes an object of state variables to update."):M("object"==typeof e||null==e),"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?k(null!=e,"setState(...): You passed an undefined or null state object; instead, use forceUpdate()."):null),this.replaceState(O({},this._pendingState||this.state,e),n)},replaceState:function(e,t){a(this),this._pendingState=e,this._compositeLifeCycleState!==F.MOUNTING&&w.enqueueUpdate(this,t)},_processContext:function(e){var n=null,o=this.constructor.contextTypes;if(o){n={};for(var r in o)n[r]=e[r];"production"!==t.env.NODE_ENV&&this._checkPropTypes(o,n,_.context)}return n},_processChildContext:function(e){var n=this.getChildContext&&this.getChildContext(),o=this.constructor.displayName||"ReactCompositeComponent";if(n){"production"!==t.env.NODE_ENV?M("object"==typeof this.constructor.childContextTypes,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o):M("object"==typeof this.constructor.childContextTypes),"production"!==t.env.NODE_ENV&&this._checkPropTypes(this.constructor.childContextTypes,n,_.childContext);for(var r in n)"production"!==t.env.NODE_ENV?M(r in this.constructor.childContextTypes,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',o,r):M(r in this.constructor.childContextTypes);return O({},e,n)}return e},_processProps:function(e){if("production"!==t.env.NODE_ENV){var n=this.constructor.propTypes;n&&this._checkPropTypes(n,e,_.prop)}return e},_checkPropTypes:function(e,n,r){var i=this.constructor.displayName;for(var a in e)if(e.hasOwnProperty(a)){var s=e[a](n,a,i,r);if(s instanceof Error){var u=o(this);"production"!==t.env.NODE_ENV?k(!1,s.message+u):null}}},performUpdateIfNecessary:function(e){var n=this._compositeLifeCycleState;if(n!==F.MOUNTING&&n!==F.RECEIVING_PROPS&&(null!=this._pendingElement||null!=this._pendingState||this._pendingForceUpdate)){var o=this.context,r=this.props,i=this._currentElement;null!=this._pendingElement&&(i=this._pendingElement,o=this._processContext(i._context),r=this._processProps(i.props),this._pendingElement=null,this._compositeLifeCycleState=F.RECEIVING_PROPS,this.componentWillReceiveProps&&this.componentWillReceiveProps(r,o)),this._compositeLifeCycleState=null;var a=this._pendingState||this.state;this._pendingState=null;var s=this._pendingForceUpdate||!this.shouldComponentUpdate||this.shouldComponentUpdate(r,a,o);"production"!==t.env.NODE_ENV&&"undefined"==typeof s&&console.warn((this.constructor.displayName||"ReactCompositeComponent")+".shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false."),s?(this._pendingForceUpdate=!1,this._performComponentUpdate(i,r,a,o,e)):(this._currentElement=i,this.props=r,this.state=a,this.context=o,this._owner=i._owner)}},_performComponentUpdate:function(e,t,n,o,r){var i=this._currentElement,a=this.props,s=this.state,u=this.context;this.componentWillUpdate&&this.componentWillUpdate(t,n,o),this._currentElement=e,this.props=t,this.state=n,this.context=o,this._owner=e._owner,this.updateComponent(r,i),this.componentDidUpdate&&r.getReactMountReady().enqueue(this.componentDidUpdate.bind(this,a,s,u),this)},receiveComponent:function(e,t){e===this._currentElement&&null!=e._owner||d.Mixin.receiveComponent.call(this,e,t)},updateComponent:b.measure("ReactCompositeComponent","updateComponent",function(e,t){d.Mixin.updateComponent.call(this,e,t);var n=this._renderedComponent,o=n._currentElement,r=this._renderValidatedComponent();if(P(o,r))n.receiveComponent(r,e);else{var i=this._rootNodeID,a=n._rootNodeID;n.unmountComponent(),this._renderedComponent=x(r,this._currentElement.type);var s=this._renderedComponent.mountComponent(i,e,this._mountDepth+1);d.BackendIDOperations.dangerouslyReplaceNodeWithMarkupByID(a,s)}}),forceUpdate:function(e){var n=this._compositeLifeCycleState;"production"!==t.env.NODE_ENV?M(this.isMounted()||n===F.MOUNTING,"forceUpdate(...): Can only force an update on mounted or mounting components."):M(this.isMounted()||n===F.MOUNTING),"production"!==t.env.NODE_ENV?M(n!==F.UNMOUNTING&&null==h.current,"forceUpdate(...): Cannot force an update while unmounting component or within a `render` function."):M(n!==F.UNMOUNTING&&null==h.current),this._pendingForceUpdate=!0,w.enqueueUpdate(this,e)},_renderValidatedComponent:b.measure("ReactCompositeComponent","_renderValidatedComponent",function(){var e,n=f.current;f.current=this._processChildContext(this._currentElement._context),h.current=this;try{e=this.render(),null===e||e===!1?(e=y.getEmptyComponent(),y.registerNullComponentID(this._rootNodeID)):y.deregisterNullComponentID(this._rootNodeID)}finally{f.current=n,h.current=null}return"production"!==t.env.NODE_ENV?M(m.isValidElement(e),"%s.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.",this.constructor.displayName||"ReactCompositeComponent"):M(m.isValidElement(e)),e}),_bindAutoBindMethods:function(){for(var e in this.__reactAutoBindMap)if(this.__reactAutoBindMap.hasOwnProperty(e)){var t=this.__reactAutoBindMap[e];this[e]=this._bindAutoBindMethod(g.guard(t,this.constructor.displayName+"."+e))}},_bindAutoBindMethod:function(e){var n=this,o=e.bind(n);if("production"!==t.env.NODE_ENV){o.__reactBoundContext=n,o.__reactBoundMethod=e,o.__reactBoundArguments=null;var r=n.constructor.displayName,i=o.bind;o.bind=function(t){for(var a=[],s=1,u=arguments.length;s<u;s++)a.push(arguments[s]);if(t!==n&&null!==t)I("react_bind_warning",{component:r}),console.warn("bind(): React component methods may only be bound to the component instance. See "+r);else if(!a.length)return I("react_bind_warning",{component:r}),console.warn("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 "+r),o;var c=i.apply(o,arguments);return c.__reactBoundContext=n,c.__reactBoundMethod=e,c.__reactBoundArguments=a,c}}return o}},W=function(){};O(W.prototype,d.Mixin,N.Mixin,C.Mixin,B);var H={LifeCycle:F,Base:W,createClass:function(e){var n=function(e){};n.prototype=new W,n.prototype.constructor=n,L.forEach(s.bind(null,n)),s(n,e),n.getDefaultProps&&(n.defaultProps=n.getDefaultProps()),"production"!==t.env.NODE_ENV?M(n.prototype.render,"createClass(...): Class specification must implement a `render` method."):M(n.prototype.render),"production"!==t.env.NODE_ENV&&n.prototype.componentShouldUpdate&&(I("react_component_should_update_warning",{component:e.displayName}),console.warn((e.displayName||"A component")+" 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."));for(var o in U)n.prototype[o]||(n.prototype[o]=null);return"production"!==t.env.NODE_ENV?E.wrapFactory(v.createFactory(n)):E.wrapFactory(m.createFactory(n))},injection:{injectMixin:function(e){L.push(e)}}};e.exports=H}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(){var e=d.current;return e&&e.constructor.displayName||void 0}function r(e,t){e._store.validated||null!=e.key||(e._store.validated=!0,a("react_key_warning",'Each child in an array should have a unique "key" prop.',e,t))}function i(e,t,n){g.test(e)&&a("react_numeric_key_warning","Child objects should have non-numeric keys so ordering is preserved.",t,n)}function a(e,t,n,r){var i=o(),a=r.displayName,s=i||a,u=m[e];if(!u.hasOwnProperty(s)){u[s]=!0,t+=i?" Check the render method of "+i+".":" Check the renderComponent call using <"+a+">.";var c=null;n._owner&&n._owner!==d.current&&(c=n._owner.constructor.displayName,t+=" It was passed a child from "+c+"."),t+=" See http://fb.me/react-warning-keys for more information.",f(e,{component:s,componentOwner:c}),console.warn(t)}}function s(){var e=o()||"";v.hasOwnProperty(e)||(v[e]=!0,f("react_object_map_children"))}function u(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++){var o=e[n];l.isValidElement(o)&&r(o,t)}else if(l.isValidElement(e))e._store.validated=!0;else if(e&&"object"==typeof e){s();for(var a in e)i(a,e[a],t)}}function c(e,t,n,o){for(var r in t)if(t.hasOwnProperty(r)){var i;try{i=t[r](n,r,e,o)}catch(e){i=e}i instanceof Error&&!(i.message in y)&&(y[i.message]=!0,f("react_failed_descriptor_type_check",{message:i.message}))}}var l=n(22),p=n(37),d=n(25),f=n(38),h=n(14),m={react_key_warning:{},react_numeric_key_warning:{}},v={},y={},g=/^\d+$/,E={createElement:function(e,n,o){"production"!==t.env.NODE_ENV?h(null!=e,"React.createElement: type should not be null or undefined. It should be a string (for DOM elements) or a ReactClass (for composite components)."):null;var r=l.createElement.apply(this,arguments);if(null==r)return r;for(var i=2;i<arguments.length;i++)u(arguments[i],e);if(e){var a=e.displayName;e.propTypes&&c(a,e.propTypes,r.props,p.prop),e.contextTypes&&c(a,e.contextTypes,r._context,p.context)}return r},createFactory:function(e){var t=E.createElement.bind(null,e);return t.type=e,t}};e.exports=E}).call(t,n(8))},function(e,t,n){"use strict";var o=n(18),r=o({prop:null,context:null,childContext:null});e.exports=r},function(e,t,n){(function(t){"use strict";function o(e,n){"production"!==t.env.NODE_ENV?r(e&&!/[^a-z0-9_]/.test(e),"You must provide an eventName using only the characters [a-z0-9_]"):r(e&&!/[^a-z0-9_]/.test(e))}var r=n(11);e.exports=o}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(){return"production"!==t.env.NODE_ENV?c(s,"Trying to return null from a render, but no null placeholder component was injected."):c(s),s()}function r(e){l[e]=!0}function i(e){delete l[e]}function a(e){return l[e]}var s,u=n(22),c=n(11),l={},p={injectEmptyComponent:function(e){s=u.createFactory(e)}},d={deregisterNullComponentID:i,getEmptyComponent:o,injection:p,isNullComponentID:a,registerNullComponentID:r};e.exports=d}).call(t,n(8))},function(e,t){"use strict";var n={guard:function(e,t){return e}};e.exports=n},function(e,t,n){(function(t){"use strict";function o(){if(h._isLegacyCallWarningEnabled){var e=s.current,n=e&&e.constructor?e.constructor.displayName:"";n||(n="Something"),p.hasOwnProperty(n)||(p[n]=!0,"production"!==t.env.NODE_ENV?l(!1,n+" is calling a React component directly. Use a factory or JSX instead. See: http://fb.me/react-legacyfactory"):null,c("react_legacy_factory_call",{version:3,name:n}))}}function r(e){var n=e.prototype&&"function"==typeof e.prototype.mountComponent&&"function"==typeof e.prototype.receiveComponent;if(n)"production"!==t.env.NODE_ENV?l(!1,"Did not expect to get a React class here. Use `Component` instead of `Component.type` or `this.constructor`."):null;else{if(!e._reactWarnedForThisType){try{e._reactWarnedForThisType=!0}catch(e){}c("react_non_component_in_jsx",{version:3,name:e.name})}"production"!==t.env.NODE_ENV?l(!1,"This JSX uses a plain function. Only React components are valid in React's JSX transform."):null}}function i(e){"production"!==t.env.NODE_ENV?l(!1,"Do not pass React.DOM."+e.type+' to JSX or createFactory. Use the string "'+e.type+'" instead.'):null}function a(e,t){if("function"==typeof t)for(var n in t)if(t.hasOwnProperty(n)){var o=t[n];if("function"==typeof o){var r=o.bind(t);for(var i in o)o.hasOwnProperty(i)&&(r[i]=o[i]);e[n]=r}else e[n]=o}}var s=n(25),u=n(11),c=n(38),l=n(14),p={},d={},f={},h={};h.wrapCreateFactory=function(e){var n=function(n){return"function"!=typeof n?e(n):n.isReactNonLegacyFactory?("production"!==t.env.NODE_ENV&&i(n),e(n.type)):n.isReactLegacyFactory?e(n.type):("production"!==t.env.NODE_ENV&&r(n),n)};return n},h.wrapCreateElement=function(e){var n=function(n,o,a){if("function"!=typeof n)return e.apply(this,arguments);var s;return n.isReactNonLegacyFactory?("production"!==t.env.NODE_ENV&&i(n),s=Array.prototype.slice.call(arguments,0),s[0]=n.type,e.apply(this,s)):n.isReactLegacyFactory?(n._isMockFunction&&(n.type._mockedReactClassConstructor=n),s=Array.prototype.slice.call(arguments,0),s[0]=n.type,e.apply(this,s)):("production"!==t.env.NODE_ENV&&r(n),n.apply(null,Array.prototype.slice.call(arguments,1)))};return n},h.wrapFactory=function(e){"production"!==t.env.NODE_ENV?u("function"==typeof e,"This is suppose to accept a element factory"):u("function"==typeof e);var n=function(n,r){return"production"!==t.env.NODE_ENV&&o(),e.apply(this,arguments)};return a(n,e.type),n.isReactLegacyFactory=d,n.type=e.type,n},h.markNonLegacyFactory=function(e){return e.isReactNonLegacyFactory=f,e},h.isValidFactory=function(e){return"function"==typeof e&&e.isReactLegacyFactory===d},h.isValidClass=function(e){return"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?l(!1,"isValidClass is deprecated and will be removed in a future release. Use a more specific validator instead."):null),h.isValidFactory(e)},h._isLegacyCallWarningEnabled=!0,e.exports=h}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(e){return function(t,n,o){t.hasOwnProperty(n)?t[n]=e(t[n],o):t[n]=o}}function r(e,t){for(var n in t)if(t.hasOwnProperty(n)){var o=d[n];o&&d.hasOwnProperty(n)?o(e,n,t[n]):e.hasOwnProperty(n)||(e[n]=t[n])}return e}var i=n(24),a=n(15),s=n(11),u=n(43),c=n(14),l=!1,p=o(function(e,t){return i({},t,e)}),d={children:a,className:o(u),style:p},f={TransferStrategies:d,mergeProps:function(e,t){return r(i({},e),t)},Mixin:{transferPropsTo:function(e){return"production"!==t.env.NODE_ENV?s(e._owner===this,"%s: You can't call transferPropsTo() on a component that you don't own, %s. This usually means you are calling transferPropsTo() on a component passed in as props or children.",this.constructor.displayName,"string"==typeof e.type?e.type:e.type.displayName):s(e._owner===this),"production"!==t.env.NODE_ENV&&(l||(l=!0,"production"!==t.env.NODE_ENV?c(!1,"transferPropsTo is deprecated. See http://fb.me/react-transferpropsto for more information."):null)),r(e.props,this.props),e}}};e.exports=f}).call(t,n(8))},function(e,t){"use strict";function n(e){e||(e="");var t,n=arguments.length;if(n>1)for(var o=1;o<n;o++)t=arguments[o],t&&(e=(e?e+" ":"")+t);return e}e.exports=n},function(e,t,n){(function(t){"use strict";var n={};"production"!==t.env.NODE_ENV&&(n={prop:"prop",context:"context",childContext:"child context"}),e.exports=n}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(e,n){var o;if("production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?r(e&&("function"==typeof e.type||"string"==typeof e.type),"Only functions or strings can be mounted as React components."):null,e.type._mockedReactClassConstructor)){a._isLegacyCallWarningEnabled=!1;try{o=new e.type._mockedReactClassConstructor(e.props)}finally{a._isLegacyCallWarningEnabled=!0}i.isValidElement(o)&&(o=new o.type(o.props));var c=o.render;if(c)return c._isMockFunction&&!c._getMockImplementation()&&c.mockImplementation(u.getEmptyComponent),o.construct(e),o;e=u.getEmptyComponent()}return o="string"==typeof e.type?s.createInstanceForTag(e.type,e.props,n):new e.type(e.props),"production"!==t.env.NODE_ENV&&("production"!==t.env.NODE_ENV?r("function"==typeof o.construct&&"function"==typeof o.mountComponent&&"function"==typeof o.receiveComponent,"Only React Components can be mounted."):null),o.construct(e),o}var r=n(14),i=n(22),a=n(41),s=n(46),u=n(39);e.exports=o}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(e,n,o){var r=s[e];return null==r?("production"!==t.env.NODE_ENV?i(a,"There is no registered component for the tag %s",e):i(a),new a(e,n)):o===e?("production"!==t.env.NODE_ENV?i(a,"There is no registered component for the tag %s",e):i(a),new a(e,n)):new r.type(n)}var r=n(24),i=n(11),a=null,s={},u={injectGenericComponentClass:function(e){ |
| 3 | a=e},injectComponentClasses:function(e){r(s,e)}},c={createInstanceForTag:o,injection:u};e.exports=c}).call(t,n(8))},function(e,t){var n=function(e){var t;for(t in e)if(e.hasOwnProperty(t))return t;return null};e.exports=n},function(e,t){"use strict";function n(e,t,n){if(!e)return null;var r={};for(var i in e)o.call(e,i)&&(r[i]=t.call(n,e[i],i,e));return r}var o=Object.prototype.hasOwnProperty;e.exports=n},function(e,t){"use strict";function n(e,t){return!(!e||!t||e.type!==t.type||e.key!==t.key||e._owner!==t._owner)}e.exports=n},function(e,t,n){(function(t){"use strict";function o(e){return"production"!==t.env.NODE_ENV?a.markNonLegacyFactory(i.createFactory(e)):a.markNonLegacyFactory(r.createFactory(e))}var r=n(22),i=n(36),a=n(41),s=n(48),u=s({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",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",defs:"defs",ellipse:"ellipse",g:"g",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"},o);e.exports=u}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(e){e&&("production"!==t.env.NODE_ENV?g(null==e.children||null==e.dangerouslySetInnerHTML,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."):g(null==e.children||null==e.dangerouslySetInnerHTML),"production"!==t.env.NODE_ENV&&e.contentEditable&&null!=e.children&&console.warn("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),"production"!==t.env.NODE_ENV?g(null==e.style||"object"==typeof e.style,"The `style` prop expects a mapping from style properties to values, not a string."):g(null==e.style||"object"==typeof e.style))}function r(e,n,o,r){"production"!==t.env.NODE_ENV&&("onScroll"!==n||E("scroll",!0)||(b("react_no_scroll_event"),console.warn("This browser doesn't support the `onScroll` event")));var i=f.findReactContainerForID(e);if(i){var a=i.nodeType===x?i.ownerDocument:i;_(n,a)}r.getPutListenerQueue().enqueuePutListener(e,n,o)}function i(e){I.call(R,e)||("production"!==t.env.NODE_ENV?g(T.test(e),"Invalid tag: %s",e):g(T.test(e)),R[e]=!0)}function a(e){i(e),this._tag=e,this.tagName=e.toUpperCase()}var s=n(52),u=n(10),c=n(9),l=n(60),p=n(28),d=n(62),f=n(61),h=n(76),m=n(33),v=n(24),y=n(12),g=n(11),E=n(70),N=n(47),b=n(38),C=d.deleteListener,_=d.listenTo,D=d.registrationNameModules,w={string:!0,number:!0},O=N({style:null}),x=1,M={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},T=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,R={},I={}.hasOwnProperty;a.displayName="ReactDOMComponent",a.Mixin={mountComponent:m.measure("ReactDOMComponent","mountComponent",function(e,t,n){p.Mixin.mountComponent.call(this,e,t,n),o(this.props);var r=M[this._tag]?"":"</"+this._tag+">";return this._createOpenTagMarkupAndPutListeners(t)+this._createContentMarkup(t)+r}),_createOpenTagMarkupAndPutListeners:function(e){var t=this.props,n="<"+this._tag;for(var o in t)if(t.hasOwnProperty(o)){var i=t[o];if(null!=i)if(D.hasOwnProperty(o))r(this._rootNodeID,o,i,e);else{o===O&&(i&&(i=t.style=v({},t.style)),i=s.createMarkupForStyles(i));var a=c.createMarkupForProperty(o,i);a&&(n+=" "+a)}}if(e.renderToStaticMarkup)return n+">";var u=c.createMarkupForID(this._rootNodeID);return n+" "+u+">"},_createContentMarkup:function(e){var t=this.props.dangerouslySetInnerHTML;if(null!=t){if(null!=t.__html)return t.__html}else{var n=w[typeof this.props.children]?this.props.children:null,o=null!=n?null:this.props.children;if(null!=n)return y(n);if(null!=o){var r=this.mountChildren(o,e);return r.join("")}}return""},receiveComponent:function(e,t){e===this._currentElement&&null!=e._owner||p.Mixin.receiveComponent.call(this,e,t)},updateComponent:m.measure("ReactDOMComponent","updateComponent",function(e,t){o(this._currentElement.props),p.Mixin.updateComponent.call(this,e,t),this._updateDOMProperties(t.props,e),this._updateDOMChildren(t.props,e)}),_updateDOMProperties:function(e,t){var n,o,i,a=this.props;for(n in e)if(!a.hasOwnProperty(n)&&e.hasOwnProperty(n))if(n===O){var s=e[n];for(o in s)s.hasOwnProperty(o)&&(i=i||{},i[o]="")}else D.hasOwnProperty(n)?C(this._rootNodeID,n):(u.isStandardName[n]||u.isCustomAttribute(n))&&p.BackendIDOperations.deletePropertyByID(this._rootNodeID,n);for(n in a){var c=a[n],l=e[n];if(a.hasOwnProperty(n)&&c!==l)if(n===O)if(c&&(c=a.style=v({},c)),l){for(o in l)!l.hasOwnProperty(o)||c&&c.hasOwnProperty(o)||(i=i||{},i[o]="");for(o in c)c.hasOwnProperty(o)&&l[o]!==c[o]&&(i=i||{},i[o]=c[o])}else i=c;else D.hasOwnProperty(n)?r(this._rootNodeID,n,c,t):(u.isStandardName[n]||u.isCustomAttribute(n))&&p.BackendIDOperations.updatePropertyByID(this._rootNodeID,n,c)}i&&p.BackendIDOperations.updateStylesByID(this._rootNodeID,i)},_updateDOMChildren:function(e,t){var n=this.props,o=w[typeof e.children]?e.children:null,r=w[typeof n.children]?n.children:null,i=e.dangerouslySetInnerHTML&&e.dangerouslySetInnerHTML.__html,a=n.dangerouslySetInnerHTML&&n.dangerouslySetInnerHTML.__html,s=null!=o?null:e.children,u=null!=r?null:n.children,c=null!=o||null!=i,l=null!=r||null!=a;null!=s&&null==u?this.updateChildren(null,t):c&&!l&&this.updateTextContent(""),null!=r?o!==r&&this.updateTextContent(""+r):null!=a?i!==a&&p.BackendIDOperations.updateInnerHTMLByID(this._rootNodeID,a):null!=u&&this.updateChildren(u,t)},unmountComponent:function(){this.unmountChildren(),d.deleteAllListeners(this._rootNodeID),p.Mixin.unmountComponent.call(this)}},v(a.prototype,p.Mixin,a.Mixin,h.Mixin,l),e.exports=a}).call(t,n(8))},function(e,t,n){(function(t){"use strict";var o=n(53),r=n(54),i=n(55),a=n(57),s=n(58),u=n(13),c=n(14),l=u(function(e){return s(e)}),p="cssFloat";if(r.canUseDOM&&void 0===document.documentElement.style.cssFloat&&(p="styleFloat"),"production"!==t.env.NODE_ENV)var d={},f=function(e){d.hasOwnProperty(e)&&d[e]||(d[e]=!0,"production"!==t.env.NODE_ENV?c(!1,"Unsupported style property "+e+". Did you mean "+i(e)+"?"):null)};var h={createMarkupForStyles:function(e){var n="";for(var o in e)if(e.hasOwnProperty(o)){"production"!==t.env.NODE_ENV&&o.indexOf("-")>-1&&f(o);var r=e[o];null!=r&&(n+=l(o)+":",n+=a(o,r)+";")}return n||null},setValueForStyles:function(e,n){var r=e.style;for(var i in n)if(n.hasOwnProperty(i)){"production"!==t.env.NODE_ENV&&i.indexOf("-")>-1&&f(i);var s=a(i,n[i]);if("float"===i&&(i=p),s)r[i]=s;else{var u=o.shorthandPropertyExpansions[i];if(u)for(var c in u)r[c]="";else r[i]=""}}}};e.exports=h}).call(t,n(8))},function(e,t){"use strict";function n(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}var o={columnCount:!0,flex:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeOpacity:!0},r=["Webkit","ms","Moz","O"];Object.keys(o).forEach(function(e){r.forEach(function(t){o[n(t,e)]=o[e]})});var i={background:{backgroundImage:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundColor:!0},border:{borderWidth:!0,borderStyle:!0,borderColor:!0},borderBottom:{borderBottomWidth:!0,borderBottomStyle:!0,borderBottomColor:!0},borderLeft:{borderLeftWidth:!0,borderLeftStyle:!0,borderLeftColor:!0},borderRight:{borderRightWidth:!0,borderRightStyle:!0,borderRightColor:!0},borderTop:{borderTopWidth:!0,borderTopStyle:!0,borderTopColor:!0},font:{fontStyle:!0,fontVariant:!0,fontWeight:!0,fontSize:!0,lineHeight:!0,fontFamily:!0}},a={isUnitlessNumber:o,shorthandPropertyExpansions:i};e.exports=a},function(e,t){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=o},function(e,t,n){"use strict";function o(e){return r(e.replace(i,"ms-"))}var r=n(56),i=/^-ms-/;e.exports=o},function(e,t){function n(e){return e.replace(o,function(e,t){return t.toUpperCase()})}var o=/-(.)/g;e.exports=n},function(e,t,n){"use strict";function o(e,t){var n=null==t||"boolean"==typeof t||""===t;if(n)return"";var o=isNaN(t);return o||0===t||i.hasOwnProperty(e)&&i[e]?""+t:("string"==typeof t&&(t=t.trim()),t+"px")}var r=n(53),i=r.isUnitlessNumber;e.exports=o},function(e,t,n){"use strict";function o(e){return r(e).replace(i,"-ms-")}var r=n(59),i=/^ms-/;e.exports=o},function(e,t){function n(e){return e.replace(o,"-$1").toLowerCase()}var o=/([A-Z])/g;e.exports=n},function(e,t,n){(function(t){"use strict";var o=n(39),r=n(61),i=n(11),a={getDOMNode:function(){return"production"!==t.env.NODE_ENV?i(this.isMounted(),"getDOMNode(): A component must be mounted to have a DOM node."):i(this.isMounted()),o.isNullComponentID(this._rootNodeID)?null:r.getNode(this._rootNodeID)}};e.exports=a}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(e){var t=b(e);return t&&L.getID(t)}function r(e){var n=i(e);if(n)if(T.hasOwnProperty(n)){var o=T[n];o!==e&&("production"!==t.env.NODE_ENV?_(!u(o,n),"ReactMount: Two valid but unequal nodes with the same `%s`: %s",M,n):_(!u(o,n)),T[n]=e)}else T[n]=e;return n}function i(e){return e&&e.getAttribute&&e.getAttribute(M)||""}function a(e,t){var n=i(e);n!==t&&delete T[n],e.setAttribute(M,t),T[t]=e}function s(e){return T.hasOwnProperty(e)&&u(T[e],e)||(T[e]=L.findReactNodeByID(e)),T[e]}function u(e,n){if(e){"production"!==t.env.NODE_ENV?_(i(e)===n,"ReactMount: Unexpected modification of `%s`",M):_(i(e)===n);var o=L.findReactContainerForID(n);if(o&&E(o,e))return!0}return!1}function c(e){delete T[e]}function l(e){var t=T[e];return!(!t||!u(t,e))&&void(V=t)}function p(e){V=null,y.traverseAncestors(e,l);var t=V;return V=null,t}var d=n(10),f=n(62),h=n(25),m=n(22),v=n(41),y=n(26),g=n(33),E=n(71),N=n(74),b=n(75),C=n(45),_=n(11),D=n(49),w=n(14),O=v.wrapCreateElement(m.createElement),x=y.SEPARATOR,M=d.ID_ATTRIBUTE_NAME,T={},R=1,I=9,S={},P={};if("production"!==t.env.NODE_ENV)var k={};var A=[],V=null,L={_instancesByReactRootID:S,scrollMonitor:function(e,t){t()},_updateRootComponent:function(e,n,r,i){var a=n.props;return L.scrollMonitor(r,function(){e.replaceProps(a,i)}),"production"!==t.env.NODE_ENV&&(k[o(r)]=b(r)),e},_registerComponent:function(e,n){"production"!==t.env.NODE_ENV?_(n&&(n.nodeType===R||n.nodeType===I),"_registerComponent(...): Target container is not a DOM element."):_(n&&(n.nodeType===R||n.nodeType===I)),f.ensureScrollValueMonitoring();var o=L.registerContainer(n);return S[o]=e,o},_renderNewRootComponent:g.measure("ReactMount","_renderNewRootComponent",function(e,n,o){"production"!==t.env.NODE_ENV?w(null==h.current,"_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."):null;var r=C(e,null),i=L._registerComponent(r,n);return r.mountComponentIntoNode(i,n,o),"production"!==t.env.NODE_ENV&&(k[i]=b(n)),r}),render:function(e,n,r){"production"!==t.env.NODE_ENV?_(m.isValidElement(e),"renderComponent(): Invalid component element.%s","string"==typeof e?" Instead of passing an element string, make sure to instantiate it by passing it to React.createElement.":v.isValidFactory(e)?" Instead of passing a component class, make sure to instantiate it by passing it to React.createElement.":"undefined"!=typeof e.props?" This may be caused by unintentionally loading two independent copies of React.":""):_(m.isValidElement(e));var i=S[o(n)];if(i){var a=i._currentElement;if(D(a,e))return L._updateRootComponent(i,e,n,r);L.unmountComponentAtNode(n)}var s=b(n),u=s&&L.isRenderedByReact(s),c=u&&!i,l=L._renderNewRootComponent(e,n,c);return r&&r.call(l),l},constructAndRenderComponent:function(e,t,n){var o=O(e,t);return L.render(o,n)},constructAndRenderComponentByID:function(e,n,o){var r=document.getElementById(o);return"production"!==t.env.NODE_ENV?_(r,'Tried to get element with id of "%s" but it is not present on the page.',o):_(r),L.constructAndRenderComponent(e,n,r)},registerContainer:function(e){var t=o(e);return t&&(t=y.getReactRootIDFromNodeID(t)),t||(t=y.createReactRootID()),P[t]=e,t},unmountComponentAtNode:function(e){"production"!==t.env.NODE_ENV?w(null==h.current,"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."):null;var n=o(e),r=S[n];return!!r&&(L.unmountComponentFromNode(r,e),delete S[n],delete P[n],"production"!==t.env.NODE_ENV&&delete k[n],!0)},unmountComponentFromNode:function(e,t){for(e.unmountComponent(),t.nodeType===I&&(t=t.documentElement);t.lastChild;)t.removeChild(t.lastChild)},findReactContainerForID:function(e){var n=y.getReactRootIDFromNodeID(e),o=P[n];if("production"!==t.env.NODE_ENV){var r=k[n];if(r&&r.parentNode!==o){"production"!==t.env.NODE_ENV?_(i(r)===n,"ReactMount: Root element ID differed from reactRootID."):_(i(r)===n);var a=o.firstChild;a&&n===i(a)?k[n]=a:console.warn("ReactMount: Root element has been removed from its original container. New container:",r.parentNode)}}return o},findReactNodeByID:function(e){var t=L.findReactContainerForID(e);return L.findComponentRoot(t,e)},isRenderedByReact:function(e){if(1!==e.nodeType)return!1;var t=L.getID(e);return!!t&&t.charAt(0)===x},getFirstReactDOM:function(e){for(var t=e;t&&t.parentNode!==t;){if(L.isRenderedByReact(t))return t;t=t.parentNode}return null},findComponentRoot:function(e,n){var o=A,r=0,i=p(n)||e;for(o[0]=i.firstChild,o.length=1;r<o.length;){for(var a,s=o[r++];s;){var u=L.getID(s);u?n===u?a=s:y.isAncestorIDOf(u,n)&&(o.length=r=0,o.push(s.firstChild)):o.push(s.firstChild),s=s.nextSibling}if(a)return o.length=0,a}o.length=0,"production"!==t.env.NODE_ENV?_(!1,"findComponentRoot(..., %s): Unable to find element. This probably means the DOM was unexpectedly mutated (e.g., by the browser), usually due to forgetting a <tbody> when using tables, nesting tags like <form>, <p>, or <a>, or using non-SVG elements in an <svg> parent. Try inspecting the child nodes of the element with React ID `%s`.",n,L.getID(e)):_(!1)},getReactRootID:o,getID:r,setID:a,getNode:s,purgeID:c};L.renderComponent=N("ReactMount","renderComponent","render",this,L.render),e.exports=L}).call(t,n(8))},function(e,t,n){"use strict";function o(e){return Object.prototype.hasOwnProperty.call(e,m)||(e[m]=f++,p[e[m]]={}),p[e[m]]}var r=n(17),i=n(63),a=n(64),s=n(67),u=n(68),c=n(24),l=n(70),p={},d=!1,f=0,h={topBlur:"blur",topChange:"change",topClick:"click",topCompositionEnd:"compositionend",topCompositionStart:"compositionstart",topCompositionUpdate:"compositionupdate",topContextMenu:"contextmenu",topCopy:"copy",topCut:"cut",topDoubleClick:"dblclick",topDrag:"drag",topDragEnd:"dragend",topDragEnter:"dragenter",topDragExit:"dragexit",topDragLeave:"dragleave",topDragOver:"dragover",topDragStart:"dragstart",topDrop:"drop",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topScroll:"scroll",topSelectionChange:"selectionchange",topTextInput:"textInput",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topWheel:"wheel"},m="_reactListenersID"+String(Math.random()).slice(2),v=c({},s,{ReactEventListener:null,injection:{injectReactEventListener:function(e){e.setHandleTopLevel(v.handleTopLevel),v.ReactEventListener=e}},setEnabled:function(e){v.ReactEventListener&&v.ReactEventListener.setEnabled(e)},isEnabled:function(){return!(!v.ReactEventListener||!v.ReactEventListener.isEnabled())},listenTo:function(e,t){for(var n=t,i=o(n),s=a.registrationNameDependencies[e],u=r.topLevelTypes,c=0,p=s.length;c<p;c++){var d=s[c];i.hasOwnProperty(d)&&i[d]||(d===u.topWheel?l("wheel")?v.ReactEventListener.trapBubbledEvent(u.topWheel,"wheel",n):l("mousewheel")?v.ReactEventListener.trapBubbledEvent(u.topWheel,"mousewheel",n):v.ReactEventListener.trapBubbledEvent(u.topWheel,"DOMMouseScroll",n):d===u.topScroll?l("scroll",!0)?v.ReactEventListener.trapCapturedEvent(u.topScroll,"scroll",n):v.ReactEventListener.trapBubbledEvent(u.topScroll,"scroll",v.ReactEventListener.WINDOW_HANDLE):d===u.topFocus||d===u.topBlur?(l("focus",!0)?(v.ReactEventListener.trapCapturedEvent(u.topFocus,"focus",n),v.ReactEventListener.trapCapturedEvent(u.topBlur,"blur",n)):l("focusin")&&(v.ReactEventListener.trapBubbledEvent(u.topFocus,"focusin",n),v.ReactEventListener.trapBubbledEvent(u.topBlur,"focusout",n)),i[u.topBlur]=!0,i[u.topFocus]=!0):h.hasOwnProperty(d)&&v.ReactEventListener.trapBubbledEvent(d,h[d],n),i[d]=!0)}},trapBubbledEvent:function(e,t,n){return v.ReactEventListener.trapBubbledEvent(e,t,n)},trapCapturedEvent:function(e,t,n){return v.ReactEventListener.trapCapturedEvent(e,t,n)},ensureScrollValueMonitoring:function(){if(!d){var e=u.refreshScrollValues;v.ReactEventListener.monitorScrollValue(e),d=!0}},eventNameDispatchConfigs:i.eventNameDispatchConfigs,registrationNameModules:i.registrationNameModules,putListener:i.putListener,getListener:i.getListener,deleteListener:i.deleteListener,deleteAllListeners:i.deleteAllListeners});e.exports=v},function(e,t,n){(function(t){"use strict";function o(){var e=!d||!d.traverseTwoPhase||!d.traverseEnterLeave;if(e)throw new Error("InstanceHandle not injected before use!")}var r=n(64),i=n(16),a=n(65),s=n(66),u=n(11),c={},l=null,p=function(e){if(e){var t=i.executeDispatch,n=r.getPluginModuleForEvent(e);n&&n.executeDispatch&&(t=n.executeDispatch),i.executeDispatchesInOrder(e,t),e.isPersistent()||e.constructor.release(e)}},d=null,f={injection:{injectMount:i.injection.injectMount,injectInstanceHandle:function(e){d=e,"production"!==t.env.NODE_ENV&&o()},getInstanceHandle:function(){return"production"!==t.env.NODE_ENV&&o(),d},injectEventPluginOrder:r.injectEventPluginOrder,injectEventPluginsByName:r.injectEventPluginsByName},eventNameDispatchConfigs:r.eventNameDispatchConfigs,registrationNameModules:r.registrationNameModules,putListener:function(e,n,o){"production"!==t.env.NODE_ENV?u(!o||"function"==typeof o,"Expected %s listener to be a function, instead got type %s",n,typeof o):u(!o||"function"==typeof o);var r=c[n]||(c[n]={});r[e]=o},getListener:function(e,t){var n=c[t];return n&&n[e]},deleteListener:function(e,t){var n=c[t];n&&delete n[e]},deleteAllListeners:function(e){for(var t in c)delete c[t][e]},extractEvents:function(e,t,n,o){for(var i,s=r.plugins,u=0,c=s.length;u<c;u++){var l=s[u];if(l){var p=l.extractEvents(e,t,n,o);p&&(i=a(i,p))}}return i},enqueueEvents:function(e){e&&(l=a(l,e))},processEventQueue:function(){var e=l;l=null,s(e,p),"production"!==t.env.NODE_ENV?u(!l,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."):u(!l)},__purge:function(){c={}},__getListenerBank:function(){return c}};e.exports=f}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(){if(s)for(var e in u){var n=u[e],o=s.indexOf(e);if("production"!==t.env.NODE_ENV?a(o>-1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",e):a(o>-1),!c.plugins[o]){"production"!==t.env.NODE_ENV?a(n.extractEvents,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",e):a(n.extractEvents),c.plugins[o]=n;var i=n.eventTypes;for(var l in i)"production"!==t.env.NODE_ENV?a(r(i[l],n,l),"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",l,e):a(r(i[l],n,l))}}}function r(e,n,o){"production"!==t.env.NODE_ENV?a(!c.eventNameDispatchConfigs.hasOwnProperty(o),"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",o):a(!c.eventNameDispatchConfigs.hasOwnProperty(o)),c.eventNameDispatchConfigs[o]=e;var r=e.phasedRegistrationNames;if(r){for(var s in r)if(r.hasOwnProperty(s)){var u=r[s];i(u,n,o)}return!0}return!!e.registrationName&&(i(e.registrationName,n,o),!0)}function i(e,n,o){"production"!==t.env.NODE_ENV?a(!c.registrationNameModules[e],"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",e):a(!c.registrationNameModules[e]),c.registrationNameModules[e]=n,c.registrationNameDependencies[e]=n.eventTypes[o].dependencies}var a=n(11),s=null,u={},c={plugins:[],eventNameDispatchConfigs:{},registrationNameModules:{},registrationNameDependencies:{},injectEventPluginOrder:function(e){"production"!==t.env.NODE_ENV?a(!s,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."):a(!s),s=Array.prototype.slice.call(e),o()},injectEventPluginsByName:function(e){var n=!1;for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];u.hasOwnProperty(r)&&u[r]===i||("production"!==t.env.NODE_ENV?a(!u[r],"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",r):a(!u[r]),u[r]=i,n=!0)}n&&o()},getPluginModuleForEvent:function(e){var t=e.dispatchConfig;if(t.registrationName)return c.registrationNameModules[t.registrationName]||null;for(var n in t.phasedRegistrationNames)if(t.phasedRegistrationNames.hasOwnProperty(n)){var o=c.registrationNameModules[t.phasedRegistrationNames[n]];if(o)return o}return null},_resetEventPlugins:function(){s=null;for(var e in u)u.hasOwnProperty(e)&&delete u[e];c.plugins.length=0;var t=c.eventNameDispatchConfigs;for(var n in t)t.hasOwnProperty(n)&&delete t[n];var o=c.registrationNameModules;for(var r in o)o.hasOwnProperty(r)&&delete o[r]}};e.exports=c}).call(t,n(8))},function(e,t,n){(function(t){"use strict";function o(e,n){if("production"!==t.env.NODE_ENV?r(null!=n,"accumulateInto(...): Accumulated items must not be null or undefined."):r(null!=n),null==e)return n;var o=Array.isArray(e),i=Array.isArray(n);return o&&i?(e.push.apply(e,n),e):o?(e.push(n),e):i?[e].concat(n):[e,n]}var r=n(11);e.exports=o}).call(t,n(8))},function(e,t){"use strict";var n=function(e,t,n){Array.isArray(e)?e.forEach(t,n):e&&t.call(n,e)};e.exports=n},function(e,t,n){"use strict";function o(e){r.enqueueEvents(e),r.processEventQueue()}var r=n(63),i={handleTopLevel:function(e,t,n,i){var a=r.extractEvents(e,t,n,i);o(a)}};e.exports=i},function(e,t,n){"use strict";var o=n(69),r={currentScrollLeft:0,currentScrollTop:0,refreshScrollValues:function(){var e=o(window);r.currentScrollLeft=e.x,r.currentScrollTop=e.y}};e.exports=r},function(e,t){"use strict";function n(e){return e===window?{x:window.pageXOffset||document.documentElement.scrollLeft,y:window.pageYOffset||document.documentElement.scrollTop}:{x:e.scrollLeft,y:e.scrollTop}}e.exports=n},function(e,t,n){"use strict";/** |
| 4 | * Checks if an event is supported in the current execution environment. |