~maas-committers/maas/2.3

« back to all changes in this revision

Viewing changes to src/maasserver/static/js/bundle/vendor-min.js

  • Committer: deadlight
  • Date: 2018-03-07 09:56:36 UTC
  • Revision ID: git-v1:b0cda2b247fdf4ac3828c196ecfc68cfbc3ac98c
Remove sticky header javascript

Removed instances of the sticky javascript and the source files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
!function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}__webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__webpack_require__.r=function(exports){Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module.default}:function(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=0)}({"./node_modules/fbjs/lib/EventListener.js":function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__("./node_modules/fbjs/lib/emptyFunction.js"),EventListener={listen:function(target,eventType,callback){return target.addEventListener?(target.addEventListener(eventType,callback,!1),{remove:function(){target.removeEventListener(eventType,callback,!1)}}):target.attachEvent?(target.attachEvent("on"+eventType,callback),{remove:function(){target.detachEvent("on"+eventType,callback)}}):void 0},capture:function(target,eventType,callback){return target.addEventListener?(target.addEventListener(eventType,callback,!0),{remove:function(){target.removeEventListener(eventType,callback,!0)}}):(console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:emptyFunction})},registerDefault:function(){}};module.exports=EventListener},"./node_modules/fbjs/lib/ExecutionEnvironment.js":function(module,exports,__webpack_require__){"use strict";var canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),ExecutionEnvironment={canUseDOM:canUseDOM,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:canUseDOM&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:canUseDOM&&!!window.screen,isInWorker:!canUseDOM};module.exports=ExecutionEnvironment},"./node_modules/fbjs/lib/camelize.js":function(module,exports,__webpack_require__){"use strict";var _hyphenPattern=/-(.)/g;module.exports=function(string){return string.replace(_hyphenPattern,function(_,character){return character.toUpperCase()})}},"./node_modules/fbjs/lib/camelizeStyleName.js":function(module,exports,__webpack_require__){"use strict";var camelize=__webpack_require__("./node_modules/fbjs/lib/camelize.js"),msPattern=/^-ms-/;module.exports=function(string){return camelize(string.replace(msPattern,"ms-"))}},"./node_modules/fbjs/lib/containsNode.js":function(module,exports,__webpack_require__){"use strict";var isTextNode=__webpack_require__("./node_modules/fbjs/lib/isTextNode.js");module.exports=function containsNode(outerNode,innerNode){return!(!outerNode||!innerNode)&&(outerNode===innerNode||!isTextNode(outerNode)&&(isTextNode(innerNode)?containsNode(outerNode,innerNode.parentNode):"contains"in outerNode?outerNode.contains(innerNode):!!outerNode.compareDocumentPosition&&!!(16&outerNode.compareDocumentPosition(innerNode))))}},"./node_modules/fbjs/lib/emptyFunction.js":function(module,exports,__webpack_require__){"use strict";function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction=function(){};emptyFunction.thatReturns=makeEmptyFunction,emptyFunction.thatReturnsFalse=makeEmptyFunction(!1),emptyFunction.thatReturnsTrue=makeEmptyFunction(!0),emptyFunction.thatReturnsNull=makeEmptyFunction(null),emptyFunction.thatReturnsThis=function(){return this},emptyFunction.thatReturnsArgument=function(arg){return arg},module.exports=emptyFunction},"./node_modules/fbjs/lib/emptyObject.js":function(module,exports,__webpack_require__){"use strict";var emptyObject={};Object.freeze(emptyObject),module.exports=emptyObject},"./node_modules/fbjs/lib/focusNode.js":function(module,exports,__webpack_require__){"use strict";module.exports=function(node){try{node.focus()}catch(e){}}},"./node_modules/fbjs/lib/getActiveElement.js":function(module,exports,__webpack_require__){"use strict";module.exports=function(doc){if(void 0===(doc=doc||("undefined"!=typeof document?document:void 0)))return null;try{return doc.activeElement||doc.body}catch(e){return doc.body}}},"./node_modules/fbjs/lib/hyphenate.js":function(module,exports,__webpack_require__){"use strict";var _uppercasePattern=/([A-Z])/g;module.exports=function(string){return string.replace(_uppercasePattern,"-$1").toLowerCase()}},"./node_modules/fbjs/lib/hyphenateStyleName.js":function(module,exports,__webpack_require__){"use strict";var hyphenate=__webpack_require__("./node_modules/fbjs/lib/hyphenate.js"),msPattern=/^ms-/;module.exports=function(string){return hyphenate(string).replace(msPattern,"-ms-")}},"./node_modules/fbjs/lib/invariant.js":function(module,exports,__webpack_require__){"use strict";var validateFormat=function(format){};validateFormat=function(format){if(void 0===format)throw new Error("invariant requires an error message argument")},module.exports=function(condition,format,a,b,c,d,e,f){if(validateFormat(format),!condition){var error;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f],argIndex=0;(error=new Error(format.replace(/%s/g,function(){return args[argIndex++]}))).name="Invariant Violation"}throw error.framesToPop=1,error}}},"./node_modules/fbjs/lib/isNode.js":function(module,exports,__webpack_require__){"use strict";module.exports=function(object){var defaultView=(object?object.ownerDocument||object:document).defaultView||window;return!(!object||!("function"==typeof defaultView.Node?object instanceof defaultView.Node:"object"==typeof object&&"number"==typeof object.nodeType&&"string"==typeof object.nodeName))}},"./node_modules/fbjs/lib/isTextNode.js":function(module,exports,__webpack_require__){"use strict";var isNode=__webpack_require__("./node_modules/fbjs/lib/isNode.js");module.exports=function(object){return isNode(object)&&3==object.nodeType}},"./node_modules/fbjs/lib/shallowEqual.js":function(module,exports,__webpack_require__){"use strict";var hasOwnProperty=Object.prototype.hasOwnProperty;function is(x,y){return x===y?0!==x||0!==y||1/x==1/y:x!=x&&y!=y}module.exports=function(objA,objB){if(is(objA,objB))return!0;if("object"!=typeof objA||null===objA||"object"!=typeof objB||null===objB)return!1;var keysA=Object.keys(objA),keysB=Object.keys(objB);if(keysA.length!==keysB.length)return!1;for(var i=0;i<keysA.length;i++)if(!hasOwnProperty.call(objB,keysA[i])||!is(objA[keysA[i]],objB[keysA[i]]))return!1;return!0}},"./node_modules/fbjs/lib/warning.js":function(module,exports,__webpack_require__){"use strict";var warning=__webpack_require__("./node_modules/fbjs/lib/emptyFunction.js");warning=function(condition,format){if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==format.indexOf("Failed Composite propType: ")&&!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];(function(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0,message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!=typeof console&&console.error(message);try{throw new Error(message)}catch(x){}}).apply(void 0,[format].concat(args))}},module.exports=warning},"./node_modules/object-assign/index.js":function(module,exports,__webpack_require__){"use strict";var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;module.exports=function(){try{if(!Object.assign)return!1;var test1=new String("abc");if(test1[5]="de","5"===Object.getOwnPropertyNames(test1)[0])return!1;for(var test2={},i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(test2).map(function(n){return test2[n]}).join(""))return!1;var test3={};return"abcdefghijklmnopqrst".split("").forEach(function(letter){test3[letter]=letter}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},test3)).join("")}catch(err){return!1}}()?Object.assign:function(target,source){for(var from,symbols,to=function(val){if(null===val||void 0===val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}(target),s=1;s<arguments.length;s++){for(var key in from=Object(arguments[s]))hasOwnProperty.call(from,key)&&(to[key]=from[key]);if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from);for(var i=0;i<symbols.length;i++)propIsEnumerable.call(from,symbols[i])&&(to[symbols[i]]=from[symbols[i]])}}return to}},"./node_modules/prop-types/checkPropTypes.js":function(module,exports,__webpack_require__){"use strict";var invariant=__webpack_require__("./node_modules/fbjs/lib/invariant.js"),warning=__webpack_require__("./node_modules/fbjs/lib/warning.js"),ReactPropTypesSecret=__webpack_require__("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),loggedTypeFailures={};module.exports=function(typeSpecs,values,location,componentName,getStack){for(var typeSpecName in typeSpecs)if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{invariant("function"==typeof typeSpecs[typeSpecName],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",componentName||"React class",location,typeSpecName,typeof typeSpecs[typeSpecName]),error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret)}catch(ex){error=ex}if(warning(!error||error instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error),error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=!0;var stack=getStack?getStack():"";warning(!1,"Failed %s type: %s%s",location,error.message,null!=stack?stack:"")}}}},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":function(module,exports,__webpack_require__){"use strict";module.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/react-dom/cjs/react-dom.development.js":function(module,exports,__webpack_require__){"use strict";(function(){var React=__webpack_require__("./node_modules/react/index.js"),invariant=__webpack_require__("./node_modules/fbjs/lib/invariant.js"),warning=__webpack_require__("./node_modules/fbjs/lib/warning.js"),ExecutionEnvironment=__webpack_require__("./node_modules/fbjs/lib/ExecutionEnvironment.js"),_assign=__webpack_require__("./node_modules/object-assign/index.js"),emptyFunction=__webpack_require__("./node_modules/fbjs/lib/emptyFunction.js"),EventListener=__webpack_require__("./node_modules/fbjs/lib/EventListener.js"),getActiveElement=__webpack_require__("./node_modules/fbjs/lib/getActiveElement.js"),shallowEqual=__webpack_require__("./node_modules/fbjs/lib/shallowEqual.js"),containsNode=__webpack_require__("./node_modules/fbjs/lib/containsNode.js"),focusNode=__webpack_require__("./node_modules/fbjs/lib/focusNode.js"),emptyObject=__webpack_require__("./node_modules/fbjs/lib/emptyObject.js"),checkPropTypes=__webpack_require__("./node_modules/prop-types/checkPropTypes.js"),hyphenateStyleName=__webpack_require__("./node_modules/fbjs/lib/hyphenateStyleName.js"),camelizeStyleName=__webpack_require__("./node_modules/fbjs/lib/camelizeStyleName.js");React||invariant(!1,"ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var RESERVED_PROPS={children:!0,dangerouslySetInnerHTML:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,suppressHydrationWarning:!0,style:!0};function checkMask(value,bitmask){return(value&bitmask)===bitmask}var DOMPropertyInjection={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,HAS_STRING_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(domPropertyConfig){var Injection=DOMPropertyInjection,Properties=domPropertyConfig.Properties||{},DOMAttributeNamespaces=domPropertyConfig.DOMAttributeNamespaces||{},DOMAttributeNames=domPropertyConfig.DOMAttributeNames||{},DOMMutationMethods=domPropertyConfig.DOMMutationMethods||{};for(var propName in Properties){properties.hasOwnProperty(propName)&&invariant(!1,"injectDOMPropertyConfig(...): You're trying to inject DOM property '%s' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.",propName);var lowerCased=propName.toLowerCase(),propConfig=Properties[propName],propertyInfo={attributeName:lowerCased,attributeNamespace:null,propertyName:propName,mutationMethod:null,mustUseProperty:checkMask(propConfig,Injection.MUST_USE_PROPERTY),hasBooleanValue:checkMask(propConfig,Injection.HAS_BOOLEAN_VALUE),hasNumericValue:checkMask(propConfig,Injection.HAS_NUMERIC_VALUE),hasPositiveNumericValue:checkMask(propConfig,Injection.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:checkMask(propConfig,Injection.HAS_OVERLOADED_BOOLEAN_VALUE),hasStringBooleanValue:checkMask(propConfig,Injection.HAS_STRING_BOOLEAN_VALUE)};if(propertyInfo.hasBooleanValue+propertyInfo.hasNumericValue+propertyInfo.hasOverloadedBooleanValue<=1||invariant(!1,"DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s",propName),DOMAttributeNames.hasOwnProperty(propName)){var attributeName=DOMAttributeNames[propName];propertyInfo.attributeName=attributeName}DOMAttributeNamespaces.hasOwnProperty(propName)&&(propertyInfo.attributeNamespace=DOMAttributeNamespaces[propName]),DOMMutationMethods.hasOwnProperty(propName)&&(propertyInfo.mutationMethod=DOMMutationMethods[propName]),properties[propName]=propertyInfo}}},ATTRIBUTE_NAME_START_CHAR=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ATTRIBUTE_NAME_CHAR=ATTRIBUTE_NAME_START_CHAR+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ROOT_ATTRIBUTE_NAME="data-reactroot",properties={};function shouldSetAttribute(name,value){if(isReservedProp(name))return!1;if(name.length>2&&("o"===name[0]||"O"===name[0])&&("n"===name[1]||"N"===name[1]))return!1;if(null===value)return!0;switch(typeof value){case"boolean":return shouldAttributeAcceptBooleanValue(name);case"undefined":case"number":case"string":case"object":return!0;default:return!1}}function getPropertyInfo(name){return properties.hasOwnProperty(name)?properties[name]:null}function shouldAttributeAcceptBooleanValue(name){if(isReservedProp(name))return!0;var propertyInfo=getPropertyInfo(name);if(propertyInfo)return propertyInfo.hasBooleanValue||propertyInfo.hasStringBooleanValue||propertyInfo.hasOverloadedBooleanValue;var prefix=name.toLowerCase().slice(0,5);return"data-"===prefix||"aria-"===prefix}function isReservedProp(name){return RESERVED_PROPS.hasOwnProperty(name)}var injection=DOMPropertyInjection,MUST_USE_PROPERTY=injection.MUST_USE_PROPERTY,HAS_BOOLEAN_VALUE=injection.HAS_BOOLEAN_VALUE,HAS_NUMERIC_VALUE=injection.HAS_NUMERIC_VALUE,HAS_POSITIVE_NUMERIC_VALUE=injection.HAS_POSITIVE_NUMERIC_VALUE,HAS_OVERLOADED_BOOLEAN_VALUE=injection.HAS_OVERLOADED_BOOLEAN_VALUE,HAS_STRING_BOOLEAN_VALUE=injection.HAS_STRING_BOOLEAN_VALUE,HTMLDOMPropertyConfig={Properties:{allowFullScreen:HAS_BOOLEAN_VALUE,async:HAS_BOOLEAN_VALUE,autoFocus:HAS_BOOLEAN_VALUE,autoPlay:HAS_BOOLEAN_VALUE,capture:HAS_OVERLOADED_BOOLEAN_VALUE,checked:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,cols:HAS_POSITIVE_NUMERIC_VALUE,contentEditable:HAS_STRING_BOOLEAN_VALUE,controls:HAS_BOOLEAN_VALUE,default:HAS_BOOLEAN_VALUE,defer:HAS_BOOLEAN_VALUE,disabled:HAS_BOOLEAN_VALUE,download:HAS_OVERLOADED_BOOLEAN_VALUE,draggable:HAS_STRING_BOOLEAN_VALUE,formNoValidate:HAS_BOOLEAN_VALUE,hidden:HAS_BOOLEAN_VALUE,loop:HAS_BOOLEAN_VALUE,multiple:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,muted:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,noValidate:HAS_BOOLEAN_VALUE,open:HAS_BOOLEAN_VALUE,playsInline:HAS_BOOLEAN_VALUE,readOnly:HAS_BOOLEAN_VALUE,required:HAS_BOOLEAN_VALUE,reversed:HAS_BOOLEAN_VALUE,rows:HAS_POSITIVE_NUMERIC_VALUE,rowSpan:HAS_NUMERIC_VALUE,scoped:HAS_BOOLEAN_VALUE,seamless:HAS_BOOLEAN_VALUE,selected:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,size:HAS_POSITIVE_NUMERIC_VALUE,start:HAS_NUMERIC_VALUE,span:HAS_POSITIVE_NUMERIC_VALUE,spellCheck:HAS_STRING_BOOLEAN_VALUE,style:0,tabIndex:0,itemScope:HAS_BOOLEAN_VALUE,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:HAS_STRING_BOOLEAN_VALUE},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(node,value){if(null==value)return node.removeAttribute("value");"number"!==node.type||!1===node.hasAttribute("value")?node.setAttribute("value",""+value):node.validity&&!node.validity.badInput&&node.ownerDocument.activeElement!==node&&node.setAttribute("value",""+value)}}},HAS_STRING_BOOLEAN_VALUE$1=injection.HAS_STRING_BOOLEAN_VALUE,NS_xlink="http://www.w3.org/1999/xlink",NS_xml="http://www.w3.org/XML/1998/namespace",SVGDOMPropertyConfig={Properties:{autoReverse:HAS_STRING_BOOLEAN_VALUE$1,externalResourcesRequired:HAS_STRING_BOOLEAN_VALUE$1,preserveAlpha:HAS_STRING_BOOLEAN_VALUE$1},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:NS_xlink,xlinkArcrole:NS_xlink,xlinkHref:NS_xlink,xlinkRole:NS_xlink,xlinkShow:NS_xlink,xlinkTitle:NS_xlink,xlinkType:NS_xlink,xmlBase:NS_xml,xmlLang:NS_xml,xmlSpace:NS_xml}},CAMELIZE=/[\-\:]([a-z])/g,capitalize=function(token){return token[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","x-height","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xmlns:xlink","xml:lang","xml:space"].forEach(function(original){var reactName=original.replace(CAMELIZE,capitalize);SVGDOMPropertyConfig.Properties[reactName]=0,SVGDOMPropertyConfig.DOMAttributeNames[reactName]=original}),injection.injectDOMPropertyConfig(HTMLDOMPropertyConfig),injection.injectDOMPropertyConfig(SVGDOMPropertyConfig);var ReactErrorUtils={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,injection:{injectErrorUtils:function(injectedErrorUtils){"function"!=typeof injectedErrorUtils.invokeGuardedCallback&&invariant(!1,"Injected invokeGuardedCallback() must be a function."),invokeGuardedCallback=injectedErrorUtils.invokeGuardedCallback}},invokeGuardedCallback:function(name,func,context,a,b,c,d,e,f){invokeGuardedCallback.apply(ReactErrorUtils,arguments)},invokeGuardedCallbackAndCatchFirstError:function(name,func,context,a,b,c,d,e,f){if(ReactErrorUtils.invokeGuardedCallback.apply(this,arguments),ReactErrorUtils.hasCaughtError()){var error=ReactErrorUtils.clearCaughtError();ReactErrorUtils._hasRethrowError||(ReactErrorUtils._hasRethrowError=!0,ReactErrorUtils._rethrowError=error)}},rethrowCaughtError:function(){return rethrowCaughtError.apply(ReactErrorUtils,arguments)},hasCaughtError:function(){return ReactErrorUtils._hasCaughtError},clearCaughtError:function(){if(ReactErrorUtils._hasCaughtError){var error=ReactErrorUtils._caughtError;return ReactErrorUtils._caughtError=null,ReactErrorUtils._hasCaughtError=!1,error}invariant(!1,"clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}},invokeGuardedCallback=function(name,func,context,a,b,c,d,e,f){ReactErrorUtils._hasCaughtError=!1,ReactErrorUtils._caughtError=null;var funcArgs=Array.prototype.slice.call(arguments,3);try{func.apply(context,funcArgs)}catch(error){ReactErrorUtils._caughtError=error,ReactErrorUtils._hasCaughtError=!0}};if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var fakeNode=document.createElement("react");invokeGuardedCallback=function(name,func,context,a,b,c,d,e,f){var didError=!0,funcArgs=Array.prototype.slice.call(arguments,3);var error=void 0,didSetError=!1,isCrossOriginError=!1;function onError(event){error=event.error,didSetError=!0,null===error&&0===event.colno&&0===event.lineno&&(isCrossOriginError=!0)}var evtType="react-"+(name||"invokeguardedcallback");window.addEventListener("error",onError),fakeNode.addEventListener(evtType,function callCallback(){fakeNode.removeEventListener(evtType,callCallback,!1),func.apply(context,funcArgs),didError=!1},!1);var evt=document.createEvent("Event");evt.initEvent(evtType,!1,!1),fakeNode.dispatchEvent(evt),didError?(didSetError?isCrossOriginError&&(error=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.")):error=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),ReactErrorUtils._hasCaughtError=!0,ReactErrorUtils._caughtError=error):(ReactErrorUtils._hasCaughtError=!1,ReactErrorUtils._caughtError=null),window.removeEventListener("error",onError)}}var rethrowCaughtError=function(){if(ReactErrorUtils._hasRethrowError){var error=ReactErrorUtils._rethrowError;throw ReactErrorUtils._rethrowError=null,ReactErrorUtils._hasRethrowError=!1,error}},eventPluginOrder=null,namesToPlugins={};function recomputePluginOrdering(){if(eventPluginOrder)for(var pluginName in namesToPlugins){var pluginModule=namesToPlugins[pluginName],pluginIndex=eventPluginOrder.indexOf(pluginName);if(pluginIndex>-1||invariant(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",pluginName),!plugins[pluginIndex]){pluginModule.extractEvents||invariant(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",pluginName),plugins[pluginIndex]=pluginModule;var publishedEvents=pluginModule.eventTypes;for(var eventName in publishedEvents)publishEventForPlugin(publishedEvents[eventName],pluginModule,eventName)||invariant(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",eventName,pluginName)}}}function publishEventForPlugin(dispatchConfig,pluginModule,eventName){eventNameDispatchConfigs.hasOwnProperty(eventName)&&invariant(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",eventName),eventNameDispatchConfigs[eventName]=dispatchConfig;var phasedRegistrationNames=dispatchConfig.phasedRegistrationNames;if(phasedRegistrationNames){for(var phaseName in phasedRegistrationNames){if(phasedRegistrationNames.hasOwnProperty(phaseName))publishRegistrationName(phasedRegistrationNames[phaseName],pluginModule,eventName)}return!0}return!!dispatchConfig.registrationName&&(publishRegistrationName(dispatchConfig.registrationName,pluginModule,eventName),!0)}function publishRegistrationName(registrationName,pluginModule,eventName){registrationNameModules[registrationName]&&invariant(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",registrationName),registrationNameModules[registrationName]=pluginModule,registrationNameDependencies[registrationName]=pluginModule.eventTypes[eventName].dependencies;var lowerCasedName=registrationName.toLowerCase();possibleRegistrationNames[lowerCasedName]=registrationName,"onDoubleClick"===registrationName&&(possibleRegistrationNames.ondblclick=registrationName)}var plugins=[],eventNameDispatchConfigs={},registrationNameModules={},registrationNameDependencies={},possibleRegistrationNames={};function injectEventPluginOrder(injectedEventPluginOrder){eventPluginOrder&&invariant(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."),eventPluginOrder=Array.prototype.slice.call(injectedEventPluginOrder),recomputePluginOrdering()}function injectEventPluginsByName(injectedNamesToPlugins){var isOrderingDirty=!1;for(var pluginName in injectedNamesToPlugins)if(injectedNamesToPlugins.hasOwnProperty(pluginName)){var pluginModule=injectedNamesToPlugins[pluginName];namesToPlugins.hasOwnProperty(pluginName)&&namesToPlugins[pluginName]===pluginModule||(namesToPlugins[pluginName]&&invariant(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",pluginName),namesToPlugins[pluginName]=pluginModule,isOrderingDirty=!0)}isOrderingDirty&&recomputePluginOrdering()}var validateEventDispatches,EventPluginRegistry=Object.freeze({plugins:plugins,eventNameDispatchConfigs:eventNameDispatchConfigs,registrationNameModules:registrationNameModules,registrationNameDependencies:registrationNameDependencies,possibleRegistrationNames:possibleRegistrationNames,injectEventPluginOrder:injectEventPluginOrder,injectEventPluginsByName:injectEventPluginsByName}),getFiberCurrentPropsFromNode=null,getInstanceFromNode=null,getNodeFromInstance=null,injection$__injectComponentTree=function(Injected){getFiberCurrentPropsFromNode=Injected.getFiberCurrentPropsFromNode,getInstanceFromNode=Injected.getInstanceFromNode,getNodeFromInstance=Injected.getNodeFromInstance,warning(getNodeFromInstance&&getInstanceFromNode,"EventPluginUtils.injection.injectComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode.")};function executeDispatch(event,simulated,listener,inst){var type=event.type||"unknown-event";event.currentTarget=getNodeFromInstance(inst),ReactErrorUtils.invokeGuardedCallbackAndCatchFirstError(type,listener,void 0,event),event.currentTarget=null}function accumulateInto(current,next){return null==next&&invariant(!1,"accumulateInto(...): Accumulated items must not be null or undefined."),null==current?next:Array.isArray(current)?Array.isArray(next)?(current.push.apply(current,next),current):(current.push(next),current):Array.isArray(next)?[current].concat(next):[current,next]}function forEachAccumulated(arr,cb,scope){Array.isArray(arr)?arr.forEach(cb,scope):arr&&cb.call(scope,arr)}validateEventDispatches=function(event){var dispatchListeners=event._dispatchListeners,dispatchInstances=event._dispatchInstances,listenersIsArr=Array.isArray(dispatchListeners),listenersLen=listenersIsArr?dispatchListeners.length:dispatchListeners?1:0,instancesIsArr=Array.isArray(dispatchInstances),instancesLen=instancesIsArr?dispatchInstances.length:dispatchInstances?1:0;warning(instancesIsArr===listenersIsArr&&instancesLen===listenersLen,"EventPluginUtils: Invalid `event`.")};var eventQueue=null,executeDispatchesAndRelease=function(event,simulated){event&&(!function(event,simulated){var dispatchListeners=event._dispatchListeners,dispatchInstances=event._dispatchInstances;if(validateEventDispatches(event),Array.isArray(dispatchListeners))for(var i=0;i<dispatchListeners.length&&!event.isPropagationStopped();i++)executeDispatch(event,0,dispatchListeners[i],dispatchInstances[i]);else dispatchListeners&&executeDispatch(event,0,dispatchListeners,dispatchInstances);event._dispatchListeners=null,event._dispatchInstances=null}(event),event.isPersistent()||event.constructor.release(event))},executeDispatchesAndReleaseSimulated=function(e){return executeDispatchesAndRelease(e)},executeDispatchesAndReleaseTopLevel=function(e){return executeDispatchesAndRelease(e)};var injection$1={injectEventPluginOrder:injectEventPluginOrder,injectEventPluginsByName:injectEventPluginsByName};function getListener(inst,registrationName){var listener,stateNode=inst.stateNode;if(!stateNode)return null;var props=getFiberCurrentPropsFromNode(stateNode);return props?(listener=props[registrationName],function(name,type,props){switch(name){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!props.disabled||(tag=type,"button"!==tag&&"input"!==tag&&"select"!==tag&&"textarea"!==tag));default:return!1}var tag}(registrationName,inst.type,props)?null:(listener&&"function"!=typeof listener&&invariant(!1,"Expected `%s` listener to be a function, instead got a value of `%s` type.",registrationName,typeof listener),listener)):null}function extractEvents(topLevelType,targetInst,nativeEvent,nativeEventTarget){for(var events,i=0;i<plugins.length;i++){var possiblePlugin=plugins[i];if(possiblePlugin){var extractedEvents=possiblePlugin.extractEvents(topLevelType,targetInst,nativeEvent,nativeEventTarget);extractedEvents&&(events=accumulateInto(events,extractedEvents))}}return events}function enqueueEvents(events){events&&(eventQueue=accumulateInto(eventQueue,events))}function processEventQueue(simulated){var processingEventQueue=eventQueue;eventQueue=null,processingEventQueue&&(forEachAccumulated(processingEventQueue,simulated?executeDispatchesAndReleaseSimulated:executeDispatchesAndReleaseTopLevel),eventQueue&&invariant(!1,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."),ReactErrorUtils.rethrowCaughtError())}var EventPluginHub=Object.freeze({injection:injection$1,getListener:getListener,extractEvents:extractEvents,enqueueEvents:enqueueEvents,processEventQueue:processEventQueue}),IndeterminateComponent=0,FunctionalComponent=1,ClassComponent=2,HostRoot=3,HostPortal=4,HostComponent=5,HostText=6,CallComponent=7,CallHandlerPhase=8,ReturnComponent=9,Fragment=10,randomKey=Math.random().toString(36).slice(2),internalInstanceKey="__reactInternalInstance$"+randomKey,internalEventHandlersKey="__reactEventHandlers$"+randomKey;function precacheFiberNode$1(hostInst,node){node[internalInstanceKey]=hostInst}function getClosestInstanceFromNode(node){if(node[internalInstanceKey])return node[internalInstanceKey];for(var parents=[];!node[internalInstanceKey];){if(parents.push(node),!node.parentNode)return null;node=node.parentNode}var closest=void 0,inst=node[internalInstanceKey];if(inst.tag===HostComponent||inst.tag===HostText)return inst;for(;node&&(inst=node[internalInstanceKey]);node=parents.pop())closest=inst;return closest}function getInstanceFromNode$1(node){var inst=node[internalInstanceKey];return inst&&(inst.tag===HostComponent||inst.tag===HostText)?inst:null}function getNodeFromInstance$1(inst){if(inst.tag===HostComponent||inst.tag===HostText)return inst.stateNode;invariant(!1,"getNodeFromInstance: Invalid argument.")}function getFiberCurrentPropsFromNode$1(node){return node[internalEventHandlersKey]||null}function updateFiberProps$1(node,props){node[internalEventHandlersKey]=props}var ReactDOMComponentTree=Object.freeze({precacheFiberNode:precacheFiberNode$1,getClosestInstanceFromNode:getClosestInstanceFromNode,getInstanceFromNode:getInstanceFromNode$1,getNodeFromInstance:getNodeFromInstance$1,getFiberCurrentPropsFromNode:getFiberCurrentPropsFromNode$1,updateFiberProps:updateFiberProps$1});function getParent(inst){do{inst=inst.return}while(inst&&inst.tag!==HostComponent);return inst||null}function traverseTwoPhase(inst,fn,arg){for(var i,path=[];inst;)path.push(inst),inst=getParent(inst);for(i=path.length;i-- >0;)fn(path[i],"captured",arg);for(i=0;i<path.length;i++)fn(path[i],"bubbled",arg)}function traverseEnterLeave(from,to,fn,argFrom,argTo){for(var common=from&&to?function(instA,instB){for(var depthA=0,tempA=instA;tempA;tempA=getParent(tempA))depthA++;for(var depthB=0,tempB=instB;tempB;tempB=getParent(tempB))depthB++;for(;depthA-depthB>0;)instA=getParent(instA),depthA--;for(;depthB-depthA>0;)instB=getParent(instB),depthB--;for(var depth=depthA;depth--;){if(instA===instB||instA===instB.alternate)return instA;instA=getParent(instA),instB=getParent(instB)}return null}(from,to):null,pathFrom=[];from&&from!==common;){var alternate=from.alternate;if(null!==alternate&&alternate===common)break;pathFrom.push(from),from=getParent(from)}for(var pathTo=[];to&&to!==common;){var _alternate=to.alternate;if(null!==_alternate&&_alternate===common)break;pathTo.push(to),to=getParent(to)}for(var i=0;i<pathFrom.length;i++)fn(pathFrom[i],"bubbled",argFrom);for(var _i=pathTo.length;_i-- >0;)fn(pathTo[_i],"captured",argTo)}function accumulateDirectionalDispatches(inst,phase,event){warning(inst,"Dispatching inst must not be null");var listener=function(inst,event,propagationPhase){return getListener(inst,event.dispatchConfig.phasedRegistrationNames[propagationPhase])}(inst,event,phase);listener&&(event._dispatchListeners=accumulateInto(event._dispatchListeners,listener),event._dispatchInstances=accumulateInto(event._dispatchInstances,inst))}function accumulateTwoPhaseDispatchesSingle(event){event&&event.dispatchConfig.phasedRegistrationNames&&traverseTwoPhase(event._targetInst,accumulateDirectionalDispatches,event)}function accumulateTwoPhaseDispatchesSingleSkipTarget(event){if(event&&event.dispatchConfig.phasedRegistrationNames){var targetInst=event._targetInst;traverseTwoPhase(targetInst?getParent(targetInst):null,accumulateDirectionalDispatches,event)}}function accumulateDispatches(inst,ignoredDirection,event){if(inst&&event&&event.dispatchConfig.registrationName){var listener=getListener(inst,event.dispatchConfig.registrationName);listener&&(event._dispatchListeners=accumulateInto(event._dispatchListeners,listener),event._dispatchInstances=accumulateInto(event._dispatchInstances,inst))}}function accumulateDirectDispatchesSingle(event){event&&event.dispatchConfig.registrationName&&accumulateDispatches(event._targetInst,0,event)}function accumulateTwoPhaseDispatches(events){forEachAccumulated(events,accumulateTwoPhaseDispatchesSingle)}function accumulateEnterLeaveDispatches(leave,enter,from,to){traverseEnterLeave(from,to,accumulateDispatches,leave,enter)}var EventPropagators=Object.freeze({accumulateTwoPhaseDispatches:accumulateTwoPhaseDispatches,accumulateTwoPhaseDispatchesSkipTarget:function(events){forEachAccumulated(events,accumulateTwoPhaseDispatchesSingleSkipTarget)},accumulateEnterLeaveDispatches:accumulateEnterLeaveDispatches,accumulateDirectDispatches:function(events){forEachAccumulated(events,accumulateDirectDispatchesSingle)}}),contentKey=null;function getTextContentAccessor(){return!contentKey&&ExecutionEnvironment.canUseDOM&&(contentKey="textContent"in document.documentElement?"textContent":"innerText"),contentKey}var compositionState={_root:null,_startText:null,_fallbackText:null};function getData(){if(compositionState._fallbackText)return compositionState._fallbackText;var start,end,startValue=compositionState._startText,startLength=startValue.length,endValue=getText(),endLength=endValue.length;for(start=0;start<startLength&&startValue[start]===endValue[start];start++);var minEnd=startLength-start;for(end=1;end<=minEnd&&startValue[startLength-end]===endValue[endLength-end];end++);var sliceTail=end>1?1-end:void 0;return compositionState._fallbackText=endValue.slice(start,sliceTail),compositionState._fallbackText}function getText(){return"value"in compositionState._root?compositionState._root.value:compositionState._root[getTextContentAccessor()]}var didWarnForAddedNewProperty=!1,isProxySupported="function"==typeof Proxy,EVENT_POOL_SIZE=10,shouldBeReleasedProperties=["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"],EventInterface={type:null,target:null,currentTarget:emptyFunction.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(event){return event.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function SyntheticEvent(dispatchConfig,targetInst,nativeEvent,nativeEventTarget){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,this.dispatchConfig=dispatchConfig,this._targetInst=targetInst,this.nativeEvent=nativeEvent;var Interface=this.constructor.Interface;for(var propName in Interface)if(Interface.hasOwnProperty(propName)){delete this[propName];var normalize=Interface[propName];normalize?this[propName]=normalize(nativeEvent):"target"===propName?this.target=nativeEventTarget:this[propName]=nativeEvent[propName]}var defaultPrevented=null!=nativeEvent.defaultPrevented?nativeEvent.defaultPrevented:!1===nativeEvent.returnValue;return this.isDefaultPrevented=defaultPrevented?emptyFunction.thatReturnsTrue:emptyFunction.thatReturnsFalse,this.isPropagationStopped=emptyFunction.thatReturnsFalse,this}function getPooledWarningPropertyDefinition(propName,getVal){var isFunction="function"==typeof getVal;return{configurable:!0,set:function(val){return warn(isFunction?"setting the method":"setting the property","This is effectively a no-op"),val},get:function(){return warn(isFunction?"accessing the method":"accessing the property",isFunction?"This is a no-op function":"This is set to null"),getVal}};function warn(action,result){warning(!1,"This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",action,propName,result)}}function getPooledEvent(dispatchConfig,targetInst,nativeEvent,nativeInst){if(this.eventPool.length){var instance=this.eventPool.pop();return this.call(instance,dispatchConfig,targetInst,nativeEvent,nativeInst),instance}return new this(dispatchConfig,targetInst,nativeEvent,nativeInst)}function releasePooledEvent(event){event instanceof this||invariant(!1,"Trying to release an event instance  into a pool of a different type."),event.destructor(),this.eventPool.length<EVENT_POOL_SIZE&&this.eventPool.push(event)}function addEventPoolingTo(EventConstructor){EventConstructor.eventPool=[],EventConstructor.getPooled=getPooledEvent,EventConstructor.release=releasePooledEvent}_assign(SyntheticEvent.prototype,{preventDefault:function(){this.defaultPrevented=!0;var event=this.nativeEvent;event&&(event.preventDefault?event.preventDefault():"unknown"!=typeof event.returnValue&&(event.returnValue=!1),this.isDefaultPrevented=emptyFunction.thatReturnsTrue)},stopPropagation:function(){var event=this.nativeEvent;event&&(event.stopPropagation?event.stopPropagation():"unknown"!=typeof event.cancelBubble&&(event.cancelBubble=!0),this.isPropagationStopped=emptyFunction.thatReturnsTrue)},persist:function(){this.isPersistent=emptyFunction.thatReturnsTrue},isPersistent:emptyFunction.thatReturnsFalse,destructor:function(){var Interface=this.constructor.Interface;for(var propName in Interface)Object.defineProperty(this,propName,getPooledWarningPropertyDefinition(propName,Interface[propName]));for(var i=0;i<shouldBeReleasedProperties.length;i++)this[shouldBeReleasedProperties[i]]=null;Object.defineProperty(this,"nativeEvent",getPooledWarningPropertyDefinition("nativeEvent",null)),Object.defineProperty(this,"preventDefault",getPooledWarningPropertyDefinition("preventDefault",emptyFunction)),Object.defineProperty(this,"stopPropagation",getPooledWarningPropertyDefinition("stopPropagation",emptyFunction))}}),SyntheticEvent.Interface=EventInterface,SyntheticEvent.augmentClass=function(Class,Interface){var E=function(){};E.prototype=this.prototype;var prototype=new E;_assign(prototype,Class.prototype),Class.prototype=prototype,Class.prototype.constructor=Class,Class.Interface=_assign({},this.Interface,Interface),Class.augmentClass=this.augmentClass,addEventPoolingTo(Class)},isProxySupported&&(SyntheticEvent=new Proxy(SyntheticEvent,{construct:function(target,args){return this.apply(target,Object.create(target.prototype),args)},apply:function(constructor,that,args){return new Proxy(constructor.apply(that,args),{set:function(target,prop,value){return"isPersistent"===prop||target.constructor.Interface.hasOwnProperty(prop)||-1!==shouldBeReleasedProperties.indexOf(prop)||(warning(didWarnForAddedNewProperty||target.isPersistent(),"This synthetic event is reused for performance reasons. If you're seeing this, you're adding a new property in the synthetic event object. The property is never released. See https://fb.me/react-event-pooling for more information."),didWarnForAddedNewProperty=!0),target[prop]=value,!0}})}})),addEventPoolingTo(SyntheticEvent);var SyntheticEvent$1=SyntheticEvent;function SyntheticCompositionEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticEvent$1.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticEvent$1.augmentClass(SyntheticCompositionEvent,{data:null});function SyntheticInputEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticEvent$1.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticEvent$1.augmentClass(SyntheticInputEvent,{data:null});var END_KEYCODES=[9,13,27,32],START_KEYCODE=229,canUseCompositionEvent=ExecutionEnvironment.canUseDOM&&"CompositionEvent"in window,documentMode=null;ExecutionEnvironment.canUseDOM&&"documentMode"in document&&(documentMode=document.documentMode);var opera,canUseTextInputEvent=ExecutionEnvironment.canUseDOM&&"TextEvent"in window&&!documentMode&&!("object"==typeof(opera=window.opera)&&"function"==typeof opera.version&&parseInt(opera.version(),10)<=12),useFallbackCompositionData=ExecutionEnvironment.canUseDOM&&(!canUseCompositionEvent||documentMode&&documentMode>8&&documentMode<=11);var SPACEBAR_CODE=32,SPACEBAR_CHAR=String.fromCharCode(SPACEBAR_CODE),eventTypes={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},hasSpaceKeypress=!1;function isFallbackCompositionEnd(topLevelType,nativeEvent){switch(topLevelType){case"topKeyUp":return-1!==END_KEYCODES.indexOf(nativeEvent.keyCode);case"topKeyDown":return nativeEvent.keyCode!==START_KEYCODE;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function getDataFromCustomEvent(nativeEvent){var detail=nativeEvent.detail;return"object"==typeof detail&&"data"in detail?detail.data:null}var isComposing=!1;function extractCompositionEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget){var eventType,fallbackData;if(canUseCompositionEvent?eventType=function(topLevelType){switch(topLevelType){case"topCompositionStart":return eventTypes.compositionStart;case"topCompositionEnd":return eventTypes.compositionEnd;case"topCompositionUpdate":return eventTypes.compositionUpdate}}(topLevelType):isComposing?isFallbackCompositionEnd(topLevelType,nativeEvent)&&(eventType=eventTypes.compositionEnd):function(topLevelType,nativeEvent){return"topKeyDown"===topLevelType&&nativeEvent.keyCode===START_KEYCODE}(topLevelType,nativeEvent)&&(eventType=eventTypes.compositionStart),!eventType)return null;useFallbackCompositionData&&(isComposing||eventType!==eventTypes.compositionStart?eventType===eventTypes.compositionEnd&&isComposing&&(fallbackData=getData()):isComposing=function(nativeEventTarget){return compositionState._root=nativeEventTarget,compositionState._startText=getText(),!0}(nativeEventTarget));var event=SyntheticCompositionEvent.getPooled(eventType,targetInst,nativeEvent,nativeEventTarget);if(fallbackData)event.data=fallbackData;else{var customData=getDataFromCustomEvent(nativeEvent);null!==customData&&(event.data=customData)}return accumulateTwoPhaseDispatches(event),event}function getFallbackBeforeInputChars(topLevelType,nativeEvent){if(isComposing){if("topCompositionEnd"===topLevelType||!canUseCompositionEvent&&isFallbackCompositionEnd(topLevelType,nativeEvent)){var chars=getData();return compositionState._root=null,compositionState._startText=null,compositionState._fallbackText=null,isComposing=!1,chars}return null}switch(topLevelType){case"topPaste":return null;case"topKeyPress":if(!function(nativeEvent){return(nativeEvent.ctrlKey||nativeEvent.altKey||nativeEvent.metaKey)&&!(nativeEvent.ctrlKey&&nativeEvent.altKey)}(nativeEvent)){if(nativeEvent.char&&nativeEvent.char.length>1)return nativeEvent.char;if(nativeEvent.which)return String.fromCharCode(nativeEvent.which)}return null;case"topCompositionEnd":return useFallbackCompositionData?null:nativeEvent.data;default:return null}}function extractBeforeInputEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget){var chars;if(!(chars=canUseTextInputEvent?function(topLevelType,nativeEvent){switch(topLevelType){case"topCompositionEnd":return getDataFromCustomEvent(nativeEvent);case"topKeyPress":return nativeEvent.which!==SPACEBAR_CODE?null:(hasSpaceKeypress=!0,SPACEBAR_CHAR);case"topTextInput":var chars=nativeEvent.data;return chars===SPACEBAR_CHAR&&hasSpaceKeypress?null:chars;default:return null}}(topLevelType,nativeEvent):getFallbackBeforeInputChars(topLevelType,nativeEvent)))return null;var event=SyntheticInputEvent.getPooled(eventTypes.beforeInput,targetInst,nativeEvent,nativeEventTarget);return event.data=chars,accumulateTwoPhaseDispatches(event),event}var BeforeInputEventPlugin={eventTypes:eventTypes,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){return[extractCompositionEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget),extractBeforeInputEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget)]}},fiberHostComponent=null,restoreTarget=null,restoreQueue=null;function restoreStateOfTarget(target){var internalInstance=getInstanceFromNode(target);if(internalInstance){fiberHostComponent&&"function"==typeof fiberHostComponent.restoreControlledState||invariant(!1,"Fiber needs to be injected to handle a fiber target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var props=getFiberCurrentPropsFromNode(internalInstance.stateNode);fiberHostComponent.restoreControlledState(internalInstance.stateNode,internalInstance.type,props)}}var injection$3={injectFiberControlledHostComponent:function(hostComponentImpl){fiberHostComponent=hostComponentImpl}};function enqueueStateRestore(target){restoreTarget?restoreQueue?restoreQueue.push(target):restoreQueue=[target]:restoreTarget=target}function restoreStateIfNeeded(){if(restoreTarget){var target=restoreTarget,queuedTargets=restoreQueue;if(restoreTarget=null,restoreQueue=null,restoreStateOfTarget(target),queuedTargets)for(var i=0;i<queuedTargets.length;i++)restoreStateOfTarget(queuedTargets[i])}}var ReactControlledComponent=Object.freeze({injection:injection$3,enqueueStateRestore:enqueueStateRestore,restoreStateIfNeeded:restoreStateIfNeeded}),fiberBatchedUpdates=function(fn,bookkeeping){return fn(bookkeeping)},isNestingBatched=!1;function batchedUpdates(fn,bookkeeping){if(isNestingBatched)return fiberBatchedUpdates(fn,bookkeeping);isNestingBatched=!0;try{return fiberBatchedUpdates(fn,bookkeeping)}finally{isNestingBatched=!1,restoreStateIfNeeded()}}var injection$4={injectFiberBatchedUpdates:function(_batchedUpdates){fiberBatchedUpdates=_batchedUpdates}},supportedInputTypes={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function isTextInputElement(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return"input"===nodeName?!!supportedInputTypes[elem.type]:"textarea"===nodeName}var useHasFeature,ELEMENT_NODE=1,TEXT_NODE=3,COMMENT_NODE=8,DOCUMENT_NODE=9,DOCUMENT_FRAGMENT_NODE=11;function getEventTarget(nativeEvent){var target=nativeEvent.target||nativeEvent.srcElement||window;return target.correspondingUseElement&&(target=target.correspondingUseElement),target.nodeType===TEXT_NODE?target.parentNode:target}function isEventSupported(eventNameSuffix,capture){if(!ExecutionEnvironment.canUseDOM||capture&&!("addEventListener"in document))return!1;var eventName="on"+eventNameSuffix,isSupported=eventName in document;if(!isSupported){var element=document.createElement("div");element.setAttribute(eventName,"return;"),isSupported="function"==typeof element[eventName]}return!isSupported&&useHasFeature&&"wheel"===eventNameSuffix&&(isSupported=document.implementation.hasFeature("Events.wheel","3.0")),isSupported}function isCheckable(elem){var type=elem.type,nodeName=elem.nodeName;return nodeName&&"input"===nodeName.toLowerCase()&&("checkbox"===type||"radio"===type)}function getTracker(node){return node._valueTracker}function track(node){getTracker(node)||(node._valueTracker=function(node){var valueField=isCheckable(node)?"checked":"value",descriptor=Object.getOwnPropertyDescriptor(node.constructor.prototype,valueField),currentValue=""+node[valueField];if(!node.hasOwnProperty(valueField)&&"function"==typeof descriptor.get&&"function"==typeof descriptor.set)return Object.defineProperty(node,valueField,{enumerable:descriptor.enumerable,configurable:!0,get:function(){return descriptor.get.call(this)},set:function(value){currentValue=""+value,descriptor.set.call(this,value)}}),{getValue:function(){return currentValue},setValue:function(value){currentValue=""+value},stopTracking:function(){!function(node){node._valueTracker=null}(node),delete node[valueField]}}}(node))}function updateValueIfChanged(node){if(!node)return!1;var tracker=getTracker(node);if(!tracker)return!0;var lastValue=tracker.getValue(),nextValue=function(node){var value="";return node?value=isCheckable(node)?node.checked?"true":"false":node.value:value}(node);return nextValue!==lastValue&&(tracker.setValue(nextValue),!0)}ExecutionEnvironment.canUseDOM&&(useHasFeature=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var eventTypes$1={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}};function createAndAccumulateChangeEvent(inst,nativeEvent,target){var event=SyntheticEvent$1.getPooled(eventTypes$1.change,inst,nativeEvent,target);return event.type="change",enqueueStateRestore(target),accumulateTwoPhaseDispatches(event),event}var activeElement=null,activeElementInst=null;function runEventInBatch(event){enqueueEvents(event),processEventQueue(!1)}function getInstIfValueChanged(targetInst){if(updateValueIfChanged(getNodeFromInstance$1(targetInst)))return targetInst}function getTargetInstForChangeEvent(topLevelType,targetInst){if("topChange"===topLevelType)return targetInst}var isInputEventSupported=!1;function stopWatchingForValueChange(){activeElement&&(activeElement.detachEvent("onpropertychange",handlePropertyChange),activeElement=null,activeElementInst=null)}function handlePropertyChange(nativeEvent){"value"===nativeEvent.propertyName&&getInstIfValueChanged(activeElementInst)&&function(nativeEvent){batchedUpdates(runEventInBatch,createAndAccumulateChangeEvent(activeElementInst,nativeEvent,getEventTarget(nativeEvent)))}(nativeEvent)}function handleEventsForInputEventPolyfill(topLevelType,target,targetInst){"topFocus"===topLevelType?(stopWatchingForValueChange(),function(target,targetInst){activeElementInst=targetInst,(activeElement=target).attachEvent("onpropertychange",handlePropertyChange)}(target,targetInst)):"topBlur"===topLevelType&&stopWatchingForValueChange()}function getTargetInstForInputEventPolyfill(topLevelType,targetInst){if("topSelectionChange"===topLevelType||"topKeyUp"===topLevelType||"topKeyDown"===topLevelType)return getInstIfValueChanged(activeElementInst)}function getTargetInstForClickEvent(topLevelType,targetInst){if("topClick"===topLevelType)return getInstIfValueChanged(targetInst)}function getTargetInstForInputOrChangeEvent(topLevelType,targetInst){if("topInput"===topLevelType||"topChange"===topLevelType)return getInstIfValueChanged(targetInst)}ExecutionEnvironment.canUseDOM&&(isInputEventSupported=isEventSupported("input")&&(!document.documentMode||document.documentMode>9));var ChangeEventPlugin={eventTypes:eventTypes$1,_isInputEventSupported:isInputEventSupported,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var getTargetInstFunc,handleEventFunc,elem,nodeName,targetNode=targetInst?getNodeFromInstance$1(targetInst):window;if("select"===(nodeName=(elem=targetNode).nodeName&&elem.nodeName.toLowerCase())||"input"===nodeName&&"file"===elem.type?getTargetInstFunc=getTargetInstForChangeEvent:isTextInputElement(targetNode)?isInputEventSupported?getTargetInstFunc=getTargetInstForInputOrChangeEvent:(getTargetInstFunc=getTargetInstForInputEventPolyfill,handleEventFunc=handleEventsForInputEventPolyfill):function(elem){var nodeName=elem.nodeName;return nodeName&&"input"===nodeName.toLowerCase()&&("checkbox"===elem.type||"radio"===elem.type)}(targetNode)&&(getTargetInstFunc=getTargetInstForClickEvent),getTargetInstFunc){var inst=getTargetInstFunc(topLevelType,targetInst);if(inst)return createAndAccumulateChangeEvent(inst,nativeEvent,nativeEventTarget)}handleEventFunc&&handleEventFunc(topLevelType,targetNode,targetInst),"topBlur"===topLevelType&&function(inst,node){if(null!=inst){var state=inst._wrapperState||node._wrapperState;if(state&&state.controlled&&"number"===node.type){var value=""+node.value;node.getAttribute("value")!==value&&node.setAttribute("value",value)}}}(targetInst,targetNode)}};function SyntheticUIEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticEvent$1.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticEvent$1.augmentClass(SyntheticUIEvent,{view:null,detail:null});var modifierKeyToProp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function modifierStateGetter(keyArg){var nativeEvent=this.nativeEvent;if(nativeEvent.getModifierState)return nativeEvent.getModifierState(keyArg);var keyProp=modifierKeyToProp[keyArg];return!!keyProp&&!!nativeEvent[keyProp]}function getEventModifierState(nativeEvent){return modifierStateGetter}var MouseEventInterface={screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:getEventModifierState,button:null,buttons:null,relatedTarget:function(event){return event.relatedTarget||(event.fromElement===event.srcElement?event.toElement:event.fromElement)}};function SyntheticMouseEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticUIEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticUIEvent.augmentClass(SyntheticMouseEvent,MouseEventInterface);var eventTypes$2={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},EnterLeaveEventPlugin={eventTypes:eventTypes$2,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){if("topMouseOver"===topLevelType&&(nativeEvent.relatedTarget||nativeEvent.fromElement))return null;if("topMouseOut"!==topLevelType&&"topMouseOver"!==topLevelType)return null;var win,from,to;if(nativeEventTarget.window===nativeEventTarget)win=nativeEventTarget;else{var doc=nativeEventTarget.ownerDocument;win=doc?doc.defaultView||doc.parentWindow:window}if("topMouseOut"===topLevelType){from=targetInst;var related=nativeEvent.relatedTarget||nativeEvent.toElement;to=related?getClosestInstanceFromNode(related):null}else from=null,to=targetInst;if(from===to)return null;var fromNode=null==from?win:getNodeFromInstance$1(from),toNode=null==to?win:getNodeFromInstance$1(to),leave=SyntheticMouseEvent.getPooled(eventTypes$2.mouseLeave,from,nativeEvent,nativeEventTarget);leave.type="mouseleave",leave.target=fromNode,leave.relatedTarget=toNode;var enter=SyntheticMouseEvent.getPooled(eventTypes$2.mouseEnter,to,nativeEvent,nativeEventTarget);return enter.type="mouseenter",enter.target=toNode,enter.relatedTarget=fromNode,accumulateEnterLeaveDispatches(leave,enter,from,to),[leave,enter]}};function get(key){return key._reactInternalFiber}var ReactInternals=React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ReactCurrentOwner=ReactInternals.ReactCurrentOwner,ReactDebugCurrentFrame=ReactInternals.ReactDebugCurrentFrame;function getComponentName(fiber){var type=fiber.type;return"string"==typeof type?type:"function"==typeof type?type.displayName||type.name:null}var NoEffect=0,PerformedWork=1,Placement=2,Update=4,PlacementAndUpdate=6,Deletion=8,ContentReset=16,Callback=32,Err=64,Ref=128,MOUNTING=1,MOUNTED=2,UNMOUNTED=3;function isFiberMountedImpl(fiber){var node=fiber;if(fiber.alternate)for(;node.return;)node=node.return;else{if((node.effectTag&Placement)!==NoEffect)return MOUNTING;for(;node.return;)if(((node=node.return).effectTag&Placement)!==NoEffect)return MOUNTING}return node.tag===HostRoot?MOUNTED:UNMOUNTED}function isFiberMounted(fiber){return isFiberMountedImpl(fiber)===MOUNTED}function isMounted(component){var owner=ReactCurrentOwner.current;if(null!==owner&&owner.tag===ClassComponent){var ownerFiber=owner,instance=ownerFiber.stateNode;warning(instance._warnedAboutRefsInRender,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",getComponentName(ownerFiber)||"A component"),instance._warnedAboutRefsInRender=!0}var fiber=get(component);return!!fiber&&isFiberMountedImpl(fiber)===MOUNTED}function assertIsMounted(fiber){isFiberMountedImpl(fiber)!==MOUNTED&&invariant(!1,"Unable to find node on an unmounted component.")}function findCurrentFiberUsingSlowPath(fiber){var alternate=fiber.alternate;if(!alternate){var state=isFiberMountedImpl(fiber);return state===UNMOUNTED&&invariant(!1,"Unable to find node on an unmounted component."),state===MOUNTING?null:fiber}for(var a=fiber,b=alternate;;){var parentA=a.return,parentB=parentA?parentA.alternate:null;if(!parentA||!parentB)break;if(parentA.child===parentB.child){for(var child=parentA.child;child;){if(child===a)return assertIsMounted(parentA),fiber;if(child===b)return assertIsMounted(parentA),alternate;child=child.sibling}invariant(!1,"Unable to find node on an unmounted component.")}if(a.return!==b.return)a=parentA,b=parentB;else{for(var didFindChild=!1,_child=parentA.child;_child;){if(_child===a){didFindChild=!0,a=parentA,b=parentB;break}if(_child===b){didFindChild=!0,b=parentA,a=parentB;break}_child=_child.sibling}if(!didFindChild){for(_child=parentB.child;_child;){if(_child===a){didFindChild=!0,a=parentB,b=parentA;break}if(_child===b){didFindChild=!0,b=parentB,a=parentA;break}_child=_child.sibling}didFindChild||invariant(!1,"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}a.alternate!==b&&invariant(!1,"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}return a.tag!==HostRoot&&invariant(!1,"Unable to find node on an unmounted component."),a.stateNode.current===a?fiber:alternate}var CALLBACK_BOOKKEEPING_POOL_SIZE=10,callbackBookkeepingPool=[];function findRootContainerNode(inst){for(;inst.return;)inst=inst.return;return inst.tag!==HostRoot?null:inst.stateNode.containerInfo}function handleTopLevelImpl(bookKeeping){var targetInst=bookKeeping.targetInst,ancestor=targetInst;do{if(!ancestor){bookKeeping.ancestors.push(ancestor);break}var root=findRootContainerNode(ancestor);if(!root)break;bookKeeping.ancestors.push(ancestor),ancestor=getClosestInstanceFromNode(root)}while(ancestor);for(var i=0;i<bookKeeping.ancestors.length;i++)targetInst=bookKeeping.ancestors[i],_handleTopLevel(bookKeeping.topLevelType,targetInst,bookKeeping.nativeEvent,getEventTarget(bookKeeping.nativeEvent))}var _enabled=!0,_handleTopLevel=void 0;function setHandleTopLevel(handleTopLevel){_handleTopLevel=handleTopLevel}function setEnabled(enabled){_enabled=!!enabled}function isEnabled(){return _enabled}function trapBubbledEvent(topLevelType,handlerBaseName,element){return element?EventListener.listen(element,handlerBaseName,dispatchEvent.bind(null,topLevelType)):null}function trapCapturedEvent(topLevelType,handlerBaseName,element){return element?EventListener.capture(element,handlerBaseName,dispatchEvent.bind(null,topLevelType)):null}function dispatchEvent(topLevelType,nativeEvent){if(_enabled){var targetInst=getClosestInstanceFromNode(getEventTarget(nativeEvent));null===targetInst||"number"!=typeof targetInst.tag||isFiberMounted(targetInst)||(targetInst=null);var instance,bookKeeping=function(topLevelType,nativeEvent,targetInst){if(callbackBookkeepingPool.length){var instance=callbackBookkeepingPool.pop();return instance.topLevelType=topLevelType,instance.nativeEvent=nativeEvent,instance.targetInst=targetInst,instance}return{topLevelType:topLevelType,nativeEvent:nativeEvent,targetInst:targetInst,ancestors:[]}}(topLevelType,nativeEvent,targetInst);try{batchedUpdates(handleTopLevelImpl,bookKeeping)}finally{(instance=bookKeeping).topLevelType=null,instance.nativeEvent=null,instance.targetInst=null,instance.ancestors.length=0,callbackBookkeepingPool.length<CALLBACK_BOOKKEEPING_POOL_SIZE&&callbackBookkeepingPool.push(instance)}}}var ReactDOMEventListener=Object.freeze({get _enabled(){return _enabled},get _handleTopLevel(){return _handleTopLevel},setHandleTopLevel:setHandleTopLevel,setEnabled:setEnabled,isEnabled:isEnabled,trapBubbledEvent:trapBubbledEvent,trapCapturedEvent:trapCapturedEvent,dispatchEvent:dispatchEvent});function makePrefixMap(styleProp,eventName){var prefixes={};return prefixes[styleProp.toLowerCase()]=eventName.toLowerCase(),prefixes["Webkit"+styleProp]="webkit"+eventName,prefixes["Moz"+styleProp]="moz"+eventName,prefixes["ms"+styleProp]="MS"+eventName,prefixes["O"+styleProp]="o"+eventName.toLowerCase(),prefixes}var vendorPrefixes={animationend:makePrefixMap("Animation","AnimationEnd"),animationiteration:makePrefixMap("Animation","AnimationIteration"),animationstart:makePrefixMap("Animation","AnimationStart"),transitionend:makePrefixMap("Transition","TransitionEnd")},prefixedEventNames={},style={};function getVendorPrefixedEventName(eventName){if(prefixedEventNames[eventName])return prefixedEventNames[eventName];if(!vendorPrefixes[eventName])return eventName;var prefixMap=vendorPrefixes[eventName];for(var styleProp in prefixMap)if(prefixMap.hasOwnProperty(styleProp)&&styleProp in style)return prefixedEventNames[eventName]=prefixMap[styleProp];return""}ExecutionEnvironment.canUseDOM&&(style=document.createElement("div").style,"AnimationEvent"in window||(delete vendorPrefixes.animationend.animation,delete vendorPrefixes.animationiteration.animation,delete vendorPrefixes.animationstart.animation),"TransitionEvent"in window||delete vendorPrefixes.transitionend.transition);var topLevelTypes={topLevelTypes:{topAbort:"abort",topAnimationEnd:getVendorPrefixedEventName("animationend")||"animationend",topAnimationIteration:getVendorPrefixedEventName("animationiteration")||"animationiteration",topAnimationStart:getVendorPrefixedEventName("animationstart")||"animationstart",topBlur:"blur",topCancel:"cancel",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topClose:"close",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",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoad:"load",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topToggle:"toggle",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:getVendorPrefixedEventName("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"}}.topLevelTypes,alreadyListeningTo={},reactTopListenersCounter=0,topListenersIDKey="_reactListenersID"+(""+Math.random()).slice(2);function getListeningForDocument(mountAt){return Object.prototype.hasOwnProperty.call(mountAt,topListenersIDKey)||(mountAt[topListenersIDKey]=reactTopListenersCounter++,alreadyListeningTo[mountAt[topListenersIDKey]]={}),alreadyListeningTo[mountAt[topListenersIDKey]]}function getLeafNode(node){for(;node&&node.firstChild;)node=node.firstChild;return node}function getSiblingNode(node){for(;node;){if(node.nextSibling)return node.nextSibling;node=node.parentNode}}function getNodeForCharacterOffset(root,offset){for(var node=getLeafNode(root),nodeStart=0,nodeEnd=0;node;){if(node.nodeType===TEXT_NODE){if(nodeEnd=nodeStart+node.textContent.length,nodeStart<=offset&&nodeEnd>=offset)return{node:node,offset:offset-nodeStart};nodeStart=nodeEnd}node=getLeafNode(getSiblingNode(node))}}function getOffsets(outerNode){var selection=window.getSelection&&window.getSelection();if(!selection||0===selection.rangeCount)return null;var anchorNode=selection.anchorNode,anchorOffset=selection.anchorOffset,focusNode$$1=selection.focusNode,focusOffset=selection.focusOffset;try{anchorNode.nodeType,focusNode$$1.nodeType}catch(e){return null}return function(outerNode,anchorNode,anchorOffset,focusNode$$1,focusOffset){var length=0,start=-1,end=-1,indexWithinAnchor=0,indexWithinFocus=0,node=outerNode,parentNode=null;outer:for(;;){for(var next=null;node!==anchorNode||0!==anchorOffset&&node.nodeType!==TEXT_NODE||(start=length+anchorOffset),node!==focusNode$$1||0!==focusOffset&&node.nodeType!==TEXT_NODE||(end=length+focusOffset),node.nodeType===TEXT_NODE&&(length+=node.nodeValue.length),null!==(next=node.firstChild);)parentNode=node,node=next;for(;;){if(node===outerNode)break outer;if(parentNode===anchorNode&&++indexWithinAnchor===anchorOffset&&(start=length),parentNode===focusNode$$1&&++indexWithinFocus===focusOffset&&(end=length),null!==(next=node.nextSibling))break;parentNode=(node=parentNode).parentNode}node=next}if(-1===start||-1===end)return null;return{start:start,end:end}}(outerNode,anchorNode,anchorOffset,focusNode$$1,focusOffset)}function hasSelectionCapabilities(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return nodeName&&("input"===nodeName&&"text"===elem.type||"textarea"===nodeName||"true"===elem.contentEditable)}function getSelectionInformation(){var focusedElem=getActiveElement();return{focusedElem:focusedElem,selectionRange:hasSelectionCapabilities(focusedElem)?function(input){var selection=void 0;selection="selectionStart"in input?{start:input.selectionStart,end:input.selectionEnd}:getOffsets(input);return selection||{start:0,end:0}}(focusedElem):null}}function restoreSelection(priorSelectionInformation){var node,curFocusedElem=getActiveElement(),priorFocusedElem=priorSelectionInformation.focusedElem,priorSelectionRange=priorSelectionInformation.selectionRange;if(curFocusedElem!==priorFocusedElem&&(node=priorFocusedElem,containsNode(document.documentElement,node))){hasSelectionCapabilities(priorFocusedElem)&&function(input,offsets){var start=offsets.start,end=offsets.end;void 0===end&&(end=start);"selectionStart"in input?(input.selectionStart=start,input.selectionEnd=Math.min(end,input.value.length)):function(node,offsets){if(window.getSelection){var selection=window.getSelection(),length=node[getTextContentAccessor()].length,start=Math.min(offsets.start,length),end=void 0===offsets.end?start:Math.min(offsets.end,length);if(!selection.extend&&start>end){var temp=end;end=start,start=temp}var startMarker=getNodeForCharacterOffset(node,start),endMarker=getNodeForCharacterOffset(node,end);if(startMarker&&endMarker){if(1===selection.rangeCount&&selection.anchorNode===startMarker.node&&selection.anchorOffset===startMarker.offset&&selection.focusNode===endMarker.node&&selection.focusOffset===endMarker.offset)return;var range=document.createRange();range.setStart(startMarker.node,startMarker.offset),selection.removeAllRanges(),start>end?(selection.addRange(range),selection.extend(endMarker.node,endMarker.offset)):(range.setEnd(endMarker.node,endMarker.offset),selection.addRange(range))}}}(input,offsets)}(priorFocusedElem,priorSelectionRange);for(var ancestors=[],ancestor=priorFocusedElem;ancestor=ancestor.parentNode;)ancestor.nodeType===ELEMENT_NODE&&ancestors.push({element:ancestor,left:ancestor.scrollLeft,top:ancestor.scrollTop});focusNode(priorFocusedElem);for(var i=0;i<ancestors.length;i++){var info=ancestors[i];info.element.scrollLeft=info.left,info.element.scrollTop=info.top}}}var skipSelectionChangeEvent=ExecutionEnvironment.canUseDOM&&"documentMode"in document&&document.documentMode<=11,eventTypes$3={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},activeElement$1=null,activeElementInst$1=null,lastSelection=null,mouseDown=!1;function constructSelectEvent(nativeEvent,nativeEventTarget){if(mouseDown||null==activeElement$1||activeElement$1!==getActiveElement())return null;var currentSelection=function(node){if("selectionStart"in node&&hasSelectionCapabilities(node))return{start:node.selectionStart,end:node.selectionEnd};if(window.getSelection){var selection=window.getSelection();return{anchorNode:selection.anchorNode,anchorOffset:selection.anchorOffset,focusNode:selection.focusNode,focusOffset:selection.focusOffset}}}(activeElement$1);if(!lastSelection||!shallowEqual(lastSelection,currentSelection)){lastSelection=currentSelection;var syntheticEvent=SyntheticEvent$1.getPooled(eventTypes$3.select,activeElementInst$1,nativeEvent,nativeEventTarget);return syntheticEvent.type="select",syntheticEvent.target=activeElement$1,accumulateTwoPhaseDispatches(syntheticEvent),syntheticEvent}return null}var SelectEventPlugin={eventTypes:eventTypes$3,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var doc=nativeEventTarget.window===nativeEventTarget?nativeEventTarget.document:nativeEventTarget.nodeType===DOCUMENT_NODE?nativeEventTarget:nativeEventTarget.ownerDocument;if(!doc||!function(registrationName,mountAt){for(var isListening=getListeningForDocument(mountAt),dependencies=registrationNameDependencies[registrationName],i=0;i<dependencies.length;i++){var dependency=dependencies[i];if(!isListening.hasOwnProperty(dependency)||!isListening[dependency])return!1}return!0}("onSelect",doc))return null;var targetNode=targetInst?getNodeFromInstance$1(targetInst):window;switch(topLevelType){case"topFocus":(isTextInputElement(targetNode)||"true"===targetNode.contentEditable)&&(activeElement$1=targetNode,activeElementInst$1=targetInst,lastSelection=null);break;case"topBlur":activeElement$1=null,activeElementInst$1=null,lastSelection=null;break;case"topMouseDown":mouseDown=!0;break;case"topContextMenu":case"topMouseUp":return mouseDown=!1,constructSelectEvent(nativeEvent,nativeEventTarget);case"topSelectionChange":if(skipSelectionChangeEvent)break;case"topKeyDown":case"topKeyUp":return constructSelectEvent(nativeEvent,nativeEventTarget)}return null}};function SyntheticAnimationEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticEvent$1.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticEvent$1.augmentClass(SyntheticAnimationEvent,{animationName:null,elapsedTime:null,pseudoElement:null});var ClipboardEventInterface={clipboardData:function(event){return"clipboardData"in event?event.clipboardData:window.clipboardData}};function SyntheticClipboardEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticEvent$1.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticEvent$1.augmentClass(SyntheticClipboardEvent,ClipboardEventInterface);function SyntheticFocusEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticUIEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}function getEventCharCode(nativeEvent){var charCode,keyCode=nativeEvent.keyCode;return"charCode"in nativeEvent?0===(charCode=nativeEvent.charCode)&&13===keyCode&&(charCode=13):charCode=keyCode,charCode>=32||13===charCode?charCode:0}SyntheticUIEvent.augmentClass(SyntheticFocusEvent,{relatedTarget:null});var normalizeKey={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},translateToKey={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};var KeyboardEventInterface={key:function(nativeEvent){if(nativeEvent.key){var key=normalizeKey[nativeEvent.key]||nativeEvent.key;if("Unidentified"!==key)return key}if("keypress"===nativeEvent.type){var charCode=getEventCharCode(nativeEvent);return 13===charCode?"Enter":String.fromCharCode(charCode)}return"keydown"===nativeEvent.type||"keyup"===nativeEvent.type?translateToKey[nativeEvent.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:getEventModifierState,charCode:function(event){return"keypress"===event.type?getEventCharCode(event):0},keyCode:function(event){return"keydown"===event.type||"keyup"===event.type?event.keyCode:0},which:function(event){return"keypress"===event.type?getEventCharCode(event):"keydown"===event.type||"keyup"===event.type?event.keyCode:0}};function SyntheticKeyboardEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticUIEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticUIEvent.augmentClass(SyntheticKeyboardEvent,KeyboardEventInterface);function SyntheticDragEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticMouseEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticMouseEvent.augmentClass(SyntheticDragEvent,{dataTransfer:null});var TouchEventInterface={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:getEventModifierState};function SyntheticTouchEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticUIEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticUIEvent.augmentClass(SyntheticTouchEvent,TouchEventInterface);function SyntheticTransitionEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticEvent$1.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticEvent$1.augmentClass(SyntheticTransitionEvent,{propertyName:null,elapsedTime:null,pseudoElement:null});function SyntheticWheelEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticMouseEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticMouseEvent.augmentClass(SyntheticWheelEvent,{deltaX:function(event){return"deltaX"in event?event.deltaX:"wheelDeltaX"in event?-event.wheelDeltaX:0},deltaY:function(event){return"deltaY"in event?event.deltaY:"wheelDeltaY"in event?-event.wheelDeltaY:"wheelDelta"in event?-event.wheelDelta:0},deltaZ:null,deltaMode:null});var eventTypes$4={},topLevelEventsToDispatchConfig={};["abort","animationEnd","animationIteration","animationStart","blur","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","toggle","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(event){var capitalizedEvent=event[0].toUpperCase()+event.slice(1),onEvent="on"+capitalizedEvent,topEvent="top"+capitalizedEvent,type={phasedRegistrationNames:{bubbled:onEvent,captured:onEvent+"Capture"},dependencies:[topEvent]};eventTypes$4[event]=type,topLevelEventsToDispatchConfig[topEvent]=type});var knownHTMLTopLevelTypes=["topAbort","topCancel","topCanPlay","topCanPlayThrough","topClose","topDurationChange","topEmptied","topEncrypted","topEnded","topError","topInput","topInvalid","topLoad","topLoadedData","topLoadedMetadata","topLoadStart","topPause","topPlay","topPlaying","topProgress","topRateChange","topReset","topSeeked","topSeeking","topStalled","topSubmit","topSuspend","topTimeUpdate","topToggle","topVolumeChange","topWaiting"],SimpleEventPlugin={eventTypes:eventTypes$4,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var EventConstructor,dispatchConfig=topLevelEventsToDispatchConfig[topLevelType];if(!dispatchConfig)return null;switch(topLevelType){case"topKeyPress":if(0===getEventCharCode(nativeEvent))return null;case"topKeyDown":case"topKeyUp":EventConstructor=SyntheticKeyboardEvent;break;case"topBlur":case"topFocus":EventConstructor=SyntheticFocusEvent;break;case"topClick":if(2===nativeEvent.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":EventConstructor=SyntheticMouseEvent;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":EventConstructor=SyntheticDragEvent;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":EventConstructor=SyntheticTouchEvent;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":EventConstructor=SyntheticAnimationEvent;break;case"topTransitionEnd":EventConstructor=SyntheticTransitionEvent;break;case"topScroll":EventConstructor=SyntheticUIEvent;break;case"topWheel":EventConstructor=SyntheticWheelEvent;break;case"topCopy":case"topCut":case"topPaste":EventConstructor=SyntheticClipboardEvent;break;default:-1===knownHTMLTopLevelTypes.indexOf(topLevelType)&&warning(!1,"SimpleEventPlugin: Unhandled event type, `%s`. This warning is likely caused by a bug in React. Please file an issue.",topLevelType),EventConstructor=SyntheticEvent$1}var event=EventConstructor.getPooled(dispatchConfig,targetInst,nativeEvent,nativeEventTarget);return accumulateTwoPhaseDispatches(event),event}};setHandleTopLevel(function(topLevelType,targetInst,nativeEvent,nativeEventTarget){!function(events){enqueueEvents(events),processEventQueue(!1)}(extractEvents(topLevelType,targetInst,nativeEvent,nativeEventTarget))}),injection$1.injectEventPluginOrder(["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"]),injection$__injectComponentTree(ReactDOMComponentTree),injection$1.injectEventPluginsByName({SimpleEventPlugin:SimpleEventPlugin,EnterLeaveEventPlugin:EnterLeaveEventPlugin,ChangeEventPlugin:ChangeEventPlugin,SelectEventPlugin:SelectEventPlugin,BeforeInputEventPlugin:BeforeInputEventPlugin});var enableAsyncSubtreeAPI=!0,enableUserTimingAPI=!0,enableMutatingReconciler=!0,enablePersistentReconciler=!1,debugRenderPhaseSideEffects=!1,valueStack=[],fiberStack=[],index=-1;function createCursor(defaultValue){return{current:defaultValue}}function pop(cursor,fiber){index<0?warning(!1,"Unexpected pop."):(fiber!==fiberStack[index]&&warning(!1,"Unexpected Fiber popped."),cursor.current=valueStack[index],valueStack[index]=null,fiberStack[index]=null,index--)}function push(cursor,value,fiber){valueStack[++index]=cursor.current,fiberStack[index]=fiber,cursor.current=value}var describeComponentFrame=function(name,source,ownerName){return"\n    in "+(name||"Unknown")+(source?" (at "+source.fileName.replace(/^.*[\\\/]/,"")+":"+source.lineNumber+")":ownerName?" (created by "+ownerName+")":"")};function describeFiber(fiber){switch(fiber.tag){case IndeterminateComponent:case FunctionalComponent:case ClassComponent:case HostComponent:var owner=fiber._debugOwner,source=fiber._debugSource,name=getComponentName(fiber),ownerName=null;return owner&&(ownerName=getComponentName(owner)),describeComponentFrame(name,source,ownerName);default:return""}}function getStackAddendumByWorkInProgressFiber(workInProgress){var info="",node=workInProgress;do{info+=describeFiber(node),node=node.return}while(node);return info}function getCurrentFiberStackAddendum(){var fiber=ReactDebugCurrentFiber.current;return null===fiber?null:getStackAddendumByWorkInProgressFiber(fiber)}var ReactDebugCurrentFiber={current:null,phase:null,resetCurrentFiber:function(){ReactDebugCurrentFrame.getCurrentStack=null,ReactDebugCurrentFiber.current=null,ReactDebugCurrentFiber.phase=null},setCurrentFiber:function(fiber){ReactDebugCurrentFrame.getCurrentStack=getCurrentFiberStackAddendum,ReactDebugCurrentFiber.current=fiber,ReactDebugCurrentFiber.phase=null},setCurrentPhase:function(phase){ReactDebugCurrentFiber.phase=phase},getCurrentFiberOwnerName:function(){var fiber=ReactDebugCurrentFiber.current;if(null===fiber)return null;var owner=fiber._debugOwner;return null!==owner&&void 0!==owner?getComponentName(owner):null},getCurrentFiberStackAddendum:getCurrentFiberStackAddendum},supportsUserTiming="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,currentFiber=null,currentPhase=null,currentPhaseFiber=null,isCommitting=!1,hasScheduledUpdateInCurrentCommit=!1,hasScheduledUpdateInCurrentPhase=!1,commitCountInCurrentWorkLoop=0,effectCountInCurrentCommit=0,isWaitingForCallback=!1,labelsInCurrentCommit=new Set,formatMarkName=function(markName){return"⚛ "+markName},beginMark=function(markName){performance.mark(formatMarkName(markName))},endMark=function(label,markName,warning$$1){var formattedMarkName=formatMarkName(markName),formattedLabel=function(label,warning$$1){return(warning$$1?"⛔ ":"⚛ ")+label+(warning$$1?" Warning: "+warning$$1:"")}(label,warning$$1);try{performance.measure(formattedLabel,formattedMarkName)}catch(err){}performance.clearMarks(formattedMarkName),performance.clearMeasures(formattedLabel)},getFiberMarkName=function(label,debugID){return label+" (#"+debugID+")"},getFiberLabel=function(componentName,isMounted,phase){return null===phase?componentName+" ["+(isMounted?"update":"mount")+"]":componentName+"."+phase},beginFiberMark=function(fiber,phase){var componentName=getComponentName(fiber)||"Unknown",debugID=fiber._debugID,isMounted=null!==fiber.alternate,label=getFiberLabel(componentName,isMounted,phase);if(isCommitting&&labelsInCurrentCommit.has(label))return!1;labelsInCurrentCommit.add(label);var markName=getFiberMarkName(label,debugID);return beginMark(markName),!0},clearFiberMark=function(fiber,phase){var componentName=getComponentName(fiber)||"Unknown",debugID=fiber._debugID,isMounted=null!==fiber.alternate,label=getFiberLabel(componentName,isMounted,phase);!function(markName){performance.clearMarks(formatMarkName(markName))}(getFiberMarkName(label,debugID))},endFiberMark=function(fiber,phase,warning$$1){var componentName=getComponentName(fiber)||"Unknown",debugID=fiber._debugID,isMounted=null!==fiber.alternate,label=getFiberLabel(componentName,isMounted,phase),markName=getFiberMarkName(label,debugID);endMark(label,markName,warning$$1)},shouldIgnoreFiber=function(fiber){switch(fiber.tag){case HostRoot:case HostComponent:case HostText:case HostPortal:case ReturnComponent:case Fragment:return!0;default:return!1}},clearPendingPhaseMeasurement=function(){null!==currentPhase&&null!==currentPhaseFiber&&clearFiberMark(currentPhaseFiber,currentPhase),currentPhaseFiber=null,currentPhase=null,hasScheduledUpdateInCurrentPhase=!1},pauseTimers=function(){for(var fiber=currentFiber;fiber;)fiber._debugIsCurrentlyTiming&&endFiberMark(fiber,null,null),fiber=fiber.return},resumeTimersRecursively=function(fiber){null!==fiber.return&&resumeTimersRecursively(fiber.return),fiber._debugIsCurrentlyTiming&&beginFiberMark(fiber,null)},resumeTimers=function(){null!==currentFiber&&resumeTimersRecursively(currentFiber)};function recordEffect(){enableUserTimingAPI&&effectCountInCurrentCommit++}function recordScheduleUpdate(){enableUserTimingAPI&&(isCommitting&&(hasScheduledUpdateInCurrentCommit=!0),null!==currentPhase&&"componentWillMount"!==currentPhase&&"componentWillReceiveProps"!==currentPhase&&(hasScheduledUpdateInCurrentPhase=!0))}function startWorkTimer(fiber){if(enableUserTimingAPI){if(!supportsUserTiming||shouldIgnoreFiber(fiber))return;if(currentFiber=fiber,!beginFiberMark(fiber,null))return;fiber._debugIsCurrentlyTiming=!0}}function cancelWorkTimer(fiber){if(enableUserTimingAPI){if(!supportsUserTiming||shouldIgnoreFiber(fiber))return;fiber._debugIsCurrentlyTiming=!1,clearFiberMark(fiber,null)}}function stopWorkTimer(fiber){if(enableUserTimingAPI){if(!supportsUserTiming||shouldIgnoreFiber(fiber))return;if(currentFiber=fiber.return,!fiber._debugIsCurrentlyTiming)return;fiber._debugIsCurrentlyTiming=!1,endFiberMark(fiber,null,null)}}function stopFailedWorkTimer(fiber){if(enableUserTimingAPI){if(!supportsUserTiming||shouldIgnoreFiber(fiber))return;if(currentFiber=fiber.return,!fiber._debugIsCurrentlyTiming)return;fiber._debugIsCurrentlyTiming=!1;endFiberMark(fiber,null,"An error was thrown inside this error boundary")}}function startPhaseTimer(fiber,phase){if(enableUserTimingAPI){if(!supportsUserTiming)return;if(clearPendingPhaseMeasurement(),!beginFiberMark(fiber,phase))return;currentPhaseFiber=fiber,currentPhase=phase}}function stopPhaseTimer(){if(enableUserTimingAPI){if(!supportsUserTiming)return;if(null!==currentPhase&&null!==currentPhaseFiber)endFiberMark(currentPhaseFiber,currentPhase,hasScheduledUpdateInCurrentPhase?"Scheduled a cascading update":null);currentPhase=null,currentPhaseFiber=null}}function startCommitTimer(){if(enableUserTimingAPI){if(!supportsUserTiming)return;isCommitting=!0,hasScheduledUpdateInCurrentCommit=!1,labelsInCurrentCommit.clear(),beginMark("(Committing Changes)")}}function stopCommitTimer(){if(enableUserTimingAPI){if(!supportsUserTiming)return;var warning$$1=null;hasScheduledUpdateInCurrentCommit?warning$$1="Lifecycle hook scheduled a cascading update":commitCountInCurrentWorkLoop>0&&(warning$$1="Caused by a cascading update in earlier commit"),hasScheduledUpdateInCurrentCommit=!1,commitCountInCurrentWorkLoop++,isCommitting=!1,labelsInCurrentCommit.clear(),endMark("(Committing Changes)","(Committing Changes)",warning$$1)}}var warnedAboutMissingGetChildContext={},contextStackCursor=createCursor(emptyObject),didPerformWorkStackCursor=createCursor(!1),previousContext=emptyObject;function getUnmaskedContext(workInProgress){return isContextProvider(workInProgress)?previousContext:contextStackCursor.current}function cacheContext(workInProgress,unmaskedContext,maskedContext){var instance=workInProgress.stateNode;instance.__reactInternalMemoizedUnmaskedChildContext=unmaskedContext,instance.__reactInternalMemoizedMaskedChildContext=maskedContext}function getMaskedContext(workInProgress,unmaskedContext){var contextTypes=workInProgress.type.contextTypes;if(!contextTypes)return emptyObject;var instance=workInProgress.stateNode;if(instance&&instance.__reactInternalMemoizedUnmaskedChildContext===unmaskedContext)return instance.__reactInternalMemoizedMaskedChildContext;var context={};for(var key in contextTypes)context[key]=unmaskedContext[key];var name=getComponentName(workInProgress)||"Unknown";return checkPropTypes(contextTypes,context,"context",name,ReactDebugCurrentFiber.getCurrentFiberStackAddendum),instance&&cacheContext(workInProgress,unmaskedContext,context),context}function hasContextChanged(){return didPerformWorkStackCursor.current}function isContextProvider(fiber){return fiber.tag===ClassComponent&&null!=fiber.type.childContextTypes}function popContextProvider(fiber){isContextProvider(fiber)&&(pop(didPerformWorkStackCursor,fiber),pop(contextStackCursor,fiber))}function pushTopLevelContextObject(fiber,context,didChange){null!=contextStackCursor.cursor&&invariant(!1,"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue."),push(contextStackCursor,context,fiber),push(didPerformWorkStackCursor,didChange,fiber)}function processChildContext(fiber,parentContext){var instance=fiber.stateNode,childContextTypes=fiber.type.childContextTypes;if("function"!=typeof instance.getChildContext){var componentName=getComponentName(fiber)||"Unknown";return warnedAboutMissingGetChildContext[componentName]||(warnedAboutMissingGetChildContext[componentName]=!0,warning(!1,"%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",componentName,componentName)),parentContext}var childContext;for(var contextKey in ReactDebugCurrentFiber.setCurrentPhase("getChildContext"),startPhaseTimer(fiber,"getChildContext"),childContext=instance.getChildContext(),stopPhaseTimer(),ReactDebugCurrentFiber.setCurrentPhase(null),childContext)contextKey in childContextTypes||invariant(!1,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',getComponentName(fiber)||"Unknown",contextKey);var name=getComponentName(fiber)||"Unknown";return checkPropTypes(childContextTypes,childContext,"child context",name,ReactDebugCurrentFiber.getCurrentFiberStackAddendum),_assign({},parentContext,childContext)}function pushContextProvider(workInProgress){if(!isContextProvider(workInProgress))return!1;var instance=workInProgress.stateNode,memoizedMergedChildContext=instance&&instance.__reactInternalMemoizedMergedChildContext||emptyObject;return previousContext=contextStackCursor.current,push(contextStackCursor,memoizedMergedChildContext,workInProgress),push(didPerformWorkStackCursor,didPerformWorkStackCursor.current,workInProgress),!0}function invalidateContextProvider(workInProgress,didChange){var instance=workInProgress.stateNode;if(instance||invariant(!1,"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue."),didChange){var mergedContext=processChildContext(workInProgress,previousContext);instance.__reactInternalMemoizedMergedChildContext=mergedContext,pop(didPerformWorkStackCursor,workInProgress),pop(contextStackCursor,workInProgress),push(contextStackCursor,mergedContext,workInProgress),push(didPerformWorkStackCursor,didChange,workInProgress)}else pop(didPerformWorkStackCursor,workInProgress),push(didPerformWorkStackCursor,didChange,workInProgress)}var NoWork=0,Sync=1,Never=2147483647,UNIT_SIZE=10,MAGIC_NUMBER_OFFSET=2;function msToExpirationTime(ms){return(ms/UNIT_SIZE|0)+MAGIC_NUMBER_OFFSET}var NoContext=0,AsyncUpdates=1,hasBadMapPolyfill=!1;try{Object.preventExtensions({})}catch(e){hasBadMapPolyfill=!0}var debugCounter=1;var createFiber=function(tag,key,internalContextTag){return new function(tag,key,internalContextTag){this.tag=tag,this.key=key,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=null,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.internalContextTag=internalContextTag,this.effectTag=NoEffect,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.expirationTime=NoWork,this.alternate=null,this._debugID=debugCounter++,this._debugSource=null,this._debugOwner=null,this._debugIsCurrentlyTiming=!1,hasBadMapPolyfill||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}(tag,key,internalContextTag)};function createWorkInProgress(current,pendingProps,expirationTime){var workInProgress=current.alternate;return null===workInProgress?((workInProgress=createFiber(current.tag,current.key,current.internalContextTag)).type=current.type,workInProgress.stateNode=current.stateNode,workInProgress._debugID=current._debugID,workInProgress._debugSource=current._debugSource,workInProgress._debugOwner=current._debugOwner,workInProgress.alternate=current,current.alternate=workInProgress):(workInProgress.effectTag=NoEffect,workInProgress.nextEffect=null,workInProgress.firstEffect=null,workInProgress.lastEffect=null),workInProgress.expirationTime=expirationTime,workInProgress.pendingProps=pendingProps,workInProgress.child=current.child,workInProgress.memoizedProps=current.memoizedProps,workInProgress.memoizedState=current.memoizedState,workInProgress.updateQueue=current.updateQueue,workInProgress.sibling=current.sibling,workInProgress.index=current.index,workInProgress.ref=current.ref,workInProgress}function createFiberFromElement(element,internalContextTag,expirationTime){var owner;owner=element._owner;var Component,fiber=void 0,type=element.type,key=element.key;if("function"==typeof type)(fiber=(Component=type).prototype&&Component.prototype.isReactComponent?createFiber(ClassComponent,key,internalContextTag):createFiber(IndeterminateComponent,key,internalContextTag)).type=type,fiber.pendingProps=element.props;else if("string"==typeof type)(fiber=createFiber(HostComponent,key,internalContextTag)).type=type,fiber.pendingProps=element.props;else if("object"==typeof type&&null!==type&&"number"==typeof type.tag)(fiber=type).pendingProps=element.props;else{var info="";(void 0===type||"object"==typeof type&&null!==type&&0===Object.keys(type).length)&&(info+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ownerName=owner?getComponentName(owner):null;ownerName&&(info+="\n\nCheck the render method of `"+ownerName+"`."),invariant(!1,"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==type?type:typeof type,info)}return fiber._debugSource=element._source,fiber._debugOwner=element._owner,fiber.expirationTime=expirationTime,fiber}function createFiberFromFragment(elements,internalContextTag,expirationTime,key){var fiber=createFiber(Fragment,key,internalContextTag);return fiber.pendingProps=elements,fiber.expirationTime=expirationTime,fiber}function createFiberFromText(content,internalContextTag,expirationTime){var fiber=createFiber(HostText,null,internalContextTag);return fiber.pendingProps=content,fiber.expirationTime=expirationTime,fiber}function createFiberFromCall(call,internalContextTag,expirationTime){var fiber=createFiber(CallComponent,call.key,internalContextTag);return fiber.type=call.handler,fiber.pendingProps=call,fiber.expirationTime=expirationTime,fiber}function createFiberFromReturn(returnNode,internalContextTag,expirationTime){var fiber=createFiber(ReturnComponent,null,internalContextTag);return fiber.expirationTime=expirationTime,fiber}function createFiberFromPortal(portal,internalContextTag,expirationTime){var fiber=createFiber(HostPortal,portal.key,internalContextTag);return fiber.pendingProps=portal.children||[],fiber.expirationTime=expirationTime,fiber.stateNode={containerInfo:portal.containerInfo,pendingChildren:null,implementation:portal.implementation},fiber}function createFiberRoot(containerInfo,hydrate){var uninitializedFiber=createFiber(HostRoot,null,NoContext),root={current:uninitializedFiber,containerInfo:containerInfo,pendingChildren:null,remainingExpirationTime:NoWork,isReadyForCommit:!1,finishedWork:null,context:null,pendingContext:null,hydrate:hydrate,nextScheduledRoot:null};return uninitializedFiber.stateNode=root,root}var onCommitFiberRoot=null,onCommitFiberUnmount=null,hasLoggedError=!1;function catchErrors(fn){return function(arg){try{return fn(arg)}catch(err){hasLoggedError||(hasLoggedError=!0,warning(!1,"React DevTools encountered an error: %s",err))}}}function onCommitRoot(root){"function"==typeof onCommitFiberRoot&&onCommitFiberRoot(root)}function onCommitUnmount(fiber){"function"==typeof onCommitFiberUnmount&&onCommitFiberUnmount(fiber)}var didWarnUpdateInsideUpdate=!1;function createUpdateQueue(baseState){var queue={baseState:baseState,expirationTime:NoWork,first:null,last:null,callbackList:null,hasForceUpdate:!1,isInitialized:!1,isProcessing:!1};return queue}function insertUpdateIntoQueue(queue,update){null===queue.last?queue.first=queue.last=update:(queue.last.next=update,queue.last=update),(queue.expirationTime===NoWork||queue.expirationTime>update.expirationTime)&&(queue.expirationTime=update.expirationTime)}function insertUpdateIntoFiber(fiber,update){var alternateFiber=fiber.alternate,queue1=fiber.updateQueue;null===queue1&&(queue1=fiber.updateQueue=createUpdateQueue(null));var queue2=void 0;if(null!==alternateFiber?null===(queue2=alternateFiber.updateQueue)&&(queue2=alternateFiber.updateQueue=createUpdateQueue(null)):queue2=null,queue2=queue2!==queue1?queue2:null,(queue1.isProcessing||null!==queue2&&queue2.isProcessing)&&!didWarnUpdateInsideUpdate&&(warning(!1,"An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),didWarnUpdateInsideUpdate=!0),null!==queue2){if(null===queue1.last||null===queue2.last)return insertUpdateIntoQueue(queue1,update),void insertUpdateIntoQueue(queue2,update);insertUpdateIntoQueue(queue1,update),queue2.last=update}else insertUpdateIntoQueue(queue1,update)}function getStateFromUpdate(update,instance,prevState,props){var partialState=update.partialState;if("function"==typeof partialState){var updateFn=partialState;return debugRenderPhaseSideEffects&&updateFn.call(instance,prevState,props),updateFn.call(instance,prevState,props)}return partialState}function processUpdateQueue(current,workInProgress,queue,instance,props,renderExpirationTime){if(null!==current&&current.updateQueue===queue){var currentQueue=queue;queue=workInProgress.updateQueue={baseState:currentQueue.baseState,expirationTime:currentQueue.expirationTime,first:currentQueue.first,last:currentQueue.last,isInitialized:currentQueue.isInitialized,callbackList:null,hasForceUpdate:!1}}queue.isProcessing=!0,queue.expirationTime=NoWork;var state=void 0;queue.isInitialized?state=queue.baseState:(state=queue.baseState=workInProgress.memoizedState,queue.isInitialized=!0);for(var dontMutatePrevState=!0,update=queue.first,didSkip=!1;null!==update;){var updateExpirationTime=update.expirationTime;if(updateExpirationTime>renderExpirationTime){var remainingExpirationTime=queue.expirationTime;(remainingExpirationTime===NoWork||remainingExpirationTime>updateExpirationTime)&&(queue.expirationTime=updateExpirationTime),didSkip||(didSkip=!0,queue.baseState=state),update=update.next}else{didSkip||(queue.first=update.next,null===queue.first&&(queue.last=null));var _partialState=void 0;if(update.isReplace?(state=getStateFromUpdate(update,instance,state,props),dontMutatePrevState=!0):(_partialState=getStateFromUpdate(update,instance,state,props))&&(state=dontMutatePrevState?_assign({},state,_partialState):_assign(state,_partialState),dontMutatePrevState=!1),update.isForced&&(queue.hasForceUpdate=!0),null!==update.callback){var _callbackList=queue.callbackList;null===_callbackList&&(_callbackList=queue.callbackList=[]),_callbackList.push(update)}update=update.next}}return null!==queue.callbackList?workInProgress.effectTag|=Callback:null!==queue.first||queue.hasForceUpdate||(workInProgress.updateQueue=null),didSkip||(didSkip=!0,queue.baseState=state),queue.isProcessing=!1,state}function commitCallbacks(queue,context){var callbackList=queue.callbackList;if(null!==callbackList){queue.callbackList=null;for(var i=0;i<callbackList.length;i++){var update=callbackList[i],_callback=update.callback;update.callback=null,"function"!=typeof _callback&&invariant(!1,"Invalid argument passed as callback. Expected a function. Instead received: %s",_callback),_callback.call(context)}}}var fakeInternalInstance={},isArray=Array.isArray,didWarnAboutStateAssignmentForComponent={},warnOnInvalidCallback=function(callback,callerName){warning(null===callback||"function"==typeof callback,"%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",callerName,callback)};Object.defineProperty(fakeInternalInstance,"_processChildContext",{enumerable:!1,value:function(){invariant(!1,"_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(fakeInternalInstance);var ReactFiberClassComponent=function(scheduleWork,computeExpirationForFiber,memoizeProps,memoizeState){var updater={isMounted:isMounted,enqueueSetState:function(instance,partialState,callback){var fiber=get(instance);warnOnInvalidCallback(callback=void 0===callback?null:callback,"setState");var expirationTime=computeExpirationForFiber(fiber);insertUpdateIntoFiber(fiber,{expirationTime:expirationTime,partialState:partialState,callback:callback,isReplace:!1,isForced:!1,nextCallback:null,next:null}),scheduleWork(fiber,expirationTime)},enqueueReplaceState:function(instance,state,callback){var fiber=get(instance);warnOnInvalidCallback(callback=void 0===callback?null:callback,"replaceState");var expirationTime=computeExpirationForFiber(fiber);insertUpdateIntoFiber(fiber,{expirationTime:expirationTime,partialState:state,callback:callback,isReplace:!0,isForced:!1,nextCallback:null,next:null}),scheduleWork(fiber,expirationTime)},enqueueForceUpdate:function(instance,callback){var fiber=get(instance);warnOnInvalidCallback(callback=void 0===callback?null:callback,"forceUpdate");var expirationTime=computeExpirationForFiber(fiber);insertUpdateIntoFiber(fiber,{expirationTime:expirationTime,partialState:null,callback:callback,isReplace:!1,isForced:!0,nextCallback:null,next:null}),scheduleWork(fiber,expirationTime)}};function adoptClassInstance(workInProgress,instance){var value;instance.updater=updater,workInProgress.stateNode=instance,value=workInProgress,instance._reactInternalFiber=value,instance._reactInternalInstance=fakeInternalInstance}return{adoptClassInstance:adoptClassInstance,constructClassInstance:function(workInProgress,props){var fiber,ctor=workInProgress.type,unmaskedContext=getUnmaskedContext(workInProgress),needsContext=(fiber=workInProgress).tag===ClassComponent&&null!=fiber.type.contextTypes,context=needsContext?getMaskedContext(workInProgress,unmaskedContext):emptyObject,instance=new ctor(props,context);return adoptClassInstance(workInProgress,instance),needsContext&&cacheContext(workInProgress,unmaskedContext,context),instance},mountClassInstance:function(workInProgress,renderExpirationTime){var current=workInProgress.alternate;!function(workInProgress){var instance=workInProgress.stateNode,type=workInProgress.type,name=getComponentName(workInProgress);instance.render||(type.prototype&&"function"==typeof type.prototype.render?warning(!1,"%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",name):warning(!1,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",name));var noGetInitialStateOnES6=!instance.getInitialState||instance.getInitialState.isReactClassApproved||instance.state;warning(noGetInitialStateOnES6,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",name);var noGetDefaultPropsOnES6=!instance.getDefaultProps||instance.getDefaultProps.isReactClassApproved;warning(noGetDefaultPropsOnES6,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",name);var noInstancePropTypes=!instance.propTypes;warning(noInstancePropTypes,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",name);var noInstanceContextTypes=!instance.contextTypes;warning(noInstanceContextTypes,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",name);var noComponentShouldUpdate="function"!=typeof instance.componentShouldUpdate;warning(noComponentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",name),type.prototype&&type.prototype.isPureReactComponent&&void 0!==instance.shouldComponentUpdate&&warning(!1,"%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",getComponentName(workInProgress)||"A pure component");var noComponentDidUnmount="function"!=typeof instance.componentDidUnmount;warning(noComponentDidUnmount,"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",name);var noComponentDidReceiveProps="function"!=typeof instance.componentDidReceiveProps;warning(noComponentDidReceiveProps,"%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",name);var noComponentWillRecieveProps="function"!=typeof instance.componentWillRecieveProps;warning(noComponentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",name);var hasMutatedProps=instance.props!==workInProgress.pendingProps;warning(void 0===instance.props||!hasMutatedProps,"%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",name,name);var noInstanceDefaultProps=!instance.defaultProps;warning(noInstanceDefaultProps,"Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",name,name);var state=instance.state;state&&("object"!=typeof state||isArray(state))&&warning(!1,"%s.state: must be set to an object or null",getComponentName(workInProgress)),"function"==typeof instance.getChildContext&&warning("object"==typeof workInProgress.type.childContextTypes,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",getComponentName(workInProgress))}(workInProgress);var instance=workInProgress.stateNode,state=instance.state||null,props=workInProgress.pendingProps;props||invariant(!1,"There must be pending props for an initial mount. This error is likely caused by a bug in React. Please file an issue.");var unmaskedContext=getUnmaskedContext(workInProgress);if(instance.props=props,instance.state=workInProgress.memoizedState=state,instance.refs=emptyObject,instance.context=getMaskedContext(workInProgress,unmaskedContext),enableAsyncSubtreeAPI&&null!=workInProgress.type&&null!=workInProgress.type.prototype&&!0===workInProgress.type.prototype.unstable_isAsyncReactComponent&&(workInProgress.internalContextTag|=AsyncUpdates),"function"==typeof instance.componentWillMount){!function(workInProgress,instance){startPhaseTimer(workInProgress,"componentWillMount");var oldState=instance.state;instance.componentWillMount(),stopPhaseTimer(),debugRenderPhaseSideEffects&&instance.componentWillMount(),oldState!==instance.state&&(warning(!1,"%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",getComponentName(workInProgress)),updater.enqueueReplaceState(instance,instance.state,null))}(workInProgress,instance);var updateQueue=workInProgress.updateQueue;null!==updateQueue&&(instance.state=processUpdateQueue(current,workInProgress,updateQueue,instance,props,renderExpirationTime))}"function"==typeof instance.componentDidMount&&(workInProgress.effectTag|=Update)},updateClassInstance:function(current,workInProgress,renderExpirationTime){var instance=workInProgress.stateNode;!function(workInProgress,instance){instance.props=workInProgress.memoizedProps,instance.state=workInProgress.memoizedState}(workInProgress,instance);var oldProps=workInProgress.memoizedProps,newProps=workInProgress.pendingProps;newProps||null==(newProps=oldProps)&&invariant(!1,"There should always be pending or memoized props. This error is likely caused by a bug in React. Please file an issue.");var oldContext=instance.context,newContext=getMaskedContext(workInProgress,getUnmaskedContext(workInProgress));"function"!=typeof instance.componentWillReceiveProps||oldProps===newProps&&oldContext===newContext||function(workInProgress,instance,newProps,newContext){startPhaseTimer(workInProgress,"componentWillReceiveProps");var oldState=instance.state;if(instance.componentWillReceiveProps(newProps,newContext),stopPhaseTimer(),debugRenderPhaseSideEffects&&instance.componentWillReceiveProps(newProps,newContext),instance.state!==oldState){var componentName=getComponentName(workInProgress)||"Component";didWarnAboutStateAssignmentForComponent[componentName]||(warning(!1,"%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",componentName),didWarnAboutStateAssignmentForComponent[componentName]=!0),updater.enqueueReplaceState(instance,instance.state,null)}}(workInProgress,instance,newProps,newContext);var oldState=workInProgress.memoizedState,newState=void 0;if(newState=null!==workInProgress.updateQueue?processUpdateQueue(current,workInProgress,workInProgress.updateQueue,instance,newProps,renderExpirationTime):oldState,!(oldProps!==newProps||oldState!==newState||hasContextChanged()||null!==workInProgress.updateQueue&&workInProgress.updateQueue.hasForceUpdate))return"function"==typeof instance.componentDidUpdate&&(oldProps===current.memoizedProps&&oldState===current.memoizedState||(workInProgress.effectTag|=Update)),!1;var shouldUpdate=function(workInProgress,oldProps,newProps,oldState,newState,newContext){if(null===oldProps||null!==workInProgress.updateQueue&&workInProgress.updateQueue.hasForceUpdate)return!0;var instance=workInProgress.stateNode,type=workInProgress.type;if("function"==typeof instance.shouldComponentUpdate){startPhaseTimer(workInProgress,"shouldComponentUpdate");var shouldUpdate=instance.shouldComponentUpdate(newProps,newState,newContext);return stopPhaseTimer(),debugRenderPhaseSideEffects&&instance.shouldComponentUpdate(newProps,newState,newContext),warning(void 0!==shouldUpdate,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",getComponentName(workInProgress)||"Unknown"),shouldUpdate}return!(type.prototype&&type.prototype.isPureReactComponent&&shallowEqual(oldProps,newProps)&&shallowEqual(oldState,newState))}(workInProgress,oldProps,newProps,oldState,newState,newContext);return shouldUpdate?("function"==typeof instance.componentWillUpdate&&(startPhaseTimer(workInProgress,"componentWillUpdate"),instance.componentWillUpdate(newProps,newState,newContext),stopPhaseTimer(),debugRenderPhaseSideEffects&&instance.componentWillUpdate(newProps,newState,newContext)),"function"==typeof instance.componentDidUpdate&&(workInProgress.effectTag|=Update)):("function"==typeof instance.componentDidUpdate&&(oldProps===current.memoizedProps&&oldState===current.memoizedState||(workInProgress.effectTag|=Update)),memoizeProps(workInProgress,newProps),memoizeState(workInProgress,newState)),instance.props=newProps,instance.state=newState,instance.context=newContext,shouldUpdate}}},hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_CALL_TYPE=hasSymbol?Symbol.for("react.call"):60104,REACT_RETURN_TYPE=hasSymbol?Symbol.for("react.return"):60105,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,MAYBE_ITERATOR_SYMBOL="function"==typeof Symbol&&Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(null===maybeIterable||void 0===maybeIterable)return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL];return"function"==typeof maybeIterator?maybeIterator:null}var getCurrentFiberStackAddendum$1=ReactDebugCurrentFiber.getCurrentFiberStackAddendum,didWarnAboutMaps=!1,ownerHasKeyUseWarning={},ownerHasFunctionTypeWarning={},warnForMissingKey=function(child){if(null!==child&&"object"==typeof child&&child._store&&!child._store.validated&&null==child.key){"object"!=typeof child._store&&invariant(!1,"React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."),child._store.validated=!0;var currentComponentErrorInfo='Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'+(getCurrentFiberStackAddendum$1()||"");ownerHasKeyUseWarning[currentComponentErrorInfo]||(ownerHasKeyUseWarning[currentComponentErrorInfo]=!0,warning(!1,'Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.%s',getCurrentFiberStackAddendum$1()))}},isArray$1=Array.isArray;function coerceRef(current,element){var mixedRef=element.ref;if(null!==mixedRef&&"function"!=typeof mixedRef){if(element._owner){var owner=element._owner,inst=void 0;if(owner){var ownerFiber=owner;ownerFiber.tag!==ClassComponent&&invariant(!1,"Stateless function components cannot have refs."),inst=ownerFiber.stateNode}inst||invariant(!1,"Missing owner for string ref %s. This error is likely caused by a bug in React. Please file an issue.",mixedRef);var stringRef=""+mixedRef;if(null!==current&&null!==current.ref&&current.ref._stringRef===stringRef)return current.ref;var ref=function(value){var refs=inst.refs===emptyObject?inst.refs={}:inst.refs;null===value?delete refs[stringRef]:refs[stringRef]=value};return ref._stringRef=stringRef,ref}"string"!=typeof mixedRef&&invariant(!1,"Expected ref to be a function or a string."),element._owner||invariant(!1,"Element ref was specified as a string (%s) but no owner was set. You may have multiple copies of React loaded. (details: https://fb.me/react-refs-must-have-owner).",mixedRef)}return mixedRef}function throwOnInvalidObjectType(returnFiber,newChild){if("textarea"!==returnFiber.type){var addendum;addendum=" If you meant to render a collection of children, use an array instead."+(getCurrentFiberStackAddendum$1()||""),invariant(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===Object.prototype.toString.call(newChild)?"object with keys {"+Object.keys(newChild).join(", ")+"}":newChild,addendum)}}function warnOnFunctionType(){var currentComponentErrorInfo="Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."+(getCurrentFiberStackAddendum$1()||"");ownerHasFunctionTypeWarning[currentComponentErrorInfo]||(ownerHasFunctionTypeWarning[currentComponentErrorInfo]=!0,warning(!1,"Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.%s",getCurrentFiberStackAddendum$1()||""))}function ChildReconciler(shouldTrackSideEffects){function deleteChild(returnFiber,childToDelete){if(shouldTrackSideEffects){var last=returnFiber.lastEffect;null!==last?(last.nextEffect=childToDelete,returnFiber.lastEffect=childToDelete):returnFiber.firstEffect=returnFiber.lastEffect=childToDelete,childToDelete.nextEffect=null,childToDelete.effectTag=Deletion}}function deleteRemainingChildren(returnFiber,currentFirstChild){if(!shouldTrackSideEffects)return null;for(var childToDelete=currentFirstChild;null!==childToDelete;)deleteChild(returnFiber,childToDelete),childToDelete=childToDelete.sibling;return null}function mapRemainingChildren(returnFiber,currentFirstChild){for(var existingChildren=new Map,existingChild=currentFirstChild;null!==existingChild;)null!==existingChild.key?existingChildren.set(existingChild.key,existingChild):existingChildren.set(existingChild.index,existingChild),existingChild=existingChild.sibling;return existingChildren}function useFiber(fiber,pendingProps,expirationTime){var clone=createWorkInProgress(fiber,pendingProps,expirationTime);return clone.index=0,clone.sibling=null,clone}function placeChild(newFiber,lastPlacedIndex,newIndex){if(newFiber.index=newIndex,!shouldTrackSideEffects)return lastPlacedIndex;var current=newFiber.alternate;if(null!==current){var oldIndex=current.index;return oldIndex<lastPlacedIndex?(newFiber.effectTag=Placement,lastPlacedIndex):oldIndex}return newFiber.effectTag=Placement,lastPlacedIndex}function placeSingleChild(newFiber){return shouldTrackSideEffects&&null===newFiber.alternate&&(newFiber.effectTag=Placement),newFiber}function updateTextNode(returnFiber,current,textContent,expirationTime){if(null===current||current.tag!==HostText){var created=createFiberFromText(textContent,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}var existing=useFiber(current,textContent,expirationTime);return existing.return=returnFiber,existing}function updateElement(returnFiber,current,element,expirationTime){if(null!==current&&current.type===element.type){var existing=useFiber(current,element.props,expirationTime);return existing.ref=coerceRef(current,element),existing.return=returnFiber,existing._debugSource=element._source,existing._debugOwner=element._owner,existing}var created=createFiberFromElement(element,returnFiber.internalContextTag,expirationTime);return created.ref=coerceRef(current,element),created.return=returnFiber,created}function updateCall(returnFiber,current,call,expirationTime){if(null===current||current.tag!==CallComponent){var created=createFiberFromCall(call,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}var existing=useFiber(current,call,expirationTime);return existing.return=returnFiber,existing}function updateReturn(returnFiber,current,returnNode,expirationTime){if(null===current||current.tag!==ReturnComponent){var created=createFiberFromReturn(0,returnFiber.internalContextTag,expirationTime);return created.type=returnNode.value,created.return=returnFiber,created}var existing=useFiber(current,null,expirationTime);return existing.type=returnNode.value,existing.return=returnFiber,existing}function updatePortal(returnFiber,current,portal,expirationTime){if(null===current||current.tag!==HostPortal||current.stateNode.containerInfo!==portal.containerInfo||current.stateNode.implementation!==portal.implementation){var created=createFiberFromPortal(portal,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}var existing=useFiber(current,portal.children||[],expirationTime);return existing.return=returnFiber,existing}function updateFragment(returnFiber,current,fragment,expirationTime,key){if(null===current||current.tag!==Fragment){var created=createFiberFromFragment(fragment,returnFiber.internalContextTag,expirationTime,key);return created.return=returnFiber,created}var existing=useFiber(current,fragment,expirationTime);return existing.return=returnFiber,existing}function createChild(returnFiber,newChild,expirationTime){if("string"==typeof newChild||"number"==typeof newChild){var created=createFiberFromText(""+newChild,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:if(newChild.type===REACT_FRAGMENT_TYPE){var _created=createFiberFromFragment(newChild.props.children,returnFiber.internalContextTag,expirationTime,newChild.key);return _created.return=returnFiber,_created}var _created2=createFiberFromElement(newChild,returnFiber.internalContextTag,expirationTime);return _created2.ref=coerceRef(null,newChild),_created2.return=returnFiber,_created2;case REACT_CALL_TYPE:var _created3=createFiberFromCall(newChild,returnFiber.internalContextTag,expirationTime);return _created3.return=returnFiber,_created3;case REACT_RETURN_TYPE:var _created4=createFiberFromReturn(0,returnFiber.internalContextTag,expirationTime);return _created4.type=newChild.value,_created4.return=returnFiber,_created4;case REACT_PORTAL_TYPE:var _created5=createFiberFromPortal(newChild,returnFiber.internalContextTag,expirationTime);return _created5.return=returnFiber,_created5}if(isArray$1(newChild)||getIteratorFn(newChild)){var _created6=createFiberFromFragment(newChild,returnFiber.internalContextTag,expirationTime,null);return _created6.return=returnFiber,_created6}throwOnInvalidObjectType(returnFiber,newChild)}return"function"==typeof newChild&&warnOnFunctionType(),null}function updateSlot(returnFiber,oldFiber,newChild,expirationTime){var key=null!==oldFiber?oldFiber.key:null;if("string"==typeof newChild||"number"==typeof newChild)return null!==key?null:updateTextNode(returnFiber,oldFiber,""+newChild,expirationTime);if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:return newChild.key===key?newChild.type===REACT_FRAGMENT_TYPE?updateFragment(returnFiber,oldFiber,newChild.props.children,expirationTime,key):updateElement(returnFiber,oldFiber,newChild,expirationTime):null;case REACT_CALL_TYPE:return newChild.key===key?updateCall(returnFiber,oldFiber,newChild,expirationTime):null;case REACT_RETURN_TYPE:return null===key?updateReturn(returnFiber,oldFiber,newChild,expirationTime):null;case REACT_PORTAL_TYPE:return newChild.key===key?updatePortal(returnFiber,oldFiber,newChild,expirationTime):null}if(isArray$1(newChild)||getIteratorFn(newChild))return null!==key?null:updateFragment(returnFiber,oldFiber,newChild,expirationTime,null);throwOnInvalidObjectType(returnFiber,newChild)}return"function"==typeof newChild&&warnOnFunctionType(),null}function updateFromMap(existingChildren,returnFiber,newIdx,newChild,expirationTime){if("string"==typeof newChild||"number"==typeof newChild)return updateTextNode(returnFiber,existingChildren.get(newIdx)||null,""+newChild,expirationTime);if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:var _matchedFiber=existingChildren.get(null===newChild.key?newIdx:newChild.key)||null;return newChild.type===REACT_FRAGMENT_TYPE?updateFragment(returnFiber,_matchedFiber,newChild.props.children,expirationTime,newChild.key):updateElement(returnFiber,_matchedFiber,newChild,expirationTime);case REACT_CALL_TYPE:return updateCall(returnFiber,existingChildren.get(null===newChild.key?newIdx:newChild.key)||null,newChild,expirationTime);case REACT_RETURN_TYPE:return updateReturn(returnFiber,existingChildren.get(newIdx)||null,newChild,expirationTime);case REACT_PORTAL_TYPE:return updatePortal(returnFiber,existingChildren.get(null===newChild.key?newIdx:newChild.key)||null,newChild,expirationTime)}if(isArray$1(newChild)||getIteratorFn(newChild))return updateFragment(returnFiber,existingChildren.get(newIdx)||null,newChild,expirationTime,null);throwOnInvalidObjectType(returnFiber,newChild)}return"function"==typeof newChild&&warnOnFunctionType(),null}function warnOnInvalidKey(child,knownKeys){if("object"!=typeof child||null===child)return knownKeys;switch(child.$$typeof){case REACT_ELEMENT_TYPE:case REACT_CALL_TYPE:case REACT_PORTAL_TYPE:warnForMissingKey(child);var key=child.key;if("string"!=typeof key)break;if(null===knownKeys){(knownKeys=new Set).add(key);break}if(!knownKeys.has(key)){knownKeys.add(key);break}warning(!1,"Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.%s",key,getCurrentFiberStackAddendum$1())}return knownKeys}return function(returnFiber,currentFirstChild,newChild,expirationTime){"object"==typeof newChild&&null!==newChild&&newChild.type===REACT_FRAGMENT_TYPE&&null===newChild.key&&(newChild=newChild.props.children);var isObject="object"==typeof newChild&&null!==newChild;if(isObject)switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:return placeSingleChild(function(returnFiber,currentFirstChild,element,expirationTime){for(var key=element.key,child=currentFirstChild;null!==child;){if(child.key===key){if(child.tag===Fragment?element.type===REACT_FRAGMENT_TYPE:child.type===element.type){deleteRemainingChildren(returnFiber,child.sibling);var existing=useFiber(child,element.type===REACT_FRAGMENT_TYPE?element.props.children:element.props,expirationTime);return existing.ref=coerceRef(child,element),existing.return=returnFiber,existing._debugSource=element._source,existing._debugOwner=element._owner,existing}deleteRemainingChildren(returnFiber,child);break}deleteChild(returnFiber,child),child=child.sibling}if(element.type===REACT_FRAGMENT_TYPE){var created=createFiberFromFragment(element.props.children,returnFiber.internalContextTag,expirationTime,element.key);return created.return=returnFiber,created}var _created7=createFiberFromElement(element,returnFiber.internalContextTag,expirationTime);return _created7.ref=coerceRef(currentFirstChild,element),_created7.return=returnFiber,_created7}(returnFiber,currentFirstChild,newChild,expirationTime));case REACT_CALL_TYPE:return placeSingleChild(function(returnFiber,currentFirstChild,call,expirationTime){for(var key=call.key,child=currentFirstChild;null!==child;){if(child.key===key){if(child.tag===CallComponent){deleteRemainingChildren(returnFiber,child.sibling);var existing=useFiber(child,call,expirationTime);return existing.return=returnFiber,existing}deleteRemainingChildren(returnFiber,child);break}deleteChild(returnFiber,child),child=child.sibling}var created=createFiberFromCall(call,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}(returnFiber,currentFirstChild,newChild,expirationTime));case REACT_RETURN_TYPE:return placeSingleChild(function(returnFiber,currentFirstChild,returnNode,expirationTime){var child=currentFirstChild;if(null!==child){if(child.tag===ReturnComponent){deleteRemainingChildren(returnFiber,child.sibling);var existing=useFiber(child,null,expirationTime);return existing.type=returnNode.value,existing.return=returnFiber,existing}deleteRemainingChildren(returnFiber,child)}var created=createFiberFromReturn(0,returnFiber.internalContextTag,expirationTime);return created.type=returnNode.value,created.return=returnFiber,created}(returnFiber,currentFirstChild,newChild,expirationTime));case REACT_PORTAL_TYPE:return placeSingleChild(function(returnFiber,currentFirstChild,portal,expirationTime){for(var key=portal.key,child=currentFirstChild;null!==child;){if(child.key===key){if(child.tag===HostPortal&&child.stateNode.containerInfo===portal.containerInfo&&child.stateNode.implementation===portal.implementation){deleteRemainingChildren(returnFiber,child.sibling);var existing=useFiber(child,portal.children||[],expirationTime);return existing.return=returnFiber,existing}deleteRemainingChildren(returnFiber,child);break}deleteChild(returnFiber,child),child=child.sibling}var created=createFiberFromPortal(portal,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}(returnFiber,currentFirstChild,newChild,expirationTime))}if("string"==typeof newChild||"number"==typeof newChild)return placeSingleChild(function(returnFiber,currentFirstChild,textContent,expirationTime){if(null!==currentFirstChild&&currentFirstChild.tag===HostText){deleteRemainingChildren(returnFiber,currentFirstChild.sibling);var existing=useFiber(currentFirstChild,textContent,expirationTime);return existing.return=returnFiber,existing}deleteRemainingChildren(returnFiber,currentFirstChild);var created=createFiberFromText(textContent,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}(returnFiber,currentFirstChild,""+newChild,expirationTime));if(isArray$1(newChild))return function(returnFiber,currentFirstChild,newChildren,expirationTime){for(var knownKeys=null,i=0;i<newChildren.length;i++)knownKeys=warnOnInvalidKey(newChildren[i],knownKeys);for(var resultingFirstChild=null,previousNewFiber=null,oldFiber=currentFirstChild,lastPlacedIndex=0,newIdx=0,nextOldFiber=null;null!==oldFiber&&newIdx<newChildren.length;newIdx++){oldFiber.index>newIdx?(nextOldFiber=oldFiber,oldFiber=null):nextOldFiber=oldFiber.sibling;var newFiber=updateSlot(returnFiber,oldFiber,newChildren[newIdx],expirationTime);if(null===newFiber){null===oldFiber&&(oldFiber=nextOldFiber);break}shouldTrackSideEffects&&oldFiber&&null===newFiber.alternate&&deleteChild(returnFiber,oldFiber),lastPlacedIndex=placeChild(newFiber,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=newFiber:previousNewFiber.sibling=newFiber,previousNewFiber=newFiber,oldFiber=nextOldFiber}if(newIdx===newChildren.length)return deleteRemainingChildren(returnFiber,oldFiber),resultingFirstChild;if(null===oldFiber){for(;newIdx<newChildren.length;newIdx++){var _newFiber=createChild(returnFiber,newChildren[newIdx],expirationTime);_newFiber&&(lastPlacedIndex=placeChild(_newFiber,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=_newFiber:previousNewFiber.sibling=_newFiber,previousNewFiber=_newFiber)}return resultingFirstChild}for(var existingChildren=mapRemainingChildren(0,oldFiber);newIdx<newChildren.length;newIdx++){var _newFiber2=updateFromMap(existingChildren,returnFiber,newIdx,newChildren[newIdx],expirationTime);_newFiber2&&(shouldTrackSideEffects&&null!==_newFiber2.alternate&&existingChildren.delete(null===_newFiber2.key?newIdx:_newFiber2.key),lastPlacedIndex=placeChild(_newFiber2,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=_newFiber2:previousNewFiber.sibling=_newFiber2,previousNewFiber=_newFiber2)}return shouldTrackSideEffects&&existingChildren.forEach(function(child){return deleteChild(returnFiber,child)}),resultingFirstChild}(returnFiber,currentFirstChild,newChild,expirationTime);if(getIteratorFn(newChild))return function(returnFiber,currentFirstChild,newChildrenIterable,expirationTime){var iteratorFn=getIteratorFn(newChildrenIterable);"function"!=typeof iteratorFn&&invariant(!1,"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue."),"function"==typeof newChildrenIterable.entries&&newChildrenIterable.entries===iteratorFn&&(warning(didWarnAboutMaps,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s",getCurrentFiberStackAddendum$1()),didWarnAboutMaps=!0);var _newChildren=iteratorFn.call(newChildrenIterable);if(_newChildren)for(var knownKeys=null,_step=_newChildren.next();!_step.done;_step=_newChildren.next())knownKeys=warnOnInvalidKey(_step.value,knownKeys);var newChildren=iteratorFn.call(newChildrenIterable);null==newChildren&&invariant(!1,"An iterable object provided no iterator.");for(var resultingFirstChild=null,previousNewFiber=null,oldFiber=currentFirstChild,lastPlacedIndex=0,newIdx=0,nextOldFiber=null,step=newChildren.next();null!==oldFiber&&!step.done;newIdx++,step=newChildren.next()){oldFiber.index>newIdx?(nextOldFiber=oldFiber,oldFiber=null):nextOldFiber=oldFiber.sibling;var newFiber=updateSlot(returnFiber,oldFiber,step.value,expirationTime);if(null===newFiber){oldFiber||(oldFiber=nextOldFiber);break}shouldTrackSideEffects&&oldFiber&&null===newFiber.alternate&&deleteChild(returnFiber,oldFiber),lastPlacedIndex=placeChild(newFiber,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=newFiber:previousNewFiber.sibling=newFiber,previousNewFiber=newFiber,oldFiber=nextOldFiber}if(step.done)return deleteRemainingChildren(returnFiber,oldFiber),resultingFirstChild;if(null===oldFiber){for(;!step.done;newIdx++,step=newChildren.next()){var _newFiber3=createChild(returnFiber,step.value,expirationTime);null!==_newFiber3&&(lastPlacedIndex=placeChild(_newFiber3,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=_newFiber3:previousNewFiber.sibling=_newFiber3,previousNewFiber=_newFiber3)}return resultingFirstChild}for(var existingChildren=mapRemainingChildren(0,oldFiber);!step.done;newIdx++,step=newChildren.next()){var _newFiber4=updateFromMap(existingChildren,returnFiber,newIdx,step.value,expirationTime);null!==_newFiber4&&(shouldTrackSideEffects&&null!==_newFiber4.alternate&&existingChildren.delete(null===_newFiber4.key?newIdx:_newFiber4.key),lastPlacedIndex=placeChild(_newFiber4,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=_newFiber4:previousNewFiber.sibling=_newFiber4,previousNewFiber=_newFiber4)}return shouldTrackSideEffects&&existingChildren.forEach(function(child){return deleteChild(returnFiber,child)}),resultingFirstChild}(returnFiber,currentFirstChild,newChild,expirationTime);if(isObject&&throwOnInvalidObjectType(returnFiber,newChild),"function"==typeof newChild&&warnOnFunctionType(),void 0===newChild)switch(returnFiber.tag){case ClassComponent:if(returnFiber.stateNode.render._isMockFunction)break;case FunctionalComponent:var Component=returnFiber.type;invariant(!1,"%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",Component.displayName||Component.name||"Component")}return deleteRemainingChildren(returnFiber,currentFirstChild)}}var reconcileChildFibers=ChildReconciler(!0),mountChildFibers=ChildReconciler(!1);var warnedAboutStatelessRefs={},ReactFiberBeginWork=function(config,hostContext,hydrationContext,scheduleWork,computeExpirationForFiber){var shouldSetTextContent=config.shouldSetTextContent,useSyncScheduling=config.useSyncScheduling,shouldDeprioritizeSubtree=config.shouldDeprioritizeSubtree,pushHostContext=hostContext.pushHostContext,pushHostContainer=hostContext.pushHostContainer,enterHydrationState=hydrationContext.enterHydrationState,resetHydrationState=hydrationContext.resetHydrationState,tryToClaimNextHydratableInstance=hydrationContext.tryToClaimNextHydratableInstance,_ReactFiberClassCompo=ReactFiberClassComponent(scheduleWork,computeExpirationForFiber,memoizeProps,memoizeState),adoptClassInstance=_ReactFiberClassCompo.adoptClassInstance,constructClassInstance=_ReactFiberClassCompo.constructClassInstance,mountClassInstance=_ReactFiberClassCompo.mountClassInstance,updateClassInstance=_ReactFiberClassCompo.updateClassInstance;function reconcileChildren(current,workInProgress,nextChildren){reconcileChildrenAtExpirationTime(current,workInProgress,nextChildren,workInProgress.expirationTime)}function reconcileChildrenAtExpirationTime(current,workInProgress,nextChildren,renderExpirationTime){workInProgress.child=null===current?mountChildFibers(workInProgress,null,nextChildren,renderExpirationTime):reconcileChildFibers(workInProgress,current.child,nextChildren,renderExpirationTime)}function markRef(current,workInProgress){var ref=workInProgress.ref;null===ref||current&&current.ref===ref||(workInProgress.effectTag|=Ref)}function finishClassComponent(current,workInProgress,shouldUpdate,hasContext){if(markRef(current,workInProgress),!shouldUpdate)return hasContext&&invalidateContextProvider(workInProgress,!1),bailoutOnAlreadyFinishedWork(current,workInProgress);var instance=workInProgress.stateNode;ReactCurrentOwner.current=workInProgress;var nextChildren;return ReactDebugCurrentFiber.setCurrentPhase("render"),nextChildren=instance.render(),debugRenderPhaseSideEffects&&instance.render(),ReactDebugCurrentFiber.setCurrentPhase(null),workInProgress.effectTag|=PerformedWork,reconcileChildren(current,workInProgress,nextChildren),memoizeState(workInProgress,instance.state),memoizeProps(workInProgress,instance.props),hasContext&&invalidateContextProvider(workInProgress,!0),workInProgress.child}function pushHostRootContext(workInProgress){var root=workInProgress.stateNode;root.pendingContext?pushTopLevelContextObject(workInProgress,root.pendingContext,root.pendingContext!==root.context):root.context&&pushTopLevelContextObject(workInProgress,root.context,!1),pushHostContainer(workInProgress,root.containerInfo)}function bailoutOnAlreadyFinishedWork(current,workInProgress){return cancelWorkTimer(workInProgress),function(current,workInProgress){if(null!==current&&workInProgress.child!==current.child&&invariant(!1,"Resuming work not yet implemented."),null!==workInProgress.child){var currentChild=workInProgress.child,newChild=createWorkInProgress(currentChild,currentChild.pendingProps,currentChild.expirationTime);for(workInProgress.child=newChild,newChild.return=workInProgress;null!==currentChild.sibling;)currentChild=currentChild.sibling,(newChild=newChild.sibling=createWorkInProgress(currentChild,currentChild.pendingProps,currentChild.expirationTime)).return=workInProgress;newChild.sibling=null}}(current,workInProgress),workInProgress.child}function bailoutOnLowPriority(current,workInProgress){switch(cancelWorkTimer(workInProgress),workInProgress.tag){case HostRoot:pushHostRootContext(workInProgress);break;case ClassComponent:pushContextProvider(workInProgress);break;case HostPortal:pushHostContainer(workInProgress,workInProgress.stateNode.containerInfo)}return null}function memoizeProps(workInProgress,nextProps){workInProgress.memoizedProps=nextProps}function memoizeState(workInProgress,nextState){workInProgress.memoizedState=nextState}return{beginWork:function(current,workInProgress,renderExpirationTime){if(workInProgress.expirationTime===NoWork||workInProgress.expirationTime>renderExpirationTime)return bailoutOnLowPriority(0,workInProgress);switch(workInProgress.tag){case IndeterminateComponent:return function(current,workInProgress,renderExpirationTime){null!==current&&invariant(!1,"An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.");var value,fn=workInProgress.type,props=workInProgress.pendingProps,context=getMaskedContext(workInProgress,getUnmaskedContext(workInProgress));if(fn.prototype&&"function"==typeof fn.prototype.render){var componentName=getComponentName(workInProgress);warning(!1,"The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",componentName,componentName)}if(ReactCurrentOwner.current=workInProgress,value=fn(props,context),workInProgress.effectTag|=PerformedWork,"object"==typeof value&&null!==value&&"function"==typeof value.render){workInProgress.tag=ClassComponent;var hasContext=pushContextProvider(workInProgress);return adoptClassInstance(workInProgress,value),mountClassInstance(workInProgress,renderExpirationTime),finishClassComponent(current,workInProgress,!0,hasContext)}workInProgress.tag=FunctionalComponent;var Component=workInProgress.type;if(Component&&warning(!Component.childContextTypes,"%s(...): childContextTypes cannot be defined on a functional component.",Component.displayName||Component.name||"Component"),null!==workInProgress.ref){var info="",ownerName=ReactDebugCurrentFiber.getCurrentFiberOwnerName();ownerName&&(info+="\n\nCheck the render method of `"+ownerName+"`.");var warningKey=ownerName||workInProgress._debugID||"",debugSource=workInProgress._debugSource;debugSource&&(warningKey=debugSource.fileName+":"+debugSource.lineNumber),warnedAboutStatelessRefs[warningKey]||(warnedAboutStatelessRefs[warningKey]=!0,warning(!1,"Stateless function components cannot be given refs. Attempts to access this ref will fail.%s%s",info,ReactDebugCurrentFiber.getCurrentFiberStackAddendum()))}return reconcileChildren(current,workInProgress,value),memoizeProps(workInProgress,props),workInProgress.child}(current,workInProgress,renderExpirationTime);case FunctionalComponent:return function(current,workInProgress){var fn=workInProgress.type,nextProps=workInProgress.pendingProps,memoizedProps=workInProgress.memoizedProps;if(hasContextChanged())null===nextProps&&(nextProps=memoizedProps);else if(null===nextProps||memoizedProps===nextProps)return bailoutOnAlreadyFinishedWork(current,workInProgress);var nextChildren,context=getMaskedContext(workInProgress,getUnmaskedContext(workInProgress));return ReactCurrentOwner.current=workInProgress,ReactDebugCurrentFiber.setCurrentPhase("render"),nextChildren=fn(nextProps,context),ReactDebugCurrentFiber.setCurrentPhase(null),workInProgress.effectTag|=PerformedWork,reconcileChildren(current,workInProgress,nextChildren),memoizeProps(workInProgress,nextProps),workInProgress.child}(current,workInProgress);case ClassComponent:return function(current,workInProgress,renderExpirationTime){var hasContext=pushContextProvider(workInProgress),shouldUpdate=void 0;return null===current?workInProgress.stateNode?invariant(!1,"Resuming work not yet implemented."):(constructClassInstance(workInProgress,workInProgress.pendingProps),mountClassInstance(workInProgress,renderExpirationTime),shouldUpdate=!0):shouldUpdate=updateClassInstance(current,workInProgress,renderExpirationTime),finishClassComponent(current,workInProgress,shouldUpdate,hasContext)}(current,workInProgress,renderExpirationTime);case HostRoot:return function(current,workInProgress,renderExpirationTime){pushHostRootContext(workInProgress);var updateQueue=workInProgress.updateQueue;if(null!==updateQueue){var prevState=workInProgress.memoizedState,state=processUpdateQueue(current,workInProgress,updateQueue,null,null,renderExpirationTime);if(prevState===state)return resetHydrationState(),bailoutOnAlreadyFinishedWork(current,workInProgress);var element=state.element,root=workInProgress.stateNode;return(null===current||null===current.child)&&root.hydrate&&enterHydrationState(workInProgress)?(workInProgress.effectTag|=Placement,workInProgress.child=mountChildFibers(workInProgress,null,element,renderExpirationTime)):(resetHydrationState(),reconcileChildren(current,workInProgress,element)),memoizeState(workInProgress,state),workInProgress.child}return resetHydrationState(),bailoutOnAlreadyFinishedWork(current,workInProgress)}(current,workInProgress,renderExpirationTime);case HostComponent:return function(current,workInProgress,renderExpirationTime){pushHostContext(workInProgress),null===current&&tryToClaimNextHydratableInstance(workInProgress);var type=workInProgress.type,memoizedProps=workInProgress.memoizedProps,nextProps=workInProgress.pendingProps;null===nextProps&&null===(nextProps=memoizedProps)&&invariant(!1,"We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue.");var prevProps=null!==current?current.memoizedProps:null;if(hasContextChanged());else if(null===nextProps||memoizedProps===nextProps)return bailoutOnAlreadyFinishedWork(current,workInProgress);var nextChildren=nextProps.children;return shouldSetTextContent(type,nextProps)?nextChildren=null:prevProps&&shouldSetTextContent(type,prevProps)&&(workInProgress.effectTag|=ContentReset),markRef(current,workInProgress),renderExpirationTime!==Never&&!useSyncScheduling&&shouldDeprioritizeSubtree(type,nextProps)?(workInProgress.expirationTime=Never,null):(reconcileChildren(current,workInProgress,nextChildren),memoizeProps(workInProgress,nextProps),workInProgress.child)}(current,workInProgress,renderExpirationTime);case HostText:return function(current,workInProgress){null===current&&tryToClaimNextHydratableInstance(workInProgress);var nextProps=workInProgress.pendingProps;return null===nextProps&&(nextProps=workInProgress.memoizedProps),memoizeProps(workInProgress,nextProps),null}(current,workInProgress);case CallHandlerPhase:workInProgress.tag=CallComponent;case CallComponent:return function(current,workInProgress,renderExpirationTime){var nextCall=workInProgress.pendingProps;hasContextChanged()?null===nextCall&&null===(nextCall=current&&current.memoizedProps)&&invariant(!1,"We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue."):null!==nextCall&&workInProgress.memoizedProps!==nextCall||(nextCall=workInProgress.memoizedProps);var nextChildren=nextCall.children;return workInProgress.stateNode=null===current?mountChildFibers(workInProgress,workInProgress.stateNode,nextChildren,renderExpirationTime):reconcileChildFibers(workInProgress,workInProgress.stateNode,nextChildren,renderExpirationTime),memoizeProps(workInProgress,nextCall),workInProgress.stateNode}(current,workInProgress,renderExpirationTime);case ReturnComponent:return null;case HostPortal:return function(current,workInProgress,renderExpirationTime){pushHostContainer(workInProgress,workInProgress.stateNode.containerInfo);var nextChildren=workInProgress.pendingProps;if(hasContextChanged())null===nextChildren&&null==(nextChildren=current&&current.memoizedProps)&&invariant(!1,"We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue.");else if(null===nextChildren||workInProgress.memoizedProps===nextChildren)return bailoutOnAlreadyFinishedWork(current,workInProgress);return null===current?(workInProgress.child=reconcileChildFibers(workInProgress,null,nextChildren,renderExpirationTime),memoizeProps(workInProgress,nextChildren)):(reconcileChildren(current,workInProgress,nextChildren),memoizeProps(workInProgress,nextChildren)),workInProgress.child}(current,workInProgress,renderExpirationTime);case Fragment:return function(current,workInProgress){var nextChildren=workInProgress.pendingProps;if(hasContextChanged())null===nextChildren&&(nextChildren=workInProgress.memoizedProps);else if(null===nextChildren||workInProgress.memoizedProps===nextChildren)return bailoutOnAlreadyFinishedWork(current,workInProgress);return reconcileChildren(current,workInProgress,nextChildren),memoizeProps(workInProgress,nextChildren),workInProgress.child}(current,workInProgress);default:invariant(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}},beginFailedWork:function(current,workInProgress,renderExpirationTime){switch(workInProgress.tag){case ClassComponent:pushContextProvider(workInProgress);break;case HostRoot:pushHostRootContext(workInProgress);break;default:invariant(!1,"Invalid type of work. This error is likely caused by a bug in React. Please file an issue.")}if(workInProgress.effectTag|=Err,null===current?workInProgress.child=null:workInProgress.child!==current.child&&(workInProgress.child=current.child),workInProgress.expirationTime===NoWork||workInProgress.expirationTime>renderExpirationTime)return bailoutOnLowPriority(0,workInProgress);if(workInProgress.firstEffect=null,workInProgress.lastEffect=null,reconcileChildrenAtExpirationTime(current,workInProgress,null,renderExpirationTime),workInProgress.tag===ClassComponent){var instance=workInProgress.stateNode;workInProgress.memoizedProps=instance.props,workInProgress.memoizedState=instance.state}return workInProgress.child}}},ReactFiberCompleteWork=function(config,hostContext,hydrationContext){var createInstance=config.createInstance,createTextInstance=config.createTextInstance,appendInitialChild=config.appendInitialChild,finalizeInitialChildren=config.finalizeInitialChildren,prepareUpdate=config.prepareUpdate,mutation=config.mutation,persistence=config.persistence,getRootHostContainer=hostContext.getRootHostContainer,popHostContext=hostContext.popHostContext,getHostContext=hostContext.getHostContext,popHostContainer=hostContext.popHostContainer,prepareToHydrateHostInstance=hydrationContext.prepareToHydrateHostInstance,prepareToHydrateHostTextInstance=hydrationContext.prepareToHydrateHostTextInstance,popHydrationState=hydrationContext.popHydrationState;function markUpdate(workInProgress){workInProgress.effectTag|=Update}function markRef(workInProgress){workInProgress.effectTag|=Ref}function moveCallToHandlerPhase(current,workInProgress,renderExpirationTime){var call=workInProgress.memoizedProps;call||invariant(!1,"Should be resolved by now. This error is likely caused by a bug in React. Please file an issue."),workInProgress.tag=CallHandlerPhase;var returns=[];!function(returns,workInProgress){var node=workInProgress.stateNode;for(node&&(node.return=workInProgress);null!==node;){if(node.tag===HostComponent||node.tag===HostText||node.tag===HostPortal)invariant(!1,"A call cannot have host component children.");else if(node.tag===ReturnComponent)returns.push(node.type);else if(null!==node.child){node.child.return=node,node=node.child;continue}for(;null===node.sibling;){if(null===node.return||node.return===workInProgress)return;node=node.return}node.sibling.return=node.return,node=node.sibling}}(returns,workInProgress);var nextChildren=(0,call.handler)(call.props,returns),currentFirstChild=null!==current?current.child:null;return workInProgress.child=reconcileChildFibers(workInProgress,currentFirstChild,nextChildren,renderExpirationTime),workInProgress.child}function appendAllChildren(parent,workInProgress){for(var node=workInProgress.child;null!==node;){if(node.tag===HostComponent||node.tag===HostText)appendInitialChild(parent,node.stateNode);else if(node.tag===HostPortal);else if(null!==node.child){node.child.return=node,node=node.child;continue}if(node===workInProgress)return;for(;null===node.sibling;){if(null===node.return||node.return===workInProgress)return;node=node.return}node.sibling.return=node.return,node=node.sibling}}var updateHostContainer=void 0,updateHostComponent=void 0,updateHostText=void 0;if(mutation)enableMutatingReconciler?(updateHostContainer=function(workInProgress){},updateHostComponent=function(current,workInProgress,updatePayload,type,oldProps,newProps,rootContainerInstance){workInProgress.updateQueue=updatePayload,updatePayload&&markUpdate(workInProgress)},updateHostText=function(current,workInProgress,oldText,newText){oldText!==newText&&markUpdate(workInProgress)}):invariant(!1,"Mutating reconciler is disabled.");else if(persistence)if(enablePersistentReconciler){var cloneInstance=persistence.cloneInstance,createContainerChildSet=persistence.createContainerChildSet,appendChildToContainerChildSet=persistence.appendChildToContainerChildSet,finalizeContainerChildren=persistence.finalizeContainerChildren;updateHostContainer=function(workInProgress){var portalOrRoot=workInProgress.stateNode;if(null===workInProgress.firstEffect);else{var container=portalOrRoot.containerInfo,newChildSet=createContainerChildSet(container);finalizeContainerChildren(container,newChildSet)&&markUpdate(workInProgress),portalOrRoot.pendingChildren=newChildSet,function(containerChildSet,workInProgress){for(var node=workInProgress.child;null!==node;){if(node.tag===HostComponent||node.tag===HostText)appendChildToContainerChildSet(containerChildSet,node.stateNode);else if(node.tag===HostPortal);else if(null!==node.child){node.child.return=node,node=node.child;continue}if(node===workInProgress)return;for(;null===node.sibling;){if(null===node.return||node.return===workInProgress)return;node=node.return}node.sibling.return=node.return,node=node.sibling}}(newChildSet,workInProgress),markUpdate(workInProgress)}},updateHostComponent=function(current,workInProgress,updatePayload,type,oldProps,newProps,rootContainerInstance){var childrenUnchanged=null===workInProgress.firstEffect,currentInstance=current.stateNode;if(childrenUnchanged&&null===updatePayload)workInProgress.stateNode=currentInstance;else{var recyclableInstance=workInProgress.stateNode,newInstance=cloneInstance(currentInstance,updatePayload,type,oldProps,newProps,workInProgress,childrenUnchanged,recyclableInstance);finalizeInitialChildren(newInstance,type,newProps,rootContainerInstance)&&markUpdate(workInProgress),workInProgress.stateNode=newInstance,childrenUnchanged?markUpdate(workInProgress):appendAllChildren(newInstance,workInProgress)}},updateHostText=function(current,workInProgress,oldText,newText){if(oldText!==newText){var rootContainerInstance=getRootHostContainer(),currentHostContext=getHostContext();workInProgress.stateNode=createTextInstance(newText,rootContainerInstance,currentHostContext,workInProgress),markUpdate(workInProgress)}}}else invariant(!1,"Persistent reconciler is disabled.");else invariant(!1,"Noop reconciler is disabled.");return{completeWork:function(current,workInProgress,renderExpirationTime){var fiber,newProps=workInProgress.pendingProps;switch(null===newProps?newProps=workInProgress.memoizedProps:workInProgress.expirationTime===Never&&renderExpirationTime!==Never||(workInProgress.pendingProps=null),workInProgress.tag){case FunctionalComponent:return null;case ClassComponent:return popContextProvider(workInProgress),null;case HostRoot:popHostContainer(workInProgress),pop(didPerformWorkStackCursor,fiber=workInProgress),pop(contextStackCursor,fiber);var fiberRoot=workInProgress.stateNode;return fiberRoot.pendingContext&&(fiberRoot.context=fiberRoot.pendingContext,fiberRoot.pendingContext=null),null!==current&&null!==current.child||(popHydrationState(workInProgress),workInProgress.effectTag&=~Placement),updateHostContainer(workInProgress),null;case HostComponent:popHostContext(workInProgress);var rootContainerInstance=getRootHostContainer(),type=workInProgress.type;if(null!==current&&null!=workInProgress.stateNode){var oldProps=current.memoizedProps,instance=workInProgress.stateNode,currentHostContext=getHostContext(),updatePayload=prepareUpdate(instance,type,oldProps,newProps,rootContainerInstance,currentHostContext);updateHostComponent(current,workInProgress,updatePayload,type,oldProps,newProps,rootContainerInstance),current.ref!==workInProgress.ref&&markRef(workInProgress)}else{if(!newProps)return null===workInProgress.stateNode&&invariant(!1,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;var _currentHostContext=getHostContext();if(popHydrationState(workInProgress))prepareToHydrateHostInstance(workInProgress,rootContainerInstance,_currentHostContext)&&markUpdate(workInProgress);else{var _instance=createInstance(type,newProps,rootContainerInstance,_currentHostContext,workInProgress);appendAllChildren(_instance,workInProgress),finalizeInitialChildren(_instance,type,newProps,rootContainerInstance)&&markUpdate(workInProgress),workInProgress.stateNode=_instance}null!==workInProgress.ref&&markRef(workInProgress)}return null;case HostText:var newText=newProps;if(current&&null!=workInProgress.stateNode){var oldText=current.memoizedProps;updateHostText(current,workInProgress,oldText,newText)}else{if("string"!=typeof newText)return null===workInProgress.stateNode&&invariant(!1,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;var _rootContainerInstance=getRootHostContainer(),_currentHostContext2=getHostContext();popHydrationState(workInProgress)?prepareToHydrateHostTextInstance(workInProgress)&&markUpdate(workInProgress):workInProgress.stateNode=createTextInstance(newText,_rootContainerInstance,_currentHostContext2,workInProgress)}return null;case CallComponent:return moveCallToHandlerPhase(current,workInProgress,renderExpirationTime);case CallHandlerPhase:return workInProgress.tag=CallComponent,null;case ReturnComponent:case Fragment:return null;case HostPortal:return popHostContainer(workInProgress),updateHostContainer(workInProgress),null;case IndeterminateComponent:invariant(!1,"An indeterminate component should have become determinate before completing. This error is likely caused by a bug in React. Please file an issue.");default:invariant(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}}},invokeGuardedCallback$2=ReactErrorUtils.invokeGuardedCallback,hasCaughtError$1=ReactErrorUtils.hasCaughtError,clearCaughtError$1=ReactErrorUtils.clearCaughtError,ReactFiberCommitWork=function(config,captureError){var getPublicInstance=config.getPublicInstance,mutation=config.mutation,persistence=config.persistence,callComponentWillUnmountWithTimer=function(current,instance){startPhaseTimer(current,"componentWillUnmount"),instance.props=current.memoizedProps,instance.state=current.memoizedState,instance.componentWillUnmount(),stopPhaseTimer()};function safelyDetachRef(current){var ref=current.ref;if(null!==ref&&(invokeGuardedCallback$2(null,ref,null,null),hasCaughtError$1())){var refError=clearCaughtError$1();captureError(current,refError)}}function commitLifeCycles(current,finishedWork){switch(finishedWork.tag){case ClassComponent:var instance=finishedWork.stateNode;if(finishedWork.effectTag&Update)if(null===current)startPhaseTimer(finishedWork,"componentDidMount"),instance.props=finishedWork.memoizedProps,instance.state=finishedWork.memoizedState,instance.componentDidMount(),stopPhaseTimer();else{var prevProps=current.memoizedProps,prevState=current.memoizedState;startPhaseTimer(finishedWork,"componentDidUpdate"),instance.props=finishedWork.memoizedProps,instance.state=finishedWork.memoizedState,instance.componentDidUpdate(prevProps,prevState),stopPhaseTimer()}var updateQueue=finishedWork.updateQueue;return void(null!==updateQueue&&commitCallbacks(updateQueue,instance));case HostRoot:var _updateQueue=finishedWork.updateQueue;if(null!==_updateQueue)commitCallbacks(_updateQueue,null!==finishedWork.child?finishedWork.child.stateNode:null);return;case HostComponent:var _instance2=finishedWork.stateNode;if(null===current&&finishedWork.effectTag&Update){var type=finishedWork.type,props=finishedWork.memoizedProps;commitMount(_instance2,type,props,finishedWork)}return;case HostText:case HostPortal:return;default:invariant(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function commitAttachRef(finishedWork){var ref=finishedWork.ref;if(null!==ref){var instance=finishedWork.stateNode;switch(finishedWork.tag){case HostComponent:ref(getPublicInstance(instance));break;default:ref(instance)}}}function commitDetachRef(current){var currentRef=current.ref;null!==currentRef&&currentRef(null)}function commitUnmount(current){switch(onCommitUnmount(current),current.tag){case ClassComponent:safelyDetachRef(current);var instance=current.stateNode;return void("function"==typeof instance.componentWillUnmount&&function(current,instance){if(invokeGuardedCallback$2(null,callComponentWillUnmountWithTimer,null,current,instance),hasCaughtError$1()){var unmountError=clearCaughtError$1();captureError(current,unmountError)}}(current,instance));case HostComponent:return void safelyDetachRef(current);case CallComponent:return void commitNestedUnmounts(current.stateNode);case HostPortal:return void(enableMutatingReconciler&&mutation?unmountHostComponents(current):enablePersistentReconciler&&persistence&&emptyPortalContainer(current))}}function commitNestedUnmounts(root){for(var node=root;;)if(commitUnmount(node),null===node.child||mutation&&node.tag===HostPortal){if(node===root)return;for(;null===node.sibling;){if(null===node.return||node.return===root)return;node=node.return}node.sibling.return=node.return,node=node.sibling}else node.child.return=node,node=node.child}function detachFiber(current){current.return=null,current.child=null,current.alternate&&(current.alternate.child=null,current.alternate.return=null)}if(!mutation){var commitContainer=void 0;if(persistence){var replaceContainerChildren=persistence.replaceContainerChildren,createContainerChildSet=persistence.createContainerChildSet,emptyPortalContainer=function(current){var containerInfo=current.stateNode.containerInfo,emptyChildSet=createContainerChildSet(containerInfo);replaceContainerChildren(containerInfo,emptyChildSet)};commitContainer=function(finishedWork){switch(finishedWork.tag){case ClassComponent:case HostComponent:case HostText:return;case HostRoot:case HostPortal:var portalOrRoot=finishedWork.stateNode,containerInfo=portalOrRoot.containerInfo,_pendingChildren=portalOrRoot.pendingChildren;return void replaceContainerChildren(containerInfo,_pendingChildren);default:invariant(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}}else commitContainer=function(finishedWork){};if(enablePersistentReconciler)return{commitResetTextContent:function(finishedWork){},commitPlacement:function(finishedWork){},commitDeletion:function(current){commitNestedUnmounts(current),detachFiber(current)},commitWork:function(current,finishedWork){commitContainer(finishedWork)},commitLifeCycles:commitLifeCycles,commitAttachRef:commitAttachRef,commitDetachRef:commitDetachRef};invariant(!1,persistence?"Persistent reconciler is disabled.":"Noop reconciler is disabled.")}var commitMount=mutation.commitMount,commitUpdate=mutation.commitUpdate,resetTextContent=mutation.resetTextContent,commitTextUpdate=mutation.commitTextUpdate,appendChild=mutation.appendChild,appendChildToContainer=mutation.appendChildToContainer,insertBefore=mutation.insertBefore,insertInContainerBefore=mutation.insertInContainerBefore,removeChild=mutation.removeChild,removeChildFromContainer=mutation.removeChildFromContainer;function isHostParent(fiber){return fiber.tag===HostComponent||fiber.tag===HostRoot||fiber.tag===HostPortal}function unmountHostComponents(current){for(var node=current,currentParentIsValid=!1,currentParent=void 0,currentParentIsContainer=void 0;;){if(!currentParentIsValid){var parent=node.return;findParent:for(;;){switch(null===parent&&invariant(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."),parent.tag){case HostComponent:currentParent=parent.stateNode,currentParentIsContainer=!1;break findParent;case HostRoot:case HostPortal:currentParent=parent.stateNode.containerInfo,currentParentIsContainer=!0;break findParent}parent=parent.return}currentParentIsValid=!0}if(node.tag===HostComponent||node.tag===HostText)commitNestedUnmounts(node),currentParentIsContainer?removeChildFromContainer(currentParent,node.stateNode):removeChild(currentParent,node.stateNode);else if(node.tag===HostPortal){if(currentParent=node.stateNode.containerInfo,null!==node.child){node.child.return=node,node=node.child;continue}}else if(commitUnmount(node),null!==node.child){node.child.return=node,node=node.child;continue}if(node===current)return;for(;null===node.sibling;){if(null===node.return||node.return===current)return;(node=node.return).tag===HostPortal&&(currentParentIsValid=!1)}node.sibling.return=node.return,node=node.sibling}}if(enableMutatingReconciler)return{commitResetTextContent:function(current){resetTextContent(current.stateNode)},commitPlacement:function(finishedWork){var parentFiber=function(fiber){for(var parent=fiber.return;null!==parent;){if(isHostParent(parent))return parent;parent=parent.return}invariant(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(finishedWork),parent=void 0,isContainer=void 0;switch(parentFiber.tag){case HostComponent:parent=parentFiber.stateNode,isContainer=!1;break;case HostRoot:case HostPortal:parent=parentFiber.stateNode.containerInfo,isContainer=!0;break;default:invariant(!1,"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}parentFiber.effectTag&ContentReset&&(resetTextContent(parent),parentFiber.effectTag&=~ContentReset);for(var before=function(fiber){var node=fiber;siblings:for(;;){for(;null===node.sibling;){if(null===node.return||isHostParent(node.return))return null;node=node.return}for(node.sibling.return=node.return,node=node.sibling;node.tag!==HostComponent&&node.tag!==HostText;){if(node.effectTag&Placement)continue siblings;if(null===node.child||node.tag===HostPortal)continue siblings;node.child.return=node,node=node.child}if(!(node.effectTag&Placement))return node.stateNode}}(finishedWork),node=finishedWork;;){if(node.tag===HostComponent||node.tag===HostText)before?isContainer?insertInContainerBefore(parent,node.stateNode,before):insertBefore(parent,node.stateNode,before):isContainer?appendChildToContainer(parent,node.stateNode):appendChild(parent,node.stateNode);else if(node.tag===HostPortal);else if(null!==node.child){node.child.return=node,node=node.child;continue}if(node===finishedWork)return;for(;null===node.sibling;){if(null===node.return||node.return===finishedWork)return;node=node.return}node.sibling.return=node.return,node=node.sibling}},commitDeletion:function(current){unmountHostComponents(current),detachFiber(current)},commitWork:function(current,finishedWork){switch(finishedWork.tag){case ClassComponent:return;case HostComponent:var instance=finishedWork.stateNode;if(null!=instance){var newProps=finishedWork.memoizedProps,oldProps=null!==current?current.memoizedProps:newProps,type=finishedWork.type,updatePayload=finishedWork.updateQueue;finishedWork.updateQueue=null,null!==updatePayload&&commitUpdate(instance,updatePayload,type,oldProps,newProps,finishedWork)}return;case HostText:null===finishedWork.stateNode&&invariant(!1,"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var textInstance=finishedWork.stateNode,newText=finishedWork.memoizedProps,oldText=null!==current?current.memoizedProps:newText;return void commitTextUpdate(textInstance,oldText,newText);case HostRoot:return;default:invariant(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}},commitLifeCycles:commitLifeCycles,commitAttachRef:commitAttachRef,commitDetachRef:commitDetachRef};invariant(!1,"Mutating reconciler is disabled.")},NO_CONTEXT={},ReactFiberHydrationContext=function(config){var shouldSetTextContent=config.shouldSetTextContent,hydration=config.hydration;if(!hydration)return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){invariant(!1,"Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.")},prepareToHydrateHostTextInstance:function(){invariant(!1,"Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.")},popHydrationState:function(fiber){return!1}};var canHydrateInstance=hydration.canHydrateInstance,canHydrateTextInstance=hydration.canHydrateTextInstance,getNextHydratableSibling=hydration.getNextHydratableSibling,getFirstHydratableChild=hydration.getFirstHydratableChild,hydrateInstance=hydration.hydrateInstance,hydrateTextInstance=hydration.hydrateTextInstance,didNotMatchHydratedContainerTextInstance=hydration.didNotMatchHydratedContainerTextInstance,didNotMatchHydratedTextInstance=hydration.didNotMatchHydratedTextInstance,didNotHydrateContainerInstance=hydration.didNotHydrateContainerInstance,didNotHydrateInstance=hydration.didNotHydrateInstance,didNotFindHydratableContainerInstance=hydration.didNotFindHydratableContainerInstance,didNotFindHydratableContainerTextInstance=hydration.didNotFindHydratableContainerTextInstance,didNotFindHydratableInstance=hydration.didNotFindHydratableInstance,didNotFindHydratableTextInstance=hydration.didNotFindHydratableTextInstance,hydrationParentFiber=null,nextHydratableInstance=null,isHydrating=!1;function deleteHydratableInstance(returnFiber,instance){switch(returnFiber.tag){case HostRoot:didNotHydrateContainerInstance(returnFiber.stateNode.containerInfo,instance);break;case HostComponent:didNotHydrateInstance(returnFiber.type,returnFiber.memoizedProps,returnFiber.stateNode,instance)}var fiber,childToDelete=((fiber=createFiber(HostComponent,null,NoContext)).type="DELETED",fiber);childToDelete.stateNode=instance,childToDelete.return=returnFiber,childToDelete.effectTag=Deletion,null!==returnFiber.lastEffect?(returnFiber.lastEffect.nextEffect=childToDelete,returnFiber.lastEffect=childToDelete):returnFiber.firstEffect=returnFiber.lastEffect=childToDelete}function insertNonHydratedInstance(returnFiber,fiber){switch(fiber.effectTag|=Placement,returnFiber.tag){case HostRoot:var parentContainer=returnFiber.stateNode.containerInfo;switch(fiber.tag){case HostComponent:var type=fiber.type,props=fiber.pendingProps;didNotFindHydratableContainerInstance(parentContainer,type,props);break;case HostText:var text=fiber.pendingProps;didNotFindHydratableContainerTextInstance(parentContainer,text)}break;case HostComponent:var parentType=returnFiber.type,parentProps=returnFiber.memoizedProps,parentInstance=returnFiber.stateNode;switch(fiber.tag){case HostComponent:var _type=fiber.type,_props=fiber.pendingProps;didNotFindHydratableInstance(parentType,parentProps,parentInstance,_type,_props);break;case HostText:var _text=fiber.pendingProps;didNotFindHydratableTextInstance(parentType,parentProps,parentInstance,_text)}break;default:return}}function tryHydrate(fiber,nextInstance){switch(fiber.tag){case HostComponent:var type=fiber.type,props=fiber.pendingProps,instance=canHydrateInstance(nextInstance,type,props);return null!==instance&&(fiber.stateNode=instance,!0);case HostText:var text=fiber.pendingProps,textInstance=canHydrateTextInstance(nextInstance,text);return null!==textInstance&&(fiber.stateNode=textInstance,!0);default:return!1}}function popToNextHostParent(fiber){for(var parent=fiber.return;null!==parent&&parent.tag!==HostComponent&&parent.tag!==HostRoot;)parent=parent.return;hydrationParentFiber=parent}return{enterHydrationState:function(fiber){var parentInstance=fiber.stateNode.containerInfo;return nextHydratableInstance=getFirstHydratableChild(parentInstance),hydrationParentFiber=fiber,isHydrating=!0,!0},resetHydrationState:function(){hydrationParentFiber=null,nextHydratableInstance=null,isHydrating=!1},tryToClaimNextHydratableInstance:function(fiber){if(isHydrating){var nextInstance=nextHydratableInstance;if(!nextInstance)return insertNonHydratedInstance(hydrationParentFiber,fiber),isHydrating=!1,void(hydrationParentFiber=fiber);if(!tryHydrate(fiber,nextInstance)){if(!(nextInstance=getNextHydratableSibling(nextInstance))||!tryHydrate(fiber,nextInstance))return insertNonHydratedInstance(hydrationParentFiber,fiber),isHydrating=!1,void(hydrationParentFiber=fiber);deleteHydratableInstance(hydrationParentFiber,nextHydratableInstance)}hydrationParentFiber=fiber,nextHydratableInstance=getFirstHydratableChild(nextInstance)}},prepareToHydrateHostInstance:function(fiber,rootContainerInstance,hostContext){var instance=fiber.stateNode,updatePayload=hydrateInstance(instance,fiber.type,fiber.memoizedProps,rootContainerInstance,hostContext,fiber);return fiber.updateQueue=updatePayload,null!==updatePayload},prepareToHydrateHostTextInstance:function(fiber){var textInstance=fiber.stateNode,textContent=fiber.memoizedProps,shouldUpdate=hydrateTextInstance(textInstance,textContent,fiber);if(shouldUpdate){var returnFiber=hydrationParentFiber;if(null!==returnFiber)switch(returnFiber.tag){case HostRoot:var parentContainer=returnFiber.stateNode.containerInfo;didNotMatchHydratedContainerTextInstance(parentContainer,textInstance,textContent);break;case HostComponent:var parentType=returnFiber.type,parentProps=returnFiber.memoizedProps,parentInstance=returnFiber.stateNode;didNotMatchHydratedTextInstance(parentType,parentProps,parentInstance,textInstance,textContent)}}return shouldUpdate},popHydrationState:function(fiber){if(fiber!==hydrationParentFiber)return!1;if(!isHydrating)return popToNextHostParent(fiber),isHydrating=!0,!1;var type=fiber.type;if(fiber.tag!==HostComponent||"head"!==type&&"body"!==type&&!shouldSetTextContent(type,fiber.memoizedProps))for(var nextInstance=nextHydratableInstance;nextInstance;)deleteHydratableInstance(fiber,nextInstance),nextInstance=getNextHydratableSibling(nextInstance);return popToNextHostParent(fiber),nextHydratableInstance=hydrationParentFiber?getNextHydratableSibling(fiber.stateNode):null,!0}}},ReactFiberInstrumentation_1={debugTool:null},showDialog=function(capturedError){return!0};var invokeGuardedCallback$1=ReactErrorUtils.invokeGuardedCallback,hasCaughtError=ReactErrorUtils.hasCaughtError,clearCaughtError=ReactErrorUtils.clearCaughtError,didWarnAboutStateTransition=!1,didWarnSetStateChildContext=!1,didWarnStateUpdateForUnmountedComponent={},warnAboutUpdateOnUnmounted=function(fiber){var componentName=getComponentName(fiber)||"ReactClass";didWarnStateUpdateForUnmountedComponent[componentName]||(warning(!1,"Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This is a no-op.\n\nPlease check the code for the %s component.",componentName),didWarnStateUpdateForUnmountedComponent[componentName]=!0)},warnAboutInvalidUpdates=function(instance){switch(ReactDebugCurrentFiber.phase){case"getChildContext":if(didWarnSetStateChildContext)return;warning(!1,"setState(...): Cannot call setState() inside getChildContext()"),didWarnSetStateChildContext=!0;break;case"render":if(didWarnAboutStateTransition)return;warning(!1,"Cannot update during an existing state transition (such as within `render` or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to `componentWillMount`."),didWarnAboutStateTransition=!0}},ReactFiberScheduler=function(config){var hostContext=function(config){var getChildHostContext=config.getChildHostContext,getRootHostContext=config.getRootHostContext,contextStackCursor=createCursor(NO_CONTEXT),contextFiberStackCursor=createCursor(NO_CONTEXT),rootInstanceStackCursor=createCursor(NO_CONTEXT);function requiredContext(c){return c===NO_CONTEXT&&invariant(!1,"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),c}return{getHostContext:function(){return requiredContext(contextStackCursor.current)},getRootHostContainer:function(){return requiredContext(rootInstanceStackCursor.current)},popHostContainer:function(fiber){pop(contextStackCursor,fiber),pop(contextFiberStackCursor,fiber),pop(rootInstanceStackCursor,fiber)},popHostContext:function(fiber){contextFiberStackCursor.current===fiber&&(pop(contextStackCursor,fiber),pop(contextFiberStackCursor,fiber))},pushHostContainer:function(fiber,nextRootInstance){push(rootInstanceStackCursor,nextRootInstance,fiber);var nextRootContext=getRootHostContext(nextRootInstance);push(contextFiberStackCursor,fiber,fiber),push(contextStackCursor,nextRootContext,fiber)},pushHostContext:function(fiber){var rootInstance=requiredContext(rootInstanceStackCursor.current),context=requiredContext(contextStackCursor.current),nextContext=getChildHostContext(context,fiber.type,rootInstance);context!==nextContext&&(push(contextFiberStackCursor,fiber,fiber),push(contextStackCursor,nextContext,fiber))},resetHostContainer:function(){contextStackCursor.current=NO_CONTEXT,rootInstanceStackCursor.current=NO_CONTEXT}}}(config),hydrationContext=ReactFiberHydrationContext(config),popHostContainer=hostContext.popHostContainer,popHostContext=hostContext.popHostContext,resetHostContainer=hostContext.resetHostContainer,_ReactFiberBeginWork=ReactFiberBeginWork(config,hostContext,hydrationContext,scheduleWork,computeExpirationForFiber),beginWork=_ReactFiberBeginWork.beginWork,beginFailedWork=_ReactFiberBeginWork.beginFailedWork,completeWork=ReactFiberCompleteWork(config,hostContext,hydrationContext).completeWork,_ReactFiberCommitWork=ReactFiberCommitWork(config,captureError),commitResetTextContent=_ReactFiberCommitWork.commitResetTextContent,commitPlacement=_ReactFiberCommitWork.commitPlacement,commitDeletion=_ReactFiberCommitWork.commitDeletion,commitWork=_ReactFiberCommitWork.commitWork,commitLifeCycles=_ReactFiberCommitWork.commitLifeCycles,commitAttachRef=_ReactFiberCommitWork.commitAttachRef,commitDetachRef=_ReactFiberCommitWork.commitDetachRef,now=config.now,scheduleDeferredCallback=config.scheduleDeferredCallback,cancelDeferredCallback=config.cancelDeferredCallback,useSyncScheduling=config.useSyncScheduling,prepareForCommit=config.prepareForCommit,resetAfterCommit=config.resetAfterCommit,startTime=now(),mostRecentCurrentTime=msToExpirationTime(0),expirationContext=NoWork,isWorking=!1,nextUnitOfWork=null,nextRoot=null,nextRenderExpirationTime=NoWork,nextEffect=null,capturedErrors=null,failedBoundaries=null,commitPhaseBoundaries=null,firstUncaughtError=null,didFatal=!1,isCommitting=!1,isUnmounting=!1,interruptedBy=null;function resetContextStack(){!function(){for(;index>-1;)valueStack[index]=null,fiberStack[index]=null,index--}(),previousContext=emptyObject,contextStackCursor.current=emptyObject,didPerformWorkStackCursor.current=!1,resetHostContainer()}function commitAllHostEffects(){for(;null!==nextEffect;){ReactDebugCurrentFiber.setCurrentFiber(nextEffect),recordEffect();var effectTag=nextEffect.effectTag;if(effectTag&ContentReset&&commitResetTextContent(nextEffect),effectTag&Ref){var current=nextEffect.alternate;null!==current&&commitDetachRef(current)}switch(effectTag&~(Callback|Err|ContentReset|Ref|PerformedWork)){case Placement:commitPlacement(nextEffect),nextEffect.effectTag&=~Placement;break;case PlacementAndUpdate:commitPlacement(nextEffect),nextEffect.effectTag&=~Placement;var _current=nextEffect.alternate;commitWork(_current,nextEffect);break;case Update:var _current2=nextEffect.alternate;commitWork(_current2,nextEffect);break;case Deletion:isUnmounting=!0,commitDeletion(nextEffect),isUnmounting=!1}nextEffect=nextEffect.nextEffect}ReactDebugCurrentFiber.resetCurrentFiber()}function commitAllLifeCycles(){for(;null!==nextEffect;){var effectTag=nextEffect.effectTag;if(effectTag&(Update|Callback)){recordEffect();var current=nextEffect.alternate;commitLifeCycles(current,nextEffect)}effectTag&Ref&&(recordEffect(),commitAttachRef(nextEffect)),effectTag&Err&&(recordEffect(),commitErrorHandling(nextEffect));var next=nextEffect.nextEffect;nextEffect.nextEffect=null,nextEffect=next}}function commitRoot(finishedWork){isWorking=!0,isCommitting=!0,startCommitTimer();var root=finishedWork.stateNode;root.current===finishedWork&&invariant(!1,"Cannot commit the same tree as before. This is probably a bug related to the return field. This error is likely caused by a bug in React. Please file an issue."),root.isReadyForCommit=!1,ReactCurrentOwner.current=null;var firstEffect=void 0;for(finishedWork.effectTag>PerformedWork?null!==finishedWork.lastEffect?(finishedWork.lastEffect.nextEffect=finishedWork,firstEffect=finishedWork.firstEffect):firstEffect=finishedWork:firstEffect=finishedWork.firstEffect,prepareForCommit(),nextEffect=firstEffect,function(){if(enableUserTimingAPI){if(!supportsUserTiming)return;effectCountInCurrentCommit=0,beginMark("(Committing Host Effects)")}}();null!==nextEffect;){var didError=!1,_error=void 0;invokeGuardedCallback$1(null,commitAllHostEffects,null),hasCaughtError()&&(didError=!0,_error=clearCaughtError()),didError&&(null===nextEffect&&invariant(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),captureError(nextEffect,_error),null!==nextEffect&&(nextEffect=nextEffect.nextEffect))}for(!function(){if(enableUserTimingAPI){if(!supportsUserTiming)return;var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Committing Host Effects: "+count+" Total)","(Committing Host Effects)",null)}}(),resetAfterCommit(),root.current=finishedWork,nextEffect=firstEffect,function(){if(enableUserTimingAPI){if(!supportsUserTiming)return;effectCountInCurrentCommit=0,beginMark("(Calling Lifecycle Methods)")}}();null!==nextEffect;){var _didError=!1,_error2=void 0;invokeGuardedCallback$1(null,commitAllLifeCycles,null),hasCaughtError()&&(_didError=!0,_error2=clearCaughtError()),_didError&&(null===nextEffect&&invariant(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),captureError(nextEffect,_error2),null!==nextEffect&&(nextEffect=nextEffect.nextEffect))}if(isCommitting=!1,isWorking=!1,function(){if(enableUserTimingAPI){if(!supportsUserTiming)return;var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Calling Lifecycle Methods: "+count+" Total)","(Calling Lifecycle Methods)",null)}}(),stopCommitTimer(),onCommitRoot(finishedWork.stateNode),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onCommitWork(finishedWork),commitPhaseBoundaries&&(commitPhaseBoundaries.forEach(scheduleErrorRecovery),commitPhaseBoundaries=null),null!==firstUncaughtError){var _error3=firstUncaughtError;firstUncaughtError=null,onUncaughtError(_error3)}var remainingTime=root.current.expirationTime;return remainingTime===NoWork&&(capturedErrors=null,failedBoundaries=null),remainingTime}function resetExpirationTime(workInProgress,renderTime){if(renderTime===Never||workInProgress.expirationTime!==Never){for(var newExpirationTime=function(fiber){if(fiber.tag!==ClassComponent&&fiber.tag!==HostRoot)return NoWork;var updateQueue=fiber.updateQueue;return null===updateQueue?NoWork:updateQueue.expirationTime}(workInProgress),child=workInProgress.child;null!==child;)child.expirationTime!==NoWork&&(newExpirationTime===NoWork||newExpirationTime>child.expirationTime)&&(newExpirationTime=child.expirationTime),child=child.sibling;workInProgress.expirationTime=newExpirationTime}}function completeUnitOfWork(workInProgress){for(;;){var current=workInProgress.alternate;ReactDebugCurrentFiber.setCurrentFiber(workInProgress);var next=completeWork(current,workInProgress,nextRenderExpirationTime);ReactDebugCurrentFiber.resetCurrentFiber();var returnFiber=workInProgress.return,siblingFiber=workInProgress.sibling;if(resetExpirationTime(workInProgress,nextRenderExpirationTime),null!==next)return stopWorkTimer(workInProgress),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onCompleteWork(workInProgress),next;if(null!==returnFiber)null===returnFiber.firstEffect&&(returnFiber.firstEffect=workInProgress.firstEffect),null!==workInProgress.lastEffect&&(null!==returnFiber.lastEffect&&(returnFiber.lastEffect.nextEffect=workInProgress.firstEffect),returnFiber.lastEffect=workInProgress.lastEffect),workInProgress.effectTag>PerformedWork&&(null!==returnFiber.lastEffect?returnFiber.lastEffect.nextEffect=workInProgress:returnFiber.firstEffect=workInProgress,returnFiber.lastEffect=workInProgress);if(stopWorkTimer(workInProgress),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onCompleteWork(workInProgress),null!==siblingFiber)return siblingFiber;if(null===returnFiber)return workInProgress.stateNode.isReadyForCommit=!0,null;workInProgress=returnFiber}return null}function performUnitOfWork(workInProgress){var current=workInProgress.alternate;startWorkTimer(workInProgress),ReactDebugCurrentFiber.setCurrentFiber(workInProgress);var next=beginWork(current,workInProgress,nextRenderExpirationTime);return ReactDebugCurrentFiber.resetCurrentFiber(),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onBeginWork(workInProgress),null===next&&(next=completeUnitOfWork(workInProgress)),ReactCurrentOwner.current=null,next}function performFailedUnitOfWork(workInProgress){var current=workInProgress.alternate;startWorkTimer(workInProgress),ReactDebugCurrentFiber.setCurrentFiber(workInProgress);var next=beginFailedWork(current,workInProgress,nextRenderExpirationTime);return ReactDebugCurrentFiber.resetCurrentFiber(),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onBeginWork(workInProgress),null===next&&(next=completeUnitOfWork(workInProgress)),ReactCurrentOwner.current=null,next}function workLoop(expirationTime){if(null===capturedErrors){if(!(nextRenderExpirationTime===NoWork||nextRenderExpirationTime>expirationTime))if(nextRenderExpirationTime<=mostRecentCurrentTime)for(;null!==nextUnitOfWork;)nextUnitOfWork=performUnitOfWork(nextUnitOfWork);else for(;null!==nextUnitOfWork&&!shouldYield();)nextUnitOfWork=performUnitOfWork(nextUnitOfWork)}else!function(expirationTime){if(nextRenderExpirationTime===NoWork||nextRenderExpirationTime>expirationTime)return;if(nextRenderExpirationTime<=mostRecentCurrentTime)for(;null!==nextUnitOfWork;)nextUnitOfWork=hasCapturedError(nextUnitOfWork)?performFailedUnitOfWork(nextUnitOfWork):performUnitOfWork(nextUnitOfWork);else for(;null!==nextUnitOfWork&&!shouldYield();)nextUnitOfWork=hasCapturedError(nextUnitOfWork)?performFailedUnitOfWork(nextUnitOfWork):performUnitOfWork(nextUnitOfWork)}(expirationTime)}function renderRootCatchBlock(root,failedWork,boundary,expirationTime){!function(from,to){var node=from;for(;null!==node;){switch(node.tag){case ClassComponent:popContextProvider(node);break;case HostComponent:popHostContext(node);break;case HostRoot:case HostPortal:popHostContainer(node)}if(node===to||node.alternate===to){stopFailedWorkTimer(node);break}stopWorkTimer(node),node=node.return}}(failedWork,boundary),nextUnitOfWork=performFailedUnitOfWork(boundary),workLoop(expirationTime)}function renderRoot(root,expirationTime){isWorking&&invariant(!1,"renderRoot was called recursively. This error is likely caused by a bug in React. Please file an issue."),isWorking=!0,root.isReadyForCommit=!1,root===nextRoot&&expirationTime===nextRenderExpirationTime&&null!==nextUnitOfWork||(resetContextStack(),nextRenderExpirationTime=expirationTime,nextUnitOfWork=createWorkInProgress((nextRoot=root).current,null,expirationTime)),function(nextUnitOfWork){if(enableUserTimingAPI){if(currentFiber=nextUnitOfWork,!supportsUserTiming)return;commitCountInCurrentWorkLoop=0,beginMark("(React Tree Reconciliation)"),resumeTimers()}}(nextUnitOfWork);var didError=!1,error=null;for(invokeGuardedCallback$1(null,workLoop,null,expirationTime),hasCaughtError()&&(didError=!0,error=clearCaughtError());didError;){if(didFatal){firstUncaughtError=error;break}var failedWork=nextUnitOfWork;if(null!==failedWork){var boundary=captureError(failedWork,error);if(null===boundary&&invariant(!1,"Should have found an error boundary. This error is likely caused by a bug in React. Please file an issue."),!didFatal){if(didError=!1,error=null,invokeGuardedCallback$1(null,renderRootCatchBlock,null,root,failedWork,boundary,expirationTime),!hasCaughtError())break;didError=!0,error=clearCaughtError()}}else didFatal=!0}var uncaughtError=firstUncaughtError;return function(interruptedBy){if(enableUserTimingAPI){if(!supportsUserTiming)return;var warning$$1=null;null!==interruptedBy?warning$$1=interruptedBy.tag===HostRoot?"A top-level update interrupted the previous render":"An update to "+(getComponentName(interruptedBy)||"Unknown")+" interrupted the previous render":commitCountInCurrentWorkLoop>1&&(warning$$1="There were cascading updates"),commitCountInCurrentWorkLoop=0,pauseTimers(),endMark("(React Tree Reconciliation)","(React Tree Reconciliation)",warning$$1)}}(interruptedBy),interruptedBy=null,isWorking=!1,didFatal=!1,firstUncaughtError=null,null!==uncaughtError&&onUncaughtError(uncaughtError),root.isReadyForCommit?root.current.alternate:null}function captureError(failedWork,error){ReactCurrentOwner.current=null,ReactDebugCurrentFiber.resetCurrentFiber();var boundary=null,errorBoundaryFound=!1,willRetry=!1,errorBoundaryName=null;if(failedWork.tag===HostRoot)boundary=failedWork,isFailedBoundary(failedWork)&&(didFatal=!0);else for(var node=failedWork.return;null!==node&&null===boundary;){if(node.tag===ClassComponent)"function"==typeof node.stateNode.componentDidCatch&&(errorBoundaryFound=!0,errorBoundaryName=getComponentName(node),boundary=node,willRetry=!0);else node.tag===HostRoot&&(boundary=node);if(isFailedBoundary(node)){if(isUnmounting)return null;if(null!==commitPhaseBoundaries&&(commitPhaseBoundaries.has(node)||null!==node.alternate&&commitPhaseBoundaries.has(node.alternate)))return null;boundary=null,willRetry=!1}node=node.return}if(null!==boundary){null===failedBoundaries&&(failedBoundaries=new Set),failedBoundaries.add(boundary);var _componentStack=getStackAddendumByWorkInProgressFiber(failedWork),_componentName=getComponentName(failedWork);null===capturedErrors&&(capturedErrors=new Map);var capturedError={componentName:_componentName,componentStack:_componentStack,error:error,errorBoundary:errorBoundaryFound?boundary.stateNode:null,errorBoundaryFound:errorBoundaryFound,errorBoundaryName:errorBoundaryName,willRetry:willRetry};capturedErrors.set(boundary,capturedError);try{!function(capturedError){if(!1!==showDialog(capturedError)){var error=capturedError.error;if(!error||!error.suppressReactErrorLogging){var componentName=capturedError.componentName,componentStack=capturedError.componentStack,errorBoundaryName=capturedError.errorBoundaryName,errorBoundaryFound=capturedError.errorBoundaryFound,willRetry=capturedError.willRetry,combinedMessage=(componentName?"The above error occurred in the <"+componentName+"> component:":"The above error occurred in one of your React components:")+componentStack+"\n\n"+(errorBoundaryFound&&errorBoundaryName?willRetry?"React will try to recreate this component tree from scratch using the error boundary you provided, "+errorBoundaryName+".":"This error was initially handled by the error boundary "+errorBoundaryName+".\nRecreating the tree from scratch failed so React will unmount the tree.":"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://fb.me/react-error-boundaries to learn more about error boundaries.");console.error(combinedMessage)}}}(capturedError)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}return isCommitting?(null===commitPhaseBoundaries&&(commitPhaseBoundaries=new Set),commitPhaseBoundaries.add(boundary)):scheduleErrorRecovery(boundary),boundary}return null===firstUncaughtError&&(firstUncaughtError=error),null}function hasCapturedError(fiber){return null!==capturedErrors&&(capturedErrors.has(fiber)||null!==fiber.alternate&&capturedErrors.has(fiber.alternate))}function isFailedBoundary(fiber){return null!==failedBoundaries&&(failedBoundaries.has(fiber)||null!==fiber.alternate&&failedBoundaries.has(fiber.alternate))}function commitErrorHandling(effectfulFiber){var capturedError=void 0;switch(null!==capturedErrors&&(capturedError=capturedErrors.get(effectfulFiber),capturedErrors.delete(effectfulFiber),null==capturedError&&null!==effectfulFiber.alternate&&(effectfulFiber=effectfulFiber.alternate,capturedError=capturedErrors.get(effectfulFiber),capturedErrors.delete(effectfulFiber))),null==capturedError&&invariant(!1,"No error for given unit of work. This error is likely caused by a bug in React. Please file an issue."),effectfulFiber.tag){case ClassComponent:var instance=effectfulFiber.stateNode,info={componentStack:capturedError.componentStack};return void instance.componentDidCatch(capturedError.error,info);case HostRoot:return void(null===firstUncaughtError&&(firstUncaughtError=capturedError.error));default:invariant(!1,"Invalid type of work. This error is likely caused by a bug in React. Please file an issue.")}}function computeAsyncExpiration(){return function(currentTime,expirationInMs,bucketSizeMs){return(1+((currentTime+expirationInMs/UNIT_SIZE)/(precision=bucketSizeMs/UNIT_SIZE)|0))*precision;var precision}(recalculateCurrentTime(),1e3,200)}function computeExpirationForFiber(fiber){return expirationContext!==NoWork?expirationContext:isWorking?isCommitting?Sync:nextRenderExpirationTime:!useSyncScheduling||fiber.internalContextTag&AsyncUpdates?computeAsyncExpiration():Sync}function scheduleWork(fiber,expirationTime){return scheduleWorkImpl(fiber,expirationTime,!1)}function checkRootNeedsClearing(root,fiber,expirationTime){!isWorking&&root===nextRoot&&expirationTime<nextRenderExpirationTime&&(null!==nextUnitOfWork&&(interruptedBy=fiber),nextRoot=null,nextUnitOfWork=null,nextRenderExpirationTime=NoWork)}function scheduleWorkImpl(fiber,expirationTime,isErrorRecovery){if(recordScheduleUpdate(),!isErrorRecovery&&fiber.tag===ClassComponent){var instance=fiber.stateNode;warnAboutInvalidUpdates(instance)}for(var node=fiber;null!==node;){if((node.expirationTime===NoWork||node.expirationTime>expirationTime)&&(node.expirationTime=expirationTime),null!==node.alternate&&(node.alternate.expirationTime===NoWork||node.alternate.expirationTime>expirationTime)&&(node.alternate.expirationTime=expirationTime),null===node.return){if(node.tag!==HostRoot)return void(isErrorRecovery||fiber.tag!==ClassComponent||warnAboutUpdateOnUnmounted(fiber));var root=node.stateNode;checkRootNeedsClearing(root,fiber,expirationTime),requestWork(root,expirationTime),checkRootNeedsClearing(root,fiber,expirationTime)}node=node.return}}function scheduleErrorRecovery(fiber){scheduleWorkImpl(fiber,Sync,!0)}function recalculateCurrentTime(){var ms=now()-startTime;return mostRecentCurrentTime=msToExpirationTime(ms)}var firstScheduledRoot=null,lastScheduledRoot=null,callbackExpirationTime=NoWork,callbackID=-1,isRendering=!1,nextFlushedRoot=null,nextFlushedExpirationTime=NoWork,deadlineDidExpire=!1,hasUnhandledError=!1,unhandledError=null,deadline=null,isBatchingUpdates=!1,isUnbatchingUpdates=!1,NESTED_UPDATE_LIMIT=1e3,nestedUpdateCount=0,timeHeuristicForUnitOfWork=1;function scheduleCallbackWithExpiration(expirationTime){if(callbackExpirationTime!==NoWork){if(expirationTime>callbackExpirationTime)return;cancelDeferredCallback(callbackID)}else enableUserTimingAPI&&supportsUserTiming&&!isWaitingForCallback&&(isWaitingForCallback=!0,beginMark("(Waiting for async callback...)"));var currentMs=now()-startTime,expirationMs=function(expirationTime){return(expirationTime-MAGIC_NUMBER_OFFSET)*UNIT_SIZE}(expirationTime);callbackExpirationTime=expirationTime,callbackID=scheduleDeferredCallback(performAsyncWork,{timeout:expirationMs-currentMs})}function requestWork(root,expirationTime){if(nestedUpdateCount>NESTED_UPDATE_LIMIT&&invariant(!1,"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops."),null===root.nextScheduledRoot)root.remainingExpirationTime=expirationTime,null===lastScheduledRoot?(firstScheduledRoot=lastScheduledRoot=root,root.nextScheduledRoot=root):(lastScheduledRoot.nextScheduledRoot=root,(lastScheduledRoot=root).nextScheduledRoot=firstScheduledRoot);else{var remainingExpirationTime=root.remainingExpirationTime;(remainingExpirationTime===NoWork||expirationTime<remainingExpirationTime)&&(root.remainingExpirationTime=expirationTime)}isRendering||(isBatchingUpdates?isUnbatchingUpdates&&performWorkOnRoot(nextFlushedRoot=root,nextFlushedExpirationTime=Sync):expirationTime===Sync?performWork(Sync,null):scheduleCallbackWithExpiration(expirationTime))}function findHighestPriorityRoot(){var highestPriorityWork=NoWork,highestPriorityRoot=null;if(null!==lastScheduledRoot)for(var previousScheduledRoot=lastScheduledRoot,root=firstScheduledRoot;null!==root;){var remainingExpirationTime=root.remainingExpirationTime;if(remainingExpirationTime===NoWork){if((null===previousScheduledRoot||null===lastScheduledRoot)&&invariant(!1,"Should have a previous and last root. This error is likely caused by a bug in React. Please file an issue."),root===root.nextScheduledRoot){root.nextScheduledRoot=null,firstScheduledRoot=lastScheduledRoot=null;break}if(root===firstScheduledRoot){var next=root.nextScheduledRoot;firstScheduledRoot=next,lastScheduledRoot.nextScheduledRoot=next,root.nextScheduledRoot=null}else{if(root===lastScheduledRoot){(lastScheduledRoot=previousScheduledRoot).nextScheduledRoot=firstScheduledRoot,root.nextScheduledRoot=null;break}previousScheduledRoot.nextScheduledRoot=root.nextScheduledRoot,root.nextScheduledRoot=null}root=previousScheduledRoot.nextScheduledRoot}else{if((highestPriorityWork===NoWork||remainingExpirationTime<highestPriorityWork)&&(highestPriorityWork=remainingExpirationTime,highestPriorityRoot=root),root===lastScheduledRoot)break;previousScheduledRoot=root,root=root.nextScheduledRoot}}null!==nextFlushedRoot&&nextFlushedRoot===highestPriorityRoot?nestedUpdateCount++:nestedUpdateCount=0,nextFlushedRoot=highestPriorityRoot,nextFlushedExpirationTime=highestPriorityWork}function performAsyncWork(dl){performWork(NoWork,dl)}function performWork(minExpirationTime,dl){(deadline=dl,findHighestPriorityRoot(),enableUserTimingAPI&&null!==deadline)&&function(didExpire){enableUserTimingAPI&&supportsUserTiming&&(isWaitingForCallback=!1,endMark("(Waiting for async callback...)","(Waiting for async callback...)",didExpire?"React was blocked by main thread":null))}(nextFlushedExpirationTime<recalculateCurrentTime());for(;null!==nextFlushedRoot&&nextFlushedExpirationTime!==NoWork&&(minExpirationTime===NoWork||nextFlushedExpirationTime<=minExpirationTime)&&!deadlineDidExpire;)performWorkOnRoot(nextFlushedRoot,nextFlushedExpirationTime),findHighestPriorityRoot();if(null!==deadline&&(callbackExpirationTime=NoWork,callbackID=-1),nextFlushedExpirationTime!==NoWork&&scheduleCallbackWithExpiration(nextFlushedExpirationTime),deadline=null,deadlineDidExpire=!1,nestedUpdateCount=0,hasUnhandledError){var _error4=unhandledError;throw unhandledError=null,hasUnhandledError=!1,_error4}}function performWorkOnRoot(root,expirationTime){if(isRendering&&invariant(!1,"performWorkOnRoot was called recursively. This error is likely caused by a bug in React. Please file an issue."),isRendering=!0,expirationTime<=recalculateCurrentTime()){var finishedWork=root.finishedWork;null!==finishedWork?(root.finishedWork=null,root.remainingExpirationTime=commitRoot(finishedWork)):(root.finishedWork=null,null!==(finishedWork=renderRoot(root,expirationTime))&&(root.remainingExpirationTime=commitRoot(finishedWork)))}else{var _finishedWork=root.finishedWork;null!==_finishedWork?(root.finishedWork=null,root.remainingExpirationTime=commitRoot(_finishedWork)):(root.finishedWork=null,null!==(_finishedWork=renderRoot(root,expirationTime))&&(shouldYield()?root.finishedWork=_finishedWork:root.remainingExpirationTime=commitRoot(_finishedWork)))}isRendering=!1}function shouldYield(){return null!==deadline&&(!(deadline.timeRemaining()>timeHeuristicForUnitOfWork)&&(deadlineDidExpire=!0,!0))}function onUncaughtError(error){null===nextFlushedRoot&&invariant(!1,"Should be working on a root. This error is likely caused by a bug in React. Please file an issue."),nextFlushedRoot.remainingExpirationTime=NoWork,hasUnhandledError||(hasUnhandledError=!0,unhandledError=error)}return{computeAsyncExpiration:computeAsyncExpiration,computeExpirationForFiber:computeExpirationForFiber,scheduleWork:scheduleWork,batchedUpdates:function(fn,a){var previousIsBatchingUpdates=isBatchingUpdates;isBatchingUpdates=!0;try{return fn(a)}finally{(isBatchingUpdates=previousIsBatchingUpdates)||isRendering||performWork(Sync,null)}},unbatchedUpdates:function(fn){if(isBatchingUpdates&&!isUnbatchingUpdates){isUnbatchingUpdates=!0;try{return fn()}finally{isUnbatchingUpdates=!1}}return fn()},flushSync:function(fn){var previousIsBatchingUpdates=isBatchingUpdates;isBatchingUpdates=!0;try{return function(fn){var previousExpirationContext=expirationContext;expirationContext=Sync;try{return fn()}finally{expirationContext=previousExpirationContext}}(fn)}finally{isBatchingUpdates=previousIsBatchingUpdates,isRendering&&invariant(!1,"flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering."),performWork(Sync,null)}},deferredUpdates:function(fn){var previousExpirationContext=expirationContext;expirationContext=computeAsyncExpiration();try{return fn()}finally{expirationContext=previousExpirationContext}}}},didWarnAboutNestedUpdates=!1;function getContextForSubtree(parentComponent){if(!parentComponent)return emptyObject;var fiber=get(parentComponent),parentContext=function(fiber){isFiberMounted(fiber)&&fiber.tag===ClassComponent||invariant(!1,"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");for(var node=fiber;node.tag!==HostRoot;){if(isContextProvider(node))return node.stateNode.__reactInternalMemoizedMergedChildContext;var parent=node.return;parent||invariant(!1,"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue."),node=parent}return node.stateNode.context}(fiber);return isContextProvider(fiber)?processChildContext(fiber,parentContext):parentContext}var ReactFiberReconciler$1=function(config){var getPublicInstance=config.getPublicInstance,_ReactFiberScheduler=ReactFiberScheduler(config),computeAsyncExpiration=_ReactFiberScheduler.computeAsyncExpiration,computeExpirationForFiber=_ReactFiberScheduler.computeExpirationForFiber,scheduleWork=_ReactFiberScheduler.scheduleWork,batchedUpdates=_ReactFiberScheduler.batchedUpdates,unbatchedUpdates=_ReactFiberScheduler.unbatchedUpdates,flushSync=_ReactFiberScheduler.flushSync;function findHostInstance(fiber){var hostFiber=function(parent){var currentParent=findCurrentFiberUsingSlowPath(parent);if(!currentParent)return null;for(var node=currentParent;;){if(node.tag===HostComponent||node.tag===HostText)return node;if(node.child)node.child.return=node,node=node.child;else{if(node===currentParent)return null;for(;!node.sibling;){if(!node.return||node.return===currentParent)return null;node=node.return}node.sibling.return=node.return,node=node.sibling}}return null}(fiber);return null===hostFiber?null:hostFiber.stateNode}return{createContainer:function(containerInfo,hydrate){return createFiberRoot(containerInfo,hydrate)},updateContainer:function(element,container,parentComponent,callback){var current=container.current;ReactFiberInstrumentation_1.debugTool&&(null===current.alternate?ReactFiberInstrumentation_1.debugTool.onMountContainer(container):null===element?ReactFiberInstrumentation_1.debugTool.onUnmountContainer(container):ReactFiberInstrumentation_1.debugTool.onUpdateContainer(container));var context=getContextForSubtree(parentComponent);null===container.context?container.context=context:container.pendingContext=context,function(current,element,callback){"render"!==ReactDebugCurrentFiber.phase||null===ReactDebugCurrentFiber.current||didWarnAboutNestedUpdates||(didWarnAboutNestedUpdates=!0,warning(!1,"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.\n\nCheck the render method of %s.",getComponentName(ReactDebugCurrentFiber.current)||"Unknown")),warning(null===(callback=void 0===callback?null:callback)||"function"==typeof callback,"render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",callback);var expirationTime=void 0;insertUpdateIntoFiber(current,{expirationTime:expirationTime=enableAsyncSubtreeAPI&&null!=element&&null!=element.type&&null!=element.type.prototype&&!0===element.type.prototype.unstable_isAsyncReactComponent?computeAsyncExpiration():computeExpirationForFiber(current),partialState:{element:element},callback:callback,isReplace:!1,isForced:!1,nextCallback:null,next:null}),scheduleWork(current,expirationTime)}(current,element,callback)},batchedUpdates:batchedUpdates,unbatchedUpdates:unbatchedUpdates,deferredUpdates:_ReactFiberScheduler.deferredUpdates,flushSync:flushSync,getPublicRootInstance:function(container){var containerFiber=container.current;if(!containerFiber.child)return null;switch(containerFiber.child.tag){case HostComponent:return getPublicInstance(containerFiber.child.stateNode);default:return containerFiber.child.stateNode}},findHostInstance:findHostInstance,findHostInstanceWithNoPortals:function(fiber){var hostFiber=function(parent){var currentParent=findCurrentFiberUsingSlowPath(parent);if(!currentParent)return null;for(var node=currentParent;;){if(node.tag===HostComponent||node.tag===HostText)return node;if(node.child&&node.tag!==HostPortal)node.child.return=node,node=node.child;else{if(node===currentParent)return null;for(;!node.sibling;){if(!node.return||node.return===currentParent)return null;node=node.return}node.sibling.return=node.return,node=node.sibling}}return null}(fiber);return null===hostFiber?null:hostFiber.stateNode},injectIntoDevTools:function(devToolsConfig){var findFiberByHostInstance=devToolsConfig.findFiberByHostInstance;return function(internals){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var hook=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(hook.isDisabled)return!0;if(!hook.supportsFiber)return warning(!1,"The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://fb.me/react-devtools"),!0;try{var rendererID=hook.inject(internals);onCommitFiberRoot=catchErrors(function(root){return hook.onCommitFiberRoot(rendererID,root)}),onCommitFiberUnmount=catchErrors(function(fiber){return hook.onCommitFiberUnmount(rendererID,fiber)})}catch(err){warning(!1,"React DevTools encountered an error: %s.",err)}return!0}(_assign({},devToolsConfig,{findHostInstanceByFiber:function(fiber){return findHostInstance(fiber)},findFiberByHostInstance:function(instance){return findFiberByHostInstance?findFiberByHostInstance(instance):null}}))}}},ReactFiberReconciler$2=Object.freeze({default:ReactFiberReconciler$1}),ReactFiberReconciler$3=ReactFiberReconciler$2&&ReactFiberReconciler$1||ReactFiberReconciler$2,reactReconciler=ReactFiberReconciler$3.default?ReactFiberReconciler$3.default:ReactFiberReconciler$3;ExecutionEnvironment.canUseDOM&&"function"!=typeof requestAnimationFrame&&warning(!1,"React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. http://fb.me/react-polyfills");var hasNativePerformanceNow="object"==typeof performance&&"function"==typeof performance.now,now=void 0;now=hasNativePerformanceNow?function(){return performance.now()}:function(){return Date.now()};var rIC=void 0,cIC=void 0;if(ExecutionEnvironment.canUseDOM)if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){var frameDeadlineObject,scheduledRICCallback=null,isIdleScheduled=!1,timeoutTime=-1,isAnimationFrameScheduled=!1,frameDeadline=0,previousFrameTime=33,activeFrameTime=33;frameDeadlineObject=hasNativePerformanceNow?{didTimeout:!1,timeRemaining:function(){var remaining=frameDeadline-performance.now();return remaining>0?remaining:0}}:{didTimeout:!1,timeRemaining:function(){var remaining=frameDeadline-Date.now();return remaining>0?remaining:0}};var messageKey="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(event){if(event.source===window&&event.data===messageKey){isIdleScheduled=!1;var currentTime=now();if(frameDeadline-currentTime<=0){if(!(-1!==timeoutTime&&timeoutTime<=currentTime))return void(isAnimationFrameScheduled||(isAnimationFrameScheduled=!0,requestAnimationFrame(animationTick)));frameDeadlineObject.didTimeout=!0}else frameDeadlineObject.didTimeout=!1;timeoutTime=-1;var callback=scheduledRICCallback;scheduledRICCallback=null,null!==callback&&callback(frameDeadlineObject)}},!1);var animationTick=function(rafTime){isAnimationFrameScheduled=!1;var nextFrameTime=rafTime-frameDeadline+activeFrameTime;nextFrameTime<activeFrameTime&&previousFrameTime<activeFrameTime?(nextFrameTime<8&&(nextFrameTime=8),activeFrameTime=nextFrameTime<previousFrameTime?previousFrameTime:nextFrameTime):previousFrameTime=nextFrameTime,frameDeadline=rafTime+activeFrameTime,isIdleScheduled||(isIdleScheduled=!0,window.postMessage(messageKey,"*"))};rIC=function(callback,options){return scheduledRICCallback=callback,null!=options&&"number"==typeof options.timeout&&(timeoutTime=now()+options.timeout),isAnimationFrameScheduled||(isAnimationFrameScheduled=!0,requestAnimationFrame(animationTick)),0},cIC=function(){scheduledRICCallback=null,isIdleScheduled=!1,timeoutTime=-1}}else rIC=window.requestIdleCallback,cIC=window.cancelIdleCallback;else rIC=function(frameCallback){return setTimeout(function(){frameCallback({timeRemaining:function(){return 1/0}})})},cIC=function(timeoutID){clearTimeout(timeoutID)};var lowPriorityWarning$1=function(condition,format){if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];(function(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0,message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!=typeof console&&console.warn(message);try{throw new Error(message)}catch(x){}}).apply(void 0,[format].concat(args))}},VALID_ATTRIBUTE_NAME_REGEX=new RegExp("^["+ATTRIBUTE_NAME_START_CHAR+"]["+ATTRIBUTE_NAME_CHAR+"]*$"),illegalAttributeNameCache={},validatedAttributeNameCache={};function isAttributeNameSafe(attributeName){return!!validatedAttributeNameCache.hasOwnProperty(attributeName)||!illegalAttributeNameCache.hasOwnProperty(attributeName)&&(VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)?(validatedAttributeNameCache[attributeName]=!0,!0):(illegalAttributeNameCache[attributeName]=!0,warning(!1,"Invalid attribute name: `%s`",attributeName),!1))}function shouldIgnoreValue(propertyInfo,value){return null==value||propertyInfo.hasBooleanValue&&!value||propertyInfo.hasNumericValue&&isNaN(value)||propertyInfo.hasPositiveNumericValue&&value<1||propertyInfo.hasOverloadedBooleanValue&&!1===value}function getValueForProperty(node,name,expected){var propertyInfo=getPropertyInfo(name);if(propertyInfo){if(propertyInfo.mutationMethod||propertyInfo.mustUseProperty)return node[propertyInfo.propertyName];var attributeName=propertyInfo.attributeName,stringValue=null;if(propertyInfo.hasOverloadedBooleanValue){if(node.hasAttribute(attributeName)){var value=node.getAttribute(attributeName);return""===value||(shouldIgnoreValue(propertyInfo,expected)?value:value===""+expected?expected:value)}}else if(node.hasAttribute(attributeName)){if(shouldIgnoreValue(propertyInfo,expected))return node.getAttribute(attributeName);if(propertyInfo.hasBooleanValue)return expected;stringValue=node.getAttribute(attributeName)}return shouldIgnoreValue(propertyInfo,expected)?null===stringValue?expected:stringValue:stringValue===""+expected?expected:stringValue}}function getValueForAttribute(node,name,expected){if(isAttributeNameSafe(name)){if(!node.hasAttribute(name))return void 0===expected?void 0:null;var value=node.getAttribute(name);return value===""+expected?expected:value}}function setValueForProperty(node,name,value){var propertyInfo=getPropertyInfo(name);if(propertyInfo&&shouldSetAttribute(name,value)){var mutationMethod=propertyInfo.mutationMethod;if(mutationMethod)mutationMethod(node,value);else{if(shouldIgnoreValue(propertyInfo,value))return void deleteValueForProperty(node,name);if(propertyInfo.mustUseProperty)node[propertyInfo.propertyName]=value;else{var attributeName=propertyInfo.attributeName,namespace=propertyInfo.attributeNamespace;namespace?node.setAttributeNS(namespace,attributeName,""+value):propertyInfo.hasBooleanValue||propertyInfo.hasOverloadedBooleanValue&&!0===value?node.setAttribute(attributeName,""):node.setAttribute(attributeName,""+value)}}}else setValueForAttribute(node,name,shouldSetAttribute(name,value)?value:null)}function setValueForAttribute(node,name,value){isAttributeNameSafe(name)&&(null==value?node.removeAttribute(name):node.setAttribute(name,""+value))}function deleteValueForProperty(node,name){var propertyInfo=getPropertyInfo(name);if(propertyInfo){var mutationMethod=propertyInfo.mutationMethod;if(mutationMethod)mutationMethod(node,void 0);else if(propertyInfo.mustUseProperty){var propName=propertyInfo.propertyName;propertyInfo.hasBooleanValue?node[propName]=!1:node[propName]=""}else node.removeAttribute(propertyInfo.attributeName)}else node.removeAttribute(name)}var ReactControlledValuePropTypes={checkPropTypes:null},hasReadOnlyValue={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},propTypes={value:function(props,propName,componentName){return!props[propName]||hasReadOnlyValue[props.type]||props.onChange||props.readOnly||props.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(props,propName,componentName){return!props[propName]||props.onChange||props.readOnly||props.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};ReactControlledValuePropTypes.checkPropTypes=function(tagName,props,getStack){checkPropTypes(propTypes,props,"prop",tagName,getStack)};var getCurrentFiberOwnerName$2=ReactDebugCurrentFiber.getCurrentFiberOwnerName,getCurrentFiberStackAddendum$3=ReactDebugCurrentFiber.getCurrentFiberStackAddendum,didWarnValueDefaultValue=!1,didWarnCheckedDefaultChecked=!1,didWarnControlledToUncontrolled=!1,didWarnUncontrolledToControlled=!1;function isControlled(props){return"checkbox"===props.type||"radio"===props.type?null!=props.checked:null!=props.value}function getHostProps(element,props){var node=element,value=props.value,checked=props.checked;return _assign({type:void 0,step:void 0,min:void 0,max:void 0},props,{defaultChecked:void 0,defaultValue:void 0,value:null!=value?value:node._wrapperState.initialValue,checked:null!=checked?checked:node._wrapperState.initialChecked})}function initWrapperState(element,props){ReactControlledValuePropTypes.checkPropTypes("input",props,getCurrentFiberStackAddendum$3),void 0===props.checked||void 0===props.defaultChecked||didWarnCheckedDefaultChecked||(warning(!1,"%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerName$2()||"A component",props.type),didWarnCheckedDefaultChecked=!0),void 0===props.value||void 0===props.defaultValue||didWarnValueDefaultValue||(warning(!1,"%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerName$2()||"A component",props.type),didWarnValueDefaultValue=!0);var defaultValue=props.defaultValue;element._wrapperState={initialChecked:null!=props.checked?props.checked:props.defaultChecked,initialValue:null!=props.value?props.value:defaultValue,controlled:isControlled(props)}}function updateChecked(element,props){var node=element,checked=props.checked;null!=checked&&setValueForProperty(node,"checked",checked)}function updateWrapper(element,props){var node=element,controlled=isControlled(props);node._wrapperState.controlled||!controlled||didWarnUncontrolledToControlled||(warning(!1,"A component is changing an uncontrolled input of type %s to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components%s",props.type,getCurrentFiberStackAddendum$3()),didWarnUncontrolledToControlled=!0),!node._wrapperState.controlled||controlled||didWarnControlledToUncontrolled||(warning(!1,"A component is changing a controlled input of type %s to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components%s",props.type,getCurrentFiberStackAddendum$3()),didWarnControlledToUncontrolled=!0),updateChecked(element,props);var value=props.value;if(null!=value)if(0===value&&""===node.value)node.value="0";else if("number"===props.type){var valueAsNumber=parseFloat(node.value)||0;(value!=valueAsNumber||value==valueAsNumber&&node.value!=value)&&(node.value=""+value)}else node.value!==""+value&&(node.value=""+value);else null==props.value&&null!=props.defaultValue&&node.defaultValue!==""+props.defaultValue&&(node.defaultValue=""+props.defaultValue),null==props.checked&&null!=props.defaultChecked&&(node.defaultChecked=!!props.defaultChecked)}function postMountWrapper(element,props){var node=element;switch(props.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":node.value="",node.value=node.defaultValue;break;default:node.value=node.value}var name=node.name;""!==name&&(node.name=""),node.defaultChecked=!node.defaultChecked,node.defaultChecked=!node.defaultChecked,""!==name&&(node.name=name)}function restoreControlledState$1(element,props){var node=element;updateWrapper(node,props),function(rootNode,props){var name=props.name;if("radio"===props.type&&null!=name){for(var queryRoot=rootNode;queryRoot.parentNode;)queryRoot=queryRoot.parentNode;for(var group=queryRoot.querySelectorAll("input[name="+JSON.stringify(""+name)+'][type="radio"]'),i=0;i<group.length;i++){var otherNode=group[i];if(otherNode!==rootNode&&otherNode.form===rootNode.form){var otherProps=getFiberCurrentPropsFromNode$1(otherNode);otherProps||invariant(!1,"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."),updateValueIfChanged(otherNode),updateWrapper(otherNode,otherProps)}}}}(node,props)}function validateProps(element,props){warning(null==props.selected,"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>.")}function getHostProps$1(element,props){var hostProps=_assign({children:void 0},props),content=function(children){var content="";return React.Children.forEach(children,function(child){null!=child&&("string"!=typeof child&&"number"!=typeof child||(content+=child))}),content}(props.children);return content&&(hostProps.children=content),hostProps}var getCurrentFiberOwnerName$3=ReactDebugCurrentFiber.getCurrentFiberOwnerName,getCurrentFiberStackAddendum$4=ReactDebugCurrentFiber.getCurrentFiberStackAddendum,didWarnValueDefaultValue$1=!1;function getDeclarationErrorAddendum(){var ownerName=getCurrentFiberOwnerName$3();return ownerName?"\n\nCheck the render method of `"+ownerName+"`.":""}var valuePropNames=["value","defaultValue"];function updateOptions(node,multiple,propValue,setDefaultSelected){var options=node.options;if(multiple){for(var selectedValues=propValue,selectedValue={},i=0;i<selectedValues.length;i++)selectedValue["$"+selectedValues[i]]=!0;for(var _i=0;_i<options.length;_i++){var selected=selectedValue.hasOwnProperty("$"+options[_i].value);options[_i].selected!==selected&&(options[_i].selected=selected),selected&&setDefaultSelected&&(options[_i].defaultSelected=!0)}}else{for(var _selectedValue=""+propValue,defaultSelected=null,_i2=0;_i2<options.length;_i2++){if(options[_i2].value===_selectedValue)return options[_i2].selected=!0,void(setDefaultSelected&&(options[_i2].defaultSelected=!0));null!==defaultSelected||options[_i2].disabled||(defaultSelected=options[_i2])}null!==defaultSelected&&(defaultSelected.selected=!0)}}function getHostProps$2(element,props){return _assign({},props,{value:void 0})}function initWrapperState$1(element,props){var node=element;!function(props){ReactControlledValuePropTypes.checkPropTypes("select",props,getCurrentFiberStackAddendum$4);for(var i=0;i<valuePropNames.length;i++){var propName=valuePropNames[i];if(null!=props[propName]){var isArray=Array.isArray(props[propName]);props.multiple&&!isArray?warning(!1,"The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",propName,getDeclarationErrorAddendum()):!props.multiple&&isArray&&warning(!1,"The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",propName,getDeclarationErrorAddendum())}}}(props);var value=props.value;node._wrapperState={initialValue:null!=value?value:props.defaultValue,wasMultiple:!!props.multiple},void 0===props.value||void 0===props.defaultValue||didWarnValueDefaultValue$1||(warning(!1,"Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://fb.me/react-controlled-components"),didWarnValueDefaultValue$1=!0)}var getCurrentFiberStackAddendum$5=ReactDebugCurrentFiber.getCurrentFiberStackAddendum,didWarnValDefaultVal=!1;function getHostProps$3(element,props){var node=element;return null!=props.dangerouslySetInnerHTML&&invariant(!1,"`dangerouslySetInnerHTML` does not make sense on <textarea>."),_assign({},props,{value:void 0,defaultValue:void 0,children:""+node._wrapperState.initialValue})}function initWrapperState$2(element,props){var node=element;ReactControlledValuePropTypes.checkPropTypes("textarea",props,getCurrentFiberStackAddendum$5),void 0===props.value||void 0===props.defaultValue||didWarnValDefaultVal||(warning(!1,"Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://fb.me/react-controlled-components"),didWarnValDefaultVal=!0);var initialValue=props.value;if(null==initialValue){var defaultValue=props.defaultValue,children=props.children;null!=children&&(warning(!1,"Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=defaultValue&&invariant(!1,"If you supply `defaultValue` on a <textarea>, do not pass children."),Array.isArray(children)&&(children.length<=1||invariant(!1,"<textarea> can only have at most one child."),children=children[0]),defaultValue=""+children),null==defaultValue&&(defaultValue=""),initialValue=defaultValue}node._wrapperState={initialValue:""+initialValue}}function updateWrapper$1(element,props){var node=element,value=props.value;if(null!=value){var newValue=""+value;newValue!==node.value&&(node.value=newValue),null==props.defaultValue&&(node.defaultValue=newValue)}null!=props.defaultValue&&(node.defaultValue=props.defaultValue)}function postMountWrapper$3(element,props){var node=element,textContent=node.textContent;textContent===node._wrapperState.initialValue&&(node.value=textContent)}var HTML_NAMESPACE$1="http://www.w3.org/1999/xhtml",MATH_NAMESPACE="http://www.w3.org/1998/Math/MathML",SVG_NAMESPACE="http://www.w3.org/2000/svg",Namespaces={html:HTML_NAMESPACE$1,mathml:MATH_NAMESPACE,svg:SVG_NAMESPACE};function getIntrinsicNamespace(type){switch(type){case"svg":return SVG_NAMESPACE;case"math":return MATH_NAMESPACE;default:return HTML_NAMESPACE$1}}function getChildNamespace(parentNamespace,type){return null==parentNamespace||parentNamespace===HTML_NAMESPACE$1?getIntrinsicNamespace(type):parentNamespace===SVG_NAMESPACE&&"foreignObject"===type?HTML_NAMESPACE$1:parentNamespace}var func,reusableSVGContainer=void 0,setInnerHTML=(func=function(node,html){if(node.namespaceURI!==Namespaces.svg||"innerHTML"in node)node.innerHTML=html;else{(reusableSVGContainer=reusableSVGContainer||document.createElement("div")).innerHTML="<svg>"+html+"</svg>";for(var svgNode=reusableSVGContainer.firstChild;node.firstChild;)node.removeChild(node.firstChild);for(;svgNode.firstChild;)node.appendChild(svgNode.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(arg0,arg1,arg2,arg3){MSApp.execUnsafeLocalFunction(function(){return func(arg0,arg1,arg2,arg3)})}:func),setTextContent=function(node,text){if(text){var firstChild=node.firstChild;if(firstChild&&firstChild===node.lastChild&&firstChild.nodeType===TEXT_NODE)return void(firstChild.nodeValue=text)}node.textContent=text},isUnitlessNumber={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};var prefixes=["Webkit","ms","Moz","O"];function dangerousStyleValue(name,value,isCustomProperty){return null==value||"boolean"==typeof value||""===value?"":isCustomProperty||"number"!=typeof value||0===value||isUnitlessNumber.hasOwnProperty(name)&&isUnitlessNumber[name]?(""+value).trim():value+"px"}Object.keys(isUnitlessNumber).forEach(function(prop){prefixes.forEach(function(prefix){isUnitlessNumber[function(prefix,key){return prefix+key.charAt(0).toUpperCase()+key.substring(1)}(prefix,prop)]=isUnitlessNumber[prop]})});var badVendoredStyleNamePattern=/^(?:webkit|moz|o)[A-Z]/,badStyleValueWithSemicolonPattern=/;\s*$/,warnedStyleNames={},warnedStyleValues={},warnedForNaNValue=!1,warnedForInfinityValue=!1,warnValidStyle$1=function(name,value,getStack){name.indexOf("-")>-1?function(name,getStack){warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]||(warnedStyleNames[name]=!0,warning(!1,"Unsupported style property %s. Did you mean %s?%s",name,camelizeStyleName(name),getStack()))}(name,getStack):badVendoredStyleNamePattern.test(name)?function(name,getStack){warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]||(warnedStyleNames[name]=!0,warning(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?%s",name,name.charAt(0).toUpperCase()+name.slice(1),getStack()))}(name,getStack):badStyleValueWithSemicolonPattern.test(value)&&function(name,value,getStack){warnedStyleValues.hasOwnProperty(value)&&warnedStyleValues[value]||(warnedStyleValues[value]=!0,warning(!1,'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.%s',name,value.replace(badStyleValueWithSemicolonPattern,""),getStack()))}(name,value,getStack),"number"==typeof value&&(isNaN(value)?function(name,value,getStack){warnedForNaNValue||(warnedForNaNValue=!0,warning(!1,"`NaN` is an invalid value for the `%s` css style property.%s",name,getStack()))}(name,0,getStack):isFinite(value)||function(name,value,getStack){warnedForInfinityValue||(warnedForInfinityValue=!0,warning(!1,"`Infinity` is an invalid value for the `%s` css style property.%s",name,getStack()))}(name,0,getStack))};function createDangerousStringForStyles(styles){var serialized="",delimiter="";for(var styleName in styles)if(styles.hasOwnProperty(styleName)){var styleValue=styles[styleName];if(null!=styleValue){var isCustomProperty=0===styleName.indexOf("--");serialized+=delimiter+hyphenateStyleName(styleName)+":",serialized+=dangerousStyleValue(styleName,styleValue,isCustomProperty),delimiter=";"}}return serialized||null}function setValueForStyles(node,styles,getStack){var style=node.style;for(var styleName in styles)if(styles.hasOwnProperty(styleName)){var isCustomProperty=0===styleName.indexOf("--");isCustomProperty||warnValidStyle$1(styleName,styles[styleName],getStack);var styleValue=dangerousStyleValue(styleName,styles[styleName],isCustomProperty);"float"===styleName&&(styleName="cssFloat"),isCustomProperty?style.setProperty(styleName,styleValue):style[styleName]=styleValue}}var voidElementTags=_assign({menuitem:!0},{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}),HTML$1="__html";function assertValidProps(tag,props,getStack){props&&(voidElementTags[tag]&&(null!=props.children||null!=props.dangerouslySetInnerHTML)&&invariant(!1,"%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s",tag,getStack()),null!=props.dangerouslySetInnerHTML&&(null!=props.children&&invariant(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."),"object"==typeof props.dangerouslySetInnerHTML&&HTML$1 in props.dangerouslySetInnerHTML||invariant(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")),warning(props.suppressContentEditableWarning||!props.contentEditable||null==props.children,"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.%s",getStack()),null!=props.style&&"object"!=typeof props.style&&invariant(!1,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.%s",getStack()))}function isCustomComponent(tagName,props){if(-1===tagName.indexOf("-"))return"string"==typeof props.is;switch(tagName){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ariaProperties={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},warnedProperties={},rARIA=new RegExp("^(aria)-["+ATTRIBUTE_NAME_CHAR+"]*$"),rARIACamel=new RegExp("^(aria)[A-Z]["+ATTRIBUTE_NAME_CHAR+"]*$"),hasOwnProperty=Object.prototype.hasOwnProperty;function getStackAddendum(){var stack=ReactDebugCurrentFrame.getStackAddendum();return null!=stack?stack:""}function validateProperty(tagName,name){if(hasOwnProperty.call(warnedProperties,name)&&warnedProperties[name])return!0;if(rARIACamel.test(name)){var ariaName="aria-"+name.slice(4).toLowerCase(),correctName=ariaProperties.hasOwnProperty(ariaName)?ariaName:null;if(null==correctName)return warning(!1,"Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.%s",name,getStackAddendum()),warnedProperties[name]=!0,!0;if(name!==correctName)return warning(!1,"Invalid ARIA attribute `%s`. Did you mean `%s`?%s",name,correctName,getStackAddendum()),warnedProperties[name]=!0,!0}if(rARIA.test(name)){var lowerCasedName=name.toLowerCase(),standardName=ariaProperties.hasOwnProperty(lowerCasedName)?lowerCasedName:null;if(null==standardName)return warnedProperties[name]=!0,!1;if(name!==standardName)return warning(!1,"Unknown ARIA attribute `%s`. Did you mean `%s`?%s",name,standardName,getStackAddendum()),warnedProperties[name]=!0,!0}return!0}function validateProperties(type,props){isCustomComponent(type,props)||function(type,props){var invalidProps=[];for(var key in props)validateProperty(0,key)||invalidProps.push(key);var unknownPropString=invalidProps.map(function(prop){return"`"+prop+"`"}).join(", ");1===invalidProps.length?warning(!1,"Invalid aria prop %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop%s",unknownPropString,type,getStackAddendum()):invalidProps.length>1&&warning(!1,"Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop%s",unknownPropString,type,getStackAddendum())}(type,props)}var didWarnValueNull=!1;function getStackAddendum$1(){var stack=ReactDebugCurrentFrame.getStackAddendum();return null!=stack?stack:""}var possibleStandardNames={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"};function getStackAddendum$2(){var stack=ReactDebugCurrentFrame.getStackAddendum();return null!=stack?stack:""}var warnedProperties$1={},hasOwnProperty$1=Object.prototype.hasOwnProperty,EVENT_NAME_REGEX=/^on./,INVALID_EVENT_NAME_REGEX=/^on[^A-Z]/,rARIA$1=new RegExp("^(aria)-["+ATTRIBUTE_NAME_CHAR+"]*$"),rARIACamel$1=new RegExp("^(aria)[A-Z]["+ATTRIBUTE_NAME_CHAR+"]*$"),validateProperty$1=function(tagName,name,value,canUseEventSystem){if(hasOwnProperty$1.call(warnedProperties$1,name)&&warnedProperties$1[name])return!0;var lowerCasedName=name.toLowerCase();if("onfocusin"===lowerCasedName||"onfocusout"===lowerCasedName)return warning(!1,"React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),warnedProperties$1[name]=!0,!0;if(canUseEventSystem){if(registrationNameModules.hasOwnProperty(name))return!0;var registrationName=possibleRegistrationNames.hasOwnProperty(lowerCasedName)?possibleRegistrationNames[lowerCasedName]:null;if(null!=registrationName)return warning(!1,"Invalid event handler property `%s`. Did you mean `%s`?%s",name,registrationName,getStackAddendum$2()),warnedProperties$1[name]=!0,!0;if(EVENT_NAME_REGEX.test(name))return warning(!1,"Unknown event handler property `%s`. It will be ignored.%s",name,getStackAddendum$2()),warnedProperties$1[name]=!0,!0}else if(EVENT_NAME_REGEX.test(name))return INVALID_EVENT_NAME_REGEX.test(name)&&warning(!1,"Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.%s",name,getStackAddendum$2()),warnedProperties$1[name]=!0,!0;if(rARIA$1.test(name)||rARIACamel$1.test(name))return!0;if("innerhtml"===lowerCasedName)return warning(!1,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),warnedProperties$1[name]=!0,!0;if("aria"===lowerCasedName)return warning(!1,"The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),warnedProperties$1[name]=!0,!0;if("is"===lowerCasedName&&null!==value&&void 0!==value&&"string"!=typeof value)return warning(!1,"Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.%s",typeof value,getStackAddendum$2()),warnedProperties$1[name]=!0,!0;if("number"==typeof value&&isNaN(value))return warning(!1,"Received NaN for the `%s` attribute. If this is expected, cast the value to a string.%s",name,getStackAddendum$2()),warnedProperties$1[name]=!0,!0;var isReserved=isReservedProp(name);if(possibleStandardNames.hasOwnProperty(lowerCasedName)){var standardName=possibleStandardNames[lowerCasedName];if(standardName!==name)return warning(!1,"Invalid DOM property `%s`. Did you mean `%s`?%s",name,standardName,getStackAddendum$2()),warnedProperties$1[name]=!0,!0}else if(!isReserved&&name!==lowerCasedName)return warning(!1,"React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.%s",name,lowerCasedName,getStackAddendum$2()),warnedProperties$1[name]=!0,!0;return"boolean"!=typeof value||shouldAttributeAcceptBooleanValue(name)?!!isReserved||(!!shouldSetAttribute(name,value)||(warnedProperties$1[name]=!0,!1)):(value?warning(!1,'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.%s',value,name,name,value,name,getStackAddendum$2()):warning(!1,'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s',value,name,name,value,name,name,name,getStackAddendum$2()),warnedProperties$1[name]=!0,!0)},warnUnknownProperties=function(type,props,canUseEventSystem){var unknownProps=[];for(var key in props){validateProperty$1(0,key,props[key],canUseEventSystem)||unknownProps.push(key)}var unknownPropString=unknownProps.map(function(prop){return"`"+prop+"`"}).join(", ");1===unknownProps.length?warning(!1,"Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior%s",unknownPropString,type,getStackAddendum$2()):unknownProps.length>1&&warning(!1,"Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://fb.me/react-attribute-behavior%s",unknownPropString,type,getStackAddendum$2())};var getCurrentFiberOwnerName$1=ReactDebugCurrentFiber.getCurrentFiberOwnerName,getCurrentFiberStackAddendum$2=ReactDebugCurrentFiber.getCurrentFiberStackAddendum,didWarnInvalidHydration=!1,didWarnShadyDOM=!1,DANGEROUSLY_SET_INNER_HTML="dangerouslySetInnerHTML",SUPPRESS_CONTENT_EDITABLE_WARNING="suppressContentEditableWarning",SUPPRESS_HYDRATION_WARNING$1="suppressHydrationWarning",AUTOFOCUS="autoFocus",CHILDREN="children",STYLE="style",HTML="__html",HTML_NAMESPACE=Namespaces.html,getStack=emptyFunction.thatReturns("");getStack=getCurrentFiberStackAddendum$2;var warnedUnknownTags={time:!0,dialog:!0},validatePropertiesInDevelopment=function(type,props){validateProperties(type,props),function(type,props){"input"!==type&&"textarea"!==type&&"select"!==type||null==props||null!==props.value||didWarnValueNull||(didWarnValueNull=!0,"select"===type&&props.multiple?warning(!1,"`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.%s",type,getStackAddendum$1()):warning(!1,"`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.%s",type,getStackAddendum$1()))}(type,props),function(type,props,canUseEventSystem){isCustomComponent(type,props)||warnUnknownProperties(type,props,canUseEventSystem)}(type,props,!0)},NORMALIZE_NEWLINES_REGEX=/\r\n?/g,NORMALIZE_NULL_AND_REPLACEMENT_REGEX=/\u0000|\uFFFD/g,normalizeMarkupForTextOrAttribute=function(markup){return("string"==typeof markup?markup:""+markup).replace(NORMALIZE_NEWLINES_REGEX,"\n").replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX,"")},warnForTextDifference=function(serverText,clientText){if(!didWarnInvalidHydration){var normalizedClientText=normalizeMarkupForTextOrAttribute(clientText),normalizedServerText=normalizeMarkupForTextOrAttribute(serverText);normalizedServerText!==normalizedClientText&&(didWarnInvalidHydration=!0,warning(!1,'Text content did not match. Server: "%s" Client: "%s"',normalizedServerText,normalizedClientText))}},warnForPropDifference=function(propName,serverValue,clientValue){if(!didWarnInvalidHydration){var normalizedClientValue=normalizeMarkupForTextOrAttribute(clientValue),normalizedServerValue=normalizeMarkupForTextOrAttribute(serverValue);normalizedServerValue!==normalizedClientValue&&(didWarnInvalidHydration=!0,warning(!1,"Prop `%s` did not match. Server: %s Client: %s",propName,JSON.stringify(normalizedServerValue),JSON.stringify(normalizedClientValue)))}},warnForExtraAttributes=function(attributeNames){if(!didWarnInvalidHydration){didWarnInvalidHydration=!0;var names=[];attributeNames.forEach(function(name){names.push(name)}),warning(!1,"Extra attributes from the server: %s",names)}},warnForInvalidEventListener=function(registrationName,listener){!1===listener?warning(!1,"Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s",registrationName,registrationName,registrationName,getCurrentFiberStackAddendum$2()):warning(!1,"Expected `%s` listener to be a function, instead got a value of `%s` type.%s",registrationName,typeof listener,getCurrentFiberStackAddendum$2())},normalizeHTML=function(parent,html){var testElement=parent.namespaceURI===HTML_NAMESPACE?parent.ownerDocument.createElement(parent.tagName):parent.ownerDocument.createElementNS(parent.namespaceURI,parent.tagName);return testElement.innerHTML=html,testElement.innerHTML};function ensureListeningTo(rootContainerElement,registrationName){!function(registrationName,contentDocumentHandle){for(var mountAt=contentDocumentHandle,isListening=getListeningForDocument(mountAt),dependencies=registrationNameDependencies[registrationName],i=0;i<dependencies.length;i++){var dependency=dependencies[i];isListening.hasOwnProperty(dependency)&&isListening[dependency]||("topScroll"===dependency?trapCapturedEvent("topScroll","scroll",mountAt):"topFocus"===dependency||"topBlur"===dependency?(trapCapturedEvent("topFocus","focus",mountAt),trapCapturedEvent("topBlur","blur",mountAt),isListening.topBlur=!0,isListening.topFocus=!0):"topCancel"===dependency?(isEventSupported("cancel",!0)&&trapCapturedEvent("topCancel","cancel",mountAt),isListening.topCancel=!0):"topClose"===dependency?(isEventSupported("close",!0)&&trapCapturedEvent("topClose","close",mountAt),isListening.topClose=!0):topLevelTypes.hasOwnProperty(dependency)&&trapBubbledEvent(dependency,topLevelTypes[dependency],mountAt),isListening[dependency]=!0)}}(registrationName,rootContainerElement.nodeType===DOCUMENT_NODE||rootContainerElement.nodeType===DOCUMENT_FRAGMENT_NODE?rootContainerElement:rootContainerElement.ownerDocument)}function getOwnerDocumentFromRootContainer(rootContainerElement){return rootContainerElement.nodeType===DOCUMENT_NODE?rootContainerElement:rootContainerElement.ownerDocument}var mediaEvents={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"};function trapClickOnNonInteractiveElement(node){node.onclick=emptyFunction}function createElement$1(type,props,rootContainerElement,parentNamespace){var domElement,ownerDocument=getOwnerDocumentFromRootContainer(rootContainerElement),namespaceURI=parentNamespace;if(namespaceURI===HTML_NAMESPACE&&(namespaceURI=getIntrinsicNamespace(type)),namespaceURI===HTML_NAMESPACE){var isCustomComponentTag=isCustomComponent(type,props);if(warning(isCustomComponentTag||type===type.toLowerCase(),"<%s /> is using uppercase HTML. Always use lowercase HTML tags in React.",type),"script"===type){var div=ownerDocument.createElement("div");div.innerHTML="<script><\/script>";var firstChild=div.firstChild;domElement=div.removeChild(firstChild)}else domElement="string"==typeof props.is?ownerDocument.createElement(type,{is:props.is}):ownerDocument.createElement(type)}else domElement=ownerDocument.createElementNS(namespaceURI,type);return namespaceURI===HTML_NAMESPACE&&(isCustomComponentTag||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(domElement)||Object.prototype.hasOwnProperty.call(warnedUnknownTags,type)||(warnedUnknownTags[type]=!0,warning(!1,"The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",type))),domElement}function createTextNode$1(text,rootContainerElement){return getOwnerDocumentFromRootContainer(rootContainerElement).createTextNode(text)}function setInitialProperties$1(domElement,tag,rawProps,rootContainerElement){var props,isCustomComponentTag=isCustomComponent(tag,rawProps);switch(validatePropertiesInDevelopment(tag,rawProps),isCustomComponentTag&&!didWarnShadyDOM&&domElement.shadyRoot&&(warning(!1,"%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",getCurrentFiberOwnerName$1()||"A component"),didWarnShadyDOM=!0),tag){case"iframe":case"object":trapBubbledEvent("topLoad","load",domElement),props=rawProps;break;case"video":case"audio":for(var event in mediaEvents)mediaEvents.hasOwnProperty(event)&&trapBubbledEvent(event,mediaEvents[event],domElement);props=rawProps;break;case"source":trapBubbledEvent("topError","error",domElement),props=rawProps;break;case"img":case"image":trapBubbledEvent("topError","error",domElement),trapBubbledEvent("topLoad","load",domElement),props=rawProps;break;case"form":trapBubbledEvent("topReset","reset",domElement),trapBubbledEvent("topSubmit","submit",domElement),props=rawProps;break;case"details":trapBubbledEvent("topToggle","toggle",domElement),props=rawProps;break;case"input":initWrapperState(domElement,rawProps),props=getHostProps(domElement,rawProps),trapBubbledEvent("topInvalid","invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"option":validateProps(0,rawProps),props=getHostProps$1(0,rawProps);break;case"select":initWrapperState$1(domElement,rawProps),props=getHostProps$2(0,rawProps),trapBubbledEvent("topInvalid","invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"textarea":initWrapperState$2(domElement,rawProps),props=getHostProps$3(domElement,rawProps),trapBubbledEvent("topInvalid","invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;default:props=rawProps}switch(assertValidProps(tag,props,getStack),function(tag,domElement,rootContainerElement,nextProps,isCustomComponentTag){for(var propKey in nextProps)if(nextProps.hasOwnProperty(propKey)){var nextProp=nextProps[propKey];if(propKey===STYLE)nextProp&&Object.freeze(nextProp),setValueForStyles(domElement,nextProp,getStack);else if(propKey===DANGEROUSLY_SET_INNER_HTML){var nextHtml=nextProp?nextProp[HTML]:void 0;null!=nextHtml&&setInnerHTML(domElement,nextHtml)}else propKey===CHILDREN?"string"==typeof nextProp?("textarea"!==tag||""!==nextProp)&&setTextContent(domElement,nextProp):"number"==typeof nextProp&&setTextContent(domElement,""+nextProp):propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING$1||propKey===AUTOFOCUS||(registrationNameModules.hasOwnProperty(propKey)?null!=nextProp&&("function"!=typeof nextProp&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey)):isCustomComponentTag?setValueForAttribute(domElement,propKey,nextProp):null!=nextProp&&setValueForProperty(domElement,propKey,nextProp))}}(tag,domElement,rootContainerElement,props,isCustomComponentTag),tag){case"input":track(domElement),postMountWrapper(domElement,rawProps);break;case"textarea":track(domElement),postMountWrapper$3(domElement);break;case"option":!function(element,props){null!=props.value&&element.setAttribute("value",props.value)}(domElement,rawProps);break;case"select":!function(element,props){var node=element;node.multiple=!!props.multiple;var value=props.value;null!=value?updateOptions(node,!!props.multiple,value,!1):null!=props.defaultValue&&updateOptions(node,!!props.multiple,props.defaultValue,!0)}(domElement,rawProps);break;default:"function"==typeof props.onClick&&trapClickOnNonInteractiveElement(domElement)}}function diffProperties$1(domElement,tag,lastRawProps,nextRawProps,rootContainerElement){validatePropertiesInDevelopment(tag,nextRawProps);var lastProps,nextProps,propKey,styleName,updatePayload=null;switch(tag){case"input":lastProps=getHostProps(domElement,lastRawProps),nextProps=getHostProps(domElement,nextRawProps),updatePayload=[];break;case"option":lastProps=getHostProps$1(0,lastRawProps),nextProps=getHostProps$1(0,nextRawProps),updatePayload=[];break;case"select":lastProps=getHostProps$2(0,lastRawProps),nextProps=getHostProps$2(0,nextRawProps),updatePayload=[];break;case"textarea":lastProps=getHostProps$3(domElement,lastRawProps),nextProps=getHostProps$3(domElement,nextRawProps),updatePayload=[];break;default:nextProps=nextRawProps,"function"!=typeof(lastProps=lastRawProps).onClick&&"function"==typeof nextProps.onClick&&trapClickOnNonInteractiveElement(domElement)}assertValidProps(tag,nextProps,getStack);var styleUpdates=null;for(propKey in lastProps)if(!nextProps.hasOwnProperty(propKey)&&lastProps.hasOwnProperty(propKey)&&null!=lastProps[propKey])if(propKey===STYLE){var lastStyle=lastProps[propKey];for(styleName in lastStyle)lastStyle.hasOwnProperty(styleName)&&(styleUpdates||(styleUpdates={}),styleUpdates[styleName]="")}else propKey===DANGEROUSLY_SET_INNER_HTML||propKey===CHILDREN||propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING$1||propKey===AUTOFOCUS||(registrationNameModules.hasOwnProperty(propKey)?updatePayload||(updatePayload=[]):(updatePayload=updatePayload||[]).push(propKey,null));for(propKey in nextProps){var nextProp=nextProps[propKey],lastProp=null!=lastProps?lastProps[propKey]:void 0;if(nextProps.hasOwnProperty(propKey)&&nextProp!==lastProp&&(null!=nextProp||null!=lastProp))if(propKey===STYLE)if(nextProp&&Object.freeze(nextProp),lastProp){for(styleName in lastProp)!lastProp.hasOwnProperty(styleName)||nextProp&&nextProp.hasOwnProperty(styleName)||(styleUpdates||(styleUpdates={}),styleUpdates[styleName]="");for(styleName in nextProp)nextProp.hasOwnProperty(styleName)&&lastProp[styleName]!==nextProp[styleName]&&(styleUpdates||(styleUpdates={}),styleUpdates[styleName]=nextProp[styleName])}else styleUpdates||(updatePayload||(updatePayload=[]),updatePayload.push(propKey,styleUpdates)),styleUpdates=nextProp;else if(propKey===DANGEROUSLY_SET_INNER_HTML){var nextHtml=nextProp?nextProp[HTML]:void 0,lastHtml=lastProp?lastProp[HTML]:void 0;null!=nextHtml&&lastHtml!==nextHtml&&(updatePayload=updatePayload||[]).push(propKey,""+nextHtml)}else propKey===CHILDREN?lastProp===nextProp||"string"!=typeof nextProp&&"number"!=typeof nextProp||(updatePayload=updatePayload||[]).push(propKey,""+nextProp):propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING$1||(registrationNameModules.hasOwnProperty(propKey)?(null!=nextProp&&("function"!=typeof nextProp&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey)),updatePayload||lastProp===nextProp||(updatePayload=[])):(updatePayload=updatePayload||[]).push(propKey,nextProp))}return styleUpdates&&(updatePayload=updatePayload||[]).push(STYLE,styleUpdates),updatePayload}function updateProperties$1(domElement,updatePayload,tag,lastRawProps,nextRawProps){"input"===tag&&"radio"===nextRawProps.type&&null!=nextRawProps.name&&updateChecked(domElement,nextRawProps);isCustomComponent(tag,lastRawProps);switch(function(domElement,updatePayload,wasCustomComponentTag,isCustomComponentTag){for(var i=0;i<updatePayload.length;i+=2){var propKey=updatePayload[i],propValue=updatePayload[i+1];propKey===STYLE?setValueForStyles(domElement,propValue,getStack):propKey===DANGEROUSLY_SET_INNER_HTML?setInnerHTML(domElement,propValue):propKey===CHILDREN?setTextContent(domElement,propValue):isCustomComponentTag?null!=propValue?setValueForAttribute(domElement,propKey,propValue):(name=propKey,domElement.removeAttribute(name)):null!=propValue?setValueForProperty(domElement,propKey,propValue):deleteValueForProperty(domElement,propKey)}var name}(domElement,updatePayload,0,isCustomComponent(tag,nextRawProps)),tag){case"input":updateWrapper(domElement,nextRawProps);break;case"textarea":updateWrapper$1(domElement,nextRawProps);break;case"select":!function(element,props){var node=element;node._wrapperState.initialValue=void 0;var wasMultiple=node._wrapperState.wasMultiple;node._wrapperState.wasMultiple=!!props.multiple;var value=props.value;null!=value?updateOptions(node,!!props.multiple,value,!1):wasMultiple!==!!props.multiple&&(null!=props.defaultValue?updateOptions(node,!!props.multiple,props.defaultValue,!0):updateOptions(node,!!props.multiple,props.multiple?[]:"",!1))}(domElement,nextRawProps)}}function diffHydratedProperties$1(domElement,tag,rawProps,parentNamespace,rootContainerElement){var suppressHydrationWarning=!0===rawProps[SUPPRESS_HYDRATION_WARNING$1],isCustomComponentTag=isCustomComponent(tag,rawProps);switch(validatePropertiesInDevelopment(tag,rawProps),isCustomComponentTag&&!didWarnShadyDOM&&domElement.shadyRoot&&(warning(!1,"%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",getCurrentFiberOwnerName$1()||"A component"),didWarnShadyDOM=!0),tag){case"iframe":case"object":trapBubbledEvent("topLoad","load",domElement);break;case"video":case"audio":for(var event in mediaEvents)mediaEvents.hasOwnProperty(event)&&trapBubbledEvent(event,mediaEvents[event],domElement);break;case"source":trapBubbledEvent("topError","error",domElement);break;case"img":case"image":trapBubbledEvent("topError","error",domElement),trapBubbledEvent("topLoad","load",domElement);break;case"form":trapBubbledEvent("topReset","reset",domElement),trapBubbledEvent("topSubmit","submit",domElement);break;case"details":trapBubbledEvent("topToggle","toggle",domElement);break;case"input":initWrapperState(domElement,rawProps),trapBubbledEvent("topInvalid","invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"option":validateProps(0,rawProps);break;case"select":initWrapperState$1(domElement,rawProps),trapBubbledEvent("topInvalid","invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"textarea":initWrapperState$2(domElement,rawProps),trapBubbledEvent("topInvalid","invalid",domElement),ensureListeningTo(rootContainerElement,"onChange")}assertValidProps(tag,rawProps,getStack);for(var extraAttributeNames=new Set,attributes=domElement.attributes,i=0;i<attributes.length;i++){switch(attributes[i].name.toLowerCase()){case"data-reactroot":case"value":case"checked":case"selected":break;default:extraAttributeNames.add(attributes[i].name)}}var updatePayload=null;for(var propKey in rawProps)if(rawProps.hasOwnProperty(propKey)){var nextProp=rawProps[propKey];if(propKey===CHILDREN)"string"==typeof nextProp?domElement.textContent!==nextProp&&(suppressHydrationWarning||warnForTextDifference(domElement.textContent,nextProp),updatePayload=[CHILDREN,nextProp]):"number"==typeof nextProp&&domElement.textContent!==""+nextProp&&(suppressHydrationWarning||warnForTextDifference(domElement.textContent,nextProp),updatePayload=[CHILDREN,""+nextProp]);else if(registrationNameModules.hasOwnProperty(propKey))null!=nextProp&&("function"!=typeof nextProp&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey));else{var serverValue,propertyInfo;if(suppressHydrationWarning);else if(propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING$1||"value"===propKey||"checked"===propKey||"selected"===propKey);else if(propKey===DANGEROUSLY_SET_INNER_HTML){var rawHtml=nextProp&&nextProp[HTML]||"",serverHTML=domElement.innerHTML,expectedHTML=normalizeHTML(domElement,rawHtml);expectedHTML!==serverHTML&&warnForPropDifference(propKey,serverHTML,expectedHTML)}else if(propKey===STYLE){extraAttributeNames.delete(propKey);var expectedStyle=createDangerousStringForStyles(nextProp);expectedStyle!==(serverValue=domElement.getAttribute("style"))&&warnForPropDifference(propKey,serverValue,expectedStyle)}else if(isCustomComponentTag)extraAttributeNames.delete(propKey.toLowerCase()),nextProp!==(serverValue=getValueForAttribute(domElement,propKey,nextProp))&&warnForPropDifference(propKey,serverValue,nextProp);else if(shouldSetAttribute(propKey,nextProp)){if(propertyInfo=getPropertyInfo(propKey))extraAttributeNames.delete(propertyInfo.attributeName),serverValue=getValueForProperty(domElement,propKey,nextProp);else{var ownNamespace=parentNamespace;ownNamespace===HTML_NAMESPACE&&(ownNamespace=getIntrinsicNamespace(tag)),ownNamespace===HTML_NAMESPACE?extraAttributeNames.delete(propKey.toLowerCase()):extraAttributeNames.delete(propKey),serverValue=getValueForAttribute(domElement,propKey,nextProp)}nextProp!==serverValue&&warnForPropDifference(propKey,serverValue,nextProp)}}}switch(extraAttributeNames.size>0&&!suppressHydrationWarning&&warnForExtraAttributes(extraAttributeNames),tag){case"input":track(domElement),postMountWrapper(domElement,rawProps);break;case"textarea":track(domElement),postMountWrapper$3(domElement);break;case"select":case"option":break;default:"function"==typeof rawProps.onClick&&trapClickOnNonInteractiveElement(domElement)}return updatePayload}function diffHydratedText$1(textNode,text){return textNode.nodeValue!==text}function warnForUnmatchedText$1(textNode,text){warnForTextDifference(textNode.nodeValue,text)}function warnForDeletedHydratableElement$1(parentNode,child){didWarnInvalidHydration||(didWarnInvalidHydration=!0,warning(!1,"Did not expect server HTML to contain a <%s> in <%s>.",child.nodeName.toLowerCase(),parentNode.nodeName.toLowerCase()))}function warnForDeletedHydratableText$1(parentNode,child){didWarnInvalidHydration||(didWarnInvalidHydration=!0,warning(!1,'Did not expect server HTML to contain the text node "%s" in <%s>.',child.nodeValue,parentNode.nodeName.toLowerCase()))}function warnForInsertedHydratedElement$1(parentNode,tag,props){didWarnInvalidHydration||(didWarnInvalidHydration=!0,warning(!1,"Expected server HTML to contain a matching <%s> in <%s>.",tag,parentNode.nodeName.toLowerCase()))}function warnForInsertedHydratedText$1(parentNode,text){""!==text&&(didWarnInvalidHydration||(didWarnInvalidHydration=!0,warning(!1,'Expected server HTML to contain a matching text node for "%s" in <%s>.',text,parentNode.nodeName.toLowerCase())))}var validateDOMNesting,ReactDOMFiberComponent=Object.freeze({createElement:createElement$1,createTextNode:createTextNode$1,setInitialProperties:setInitialProperties$1,diffProperties:diffProperties$1,updateProperties:updateProperties$1,diffHydratedProperties:diffHydratedProperties$1,diffHydratedText:diffHydratedText$1,warnForUnmatchedText:warnForUnmatchedText$1,warnForDeletedHydratableElement:warnForDeletedHydratableElement$1,warnForDeletedHydratableText:warnForDeletedHydratableText$1,warnForInsertedHydratedElement:warnForInsertedHydratedElement$1,warnForInsertedHydratedText:warnForInsertedHydratedText$1,restoreControlledState:function(domElement,tag,props){switch(tag){case"input":return void restoreControlledState$1(domElement,props);case"textarea":return void function(element,props){updateWrapper$1(element,props)}(domElement,props);case"select":return void function(element,props){var node=element,value=props.value;null!=value&&updateOptions(node,!!props.multiple,value,!1)}(domElement,props)}}}),getCurrentFiberStackAddendum$6=ReactDebugCurrentFiber.getCurrentFiberStackAddendum,specialTags=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],inScopeTags=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],buttonScopeTags=inScopeTags.concat(["button"]),impliedEndTags=["dd","dt","li","option","optgroup","p","rp","rt"],emptyAncestorInfo={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null},isTagValidWithParent=function(tag,parentTag){switch(parentTag){case"select":return"option"===tag||"optgroup"===tag||"#text"===tag;case"optgroup":return"option"===tag||"#text"===tag;case"option":return"#text"===tag;case"tr":return"th"===tag||"td"===tag||"style"===tag||"script"===tag||"template"===tag;case"tbody":case"thead":case"tfoot":return"tr"===tag||"style"===tag||"script"===tag||"template"===tag;case"colgroup":return"col"===tag||"template"===tag;case"table":return"caption"===tag||"colgroup"===tag||"tbody"===tag||"tfoot"===tag||"thead"===tag||"style"===tag||"script"===tag||"template"===tag;case"head":return"base"===tag||"basefont"===tag||"bgsound"===tag||"link"===tag||"meta"===tag||"title"===tag||"noscript"===tag||"noframes"===tag||"style"===tag||"script"===tag||"template"===tag;case"html":return"head"===tag||"body"===tag;case"#document":return"html"===tag}switch(tag){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==parentTag&&"h2"!==parentTag&&"h3"!==parentTag&&"h4"!==parentTag&&"h5"!==parentTag&&"h6"!==parentTag;case"rp":case"rt":return-1===impliedEndTags.indexOf(parentTag);case"body":case"caption":case"col":case"colgroup":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==parentTag}return!0},findInvalidAncestorForTag=function(tag,ancestorInfo){switch(tag){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return ancestorInfo.pTagInButtonScope;case"form":return ancestorInfo.formTag||ancestorInfo.pTagInButtonScope;case"li":return ancestorInfo.listItemTagAutoclosing;case"dd":case"dt":return ancestorInfo.dlItemTagAutoclosing;case"button":return ancestorInfo.buttonTagInScope;case"a":return ancestorInfo.aTagInScope;case"nobr":return ancestorInfo.nobrTagInScope}return null},didWarn={};(validateDOMNesting=function(childTag,childText,ancestorInfo){var parentInfo=(ancestorInfo=ancestorInfo||emptyAncestorInfo).current,parentTag=parentInfo&&parentInfo.tag;null!=childText&&(warning(null==childTag,"validateDOMNesting: when childText is passed, childTag should be null"),childTag="#text");var invalidParent=isTagValidWithParent(childTag,parentTag)?null:parentInfo,invalidAncestor=invalidParent?null:findInvalidAncestorForTag(childTag,ancestorInfo),invalidParentOrAncestor=invalidParent||invalidAncestor;if(invalidParentOrAncestor){var ancestorTag=invalidParentOrAncestor.tag,addendum=getCurrentFiberStackAddendum$6(),warnKey=!!invalidParent+"|"+childTag+"|"+ancestorTag+"|"+addendum;if(!didWarn[warnKey]){didWarn[warnKey]=!0;var tagDisplayName=childTag,whitespaceInfo="";if("#text"===childTag?/\S/.test(childText)?tagDisplayName="Text nodes":(tagDisplayName="Whitespace text nodes",whitespaceInfo=" Make sure you don't have any extra whitespace between tags on each line of your source code."):tagDisplayName="<"+childTag+">",invalidParent){var info="";"table"===ancestorTag&&"tr"===childTag&&(info+=" Add a <tbody> to your code to match the DOM tree generated by the browser."),warning(!1,"validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s%s",tagDisplayName,ancestorTag,whitespaceInfo,info,addendum)}else warning(!1,"validateDOMNesting(...): %s cannot appear as a descendant of <%s>.%s",tagDisplayName,ancestorTag,addendum)}}}).updatedAncestorInfo=function(oldInfo,tag,instance){var ancestorInfo=_assign({},oldInfo||emptyAncestorInfo),info={tag:tag,instance:instance};return-1!==inScopeTags.indexOf(tag)&&(ancestorInfo.aTagInScope=null,ancestorInfo.buttonTagInScope=null,ancestorInfo.nobrTagInScope=null),-1!==buttonScopeTags.indexOf(tag)&&(ancestorInfo.pTagInButtonScope=null),-1!==specialTags.indexOf(tag)&&"address"!==tag&&"div"!==tag&&"p"!==tag&&(ancestorInfo.listItemTagAutoclosing=null,ancestorInfo.dlItemTagAutoclosing=null),ancestorInfo.current=info,"form"===tag&&(ancestorInfo.formTag=info),"a"===tag&&(ancestorInfo.aTagInScope=info),"button"===tag&&(ancestorInfo.buttonTagInScope=info),"nobr"===tag&&(ancestorInfo.nobrTagInScope=info),"p"===tag&&(ancestorInfo.pTagInButtonScope=info),"li"===tag&&(ancestorInfo.listItemTagAutoclosing=info),"dd"!==tag&&"dt"!==tag||(ancestorInfo.dlItemTagAutoclosing=info),ancestorInfo},validateDOMNesting.isTagValidInContext=function(tag,ancestorInfo){var parentInfo=(ancestorInfo=ancestorInfo||emptyAncestorInfo).current,parentTag=parentInfo&&parentInfo.tag;return isTagValidWithParent(tag,parentTag)&&!findInvalidAncestorForTag(tag,ancestorInfo)};var validateDOMNesting$1=validateDOMNesting,createElement=createElement$1,createTextNode=createTextNode$1,setInitialProperties=setInitialProperties$1,diffProperties=diffProperties$1,updateProperties=updateProperties$1,diffHydratedProperties=diffHydratedProperties$1,diffHydratedText=diffHydratedText$1,warnForUnmatchedText=warnForUnmatchedText$1,warnForDeletedHydratableElement=warnForDeletedHydratableElement$1,warnForDeletedHydratableText=warnForDeletedHydratableText$1,warnForInsertedHydratedElement=warnForInsertedHydratedElement$1,warnForInsertedHydratedText=warnForInsertedHydratedText$1,updatedAncestorInfo=validateDOMNesting$1.updatedAncestorInfo,precacheFiberNode=precacheFiberNode$1,updateFiberProps=updateFiberProps$1;"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||warning(!1,"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. http://fb.me/react-polyfills"),injection$3.injectFiberControlledHostComponent(ReactDOMFiberComponent);var eventsEnabled=null,selectionInformation=null;function isValidContainer(node){return!(!node||node.nodeType!==ELEMENT_NODE&&node.nodeType!==DOCUMENT_NODE&&node.nodeType!==DOCUMENT_FRAGMENT_NODE&&(node.nodeType!==COMMENT_NODE||" react-mount-point-unstable "!==node.nodeValue))}function getReactRootElementInContainer(container){return container?container.nodeType===DOCUMENT_NODE?container.documentElement:container.firstChild:null}var DOMRenderer=reactReconciler({getRootHostContext:function(rootContainerInstance){var type=void 0,namespace=void 0,nodeType=rootContainerInstance.nodeType;switch(nodeType){case DOCUMENT_NODE:case DOCUMENT_FRAGMENT_NODE:type=nodeType===DOCUMENT_NODE?"#document":"#fragment";var root=rootContainerInstance.documentElement;namespace=root?root.namespaceURI:getChildNamespace(null,"");break;default:var container=nodeType===COMMENT_NODE?rootContainerInstance.parentNode:rootContainerInstance;namespace=getChildNamespace(container.namespaceURI||null,type=container.tagName)}var validatedTag=type.toLowerCase();return{namespace:namespace,ancestorInfo:updatedAncestorInfo(null,validatedTag,null)}},getChildHostContext:function(parentHostContext,type){var parentHostContextDev=parentHostContext;return{namespace:getChildNamespace(parentHostContextDev.namespace,type),ancestorInfo:updatedAncestorInfo(parentHostContextDev.ancestorInfo,type,null)}},getPublicInstance:function(instance){return instance},prepareForCommit:function(){eventsEnabled=isEnabled(),selectionInformation=getSelectionInformation(),setEnabled(!1)},resetAfterCommit:function(){restoreSelection(selectionInformation),selectionInformation=null,setEnabled(eventsEnabled),eventsEnabled=null},createInstance:function(type,props,rootContainerInstance,hostContext,internalInstanceHandle){var parentNamespace,hostContextDev=hostContext;if(validateDOMNesting$1(type,null,hostContextDev.ancestorInfo),"string"==typeof props.children||"number"==typeof props.children){var string=""+props.children,ownAncestorInfo=updatedAncestorInfo(hostContextDev.ancestorInfo,type,null);validateDOMNesting$1(null,string,ownAncestorInfo)}parentNamespace=hostContextDev.namespace;var domElement=createElement(type,props,rootContainerInstance,parentNamespace);return precacheFiberNode(internalInstanceHandle,domElement),updateFiberProps(domElement,props),domElement},appendInitialChild:function(parentInstance,child){parentInstance.appendChild(child)},finalizeInitialChildren:function(domElement,type,props,rootContainerInstance){return setInitialProperties(domElement,type,props,rootContainerInstance),function(type,props){switch(type){case"button":case"input":case"select":case"textarea":return!!props.autoFocus}return!1}(type,props)},prepareUpdate:function(domElement,type,oldProps,newProps,rootContainerInstance,hostContext){var hostContextDev=hostContext;if(typeof newProps.children!=typeof oldProps.children&&("string"==typeof newProps.children||"number"==typeof newProps.children)){var string=""+newProps.children,ownAncestorInfo=updatedAncestorInfo(hostContextDev.ancestorInfo,type,null);validateDOMNesting$1(null,string,ownAncestorInfo)}return diffProperties(domElement,type,oldProps,newProps,rootContainerInstance)},shouldSetTextContent:function(type,props){return"textarea"===type||"string"==typeof props.children||"number"==typeof props.children||"object"==typeof props.dangerouslySetInnerHTML&&null!==props.dangerouslySetInnerHTML&&"string"==typeof props.dangerouslySetInnerHTML.__html},shouldDeprioritizeSubtree:function(type,props){return!!props.hidden},createTextInstance:function(text,rootContainerInstance,hostContext,internalInstanceHandle){validateDOMNesting$1(null,text,hostContext.ancestorInfo);var textNode=createTextNode(text,rootContainerInstance);return precacheFiberNode(internalInstanceHandle,textNode),textNode},now:now,mutation:{commitMount:function(domElement,type,newProps,internalInstanceHandle){domElement.focus()},commitUpdate:function(domElement,updatePayload,type,oldProps,newProps,internalInstanceHandle){updateFiberProps(domElement,newProps),updateProperties(domElement,updatePayload,type,oldProps,newProps)},resetTextContent:function(domElement){domElement.textContent=""},commitTextUpdate:function(textInstance,oldText,newText){textInstance.nodeValue=newText},appendChild:function(parentInstance,child){parentInstance.appendChild(child)},appendChildToContainer:function(container,child){container.nodeType===COMMENT_NODE?container.parentNode.insertBefore(child,container):container.appendChild(child)},insertBefore:function(parentInstance,child,beforeChild){parentInstance.insertBefore(child,beforeChild)},insertInContainerBefore:function(container,child,beforeChild){container.nodeType===COMMENT_NODE?container.parentNode.insertBefore(child,beforeChild):container.insertBefore(child,beforeChild)},removeChild:function(parentInstance,child){parentInstance.removeChild(child)},removeChildFromContainer:function(container,child){container.nodeType===COMMENT_NODE?container.parentNode.removeChild(child):container.removeChild(child)}},hydration:{canHydrateInstance:function(instance,type,props){return instance.nodeType!==ELEMENT_NODE||type.toLowerCase()!==instance.nodeName.toLowerCase()?null:instance},canHydrateTextInstance:function(instance,text){return""===text||instance.nodeType!==TEXT_NODE?null:instance},getNextHydratableSibling:function(instance){for(var node=instance.nextSibling;node&&node.nodeType!==ELEMENT_NODE&&node.nodeType!==TEXT_NODE;)node=node.nextSibling;return node},getFirstHydratableChild:function(parentInstance){for(var next=parentInstance.firstChild;next&&next.nodeType!==ELEMENT_NODE&&next.nodeType!==TEXT_NODE;)next=next.nextSibling;return next},hydrateInstance:function(instance,type,props,rootContainerInstance,hostContext,internalInstanceHandle){precacheFiberNode(internalInstanceHandle,instance),updateFiberProps(instance,props);var parentNamespace;return parentNamespace=hostContext.namespace,diffHydratedProperties(instance,type,props,parentNamespace,rootContainerInstance)},hydrateTextInstance:function(textInstance,text,internalInstanceHandle){return precacheFiberNode(internalInstanceHandle,textInstance),diffHydratedText(textInstance,text)},didNotMatchHydratedContainerTextInstance:function(parentContainer,textInstance,text){warnForUnmatchedText(textInstance,text)},didNotMatchHydratedTextInstance:function(parentType,parentProps,parentInstance,textInstance,text){!0!==parentProps.suppressHydrationWarning&&warnForUnmatchedText(textInstance,text)},didNotHydrateContainerInstance:function(parentContainer,instance){1===instance.nodeType?warnForDeletedHydratableElement(parentContainer,instance):warnForDeletedHydratableText(parentContainer,instance)},didNotHydrateInstance:function(parentType,parentProps,parentInstance,instance){!0!==parentProps.suppressHydrationWarning&&(1===instance.nodeType?warnForDeletedHydratableElement(parentInstance,instance):warnForDeletedHydratableText(parentInstance,instance))},didNotFindHydratableContainerInstance:function(parentContainer,type,props){warnForInsertedHydratedElement(parentContainer,type,props)},didNotFindHydratableContainerTextInstance:function(parentContainer,text){warnForInsertedHydratedText(parentContainer,text)},didNotFindHydratableInstance:function(parentType,parentProps,parentInstance,type,props){!0!==parentProps.suppressHydrationWarning&&warnForInsertedHydratedElement(parentInstance,type,props)},didNotFindHydratableTextInstance:function(parentType,parentProps,parentInstance,text){!0!==parentProps.suppressHydrationWarning&&warnForInsertedHydratedText(parentInstance,text)}},scheduleDeferredCallback:rIC,cancelDeferredCallback:cIC,useSyncScheduling:!0});injection$4.injectFiberBatchedUpdates(DOMRenderer.batchedUpdates);var warnedAboutHydrateAPI=!1;function renderSubtreeIntoContainer(parentComponent,children,container,forceHydrate,callback){if(isValidContainer(container)||invariant(!1,"Target container is not a DOM element."),container._reactRootContainer&&container.nodeType!==COMMENT_NODE){var hostInstance=DOMRenderer.findHostInstanceWithNoPortals(container._reactRootContainer.current);hostInstance&&warning(hostInstance.parentNode===container,"render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var isRootRenderedBySomeReact=!!container._reactRootContainer,rootEl=getReactRootElementInContainer(container),hasNonRootReactChild=!(!rootEl||!getInstanceFromNode$1(rootEl));warning(!hasNonRootReactChild||isRootRenderedBySomeReact,"render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),warning(container.nodeType!==ELEMENT_NODE||!container.tagName||"BODY"!==container.tagName.toUpperCase(),"render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");var root=container._reactRootContainer;if(root)DOMRenderer.updateContainer(children,root,parentComponent,callback);else{var shouldHydrate=forceHydrate||function(container){var rootElement=getReactRootElementInContainer(container);return!(!rootElement||rootElement.nodeType!==ELEMENT_NODE||!rootElement.hasAttribute(ROOT_ATTRIBUTE_NAME))}(container);if(!shouldHydrate)for(var warned=!1,rootSibling=void 0;rootSibling=container.lastChild;)!warned&&rootSibling.nodeType===ELEMENT_NODE&&rootSibling.hasAttribute(ROOT_ATTRIBUTE_NAME)&&(warned=!0,warning(!1,"render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.")),container.removeChild(rootSibling);!shouldHydrate||forceHydrate||warnedAboutHydrateAPI||(warnedAboutHydrateAPI=!0,lowPriorityWarning$1(!1,"render(): Calling ReactDOM.render() to hydrate server-rendered markup will stop working in React v17. Replace the ReactDOM.render() call with ReactDOM.hydrate() if you want React to attach to the server HTML."));var newRoot=DOMRenderer.createContainer(container,shouldHydrate);root=container._reactRootContainer=newRoot,DOMRenderer.unbatchedUpdates(function(){DOMRenderer.updateContainer(children,newRoot,parentComponent,callback)})}return DOMRenderer.getPublicRootInstance(root)}function createPortal(children,container){var key=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return isValidContainer(container)||invariant(!1,"Target container is not a DOM element."),function(children,containerInfo,implementation){var key=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:REACT_PORTAL_TYPE,key:null==key?null:""+key,children:children,containerInfo:containerInfo,implementation:implementation}}(children,container,null,key)}function ReactRoot(container,hydrate){var root=DOMRenderer.createContainer(container,hydrate);this._reactRootContainer=root}ReactRoot.prototype.render=function(children,callback){var root=this._reactRootContainer;DOMRenderer.updateContainer(children,root,null,callback)},ReactRoot.prototype.unmount=function(callback){var root=this._reactRootContainer;DOMRenderer.updateContainer(null,root,null,callback)};var ReactDOM={createPortal:createPortal,findDOMNode:function(componentOrElement){var owner=ReactCurrentOwner.current;if(null!==owner){var warnedAboutRefsInRender=owner.stateNode._warnedAboutRefsInRender;warning(warnedAboutRefsInRender,"%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",getComponentName(owner)||"A component"),owner.stateNode._warnedAboutRefsInRender=!0}if(null==componentOrElement)return null;if(componentOrElement.nodeType===ELEMENT_NODE)return componentOrElement;var inst=get(componentOrElement);if(inst)return DOMRenderer.findHostInstance(inst);"function"==typeof componentOrElement.render?invariant(!1,"Unable to find node on an unmounted component."):invariant(!1,"Element appears to be neither ReactComponent nor DOMNode. Keys: %s",Object.keys(componentOrElement))},hydrate:function(element,container,callback){return renderSubtreeIntoContainer(null,element,container,!0,callback)},render:function(element,container,callback){return renderSubtreeIntoContainer(null,element,container,!1,callback)},unstable_renderSubtreeIntoContainer:function(parentComponent,element,containerNode,callback){return(null==parentComponent||void 0===parentComponent._reactInternalFiber)&&invariant(!1,"parentComponent must be a valid React Component"),renderSubtreeIntoContainer(parentComponent,element,containerNode,!1,callback)},unmountComponentAtNode:function(container){if(isValidContainer(container)||invariant(!1,"unmountComponentAtNode(...): Target container is not a DOM element."),container._reactRootContainer){var rootEl=getReactRootElementInContainer(container),renderedByDifferentReact=rootEl&&!getInstanceFromNode$1(rootEl);return warning(!renderedByDifferentReact,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),DOMRenderer.unbatchedUpdates(function(){renderSubtreeIntoContainer(null,null,container,!1,function(){container._reactRootContainer=null})}),!0}var _rootEl=getReactRootElementInContainer(container),hasNonRootReactChild=!(!_rootEl||!getInstanceFromNode$1(_rootEl)),isContainerReactRoot=1===container.nodeType&&isValidContainer(container.parentNode)&&!!container.parentNode._reactRootContainer;return warning(!hasNonRootReactChild,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",isContainerReactRoot?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},unstable_createPortal:createPortal,unstable_batchedUpdates:batchedUpdates,unstable_deferredUpdates:DOMRenderer.deferredUpdates,flushSync:DOMRenderer.flushSync,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:EventPluginHub,EventPluginRegistry:EventPluginRegistry,EventPropagators:EventPropagators,ReactControlledComponent:ReactControlledComponent,ReactDOMComponentTree:ReactDOMComponentTree,ReactDOMEventListener:ReactDOMEventListener}};if(!DOMRenderer.injectIntoDevTools({findFiberByHostInstance:getClosestInstanceFromNode,bundleType:1,version:"16.2.0",rendererPackageName:"react-dom"})&&ExecutionEnvironment.canUseDOM&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var protocol=window.location.protocol;/^(https?|file):$/.test(protocol)&&console.info("%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools"+("file:"===protocol?"\nYou might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq":""),"font-weight:bold")}var ReactDOM$2=Object.freeze({default:ReactDOM}),ReactDOM$3=ReactDOM$2&&ReactDOM||ReactDOM$2,reactDom=ReactDOM$3.default?ReactDOM$3.default:ReactDOM$3;module.exports=reactDom})()},"./node_modules/react-dom/index.js":function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__("./node_modules/react-dom/cjs/react-dom.development.js")},"./node_modules/react/cjs/react.development.js":function(module,exports,__webpack_require__){"use strict";(function(){var _assign=__webpack_require__("./node_modules/object-assign/index.js"),emptyObject=__webpack_require__("./node_modules/fbjs/lib/emptyObject.js"),invariant=__webpack_require__("./node_modules/fbjs/lib/invariant.js"),warning=__webpack_require__("./node_modules/fbjs/lib/warning.js"),emptyFunction=__webpack_require__("./node_modules/fbjs/lib/emptyFunction.js"),checkPropTypes=__webpack_require__("./node_modules/prop-types/checkPropTypes.js"),hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_CALL_TYPE=hasSymbol?Symbol.for("react.call"):60104,REACT_RETURN_TYPE=hasSymbol?Symbol.for("react.return"):60105,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,MAYBE_ITERATOR_SYMBOL="function"==typeof Symbol&&Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(null===maybeIterable||void 0===maybeIterable)return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL];return"function"==typeof maybeIterator?maybeIterator:null}var lowPriorityWarning$1=function(condition,format){if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];(function(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0,message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!=typeof console&&console.warn(message);try{throw new Error(message)}catch(x){}}).apply(void 0,[format].concat(args))}},didWarnStateUpdateForUnmountedComponent={};function warnNoop(publicInstance,callerName){var constructor=publicInstance.constructor,componentName=constructor&&(constructor.displayName||constructor.name)||"ReactClass",warningKey=componentName+"."+callerName;didWarnStateUpdateForUnmountedComponent[warningKey]||(warning(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op.\n\nPlease check the code for the %s component.",callerName,callerName,componentName),didWarnStateUpdateForUnmountedComponent[warningKey]=!0)}var ReactNoopUpdateQueue={isMounted:function(publicInstance){return!1},enqueueForceUpdate:function(publicInstance,callback,callerName){warnNoop(publicInstance,"forceUpdate")},enqueueReplaceState:function(publicInstance,completeState,callback,callerName){warnNoop(publicInstance,"replaceState")},enqueueSetState:function(publicInstance,partialState,callback,callerName){warnNoop(publicInstance,"setState")}};function Component(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}Component.prototype.isReactComponent={},Component.prototype.setState=function(partialState,callback){"object"!=typeof partialState&&"function"!=typeof partialState&&null!=partialState&&invariant(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,partialState,callback,"setState")},Component.prototype.forceUpdate=function(callback){this.updater.enqueueForceUpdate(this,callback,"forceUpdate")};var deprecatedAPIs={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},defineDeprecationWarning=function(methodName,info){Object.defineProperty(Component.prototype,methodName,{get:function(){lowPriorityWarning$1(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",info[0],info[1])}})};for(var fnName in deprecatedAPIs)deprecatedAPIs.hasOwnProperty(fnName)&&defineDeprecationWarning(fnName,deprecatedAPIs[fnName]);function PureComponent(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}function ComponentDummy(){}ComponentDummy.prototype=Component.prototype;var pureComponentPrototype=PureComponent.prototype=new ComponentDummy;function AsyncComponent(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}pureComponentPrototype.constructor=PureComponent,_assign(pureComponentPrototype,Component.prototype),pureComponentPrototype.isPureReactComponent=!0;var asyncComponentPrototype=AsyncComponent.prototype=new ComponentDummy;asyncComponentPrototype.constructor=AsyncComponent,_assign(asyncComponentPrototype,Component.prototype),asyncComponentPrototype.unstable_isAsyncReactComponent=!0,asyncComponentPrototype.render=function(){return this.props.children};var specialPropKeyWarningShown,specialPropRefWarningShown,ReactCurrentOwner={current:null},hasOwnProperty=Object.prototype.hasOwnProperty,RESERVED_PROPS={key:!0,ref:!0,__self:!0,__source:!0};function hasValidRef(config){if(hasOwnProperty.call(config,"ref")){var getter=Object.getOwnPropertyDescriptor(config,"ref").get;if(getter&&getter.isReactWarning)return!1}return void 0!==config.ref}function hasValidKey(config){if(hasOwnProperty.call(config,"key")){var getter=Object.getOwnPropertyDescriptor(config,"key").get;if(getter&&getter.isReactWarning)return!1}return void 0!==config.key}var ReactElement=function(type,key,ref,self,source,owner,props){var element={$$typeof:REACT_ELEMENT_TYPE,type:type,key:key,ref:ref,props:props,_owner:owner,_store:{}};return Object.defineProperty(element._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(element,"_self",{configurable:!1,enumerable:!1,writable:!1,value:self}),Object.defineProperty(element,"_source",{configurable:!1,enumerable:!1,writable:!1,value:source}),Object.freeze&&(Object.freeze(element.props),Object.freeze(element)),element};function createElement(type,config,children){var propName,props={},key=null,ref=null,self=null,source=null;if(null!=config)for(propName in hasValidRef(config)&&(ref=config.ref),hasValidKey(config)&&(key=""+config.key),self=void 0===config.__self?null:config.__self,source=void 0===config.__source?null:config.__source,config)hasOwnProperty.call(config,propName)&&!RESERVED_PROPS.hasOwnProperty(propName)&&(props[propName]=config[propName]);var childrenLength=arguments.length-2;if(1===childrenLength)props.children=children;else if(childrenLength>1){for(var childArray=Array(childrenLength),i=0;i<childrenLength;i++)childArray[i]=arguments[i+2];Object.freeze&&Object.freeze(childArray),props.children=childArray}if(type&&type.defaultProps){var defaultProps=type.defaultProps;for(propName in defaultProps)void 0===props[propName]&&(props[propName]=defaultProps[propName])}if((key||ref)&&(void 0===props.$$typeof||props.$$typeof!==REACT_ELEMENT_TYPE)){var displayName="function"==typeof type?type.displayName||type.name||"Unknown":type;key&&function(props,displayName){var warnAboutAccessingKey=function(){specialPropKeyWarningShown||(specialPropKeyWarningShown=!0,warning(!1,"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",displayName))};warnAboutAccessingKey.isReactWarning=!0,Object.defineProperty(props,"key",{get:warnAboutAccessingKey,configurable:!0})}(props,displayName),ref&&function(props,displayName){var warnAboutAccessingRef=function(){specialPropRefWarningShown||(specialPropRefWarningShown=!0,warning(!1,"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",displayName))};warnAboutAccessingRef.isReactWarning=!0,Object.defineProperty(props,"ref",{get:warnAboutAccessingRef,configurable:!0})}(props,displayName)}return ReactElement(type,key,ref,self,source,ReactCurrentOwner.current,props)}function isValidElement(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE}var ReactDebugCurrentFrame={getCurrentStack:null,getStackAddendum:function(){var impl=ReactDebugCurrentFrame.getCurrentStack;return impl?impl():null}},SEPARATOR=".",SUBSEPARATOR=":";var didWarnAboutMaps=!1,userProvidedKeyEscapeRegex=/\/+/g;function escapeUserProvidedKey(text){return(""+text).replace(userProvidedKeyEscapeRegex,"$&/")}var POOL_SIZE=10,traverseContextPool=[];function getPooledTraverseContext(mapResult,keyPrefix,mapFunction,mapContext){if(traverseContextPool.length){var traverseContext=traverseContextPool.pop();return traverseContext.result=mapResult,traverseContext.keyPrefix=keyPrefix,traverseContext.func=mapFunction,traverseContext.context=mapContext,traverseContext.count=0,traverseContext}return{result:mapResult,keyPrefix:keyPrefix,func:mapFunction,context:mapContext,count:0}}function releaseTraverseContext(traverseContext){traverseContext.result=null,traverseContext.keyPrefix=null,traverseContext.func=null,traverseContext.context=null,traverseContext.count=0,traverseContextPool.length<POOL_SIZE&&traverseContextPool.push(traverseContext)}function traverseAllChildren(children,callback,traverseContext){return null==children?0:function traverseAllChildrenImpl(children,nameSoFar,callback,traverseContext){var type=typeof children;"undefined"!==type&&"boolean"!==type||(children=null);var child,invokeCallback=!1;if(null===children)invokeCallback=!0;else switch(type){case"string":case"number":invokeCallback=!0;break;case"object":switch(children.$$typeof){case REACT_ELEMENT_TYPE:case REACT_CALL_TYPE:case REACT_RETURN_TYPE:case REACT_PORTAL_TYPE:invokeCallback=!0}}if(invokeCallback)return callback(traverseContext,children,""===nameSoFar?SEPARATOR+getComponentKey(children,0):nameSoFar),1;var subtreeCount=0,nextNamePrefix=""===nameSoFar?SEPARATOR:nameSoFar+SUBSEPARATOR;if(Array.isArray(children))for(var i=0;i<children.length;i++)subtreeCount+=traverseAllChildrenImpl(child=children[i],nextNamePrefix+getComponentKey(child,i),callback,traverseContext);else{var iteratorFn=getIteratorFn(children);if("function"==typeof iteratorFn){iteratorFn===children.entries&&(warning(didWarnAboutMaps,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s",ReactDebugCurrentFrame.getStackAddendum()),didWarnAboutMaps=!0);for(var step,iterator=iteratorFn.call(children),ii=0;!(step=iterator.next()).done;)subtreeCount+=traverseAllChildrenImpl(child=step.value,nextNamePrefix+getComponentKey(child,ii++),callback,traverseContext)}else if("object"===type){var addendum;addendum=" If you meant to render a collection of children, use an array instead."+ReactDebugCurrentFrame.getStackAddendum();var childrenString=""+children;invariant(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===childrenString?"object with keys {"+Object.keys(children).join(", ")+"}":childrenString,addendum)}}return subtreeCount}(children,"",callback,traverseContext)}function getComponentKey(component,index){return"object"==typeof component&&null!==component&&null!=component.key?(key=component.key,escaperLookup={"=":"=0",":":"=2"},"$"+(""+key).replace(/[=:]/g,function(match){return escaperLookup[match]})):index.toString(36);var key,escaperLookup}function forEachSingleChild(bookKeeping,child,name){var func=bookKeeping.func,context=bookKeeping.context;func.call(context,child,bookKeeping.count++)}function mapSingleChildIntoContext(bookKeeping,child,childKey){var oldElement,newKey,result=bookKeeping.result,keyPrefix=bookKeeping.keyPrefix,func=bookKeeping.func,context=bookKeeping.context,mappedChild=func.call(context,child,bookKeeping.count++);Array.isArray(mappedChild)?mapIntoWithKeyPrefixInternal(mappedChild,result,childKey,emptyFunction.thatReturnsArgument):null!=mappedChild&&(isValidElement(mappedChild)&&(oldElement=mappedChild,newKey=keyPrefix+(!mappedChild.key||child&&child.key===mappedChild.key?"":escapeUserProvidedKey(mappedChild.key)+"/")+childKey,mappedChild=ReactElement(oldElement.type,newKey,oldElement.ref,oldElement._self,oldElement._source,oldElement._owner,oldElement.props)),result.push(mappedChild))}function mapIntoWithKeyPrefixInternal(children,array,prefix,func,context){var escapedPrefix="";null!=prefix&&(escapedPrefix=escapeUserProvidedKey(prefix)+"/");var traverseContext=getPooledTraverseContext(array,escapedPrefix,func,context);traverseAllChildren(children,mapSingleChildIntoContext,traverseContext),releaseTraverseContext(traverseContext)}function getComponentName(fiber){var type=fiber.type;return"string"==typeof type?type:"function"==typeof type?type.displayName||type.name:null}var currentlyValidatingElement=null,propTypesMisspellWarningShown=!1,getStackAddendum=function(){var element,stack="";if(currentlyValidatingElement){var name=null==(element=currentlyValidatingElement)?"#empty":"string"==typeof element||"number"==typeof element?"#text":"string"==typeof element.type?element.type:element.type===REACT_FRAGMENT_TYPE?"React.Fragment":element.type.displayName||element.type.name||"Unknown",owner=currentlyValidatingElement._owner;stack+=function(name,source,ownerName){return"\n    in "+(name||"Unknown")+(source?" (at "+source.fileName.replace(/^.*[\\\/]/,"")+":"+source.lineNumber+")":ownerName?" (created by "+ownerName+")":"")}(name,currentlyValidatingElement._source,owner&&getComponentName(owner))}return stack+=ReactDebugCurrentFrame.getStackAddendum()||""},VALID_FRAGMENT_PROPS=new Map([["children",!0],["key",!0]]);function getDeclarationErrorAddendum(){if(ReactCurrentOwner.current){var name=getComponentName(ReactCurrentOwner.current);if(name)return"\n\nCheck the render method of `"+name+"`."}return""}var ownerHasKeyUseWarning={};function validateExplicitKey(element,parentType){if(element._store&&!element._store.validated&&null==element.key){element._store.validated=!0;var currentComponentErrorInfo=function(parentType){var info=getDeclarationErrorAddendum();if(!info){var parentName="string"==typeof parentType?parentType:parentType.displayName||parentType.name;parentName&&(info="\n\nCheck the top-level render call using <"+parentName+">.")}return info}(parentType);if(!ownerHasKeyUseWarning[currentComponentErrorInfo]){ownerHasKeyUseWarning[currentComponentErrorInfo]=!0;var childOwner="";element&&element._owner&&element._owner!==ReactCurrentOwner.current&&(childOwner=" It was passed a child from "+getComponentName(element._owner)+"."),currentlyValidatingElement=element,warning(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',currentComponentErrorInfo,childOwner,getStackAddendum()),currentlyValidatingElement=null}}}function validateChildKeys(node,parentType){if("object"==typeof node)if(Array.isArray(node))for(var i=0;i<node.length;i++){var child=node[i];isValidElement(child)&&validateExplicitKey(child,parentType)}else if(isValidElement(node))node._store&&(node._store.validated=!0);else if(node){var iteratorFn=getIteratorFn(node);if("function"==typeof iteratorFn&&iteratorFn!==node.entries)for(var step,iterator=iteratorFn.call(node);!(step=iterator.next()).done;)isValidElement(step.value)&&validateExplicitKey(step.value,parentType)}}function validatePropTypes(element){var componentClass=element.type;if("function"==typeof componentClass){var name=componentClass.displayName||componentClass.name,propTypes=componentClass.propTypes;propTypes?(currentlyValidatingElement=element,checkPropTypes(propTypes,element.props,"prop",name,getStackAddendum),currentlyValidatingElement=null):void 0===componentClass.PropTypes||propTypesMisspellWarningShown||(propTypesMisspellWarningShown=!0,warning(!1,"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",name||"Unknown")),"function"==typeof componentClass.getDefaultProps&&warning(componentClass.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function createElementWithValidation(type,props,children){var validType="string"==typeof type||"function"==typeof type||"symbol"==typeof type||"number"==typeof type;if(!validType){var info="";(void 0===type||"object"==typeof type&&null!==type&&0===Object.keys(type).length)&&(info+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var sourceInfo=function(elementProps){if(null!==elementProps&&void 0!==elementProps&&void 0!==elementProps.__source){var source=elementProps.__source;return"\n\nCheck your code at "+source.fileName.replace(/^.*[\\\/]/,"")+":"+source.lineNumber+"."}return""}(props);info+=sourceInfo||getDeclarationErrorAddendum(),info+=getStackAddendum()||"",warning(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==type?type:typeof type,info)}var element=createElement.apply(this,arguments);if(null==element)return element;if(validType)for(var i=2;i<arguments.length;i++)validateChildKeys(arguments[i],type);return"symbol"==typeof type&&type===REACT_FRAGMENT_TYPE?function(fragment){currentlyValidatingElement=fragment;var _iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _step,_iterator=Object.keys(fragment.props)[Symbol.iterator]();!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var key=_step.value;if(!VALID_FRAGMENT_PROPS.has(key)){warning(!1,"Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.%s",key,getStackAddendum());break}}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{!_iteratorNormalCompletion&&_iterator.return&&_iterator.return()}finally{if(_didIteratorError)throw _iteratorError}}null!==fragment.ref&&warning(!1,"Invalid attribute `ref` supplied to `React.Fragment`.%s",getStackAddendum()),currentlyValidatingElement=null}(element):validatePropTypes(element),element}var React={Children:{map:function(children,func,context){if(null==children)return children;var result=[];return mapIntoWithKeyPrefixInternal(children,result,null,func,context),result},forEach:function(children,forEachFunc,forEachContext){if(null==children)return children;var traverseContext=getPooledTraverseContext(null,null,forEachFunc,forEachContext);traverseAllChildren(children,forEachSingleChild,traverseContext),releaseTraverseContext(traverseContext)},count:function(children,context){return traverseAllChildren(children,emptyFunction.thatReturnsNull,null)},toArray:function(children){var result=[];return mapIntoWithKeyPrefixInternal(children,result,null,emptyFunction.thatReturnsArgument),result},only:function(children){return isValidElement(children)||invariant(!1,"React.Children.only expected to receive a single React element child."),children}},Component:Component,PureComponent:PureComponent,unstable_AsyncComponent:AsyncComponent,Fragment:REACT_FRAGMENT_TYPE,createElement:createElementWithValidation,cloneElement:function(element,props,children){for(var newElement=function(element,config,children){var propName,defaultProps,props=_assign({},element.props),key=element.key,ref=element.ref,self=element._self,source=element._source,owner=element._owner;if(null!=config)for(propName in hasValidRef(config)&&(ref=config.ref,owner=ReactCurrentOwner.current),hasValidKey(config)&&(key=""+config.key),element.type&&element.type.defaultProps&&(defaultProps=element.type.defaultProps),config)hasOwnProperty.call(config,propName)&&!RESERVED_PROPS.hasOwnProperty(propName)&&(void 0===config[propName]&&void 0!==defaultProps?props[propName]=defaultProps[propName]:props[propName]=config[propName]);var childrenLength=arguments.length-2;if(1===childrenLength)props.children=children;else if(childrenLength>1){for(var childArray=Array(childrenLength),i=0;i<childrenLength;i++)childArray[i]=arguments[i+2];props.children=childArray}return ReactElement(element.type,key,ref,self,source,owner,props)}.apply(this,arguments),i=2;i<arguments.length;i++)validateChildKeys(arguments[i],newElement.type);return validatePropTypes(newElement),newElement},createFactory:function(type){var validatedFactory=createElementWithValidation.bind(null,type);return validatedFactory.type=type,Object.defineProperty(validatedFactory,"type",{enumerable:!1,get:function(){return lowPriorityWarning$1(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:type}),type}}),validatedFactory},isValidElement:isValidElement,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:ReactCurrentOwner,assign:_assign}};_assign(React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,{ReactDebugCurrentFrame:ReactDebugCurrentFrame,ReactComponentTreeHook:{}});var React$2=Object.freeze({default:React}),React$3=React$2&&React||React$2,react=React$3.default?React$3.default:React$3;module.exports=react})()},"./node_modules/react/index.js":function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__("./node_modules/react/cjs/react.development.js")},"./src/maasserver/static/js/angular/3rdparty/ng-tags-input.js":function(module,exports){!function(){"use strict";var KEYS_backspace=8,KEYS_tab=9,KEYS_enter=13,KEYS_escape=27,KEYS_space=32,KEYS_up=38,KEYS_down=40,KEYS_left=37,KEYS_right=39,KEYS_delete=46,KEYS_comma=188,SUPPORTED_INPUT_TYPES=["text","email","url"],tagsInput=angular.module("ngTagsInput",[]);tagsInput.directive("tagsInput",["$timeout","$document","$window","tagsInputConfig","tiUtil",function($timeout,$document,$window,tagsInputConfig,tiUtil){function validateType(type){return-1!==SUPPORTED_INPUT_TYPES.indexOf(type)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function($scope,$attrs,$element){$scope.events=tiUtil.simplePubSub(),tagsInputConfig.load("tagsInput",$scope,$attrs,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",validateType],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,9007199254740991],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,9007199254740991],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0]}),$scope.tagList=new function(options,events,onTagAdding,onTagRemoving){var getTagText,setTagText,tagIsValid,self={};return getTagText=function(tag){return tiUtil.safeToString(tag[options.displayProperty])},setTagText=function(tag,text){tag[options.displayProperty]=text},tagIsValid=function(tag){var tagText=getTagText(tag);return tagText&&tagText.length>=options.minLength&&tagText.length<=options.maxLength&&options.allowedTagsPattern.test(tagText)&&!tiUtil.findInObjectArray(self.items,tag,options.keyProperty||options.displayProperty)&&onTagAdding({$tag:tag})},self.items=[],self.addText=function(text){var tag={};return setTagText(tag,text),self.add(tag)},self.add=function(tag){var tagText=getTagText(tag);return options.replaceSpacesWithDashes&&(tagText=tiUtil.replaceSpacesWithDashes(tagText)),setTagText(tag,tagText),tagIsValid(tag)?(self.items.push(tag),events.trigger("tag-added",{$tag:tag})):tagText&&events.trigger("invalid-tag",{$tag:tag}),tag},self.remove=function(index){var tag=self.items[index];if(onTagRemoving({$tag:tag}))return self.items.splice(index,1),self.clearSelection(),events.trigger("tag-removed",{$tag:tag}),tag},self.select=function(index){index<0?index=self.items.length-1:index>=self.items.length&&(index=0),self.index=index,self.selected=self.items[index]},self.selectPrior=function(){self.select(--self.index)},self.selectNext=function(){self.select(++self.index)},self.removeSelected=function(){return self.remove(self.index)},self.clearSelection=function(){self.selected=null,self.index=-1},self.clearSelection(),self}($scope.options,$scope.events,tiUtil.handleUndefinedResult($scope.onTagAdding,!0),tiUtil.handleUndefinedResult($scope.onTagRemoving,!0)),this.registerAutocomplete=function(){$element.find("input");return{addTag:function(tag){return $scope.tagList.add(tag)},focusInput:function(){},getTags:function(){return $scope.tags},getCurrentTagText:function(){return $scope.newTag.text},getOptions:function(){return $scope.options},on:function(name,handler){return $scope.events.on(name,handler),this}}},this.registerTagItem=function(){return{getOptions:function(){return $scope.options},removeTag:function(index){$scope.disabled||$scope.tagList.remove(index)}}}}],link:function(scope,element,attrs,ngModelCtrl){var setElementValidity,hotkeys=[KEYS_enter,KEYS_comma,KEYS_space,KEYS_backspace,KEYS_delete,KEYS_left,KEYS_right],tagList=scope.tagList,events=scope.events,options=scope.options,input=element.find("input"),validationOptions=["minTags","maxTags","allowLeftoverText"];setElementValidity=function(){ngModelCtrl.$setValidity("maxTags",scope.tags.length<=options.maxTags),ngModelCtrl.$setValidity("minTags",scope.tags.length>=options.minTags),ngModelCtrl.$setValidity("leftoverText",!(!scope.hasFocus&&!options.allowLeftoverText)||!scope.newTag.text)},ngModelCtrl.$isEmpty=function(value){return!value||!value.length},scope.newTag={text:"",invalid:null,setText:function(value){this.text=value,events.trigger("input-change",value)}},scope.track=function(tag){return tag[options.keyProperty||options.displayProperty]},scope.$watch("tags",function(value){scope.tags=tiUtil.makeObjectArray(value,options.displayProperty),tagList.items=scope.tags}),scope.$watch("tags.length",function(){setElementValidity()}),attrs.$observe("disabled",function(value){scope.disabled=value}),scope.eventHandlers={input:{change:function(text){events.trigger("input-change",text)},keydown:function($event){events.trigger("input-keydown",$event)},focus:function(){scope.hasFocus||(scope.hasFocus=!0,events.trigger("input-focus"))},blur:function(){$timeout(function(){var activeElement=$document.prop("activeElement"),lostFocusToBrowserWindow=activeElement===input[0],lostFocusToChildElement=element[0].contains(activeElement);!lostFocusToBrowserWindow&&lostFocusToChildElement||(scope.hasFocus=!1,events.trigger("input-blur"))})},paste:function($event){$event.getTextData=function(){var clipboardData=$event.clipboardData||$event.originalEvent&&$event.originalEvent.clipboardData;return clipboardData?clipboardData.getData("text/plain"):$window.clipboardData.getData("Text")},events.trigger("input-paste",$event)}},host:{click:function(){scope.disabled}}},events.on("tag-added",scope.onTagAdded).on("invalid-tag",scope.onInvalidTag).on("tag-removed",scope.onTagRemoved).on("tag-added",function(){scope.newTag.setText("")}).on("tag-added tag-removed",function(){ngModelCtrl.$setViewValue(scope.tags)}).on("invalid-tag",function(){scope.newTag.invalid=!0}).on("option-change",function(e){-1!==validationOptions.indexOf(e.name)&&setElementValidity()}).on("input-change",function(){tagList.clearSelection(),scope.newTag.invalid=null}).on("input-focus",function(){element.triggerHandler("focus"),ngModelCtrl.$setValidity("leftoverText",!0)}).on("input-blur",function(){options.addOnBlur&&!options.addFromAutocompleteOnly&&tagList.addText(scope.newTag.text),element.triggerHandler("blur"),setElementValidity()}).on("input-keydown",function(event){var shouldAdd,shouldRemove,shouldSelect,shouldEditLastTag,key=event.keyCode,addKeys={};if(!(event.shiftKey||event.altKey||event.ctrlKey||event.metaKey)&&-1!==hotkeys.indexOf(key)){if(addKeys[KEYS_enter]=options.addOnEnter,addKeys[KEYS_comma]=options.addOnComma,addKeys[KEYS_space]=options.addOnSpace,shouldAdd=!options.addFromAutocompleteOnly&&addKeys[key],shouldRemove=(key===KEYS_backspace||key===KEYS_delete)&&tagList.selected,shouldEditLastTag=key===KEYS_backspace&&0===scope.newTag.text.length&&options.enableEditingLastTag,shouldSelect=(key===KEYS_backspace||key===KEYS_left||key===KEYS_right)&&0===scope.newTag.text.length&&!options.enableEditingLastTag,shouldAdd)tagList.addText(scope.newTag.text);else if(shouldEditLastTag){var tag;tagList.selectPrior(),(tag=tagList.removeSelected())&&scope.newTag.setText(tag[options.displayProperty])}else shouldRemove?tagList.removeSelected():shouldSelect&&(key===KEYS_left||key===KEYS_backspace?tagList.selectPrior():key===KEYS_right&&tagList.selectNext());(shouldAdd||shouldSelect||shouldRemove||shouldEditLastTag)&&event.preventDefault()}}).on("input-paste",function(event){if(options.addOnPaste){var tags=event.getTextData().split(options.pasteSplitPattern);tags.length>1&&(tags.forEach(function(tag){tagList.addText(tag)}),event.preventDefault())}})}}}]),tagsInput.directive("tiTagItem",["tiUtil",function(tiUtil){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{data:"="},link:function(scope,element,attrs,tagsInputCtrl){var tagsInput=tagsInputCtrl.registerTagItem(),options=tagsInput.getOptions();scope.$$template=options.template,scope.$$removeTagSymbol=options.removeTagSymbol,scope.$getDisplayText=function(){return tiUtil.safeToString(scope.data[options.displayProperty])},scope.$removeTag=function(){tagsInput.removeTag(scope.$index)},scope.$watch("$parent.$index",function(value){scope.$index=value})}}}]),tagsInput.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function($document,$timeout,$sce,$q,tagsInputConfig,tiUtil){return{restrict:"E",require:"^tagsInput",scope:{source:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function($scope,$element,$attrs){$scope.events=tiUtil.simplePubSub(),tagsInputConfig.load("autoComplete",$scope,$attrs,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),$scope.suggestionList=new function(loadFn,options,events){var getDifference,lastPromise,getTagId,self={};return getTagId=function(){return options.tagsInput.keyProperty||options.tagsInput.displayProperty},getDifference=function(array1,array2){return array1.filter(function(item){return!tiUtil.findInObjectArray(array2,item,getTagId(),function(a,b){return options.tagsInput.replaceSpacesWithDashes&&(a=tiUtil.replaceSpacesWithDashes(a),b=tiUtil.replaceSpacesWithDashes(b)),tiUtil.defaultComparer(a,b)})})},self.reset=function(){lastPromise=null,self.items=[],self.visible=!1,self.index=-1,self.selected=null,self.query=null},self.show=function(){options.selectFirstMatch?self.select(0):self.selected=null,self.visible=!0},self.load=tiUtil.debounce(function(query,tags){self.query=query;var promise=$q.when(loadFn({$query:query}));lastPromise=promise,promise.then(function(items){promise===lastPromise&&(items=tiUtil.makeObjectArray(items.data||items,getTagId()),items=getDifference(items,tags),self.items=items.slice(0,options.maxResultsToShow),self.items.length>0?self.show():self.reset())})},options.debounceDelay),self.selectNext=function(){self.select(++self.index)},self.selectPrior=function(){self.select(--self.index)},self.select=function(index){index<0?index=self.items.length-1:index>=self.items.length&&(index=0),self.index=index,self.selected=self.items[index],events.trigger("suggestion-selected",index)},self.reset(),self}($scope.source,$scope.options,$scope.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return $scope.options},getQuery:function(){return $scope.suggestionList.query}}}}],link:function(scope,element,attrs,tagsInputCtrl){var shouldLoadSuggestions,hotkeys=[KEYS_enter,KEYS_tab,KEYS_escape,KEYS_up,KEYS_down],suggestionList=scope.suggestionList,tagsInput=tagsInputCtrl.registerAutocomplete(),options=scope.options,events=scope.events;options.tagsInput=tagsInput.getOptions(),shouldLoadSuggestions=function(value){return value&&value.length>=options.minLength||!value&&options.loadOnEmpty},scope.addSuggestionByIndex=function(index){suggestionList.select(index),scope.addSuggestion()},scope.addSuggestion=function(){var added=!1;return suggestionList.selected&&(tagsInput.addTag(angular.copy(suggestionList.selected)),suggestionList.reset(),tagsInput.focusInput(),added=!0),added},scope.track=function(item){return item[options.tagsInput.keyProperty||options.tagsInput.displayProperty]},tagsInput.on("tag-added invalid-tag input-blur",function(){suggestionList.reset()}).on("input-change",function(value){shouldLoadSuggestions(value)?suggestionList.load(value,tagsInput.getTags()):suggestionList.reset()}).on("input-focus",function(){var value=tagsInput.getCurrentTagText();options.loadOnFocus&&shouldLoadSuggestions(value)&&suggestionList.load(value,tagsInput.getTags())}).on("input-keydown",function(event){var key=event.keyCode,handled=!1;if(-1!==hotkeys.indexOf(key))return suggestionList.visible?key===KEYS_down?(suggestionList.selectNext(),handled=!0):key===KEYS_up?(suggestionList.selectPrior(),handled=!0):key===KEYS_escape?(suggestionList.reset(),handled=!0):key!==KEYS_enter&&key!==KEYS_tab||(handled=scope.addSuggestion()):key===KEYS_down&&scope.options.loadOnDownArrow&&(suggestionList.load(tagsInput.getCurrentTagText(),tagsInput.getTags()),handled=!0),handled?(event.preventDefault(),event.stopImmediatePropagation(),!1):void 0}),events.on("suggestion-selected",function(index){!function(root,index){var element=root.find("li").eq(index),parent=element.parent(),elementTop=element.prop("offsetTop"),elementHeight=element.prop("offsetHeight"),parentHeight=parent.prop("clientHeight"),parentScrollTop=parent.prop("scrollTop");elementTop<parentScrollTop?parent.prop("scrollTop",elementTop):elementTop+elementHeight>parentHeight+parentScrollTop&&parent.prop("scrollTop",elementTop+elementHeight-parentHeight)}(element,index)})}}}]),tagsInput.directive("tiAutocompleteMatch",["$sce","tiUtil",function($sce,tiUtil){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{data:"="},link:function(scope,element,attrs,autoCompleteCtrl){var autoComplete=autoCompleteCtrl.registerAutocompleteMatch(),options=autoComplete.getOptions();scope.$$template=options.template,scope.$index=scope.$parent.$index,scope.$highlight=function(text){return options.highlightMatchedText&&(text=tiUtil.safeHighlight(text,autoComplete.getQuery())),$sce.trustAsHtml(text)},scope.$getDisplayText=function(){return tiUtil.safeToString(scope.data[options.displayProperty||options.tagsInput.displayProperty])}}}}]),tagsInput.directive("tiTranscludeAppend",function(){return function(scope,element,attrs,ctrl,transcludeFn){transcludeFn(function(clone){element.append(clone)})}}),tagsInput.directive("tiAutosize",["tagsInputConfig",function(tagsInputConfig){return{restrict:"A",require:"ngModel",link:function(scope,element,attrs,ctrl){var span,resize,threshold=tagsInputConfig.getTextAutosizeThreshold();(span=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),element.parent().append(span),resize=function(originalValue){var width,value=originalValue;return angular.isString(value)&&0===value.length&&(value=attrs.placeholder),value&&(span.text(value),span.css("display",""),width=span.prop("offsetWidth"),span.css("display","none")),element.css("width",width?width+threshold+"px":""),originalValue},ctrl.$parsers.unshift(resize),ctrl.$formatters.unshift(resize),attrs.$observe("placeholder",function(value){ctrl.$modelValue||resize(value)})}}}]),tagsInput.directive("tiBindAttrs",function(){return function(scope,element,attrs){scope.$watch(attrs.tiBindAttrs,function(value){angular.forEach(value,function(value,key){"type"===key?element[0].type=value:attrs.$set(key,value)})},!0)}}),tagsInput.provider("tagsInputConfig",function(){var globalDefaults={},interpolationStatus={},autosizeThreshold=3;this.setDefaults=function(directive,defaults){return globalDefaults[directive]=defaults,this},this.setActiveInterpolation=function(directive,options){return interpolationStatus[directive]=options,this},this.setTextAutosizeThreshold=function(threshold){return autosizeThreshold=threshold,this},this.$get=["$interpolate",function($interpolate){var converters={};return converters[String]=function(value){return value},converters[Number]=function(value){return parseInt(value,10)},converters[Boolean]=function(value){return"true"===value.toLowerCase()},converters[RegExp]=function(value){return new RegExp(value)},{load:function(directive,scope,attrs,options){var defaultValidator=function(){return!0};scope.options={},angular.forEach(options,function(value,key){var type,localDefault,validator,converter,getDefault,updateValue;type=value[0],localDefault=value[1],validator=value[2]||defaultValidator,converter=converters[type],getDefault=function(){var globalValue=globalDefaults[directive]&&globalDefaults[directive][key];return angular.isDefined(globalValue)?globalValue:localDefault},updateValue=function(value){scope.options[key]=value&&validator(value)?converter(value):getDefault()},interpolationStatus[directive]&&interpolationStatus[directive][key]?attrs.$observe(key,function(value){updateValue(value),scope.events.trigger("option-change",{name:key,newValue:value})}):updateValue(attrs[key]&&$interpolate(attrs[key])(scope.$parent))})},getTextAutosizeThreshold:function(){return autosizeThreshold}}}]}),tagsInput.factory("tiUtil",["$timeout",function($timeout){var self={debounce:function(fn,delay){var timeoutId;return function(){var args=arguments;$timeout.cancel(timeoutId),timeoutId=$timeout(function(){fn.apply(null,args)},delay)}},makeObjectArray:function(array,key){return(array=array||[]).length>0&&!angular.isObject(array[0])&&array.forEach(function(item,index){array[index]={},array[index][key]=item}),array},findInObjectArray:function(array,obj,key,comparer){var item=null;return comparer=comparer||self.defaultComparer,array.some(function(element){if(comparer(element[key],obj[key]))return item=element,!0}),item},defaultComparer:function(a,b){return self.safeToString(a).toLowerCase()===self.safeToString(b).toLowerCase()},safeHighlight:function(str,value){if(!value)return str;str=self.encodeHTML(str),value=self.encodeHTML(value);var expression=new RegExp("&[^;]+;|"+function(str){return str.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(value),"gi");return str.replace(expression,function(match){return match.toLowerCase()===value.toLowerCase()?"<em>"+match+"</em>":match})},safeToString:function(value){return angular.isUndefined(value)||null==value?"":value.toString().trim()},encodeHTML:function(value){return self.safeToString(value).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},handleUndefinedResult:function(fn,valueIfUndefined){return function(){var result=fn.apply(null,arguments);return angular.isUndefined(result)?valueIfUndefined:result}},replaceSpacesWithDashes:function(str){return self.safeToString(str).replace(/\s/g,"-")},simplePubSub:function(){var events={};return{on:function(names,handler){return names.split(" ").forEach(function(name){events[name]||(events[name]=[]),events[name].push(handler)}),this},trigger:function(name,args){return(events[name]||[]).every(function(handler){return self.handleUndefinedResult(handler,!0)(args)}),this}}}};return self}]),tagsInput.run(["$templateCache",function($templateCache){$templateCache.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" data-ng-click="eventHandlers.host.click()" ti-transclude-append=""><div class="tags" data-ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" data-ng-repeat="tag in tagList.items track by track(tag)" data-ng-class="{ selected: tag == tagList.selected }"><ti-tag-item data="tag"></ti-tag-item></li></ul><input class="input u-no-margin--top" autocomplete="off" data-ng-model="newTag.text" data-ng-change="eventHandlers.input.change(newTag.text)" data-ng-keydown="eventHandlers.input.keydown($event)" data-ng-focus="eventHandlers.input.focus($event)" data-ng-blur="eventHandlers.input.blur($event)" data-ng-paste="eventHandlers.input.paste($event)" data-ng-trim="false" data-ng-class="{\'invalid-tag\': newTag.invalid}" data-ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize=""></div></div>'),$templateCache.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="p-icon--close" data-ng-click="$removeTag()" data-ng-bind="$$removeTagSymbol">Remove tag</a>'),$templateCache.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" data-ng-if="suggestionList.visible"><ul class="p-list suggestion-list"><li class="suggestion-item" data-ng-repeat="item in suggestionList.items track by track(item)" data-ng-class="{selected: item == suggestionList.selected}" data-ng-click="addSuggestionByIndex($index)" data-ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match data="item"></ti-autocomplete-match></li></ul></div>'),$templateCache.put("ngTagsInput/auto-complete-match.html",'<span data-ng-bind-html="$highlight($getDisplayText())"></span>')}])}()},"./src/maasserver/static/js/angular/3rdparty/sticky.js":function(module,exports){!function(){"use strict";angular.module("sticky",[]).directive("sticky",["$window","$timeout",function($window,$timeout){return{restrict:"A",scope:{disabled:"=disabledSticky"},link:function($scope,$elem,$attrs){var onStickyHeighUnbind,originalInitialCSS,originalOffset,placeholder,stickyLine,initialCSS,match,scrollableNodeTagName="sticky-scroll",initialPosition=$elem.css("position"),initialStyle=$elem.attr("style")||"",stickyBottomLine=0,isSticking=!1,stickyClass=$attrs.stickyClass||"",unstickyClass=$attrs.unstickyClass||"",bodyClass=$attrs.bodyClass||"",bottomClass=$attrs.bottomClass||"",scrollbar=1===(match=function(tag,context){var p,n=context.parent();do{var node=n[0];if(1!==node.nodeType)break;if(node.tagName.toUpperCase()===tag.toUpperCase())return n;p=n.parent(),n=p}while(0!==p.length);return[]}(scrollableNodeTagName,$elem)).length?match[0]:$window,windowElement=angular.element($window),scrollbarElement=angular.element(scrollbar),$body=angular.element(document.body),$onResize=function(){$scope.$root&&!$scope.$root.$$phase?$scope.$apply(onResize):onResize()},usePlaceholder="false"!==$attrs.usePlaceholder,anchor="bottom"===$attrs.anchor?"bottom":"top",confine="true"===$attrs.confine,isStickyLayoutDeferred=void 0!==$attrs.isStickyLayoutDeferred&&"true"===$attrs.isStickyLayoutDeferred,isStickyLayoutWatched=void 0===$attrs.isStickyLayoutWatched||"true"===$attrs.isStickyLayoutWatched,offset=$attrs.offset?parseInt($attrs.offset.replace(/px;?/,"")):0,shouldInitialize=!0;function initSticky(){shouldInitialize&&(scrollbarElement.on("scroll",checkIfShouldStick),windowElement.on("resize",$onResize),initialCSS=$scope.getInitialDimensions(),isStickyLayoutDeferred&&($elem[0].getBoundingClientRect().height||(onStickyHeighUnbind=$scope.$watch(function(){return $elem.height()},function(newValue,oldValue){newValue>0&&(initialCSS=$scope.getInitialDimensions(),isStickyLayoutWatched||onStickyHeighUnbind())}))),$scope.$watch(onDigest,onChange),$scope.$on("$destroy",onDestroy),shouldInitialize=!1)}var checkIfShouldStick=function(){if(!0===$scope.disabled||(mediaQuery=$attrs.mediaQuery||!1,matchMedia=$window.matchMedia,mediaQuery&&!matchMedia("("+mediaQuery+")").matches&&!matchMedia(mediaQuery).matches))return isSticking&&unStickElement(),!1;var mediaQuery,matchMedia,shouldStick,scrollbarPosition=scrollbarYPos();shouldStick="top"===anchor?!0===confine?scrollbarPosition>stickyLine&&scrollbarPosition<=stickyBottomLine:scrollbarPosition>stickyLine:scrollbarPosition<=stickyLine;var closestLine=function(scrollTop,stickyLine,stickyBottomLine){var closest="top",topDistance=Math.abs(scrollTop-stickyLine),bottomDistance=Math.abs(scrollTop-stickyBottomLine);topDistance>bottomDistance&&(closest="bottom");return closest}(scrollbarPosition,stickyLine,stickyBottomLine);!shouldStick||"true"===$attrs.stickLimit&&$window.innerHeight-($elem[0].offsetHeight+parseInt(offset))<0||isSticking?!shouldStick&&isSticking?unStickElement(closestLine):confine&&!shouldStick&&(originalOffset=elementsOffsetFromTop($elem[0]),unStickElement(closestLine)):(isSticking=!0,$timeout(function(){initialCSS.offsetWidth=$elem[0].offsetWidth},0),$body.addClass(bodyClass),$elem.removeClass(unstickyClass),$elem.removeClass(bottomClass),$elem.addClass(stickyClass),createPlaceholder(),$elem.css("z-index","10").css("width",$elem[0].offsetWidth+"px").css("position","fixed").css("left",$elem.css("left").replace("px","")+"px").css(anchor,offset+elementsOffsetFromTop(scrollbar)+"px").css("margin-top",0),"bottom"===anchor&&$elem.css("margin-bottom",0))};function unStickElement(fromDirection){initialStyle&&$elem.attr("style",initialStyle),isSticking=!1,initialCSS.width=$scope.getInitialDimensions().width,$body.removeClass(bodyClass),$elem.removeClass(stickyClass),$elem.addClass(unstickyClass),"top"===fromDirection?($elem.removeClass(bottomClass),$elem.css("z-index",10).css("width",initialCSS.width).css("top",initialCSS.top).css("position",initialCSS.position).css("left",initialCSS.cssLeft).css("margin-top",initialCSS.marginTop)):"bottom"===fromDirection&&!0===confine&&($elem.addClass(bottomClass),createPlaceholder(),$elem.css("z-index",10).css("width",initialCSS.width).css("top","").css("bottom",0).css("position","absolute").css("left",initialCSS.cssLeft).css("margin-top",initialCSS.marginTop).css("margin-bottom",initialCSS.marginBottom)),placeholder&&fromDirection===anchor&&placeholder.remove()}var onDestroy=function(){scrollbarElement.off("scroll",checkIfShouldStick),windowElement.off("resize",$onResize),$onResize=null,$body.removeClass(bodyClass),placeholder&&placeholder.remove()};function onResize(){unStickElement(anchor),checkIfShouldStick()}var onDigest=function(){if(!0===$scope.disabled)return unStickElement();var offsetFromTop=elementsOffsetFromTop($elem[0]);return 0===offsetFromTop?offsetFromTop:"top"===anchor?(originalOffset||offsetFromTop)-elementsOffsetFromTop(scrollbar)+scrollbarYPos():offsetFromTop-function(){var height;left=scrollbarElement[0],right=HTMLElement,height=(null!=right&&"undefined"!=typeof Symbol&&right[Symbol.hasInstance]?right[Symbol.hasInstance](left):left instanceof right)?$window.getComputedStyle(scrollbarElement[0],null).getPropertyValue("height").replace(/px;?/,""):$window.innerHeight;var left,right;return parseInt(height)||0}()+$elem[0].offsetHeight+scrollbarYPos()},onChange=function(newVal,oldVal){var elemIsShowed=!!newVal,elemWasHidden=!oldVal,valChange=newVal!==oldVal||void 0===stickyLine,notSticking=!isSticking&&!function(){if(confine&&scrollbarYPos()>stickyBottomLine)return!0;return!1}();if(valChange&&notSticking&&newVal>0&&elemIsShowed){stickyLine=newVal-offset,elemIsShowed&&elemWasHidden&&$scope.updateStickyContentUpdateDimensions($elem[0].offsetWidth,$elem[0].offsetHeight),confine&&$elem.parent().css({position:"relative"});var parent=$elem.parent()[0],parentHeight=parseInt(parent.offsetHeight)-(usePlaceholder?0:$elem[0].offsetHeight),marginBottom=parseInt($elem.css("margin-bottom").replace(/px;?/,""))||0,elementsDistanceFromTop=elementsOffsetFromTop($elem[0]),parentsDistanceFromTop=elementsOffsetFromTop(parent),scrollbarDistanceFromTop=elementsOffsetFromTop(scrollbar);stickyBottomLine=elementsDistanceFromTop-scrollbarDistanceFromTop+(parentsDistanceFromTop+parentHeight-elementsDistanceFromTop)-$elem[0].offsetHeight-marginBottom-offset+ +scrollbarYPos(),checkIfShouldStick()}};function createPlaceholder(){if(usePlaceholder){placeholder&&placeholder.remove(),placeholder=angular.element("<div>");$elem[0].offsetHeight;var computedStyle=$elem[0].currentStyle||window.getComputedStyle($elem[0]);parseInt(computedStyle.marginTop,10),parseInt(computedStyle.marginBottom,10),parseInt(computedStyle.borderTopWidth,10),parseInt(computedStyle.borderBottomWidth,10),placeholder.css("height",$elem[0].offsetHeight+"px"),$elem.after(placeholder)}}function elementsOffsetFromTop(element){var offset=0;return element.getBoundingClientRect&&(offset=element.getBoundingClientRect().top),offset}function scrollbarYPos(){return void 0!==scrollbar.scrollTop?scrollbar.scrollTop:void 0!==scrollbar.pageYOffset?scrollbar.pageYOffset:document.documentElement.scrollTop}$scope.getElement=function(){return $elem},$scope.getScrollbar=function(){return scrollbar},$scope.getInitialCSS=function(){return initialCSS},$scope.getAnchor=function(){return anchor},$scope.isSticking=function(){return isSticking},$scope.getOriginalInitialCSS=function(){return originalInitialCSS},$scope.processUnStickElement=function(anchor){unStickElement(anchor)},$scope.processCheckIfShouldStick=function(){checkIfShouldStick()},$scope.getInitialDimensions=function(){return{zIndex:$elem.css("z-index"),top:$elem.css("top"),position:initialPosition,marginTop:$elem.css("margin-top"),marginBottom:$elem.css("margin-bottom"),cssLeft:($el=$elem,prop="left",el=$el[0],computed=window.getComputedStyle(el),prevDisplay=computed.display,el.style.display="none",val=computed[prop],el.style.display=prevDisplay,val),width:$elem[0].offsetWidth,height:$elem.css("height")};var $el,prop,val,el,computed,prevDisplay},$scope.updateStickyContentUpdateDimensions=function(width,height){width&&height&&(initSticky(),initialCSS.width=width+"px",initialCSS.height=height+"px")},$timeout(function(){originalInitialCSS=$scope.getInitialDimensions(),initSticky()},0)},controller:["$scope","$window",function($scope,$window){this.resetLayout=function(newWidth,newHeight){var scrollbar=$scope.getScrollbar(),initialCSS=$scope.getInitialCSS(),anchor=$scope.getAnchor();if($scope.isSticking()&&($scope.processUnStickElement(anchor),$scope.processCheckIfShouldStick()),$scope.getElement().css({width:"",height:"",position:"",top:"",zIndex:""}),initialCSS.position=$scope.getOriginalInitialCSS().position,delete initialCSS.offsetWidth,void 0===newWidth&&void 0===newHeight){var e_bcr=$scope.getElement()[0].getBoundingClientRect();newWidth=e_bcr.width,newHeight=e_bcr.height}$scope.updateStickyContentUpdateDimensions(newWidth,newHeight),"top"===anchor&&(scrollbar===$window?$window.scrollTo(0,0):scrollbar.scrollTop>0&&(scrollbar.scrollTop=0))},this.getScrollbar=function(){return $scope.getScrollbar()}}]}}]),window.matchMedia=window.matchMedia||(window.console&&console.warn&&console.warn("angular-sticky: This browser does not support matchMedia, therefore the minWidth option will not work on this browser. Polyfill matchMedia to fix this issue."),function(){return{matches:!0}})}()},"./src/maasserver/static/js/angular/3rdparty/sticky.min.js":function(module,exports){!function(){"use strict";angular.module("sticky",[]).directive("sticky",["$window","$timeout",function($window,$timeout){return{restrict:"A",scope:{disabled:"=disabledSticky"},link:function($scope,$elem,$attrs){var onStickyHeighUnbind,originalInitialCSS,originalOffset,placeholder,stickyLine,initialCSS,match,scrollableNodeTagName="sticky-scroll",initialPosition=$elem.css("position"),initialStyle=$elem.attr("style")||"",stickyBottomLine=0,isSticking=!1,stickyClass=$attrs.stickyClass||"",unstickyClass=$attrs.unstickyClass||"",bodyClass=$attrs.bodyClass||"",bottomClass=$attrs.bottomClass||"",scrollbar=1===(match=function(tag,context){var p,n=context.parent();do{var node=n[0];if(1!==node.nodeType)break;if(node.tagName.toUpperCase()===tag.toUpperCase())return n;p=n.parent(),n=p}while(0!==p.length);return[]}(scrollableNodeTagName,$elem)).length?match[0]:$window,windowElement=angular.element($window),scrollbarElement=angular.element(scrollbar),$body=angular.element(document.body),$onResize=function(){$scope.$root&&!$scope.$root.$$phase?$scope.$apply(onResize):onResize()},usePlaceholder="false"!==$attrs.usePlaceholder,anchor="bottom"===$attrs.anchor?"bottom":"top",confine="true"===$attrs.confine,isStickyLayoutDeferred=void 0!==$attrs.isStickyLayoutDeferred&&"true"===$attrs.isStickyLayoutDeferred,isStickyLayoutWatched=void 0===$attrs.isStickyLayoutWatched||"true"===$attrs.isStickyLayoutWatched,offset=$attrs.offset?parseInt($attrs.offset.replace(/px;?/,"")):0,shouldInitialize=!0;function initSticky(){shouldInitialize&&(scrollbarElement.on("scroll",checkIfShouldStick),windowElement.on("resize",$onResize),initialCSS=$scope.getInitialDimensions(),isStickyLayoutDeferred&&($elem[0].getBoundingClientRect().height||(onStickyHeighUnbind=$scope.$watch(function(){return $elem.height()},function(newValue,oldValue){newValue>0&&(initialCSS=$scope.getInitialDimensions(),isStickyLayoutWatched||onStickyHeighUnbind())}))),$scope.$watch(onDigest,onChange),$scope.$on("$destroy",onDestroy),shouldInitialize=!1)}var checkIfShouldStick=function(){if(!0===$scope.disabled||(mediaQuery=$attrs.mediaQuery||!1,matchMedia=$window.matchMedia,mediaQuery&&!matchMedia("("+mediaQuery+")").matches&&!matchMedia(mediaQuery).matches))return isSticking&&unStickElement(),!1;var mediaQuery,matchMedia,shouldStick,scrollbarPosition=scrollbarYPos();shouldStick="top"===anchor?!0===confine?scrollbarPosition>stickyLine&&scrollbarPosition<=stickyBottomLine:scrollbarPosition>stickyLine:scrollbarPosition<=stickyLine;var closestLine=function(scrollTop,stickyLine,stickyBottomLine){var closest="top",topDistance=Math.abs(scrollTop-stickyLine),bottomDistance=Math.abs(scrollTop-stickyBottomLine);topDistance>bottomDistance&&(closest="bottom");return closest}(scrollbarPosition,stickyLine,stickyBottomLine);!shouldStick||"true"===$attrs.stickLimit&&$window.innerHeight-($elem[0].offsetHeight+parseInt(offset))<0||isSticking?!shouldStick&&isSticking?unStickElement(closestLine):confine&&!shouldStick&&(originalOffset=elementsOffsetFromTop($elem[0]),unStickElement(closestLine)):(isSticking=!0,$timeout(function(){initialCSS.offsetWidth=$elem[0].offsetWidth},0),$body.addClass(bodyClass),$elem.removeClass(unstickyClass),$elem.removeClass(bottomClass),$elem.addClass(stickyClass),createPlaceholder(),$elem.css("z-index","10").css("width",$elem[0].offsetWidth+"px").css("position","fixed").css("left",$elem.css("left").replace("px","")+"px").css(anchor,offset+elementsOffsetFromTop(scrollbar)+"px").css("margin-top",0),"bottom"===anchor&&$elem.css("margin-bottom",0))};function unStickElement(fromDirection){initialStyle&&$elem.attr("style",initialStyle),isSticking=!1,initialCSS.width=$scope.getInitialDimensions().width,$body.removeClass(bodyClass),$elem.removeClass(stickyClass),$elem.addClass(unstickyClass),"top"===fromDirection?($elem.removeClass(bottomClass),$elem.css("z-index",10).css("width",initialCSS.width).css("top",initialCSS.top).css("position",initialCSS.position).css("left",initialCSS.cssLeft).css("margin-top",initialCSS.marginTop).css("height",initialCSS.height)):"bottom"===fromDirection&&!0===confine&&($elem.addClass(bottomClass),createPlaceholder(),$elem.css("z-index",10).css("width",initialCSS.width).css("top","").css("bottom",0).css("position","absolute").css("left",initialCSS.cssLeft).css("margin-top",initialCSS.marginTop).css("margin-bottom",initialCSS.marginBottom).css("height",initialCSS.height)),placeholder&&fromDirection===anchor&&placeholder.remove()}var onDestroy=function(){scrollbarElement.off("scroll",checkIfShouldStick),windowElement.off("resize",$onResize),$onResize=null,$body.removeClass(bodyClass),placeholder&&placeholder.remove()};function onResize(){unStickElement(anchor),checkIfShouldStick()}var onDigest=function(){if(!0===$scope.disabled)return unStickElement();var offsetFromTop=elementsOffsetFromTop($elem[0]);return 0===offsetFromTop?offsetFromTop:"top"===anchor?(originalOffset||offsetFromTop)-elementsOffsetFromTop(scrollbar)+scrollbarYPos():offsetFromTop-function(){var height;left=scrollbarElement[0],right=HTMLElement,height=(null!=right&&"undefined"!=typeof Symbol&&right[Symbol.hasInstance]?right[Symbol.hasInstance](left):left instanceof right)?$window.getComputedStyle(scrollbarElement[0],null).getPropertyValue("height").replace(/px;?/,""):$window.innerHeight;var left,right;return parseInt(height)||0}()+$elem[0].offsetHeight+scrollbarYPos()},onChange=function(newVal,oldVal){var elemIsShowed=!!newVal,elemWasHidden=!oldVal,valChange=newVal!==oldVal||void 0===stickyLine,notSticking=!isSticking&&!function(){if(confine&&scrollbarYPos()>stickyBottomLine)return!0;return!1}();if(valChange&&notSticking&&newVal>0&&elemIsShowed){stickyLine=newVal-offset,elemIsShowed&&elemWasHidden&&$scope.updateStickyContentUpdateDimensions($elem[0].offsetWidth,$elem[0].offsetHeight),confine&&$elem.parent().css({position:"relative"});var parent=$elem.parent()[0],parentHeight=parseInt(parent.offsetHeight)-(usePlaceholder?0:$elem[0].offsetHeight),marginBottom=parseInt($elem.css("margin-bottom").replace(/px;?/,""))||0,elementsDistanceFromTop=elementsOffsetFromTop($elem[0]),parentsDistanceFromTop=elementsOffsetFromTop(parent),scrollbarDistanceFromTop=elementsOffsetFromTop(scrollbar);stickyBottomLine=elementsDistanceFromTop-scrollbarDistanceFromTop+(parentsDistanceFromTop+parentHeight-elementsDistanceFromTop)-$elem[0].offsetHeight-marginBottom-offset+ +scrollbarYPos(),checkIfShouldStick()}};function createPlaceholder(){if(usePlaceholder){placeholder&&placeholder.remove(),placeholder=angular.element("<div>");$elem[0].offsetHeight;var computedStyle=$elem[0].currentStyle||window.getComputedStyle($elem[0]);parseInt(computedStyle.marginTop,10),parseInt(computedStyle.marginBottom,10),parseInt(computedStyle.borderTopWidth,10),parseInt(computedStyle.borderBottomWidth,10),placeholder.css("height",$elem[0].offsetHeight+"px"),$elem.after(placeholder)}}function elementsOffsetFromTop(element){var offset=0;return element.getBoundingClientRect&&(offset=element.getBoundingClientRect().top),offset}function scrollbarYPos(){return void 0!==scrollbar.scrollTop?scrollbar.scrollTop:void 0!==scrollbar.pageYOffset?scrollbar.pageYOffset:document.documentElement.scrollTop}$scope.getElement=function(){return $elem},$scope.getScrollbar=function(){return scrollbar},$scope.getInitialCSS=function(){return initialCSS},$scope.getAnchor=function(){return anchor},$scope.isSticking=function(){return isSticking},$scope.getOriginalInitialCSS=function(){return originalInitialCSS},$scope.processUnStickElement=function(anchor){unStickElement(anchor)},$scope.processCheckIfShouldStick=function(){checkIfShouldStick()},$scope.getInitialDimensions=function(){return{zIndex:$elem.css("z-index"),top:$elem.css("top"),position:initialPosition,marginTop:$elem.css("margin-top"),marginBottom:$elem.css("margin-bottom"),cssLeft:($el=$elem,prop="left",el=$el[0],computed=window.getComputedStyle(el),prevDisplay=computed.display,el.style.display="none",val=computed[prop],el.style.display=prevDisplay,val),width:$elem[0].offsetWidth,height:$elem.css("height")};var $el,prop,val,el,computed,prevDisplay},$scope.updateStickyContentUpdateDimensions=function(width,height){width&&height&&(initSticky(),initialCSS.width=width+"px",initialCSS.height=height+"px")},$timeout(function(){originalInitialCSS=$scope.getInitialDimensions(),initSticky()},0)},controller:["$scope","$window",function($scope,$window){this.resetLayout=function(newWidth,newHeight){var scrollbar=$scope.getScrollbar(),initialCSS=$scope.getInitialCSS(),anchor=$scope.getAnchor();if($scope.isSticking()&&($scope.processUnStickElement(anchor),$scope.processCheckIfShouldStick()),$scope.getElement().css({width:"",height:"",position:"",top:"",zIndex:""}),initialCSS.position=$scope.getOriginalInitialCSS().position,delete initialCSS.offsetWidth,void 0===newWidth&&void 0===newHeight){var e_bcr=$scope.getElement()[0].getBoundingClientRect();newWidth=e_bcr.width,newHeight=e_bcr.height}$scope.updateStickyContentUpdateDimensions(newWidth,newHeight),"top"===anchor&&(scrollbar===$window?$window.scrollTo(0,0):scrollbar.scrollTop>0&&(scrollbar.scrollTop=0))},this.getScrollbar=function(){return $scope.getScrollbar()}}]}}]),window.matchMedia=window.matchMedia||(window.console&&console.warn&&console.warn("angular-sticky: This browser does not support matchMedia, therefore the minWidth option will not work on this browser. Polyfill matchMedia to fix this issue."),function(){return{matches:!0}})}()},"./src/maasserver/static/js/angular/3rdparty/vs-repeat.js":function(module,exports){!function(window,angular){"use strict";var dde=document.documentElement,matchingFunction=dde.matches?"matches":dde.matchesSelector?"matchesSelector":dde.webkitMatches?"webkitMatches":dde.webkitMatchesSelector?"webkitMatchesSelector":dde.msMatches?"msMatches":dde.msMatchesSelector?"msMatchesSelector":dde.mozMatches?"mozMatches":dde.mozMatchesSelector?"mozMatchesSelector":null,closestElement=angular.element.prototype.closest||function(selector){for(var el=this[0].parentNode;el!==document.documentElement&&null!=el&&!el[matchingFunction](selector);)el=el.parentNode;return el&&el[matchingFunction](selector)?angular.element(el):angular.element()};function getWindowScroll(){if("pageYOffset"in window)return{scrollTop:pageYOffset,scrollLeft:pageXOffset};var sx,d=document,r=d.documentElement,b=d.body;return sx=r.scrollLeft||b.scrollLeft||0,{scrollTop:r.scrollTop||b.scrollTop||0,scrollLeft:sx}}function getClientSize(element,sizeProp){return element===window?"clientWidth"===sizeProp?window.innerWidth:window.innerHeight:element[sizeProp]}var vsRepeatModule=angular.module("vs-repeat",[]).directive("vsRepeat",["$compile","$parse",function($compile,$parse){return{restrict:"A",scope:!0,compile:function($element,$attrs){var ngRepeatExpression,expressionMatches,lhs,rhs,rhsSuffix,originalNgRepeatAttr,repeatContainer=angular.isDefined($attrs.vsRepeatContainer)?angular.element($element[0].querySelector($attrs.vsRepeatContainer)):$element,ngRepeatChild=repeatContainer.children().eq(0),childCloneHtml=ngRepeatChild[0].outerHTML,collectionName="$vs_collection",isNgRepeatStart=!1,attributesDictionary={vsRepeat:"elementSize",vsOffsetBefore:"offsetBefore",vsOffsetAfter:"offsetAfter",vsScrolledToEndOffset:"scrolledToEndOffset",vsScrolledToBeginningOffset:"scrolledToBeginningOffset",vsExcess:"excess"};if(ngRepeatChild.attr("ng-repeat"))originalNgRepeatAttr="ng-repeat",ngRepeatExpression=ngRepeatChild.attr("ng-repeat");else if(ngRepeatChild.attr("data-ng-repeat"))originalNgRepeatAttr="data-ng-repeat",ngRepeatExpression=ngRepeatChild.attr("data-ng-repeat");else if(ngRepeatChild.attr("ng-repeat-start"))isNgRepeatStart=!0,originalNgRepeatAttr="ng-repeat-start",ngRepeatExpression=ngRepeatChild.attr("ng-repeat-start");else{if(!ngRepeatChild.attr("data-ng-repeat-start"))throw new Error("angular-vs-repeat: no ng-repeat directive on a child element");isNgRepeatStart=!0,originalNgRepeatAttr="data-ng-repeat-start",ngRepeatExpression=ngRepeatChild.attr("data-ng-repeat-start")}if(expressionMatches=/^\s*(\S+)\s+in\s+([\S\s]+?)(track\s+by\s+\S+)?$/.exec(ngRepeatExpression),lhs=expressionMatches[1],rhs=expressionMatches[2],rhsSuffix=expressionMatches[3],isNgRepeatStart)for(var index=0,repeaterElement=repeatContainer.children().eq(0);null==repeaterElement.attr("ng-repeat-end")&&null==repeaterElement.attr("data-ng-repeat-end");)index++,repeaterElement=repeatContainer.children().eq(index),childCloneHtml+=repeaterElement[0].outerHTML;return repeatContainer.empty(),{pre:function($scope,$element,$attrs){var originalLength,_prevStartIndex,_prevEndIndex,_minStartIndex,_maxEndIndex,_prevClientSize,repeatContainer=angular.isDefined($attrs.vsRepeatContainer)?angular.element($element[0].querySelector($attrs.vsRepeatContainer)):$element,childClone=angular.element(childCloneHtml),childTagName=childClone[0].tagName.toLowerCase(),originalCollection=[],$$horizontal=void 0!==$attrs.vsHorizontal,$beforeContent=angular.element("<"+childTagName+' class="vs-repeat-before-content"></'+childTagName+">"),$afterContent=angular.element("<"+childTagName+' class="vs-repeat-after-content"></'+childTagName+">"),autoSize=!$attrs.vsRepeat,sizesPropertyExists=!!$attrs.vsSize||!!$attrs.vsSizeProperty,$scrollParent=$attrs.vsScrollParent?"window"===$attrs.vsScrollParent?angular.element(window):closestElement.call(repeatContainer,$attrs.vsScrollParent):repeatContainer,$$options="vsOptions"in $attrs?$scope.$eval($attrs.vsOptions):{},clientSize=$$horizontal?"clientWidth":"clientHeight",offsetSize=$$horizontal?"offsetWidth":"offsetHeight",scrollPos=$$horizontal?"scrollLeft":"scrollTop";if($scope.totalSize=0,!("vsSize"in $attrs)&&"vsSizeProperty"in $attrs&&console.warn("vs-size-property attribute is deprecated. Please use vs-size attribute which also accepts angular expressions."),0===$scrollParent.length)throw"Specified scroll parent selector did not match any element";function refresh(){if(!originalCollection||originalCollection.length<1)$scope[collectionName]=[],originalLength=0,$scope.sizesCumulative=[0];else if(originalLength=originalCollection.length,sizesPropertyExists){$scope.sizes=originalCollection.map(function(item){var s=$scope.$new(!1);angular.extend(s,item),s[lhs]=item;var size=$attrs.vsSize||$attrs.vsSizeProperty?s.$eval($attrs.vsSize||$attrs.vsSizeProperty):$scope.elementSize;return s.$destroy(),size});var sum=0;$scope.sizesCumulative=$scope.sizes.map(function(size){var res=sum;return sum+=size,res}),$scope.sizesCumulative.push(sum)}else setAutoSize();reinitialize()}function setAutoSize(){autoSize&&$scope.$$postDigest(function(){if(repeatContainer[0].offsetHeight||repeatContainer[0].offsetWidth){for(var children=repeatContainer.children(),i=0,gotSomething=!1,insideStartEndSequence=!1;i<children.length;){if(null!=children[i].attributes[originalNgRepeatAttr]||insideStartEndSequence){if(gotSomething||($scope.elementSize=0),gotSomething=!0,children[i][offsetSize]&&($scope.elementSize+=children[i][offsetSize]),!isNgRepeatStart)break;if(null!=children[i].attributes["ng-repeat-end"]||null!=children[i].attributes["data-ng-repeat-end"])break;insideStartEndSequence=!0}i++}gotSomething&&(reinitialize(),autoSize=!1,$scope.$root&&!$scope.$root.$$phase&&$scope.$apply())}else var dereg=$scope.$watch(function(){(repeatContainer[0].offsetHeight||repeatContainer[0].offsetWidth)&&(dereg(),setAutoSize())})})}function getLayoutProp(){var layoutPropPrefix="tr"===childTagName?"":"min-";return $$horizontal?layoutPropPrefix+"width":layoutPropPrefix+"height"}function scrollHandler(){updateInnerCollection()&&$scope.$digest()}function onWindowResize(){void 0!==$attrs.vsAutoresize&&(autoSize=!0,setAutoSize(),$scope.$root&&!$scope.$root.$$phase&&$scope.$apply()),updateInnerCollection()&&$scope.$apply()}function reinitialize(){var size;_prevStartIndex=void 0,_prevEndIndex=void 0,_minStartIndex=originalLength,_maxEndIndex=0,size=sizesPropertyExists?$scope.sizesCumulative[originalLength]:$scope.elementSize*originalLength,$scope.totalSize=$scope.offsetBefore+size+$scope.offsetAfter,updateInnerCollection(),$scope.$emit("vsRepeatReinitialized",$scope.startIndex,$scope.endIndex)}function reinitOnClientHeightChange(){var ch=getClientSize($scrollParent[0],clientSize);ch!==_prevClientSize&&(reinitialize(),$scope.$root&&!$scope.$root.$$phase&&$scope.$apply()),_prevClientSize=ch}function updateInnerCollection(){var element,scrollProp,vsElement,scrollElement,isHorizontal,$scrollPosition=(element=$scrollParent[0],scrollProp=scrollPos,element===window?getWindowScroll()[scrollProp]:element[scrollProp]),$clientSize=getClientSize($scrollParent[0],clientSize),scrollOffset=repeatContainer[0]===$scrollParent[0]?0:(vsElement=repeatContainer[0],scrollElement=$scrollParent[0],isHorizontal=$$horizontal,vsElement.getBoundingClientRect()[isHorizontal?"left":"top"]-(scrollElement===window?0:scrollElement.getBoundingClientRect()[isHorizontal?"left":"top"])+(scrollElement===window?getWindowScroll():scrollElement)[isHorizontal?"scrollLeft":"scrollTop"]),__startIndex=$scope.startIndex,__endIndex=$scope.endIndex;if(sizesPropertyExists){for(__startIndex=0;$scope.sizesCumulative[__startIndex]<$scrollPosition-$scope.offsetBefore-scrollOffset;)__startIndex++;for(__startIndex>0&&__startIndex--,__endIndex=__startIndex=Math.max(Math.floor(__startIndex-$scope.excess/2),0);$scope.sizesCumulative[__endIndex]<$scrollPosition-$scope.offsetBefore-scrollOffset+$clientSize;)__endIndex++;__endIndex=Math.min(Math.ceil(__endIndex+$scope.excess/2),originalLength)}else __startIndex=Math.max(Math.floor(($scrollPosition-$scope.offsetBefore-scrollOffset)/$scope.elementSize)-$scope.excess/2,0),__endIndex=Math.min(__startIndex+Math.ceil($clientSize/$scope.elementSize)+$scope.excess,originalLength);_minStartIndex=Math.min(__startIndex,_minStartIndex),_maxEndIndex=Math.max(__endIndex,_maxEndIndex),$scope.startIndex=$$options.latch?_minStartIndex:__startIndex,$scope.endIndex=$$options.latch?_maxEndIndex:__endIndex;var digestRequired=!1;if(null==_prevStartIndex?digestRequired=!0:null==_prevEndIndex&&(digestRequired=!0),digestRequired||($$options.hunked?Math.abs($scope.startIndex-_prevStartIndex)>=$scope.excess/2||0===$scope.startIndex&&0!==_prevStartIndex?digestRequired=!0:(Math.abs($scope.endIndex-_prevEndIndex)>=$scope.excess/2||$scope.endIndex===originalLength&&_prevEndIndex!==originalLength)&&(digestRequired=!0):digestRequired=$scope.startIndex!==_prevStartIndex||$scope.endIndex!==_prevEndIndex),digestRequired){var triggerIndex;$scope[collectionName]=originalCollection.slice($scope.startIndex,$scope.endIndex),$scope.$emit("vsRepeatInnerCollectionUpdated",$scope.startIndex,$scope.endIndex,_prevStartIndex,_prevEndIndex),$attrs.vsScrolledToEnd&&(triggerIndex=originalCollection.length-($scope.scrolledToEndOffset||0),($scope.endIndex>=triggerIndex&&_prevEndIndex<triggerIndex||originalCollection.length&&$scope.endIndex===originalCollection.length)&&$scope.$eval($attrs.vsScrolledToEnd)),$attrs.vsScrolledToBeginning&&(triggerIndex=$scope.scrolledToBeginningOffset||0,$scope.startIndex<=triggerIndex&&_prevStartIndex>$scope.startIndex&&$scope.$eval($attrs.vsScrolledToBeginning)),_prevStartIndex=$scope.startIndex,_prevEndIndex=$scope.endIndex;var parsed=$parse(sizesPropertyExists?"(sizesCumulative[$index + startIndex] + offsetBefore)":"(($index + startIndex) * elementSize + offsetBefore)"),o1=parsed($scope,{$index:0}),o2=parsed($scope,{$index:$scope[collectionName].length}),total=$scope.totalSize;$beforeContent.css(getLayoutProp(),o1+"px"),$afterContent.css(getLayoutProp(),total-o2+"px")}return digestRequired}$scope.$scrollParent=$scrollParent,sizesPropertyExists&&($scope.sizesCumulative=[]),$scope.elementSize=+$attrs.vsRepeat||getClientSize($scrollParent[0],clientSize)||50,$scope.offsetBefore=0,$scope.offsetAfter=0,$scope.excess=2,$$horizontal?($beforeContent.css("height","100%"),$afterContent.css("height","100%")):($beforeContent.css("width","100%"),$afterContent.css("width","100%")),Object.keys(attributesDictionary).forEach(function(key){$attrs[key]&&$attrs.$observe(key,function(value){$scope[attributesDictionary[key]]=+value,reinitialize()})}),$scope.$watchCollection(rhs,function(coll){originalCollection=coll||[],refresh()}),childClone.eq(0).attr(originalNgRepeatAttr,lhs+" in "+collectionName+(rhsSuffix?" "+rhsSuffix:"")),childClone.addClass("vs-repeat-repeated-element"),repeatContainer.append($beforeContent),repeatContainer.append(childClone),$compile(childClone)($scope),repeatContainer.append($afterContent),$scope.startIndex=0,$scope.endIndex=0,$scrollParent.on("scroll",scrollHandler),angular.element(window).on("resize",onWindowResize),$scope.$on("$destroy",function(){angular.element(window).off("resize",onWindowResize),$scrollParent.off("scroll",scrollHandler)}),$scope.$on("vsRepeatTrigger",refresh),$scope.$on("vsRepeatResize",function(){autoSize=!0,setAutoSize()}),$scope.$on("vsRenderAll",function(){$$options.latch&&setTimeout(function(){var __endIndex=originalLength;_maxEndIndex=Math.max(__endIndex,_maxEndIndex),$scope.endIndex=$$options.latch?_maxEndIndex:__endIndex,$scope[collectionName]=originalCollection.slice($scope.startIndex,$scope.endIndex),_prevEndIndex=$scope.endIndex,$scope.$$postDigest(function(){$beforeContent.css(getLayoutProp(),0),$afterContent.css(getLayoutProp(),0)}),$scope.$apply(function(){$scope.$emit("vsRenderAllDone")})})}),$scope.$watch(function(){"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(reinitOnClientHeightChange):reinitOnClientHeightChange()})}}}}}]);void 0!==module&&module.exports&&(module.exports=vsRepeatModule.name)}(window,window.angular)},0:function(module,exports,__webpack_require__){__webpack_require__("./src/maasserver/static/js/angular/3rdparty/ng-tags-input.js"),__webpack_require__("./src/maasserver/static/js/angular/3rdparty/sticky.js"),__webpack_require__("./src/maasserver/static/js/angular/3rdparty/sticky.min.js"),__webpack_require__("./src/maasserver/static/js/angular/3rdparty/vs-repeat.js"),__webpack_require__("./node_modules/react/index.js"),module.exports=__webpack_require__("./node_modules/react-dom/index.js")}});
 
1
!function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId])return installedModules[moduleId].exports;var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};return modules[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.l=!0,module.exports}__webpack_require__.m=modules,__webpack_require__.c=installedModules,__webpack_require__.d=function(exports,name,getter){__webpack_require__.o(exports,name)||Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})},__webpack_require__.r=function(exports){Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.n=function(module){var getter=module&&module.__esModule?function(){return module.default}:function(){return module};return __webpack_require__.d(getter,"a",getter),getter},__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)},__webpack_require__.p="",__webpack_require__(__webpack_require__.s=0)}({"./node_modules/fbjs/lib/EventListener.js":function(module,exports,__webpack_require__){"use strict";var emptyFunction=__webpack_require__("./node_modules/fbjs/lib/emptyFunction.js"),EventListener={listen:function(target,eventType,callback){return target.addEventListener?(target.addEventListener(eventType,callback,!1),{remove:function(){target.removeEventListener(eventType,callback,!1)}}):target.attachEvent?(target.attachEvent("on"+eventType,callback),{remove:function(){target.detachEvent("on"+eventType,callback)}}):void 0},capture:function(target,eventType,callback){return target.addEventListener?(target.addEventListener(eventType,callback,!0),{remove:function(){target.removeEventListener(eventType,callback,!0)}}):(console.error("Attempted to listen to events during the capture phase on a browser that does not support the capture phase. Your application will not receive some events."),{remove:emptyFunction})},registerDefault:function(){}};module.exports=EventListener},"./node_modules/fbjs/lib/ExecutionEnvironment.js":function(module,exports,__webpack_require__){"use strict";var canUseDOM=!("undefined"==typeof window||!window.document||!window.document.createElement),ExecutionEnvironment={canUseDOM:canUseDOM,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:canUseDOM&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:canUseDOM&&!!window.screen,isInWorker:!canUseDOM};module.exports=ExecutionEnvironment},"./node_modules/fbjs/lib/camelize.js":function(module,exports,__webpack_require__){"use strict";var _hyphenPattern=/-(.)/g;module.exports=function(string){return string.replace(_hyphenPattern,function(_,character){return character.toUpperCase()})}},"./node_modules/fbjs/lib/camelizeStyleName.js":function(module,exports,__webpack_require__){"use strict";var camelize=__webpack_require__("./node_modules/fbjs/lib/camelize.js"),msPattern=/^-ms-/;module.exports=function(string){return camelize(string.replace(msPattern,"ms-"))}},"./node_modules/fbjs/lib/containsNode.js":function(module,exports,__webpack_require__){"use strict";var isTextNode=__webpack_require__("./node_modules/fbjs/lib/isTextNode.js");module.exports=function containsNode(outerNode,innerNode){return!(!outerNode||!innerNode)&&(outerNode===innerNode||!isTextNode(outerNode)&&(isTextNode(innerNode)?containsNode(outerNode,innerNode.parentNode):"contains"in outerNode?outerNode.contains(innerNode):!!outerNode.compareDocumentPosition&&!!(16&outerNode.compareDocumentPosition(innerNode))))}},"./node_modules/fbjs/lib/emptyFunction.js":function(module,exports,__webpack_require__){"use strict";function makeEmptyFunction(arg){return function(){return arg}}var emptyFunction=function(){};emptyFunction.thatReturns=makeEmptyFunction,emptyFunction.thatReturnsFalse=makeEmptyFunction(!1),emptyFunction.thatReturnsTrue=makeEmptyFunction(!0),emptyFunction.thatReturnsNull=makeEmptyFunction(null),emptyFunction.thatReturnsThis=function(){return this},emptyFunction.thatReturnsArgument=function(arg){return arg},module.exports=emptyFunction},"./node_modules/fbjs/lib/emptyObject.js":function(module,exports,__webpack_require__){"use strict";var emptyObject={};Object.freeze(emptyObject),module.exports=emptyObject},"./node_modules/fbjs/lib/focusNode.js":function(module,exports,__webpack_require__){"use strict";module.exports=function(node){try{node.focus()}catch(e){}}},"./node_modules/fbjs/lib/getActiveElement.js":function(module,exports,__webpack_require__){"use strict";module.exports=function(doc){if(void 0===(doc=doc||("undefined"!=typeof document?document:void 0)))return null;try{return doc.activeElement||doc.body}catch(e){return doc.body}}},"./node_modules/fbjs/lib/hyphenate.js":function(module,exports,__webpack_require__){"use strict";var _uppercasePattern=/([A-Z])/g;module.exports=function(string){return string.replace(_uppercasePattern,"-$1").toLowerCase()}},"./node_modules/fbjs/lib/hyphenateStyleName.js":function(module,exports,__webpack_require__){"use strict";var hyphenate=__webpack_require__("./node_modules/fbjs/lib/hyphenate.js"),msPattern=/^ms-/;module.exports=function(string){return hyphenate(string).replace(msPattern,"-ms-")}},"./node_modules/fbjs/lib/invariant.js":function(module,exports,__webpack_require__){"use strict";var validateFormat=function(format){};validateFormat=function(format){if(void 0===format)throw new Error("invariant requires an error message argument")},module.exports=function(condition,format,a,b,c,d,e,f){if(validateFormat(format),!condition){var error;if(void 0===format)error=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var args=[a,b,c,d,e,f],argIndex=0;(error=new Error(format.replace(/%s/g,function(){return args[argIndex++]}))).name="Invariant Violation"}throw error.framesToPop=1,error}}},"./node_modules/fbjs/lib/isNode.js":function(module,exports,__webpack_require__){"use strict";module.exports=function(object){var defaultView=(object?object.ownerDocument||object:document).defaultView||window;return!(!object||!("function"==typeof defaultView.Node?object instanceof defaultView.Node:"object"==typeof object&&"number"==typeof object.nodeType&&"string"==typeof object.nodeName))}},"./node_modules/fbjs/lib/isTextNode.js":function(module,exports,__webpack_require__){"use strict";var isNode=__webpack_require__("./node_modules/fbjs/lib/isNode.js");module.exports=function(object){return isNode(object)&&3==object.nodeType}},"./node_modules/fbjs/lib/shallowEqual.js":function(module,exports,__webpack_require__){"use strict";var hasOwnProperty=Object.prototype.hasOwnProperty;function is(x,y){return x===y?0!==x||0!==y||1/x==1/y:x!=x&&y!=y}module.exports=function(objA,objB){if(is(objA,objB))return!0;if("object"!=typeof objA||null===objA||"object"!=typeof objB||null===objB)return!1;var keysA=Object.keys(objA),keysB=Object.keys(objB);if(keysA.length!==keysB.length)return!1;for(var i=0;i<keysA.length;i++)if(!hasOwnProperty.call(objB,keysA[i])||!is(objA[keysA[i]],objB[keysA[i]]))return!1;return!0}},"./node_modules/fbjs/lib/warning.js":function(module,exports,__webpack_require__){"use strict";var warning=__webpack_require__("./node_modules/fbjs/lib/emptyFunction.js");warning=function(condition,format){if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==format.indexOf("Failed Composite propType: ")&&!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];(function(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0,message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!=typeof console&&console.error(message);try{throw new Error(message)}catch(x){}}).apply(void 0,[format].concat(args))}},module.exports=warning},"./node_modules/object-assign/index.js":function(module,exports,__webpack_require__){"use strict";var getOwnPropertySymbols=Object.getOwnPropertySymbols,hasOwnProperty=Object.prototype.hasOwnProperty,propIsEnumerable=Object.prototype.propertyIsEnumerable;module.exports=function(){try{if(!Object.assign)return!1;var test1=new String("abc");if(test1[5]="de","5"===Object.getOwnPropertyNames(test1)[0])return!1;for(var test2={},i=0;i<10;i++)test2["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(test2).map(function(n){return test2[n]}).join(""))return!1;var test3={};return"abcdefghijklmnopqrst".split("").forEach(function(letter){test3[letter]=letter}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},test3)).join("")}catch(err){return!1}}()?Object.assign:function(target,source){for(var from,symbols,to=function(val){if(null===val||void 0===val)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(val)}(target),s=1;s<arguments.length;s++){for(var key in from=Object(arguments[s]))hasOwnProperty.call(from,key)&&(to[key]=from[key]);if(getOwnPropertySymbols){symbols=getOwnPropertySymbols(from);for(var i=0;i<symbols.length;i++)propIsEnumerable.call(from,symbols[i])&&(to[symbols[i]]=from[symbols[i]])}}return to}},"./node_modules/prop-types/checkPropTypes.js":function(module,exports,__webpack_require__){"use strict";var invariant=__webpack_require__("./node_modules/fbjs/lib/invariant.js"),warning=__webpack_require__("./node_modules/fbjs/lib/warning.js"),ReactPropTypesSecret=__webpack_require__("./node_modules/prop-types/lib/ReactPropTypesSecret.js"),loggedTypeFailures={};module.exports=function(typeSpecs,values,location,componentName,getStack){for(var typeSpecName in typeSpecs)if(typeSpecs.hasOwnProperty(typeSpecName)){var error;try{invariant("function"==typeof typeSpecs[typeSpecName],"%s: %s type `%s` is invalid; it must be a function, usually from the `prop-types` package, but received `%s`.",componentName||"React class",location,typeSpecName,typeof typeSpecs[typeSpecName]),error=typeSpecs[typeSpecName](values,typeSpecName,componentName,location,null,ReactPropTypesSecret)}catch(ex){error=ex}if(warning(!error||error instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",componentName||"React class",location,typeSpecName,typeof error),error instanceof Error&&!(error.message in loggedTypeFailures)){loggedTypeFailures[error.message]=!0;var stack=getStack?getStack():"";warning(!1,"Failed %s type: %s%s",location,error.message,null!=stack?stack:"")}}}},"./node_modules/prop-types/lib/ReactPropTypesSecret.js":function(module,exports,__webpack_require__){"use strict";module.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},"./node_modules/react-dom/cjs/react-dom.development.js":function(module,exports,__webpack_require__){"use strict";(function(){var React=__webpack_require__("./node_modules/react/index.js"),invariant=__webpack_require__("./node_modules/fbjs/lib/invariant.js"),warning=__webpack_require__("./node_modules/fbjs/lib/warning.js"),ExecutionEnvironment=__webpack_require__("./node_modules/fbjs/lib/ExecutionEnvironment.js"),_assign=__webpack_require__("./node_modules/object-assign/index.js"),emptyFunction=__webpack_require__("./node_modules/fbjs/lib/emptyFunction.js"),EventListener=__webpack_require__("./node_modules/fbjs/lib/EventListener.js"),getActiveElement=__webpack_require__("./node_modules/fbjs/lib/getActiveElement.js"),shallowEqual=__webpack_require__("./node_modules/fbjs/lib/shallowEqual.js"),containsNode=__webpack_require__("./node_modules/fbjs/lib/containsNode.js"),focusNode=__webpack_require__("./node_modules/fbjs/lib/focusNode.js"),emptyObject=__webpack_require__("./node_modules/fbjs/lib/emptyObject.js"),checkPropTypes=__webpack_require__("./node_modules/prop-types/checkPropTypes.js"),hyphenateStyleName=__webpack_require__("./node_modules/fbjs/lib/hyphenateStyleName.js"),camelizeStyleName=__webpack_require__("./node_modules/fbjs/lib/camelizeStyleName.js");React||invariant(!1,"ReactDOM was loaded before React. Make sure you load the React package before loading ReactDOM.");var RESERVED_PROPS={children:!0,dangerouslySetInnerHTML:!0,defaultValue:!0,defaultChecked:!0,innerHTML:!0,suppressContentEditableWarning:!0,suppressHydrationWarning:!0,style:!0};function checkMask(value,bitmask){return(value&bitmask)===bitmask}var DOMPropertyInjection={MUST_USE_PROPERTY:1,HAS_BOOLEAN_VALUE:4,HAS_NUMERIC_VALUE:8,HAS_POSITIVE_NUMERIC_VALUE:24,HAS_OVERLOADED_BOOLEAN_VALUE:32,HAS_STRING_BOOLEAN_VALUE:64,injectDOMPropertyConfig:function(domPropertyConfig){var Injection=DOMPropertyInjection,Properties=domPropertyConfig.Properties||{},DOMAttributeNamespaces=domPropertyConfig.DOMAttributeNamespaces||{},DOMAttributeNames=domPropertyConfig.DOMAttributeNames||{},DOMMutationMethods=domPropertyConfig.DOMMutationMethods||{};for(var propName in Properties){properties.hasOwnProperty(propName)&&invariant(!1,"injectDOMPropertyConfig(...): You're trying to inject DOM property '%s' which has already been injected. You may be accidentally injecting the same DOM property config twice, or you may be injecting two configs that have conflicting property names.",propName);var lowerCased=propName.toLowerCase(),propConfig=Properties[propName],propertyInfo={attributeName:lowerCased,attributeNamespace:null,propertyName:propName,mutationMethod:null,mustUseProperty:checkMask(propConfig,Injection.MUST_USE_PROPERTY),hasBooleanValue:checkMask(propConfig,Injection.HAS_BOOLEAN_VALUE),hasNumericValue:checkMask(propConfig,Injection.HAS_NUMERIC_VALUE),hasPositiveNumericValue:checkMask(propConfig,Injection.HAS_POSITIVE_NUMERIC_VALUE),hasOverloadedBooleanValue:checkMask(propConfig,Injection.HAS_OVERLOADED_BOOLEAN_VALUE),hasStringBooleanValue:checkMask(propConfig,Injection.HAS_STRING_BOOLEAN_VALUE)};if(propertyInfo.hasBooleanValue+propertyInfo.hasNumericValue+propertyInfo.hasOverloadedBooleanValue<=1||invariant(!1,"DOMProperty: Value can be one of boolean, overloaded boolean, or numeric value, but not a combination: %s",propName),DOMAttributeNames.hasOwnProperty(propName)){var attributeName=DOMAttributeNames[propName];propertyInfo.attributeName=attributeName}DOMAttributeNamespaces.hasOwnProperty(propName)&&(propertyInfo.attributeNamespace=DOMAttributeNamespaces[propName]),DOMMutationMethods.hasOwnProperty(propName)&&(propertyInfo.mutationMethod=DOMMutationMethods[propName]),properties[propName]=propertyInfo}}},ATTRIBUTE_NAME_START_CHAR=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ATTRIBUTE_NAME_CHAR=ATTRIBUTE_NAME_START_CHAR+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",ROOT_ATTRIBUTE_NAME="data-reactroot",properties={};function shouldSetAttribute(name,value){if(isReservedProp(name))return!1;if(name.length>2&&("o"===name[0]||"O"===name[0])&&("n"===name[1]||"N"===name[1]))return!1;if(null===value)return!0;switch(typeof value){case"boolean":return shouldAttributeAcceptBooleanValue(name);case"undefined":case"number":case"string":case"object":return!0;default:return!1}}function getPropertyInfo(name){return properties.hasOwnProperty(name)?properties[name]:null}function shouldAttributeAcceptBooleanValue(name){if(isReservedProp(name))return!0;var propertyInfo=getPropertyInfo(name);if(propertyInfo)return propertyInfo.hasBooleanValue||propertyInfo.hasStringBooleanValue||propertyInfo.hasOverloadedBooleanValue;var prefix=name.toLowerCase().slice(0,5);return"data-"===prefix||"aria-"===prefix}function isReservedProp(name){return RESERVED_PROPS.hasOwnProperty(name)}var injection=DOMPropertyInjection,MUST_USE_PROPERTY=injection.MUST_USE_PROPERTY,HAS_BOOLEAN_VALUE=injection.HAS_BOOLEAN_VALUE,HAS_NUMERIC_VALUE=injection.HAS_NUMERIC_VALUE,HAS_POSITIVE_NUMERIC_VALUE=injection.HAS_POSITIVE_NUMERIC_VALUE,HAS_OVERLOADED_BOOLEAN_VALUE=injection.HAS_OVERLOADED_BOOLEAN_VALUE,HAS_STRING_BOOLEAN_VALUE=injection.HAS_STRING_BOOLEAN_VALUE,HTMLDOMPropertyConfig={Properties:{allowFullScreen:HAS_BOOLEAN_VALUE,async:HAS_BOOLEAN_VALUE,autoFocus:HAS_BOOLEAN_VALUE,autoPlay:HAS_BOOLEAN_VALUE,capture:HAS_OVERLOADED_BOOLEAN_VALUE,checked:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,cols:HAS_POSITIVE_NUMERIC_VALUE,contentEditable:HAS_STRING_BOOLEAN_VALUE,controls:HAS_BOOLEAN_VALUE,default:HAS_BOOLEAN_VALUE,defer:HAS_BOOLEAN_VALUE,disabled:HAS_BOOLEAN_VALUE,download:HAS_OVERLOADED_BOOLEAN_VALUE,draggable:HAS_STRING_BOOLEAN_VALUE,formNoValidate:HAS_BOOLEAN_VALUE,hidden:HAS_BOOLEAN_VALUE,loop:HAS_BOOLEAN_VALUE,multiple:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,muted:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,noValidate:HAS_BOOLEAN_VALUE,open:HAS_BOOLEAN_VALUE,playsInline:HAS_BOOLEAN_VALUE,readOnly:HAS_BOOLEAN_VALUE,required:HAS_BOOLEAN_VALUE,reversed:HAS_BOOLEAN_VALUE,rows:HAS_POSITIVE_NUMERIC_VALUE,rowSpan:HAS_NUMERIC_VALUE,scoped:HAS_BOOLEAN_VALUE,seamless:HAS_BOOLEAN_VALUE,selected:MUST_USE_PROPERTY|HAS_BOOLEAN_VALUE,size:HAS_POSITIVE_NUMERIC_VALUE,start:HAS_NUMERIC_VALUE,span:HAS_POSITIVE_NUMERIC_VALUE,spellCheck:HAS_STRING_BOOLEAN_VALUE,style:0,tabIndex:0,itemScope:HAS_BOOLEAN_VALUE,acceptCharset:0,className:0,htmlFor:0,httpEquiv:0,value:HAS_STRING_BOOLEAN_VALUE},DOMAttributeNames:{acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},DOMMutationMethods:{value:function(node,value){if(null==value)return node.removeAttribute("value");"number"!==node.type||!1===node.hasAttribute("value")?node.setAttribute("value",""+value):node.validity&&!node.validity.badInput&&node.ownerDocument.activeElement!==node&&node.setAttribute("value",""+value)}}},HAS_STRING_BOOLEAN_VALUE$1=injection.HAS_STRING_BOOLEAN_VALUE,NS_xlink="http://www.w3.org/1999/xlink",NS_xml="http://www.w3.org/XML/1998/namespace",SVGDOMPropertyConfig={Properties:{autoReverse:HAS_STRING_BOOLEAN_VALUE$1,externalResourcesRequired:HAS_STRING_BOOLEAN_VALUE$1,preserveAlpha:HAS_STRING_BOOLEAN_VALUE$1},DOMAttributeNames:{autoReverse:"autoReverse",externalResourcesRequired:"externalResourcesRequired",preserveAlpha:"preserveAlpha"},DOMAttributeNamespaces:{xlinkActuate:NS_xlink,xlinkArcrole:NS_xlink,xlinkHref:NS_xlink,xlinkRole:NS_xlink,xlinkShow:NS_xlink,xlinkTitle:NS_xlink,xlinkType:NS_xlink,xmlBase:NS_xml,xmlLang:NS_xml,xmlSpace:NS_xml}},CAMELIZE=/[\-\:]([a-z])/g,capitalize=function(token){return token[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","x-height","xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xmlns:xlink","xml:lang","xml:space"].forEach(function(original){var reactName=original.replace(CAMELIZE,capitalize);SVGDOMPropertyConfig.Properties[reactName]=0,SVGDOMPropertyConfig.DOMAttributeNames[reactName]=original}),injection.injectDOMPropertyConfig(HTMLDOMPropertyConfig),injection.injectDOMPropertyConfig(SVGDOMPropertyConfig);var ReactErrorUtils={_caughtError:null,_hasCaughtError:!1,_rethrowError:null,_hasRethrowError:!1,injection:{injectErrorUtils:function(injectedErrorUtils){"function"!=typeof injectedErrorUtils.invokeGuardedCallback&&invariant(!1,"Injected invokeGuardedCallback() must be a function."),invokeGuardedCallback=injectedErrorUtils.invokeGuardedCallback}},invokeGuardedCallback:function(name,func,context,a,b,c,d,e,f){invokeGuardedCallback.apply(ReactErrorUtils,arguments)},invokeGuardedCallbackAndCatchFirstError:function(name,func,context,a,b,c,d,e,f){if(ReactErrorUtils.invokeGuardedCallback.apply(this,arguments),ReactErrorUtils.hasCaughtError()){var error=ReactErrorUtils.clearCaughtError();ReactErrorUtils._hasRethrowError||(ReactErrorUtils._hasRethrowError=!0,ReactErrorUtils._rethrowError=error)}},rethrowCaughtError:function(){return rethrowCaughtError.apply(ReactErrorUtils,arguments)},hasCaughtError:function(){return ReactErrorUtils._hasCaughtError},clearCaughtError:function(){if(ReactErrorUtils._hasCaughtError){var error=ReactErrorUtils._caughtError;return ReactErrorUtils._caughtError=null,ReactErrorUtils._hasCaughtError=!1,error}invariant(!1,"clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}},invokeGuardedCallback=function(name,func,context,a,b,c,d,e,f){ReactErrorUtils._hasCaughtError=!1,ReactErrorUtils._caughtError=null;var funcArgs=Array.prototype.slice.call(arguments,3);try{func.apply(context,funcArgs)}catch(error){ReactErrorUtils._caughtError=error,ReactErrorUtils._hasCaughtError=!0}};if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var fakeNode=document.createElement("react");invokeGuardedCallback=function(name,func,context,a,b,c,d,e,f){var didError=!0,funcArgs=Array.prototype.slice.call(arguments,3);var error=void 0,didSetError=!1,isCrossOriginError=!1;function onError(event){error=event.error,didSetError=!0,null===error&&0===event.colno&&0===event.lineno&&(isCrossOriginError=!0)}var evtType="react-"+(name||"invokeguardedcallback");window.addEventListener("error",onError),fakeNode.addEventListener(evtType,function callCallback(){fakeNode.removeEventListener(evtType,callCallback,!1),func.apply(context,funcArgs),didError=!1},!1);var evt=document.createEvent("Event");evt.initEvent(evtType,!1,!1),fakeNode.dispatchEvent(evt),didError?(didSetError?isCrossOriginError&&(error=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://fb.me/react-crossorigin-error for more information.")):error=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),ReactErrorUtils._hasCaughtError=!0,ReactErrorUtils._caughtError=error):(ReactErrorUtils._hasCaughtError=!1,ReactErrorUtils._caughtError=null),window.removeEventListener("error",onError)}}var rethrowCaughtError=function(){if(ReactErrorUtils._hasRethrowError){var error=ReactErrorUtils._rethrowError;throw ReactErrorUtils._rethrowError=null,ReactErrorUtils._hasRethrowError=!1,error}},eventPluginOrder=null,namesToPlugins={};function recomputePluginOrdering(){if(eventPluginOrder)for(var pluginName in namesToPlugins){var pluginModule=namesToPlugins[pluginName],pluginIndex=eventPluginOrder.indexOf(pluginName);if(pluginIndex>-1||invariant(!1,"EventPluginRegistry: Cannot inject event plugins that do not exist in the plugin ordering, `%s`.",pluginName),!plugins[pluginIndex]){pluginModule.extractEvents||invariant(!1,"EventPluginRegistry: Event plugins must implement an `extractEvents` method, but `%s` does not.",pluginName),plugins[pluginIndex]=pluginModule;var publishedEvents=pluginModule.eventTypes;for(var eventName in publishedEvents)publishEventForPlugin(publishedEvents[eventName],pluginModule,eventName)||invariant(!1,"EventPluginRegistry: Failed to publish event `%s` for plugin `%s`.",eventName,pluginName)}}}function publishEventForPlugin(dispatchConfig,pluginModule,eventName){eventNameDispatchConfigs.hasOwnProperty(eventName)&&invariant(!1,"EventPluginHub: More than one plugin attempted to publish the same event name, `%s`.",eventName),eventNameDispatchConfigs[eventName]=dispatchConfig;var phasedRegistrationNames=dispatchConfig.phasedRegistrationNames;if(phasedRegistrationNames){for(var phaseName in phasedRegistrationNames){if(phasedRegistrationNames.hasOwnProperty(phaseName))publishRegistrationName(phasedRegistrationNames[phaseName],pluginModule,eventName)}return!0}return!!dispatchConfig.registrationName&&(publishRegistrationName(dispatchConfig.registrationName,pluginModule,eventName),!0)}function publishRegistrationName(registrationName,pluginModule,eventName){registrationNameModules[registrationName]&&invariant(!1,"EventPluginHub: More than one plugin attempted to publish the same registration name, `%s`.",registrationName),registrationNameModules[registrationName]=pluginModule,registrationNameDependencies[registrationName]=pluginModule.eventTypes[eventName].dependencies;var lowerCasedName=registrationName.toLowerCase();possibleRegistrationNames[lowerCasedName]=registrationName,"onDoubleClick"===registrationName&&(possibleRegistrationNames.ondblclick=registrationName)}var plugins=[],eventNameDispatchConfigs={},registrationNameModules={},registrationNameDependencies={},possibleRegistrationNames={};function injectEventPluginOrder(injectedEventPluginOrder){eventPluginOrder&&invariant(!1,"EventPluginRegistry: Cannot inject event plugin ordering more than once. You are likely trying to load more than one copy of React."),eventPluginOrder=Array.prototype.slice.call(injectedEventPluginOrder),recomputePluginOrdering()}function injectEventPluginsByName(injectedNamesToPlugins){var isOrderingDirty=!1;for(var pluginName in injectedNamesToPlugins)if(injectedNamesToPlugins.hasOwnProperty(pluginName)){var pluginModule=injectedNamesToPlugins[pluginName];namesToPlugins.hasOwnProperty(pluginName)&&namesToPlugins[pluginName]===pluginModule||(namesToPlugins[pluginName]&&invariant(!1,"EventPluginRegistry: Cannot inject two different event plugins using the same name, `%s`.",pluginName),namesToPlugins[pluginName]=pluginModule,isOrderingDirty=!0)}isOrderingDirty&&recomputePluginOrdering()}var validateEventDispatches,EventPluginRegistry=Object.freeze({plugins:plugins,eventNameDispatchConfigs:eventNameDispatchConfigs,registrationNameModules:registrationNameModules,registrationNameDependencies:registrationNameDependencies,possibleRegistrationNames:possibleRegistrationNames,injectEventPluginOrder:injectEventPluginOrder,injectEventPluginsByName:injectEventPluginsByName}),getFiberCurrentPropsFromNode=null,getInstanceFromNode=null,getNodeFromInstance=null,injection$__injectComponentTree=function(Injected){getFiberCurrentPropsFromNode=Injected.getFiberCurrentPropsFromNode,getInstanceFromNode=Injected.getInstanceFromNode,getNodeFromInstance=Injected.getNodeFromInstance,warning(getNodeFromInstance&&getInstanceFromNode,"EventPluginUtils.injection.injectComponentTree(...): Injected module is missing getNodeFromInstance or getInstanceFromNode.")};function executeDispatch(event,simulated,listener,inst){var type=event.type||"unknown-event";event.currentTarget=getNodeFromInstance(inst),ReactErrorUtils.invokeGuardedCallbackAndCatchFirstError(type,listener,void 0,event),event.currentTarget=null}function accumulateInto(current,next){return null==next&&invariant(!1,"accumulateInto(...): Accumulated items must not be null or undefined."),null==current?next:Array.isArray(current)?Array.isArray(next)?(current.push.apply(current,next),current):(current.push(next),current):Array.isArray(next)?[current].concat(next):[current,next]}function forEachAccumulated(arr,cb,scope){Array.isArray(arr)?arr.forEach(cb,scope):arr&&cb.call(scope,arr)}validateEventDispatches=function(event){var dispatchListeners=event._dispatchListeners,dispatchInstances=event._dispatchInstances,listenersIsArr=Array.isArray(dispatchListeners),listenersLen=listenersIsArr?dispatchListeners.length:dispatchListeners?1:0,instancesIsArr=Array.isArray(dispatchInstances),instancesLen=instancesIsArr?dispatchInstances.length:dispatchInstances?1:0;warning(instancesIsArr===listenersIsArr&&instancesLen===listenersLen,"EventPluginUtils: Invalid `event`.")};var eventQueue=null,executeDispatchesAndRelease=function(event,simulated){event&&(!function(event,simulated){var dispatchListeners=event._dispatchListeners,dispatchInstances=event._dispatchInstances;if(validateEventDispatches(event),Array.isArray(dispatchListeners))for(var i=0;i<dispatchListeners.length&&!event.isPropagationStopped();i++)executeDispatch(event,0,dispatchListeners[i],dispatchInstances[i]);else dispatchListeners&&executeDispatch(event,0,dispatchListeners,dispatchInstances);event._dispatchListeners=null,event._dispatchInstances=null}(event),event.isPersistent()||event.constructor.release(event))},executeDispatchesAndReleaseSimulated=function(e){return executeDispatchesAndRelease(e)},executeDispatchesAndReleaseTopLevel=function(e){return executeDispatchesAndRelease(e)};var injection$1={injectEventPluginOrder:injectEventPluginOrder,injectEventPluginsByName:injectEventPluginsByName};function getListener(inst,registrationName){var listener,stateNode=inst.stateNode;if(!stateNode)return null;var props=getFiberCurrentPropsFromNode(stateNode);return props?(listener=props[registrationName],function(name,type,props){switch(name){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":return!(!props.disabled||(tag=type,"button"!==tag&&"input"!==tag&&"select"!==tag&&"textarea"!==tag));default:return!1}var tag}(registrationName,inst.type,props)?null:(listener&&"function"!=typeof listener&&invariant(!1,"Expected `%s` listener to be a function, instead got a value of `%s` type.",registrationName,typeof listener),listener)):null}function extractEvents(topLevelType,targetInst,nativeEvent,nativeEventTarget){for(var events,i=0;i<plugins.length;i++){var possiblePlugin=plugins[i];if(possiblePlugin){var extractedEvents=possiblePlugin.extractEvents(topLevelType,targetInst,nativeEvent,nativeEventTarget);extractedEvents&&(events=accumulateInto(events,extractedEvents))}}return events}function enqueueEvents(events){events&&(eventQueue=accumulateInto(eventQueue,events))}function processEventQueue(simulated){var processingEventQueue=eventQueue;eventQueue=null,processingEventQueue&&(forEachAccumulated(processingEventQueue,simulated?executeDispatchesAndReleaseSimulated:executeDispatchesAndReleaseTopLevel),eventQueue&&invariant(!1,"processEventQueue(): Additional events were enqueued while processing an event queue. Support for this has not yet been implemented."),ReactErrorUtils.rethrowCaughtError())}var EventPluginHub=Object.freeze({injection:injection$1,getListener:getListener,extractEvents:extractEvents,enqueueEvents:enqueueEvents,processEventQueue:processEventQueue}),IndeterminateComponent=0,FunctionalComponent=1,ClassComponent=2,HostRoot=3,HostPortal=4,HostComponent=5,HostText=6,CallComponent=7,CallHandlerPhase=8,ReturnComponent=9,Fragment=10,randomKey=Math.random().toString(36).slice(2),internalInstanceKey="__reactInternalInstance$"+randomKey,internalEventHandlersKey="__reactEventHandlers$"+randomKey;function precacheFiberNode$1(hostInst,node){node[internalInstanceKey]=hostInst}function getClosestInstanceFromNode(node){if(node[internalInstanceKey])return node[internalInstanceKey];for(var parents=[];!node[internalInstanceKey];){if(parents.push(node),!node.parentNode)return null;node=node.parentNode}var closest=void 0,inst=node[internalInstanceKey];if(inst.tag===HostComponent||inst.tag===HostText)return inst;for(;node&&(inst=node[internalInstanceKey]);node=parents.pop())closest=inst;return closest}function getInstanceFromNode$1(node){var inst=node[internalInstanceKey];return inst&&(inst.tag===HostComponent||inst.tag===HostText)?inst:null}function getNodeFromInstance$1(inst){if(inst.tag===HostComponent||inst.tag===HostText)return inst.stateNode;invariant(!1,"getNodeFromInstance: Invalid argument.")}function getFiberCurrentPropsFromNode$1(node){return node[internalEventHandlersKey]||null}function updateFiberProps$1(node,props){node[internalEventHandlersKey]=props}var ReactDOMComponentTree=Object.freeze({precacheFiberNode:precacheFiberNode$1,getClosestInstanceFromNode:getClosestInstanceFromNode,getInstanceFromNode:getInstanceFromNode$1,getNodeFromInstance:getNodeFromInstance$1,getFiberCurrentPropsFromNode:getFiberCurrentPropsFromNode$1,updateFiberProps:updateFiberProps$1});function getParent(inst){do{inst=inst.return}while(inst&&inst.tag!==HostComponent);return inst||null}function traverseTwoPhase(inst,fn,arg){for(var i,path=[];inst;)path.push(inst),inst=getParent(inst);for(i=path.length;i-- >0;)fn(path[i],"captured",arg);for(i=0;i<path.length;i++)fn(path[i],"bubbled",arg)}function traverseEnterLeave(from,to,fn,argFrom,argTo){for(var common=from&&to?function(instA,instB){for(var depthA=0,tempA=instA;tempA;tempA=getParent(tempA))depthA++;for(var depthB=0,tempB=instB;tempB;tempB=getParent(tempB))depthB++;for(;depthA-depthB>0;)instA=getParent(instA),depthA--;for(;depthB-depthA>0;)instB=getParent(instB),depthB--;for(var depth=depthA;depth--;){if(instA===instB||instA===instB.alternate)return instA;instA=getParent(instA),instB=getParent(instB)}return null}(from,to):null,pathFrom=[];from&&from!==common;){var alternate=from.alternate;if(null!==alternate&&alternate===common)break;pathFrom.push(from),from=getParent(from)}for(var pathTo=[];to&&to!==common;){var _alternate=to.alternate;if(null!==_alternate&&_alternate===common)break;pathTo.push(to),to=getParent(to)}for(var i=0;i<pathFrom.length;i++)fn(pathFrom[i],"bubbled",argFrom);for(var _i=pathTo.length;_i-- >0;)fn(pathTo[_i],"captured",argTo)}function accumulateDirectionalDispatches(inst,phase,event){warning(inst,"Dispatching inst must not be null");var listener=function(inst,event,propagationPhase){return getListener(inst,event.dispatchConfig.phasedRegistrationNames[propagationPhase])}(inst,event,phase);listener&&(event._dispatchListeners=accumulateInto(event._dispatchListeners,listener),event._dispatchInstances=accumulateInto(event._dispatchInstances,inst))}function accumulateTwoPhaseDispatchesSingle(event){event&&event.dispatchConfig.phasedRegistrationNames&&traverseTwoPhase(event._targetInst,accumulateDirectionalDispatches,event)}function accumulateTwoPhaseDispatchesSingleSkipTarget(event){if(event&&event.dispatchConfig.phasedRegistrationNames){var targetInst=event._targetInst;traverseTwoPhase(targetInst?getParent(targetInst):null,accumulateDirectionalDispatches,event)}}function accumulateDispatches(inst,ignoredDirection,event){if(inst&&event&&event.dispatchConfig.registrationName){var listener=getListener(inst,event.dispatchConfig.registrationName);listener&&(event._dispatchListeners=accumulateInto(event._dispatchListeners,listener),event._dispatchInstances=accumulateInto(event._dispatchInstances,inst))}}function accumulateDirectDispatchesSingle(event){event&&event.dispatchConfig.registrationName&&accumulateDispatches(event._targetInst,0,event)}function accumulateTwoPhaseDispatches(events){forEachAccumulated(events,accumulateTwoPhaseDispatchesSingle)}function accumulateEnterLeaveDispatches(leave,enter,from,to){traverseEnterLeave(from,to,accumulateDispatches,leave,enter)}var EventPropagators=Object.freeze({accumulateTwoPhaseDispatches:accumulateTwoPhaseDispatches,accumulateTwoPhaseDispatchesSkipTarget:function(events){forEachAccumulated(events,accumulateTwoPhaseDispatchesSingleSkipTarget)},accumulateEnterLeaveDispatches:accumulateEnterLeaveDispatches,accumulateDirectDispatches:function(events){forEachAccumulated(events,accumulateDirectDispatchesSingle)}}),contentKey=null;function getTextContentAccessor(){return!contentKey&&ExecutionEnvironment.canUseDOM&&(contentKey="textContent"in document.documentElement?"textContent":"innerText"),contentKey}var compositionState={_root:null,_startText:null,_fallbackText:null};function getData(){if(compositionState._fallbackText)return compositionState._fallbackText;var start,end,startValue=compositionState._startText,startLength=startValue.length,endValue=getText(),endLength=endValue.length;for(start=0;start<startLength&&startValue[start]===endValue[start];start++);var minEnd=startLength-start;for(end=1;end<=minEnd&&startValue[startLength-end]===endValue[endLength-end];end++);var sliceTail=end>1?1-end:void 0;return compositionState._fallbackText=endValue.slice(start,sliceTail),compositionState._fallbackText}function getText(){return"value"in compositionState._root?compositionState._root.value:compositionState._root[getTextContentAccessor()]}var didWarnForAddedNewProperty=!1,isProxySupported="function"==typeof Proxy,EVENT_POOL_SIZE=10,shouldBeReleasedProperties=["dispatchConfig","_targetInst","nativeEvent","isDefaultPrevented","isPropagationStopped","_dispatchListeners","_dispatchInstances"],EventInterface={type:null,target:null,currentTarget:emptyFunction.thatReturnsNull,eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(event){return event.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null};function SyntheticEvent(dispatchConfig,targetInst,nativeEvent,nativeEventTarget){delete this.nativeEvent,delete this.preventDefault,delete this.stopPropagation,this.dispatchConfig=dispatchConfig,this._targetInst=targetInst,this.nativeEvent=nativeEvent;var Interface=this.constructor.Interface;for(var propName in Interface)if(Interface.hasOwnProperty(propName)){delete this[propName];var normalize=Interface[propName];normalize?this[propName]=normalize(nativeEvent):"target"===propName?this.target=nativeEventTarget:this[propName]=nativeEvent[propName]}var defaultPrevented=null!=nativeEvent.defaultPrevented?nativeEvent.defaultPrevented:!1===nativeEvent.returnValue;return this.isDefaultPrevented=defaultPrevented?emptyFunction.thatReturnsTrue:emptyFunction.thatReturnsFalse,this.isPropagationStopped=emptyFunction.thatReturnsFalse,this}function getPooledWarningPropertyDefinition(propName,getVal){var isFunction="function"==typeof getVal;return{configurable:!0,set:function(val){return warn(isFunction?"setting the method":"setting the property","This is effectively a no-op"),val},get:function(){return warn(isFunction?"accessing the method":"accessing the property",isFunction?"This is a no-op function":"This is set to null"),getVal}};function warn(action,result){warning(!1,"This synthetic event is reused for performance reasons. If you're seeing this, you're %s `%s` on a released/nullified synthetic event. %s. If you must keep the original synthetic event around, use event.persist(). See https://fb.me/react-event-pooling for more information.",action,propName,result)}}function getPooledEvent(dispatchConfig,targetInst,nativeEvent,nativeInst){if(this.eventPool.length){var instance=this.eventPool.pop();return this.call(instance,dispatchConfig,targetInst,nativeEvent,nativeInst),instance}return new this(dispatchConfig,targetInst,nativeEvent,nativeInst)}function releasePooledEvent(event){event instanceof this||invariant(!1,"Trying to release an event instance  into a pool of a different type."),event.destructor(),this.eventPool.length<EVENT_POOL_SIZE&&this.eventPool.push(event)}function addEventPoolingTo(EventConstructor){EventConstructor.eventPool=[],EventConstructor.getPooled=getPooledEvent,EventConstructor.release=releasePooledEvent}_assign(SyntheticEvent.prototype,{preventDefault:function(){this.defaultPrevented=!0;var event=this.nativeEvent;event&&(event.preventDefault?event.preventDefault():"unknown"!=typeof event.returnValue&&(event.returnValue=!1),this.isDefaultPrevented=emptyFunction.thatReturnsTrue)},stopPropagation:function(){var event=this.nativeEvent;event&&(event.stopPropagation?event.stopPropagation():"unknown"!=typeof event.cancelBubble&&(event.cancelBubble=!0),this.isPropagationStopped=emptyFunction.thatReturnsTrue)},persist:function(){this.isPersistent=emptyFunction.thatReturnsTrue},isPersistent:emptyFunction.thatReturnsFalse,destructor:function(){var Interface=this.constructor.Interface;for(var propName in Interface)Object.defineProperty(this,propName,getPooledWarningPropertyDefinition(propName,Interface[propName]));for(var i=0;i<shouldBeReleasedProperties.length;i++)this[shouldBeReleasedProperties[i]]=null;Object.defineProperty(this,"nativeEvent",getPooledWarningPropertyDefinition("nativeEvent",null)),Object.defineProperty(this,"preventDefault",getPooledWarningPropertyDefinition("preventDefault",emptyFunction)),Object.defineProperty(this,"stopPropagation",getPooledWarningPropertyDefinition("stopPropagation",emptyFunction))}}),SyntheticEvent.Interface=EventInterface,SyntheticEvent.augmentClass=function(Class,Interface){var E=function(){};E.prototype=this.prototype;var prototype=new E;_assign(prototype,Class.prototype),Class.prototype=prototype,Class.prototype.constructor=Class,Class.Interface=_assign({},this.Interface,Interface),Class.augmentClass=this.augmentClass,addEventPoolingTo(Class)},isProxySupported&&(SyntheticEvent=new Proxy(SyntheticEvent,{construct:function(target,args){return this.apply(target,Object.create(target.prototype),args)},apply:function(constructor,that,args){return new Proxy(constructor.apply(that,args),{set:function(target,prop,value){return"isPersistent"===prop||target.constructor.Interface.hasOwnProperty(prop)||-1!==shouldBeReleasedProperties.indexOf(prop)||(warning(didWarnForAddedNewProperty||target.isPersistent(),"This synthetic event is reused for performance reasons. If you're seeing this, you're adding a new property in the synthetic event object. The property is never released. See https://fb.me/react-event-pooling for more information."),didWarnForAddedNewProperty=!0),target[prop]=value,!0}})}})),addEventPoolingTo(SyntheticEvent);var SyntheticEvent$1=SyntheticEvent;function SyntheticCompositionEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticEvent$1.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticEvent$1.augmentClass(SyntheticCompositionEvent,{data:null});function SyntheticInputEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticEvent$1.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticEvent$1.augmentClass(SyntheticInputEvent,{data:null});var END_KEYCODES=[9,13,27,32],START_KEYCODE=229,canUseCompositionEvent=ExecutionEnvironment.canUseDOM&&"CompositionEvent"in window,documentMode=null;ExecutionEnvironment.canUseDOM&&"documentMode"in document&&(documentMode=document.documentMode);var opera,canUseTextInputEvent=ExecutionEnvironment.canUseDOM&&"TextEvent"in window&&!documentMode&&!("object"==typeof(opera=window.opera)&&"function"==typeof opera.version&&parseInt(opera.version(),10)<=12),useFallbackCompositionData=ExecutionEnvironment.canUseDOM&&(!canUseCompositionEvent||documentMode&&documentMode>8&&documentMode<=11);var SPACEBAR_CODE=32,SPACEBAR_CHAR=String.fromCharCode(SPACEBAR_CODE),eventTypes={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["topCompositionEnd","topKeyPress","topTextInput","topPaste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:["topBlur","topCompositionEnd","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:["topBlur","topCompositionStart","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:["topBlur","topCompositionUpdate","topKeyDown","topKeyPress","topKeyUp","topMouseDown"]}},hasSpaceKeypress=!1;function isFallbackCompositionEnd(topLevelType,nativeEvent){switch(topLevelType){case"topKeyUp":return-1!==END_KEYCODES.indexOf(nativeEvent.keyCode);case"topKeyDown":return nativeEvent.keyCode!==START_KEYCODE;case"topKeyPress":case"topMouseDown":case"topBlur":return!0;default:return!1}}function getDataFromCustomEvent(nativeEvent){var detail=nativeEvent.detail;return"object"==typeof detail&&"data"in detail?detail.data:null}var isComposing=!1;function extractCompositionEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget){var eventType,fallbackData;if(canUseCompositionEvent?eventType=function(topLevelType){switch(topLevelType){case"topCompositionStart":return eventTypes.compositionStart;case"topCompositionEnd":return eventTypes.compositionEnd;case"topCompositionUpdate":return eventTypes.compositionUpdate}}(topLevelType):isComposing?isFallbackCompositionEnd(topLevelType,nativeEvent)&&(eventType=eventTypes.compositionEnd):function(topLevelType,nativeEvent){return"topKeyDown"===topLevelType&&nativeEvent.keyCode===START_KEYCODE}(topLevelType,nativeEvent)&&(eventType=eventTypes.compositionStart),!eventType)return null;useFallbackCompositionData&&(isComposing||eventType!==eventTypes.compositionStart?eventType===eventTypes.compositionEnd&&isComposing&&(fallbackData=getData()):isComposing=function(nativeEventTarget){return compositionState._root=nativeEventTarget,compositionState._startText=getText(),!0}(nativeEventTarget));var event=SyntheticCompositionEvent.getPooled(eventType,targetInst,nativeEvent,nativeEventTarget);if(fallbackData)event.data=fallbackData;else{var customData=getDataFromCustomEvent(nativeEvent);null!==customData&&(event.data=customData)}return accumulateTwoPhaseDispatches(event),event}function getFallbackBeforeInputChars(topLevelType,nativeEvent){if(isComposing){if("topCompositionEnd"===topLevelType||!canUseCompositionEvent&&isFallbackCompositionEnd(topLevelType,nativeEvent)){var chars=getData();return compositionState._root=null,compositionState._startText=null,compositionState._fallbackText=null,isComposing=!1,chars}return null}switch(topLevelType){case"topPaste":return null;case"topKeyPress":if(!function(nativeEvent){return(nativeEvent.ctrlKey||nativeEvent.altKey||nativeEvent.metaKey)&&!(nativeEvent.ctrlKey&&nativeEvent.altKey)}(nativeEvent)){if(nativeEvent.char&&nativeEvent.char.length>1)return nativeEvent.char;if(nativeEvent.which)return String.fromCharCode(nativeEvent.which)}return null;case"topCompositionEnd":return useFallbackCompositionData?null:nativeEvent.data;default:return null}}function extractBeforeInputEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget){var chars;if(!(chars=canUseTextInputEvent?function(topLevelType,nativeEvent){switch(topLevelType){case"topCompositionEnd":return getDataFromCustomEvent(nativeEvent);case"topKeyPress":return nativeEvent.which!==SPACEBAR_CODE?null:(hasSpaceKeypress=!0,SPACEBAR_CHAR);case"topTextInput":var chars=nativeEvent.data;return chars===SPACEBAR_CHAR&&hasSpaceKeypress?null:chars;default:return null}}(topLevelType,nativeEvent):getFallbackBeforeInputChars(topLevelType,nativeEvent)))return null;var event=SyntheticInputEvent.getPooled(eventTypes.beforeInput,targetInst,nativeEvent,nativeEventTarget);return event.data=chars,accumulateTwoPhaseDispatches(event),event}var BeforeInputEventPlugin={eventTypes:eventTypes,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){return[extractCompositionEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget),extractBeforeInputEvent(topLevelType,targetInst,nativeEvent,nativeEventTarget)]}},fiberHostComponent=null,restoreTarget=null,restoreQueue=null;function restoreStateOfTarget(target){var internalInstance=getInstanceFromNode(target);if(internalInstance){fiberHostComponent&&"function"==typeof fiberHostComponent.restoreControlledState||invariant(!1,"Fiber needs to be injected to handle a fiber target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var props=getFiberCurrentPropsFromNode(internalInstance.stateNode);fiberHostComponent.restoreControlledState(internalInstance.stateNode,internalInstance.type,props)}}var injection$3={injectFiberControlledHostComponent:function(hostComponentImpl){fiberHostComponent=hostComponentImpl}};function enqueueStateRestore(target){restoreTarget?restoreQueue?restoreQueue.push(target):restoreQueue=[target]:restoreTarget=target}function restoreStateIfNeeded(){if(restoreTarget){var target=restoreTarget,queuedTargets=restoreQueue;if(restoreTarget=null,restoreQueue=null,restoreStateOfTarget(target),queuedTargets)for(var i=0;i<queuedTargets.length;i++)restoreStateOfTarget(queuedTargets[i])}}var ReactControlledComponent=Object.freeze({injection:injection$3,enqueueStateRestore:enqueueStateRestore,restoreStateIfNeeded:restoreStateIfNeeded}),fiberBatchedUpdates=function(fn,bookkeeping){return fn(bookkeeping)},isNestingBatched=!1;function batchedUpdates(fn,bookkeeping){if(isNestingBatched)return fiberBatchedUpdates(fn,bookkeeping);isNestingBatched=!0;try{return fiberBatchedUpdates(fn,bookkeeping)}finally{isNestingBatched=!1,restoreStateIfNeeded()}}var injection$4={injectFiberBatchedUpdates:function(_batchedUpdates){fiberBatchedUpdates=_batchedUpdates}},supportedInputTypes={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function isTextInputElement(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return"input"===nodeName?!!supportedInputTypes[elem.type]:"textarea"===nodeName}var useHasFeature,ELEMENT_NODE=1,TEXT_NODE=3,COMMENT_NODE=8,DOCUMENT_NODE=9,DOCUMENT_FRAGMENT_NODE=11;function getEventTarget(nativeEvent){var target=nativeEvent.target||nativeEvent.srcElement||window;return target.correspondingUseElement&&(target=target.correspondingUseElement),target.nodeType===TEXT_NODE?target.parentNode:target}function isEventSupported(eventNameSuffix,capture){if(!ExecutionEnvironment.canUseDOM||capture&&!("addEventListener"in document))return!1;var eventName="on"+eventNameSuffix,isSupported=eventName in document;if(!isSupported){var element=document.createElement("div");element.setAttribute(eventName,"return;"),isSupported="function"==typeof element[eventName]}return!isSupported&&useHasFeature&&"wheel"===eventNameSuffix&&(isSupported=document.implementation.hasFeature("Events.wheel","3.0")),isSupported}function isCheckable(elem){var type=elem.type,nodeName=elem.nodeName;return nodeName&&"input"===nodeName.toLowerCase()&&("checkbox"===type||"radio"===type)}function getTracker(node){return node._valueTracker}function track(node){getTracker(node)||(node._valueTracker=function(node){var valueField=isCheckable(node)?"checked":"value",descriptor=Object.getOwnPropertyDescriptor(node.constructor.prototype,valueField),currentValue=""+node[valueField];if(!node.hasOwnProperty(valueField)&&"function"==typeof descriptor.get&&"function"==typeof descriptor.set)return Object.defineProperty(node,valueField,{enumerable:descriptor.enumerable,configurable:!0,get:function(){return descriptor.get.call(this)},set:function(value){currentValue=""+value,descriptor.set.call(this,value)}}),{getValue:function(){return currentValue},setValue:function(value){currentValue=""+value},stopTracking:function(){!function(node){node._valueTracker=null}(node),delete node[valueField]}}}(node))}function updateValueIfChanged(node){if(!node)return!1;var tracker=getTracker(node);if(!tracker)return!0;var lastValue=tracker.getValue(),nextValue=function(node){var value="";return node?value=isCheckable(node)?node.checked?"true":"false":node.value:value}(node);return nextValue!==lastValue&&(tracker.setValue(nextValue),!0)}ExecutionEnvironment.canUseDOM&&(useHasFeature=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("",""));var eventTypes$1={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:["topBlur","topChange","topClick","topFocus","topInput","topKeyDown","topKeyUp","topSelectionChange"]}};function createAndAccumulateChangeEvent(inst,nativeEvent,target){var event=SyntheticEvent$1.getPooled(eventTypes$1.change,inst,nativeEvent,target);return event.type="change",enqueueStateRestore(target),accumulateTwoPhaseDispatches(event),event}var activeElement=null,activeElementInst=null;function runEventInBatch(event){enqueueEvents(event),processEventQueue(!1)}function getInstIfValueChanged(targetInst){if(updateValueIfChanged(getNodeFromInstance$1(targetInst)))return targetInst}function getTargetInstForChangeEvent(topLevelType,targetInst){if("topChange"===topLevelType)return targetInst}var isInputEventSupported=!1;function stopWatchingForValueChange(){activeElement&&(activeElement.detachEvent("onpropertychange",handlePropertyChange),activeElement=null,activeElementInst=null)}function handlePropertyChange(nativeEvent){"value"===nativeEvent.propertyName&&getInstIfValueChanged(activeElementInst)&&function(nativeEvent){batchedUpdates(runEventInBatch,createAndAccumulateChangeEvent(activeElementInst,nativeEvent,getEventTarget(nativeEvent)))}(nativeEvent)}function handleEventsForInputEventPolyfill(topLevelType,target,targetInst){"topFocus"===topLevelType?(stopWatchingForValueChange(),function(target,targetInst){activeElementInst=targetInst,(activeElement=target).attachEvent("onpropertychange",handlePropertyChange)}(target,targetInst)):"topBlur"===topLevelType&&stopWatchingForValueChange()}function getTargetInstForInputEventPolyfill(topLevelType,targetInst){if("topSelectionChange"===topLevelType||"topKeyUp"===topLevelType||"topKeyDown"===topLevelType)return getInstIfValueChanged(activeElementInst)}function getTargetInstForClickEvent(topLevelType,targetInst){if("topClick"===topLevelType)return getInstIfValueChanged(targetInst)}function getTargetInstForInputOrChangeEvent(topLevelType,targetInst){if("topInput"===topLevelType||"topChange"===topLevelType)return getInstIfValueChanged(targetInst)}ExecutionEnvironment.canUseDOM&&(isInputEventSupported=isEventSupported("input")&&(!document.documentMode||document.documentMode>9));var ChangeEventPlugin={eventTypes:eventTypes$1,_isInputEventSupported:isInputEventSupported,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var getTargetInstFunc,handleEventFunc,elem,nodeName,targetNode=targetInst?getNodeFromInstance$1(targetInst):window;if("select"===(nodeName=(elem=targetNode).nodeName&&elem.nodeName.toLowerCase())||"input"===nodeName&&"file"===elem.type?getTargetInstFunc=getTargetInstForChangeEvent:isTextInputElement(targetNode)?isInputEventSupported?getTargetInstFunc=getTargetInstForInputOrChangeEvent:(getTargetInstFunc=getTargetInstForInputEventPolyfill,handleEventFunc=handleEventsForInputEventPolyfill):function(elem){var nodeName=elem.nodeName;return nodeName&&"input"===nodeName.toLowerCase()&&("checkbox"===elem.type||"radio"===elem.type)}(targetNode)&&(getTargetInstFunc=getTargetInstForClickEvent),getTargetInstFunc){var inst=getTargetInstFunc(topLevelType,targetInst);if(inst)return createAndAccumulateChangeEvent(inst,nativeEvent,nativeEventTarget)}handleEventFunc&&handleEventFunc(topLevelType,targetNode,targetInst),"topBlur"===topLevelType&&function(inst,node){if(null!=inst){var state=inst._wrapperState||node._wrapperState;if(state&&state.controlled&&"number"===node.type){var value=""+node.value;node.getAttribute("value")!==value&&node.setAttribute("value",value)}}}(targetInst,targetNode)}};function SyntheticUIEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticEvent$1.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticEvent$1.augmentClass(SyntheticUIEvent,{view:null,detail:null});var modifierKeyToProp={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function modifierStateGetter(keyArg){var nativeEvent=this.nativeEvent;if(nativeEvent.getModifierState)return nativeEvent.getModifierState(keyArg);var keyProp=modifierKeyToProp[keyArg];return!!keyProp&&!!nativeEvent[keyProp]}function getEventModifierState(nativeEvent){return modifierStateGetter}var MouseEventInterface={screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:getEventModifierState,button:null,buttons:null,relatedTarget:function(event){return event.relatedTarget||(event.fromElement===event.srcElement?event.toElement:event.fromElement)}};function SyntheticMouseEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticUIEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticUIEvent.augmentClass(SyntheticMouseEvent,MouseEventInterface);var eventTypes$2={mouseEnter:{registrationName:"onMouseEnter",dependencies:["topMouseOut","topMouseOver"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["topMouseOut","topMouseOver"]}},EnterLeaveEventPlugin={eventTypes:eventTypes$2,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){if("topMouseOver"===topLevelType&&(nativeEvent.relatedTarget||nativeEvent.fromElement))return null;if("topMouseOut"!==topLevelType&&"topMouseOver"!==topLevelType)return null;var win,from,to;if(nativeEventTarget.window===nativeEventTarget)win=nativeEventTarget;else{var doc=nativeEventTarget.ownerDocument;win=doc?doc.defaultView||doc.parentWindow:window}if("topMouseOut"===topLevelType){from=targetInst;var related=nativeEvent.relatedTarget||nativeEvent.toElement;to=related?getClosestInstanceFromNode(related):null}else from=null,to=targetInst;if(from===to)return null;var fromNode=null==from?win:getNodeFromInstance$1(from),toNode=null==to?win:getNodeFromInstance$1(to),leave=SyntheticMouseEvent.getPooled(eventTypes$2.mouseLeave,from,nativeEvent,nativeEventTarget);leave.type="mouseleave",leave.target=fromNode,leave.relatedTarget=toNode;var enter=SyntheticMouseEvent.getPooled(eventTypes$2.mouseEnter,to,nativeEvent,nativeEventTarget);return enter.type="mouseenter",enter.target=toNode,enter.relatedTarget=fromNode,accumulateEnterLeaveDispatches(leave,enter,from,to),[leave,enter]}};function get(key){return key._reactInternalFiber}var ReactInternals=React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ReactCurrentOwner=ReactInternals.ReactCurrentOwner,ReactDebugCurrentFrame=ReactInternals.ReactDebugCurrentFrame;function getComponentName(fiber){var type=fiber.type;return"string"==typeof type?type:"function"==typeof type?type.displayName||type.name:null}var NoEffect=0,PerformedWork=1,Placement=2,Update=4,PlacementAndUpdate=6,Deletion=8,ContentReset=16,Callback=32,Err=64,Ref=128,MOUNTING=1,MOUNTED=2,UNMOUNTED=3;function isFiberMountedImpl(fiber){var node=fiber;if(fiber.alternate)for(;node.return;)node=node.return;else{if((node.effectTag&Placement)!==NoEffect)return MOUNTING;for(;node.return;)if(((node=node.return).effectTag&Placement)!==NoEffect)return MOUNTING}return node.tag===HostRoot?MOUNTED:UNMOUNTED}function isFiberMounted(fiber){return isFiberMountedImpl(fiber)===MOUNTED}function isMounted(component){var owner=ReactCurrentOwner.current;if(null!==owner&&owner.tag===ClassComponent){var ownerFiber=owner,instance=ownerFiber.stateNode;warning(instance._warnedAboutRefsInRender,"%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",getComponentName(ownerFiber)||"A component"),instance._warnedAboutRefsInRender=!0}var fiber=get(component);return!!fiber&&isFiberMountedImpl(fiber)===MOUNTED}function assertIsMounted(fiber){isFiberMountedImpl(fiber)!==MOUNTED&&invariant(!1,"Unable to find node on an unmounted component.")}function findCurrentFiberUsingSlowPath(fiber){var alternate=fiber.alternate;if(!alternate){var state=isFiberMountedImpl(fiber);return state===UNMOUNTED&&invariant(!1,"Unable to find node on an unmounted component."),state===MOUNTING?null:fiber}for(var a=fiber,b=alternate;;){var parentA=a.return,parentB=parentA?parentA.alternate:null;if(!parentA||!parentB)break;if(parentA.child===parentB.child){for(var child=parentA.child;child;){if(child===a)return assertIsMounted(parentA),fiber;if(child===b)return assertIsMounted(parentA),alternate;child=child.sibling}invariant(!1,"Unable to find node on an unmounted component.")}if(a.return!==b.return)a=parentA,b=parentB;else{for(var didFindChild=!1,_child=parentA.child;_child;){if(_child===a){didFindChild=!0,a=parentA,b=parentB;break}if(_child===b){didFindChild=!0,b=parentA,a=parentB;break}_child=_child.sibling}if(!didFindChild){for(_child=parentB.child;_child;){if(_child===a){didFindChild=!0,a=parentB,b=parentA;break}if(_child===b){didFindChild=!0,b=parentB,a=parentA;break}_child=_child.sibling}didFindChild||invariant(!1,"Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}a.alternate!==b&&invariant(!1,"Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}return a.tag!==HostRoot&&invariant(!1,"Unable to find node on an unmounted component."),a.stateNode.current===a?fiber:alternate}var CALLBACK_BOOKKEEPING_POOL_SIZE=10,callbackBookkeepingPool=[];function findRootContainerNode(inst){for(;inst.return;)inst=inst.return;return inst.tag!==HostRoot?null:inst.stateNode.containerInfo}function handleTopLevelImpl(bookKeeping){var targetInst=bookKeeping.targetInst,ancestor=targetInst;do{if(!ancestor){bookKeeping.ancestors.push(ancestor);break}var root=findRootContainerNode(ancestor);if(!root)break;bookKeeping.ancestors.push(ancestor),ancestor=getClosestInstanceFromNode(root)}while(ancestor);for(var i=0;i<bookKeeping.ancestors.length;i++)targetInst=bookKeeping.ancestors[i],_handleTopLevel(bookKeeping.topLevelType,targetInst,bookKeeping.nativeEvent,getEventTarget(bookKeeping.nativeEvent))}var _enabled=!0,_handleTopLevel=void 0;function setHandleTopLevel(handleTopLevel){_handleTopLevel=handleTopLevel}function setEnabled(enabled){_enabled=!!enabled}function isEnabled(){return _enabled}function trapBubbledEvent(topLevelType,handlerBaseName,element){return element?EventListener.listen(element,handlerBaseName,dispatchEvent.bind(null,topLevelType)):null}function trapCapturedEvent(topLevelType,handlerBaseName,element){return element?EventListener.capture(element,handlerBaseName,dispatchEvent.bind(null,topLevelType)):null}function dispatchEvent(topLevelType,nativeEvent){if(_enabled){var targetInst=getClosestInstanceFromNode(getEventTarget(nativeEvent));null===targetInst||"number"!=typeof targetInst.tag||isFiberMounted(targetInst)||(targetInst=null);var instance,bookKeeping=function(topLevelType,nativeEvent,targetInst){if(callbackBookkeepingPool.length){var instance=callbackBookkeepingPool.pop();return instance.topLevelType=topLevelType,instance.nativeEvent=nativeEvent,instance.targetInst=targetInst,instance}return{topLevelType:topLevelType,nativeEvent:nativeEvent,targetInst:targetInst,ancestors:[]}}(topLevelType,nativeEvent,targetInst);try{batchedUpdates(handleTopLevelImpl,bookKeeping)}finally{(instance=bookKeeping).topLevelType=null,instance.nativeEvent=null,instance.targetInst=null,instance.ancestors.length=0,callbackBookkeepingPool.length<CALLBACK_BOOKKEEPING_POOL_SIZE&&callbackBookkeepingPool.push(instance)}}}var ReactDOMEventListener=Object.freeze({get _enabled(){return _enabled},get _handleTopLevel(){return _handleTopLevel},setHandleTopLevel:setHandleTopLevel,setEnabled:setEnabled,isEnabled:isEnabled,trapBubbledEvent:trapBubbledEvent,trapCapturedEvent:trapCapturedEvent,dispatchEvent:dispatchEvent});function makePrefixMap(styleProp,eventName){var prefixes={};return prefixes[styleProp.toLowerCase()]=eventName.toLowerCase(),prefixes["Webkit"+styleProp]="webkit"+eventName,prefixes["Moz"+styleProp]="moz"+eventName,prefixes["ms"+styleProp]="MS"+eventName,prefixes["O"+styleProp]="o"+eventName.toLowerCase(),prefixes}var vendorPrefixes={animationend:makePrefixMap("Animation","AnimationEnd"),animationiteration:makePrefixMap("Animation","AnimationIteration"),animationstart:makePrefixMap("Animation","AnimationStart"),transitionend:makePrefixMap("Transition","TransitionEnd")},prefixedEventNames={},style={};function getVendorPrefixedEventName(eventName){if(prefixedEventNames[eventName])return prefixedEventNames[eventName];if(!vendorPrefixes[eventName])return eventName;var prefixMap=vendorPrefixes[eventName];for(var styleProp in prefixMap)if(prefixMap.hasOwnProperty(styleProp)&&styleProp in style)return prefixedEventNames[eventName]=prefixMap[styleProp];return""}ExecutionEnvironment.canUseDOM&&(style=document.createElement("div").style,"AnimationEvent"in window||(delete vendorPrefixes.animationend.animation,delete vendorPrefixes.animationiteration.animation,delete vendorPrefixes.animationstart.animation),"TransitionEvent"in window||delete vendorPrefixes.transitionend.transition);var topLevelTypes={topLevelTypes:{topAbort:"abort",topAnimationEnd:getVendorPrefixedEventName("animationend")||"animationend",topAnimationIteration:getVendorPrefixedEventName("animationiteration")||"animationiteration",topAnimationStart:getVendorPrefixedEventName("animationstart")||"animationstart",topBlur:"blur",topCancel:"cancel",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topChange:"change",topClick:"click",topClose:"close",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",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topFocus:"focus",topInput:"input",topKeyDown:"keydown",topKeyPress:"keypress",topKeyUp:"keyup",topLoadedData:"loadeddata",topLoad:"load",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topMouseDown:"mousedown",topMouseMove:"mousemove",topMouseOut:"mouseout",topMouseOver:"mouseover",topMouseUp:"mouseup",topPaste:"paste",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topScroll:"scroll",topSeeked:"seeked",topSeeking:"seeking",topSelectionChange:"selectionchange",topStalled:"stalled",topSuspend:"suspend",topTextInput:"textInput",topTimeUpdate:"timeupdate",topToggle:"toggle",topTouchCancel:"touchcancel",topTouchEnd:"touchend",topTouchMove:"touchmove",topTouchStart:"touchstart",topTransitionEnd:getVendorPrefixedEventName("transitionend")||"transitionend",topVolumeChange:"volumechange",topWaiting:"waiting",topWheel:"wheel"}}.topLevelTypes,alreadyListeningTo={},reactTopListenersCounter=0,topListenersIDKey="_reactListenersID"+(""+Math.random()).slice(2);function getListeningForDocument(mountAt){return Object.prototype.hasOwnProperty.call(mountAt,topListenersIDKey)||(mountAt[topListenersIDKey]=reactTopListenersCounter++,alreadyListeningTo[mountAt[topListenersIDKey]]={}),alreadyListeningTo[mountAt[topListenersIDKey]]}function getLeafNode(node){for(;node&&node.firstChild;)node=node.firstChild;return node}function getSiblingNode(node){for(;node;){if(node.nextSibling)return node.nextSibling;node=node.parentNode}}function getNodeForCharacterOffset(root,offset){for(var node=getLeafNode(root),nodeStart=0,nodeEnd=0;node;){if(node.nodeType===TEXT_NODE){if(nodeEnd=nodeStart+node.textContent.length,nodeStart<=offset&&nodeEnd>=offset)return{node:node,offset:offset-nodeStart};nodeStart=nodeEnd}node=getLeafNode(getSiblingNode(node))}}function getOffsets(outerNode){var selection=window.getSelection&&window.getSelection();if(!selection||0===selection.rangeCount)return null;var anchorNode=selection.anchorNode,anchorOffset=selection.anchorOffset,focusNode$$1=selection.focusNode,focusOffset=selection.focusOffset;try{anchorNode.nodeType,focusNode$$1.nodeType}catch(e){return null}return function(outerNode,anchorNode,anchorOffset,focusNode$$1,focusOffset){var length=0,start=-1,end=-1,indexWithinAnchor=0,indexWithinFocus=0,node=outerNode,parentNode=null;outer:for(;;){for(var next=null;node!==anchorNode||0!==anchorOffset&&node.nodeType!==TEXT_NODE||(start=length+anchorOffset),node!==focusNode$$1||0!==focusOffset&&node.nodeType!==TEXT_NODE||(end=length+focusOffset),node.nodeType===TEXT_NODE&&(length+=node.nodeValue.length),null!==(next=node.firstChild);)parentNode=node,node=next;for(;;){if(node===outerNode)break outer;if(parentNode===anchorNode&&++indexWithinAnchor===anchorOffset&&(start=length),parentNode===focusNode$$1&&++indexWithinFocus===focusOffset&&(end=length),null!==(next=node.nextSibling))break;parentNode=(node=parentNode).parentNode}node=next}if(-1===start||-1===end)return null;return{start:start,end:end}}(outerNode,anchorNode,anchorOffset,focusNode$$1,focusOffset)}function hasSelectionCapabilities(elem){var nodeName=elem&&elem.nodeName&&elem.nodeName.toLowerCase();return nodeName&&("input"===nodeName&&"text"===elem.type||"textarea"===nodeName||"true"===elem.contentEditable)}function getSelectionInformation(){var focusedElem=getActiveElement();return{focusedElem:focusedElem,selectionRange:hasSelectionCapabilities(focusedElem)?function(input){var selection=void 0;selection="selectionStart"in input?{start:input.selectionStart,end:input.selectionEnd}:getOffsets(input);return selection||{start:0,end:0}}(focusedElem):null}}function restoreSelection(priorSelectionInformation){var node,curFocusedElem=getActiveElement(),priorFocusedElem=priorSelectionInformation.focusedElem,priorSelectionRange=priorSelectionInformation.selectionRange;if(curFocusedElem!==priorFocusedElem&&(node=priorFocusedElem,containsNode(document.documentElement,node))){hasSelectionCapabilities(priorFocusedElem)&&function(input,offsets){var start=offsets.start,end=offsets.end;void 0===end&&(end=start);"selectionStart"in input?(input.selectionStart=start,input.selectionEnd=Math.min(end,input.value.length)):function(node,offsets){if(window.getSelection){var selection=window.getSelection(),length=node[getTextContentAccessor()].length,start=Math.min(offsets.start,length),end=void 0===offsets.end?start:Math.min(offsets.end,length);if(!selection.extend&&start>end){var temp=end;end=start,start=temp}var startMarker=getNodeForCharacterOffset(node,start),endMarker=getNodeForCharacterOffset(node,end);if(startMarker&&endMarker){if(1===selection.rangeCount&&selection.anchorNode===startMarker.node&&selection.anchorOffset===startMarker.offset&&selection.focusNode===endMarker.node&&selection.focusOffset===endMarker.offset)return;var range=document.createRange();range.setStart(startMarker.node,startMarker.offset),selection.removeAllRanges(),start>end?(selection.addRange(range),selection.extend(endMarker.node,endMarker.offset)):(range.setEnd(endMarker.node,endMarker.offset),selection.addRange(range))}}}(input,offsets)}(priorFocusedElem,priorSelectionRange);for(var ancestors=[],ancestor=priorFocusedElem;ancestor=ancestor.parentNode;)ancestor.nodeType===ELEMENT_NODE&&ancestors.push({element:ancestor,left:ancestor.scrollLeft,top:ancestor.scrollTop});focusNode(priorFocusedElem);for(var i=0;i<ancestors.length;i++){var info=ancestors[i];info.element.scrollLeft=info.left,info.element.scrollTop=info.top}}}var skipSelectionChangeEvent=ExecutionEnvironment.canUseDOM&&"documentMode"in document&&document.documentMode<=11,eventTypes$3={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:["topBlur","topContextMenu","topFocus","topKeyDown","topKeyUp","topMouseDown","topMouseUp","topSelectionChange"]}},activeElement$1=null,activeElementInst$1=null,lastSelection=null,mouseDown=!1;function constructSelectEvent(nativeEvent,nativeEventTarget){if(mouseDown||null==activeElement$1||activeElement$1!==getActiveElement())return null;var currentSelection=function(node){if("selectionStart"in node&&hasSelectionCapabilities(node))return{start:node.selectionStart,end:node.selectionEnd};if(window.getSelection){var selection=window.getSelection();return{anchorNode:selection.anchorNode,anchorOffset:selection.anchorOffset,focusNode:selection.focusNode,focusOffset:selection.focusOffset}}}(activeElement$1);if(!lastSelection||!shallowEqual(lastSelection,currentSelection)){lastSelection=currentSelection;var syntheticEvent=SyntheticEvent$1.getPooled(eventTypes$3.select,activeElementInst$1,nativeEvent,nativeEventTarget);return syntheticEvent.type="select",syntheticEvent.target=activeElement$1,accumulateTwoPhaseDispatches(syntheticEvent),syntheticEvent}return null}var SelectEventPlugin={eventTypes:eventTypes$3,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var doc=nativeEventTarget.window===nativeEventTarget?nativeEventTarget.document:nativeEventTarget.nodeType===DOCUMENT_NODE?nativeEventTarget:nativeEventTarget.ownerDocument;if(!doc||!function(registrationName,mountAt){for(var isListening=getListeningForDocument(mountAt),dependencies=registrationNameDependencies[registrationName],i=0;i<dependencies.length;i++){var dependency=dependencies[i];if(!isListening.hasOwnProperty(dependency)||!isListening[dependency])return!1}return!0}("onSelect",doc))return null;var targetNode=targetInst?getNodeFromInstance$1(targetInst):window;switch(topLevelType){case"topFocus":(isTextInputElement(targetNode)||"true"===targetNode.contentEditable)&&(activeElement$1=targetNode,activeElementInst$1=targetInst,lastSelection=null);break;case"topBlur":activeElement$1=null,activeElementInst$1=null,lastSelection=null;break;case"topMouseDown":mouseDown=!0;break;case"topContextMenu":case"topMouseUp":return mouseDown=!1,constructSelectEvent(nativeEvent,nativeEventTarget);case"topSelectionChange":if(skipSelectionChangeEvent)break;case"topKeyDown":case"topKeyUp":return constructSelectEvent(nativeEvent,nativeEventTarget)}return null}};function SyntheticAnimationEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticEvent$1.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticEvent$1.augmentClass(SyntheticAnimationEvent,{animationName:null,elapsedTime:null,pseudoElement:null});var ClipboardEventInterface={clipboardData:function(event){return"clipboardData"in event?event.clipboardData:window.clipboardData}};function SyntheticClipboardEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticEvent$1.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticEvent$1.augmentClass(SyntheticClipboardEvent,ClipboardEventInterface);function SyntheticFocusEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticUIEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}function getEventCharCode(nativeEvent){var charCode,keyCode=nativeEvent.keyCode;return"charCode"in nativeEvent?0===(charCode=nativeEvent.charCode)&&13===keyCode&&(charCode=13):charCode=keyCode,charCode>=32||13===charCode?charCode:0}SyntheticUIEvent.augmentClass(SyntheticFocusEvent,{relatedTarget:null});var normalizeKey={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},translateToKey={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"};var KeyboardEventInterface={key:function(nativeEvent){if(nativeEvent.key){var key=normalizeKey[nativeEvent.key]||nativeEvent.key;if("Unidentified"!==key)return key}if("keypress"===nativeEvent.type){var charCode=getEventCharCode(nativeEvent);return 13===charCode?"Enter":String.fromCharCode(charCode)}return"keydown"===nativeEvent.type||"keyup"===nativeEvent.type?translateToKey[nativeEvent.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:getEventModifierState,charCode:function(event){return"keypress"===event.type?getEventCharCode(event):0},keyCode:function(event){return"keydown"===event.type||"keyup"===event.type?event.keyCode:0},which:function(event){return"keypress"===event.type?getEventCharCode(event):"keydown"===event.type||"keyup"===event.type?event.keyCode:0}};function SyntheticKeyboardEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticUIEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticUIEvent.augmentClass(SyntheticKeyboardEvent,KeyboardEventInterface);function SyntheticDragEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticMouseEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticMouseEvent.augmentClass(SyntheticDragEvent,{dataTransfer:null});var TouchEventInterface={touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:getEventModifierState};function SyntheticTouchEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticUIEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticUIEvent.augmentClass(SyntheticTouchEvent,TouchEventInterface);function SyntheticTransitionEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticEvent$1.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticEvent$1.augmentClass(SyntheticTransitionEvent,{propertyName:null,elapsedTime:null,pseudoElement:null});function SyntheticWheelEvent(dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget){return SyntheticMouseEvent.call(this,dispatchConfig,dispatchMarker,nativeEvent,nativeEventTarget)}SyntheticMouseEvent.augmentClass(SyntheticWheelEvent,{deltaX:function(event){return"deltaX"in event?event.deltaX:"wheelDeltaX"in event?-event.wheelDeltaX:0},deltaY:function(event){return"deltaY"in event?event.deltaY:"wheelDeltaY"in event?-event.wheelDeltaY:"wheelDelta"in event?-event.wheelDelta:0},deltaZ:null,deltaMode:null});var eventTypes$4={},topLevelEventsToDispatchConfig={};["abort","animationEnd","animationIteration","animationStart","blur","cancel","canPlay","canPlayThrough","click","close","contextMenu","copy","cut","doubleClick","drag","dragEnd","dragEnter","dragExit","dragLeave","dragOver","dragStart","drop","durationChange","emptied","encrypted","ended","error","focus","input","invalid","keyDown","keyPress","keyUp","load","loadedData","loadedMetadata","loadStart","mouseDown","mouseMove","mouseOut","mouseOver","mouseUp","paste","pause","play","playing","progress","rateChange","reset","scroll","seeked","seeking","stalled","submit","suspend","timeUpdate","toggle","touchCancel","touchEnd","touchMove","touchStart","transitionEnd","volumeChange","waiting","wheel"].forEach(function(event){var capitalizedEvent=event[0].toUpperCase()+event.slice(1),onEvent="on"+capitalizedEvent,topEvent="top"+capitalizedEvent,type={phasedRegistrationNames:{bubbled:onEvent,captured:onEvent+"Capture"},dependencies:[topEvent]};eventTypes$4[event]=type,topLevelEventsToDispatchConfig[topEvent]=type});var knownHTMLTopLevelTypes=["topAbort","topCancel","topCanPlay","topCanPlayThrough","topClose","topDurationChange","topEmptied","topEncrypted","topEnded","topError","topInput","topInvalid","topLoad","topLoadedData","topLoadedMetadata","topLoadStart","topPause","topPlay","topPlaying","topProgress","topRateChange","topReset","topSeeked","topSeeking","topStalled","topSubmit","topSuspend","topTimeUpdate","topToggle","topVolumeChange","topWaiting"],SimpleEventPlugin={eventTypes:eventTypes$4,extractEvents:function(topLevelType,targetInst,nativeEvent,nativeEventTarget){var EventConstructor,dispatchConfig=topLevelEventsToDispatchConfig[topLevelType];if(!dispatchConfig)return null;switch(topLevelType){case"topKeyPress":if(0===getEventCharCode(nativeEvent))return null;case"topKeyDown":case"topKeyUp":EventConstructor=SyntheticKeyboardEvent;break;case"topBlur":case"topFocus":EventConstructor=SyntheticFocusEvent;break;case"topClick":if(2===nativeEvent.button)return null;case"topDoubleClick":case"topMouseDown":case"topMouseMove":case"topMouseUp":case"topMouseOut":case"topMouseOver":case"topContextMenu":EventConstructor=SyntheticMouseEvent;break;case"topDrag":case"topDragEnd":case"topDragEnter":case"topDragExit":case"topDragLeave":case"topDragOver":case"topDragStart":case"topDrop":EventConstructor=SyntheticDragEvent;break;case"topTouchCancel":case"topTouchEnd":case"topTouchMove":case"topTouchStart":EventConstructor=SyntheticTouchEvent;break;case"topAnimationEnd":case"topAnimationIteration":case"topAnimationStart":EventConstructor=SyntheticAnimationEvent;break;case"topTransitionEnd":EventConstructor=SyntheticTransitionEvent;break;case"topScroll":EventConstructor=SyntheticUIEvent;break;case"topWheel":EventConstructor=SyntheticWheelEvent;break;case"topCopy":case"topCut":case"topPaste":EventConstructor=SyntheticClipboardEvent;break;default:-1===knownHTMLTopLevelTypes.indexOf(topLevelType)&&warning(!1,"SimpleEventPlugin: Unhandled event type, `%s`. This warning is likely caused by a bug in React. Please file an issue.",topLevelType),EventConstructor=SyntheticEvent$1}var event=EventConstructor.getPooled(dispatchConfig,targetInst,nativeEvent,nativeEventTarget);return accumulateTwoPhaseDispatches(event),event}};setHandleTopLevel(function(topLevelType,targetInst,nativeEvent,nativeEventTarget){!function(events){enqueueEvents(events),processEventQueue(!1)}(extractEvents(topLevelType,targetInst,nativeEvent,nativeEventTarget))}),injection$1.injectEventPluginOrder(["ResponderEventPlugin","SimpleEventPlugin","TapEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin"]),injection$__injectComponentTree(ReactDOMComponentTree),injection$1.injectEventPluginsByName({SimpleEventPlugin:SimpleEventPlugin,EnterLeaveEventPlugin:EnterLeaveEventPlugin,ChangeEventPlugin:ChangeEventPlugin,SelectEventPlugin:SelectEventPlugin,BeforeInputEventPlugin:BeforeInputEventPlugin});var enableAsyncSubtreeAPI=!0,enableUserTimingAPI=!0,enableMutatingReconciler=!0,enablePersistentReconciler=!1,debugRenderPhaseSideEffects=!1,valueStack=[],fiberStack=[],index=-1;function createCursor(defaultValue){return{current:defaultValue}}function pop(cursor,fiber){index<0?warning(!1,"Unexpected pop."):(fiber!==fiberStack[index]&&warning(!1,"Unexpected Fiber popped."),cursor.current=valueStack[index],valueStack[index]=null,fiberStack[index]=null,index--)}function push(cursor,value,fiber){valueStack[++index]=cursor.current,fiberStack[index]=fiber,cursor.current=value}var describeComponentFrame=function(name,source,ownerName){return"\n    in "+(name||"Unknown")+(source?" (at "+source.fileName.replace(/^.*[\\\/]/,"")+":"+source.lineNumber+")":ownerName?" (created by "+ownerName+")":"")};function describeFiber(fiber){switch(fiber.tag){case IndeterminateComponent:case FunctionalComponent:case ClassComponent:case HostComponent:var owner=fiber._debugOwner,source=fiber._debugSource,name=getComponentName(fiber),ownerName=null;return owner&&(ownerName=getComponentName(owner)),describeComponentFrame(name,source,ownerName);default:return""}}function getStackAddendumByWorkInProgressFiber(workInProgress){var info="",node=workInProgress;do{info+=describeFiber(node),node=node.return}while(node);return info}function getCurrentFiberStackAddendum(){var fiber=ReactDebugCurrentFiber.current;return null===fiber?null:getStackAddendumByWorkInProgressFiber(fiber)}var ReactDebugCurrentFiber={current:null,phase:null,resetCurrentFiber:function(){ReactDebugCurrentFrame.getCurrentStack=null,ReactDebugCurrentFiber.current=null,ReactDebugCurrentFiber.phase=null},setCurrentFiber:function(fiber){ReactDebugCurrentFrame.getCurrentStack=getCurrentFiberStackAddendum,ReactDebugCurrentFiber.current=fiber,ReactDebugCurrentFiber.phase=null},setCurrentPhase:function(phase){ReactDebugCurrentFiber.phase=phase},getCurrentFiberOwnerName:function(){var fiber=ReactDebugCurrentFiber.current;if(null===fiber)return null;var owner=fiber._debugOwner;return null!==owner&&void 0!==owner?getComponentName(owner):null},getCurrentFiberStackAddendum:getCurrentFiberStackAddendum},supportsUserTiming="undefined"!=typeof performance&&"function"==typeof performance.mark&&"function"==typeof performance.clearMarks&&"function"==typeof performance.measure&&"function"==typeof performance.clearMeasures,currentFiber=null,currentPhase=null,currentPhaseFiber=null,isCommitting=!1,hasScheduledUpdateInCurrentCommit=!1,hasScheduledUpdateInCurrentPhase=!1,commitCountInCurrentWorkLoop=0,effectCountInCurrentCommit=0,isWaitingForCallback=!1,labelsInCurrentCommit=new Set,formatMarkName=function(markName){return"⚛ "+markName},beginMark=function(markName){performance.mark(formatMarkName(markName))},endMark=function(label,markName,warning$$1){var formattedMarkName=formatMarkName(markName),formattedLabel=function(label,warning$$1){return(warning$$1?"⛔ ":"⚛ ")+label+(warning$$1?" Warning: "+warning$$1:"")}(label,warning$$1);try{performance.measure(formattedLabel,formattedMarkName)}catch(err){}performance.clearMarks(formattedMarkName),performance.clearMeasures(formattedLabel)},getFiberMarkName=function(label,debugID){return label+" (#"+debugID+")"},getFiberLabel=function(componentName,isMounted,phase){return null===phase?componentName+" ["+(isMounted?"update":"mount")+"]":componentName+"."+phase},beginFiberMark=function(fiber,phase){var componentName=getComponentName(fiber)||"Unknown",debugID=fiber._debugID,isMounted=null!==fiber.alternate,label=getFiberLabel(componentName,isMounted,phase);if(isCommitting&&labelsInCurrentCommit.has(label))return!1;labelsInCurrentCommit.add(label);var markName=getFiberMarkName(label,debugID);return beginMark(markName),!0},clearFiberMark=function(fiber,phase){var componentName=getComponentName(fiber)||"Unknown",debugID=fiber._debugID,isMounted=null!==fiber.alternate,label=getFiberLabel(componentName,isMounted,phase);!function(markName){performance.clearMarks(formatMarkName(markName))}(getFiberMarkName(label,debugID))},endFiberMark=function(fiber,phase,warning$$1){var componentName=getComponentName(fiber)||"Unknown",debugID=fiber._debugID,isMounted=null!==fiber.alternate,label=getFiberLabel(componentName,isMounted,phase),markName=getFiberMarkName(label,debugID);endMark(label,markName,warning$$1)},shouldIgnoreFiber=function(fiber){switch(fiber.tag){case HostRoot:case HostComponent:case HostText:case HostPortal:case ReturnComponent:case Fragment:return!0;default:return!1}},clearPendingPhaseMeasurement=function(){null!==currentPhase&&null!==currentPhaseFiber&&clearFiberMark(currentPhaseFiber,currentPhase),currentPhaseFiber=null,currentPhase=null,hasScheduledUpdateInCurrentPhase=!1},pauseTimers=function(){for(var fiber=currentFiber;fiber;)fiber._debugIsCurrentlyTiming&&endFiberMark(fiber,null,null),fiber=fiber.return},resumeTimersRecursively=function(fiber){null!==fiber.return&&resumeTimersRecursively(fiber.return),fiber._debugIsCurrentlyTiming&&beginFiberMark(fiber,null)},resumeTimers=function(){null!==currentFiber&&resumeTimersRecursively(currentFiber)};function recordEffect(){enableUserTimingAPI&&effectCountInCurrentCommit++}function recordScheduleUpdate(){enableUserTimingAPI&&(isCommitting&&(hasScheduledUpdateInCurrentCommit=!0),null!==currentPhase&&"componentWillMount"!==currentPhase&&"componentWillReceiveProps"!==currentPhase&&(hasScheduledUpdateInCurrentPhase=!0))}function startWorkTimer(fiber){if(enableUserTimingAPI){if(!supportsUserTiming||shouldIgnoreFiber(fiber))return;if(currentFiber=fiber,!beginFiberMark(fiber,null))return;fiber._debugIsCurrentlyTiming=!0}}function cancelWorkTimer(fiber){if(enableUserTimingAPI){if(!supportsUserTiming||shouldIgnoreFiber(fiber))return;fiber._debugIsCurrentlyTiming=!1,clearFiberMark(fiber,null)}}function stopWorkTimer(fiber){if(enableUserTimingAPI){if(!supportsUserTiming||shouldIgnoreFiber(fiber))return;if(currentFiber=fiber.return,!fiber._debugIsCurrentlyTiming)return;fiber._debugIsCurrentlyTiming=!1,endFiberMark(fiber,null,null)}}function stopFailedWorkTimer(fiber){if(enableUserTimingAPI){if(!supportsUserTiming||shouldIgnoreFiber(fiber))return;if(currentFiber=fiber.return,!fiber._debugIsCurrentlyTiming)return;fiber._debugIsCurrentlyTiming=!1;endFiberMark(fiber,null,"An error was thrown inside this error boundary")}}function startPhaseTimer(fiber,phase){if(enableUserTimingAPI){if(!supportsUserTiming)return;if(clearPendingPhaseMeasurement(),!beginFiberMark(fiber,phase))return;currentPhaseFiber=fiber,currentPhase=phase}}function stopPhaseTimer(){if(enableUserTimingAPI){if(!supportsUserTiming)return;if(null!==currentPhase&&null!==currentPhaseFiber)endFiberMark(currentPhaseFiber,currentPhase,hasScheduledUpdateInCurrentPhase?"Scheduled a cascading update":null);currentPhase=null,currentPhaseFiber=null}}function startCommitTimer(){if(enableUserTimingAPI){if(!supportsUserTiming)return;isCommitting=!0,hasScheduledUpdateInCurrentCommit=!1,labelsInCurrentCommit.clear(),beginMark("(Committing Changes)")}}function stopCommitTimer(){if(enableUserTimingAPI){if(!supportsUserTiming)return;var warning$$1=null;hasScheduledUpdateInCurrentCommit?warning$$1="Lifecycle hook scheduled a cascading update":commitCountInCurrentWorkLoop>0&&(warning$$1="Caused by a cascading update in earlier commit"),hasScheduledUpdateInCurrentCommit=!1,commitCountInCurrentWorkLoop++,isCommitting=!1,labelsInCurrentCommit.clear(),endMark("(Committing Changes)","(Committing Changes)",warning$$1)}}var warnedAboutMissingGetChildContext={},contextStackCursor=createCursor(emptyObject),didPerformWorkStackCursor=createCursor(!1),previousContext=emptyObject;function getUnmaskedContext(workInProgress){return isContextProvider(workInProgress)?previousContext:contextStackCursor.current}function cacheContext(workInProgress,unmaskedContext,maskedContext){var instance=workInProgress.stateNode;instance.__reactInternalMemoizedUnmaskedChildContext=unmaskedContext,instance.__reactInternalMemoizedMaskedChildContext=maskedContext}function getMaskedContext(workInProgress,unmaskedContext){var contextTypes=workInProgress.type.contextTypes;if(!contextTypes)return emptyObject;var instance=workInProgress.stateNode;if(instance&&instance.__reactInternalMemoizedUnmaskedChildContext===unmaskedContext)return instance.__reactInternalMemoizedMaskedChildContext;var context={};for(var key in contextTypes)context[key]=unmaskedContext[key];var name=getComponentName(workInProgress)||"Unknown";return checkPropTypes(contextTypes,context,"context",name,ReactDebugCurrentFiber.getCurrentFiberStackAddendum),instance&&cacheContext(workInProgress,unmaskedContext,context),context}function hasContextChanged(){return didPerformWorkStackCursor.current}function isContextProvider(fiber){return fiber.tag===ClassComponent&&null!=fiber.type.childContextTypes}function popContextProvider(fiber){isContextProvider(fiber)&&(pop(didPerformWorkStackCursor,fiber),pop(contextStackCursor,fiber))}function pushTopLevelContextObject(fiber,context,didChange){null!=contextStackCursor.cursor&&invariant(!1,"Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue."),push(contextStackCursor,context,fiber),push(didPerformWorkStackCursor,didChange,fiber)}function processChildContext(fiber,parentContext){var instance=fiber.stateNode,childContextTypes=fiber.type.childContextTypes;if("function"!=typeof instance.getChildContext){var componentName=getComponentName(fiber)||"Unknown";return warnedAboutMissingGetChildContext[componentName]||(warnedAboutMissingGetChildContext[componentName]=!0,warning(!1,"%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",componentName,componentName)),parentContext}var childContext;for(var contextKey in ReactDebugCurrentFiber.setCurrentPhase("getChildContext"),startPhaseTimer(fiber,"getChildContext"),childContext=instance.getChildContext(),stopPhaseTimer(),ReactDebugCurrentFiber.setCurrentPhase(null),childContext)contextKey in childContextTypes||invariant(!1,'%s.getChildContext(): key "%s" is not defined in childContextTypes.',getComponentName(fiber)||"Unknown",contextKey);var name=getComponentName(fiber)||"Unknown";return checkPropTypes(childContextTypes,childContext,"child context",name,ReactDebugCurrentFiber.getCurrentFiberStackAddendum),_assign({},parentContext,childContext)}function pushContextProvider(workInProgress){if(!isContextProvider(workInProgress))return!1;var instance=workInProgress.stateNode,memoizedMergedChildContext=instance&&instance.__reactInternalMemoizedMergedChildContext||emptyObject;return previousContext=contextStackCursor.current,push(contextStackCursor,memoizedMergedChildContext,workInProgress),push(didPerformWorkStackCursor,didPerformWorkStackCursor.current,workInProgress),!0}function invalidateContextProvider(workInProgress,didChange){var instance=workInProgress.stateNode;if(instance||invariant(!1,"Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue."),didChange){var mergedContext=processChildContext(workInProgress,previousContext);instance.__reactInternalMemoizedMergedChildContext=mergedContext,pop(didPerformWorkStackCursor,workInProgress),pop(contextStackCursor,workInProgress),push(contextStackCursor,mergedContext,workInProgress),push(didPerformWorkStackCursor,didChange,workInProgress)}else pop(didPerformWorkStackCursor,workInProgress),push(didPerformWorkStackCursor,didChange,workInProgress)}var NoWork=0,Sync=1,Never=2147483647,UNIT_SIZE=10,MAGIC_NUMBER_OFFSET=2;function msToExpirationTime(ms){return(ms/UNIT_SIZE|0)+MAGIC_NUMBER_OFFSET}var NoContext=0,AsyncUpdates=1,hasBadMapPolyfill=!1;try{Object.preventExtensions({})}catch(e){hasBadMapPolyfill=!0}var debugCounter=1;var createFiber=function(tag,key,internalContextTag){return new function(tag,key,internalContextTag){this.tag=tag,this.key=key,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=null,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.internalContextTag=internalContextTag,this.effectTag=NoEffect,this.nextEffect=null,this.firstEffect=null,this.lastEffect=null,this.expirationTime=NoWork,this.alternate=null,this._debugID=debugCounter++,this._debugSource=null,this._debugOwner=null,this._debugIsCurrentlyTiming=!1,hasBadMapPolyfill||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}(tag,key,internalContextTag)};function createWorkInProgress(current,pendingProps,expirationTime){var workInProgress=current.alternate;return null===workInProgress?((workInProgress=createFiber(current.tag,current.key,current.internalContextTag)).type=current.type,workInProgress.stateNode=current.stateNode,workInProgress._debugID=current._debugID,workInProgress._debugSource=current._debugSource,workInProgress._debugOwner=current._debugOwner,workInProgress.alternate=current,current.alternate=workInProgress):(workInProgress.effectTag=NoEffect,workInProgress.nextEffect=null,workInProgress.firstEffect=null,workInProgress.lastEffect=null),workInProgress.expirationTime=expirationTime,workInProgress.pendingProps=pendingProps,workInProgress.child=current.child,workInProgress.memoizedProps=current.memoizedProps,workInProgress.memoizedState=current.memoizedState,workInProgress.updateQueue=current.updateQueue,workInProgress.sibling=current.sibling,workInProgress.index=current.index,workInProgress.ref=current.ref,workInProgress}function createFiberFromElement(element,internalContextTag,expirationTime){var owner;owner=element._owner;var Component,fiber=void 0,type=element.type,key=element.key;if("function"==typeof type)(fiber=(Component=type).prototype&&Component.prototype.isReactComponent?createFiber(ClassComponent,key,internalContextTag):createFiber(IndeterminateComponent,key,internalContextTag)).type=type,fiber.pendingProps=element.props;else if("string"==typeof type)(fiber=createFiber(HostComponent,key,internalContextTag)).type=type,fiber.pendingProps=element.props;else if("object"==typeof type&&null!==type&&"number"==typeof type.tag)(fiber=type).pendingProps=element.props;else{var info="";(void 0===type||"object"==typeof type&&null!==type&&0===Object.keys(type).length)&&(info+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ownerName=owner?getComponentName(owner):null;ownerName&&(info+="\n\nCheck the render method of `"+ownerName+"`."),invariant(!1,"Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==type?type:typeof type,info)}return fiber._debugSource=element._source,fiber._debugOwner=element._owner,fiber.expirationTime=expirationTime,fiber}function createFiberFromFragment(elements,internalContextTag,expirationTime,key){var fiber=createFiber(Fragment,key,internalContextTag);return fiber.pendingProps=elements,fiber.expirationTime=expirationTime,fiber}function createFiberFromText(content,internalContextTag,expirationTime){var fiber=createFiber(HostText,null,internalContextTag);return fiber.pendingProps=content,fiber.expirationTime=expirationTime,fiber}function createFiberFromCall(call,internalContextTag,expirationTime){var fiber=createFiber(CallComponent,call.key,internalContextTag);return fiber.type=call.handler,fiber.pendingProps=call,fiber.expirationTime=expirationTime,fiber}function createFiberFromReturn(returnNode,internalContextTag,expirationTime){var fiber=createFiber(ReturnComponent,null,internalContextTag);return fiber.expirationTime=expirationTime,fiber}function createFiberFromPortal(portal,internalContextTag,expirationTime){var fiber=createFiber(HostPortal,portal.key,internalContextTag);return fiber.pendingProps=portal.children||[],fiber.expirationTime=expirationTime,fiber.stateNode={containerInfo:portal.containerInfo,pendingChildren:null,implementation:portal.implementation},fiber}function createFiberRoot(containerInfo,hydrate){var uninitializedFiber=createFiber(HostRoot,null,NoContext),root={current:uninitializedFiber,containerInfo:containerInfo,pendingChildren:null,remainingExpirationTime:NoWork,isReadyForCommit:!1,finishedWork:null,context:null,pendingContext:null,hydrate:hydrate,nextScheduledRoot:null};return uninitializedFiber.stateNode=root,root}var onCommitFiberRoot=null,onCommitFiberUnmount=null,hasLoggedError=!1;function catchErrors(fn){return function(arg){try{return fn(arg)}catch(err){hasLoggedError||(hasLoggedError=!0,warning(!1,"React DevTools encountered an error: %s",err))}}}function onCommitRoot(root){"function"==typeof onCommitFiberRoot&&onCommitFiberRoot(root)}function onCommitUnmount(fiber){"function"==typeof onCommitFiberUnmount&&onCommitFiberUnmount(fiber)}var didWarnUpdateInsideUpdate=!1;function createUpdateQueue(baseState){var queue={baseState:baseState,expirationTime:NoWork,first:null,last:null,callbackList:null,hasForceUpdate:!1,isInitialized:!1,isProcessing:!1};return queue}function insertUpdateIntoQueue(queue,update){null===queue.last?queue.first=queue.last=update:(queue.last.next=update,queue.last=update),(queue.expirationTime===NoWork||queue.expirationTime>update.expirationTime)&&(queue.expirationTime=update.expirationTime)}function insertUpdateIntoFiber(fiber,update){var alternateFiber=fiber.alternate,queue1=fiber.updateQueue;null===queue1&&(queue1=fiber.updateQueue=createUpdateQueue(null));var queue2=void 0;if(null!==alternateFiber?null===(queue2=alternateFiber.updateQueue)&&(queue2=alternateFiber.updateQueue=createUpdateQueue(null)):queue2=null,queue2=queue2!==queue1?queue2:null,(queue1.isProcessing||null!==queue2&&queue2.isProcessing)&&!didWarnUpdateInsideUpdate&&(warning(!1,"An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),didWarnUpdateInsideUpdate=!0),null!==queue2){if(null===queue1.last||null===queue2.last)return insertUpdateIntoQueue(queue1,update),void insertUpdateIntoQueue(queue2,update);insertUpdateIntoQueue(queue1,update),queue2.last=update}else insertUpdateIntoQueue(queue1,update)}function getStateFromUpdate(update,instance,prevState,props){var partialState=update.partialState;if("function"==typeof partialState){var updateFn=partialState;return debugRenderPhaseSideEffects&&updateFn.call(instance,prevState,props),updateFn.call(instance,prevState,props)}return partialState}function processUpdateQueue(current,workInProgress,queue,instance,props,renderExpirationTime){if(null!==current&&current.updateQueue===queue){var currentQueue=queue;queue=workInProgress.updateQueue={baseState:currentQueue.baseState,expirationTime:currentQueue.expirationTime,first:currentQueue.first,last:currentQueue.last,isInitialized:currentQueue.isInitialized,callbackList:null,hasForceUpdate:!1}}queue.isProcessing=!0,queue.expirationTime=NoWork;var state=void 0;queue.isInitialized?state=queue.baseState:(state=queue.baseState=workInProgress.memoizedState,queue.isInitialized=!0);for(var dontMutatePrevState=!0,update=queue.first,didSkip=!1;null!==update;){var updateExpirationTime=update.expirationTime;if(updateExpirationTime>renderExpirationTime){var remainingExpirationTime=queue.expirationTime;(remainingExpirationTime===NoWork||remainingExpirationTime>updateExpirationTime)&&(queue.expirationTime=updateExpirationTime),didSkip||(didSkip=!0,queue.baseState=state),update=update.next}else{didSkip||(queue.first=update.next,null===queue.first&&(queue.last=null));var _partialState=void 0;if(update.isReplace?(state=getStateFromUpdate(update,instance,state,props),dontMutatePrevState=!0):(_partialState=getStateFromUpdate(update,instance,state,props))&&(state=dontMutatePrevState?_assign({},state,_partialState):_assign(state,_partialState),dontMutatePrevState=!1),update.isForced&&(queue.hasForceUpdate=!0),null!==update.callback){var _callbackList=queue.callbackList;null===_callbackList&&(_callbackList=queue.callbackList=[]),_callbackList.push(update)}update=update.next}}return null!==queue.callbackList?workInProgress.effectTag|=Callback:null!==queue.first||queue.hasForceUpdate||(workInProgress.updateQueue=null),didSkip||(didSkip=!0,queue.baseState=state),queue.isProcessing=!1,state}function commitCallbacks(queue,context){var callbackList=queue.callbackList;if(null!==callbackList){queue.callbackList=null;for(var i=0;i<callbackList.length;i++){var update=callbackList[i],_callback=update.callback;update.callback=null,"function"!=typeof _callback&&invariant(!1,"Invalid argument passed as callback. Expected a function. Instead received: %s",_callback),_callback.call(context)}}}var fakeInternalInstance={},isArray=Array.isArray,didWarnAboutStateAssignmentForComponent={},warnOnInvalidCallback=function(callback,callerName){warning(null===callback||"function"==typeof callback,"%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",callerName,callback)};Object.defineProperty(fakeInternalInstance,"_processChildContext",{enumerable:!1,value:function(){invariant(!1,"_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(fakeInternalInstance);var ReactFiberClassComponent=function(scheduleWork,computeExpirationForFiber,memoizeProps,memoizeState){var updater={isMounted:isMounted,enqueueSetState:function(instance,partialState,callback){var fiber=get(instance);warnOnInvalidCallback(callback=void 0===callback?null:callback,"setState");var expirationTime=computeExpirationForFiber(fiber);insertUpdateIntoFiber(fiber,{expirationTime:expirationTime,partialState:partialState,callback:callback,isReplace:!1,isForced:!1,nextCallback:null,next:null}),scheduleWork(fiber,expirationTime)},enqueueReplaceState:function(instance,state,callback){var fiber=get(instance);warnOnInvalidCallback(callback=void 0===callback?null:callback,"replaceState");var expirationTime=computeExpirationForFiber(fiber);insertUpdateIntoFiber(fiber,{expirationTime:expirationTime,partialState:state,callback:callback,isReplace:!0,isForced:!1,nextCallback:null,next:null}),scheduleWork(fiber,expirationTime)},enqueueForceUpdate:function(instance,callback){var fiber=get(instance);warnOnInvalidCallback(callback=void 0===callback?null:callback,"forceUpdate");var expirationTime=computeExpirationForFiber(fiber);insertUpdateIntoFiber(fiber,{expirationTime:expirationTime,partialState:null,callback:callback,isReplace:!1,isForced:!0,nextCallback:null,next:null}),scheduleWork(fiber,expirationTime)}};function adoptClassInstance(workInProgress,instance){var value;instance.updater=updater,workInProgress.stateNode=instance,value=workInProgress,instance._reactInternalFiber=value,instance._reactInternalInstance=fakeInternalInstance}return{adoptClassInstance:adoptClassInstance,constructClassInstance:function(workInProgress,props){var fiber,ctor=workInProgress.type,unmaskedContext=getUnmaskedContext(workInProgress),needsContext=(fiber=workInProgress).tag===ClassComponent&&null!=fiber.type.contextTypes,context=needsContext?getMaskedContext(workInProgress,unmaskedContext):emptyObject,instance=new ctor(props,context);return adoptClassInstance(workInProgress,instance),needsContext&&cacheContext(workInProgress,unmaskedContext,context),instance},mountClassInstance:function(workInProgress,renderExpirationTime){var current=workInProgress.alternate;!function(workInProgress){var instance=workInProgress.stateNode,type=workInProgress.type,name=getComponentName(workInProgress);instance.render||(type.prototype&&"function"==typeof type.prototype.render?warning(!1,"%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",name):warning(!1,"%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",name));var noGetInitialStateOnES6=!instance.getInitialState||instance.getInitialState.isReactClassApproved||instance.state;warning(noGetInitialStateOnES6,"getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",name);var noGetDefaultPropsOnES6=!instance.getDefaultProps||instance.getDefaultProps.isReactClassApproved;warning(noGetDefaultPropsOnES6,"getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",name);var noInstancePropTypes=!instance.propTypes;warning(noInstancePropTypes,"propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",name);var noInstanceContextTypes=!instance.contextTypes;warning(noInstanceContextTypes,"contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",name);var noComponentShouldUpdate="function"!=typeof instance.componentShouldUpdate;warning(noComponentShouldUpdate,"%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",name),type.prototype&&type.prototype.isPureReactComponent&&void 0!==instance.shouldComponentUpdate&&warning(!1,"%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",getComponentName(workInProgress)||"A pure component");var noComponentDidUnmount="function"!=typeof instance.componentDidUnmount;warning(noComponentDidUnmount,"%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",name);var noComponentDidReceiveProps="function"!=typeof instance.componentDidReceiveProps;warning(noComponentDidReceiveProps,"%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",name);var noComponentWillRecieveProps="function"!=typeof instance.componentWillRecieveProps;warning(noComponentWillRecieveProps,"%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",name);var hasMutatedProps=instance.props!==workInProgress.pendingProps;warning(void 0===instance.props||!hasMutatedProps,"%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",name,name);var noInstanceDefaultProps=!instance.defaultProps;warning(noInstanceDefaultProps,"Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",name,name);var state=instance.state;state&&("object"!=typeof state||isArray(state))&&warning(!1,"%s.state: must be set to an object or null",getComponentName(workInProgress)),"function"==typeof instance.getChildContext&&warning("object"==typeof workInProgress.type.childContextTypes,"%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",getComponentName(workInProgress))}(workInProgress);var instance=workInProgress.stateNode,state=instance.state||null,props=workInProgress.pendingProps;props||invariant(!1,"There must be pending props for an initial mount. This error is likely caused by a bug in React. Please file an issue.");var unmaskedContext=getUnmaskedContext(workInProgress);if(instance.props=props,instance.state=workInProgress.memoizedState=state,instance.refs=emptyObject,instance.context=getMaskedContext(workInProgress,unmaskedContext),enableAsyncSubtreeAPI&&null!=workInProgress.type&&null!=workInProgress.type.prototype&&!0===workInProgress.type.prototype.unstable_isAsyncReactComponent&&(workInProgress.internalContextTag|=AsyncUpdates),"function"==typeof instance.componentWillMount){!function(workInProgress,instance){startPhaseTimer(workInProgress,"componentWillMount");var oldState=instance.state;instance.componentWillMount(),stopPhaseTimer(),debugRenderPhaseSideEffects&&instance.componentWillMount(),oldState!==instance.state&&(warning(!1,"%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",getComponentName(workInProgress)),updater.enqueueReplaceState(instance,instance.state,null))}(workInProgress,instance);var updateQueue=workInProgress.updateQueue;null!==updateQueue&&(instance.state=processUpdateQueue(current,workInProgress,updateQueue,instance,props,renderExpirationTime))}"function"==typeof instance.componentDidMount&&(workInProgress.effectTag|=Update)},updateClassInstance:function(current,workInProgress,renderExpirationTime){var instance=workInProgress.stateNode;!function(workInProgress,instance){instance.props=workInProgress.memoizedProps,instance.state=workInProgress.memoizedState}(workInProgress,instance);var oldProps=workInProgress.memoizedProps,newProps=workInProgress.pendingProps;newProps||null==(newProps=oldProps)&&invariant(!1,"There should always be pending or memoized props. This error is likely caused by a bug in React. Please file an issue.");var oldContext=instance.context,newContext=getMaskedContext(workInProgress,getUnmaskedContext(workInProgress));"function"!=typeof instance.componentWillReceiveProps||oldProps===newProps&&oldContext===newContext||function(workInProgress,instance,newProps,newContext){startPhaseTimer(workInProgress,"componentWillReceiveProps");var oldState=instance.state;if(instance.componentWillReceiveProps(newProps,newContext),stopPhaseTimer(),debugRenderPhaseSideEffects&&instance.componentWillReceiveProps(newProps,newContext),instance.state!==oldState){var componentName=getComponentName(workInProgress)||"Component";didWarnAboutStateAssignmentForComponent[componentName]||(warning(!1,"%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",componentName),didWarnAboutStateAssignmentForComponent[componentName]=!0),updater.enqueueReplaceState(instance,instance.state,null)}}(workInProgress,instance,newProps,newContext);var oldState=workInProgress.memoizedState,newState=void 0;if(newState=null!==workInProgress.updateQueue?processUpdateQueue(current,workInProgress,workInProgress.updateQueue,instance,newProps,renderExpirationTime):oldState,!(oldProps!==newProps||oldState!==newState||hasContextChanged()||null!==workInProgress.updateQueue&&workInProgress.updateQueue.hasForceUpdate))return"function"==typeof instance.componentDidUpdate&&(oldProps===current.memoizedProps&&oldState===current.memoizedState||(workInProgress.effectTag|=Update)),!1;var shouldUpdate=function(workInProgress,oldProps,newProps,oldState,newState,newContext){if(null===oldProps||null!==workInProgress.updateQueue&&workInProgress.updateQueue.hasForceUpdate)return!0;var instance=workInProgress.stateNode,type=workInProgress.type;if("function"==typeof instance.shouldComponentUpdate){startPhaseTimer(workInProgress,"shouldComponentUpdate");var shouldUpdate=instance.shouldComponentUpdate(newProps,newState,newContext);return stopPhaseTimer(),debugRenderPhaseSideEffects&&instance.shouldComponentUpdate(newProps,newState,newContext),warning(void 0!==shouldUpdate,"%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",getComponentName(workInProgress)||"Unknown"),shouldUpdate}return!(type.prototype&&type.prototype.isPureReactComponent&&shallowEqual(oldProps,newProps)&&shallowEqual(oldState,newState))}(workInProgress,oldProps,newProps,oldState,newState,newContext);return shouldUpdate?("function"==typeof instance.componentWillUpdate&&(startPhaseTimer(workInProgress,"componentWillUpdate"),instance.componentWillUpdate(newProps,newState,newContext),stopPhaseTimer(),debugRenderPhaseSideEffects&&instance.componentWillUpdate(newProps,newState,newContext)),"function"==typeof instance.componentDidUpdate&&(workInProgress.effectTag|=Update)):("function"==typeof instance.componentDidUpdate&&(oldProps===current.memoizedProps&&oldState===current.memoizedState||(workInProgress.effectTag|=Update)),memoizeProps(workInProgress,newProps),memoizeState(workInProgress,newState)),instance.props=newProps,instance.state=newState,instance.context=newContext,shouldUpdate}}},hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_CALL_TYPE=hasSymbol?Symbol.for("react.call"):60104,REACT_RETURN_TYPE=hasSymbol?Symbol.for("react.return"):60105,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,MAYBE_ITERATOR_SYMBOL="function"==typeof Symbol&&Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(null===maybeIterable||void 0===maybeIterable)return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL];return"function"==typeof maybeIterator?maybeIterator:null}var getCurrentFiberStackAddendum$1=ReactDebugCurrentFiber.getCurrentFiberStackAddendum,didWarnAboutMaps=!1,ownerHasKeyUseWarning={},ownerHasFunctionTypeWarning={},warnForMissingKey=function(child){if(null!==child&&"object"==typeof child&&child._store&&!child._store.validated&&null==child.key){"object"!=typeof child._store&&invariant(!1,"React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."),child._store.validated=!0;var currentComponentErrorInfo='Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.'+(getCurrentFiberStackAddendum$1()||"");ownerHasKeyUseWarning[currentComponentErrorInfo]||(ownerHasKeyUseWarning[currentComponentErrorInfo]=!0,warning(!1,'Each child in an array or iterator should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.%s',getCurrentFiberStackAddendum$1()))}},isArray$1=Array.isArray;function coerceRef(current,element){var mixedRef=element.ref;if(null!==mixedRef&&"function"!=typeof mixedRef){if(element._owner){var owner=element._owner,inst=void 0;if(owner){var ownerFiber=owner;ownerFiber.tag!==ClassComponent&&invariant(!1,"Stateless function components cannot have refs."),inst=ownerFiber.stateNode}inst||invariant(!1,"Missing owner for string ref %s. This error is likely caused by a bug in React. Please file an issue.",mixedRef);var stringRef=""+mixedRef;if(null!==current&&null!==current.ref&&current.ref._stringRef===stringRef)return current.ref;var ref=function(value){var refs=inst.refs===emptyObject?inst.refs={}:inst.refs;null===value?delete refs[stringRef]:refs[stringRef]=value};return ref._stringRef=stringRef,ref}"string"!=typeof mixedRef&&invariant(!1,"Expected ref to be a function or a string."),element._owner||invariant(!1,"Element ref was specified as a string (%s) but no owner was set. You may have multiple copies of React loaded. (details: https://fb.me/react-refs-must-have-owner).",mixedRef)}return mixedRef}function throwOnInvalidObjectType(returnFiber,newChild){if("textarea"!==returnFiber.type){var addendum;addendum=" If you meant to render a collection of children, use an array instead."+(getCurrentFiberStackAddendum$1()||""),invariant(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===Object.prototype.toString.call(newChild)?"object with keys {"+Object.keys(newChild).join(", ")+"}":newChild,addendum)}}function warnOnFunctionType(){var currentComponentErrorInfo="Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."+(getCurrentFiberStackAddendum$1()||"");ownerHasFunctionTypeWarning[currentComponentErrorInfo]||(ownerHasFunctionTypeWarning[currentComponentErrorInfo]=!0,warning(!1,"Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.%s",getCurrentFiberStackAddendum$1()||""))}function ChildReconciler(shouldTrackSideEffects){function deleteChild(returnFiber,childToDelete){if(shouldTrackSideEffects){var last=returnFiber.lastEffect;null!==last?(last.nextEffect=childToDelete,returnFiber.lastEffect=childToDelete):returnFiber.firstEffect=returnFiber.lastEffect=childToDelete,childToDelete.nextEffect=null,childToDelete.effectTag=Deletion}}function deleteRemainingChildren(returnFiber,currentFirstChild){if(!shouldTrackSideEffects)return null;for(var childToDelete=currentFirstChild;null!==childToDelete;)deleteChild(returnFiber,childToDelete),childToDelete=childToDelete.sibling;return null}function mapRemainingChildren(returnFiber,currentFirstChild){for(var existingChildren=new Map,existingChild=currentFirstChild;null!==existingChild;)null!==existingChild.key?existingChildren.set(existingChild.key,existingChild):existingChildren.set(existingChild.index,existingChild),existingChild=existingChild.sibling;return existingChildren}function useFiber(fiber,pendingProps,expirationTime){var clone=createWorkInProgress(fiber,pendingProps,expirationTime);return clone.index=0,clone.sibling=null,clone}function placeChild(newFiber,lastPlacedIndex,newIndex){if(newFiber.index=newIndex,!shouldTrackSideEffects)return lastPlacedIndex;var current=newFiber.alternate;if(null!==current){var oldIndex=current.index;return oldIndex<lastPlacedIndex?(newFiber.effectTag=Placement,lastPlacedIndex):oldIndex}return newFiber.effectTag=Placement,lastPlacedIndex}function placeSingleChild(newFiber){return shouldTrackSideEffects&&null===newFiber.alternate&&(newFiber.effectTag=Placement),newFiber}function updateTextNode(returnFiber,current,textContent,expirationTime){if(null===current||current.tag!==HostText){var created=createFiberFromText(textContent,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}var existing=useFiber(current,textContent,expirationTime);return existing.return=returnFiber,existing}function updateElement(returnFiber,current,element,expirationTime){if(null!==current&&current.type===element.type){var existing=useFiber(current,element.props,expirationTime);return existing.ref=coerceRef(current,element),existing.return=returnFiber,existing._debugSource=element._source,existing._debugOwner=element._owner,existing}var created=createFiberFromElement(element,returnFiber.internalContextTag,expirationTime);return created.ref=coerceRef(current,element),created.return=returnFiber,created}function updateCall(returnFiber,current,call,expirationTime){if(null===current||current.tag!==CallComponent){var created=createFiberFromCall(call,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}var existing=useFiber(current,call,expirationTime);return existing.return=returnFiber,existing}function updateReturn(returnFiber,current,returnNode,expirationTime){if(null===current||current.tag!==ReturnComponent){var created=createFiberFromReturn(0,returnFiber.internalContextTag,expirationTime);return created.type=returnNode.value,created.return=returnFiber,created}var existing=useFiber(current,null,expirationTime);return existing.type=returnNode.value,existing.return=returnFiber,existing}function updatePortal(returnFiber,current,portal,expirationTime){if(null===current||current.tag!==HostPortal||current.stateNode.containerInfo!==portal.containerInfo||current.stateNode.implementation!==portal.implementation){var created=createFiberFromPortal(portal,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}var existing=useFiber(current,portal.children||[],expirationTime);return existing.return=returnFiber,existing}function updateFragment(returnFiber,current,fragment,expirationTime,key){if(null===current||current.tag!==Fragment){var created=createFiberFromFragment(fragment,returnFiber.internalContextTag,expirationTime,key);return created.return=returnFiber,created}var existing=useFiber(current,fragment,expirationTime);return existing.return=returnFiber,existing}function createChild(returnFiber,newChild,expirationTime){if("string"==typeof newChild||"number"==typeof newChild){var created=createFiberFromText(""+newChild,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:if(newChild.type===REACT_FRAGMENT_TYPE){var _created=createFiberFromFragment(newChild.props.children,returnFiber.internalContextTag,expirationTime,newChild.key);return _created.return=returnFiber,_created}var _created2=createFiberFromElement(newChild,returnFiber.internalContextTag,expirationTime);return _created2.ref=coerceRef(null,newChild),_created2.return=returnFiber,_created2;case REACT_CALL_TYPE:var _created3=createFiberFromCall(newChild,returnFiber.internalContextTag,expirationTime);return _created3.return=returnFiber,_created3;case REACT_RETURN_TYPE:var _created4=createFiberFromReturn(0,returnFiber.internalContextTag,expirationTime);return _created4.type=newChild.value,_created4.return=returnFiber,_created4;case REACT_PORTAL_TYPE:var _created5=createFiberFromPortal(newChild,returnFiber.internalContextTag,expirationTime);return _created5.return=returnFiber,_created5}if(isArray$1(newChild)||getIteratorFn(newChild)){var _created6=createFiberFromFragment(newChild,returnFiber.internalContextTag,expirationTime,null);return _created6.return=returnFiber,_created6}throwOnInvalidObjectType(returnFiber,newChild)}return"function"==typeof newChild&&warnOnFunctionType(),null}function updateSlot(returnFiber,oldFiber,newChild,expirationTime){var key=null!==oldFiber?oldFiber.key:null;if("string"==typeof newChild||"number"==typeof newChild)return null!==key?null:updateTextNode(returnFiber,oldFiber,""+newChild,expirationTime);if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:return newChild.key===key?newChild.type===REACT_FRAGMENT_TYPE?updateFragment(returnFiber,oldFiber,newChild.props.children,expirationTime,key):updateElement(returnFiber,oldFiber,newChild,expirationTime):null;case REACT_CALL_TYPE:return newChild.key===key?updateCall(returnFiber,oldFiber,newChild,expirationTime):null;case REACT_RETURN_TYPE:return null===key?updateReturn(returnFiber,oldFiber,newChild,expirationTime):null;case REACT_PORTAL_TYPE:return newChild.key===key?updatePortal(returnFiber,oldFiber,newChild,expirationTime):null}if(isArray$1(newChild)||getIteratorFn(newChild))return null!==key?null:updateFragment(returnFiber,oldFiber,newChild,expirationTime,null);throwOnInvalidObjectType(returnFiber,newChild)}return"function"==typeof newChild&&warnOnFunctionType(),null}function updateFromMap(existingChildren,returnFiber,newIdx,newChild,expirationTime){if("string"==typeof newChild||"number"==typeof newChild)return updateTextNode(returnFiber,existingChildren.get(newIdx)||null,""+newChild,expirationTime);if("object"==typeof newChild&&null!==newChild){switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:var _matchedFiber=existingChildren.get(null===newChild.key?newIdx:newChild.key)||null;return newChild.type===REACT_FRAGMENT_TYPE?updateFragment(returnFiber,_matchedFiber,newChild.props.children,expirationTime,newChild.key):updateElement(returnFiber,_matchedFiber,newChild,expirationTime);case REACT_CALL_TYPE:return updateCall(returnFiber,existingChildren.get(null===newChild.key?newIdx:newChild.key)||null,newChild,expirationTime);case REACT_RETURN_TYPE:return updateReturn(returnFiber,existingChildren.get(newIdx)||null,newChild,expirationTime);case REACT_PORTAL_TYPE:return updatePortal(returnFiber,existingChildren.get(null===newChild.key?newIdx:newChild.key)||null,newChild,expirationTime)}if(isArray$1(newChild)||getIteratorFn(newChild))return updateFragment(returnFiber,existingChildren.get(newIdx)||null,newChild,expirationTime,null);throwOnInvalidObjectType(returnFiber,newChild)}return"function"==typeof newChild&&warnOnFunctionType(),null}function warnOnInvalidKey(child,knownKeys){if("object"!=typeof child||null===child)return knownKeys;switch(child.$$typeof){case REACT_ELEMENT_TYPE:case REACT_CALL_TYPE:case REACT_PORTAL_TYPE:warnForMissingKey(child);var key=child.key;if("string"!=typeof key)break;if(null===knownKeys){(knownKeys=new Set).add(key);break}if(!knownKeys.has(key)){knownKeys.add(key);break}warning(!1,"Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.%s",key,getCurrentFiberStackAddendum$1())}return knownKeys}return function(returnFiber,currentFirstChild,newChild,expirationTime){"object"==typeof newChild&&null!==newChild&&newChild.type===REACT_FRAGMENT_TYPE&&null===newChild.key&&(newChild=newChild.props.children);var isObject="object"==typeof newChild&&null!==newChild;if(isObject)switch(newChild.$$typeof){case REACT_ELEMENT_TYPE:return placeSingleChild(function(returnFiber,currentFirstChild,element,expirationTime){for(var key=element.key,child=currentFirstChild;null!==child;){if(child.key===key){if(child.tag===Fragment?element.type===REACT_FRAGMENT_TYPE:child.type===element.type){deleteRemainingChildren(returnFiber,child.sibling);var existing=useFiber(child,element.type===REACT_FRAGMENT_TYPE?element.props.children:element.props,expirationTime);return existing.ref=coerceRef(child,element),existing.return=returnFiber,existing._debugSource=element._source,existing._debugOwner=element._owner,existing}deleteRemainingChildren(returnFiber,child);break}deleteChild(returnFiber,child),child=child.sibling}if(element.type===REACT_FRAGMENT_TYPE){var created=createFiberFromFragment(element.props.children,returnFiber.internalContextTag,expirationTime,element.key);return created.return=returnFiber,created}var _created7=createFiberFromElement(element,returnFiber.internalContextTag,expirationTime);return _created7.ref=coerceRef(currentFirstChild,element),_created7.return=returnFiber,_created7}(returnFiber,currentFirstChild,newChild,expirationTime));case REACT_CALL_TYPE:return placeSingleChild(function(returnFiber,currentFirstChild,call,expirationTime){for(var key=call.key,child=currentFirstChild;null!==child;){if(child.key===key){if(child.tag===CallComponent){deleteRemainingChildren(returnFiber,child.sibling);var existing=useFiber(child,call,expirationTime);return existing.return=returnFiber,existing}deleteRemainingChildren(returnFiber,child);break}deleteChild(returnFiber,child),child=child.sibling}var created=createFiberFromCall(call,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}(returnFiber,currentFirstChild,newChild,expirationTime));case REACT_RETURN_TYPE:return placeSingleChild(function(returnFiber,currentFirstChild,returnNode,expirationTime){var child=currentFirstChild;if(null!==child){if(child.tag===ReturnComponent){deleteRemainingChildren(returnFiber,child.sibling);var existing=useFiber(child,null,expirationTime);return existing.type=returnNode.value,existing.return=returnFiber,existing}deleteRemainingChildren(returnFiber,child)}var created=createFiberFromReturn(0,returnFiber.internalContextTag,expirationTime);return created.type=returnNode.value,created.return=returnFiber,created}(returnFiber,currentFirstChild,newChild,expirationTime));case REACT_PORTAL_TYPE:return placeSingleChild(function(returnFiber,currentFirstChild,portal,expirationTime){for(var key=portal.key,child=currentFirstChild;null!==child;){if(child.key===key){if(child.tag===HostPortal&&child.stateNode.containerInfo===portal.containerInfo&&child.stateNode.implementation===portal.implementation){deleteRemainingChildren(returnFiber,child.sibling);var existing=useFiber(child,portal.children||[],expirationTime);return existing.return=returnFiber,existing}deleteRemainingChildren(returnFiber,child);break}deleteChild(returnFiber,child),child=child.sibling}var created=createFiberFromPortal(portal,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}(returnFiber,currentFirstChild,newChild,expirationTime))}if("string"==typeof newChild||"number"==typeof newChild)return placeSingleChild(function(returnFiber,currentFirstChild,textContent,expirationTime){if(null!==currentFirstChild&&currentFirstChild.tag===HostText){deleteRemainingChildren(returnFiber,currentFirstChild.sibling);var existing=useFiber(currentFirstChild,textContent,expirationTime);return existing.return=returnFiber,existing}deleteRemainingChildren(returnFiber,currentFirstChild);var created=createFiberFromText(textContent,returnFiber.internalContextTag,expirationTime);return created.return=returnFiber,created}(returnFiber,currentFirstChild,""+newChild,expirationTime));if(isArray$1(newChild))return function(returnFiber,currentFirstChild,newChildren,expirationTime){for(var knownKeys=null,i=0;i<newChildren.length;i++)knownKeys=warnOnInvalidKey(newChildren[i],knownKeys);for(var resultingFirstChild=null,previousNewFiber=null,oldFiber=currentFirstChild,lastPlacedIndex=0,newIdx=0,nextOldFiber=null;null!==oldFiber&&newIdx<newChildren.length;newIdx++){oldFiber.index>newIdx?(nextOldFiber=oldFiber,oldFiber=null):nextOldFiber=oldFiber.sibling;var newFiber=updateSlot(returnFiber,oldFiber,newChildren[newIdx],expirationTime);if(null===newFiber){null===oldFiber&&(oldFiber=nextOldFiber);break}shouldTrackSideEffects&&oldFiber&&null===newFiber.alternate&&deleteChild(returnFiber,oldFiber),lastPlacedIndex=placeChild(newFiber,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=newFiber:previousNewFiber.sibling=newFiber,previousNewFiber=newFiber,oldFiber=nextOldFiber}if(newIdx===newChildren.length)return deleteRemainingChildren(returnFiber,oldFiber),resultingFirstChild;if(null===oldFiber){for(;newIdx<newChildren.length;newIdx++){var _newFiber=createChild(returnFiber,newChildren[newIdx],expirationTime);_newFiber&&(lastPlacedIndex=placeChild(_newFiber,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=_newFiber:previousNewFiber.sibling=_newFiber,previousNewFiber=_newFiber)}return resultingFirstChild}for(var existingChildren=mapRemainingChildren(0,oldFiber);newIdx<newChildren.length;newIdx++){var _newFiber2=updateFromMap(existingChildren,returnFiber,newIdx,newChildren[newIdx],expirationTime);_newFiber2&&(shouldTrackSideEffects&&null!==_newFiber2.alternate&&existingChildren.delete(null===_newFiber2.key?newIdx:_newFiber2.key),lastPlacedIndex=placeChild(_newFiber2,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=_newFiber2:previousNewFiber.sibling=_newFiber2,previousNewFiber=_newFiber2)}return shouldTrackSideEffects&&existingChildren.forEach(function(child){return deleteChild(returnFiber,child)}),resultingFirstChild}(returnFiber,currentFirstChild,newChild,expirationTime);if(getIteratorFn(newChild))return function(returnFiber,currentFirstChild,newChildrenIterable,expirationTime){var iteratorFn=getIteratorFn(newChildrenIterable);"function"!=typeof iteratorFn&&invariant(!1,"An object is not an iterable. This error is likely caused by a bug in React. Please file an issue."),"function"==typeof newChildrenIterable.entries&&newChildrenIterable.entries===iteratorFn&&(warning(didWarnAboutMaps,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s",getCurrentFiberStackAddendum$1()),didWarnAboutMaps=!0);var _newChildren=iteratorFn.call(newChildrenIterable);if(_newChildren)for(var knownKeys=null,_step=_newChildren.next();!_step.done;_step=_newChildren.next())knownKeys=warnOnInvalidKey(_step.value,knownKeys);var newChildren=iteratorFn.call(newChildrenIterable);null==newChildren&&invariant(!1,"An iterable object provided no iterator.");for(var resultingFirstChild=null,previousNewFiber=null,oldFiber=currentFirstChild,lastPlacedIndex=0,newIdx=0,nextOldFiber=null,step=newChildren.next();null!==oldFiber&&!step.done;newIdx++,step=newChildren.next()){oldFiber.index>newIdx?(nextOldFiber=oldFiber,oldFiber=null):nextOldFiber=oldFiber.sibling;var newFiber=updateSlot(returnFiber,oldFiber,step.value,expirationTime);if(null===newFiber){oldFiber||(oldFiber=nextOldFiber);break}shouldTrackSideEffects&&oldFiber&&null===newFiber.alternate&&deleteChild(returnFiber,oldFiber),lastPlacedIndex=placeChild(newFiber,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=newFiber:previousNewFiber.sibling=newFiber,previousNewFiber=newFiber,oldFiber=nextOldFiber}if(step.done)return deleteRemainingChildren(returnFiber,oldFiber),resultingFirstChild;if(null===oldFiber){for(;!step.done;newIdx++,step=newChildren.next()){var _newFiber3=createChild(returnFiber,step.value,expirationTime);null!==_newFiber3&&(lastPlacedIndex=placeChild(_newFiber3,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=_newFiber3:previousNewFiber.sibling=_newFiber3,previousNewFiber=_newFiber3)}return resultingFirstChild}for(var existingChildren=mapRemainingChildren(0,oldFiber);!step.done;newIdx++,step=newChildren.next()){var _newFiber4=updateFromMap(existingChildren,returnFiber,newIdx,step.value,expirationTime);null!==_newFiber4&&(shouldTrackSideEffects&&null!==_newFiber4.alternate&&existingChildren.delete(null===_newFiber4.key?newIdx:_newFiber4.key),lastPlacedIndex=placeChild(_newFiber4,lastPlacedIndex,newIdx),null===previousNewFiber?resultingFirstChild=_newFiber4:previousNewFiber.sibling=_newFiber4,previousNewFiber=_newFiber4)}return shouldTrackSideEffects&&existingChildren.forEach(function(child){return deleteChild(returnFiber,child)}),resultingFirstChild}(returnFiber,currentFirstChild,newChild,expirationTime);if(isObject&&throwOnInvalidObjectType(returnFiber,newChild),"function"==typeof newChild&&warnOnFunctionType(),void 0===newChild)switch(returnFiber.tag){case ClassComponent:if(returnFiber.stateNode.render._isMockFunction)break;case FunctionalComponent:var Component=returnFiber.type;invariant(!1,"%s(...): Nothing was returned from render. This usually means a return statement is missing. Or, to render nothing, return null.",Component.displayName||Component.name||"Component")}return deleteRemainingChildren(returnFiber,currentFirstChild)}}var reconcileChildFibers=ChildReconciler(!0),mountChildFibers=ChildReconciler(!1);var warnedAboutStatelessRefs={},ReactFiberBeginWork=function(config,hostContext,hydrationContext,scheduleWork,computeExpirationForFiber){var shouldSetTextContent=config.shouldSetTextContent,useSyncScheduling=config.useSyncScheduling,shouldDeprioritizeSubtree=config.shouldDeprioritizeSubtree,pushHostContext=hostContext.pushHostContext,pushHostContainer=hostContext.pushHostContainer,enterHydrationState=hydrationContext.enterHydrationState,resetHydrationState=hydrationContext.resetHydrationState,tryToClaimNextHydratableInstance=hydrationContext.tryToClaimNextHydratableInstance,_ReactFiberClassCompo=ReactFiberClassComponent(scheduleWork,computeExpirationForFiber,memoizeProps,memoizeState),adoptClassInstance=_ReactFiberClassCompo.adoptClassInstance,constructClassInstance=_ReactFiberClassCompo.constructClassInstance,mountClassInstance=_ReactFiberClassCompo.mountClassInstance,updateClassInstance=_ReactFiberClassCompo.updateClassInstance;function reconcileChildren(current,workInProgress,nextChildren){reconcileChildrenAtExpirationTime(current,workInProgress,nextChildren,workInProgress.expirationTime)}function reconcileChildrenAtExpirationTime(current,workInProgress,nextChildren,renderExpirationTime){workInProgress.child=null===current?mountChildFibers(workInProgress,null,nextChildren,renderExpirationTime):reconcileChildFibers(workInProgress,current.child,nextChildren,renderExpirationTime)}function markRef(current,workInProgress){var ref=workInProgress.ref;null===ref||current&&current.ref===ref||(workInProgress.effectTag|=Ref)}function finishClassComponent(current,workInProgress,shouldUpdate,hasContext){if(markRef(current,workInProgress),!shouldUpdate)return hasContext&&invalidateContextProvider(workInProgress,!1),bailoutOnAlreadyFinishedWork(current,workInProgress);var instance=workInProgress.stateNode;ReactCurrentOwner.current=workInProgress;var nextChildren;return ReactDebugCurrentFiber.setCurrentPhase("render"),nextChildren=instance.render(),debugRenderPhaseSideEffects&&instance.render(),ReactDebugCurrentFiber.setCurrentPhase(null),workInProgress.effectTag|=PerformedWork,reconcileChildren(current,workInProgress,nextChildren),memoizeState(workInProgress,instance.state),memoizeProps(workInProgress,instance.props),hasContext&&invalidateContextProvider(workInProgress,!0),workInProgress.child}function pushHostRootContext(workInProgress){var root=workInProgress.stateNode;root.pendingContext?pushTopLevelContextObject(workInProgress,root.pendingContext,root.pendingContext!==root.context):root.context&&pushTopLevelContextObject(workInProgress,root.context,!1),pushHostContainer(workInProgress,root.containerInfo)}function bailoutOnAlreadyFinishedWork(current,workInProgress){return cancelWorkTimer(workInProgress),function(current,workInProgress){if(null!==current&&workInProgress.child!==current.child&&invariant(!1,"Resuming work not yet implemented."),null!==workInProgress.child){var currentChild=workInProgress.child,newChild=createWorkInProgress(currentChild,currentChild.pendingProps,currentChild.expirationTime);for(workInProgress.child=newChild,newChild.return=workInProgress;null!==currentChild.sibling;)currentChild=currentChild.sibling,(newChild=newChild.sibling=createWorkInProgress(currentChild,currentChild.pendingProps,currentChild.expirationTime)).return=workInProgress;newChild.sibling=null}}(current,workInProgress),workInProgress.child}function bailoutOnLowPriority(current,workInProgress){switch(cancelWorkTimer(workInProgress),workInProgress.tag){case HostRoot:pushHostRootContext(workInProgress);break;case ClassComponent:pushContextProvider(workInProgress);break;case HostPortal:pushHostContainer(workInProgress,workInProgress.stateNode.containerInfo)}return null}function memoizeProps(workInProgress,nextProps){workInProgress.memoizedProps=nextProps}function memoizeState(workInProgress,nextState){workInProgress.memoizedState=nextState}return{beginWork:function(current,workInProgress,renderExpirationTime){if(workInProgress.expirationTime===NoWork||workInProgress.expirationTime>renderExpirationTime)return bailoutOnLowPriority(0,workInProgress);switch(workInProgress.tag){case IndeterminateComponent:return function(current,workInProgress,renderExpirationTime){null!==current&&invariant(!1,"An indeterminate component should never have mounted. This error is likely caused by a bug in React. Please file an issue.");var value,fn=workInProgress.type,props=workInProgress.pendingProps,context=getMaskedContext(workInProgress,getUnmaskedContext(workInProgress));if(fn.prototype&&"function"==typeof fn.prototype.render){var componentName=getComponentName(workInProgress);warning(!1,"The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",componentName,componentName)}if(ReactCurrentOwner.current=workInProgress,value=fn(props,context),workInProgress.effectTag|=PerformedWork,"object"==typeof value&&null!==value&&"function"==typeof value.render){workInProgress.tag=ClassComponent;var hasContext=pushContextProvider(workInProgress);return adoptClassInstance(workInProgress,value),mountClassInstance(workInProgress,renderExpirationTime),finishClassComponent(current,workInProgress,!0,hasContext)}workInProgress.tag=FunctionalComponent;var Component=workInProgress.type;if(Component&&warning(!Component.childContextTypes,"%s(...): childContextTypes cannot be defined on a functional component.",Component.displayName||Component.name||"Component"),null!==workInProgress.ref){var info="",ownerName=ReactDebugCurrentFiber.getCurrentFiberOwnerName();ownerName&&(info+="\n\nCheck the render method of `"+ownerName+"`.");var warningKey=ownerName||workInProgress._debugID||"",debugSource=workInProgress._debugSource;debugSource&&(warningKey=debugSource.fileName+":"+debugSource.lineNumber),warnedAboutStatelessRefs[warningKey]||(warnedAboutStatelessRefs[warningKey]=!0,warning(!1,"Stateless function components cannot be given refs. Attempts to access this ref will fail.%s%s",info,ReactDebugCurrentFiber.getCurrentFiberStackAddendum()))}return reconcileChildren(current,workInProgress,value),memoizeProps(workInProgress,props),workInProgress.child}(current,workInProgress,renderExpirationTime);case FunctionalComponent:return function(current,workInProgress){var fn=workInProgress.type,nextProps=workInProgress.pendingProps,memoizedProps=workInProgress.memoizedProps;if(hasContextChanged())null===nextProps&&(nextProps=memoizedProps);else if(null===nextProps||memoizedProps===nextProps)return bailoutOnAlreadyFinishedWork(current,workInProgress);var nextChildren,context=getMaskedContext(workInProgress,getUnmaskedContext(workInProgress));return ReactCurrentOwner.current=workInProgress,ReactDebugCurrentFiber.setCurrentPhase("render"),nextChildren=fn(nextProps,context),ReactDebugCurrentFiber.setCurrentPhase(null),workInProgress.effectTag|=PerformedWork,reconcileChildren(current,workInProgress,nextChildren),memoizeProps(workInProgress,nextProps),workInProgress.child}(current,workInProgress);case ClassComponent:return function(current,workInProgress,renderExpirationTime){var hasContext=pushContextProvider(workInProgress),shouldUpdate=void 0;return null===current?workInProgress.stateNode?invariant(!1,"Resuming work not yet implemented."):(constructClassInstance(workInProgress,workInProgress.pendingProps),mountClassInstance(workInProgress,renderExpirationTime),shouldUpdate=!0):shouldUpdate=updateClassInstance(current,workInProgress,renderExpirationTime),finishClassComponent(current,workInProgress,shouldUpdate,hasContext)}(current,workInProgress,renderExpirationTime);case HostRoot:return function(current,workInProgress,renderExpirationTime){pushHostRootContext(workInProgress);var updateQueue=workInProgress.updateQueue;if(null!==updateQueue){var prevState=workInProgress.memoizedState,state=processUpdateQueue(current,workInProgress,updateQueue,null,null,renderExpirationTime);if(prevState===state)return resetHydrationState(),bailoutOnAlreadyFinishedWork(current,workInProgress);var element=state.element,root=workInProgress.stateNode;return(null===current||null===current.child)&&root.hydrate&&enterHydrationState(workInProgress)?(workInProgress.effectTag|=Placement,workInProgress.child=mountChildFibers(workInProgress,null,element,renderExpirationTime)):(resetHydrationState(),reconcileChildren(current,workInProgress,element)),memoizeState(workInProgress,state),workInProgress.child}return resetHydrationState(),bailoutOnAlreadyFinishedWork(current,workInProgress)}(current,workInProgress,renderExpirationTime);case HostComponent:return function(current,workInProgress,renderExpirationTime){pushHostContext(workInProgress),null===current&&tryToClaimNextHydratableInstance(workInProgress);var type=workInProgress.type,memoizedProps=workInProgress.memoizedProps,nextProps=workInProgress.pendingProps;null===nextProps&&null===(nextProps=memoizedProps)&&invariant(!1,"We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue.");var prevProps=null!==current?current.memoizedProps:null;if(hasContextChanged());else if(null===nextProps||memoizedProps===nextProps)return bailoutOnAlreadyFinishedWork(current,workInProgress);var nextChildren=nextProps.children;return shouldSetTextContent(type,nextProps)?nextChildren=null:prevProps&&shouldSetTextContent(type,prevProps)&&(workInProgress.effectTag|=ContentReset),markRef(current,workInProgress),renderExpirationTime!==Never&&!useSyncScheduling&&shouldDeprioritizeSubtree(type,nextProps)?(workInProgress.expirationTime=Never,null):(reconcileChildren(current,workInProgress,nextChildren),memoizeProps(workInProgress,nextProps),workInProgress.child)}(current,workInProgress,renderExpirationTime);case HostText:return function(current,workInProgress){null===current&&tryToClaimNextHydratableInstance(workInProgress);var nextProps=workInProgress.pendingProps;return null===nextProps&&(nextProps=workInProgress.memoizedProps),memoizeProps(workInProgress,nextProps),null}(current,workInProgress);case CallHandlerPhase:workInProgress.tag=CallComponent;case CallComponent:return function(current,workInProgress,renderExpirationTime){var nextCall=workInProgress.pendingProps;hasContextChanged()?null===nextCall&&null===(nextCall=current&&current.memoizedProps)&&invariant(!1,"We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue."):null!==nextCall&&workInProgress.memoizedProps!==nextCall||(nextCall=workInProgress.memoizedProps);var nextChildren=nextCall.children;return workInProgress.stateNode=null===current?mountChildFibers(workInProgress,workInProgress.stateNode,nextChildren,renderExpirationTime):reconcileChildFibers(workInProgress,workInProgress.stateNode,nextChildren,renderExpirationTime),memoizeProps(workInProgress,nextCall),workInProgress.stateNode}(current,workInProgress,renderExpirationTime);case ReturnComponent:return null;case HostPortal:return function(current,workInProgress,renderExpirationTime){pushHostContainer(workInProgress,workInProgress.stateNode.containerInfo);var nextChildren=workInProgress.pendingProps;if(hasContextChanged())null===nextChildren&&null==(nextChildren=current&&current.memoizedProps)&&invariant(!1,"We should always have pending or current props. This error is likely caused by a bug in React. Please file an issue.");else if(null===nextChildren||workInProgress.memoizedProps===nextChildren)return bailoutOnAlreadyFinishedWork(current,workInProgress);return null===current?(workInProgress.child=reconcileChildFibers(workInProgress,null,nextChildren,renderExpirationTime),memoizeProps(workInProgress,nextChildren)):(reconcileChildren(current,workInProgress,nextChildren),memoizeProps(workInProgress,nextChildren)),workInProgress.child}(current,workInProgress,renderExpirationTime);case Fragment:return function(current,workInProgress){var nextChildren=workInProgress.pendingProps;if(hasContextChanged())null===nextChildren&&(nextChildren=workInProgress.memoizedProps);else if(null===nextChildren||workInProgress.memoizedProps===nextChildren)return bailoutOnAlreadyFinishedWork(current,workInProgress);return reconcileChildren(current,workInProgress,nextChildren),memoizeProps(workInProgress,nextChildren),workInProgress.child}(current,workInProgress);default:invariant(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}},beginFailedWork:function(current,workInProgress,renderExpirationTime){switch(workInProgress.tag){case ClassComponent:pushContextProvider(workInProgress);break;case HostRoot:pushHostRootContext(workInProgress);break;default:invariant(!1,"Invalid type of work. This error is likely caused by a bug in React. Please file an issue.")}if(workInProgress.effectTag|=Err,null===current?workInProgress.child=null:workInProgress.child!==current.child&&(workInProgress.child=current.child),workInProgress.expirationTime===NoWork||workInProgress.expirationTime>renderExpirationTime)return bailoutOnLowPriority(0,workInProgress);if(workInProgress.firstEffect=null,workInProgress.lastEffect=null,reconcileChildrenAtExpirationTime(current,workInProgress,null,renderExpirationTime),workInProgress.tag===ClassComponent){var instance=workInProgress.stateNode;workInProgress.memoizedProps=instance.props,workInProgress.memoizedState=instance.state}return workInProgress.child}}},ReactFiberCompleteWork=function(config,hostContext,hydrationContext){var createInstance=config.createInstance,createTextInstance=config.createTextInstance,appendInitialChild=config.appendInitialChild,finalizeInitialChildren=config.finalizeInitialChildren,prepareUpdate=config.prepareUpdate,mutation=config.mutation,persistence=config.persistence,getRootHostContainer=hostContext.getRootHostContainer,popHostContext=hostContext.popHostContext,getHostContext=hostContext.getHostContext,popHostContainer=hostContext.popHostContainer,prepareToHydrateHostInstance=hydrationContext.prepareToHydrateHostInstance,prepareToHydrateHostTextInstance=hydrationContext.prepareToHydrateHostTextInstance,popHydrationState=hydrationContext.popHydrationState;function markUpdate(workInProgress){workInProgress.effectTag|=Update}function markRef(workInProgress){workInProgress.effectTag|=Ref}function moveCallToHandlerPhase(current,workInProgress,renderExpirationTime){var call=workInProgress.memoizedProps;call||invariant(!1,"Should be resolved by now. This error is likely caused by a bug in React. Please file an issue."),workInProgress.tag=CallHandlerPhase;var returns=[];!function(returns,workInProgress){var node=workInProgress.stateNode;for(node&&(node.return=workInProgress);null!==node;){if(node.tag===HostComponent||node.tag===HostText||node.tag===HostPortal)invariant(!1,"A call cannot have host component children.");else if(node.tag===ReturnComponent)returns.push(node.type);else if(null!==node.child){node.child.return=node,node=node.child;continue}for(;null===node.sibling;){if(null===node.return||node.return===workInProgress)return;node=node.return}node.sibling.return=node.return,node=node.sibling}}(returns,workInProgress);var nextChildren=(0,call.handler)(call.props,returns),currentFirstChild=null!==current?current.child:null;return workInProgress.child=reconcileChildFibers(workInProgress,currentFirstChild,nextChildren,renderExpirationTime),workInProgress.child}function appendAllChildren(parent,workInProgress){for(var node=workInProgress.child;null!==node;){if(node.tag===HostComponent||node.tag===HostText)appendInitialChild(parent,node.stateNode);else if(node.tag===HostPortal);else if(null!==node.child){node.child.return=node,node=node.child;continue}if(node===workInProgress)return;for(;null===node.sibling;){if(null===node.return||node.return===workInProgress)return;node=node.return}node.sibling.return=node.return,node=node.sibling}}var updateHostContainer=void 0,updateHostComponent=void 0,updateHostText=void 0;if(mutation)enableMutatingReconciler?(updateHostContainer=function(workInProgress){},updateHostComponent=function(current,workInProgress,updatePayload,type,oldProps,newProps,rootContainerInstance){workInProgress.updateQueue=updatePayload,updatePayload&&markUpdate(workInProgress)},updateHostText=function(current,workInProgress,oldText,newText){oldText!==newText&&markUpdate(workInProgress)}):invariant(!1,"Mutating reconciler is disabled.");else if(persistence)if(enablePersistentReconciler){var cloneInstance=persistence.cloneInstance,createContainerChildSet=persistence.createContainerChildSet,appendChildToContainerChildSet=persistence.appendChildToContainerChildSet,finalizeContainerChildren=persistence.finalizeContainerChildren;updateHostContainer=function(workInProgress){var portalOrRoot=workInProgress.stateNode;if(null===workInProgress.firstEffect);else{var container=portalOrRoot.containerInfo,newChildSet=createContainerChildSet(container);finalizeContainerChildren(container,newChildSet)&&markUpdate(workInProgress),portalOrRoot.pendingChildren=newChildSet,function(containerChildSet,workInProgress){for(var node=workInProgress.child;null!==node;){if(node.tag===HostComponent||node.tag===HostText)appendChildToContainerChildSet(containerChildSet,node.stateNode);else if(node.tag===HostPortal);else if(null!==node.child){node.child.return=node,node=node.child;continue}if(node===workInProgress)return;for(;null===node.sibling;){if(null===node.return||node.return===workInProgress)return;node=node.return}node.sibling.return=node.return,node=node.sibling}}(newChildSet,workInProgress),markUpdate(workInProgress)}},updateHostComponent=function(current,workInProgress,updatePayload,type,oldProps,newProps,rootContainerInstance){var childrenUnchanged=null===workInProgress.firstEffect,currentInstance=current.stateNode;if(childrenUnchanged&&null===updatePayload)workInProgress.stateNode=currentInstance;else{var recyclableInstance=workInProgress.stateNode,newInstance=cloneInstance(currentInstance,updatePayload,type,oldProps,newProps,workInProgress,childrenUnchanged,recyclableInstance);finalizeInitialChildren(newInstance,type,newProps,rootContainerInstance)&&markUpdate(workInProgress),workInProgress.stateNode=newInstance,childrenUnchanged?markUpdate(workInProgress):appendAllChildren(newInstance,workInProgress)}},updateHostText=function(current,workInProgress,oldText,newText){if(oldText!==newText){var rootContainerInstance=getRootHostContainer(),currentHostContext=getHostContext();workInProgress.stateNode=createTextInstance(newText,rootContainerInstance,currentHostContext,workInProgress),markUpdate(workInProgress)}}}else invariant(!1,"Persistent reconciler is disabled.");else invariant(!1,"Noop reconciler is disabled.");return{completeWork:function(current,workInProgress,renderExpirationTime){var fiber,newProps=workInProgress.pendingProps;switch(null===newProps?newProps=workInProgress.memoizedProps:workInProgress.expirationTime===Never&&renderExpirationTime!==Never||(workInProgress.pendingProps=null),workInProgress.tag){case FunctionalComponent:return null;case ClassComponent:return popContextProvider(workInProgress),null;case HostRoot:popHostContainer(workInProgress),pop(didPerformWorkStackCursor,fiber=workInProgress),pop(contextStackCursor,fiber);var fiberRoot=workInProgress.stateNode;return fiberRoot.pendingContext&&(fiberRoot.context=fiberRoot.pendingContext,fiberRoot.pendingContext=null),null!==current&&null!==current.child||(popHydrationState(workInProgress),workInProgress.effectTag&=~Placement),updateHostContainer(workInProgress),null;case HostComponent:popHostContext(workInProgress);var rootContainerInstance=getRootHostContainer(),type=workInProgress.type;if(null!==current&&null!=workInProgress.stateNode){var oldProps=current.memoizedProps,instance=workInProgress.stateNode,currentHostContext=getHostContext(),updatePayload=prepareUpdate(instance,type,oldProps,newProps,rootContainerInstance,currentHostContext);updateHostComponent(current,workInProgress,updatePayload,type,oldProps,newProps,rootContainerInstance),current.ref!==workInProgress.ref&&markRef(workInProgress)}else{if(!newProps)return null===workInProgress.stateNode&&invariant(!1,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;var _currentHostContext=getHostContext();if(popHydrationState(workInProgress))prepareToHydrateHostInstance(workInProgress,rootContainerInstance,_currentHostContext)&&markUpdate(workInProgress);else{var _instance=createInstance(type,newProps,rootContainerInstance,_currentHostContext,workInProgress);appendAllChildren(_instance,workInProgress),finalizeInitialChildren(_instance,type,newProps,rootContainerInstance)&&markUpdate(workInProgress),workInProgress.stateNode=_instance}null!==workInProgress.ref&&markRef(workInProgress)}return null;case HostText:var newText=newProps;if(current&&null!=workInProgress.stateNode){var oldText=current.memoizedProps;updateHostText(current,workInProgress,oldText,newText)}else{if("string"!=typeof newText)return null===workInProgress.stateNode&&invariant(!1,"We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."),null;var _rootContainerInstance=getRootHostContainer(),_currentHostContext2=getHostContext();popHydrationState(workInProgress)?prepareToHydrateHostTextInstance(workInProgress)&&markUpdate(workInProgress):workInProgress.stateNode=createTextInstance(newText,_rootContainerInstance,_currentHostContext2,workInProgress)}return null;case CallComponent:return moveCallToHandlerPhase(current,workInProgress,renderExpirationTime);case CallHandlerPhase:return workInProgress.tag=CallComponent,null;case ReturnComponent:case Fragment:return null;case HostPortal:return popHostContainer(workInProgress),updateHostContainer(workInProgress),null;case IndeterminateComponent:invariant(!1,"An indeterminate component should have become determinate before completing. This error is likely caused by a bug in React. Please file an issue.");default:invariant(!1,"Unknown unit of work tag. This error is likely caused by a bug in React. Please file an issue.")}}}},invokeGuardedCallback$2=ReactErrorUtils.invokeGuardedCallback,hasCaughtError$1=ReactErrorUtils.hasCaughtError,clearCaughtError$1=ReactErrorUtils.clearCaughtError,ReactFiberCommitWork=function(config,captureError){var getPublicInstance=config.getPublicInstance,mutation=config.mutation,persistence=config.persistence,callComponentWillUnmountWithTimer=function(current,instance){startPhaseTimer(current,"componentWillUnmount"),instance.props=current.memoizedProps,instance.state=current.memoizedState,instance.componentWillUnmount(),stopPhaseTimer()};function safelyDetachRef(current){var ref=current.ref;if(null!==ref&&(invokeGuardedCallback$2(null,ref,null,null),hasCaughtError$1())){var refError=clearCaughtError$1();captureError(current,refError)}}function commitLifeCycles(current,finishedWork){switch(finishedWork.tag){case ClassComponent:var instance=finishedWork.stateNode;if(finishedWork.effectTag&Update)if(null===current)startPhaseTimer(finishedWork,"componentDidMount"),instance.props=finishedWork.memoizedProps,instance.state=finishedWork.memoizedState,instance.componentDidMount(),stopPhaseTimer();else{var prevProps=current.memoizedProps,prevState=current.memoizedState;startPhaseTimer(finishedWork,"componentDidUpdate"),instance.props=finishedWork.memoizedProps,instance.state=finishedWork.memoizedState,instance.componentDidUpdate(prevProps,prevState),stopPhaseTimer()}var updateQueue=finishedWork.updateQueue;return void(null!==updateQueue&&commitCallbacks(updateQueue,instance));case HostRoot:var _updateQueue=finishedWork.updateQueue;if(null!==_updateQueue)commitCallbacks(_updateQueue,null!==finishedWork.child?finishedWork.child.stateNode:null);return;case HostComponent:var _instance2=finishedWork.stateNode;if(null===current&&finishedWork.effectTag&Update){var type=finishedWork.type,props=finishedWork.memoizedProps;commitMount(_instance2,type,props,finishedWork)}return;case HostText:case HostPortal:return;default:invariant(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}function commitAttachRef(finishedWork){var ref=finishedWork.ref;if(null!==ref){var instance=finishedWork.stateNode;switch(finishedWork.tag){case HostComponent:ref(getPublicInstance(instance));break;default:ref(instance)}}}function commitDetachRef(current){var currentRef=current.ref;null!==currentRef&&currentRef(null)}function commitUnmount(current){switch(onCommitUnmount(current),current.tag){case ClassComponent:safelyDetachRef(current);var instance=current.stateNode;return void("function"==typeof instance.componentWillUnmount&&function(current,instance){if(invokeGuardedCallback$2(null,callComponentWillUnmountWithTimer,null,current,instance),hasCaughtError$1()){var unmountError=clearCaughtError$1();captureError(current,unmountError)}}(current,instance));case HostComponent:return void safelyDetachRef(current);case CallComponent:return void commitNestedUnmounts(current.stateNode);case HostPortal:return void(enableMutatingReconciler&&mutation?unmountHostComponents(current):enablePersistentReconciler&&persistence&&emptyPortalContainer(current))}}function commitNestedUnmounts(root){for(var node=root;;)if(commitUnmount(node),null===node.child||mutation&&node.tag===HostPortal){if(node===root)return;for(;null===node.sibling;){if(null===node.return||node.return===root)return;node=node.return}node.sibling.return=node.return,node=node.sibling}else node.child.return=node,node=node.child}function detachFiber(current){current.return=null,current.child=null,current.alternate&&(current.alternate.child=null,current.alternate.return=null)}if(!mutation){var commitContainer=void 0;if(persistence){var replaceContainerChildren=persistence.replaceContainerChildren,createContainerChildSet=persistence.createContainerChildSet,emptyPortalContainer=function(current){var containerInfo=current.stateNode.containerInfo,emptyChildSet=createContainerChildSet(containerInfo);replaceContainerChildren(containerInfo,emptyChildSet)};commitContainer=function(finishedWork){switch(finishedWork.tag){case ClassComponent:case HostComponent:case HostText:return;case HostRoot:case HostPortal:var portalOrRoot=finishedWork.stateNode,containerInfo=portalOrRoot.containerInfo,_pendingChildren=portalOrRoot.pendingChildren;return void replaceContainerChildren(containerInfo,_pendingChildren);default:invariant(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}}}else commitContainer=function(finishedWork){};if(enablePersistentReconciler)return{commitResetTextContent:function(finishedWork){},commitPlacement:function(finishedWork){},commitDeletion:function(current){commitNestedUnmounts(current),detachFiber(current)},commitWork:function(current,finishedWork){commitContainer(finishedWork)},commitLifeCycles:commitLifeCycles,commitAttachRef:commitAttachRef,commitDetachRef:commitDetachRef};invariant(!1,persistence?"Persistent reconciler is disabled.":"Noop reconciler is disabled.")}var commitMount=mutation.commitMount,commitUpdate=mutation.commitUpdate,resetTextContent=mutation.resetTextContent,commitTextUpdate=mutation.commitTextUpdate,appendChild=mutation.appendChild,appendChildToContainer=mutation.appendChildToContainer,insertBefore=mutation.insertBefore,insertInContainerBefore=mutation.insertInContainerBefore,removeChild=mutation.removeChild,removeChildFromContainer=mutation.removeChildFromContainer;function isHostParent(fiber){return fiber.tag===HostComponent||fiber.tag===HostRoot||fiber.tag===HostPortal}function unmountHostComponents(current){for(var node=current,currentParentIsValid=!1,currentParent=void 0,currentParentIsContainer=void 0;;){if(!currentParentIsValid){var parent=node.return;findParent:for(;;){switch(null===parent&&invariant(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."),parent.tag){case HostComponent:currentParent=parent.stateNode,currentParentIsContainer=!1;break findParent;case HostRoot:case HostPortal:currentParent=parent.stateNode.containerInfo,currentParentIsContainer=!0;break findParent}parent=parent.return}currentParentIsValid=!0}if(node.tag===HostComponent||node.tag===HostText)commitNestedUnmounts(node),currentParentIsContainer?removeChildFromContainer(currentParent,node.stateNode):removeChild(currentParent,node.stateNode);else if(node.tag===HostPortal){if(currentParent=node.stateNode.containerInfo,null!==node.child){node.child.return=node,node=node.child;continue}}else if(commitUnmount(node),null!==node.child){node.child.return=node,node=node.child;continue}if(node===current)return;for(;null===node.sibling;){if(null===node.return||node.return===current)return;(node=node.return).tag===HostPortal&&(currentParentIsValid=!1)}node.sibling.return=node.return,node=node.sibling}}if(enableMutatingReconciler)return{commitResetTextContent:function(current){resetTextContent(current.stateNode)},commitPlacement:function(finishedWork){var parentFiber=function(fiber){for(var parent=fiber.return;null!==parent;){if(isHostParent(parent))return parent;parent=parent.return}invariant(!1,"Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(finishedWork),parent=void 0,isContainer=void 0;switch(parentFiber.tag){case HostComponent:parent=parentFiber.stateNode,isContainer=!1;break;case HostRoot:case HostPortal:parent=parentFiber.stateNode.containerInfo,isContainer=!0;break;default:invariant(!1,"Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}parentFiber.effectTag&ContentReset&&(resetTextContent(parent),parentFiber.effectTag&=~ContentReset);for(var before=function(fiber){var node=fiber;siblings:for(;;){for(;null===node.sibling;){if(null===node.return||isHostParent(node.return))return null;node=node.return}for(node.sibling.return=node.return,node=node.sibling;node.tag!==HostComponent&&node.tag!==HostText;){if(node.effectTag&Placement)continue siblings;if(null===node.child||node.tag===HostPortal)continue siblings;node.child.return=node,node=node.child}if(!(node.effectTag&Placement))return node.stateNode}}(finishedWork),node=finishedWork;;){if(node.tag===HostComponent||node.tag===HostText)before?isContainer?insertInContainerBefore(parent,node.stateNode,before):insertBefore(parent,node.stateNode,before):isContainer?appendChildToContainer(parent,node.stateNode):appendChild(parent,node.stateNode);else if(node.tag===HostPortal);else if(null!==node.child){node.child.return=node,node=node.child;continue}if(node===finishedWork)return;for(;null===node.sibling;){if(null===node.return||node.return===finishedWork)return;node=node.return}node.sibling.return=node.return,node=node.sibling}},commitDeletion:function(current){unmountHostComponents(current),detachFiber(current)},commitWork:function(current,finishedWork){switch(finishedWork.tag){case ClassComponent:return;case HostComponent:var instance=finishedWork.stateNode;if(null!=instance){var newProps=finishedWork.memoizedProps,oldProps=null!==current?current.memoizedProps:newProps,type=finishedWork.type,updatePayload=finishedWork.updateQueue;finishedWork.updateQueue=null,null!==updatePayload&&commitUpdate(instance,updatePayload,type,oldProps,newProps,finishedWork)}return;case HostText:null===finishedWork.stateNode&&invariant(!1,"This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var textInstance=finishedWork.stateNode,newText=finishedWork.memoizedProps,oldText=null!==current?current.memoizedProps:newText;return void commitTextUpdate(textInstance,oldText,newText);case HostRoot:return;default:invariant(!1,"This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}},commitLifeCycles:commitLifeCycles,commitAttachRef:commitAttachRef,commitDetachRef:commitDetachRef};invariant(!1,"Mutating reconciler is disabled.")},NO_CONTEXT={},ReactFiberHydrationContext=function(config){var shouldSetTextContent=config.shouldSetTextContent,hydration=config.hydration;if(!hydration)return{enterHydrationState:function(){return!1},resetHydrationState:function(){},tryToClaimNextHydratableInstance:function(){},prepareToHydrateHostInstance:function(){invariant(!1,"Expected prepareToHydrateHostInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.")},prepareToHydrateHostTextInstance:function(){invariant(!1,"Expected prepareToHydrateHostTextInstance() to never be called. This error is likely caused by a bug in React. Please file an issue.")},popHydrationState:function(fiber){return!1}};var canHydrateInstance=hydration.canHydrateInstance,canHydrateTextInstance=hydration.canHydrateTextInstance,getNextHydratableSibling=hydration.getNextHydratableSibling,getFirstHydratableChild=hydration.getFirstHydratableChild,hydrateInstance=hydration.hydrateInstance,hydrateTextInstance=hydration.hydrateTextInstance,didNotMatchHydratedContainerTextInstance=hydration.didNotMatchHydratedContainerTextInstance,didNotMatchHydratedTextInstance=hydration.didNotMatchHydratedTextInstance,didNotHydrateContainerInstance=hydration.didNotHydrateContainerInstance,didNotHydrateInstance=hydration.didNotHydrateInstance,didNotFindHydratableContainerInstance=hydration.didNotFindHydratableContainerInstance,didNotFindHydratableContainerTextInstance=hydration.didNotFindHydratableContainerTextInstance,didNotFindHydratableInstance=hydration.didNotFindHydratableInstance,didNotFindHydratableTextInstance=hydration.didNotFindHydratableTextInstance,hydrationParentFiber=null,nextHydratableInstance=null,isHydrating=!1;function deleteHydratableInstance(returnFiber,instance){switch(returnFiber.tag){case HostRoot:didNotHydrateContainerInstance(returnFiber.stateNode.containerInfo,instance);break;case HostComponent:didNotHydrateInstance(returnFiber.type,returnFiber.memoizedProps,returnFiber.stateNode,instance)}var fiber,childToDelete=((fiber=createFiber(HostComponent,null,NoContext)).type="DELETED",fiber);childToDelete.stateNode=instance,childToDelete.return=returnFiber,childToDelete.effectTag=Deletion,null!==returnFiber.lastEffect?(returnFiber.lastEffect.nextEffect=childToDelete,returnFiber.lastEffect=childToDelete):returnFiber.firstEffect=returnFiber.lastEffect=childToDelete}function insertNonHydratedInstance(returnFiber,fiber){switch(fiber.effectTag|=Placement,returnFiber.tag){case HostRoot:var parentContainer=returnFiber.stateNode.containerInfo;switch(fiber.tag){case HostComponent:var type=fiber.type,props=fiber.pendingProps;didNotFindHydratableContainerInstance(parentContainer,type,props);break;case HostText:var text=fiber.pendingProps;didNotFindHydratableContainerTextInstance(parentContainer,text)}break;case HostComponent:var parentType=returnFiber.type,parentProps=returnFiber.memoizedProps,parentInstance=returnFiber.stateNode;switch(fiber.tag){case HostComponent:var _type=fiber.type,_props=fiber.pendingProps;didNotFindHydratableInstance(parentType,parentProps,parentInstance,_type,_props);break;case HostText:var _text=fiber.pendingProps;didNotFindHydratableTextInstance(parentType,parentProps,parentInstance,_text)}break;default:return}}function tryHydrate(fiber,nextInstance){switch(fiber.tag){case HostComponent:var type=fiber.type,props=fiber.pendingProps,instance=canHydrateInstance(nextInstance,type,props);return null!==instance&&(fiber.stateNode=instance,!0);case HostText:var text=fiber.pendingProps,textInstance=canHydrateTextInstance(nextInstance,text);return null!==textInstance&&(fiber.stateNode=textInstance,!0);default:return!1}}function popToNextHostParent(fiber){for(var parent=fiber.return;null!==parent&&parent.tag!==HostComponent&&parent.tag!==HostRoot;)parent=parent.return;hydrationParentFiber=parent}return{enterHydrationState:function(fiber){var parentInstance=fiber.stateNode.containerInfo;return nextHydratableInstance=getFirstHydratableChild(parentInstance),hydrationParentFiber=fiber,isHydrating=!0,!0},resetHydrationState:function(){hydrationParentFiber=null,nextHydratableInstance=null,isHydrating=!1},tryToClaimNextHydratableInstance:function(fiber){if(isHydrating){var nextInstance=nextHydratableInstance;if(!nextInstance)return insertNonHydratedInstance(hydrationParentFiber,fiber),isHydrating=!1,void(hydrationParentFiber=fiber);if(!tryHydrate(fiber,nextInstance)){if(!(nextInstance=getNextHydratableSibling(nextInstance))||!tryHydrate(fiber,nextInstance))return insertNonHydratedInstance(hydrationParentFiber,fiber),isHydrating=!1,void(hydrationParentFiber=fiber);deleteHydratableInstance(hydrationParentFiber,nextHydratableInstance)}hydrationParentFiber=fiber,nextHydratableInstance=getFirstHydratableChild(nextInstance)}},prepareToHydrateHostInstance:function(fiber,rootContainerInstance,hostContext){var instance=fiber.stateNode,updatePayload=hydrateInstance(instance,fiber.type,fiber.memoizedProps,rootContainerInstance,hostContext,fiber);return fiber.updateQueue=updatePayload,null!==updatePayload},prepareToHydrateHostTextInstance:function(fiber){var textInstance=fiber.stateNode,textContent=fiber.memoizedProps,shouldUpdate=hydrateTextInstance(textInstance,textContent,fiber);if(shouldUpdate){var returnFiber=hydrationParentFiber;if(null!==returnFiber)switch(returnFiber.tag){case HostRoot:var parentContainer=returnFiber.stateNode.containerInfo;didNotMatchHydratedContainerTextInstance(parentContainer,textInstance,textContent);break;case HostComponent:var parentType=returnFiber.type,parentProps=returnFiber.memoizedProps,parentInstance=returnFiber.stateNode;didNotMatchHydratedTextInstance(parentType,parentProps,parentInstance,textInstance,textContent)}}return shouldUpdate},popHydrationState:function(fiber){if(fiber!==hydrationParentFiber)return!1;if(!isHydrating)return popToNextHostParent(fiber),isHydrating=!0,!1;var type=fiber.type;if(fiber.tag!==HostComponent||"head"!==type&&"body"!==type&&!shouldSetTextContent(type,fiber.memoizedProps))for(var nextInstance=nextHydratableInstance;nextInstance;)deleteHydratableInstance(fiber,nextInstance),nextInstance=getNextHydratableSibling(nextInstance);return popToNextHostParent(fiber),nextHydratableInstance=hydrationParentFiber?getNextHydratableSibling(fiber.stateNode):null,!0}}},ReactFiberInstrumentation_1={debugTool:null},showDialog=function(capturedError){return!0};var invokeGuardedCallback$1=ReactErrorUtils.invokeGuardedCallback,hasCaughtError=ReactErrorUtils.hasCaughtError,clearCaughtError=ReactErrorUtils.clearCaughtError,didWarnAboutStateTransition=!1,didWarnSetStateChildContext=!1,didWarnStateUpdateForUnmountedComponent={},warnAboutUpdateOnUnmounted=function(fiber){var componentName=getComponentName(fiber)||"ReactClass";didWarnStateUpdateForUnmountedComponent[componentName]||(warning(!1,"Can only update a mounted or mounting component. This usually means you called setState, replaceState, or forceUpdate on an unmounted component. This is a no-op.\n\nPlease check the code for the %s component.",componentName),didWarnStateUpdateForUnmountedComponent[componentName]=!0)},warnAboutInvalidUpdates=function(instance){switch(ReactDebugCurrentFiber.phase){case"getChildContext":if(didWarnSetStateChildContext)return;warning(!1,"setState(...): Cannot call setState() inside getChildContext()"),didWarnSetStateChildContext=!0;break;case"render":if(didWarnAboutStateTransition)return;warning(!1,"Cannot update during an existing state transition (such as within `render` or another component's constructor). Render methods should be a pure function of props and state; constructor side-effects are an anti-pattern, but can be moved to `componentWillMount`."),didWarnAboutStateTransition=!0}},ReactFiberScheduler=function(config){var hostContext=function(config){var getChildHostContext=config.getChildHostContext,getRootHostContext=config.getRootHostContext,contextStackCursor=createCursor(NO_CONTEXT),contextFiberStackCursor=createCursor(NO_CONTEXT),rootInstanceStackCursor=createCursor(NO_CONTEXT);function requiredContext(c){return c===NO_CONTEXT&&invariant(!1,"Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."),c}return{getHostContext:function(){return requiredContext(contextStackCursor.current)},getRootHostContainer:function(){return requiredContext(rootInstanceStackCursor.current)},popHostContainer:function(fiber){pop(contextStackCursor,fiber),pop(contextFiberStackCursor,fiber),pop(rootInstanceStackCursor,fiber)},popHostContext:function(fiber){contextFiberStackCursor.current===fiber&&(pop(contextStackCursor,fiber),pop(contextFiberStackCursor,fiber))},pushHostContainer:function(fiber,nextRootInstance){push(rootInstanceStackCursor,nextRootInstance,fiber);var nextRootContext=getRootHostContext(nextRootInstance);push(contextFiberStackCursor,fiber,fiber),push(contextStackCursor,nextRootContext,fiber)},pushHostContext:function(fiber){var rootInstance=requiredContext(rootInstanceStackCursor.current),context=requiredContext(contextStackCursor.current),nextContext=getChildHostContext(context,fiber.type,rootInstance);context!==nextContext&&(push(contextFiberStackCursor,fiber,fiber),push(contextStackCursor,nextContext,fiber))},resetHostContainer:function(){contextStackCursor.current=NO_CONTEXT,rootInstanceStackCursor.current=NO_CONTEXT}}}(config),hydrationContext=ReactFiberHydrationContext(config),popHostContainer=hostContext.popHostContainer,popHostContext=hostContext.popHostContext,resetHostContainer=hostContext.resetHostContainer,_ReactFiberBeginWork=ReactFiberBeginWork(config,hostContext,hydrationContext,scheduleWork,computeExpirationForFiber),beginWork=_ReactFiberBeginWork.beginWork,beginFailedWork=_ReactFiberBeginWork.beginFailedWork,completeWork=ReactFiberCompleteWork(config,hostContext,hydrationContext).completeWork,_ReactFiberCommitWork=ReactFiberCommitWork(config,captureError),commitResetTextContent=_ReactFiberCommitWork.commitResetTextContent,commitPlacement=_ReactFiberCommitWork.commitPlacement,commitDeletion=_ReactFiberCommitWork.commitDeletion,commitWork=_ReactFiberCommitWork.commitWork,commitLifeCycles=_ReactFiberCommitWork.commitLifeCycles,commitAttachRef=_ReactFiberCommitWork.commitAttachRef,commitDetachRef=_ReactFiberCommitWork.commitDetachRef,now=config.now,scheduleDeferredCallback=config.scheduleDeferredCallback,cancelDeferredCallback=config.cancelDeferredCallback,useSyncScheduling=config.useSyncScheduling,prepareForCommit=config.prepareForCommit,resetAfterCommit=config.resetAfterCommit,startTime=now(),mostRecentCurrentTime=msToExpirationTime(0),expirationContext=NoWork,isWorking=!1,nextUnitOfWork=null,nextRoot=null,nextRenderExpirationTime=NoWork,nextEffect=null,capturedErrors=null,failedBoundaries=null,commitPhaseBoundaries=null,firstUncaughtError=null,didFatal=!1,isCommitting=!1,isUnmounting=!1,interruptedBy=null;function resetContextStack(){!function(){for(;index>-1;)valueStack[index]=null,fiberStack[index]=null,index--}(),previousContext=emptyObject,contextStackCursor.current=emptyObject,didPerformWorkStackCursor.current=!1,resetHostContainer()}function commitAllHostEffects(){for(;null!==nextEffect;){ReactDebugCurrentFiber.setCurrentFiber(nextEffect),recordEffect();var effectTag=nextEffect.effectTag;if(effectTag&ContentReset&&commitResetTextContent(nextEffect),effectTag&Ref){var current=nextEffect.alternate;null!==current&&commitDetachRef(current)}switch(effectTag&~(Callback|Err|ContentReset|Ref|PerformedWork)){case Placement:commitPlacement(nextEffect),nextEffect.effectTag&=~Placement;break;case PlacementAndUpdate:commitPlacement(nextEffect),nextEffect.effectTag&=~Placement;var _current=nextEffect.alternate;commitWork(_current,nextEffect);break;case Update:var _current2=nextEffect.alternate;commitWork(_current2,nextEffect);break;case Deletion:isUnmounting=!0,commitDeletion(nextEffect),isUnmounting=!1}nextEffect=nextEffect.nextEffect}ReactDebugCurrentFiber.resetCurrentFiber()}function commitAllLifeCycles(){for(;null!==nextEffect;){var effectTag=nextEffect.effectTag;if(effectTag&(Update|Callback)){recordEffect();var current=nextEffect.alternate;commitLifeCycles(current,nextEffect)}effectTag&Ref&&(recordEffect(),commitAttachRef(nextEffect)),effectTag&Err&&(recordEffect(),commitErrorHandling(nextEffect));var next=nextEffect.nextEffect;nextEffect.nextEffect=null,nextEffect=next}}function commitRoot(finishedWork){isWorking=!0,isCommitting=!0,startCommitTimer();var root=finishedWork.stateNode;root.current===finishedWork&&invariant(!1,"Cannot commit the same tree as before. This is probably a bug related to the return field. This error is likely caused by a bug in React. Please file an issue."),root.isReadyForCommit=!1,ReactCurrentOwner.current=null;var firstEffect=void 0;for(finishedWork.effectTag>PerformedWork?null!==finishedWork.lastEffect?(finishedWork.lastEffect.nextEffect=finishedWork,firstEffect=finishedWork.firstEffect):firstEffect=finishedWork:firstEffect=finishedWork.firstEffect,prepareForCommit(),nextEffect=firstEffect,function(){if(enableUserTimingAPI){if(!supportsUserTiming)return;effectCountInCurrentCommit=0,beginMark("(Committing Host Effects)")}}();null!==nextEffect;){var didError=!1,_error=void 0;invokeGuardedCallback$1(null,commitAllHostEffects,null),hasCaughtError()&&(didError=!0,_error=clearCaughtError()),didError&&(null===nextEffect&&invariant(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),captureError(nextEffect,_error),null!==nextEffect&&(nextEffect=nextEffect.nextEffect))}for(!function(){if(enableUserTimingAPI){if(!supportsUserTiming)return;var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Committing Host Effects: "+count+" Total)","(Committing Host Effects)",null)}}(),resetAfterCommit(),root.current=finishedWork,nextEffect=firstEffect,function(){if(enableUserTimingAPI){if(!supportsUserTiming)return;effectCountInCurrentCommit=0,beginMark("(Calling Lifecycle Methods)")}}();null!==nextEffect;){var _didError=!1,_error2=void 0;invokeGuardedCallback$1(null,commitAllLifeCycles,null),hasCaughtError()&&(_didError=!0,_error2=clearCaughtError()),_didError&&(null===nextEffect&&invariant(!1,"Should have next effect. This error is likely caused by a bug in React. Please file an issue."),captureError(nextEffect,_error2),null!==nextEffect&&(nextEffect=nextEffect.nextEffect))}if(isCommitting=!1,isWorking=!1,function(){if(enableUserTimingAPI){if(!supportsUserTiming)return;var count=effectCountInCurrentCommit;effectCountInCurrentCommit=0,endMark("(Calling Lifecycle Methods: "+count+" Total)","(Calling Lifecycle Methods)",null)}}(),stopCommitTimer(),onCommitRoot(finishedWork.stateNode),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onCommitWork(finishedWork),commitPhaseBoundaries&&(commitPhaseBoundaries.forEach(scheduleErrorRecovery),commitPhaseBoundaries=null),null!==firstUncaughtError){var _error3=firstUncaughtError;firstUncaughtError=null,onUncaughtError(_error3)}var remainingTime=root.current.expirationTime;return remainingTime===NoWork&&(capturedErrors=null,failedBoundaries=null),remainingTime}function resetExpirationTime(workInProgress,renderTime){if(renderTime===Never||workInProgress.expirationTime!==Never){for(var newExpirationTime=function(fiber){if(fiber.tag!==ClassComponent&&fiber.tag!==HostRoot)return NoWork;var updateQueue=fiber.updateQueue;return null===updateQueue?NoWork:updateQueue.expirationTime}(workInProgress),child=workInProgress.child;null!==child;)child.expirationTime!==NoWork&&(newExpirationTime===NoWork||newExpirationTime>child.expirationTime)&&(newExpirationTime=child.expirationTime),child=child.sibling;workInProgress.expirationTime=newExpirationTime}}function completeUnitOfWork(workInProgress){for(;;){var current=workInProgress.alternate;ReactDebugCurrentFiber.setCurrentFiber(workInProgress);var next=completeWork(current,workInProgress,nextRenderExpirationTime);ReactDebugCurrentFiber.resetCurrentFiber();var returnFiber=workInProgress.return,siblingFiber=workInProgress.sibling;if(resetExpirationTime(workInProgress,nextRenderExpirationTime),null!==next)return stopWorkTimer(workInProgress),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onCompleteWork(workInProgress),next;if(null!==returnFiber)null===returnFiber.firstEffect&&(returnFiber.firstEffect=workInProgress.firstEffect),null!==workInProgress.lastEffect&&(null!==returnFiber.lastEffect&&(returnFiber.lastEffect.nextEffect=workInProgress.firstEffect),returnFiber.lastEffect=workInProgress.lastEffect),workInProgress.effectTag>PerformedWork&&(null!==returnFiber.lastEffect?returnFiber.lastEffect.nextEffect=workInProgress:returnFiber.firstEffect=workInProgress,returnFiber.lastEffect=workInProgress);if(stopWorkTimer(workInProgress),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onCompleteWork(workInProgress),null!==siblingFiber)return siblingFiber;if(null===returnFiber)return workInProgress.stateNode.isReadyForCommit=!0,null;workInProgress=returnFiber}return null}function performUnitOfWork(workInProgress){var current=workInProgress.alternate;startWorkTimer(workInProgress),ReactDebugCurrentFiber.setCurrentFiber(workInProgress);var next=beginWork(current,workInProgress,nextRenderExpirationTime);return ReactDebugCurrentFiber.resetCurrentFiber(),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onBeginWork(workInProgress),null===next&&(next=completeUnitOfWork(workInProgress)),ReactCurrentOwner.current=null,next}function performFailedUnitOfWork(workInProgress){var current=workInProgress.alternate;startWorkTimer(workInProgress),ReactDebugCurrentFiber.setCurrentFiber(workInProgress);var next=beginFailedWork(current,workInProgress,nextRenderExpirationTime);return ReactDebugCurrentFiber.resetCurrentFiber(),ReactFiberInstrumentation_1.debugTool&&ReactFiberInstrumentation_1.debugTool.onBeginWork(workInProgress),null===next&&(next=completeUnitOfWork(workInProgress)),ReactCurrentOwner.current=null,next}function workLoop(expirationTime){if(null===capturedErrors){if(!(nextRenderExpirationTime===NoWork||nextRenderExpirationTime>expirationTime))if(nextRenderExpirationTime<=mostRecentCurrentTime)for(;null!==nextUnitOfWork;)nextUnitOfWork=performUnitOfWork(nextUnitOfWork);else for(;null!==nextUnitOfWork&&!shouldYield();)nextUnitOfWork=performUnitOfWork(nextUnitOfWork)}else!function(expirationTime){if(nextRenderExpirationTime===NoWork||nextRenderExpirationTime>expirationTime)return;if(nextRenderExpirationTime<=mostRecentCurrentTime)for(;null!==nextUnitOfWork;)nextUnitOfWork=hasCapturedError(nextUnitOfWork)?performFailedUnitOfWork(nextUnitOfWork):performUnitOfWork(nextUnitOfWork);else for(;null!==nextUnitOfWork&&!shouldYield();)nextUnitOfWork=hasCapturedError(nextUnitOfWork)?performFailedUnitOfWork(nextUnitOfWork):performUnitOfWork(nextUnitOfWork)}(expirationTime)}function renderRootCatchBlock(root,failedWork,boundary,expirationTime){!function(from,to){var node=from;for(;null!==node;){switch(node.tag){case ClassComponent:popContextProvider(node);break;case HostComponent:popHostContext(node);break;case HostRoot:case HostPortal:popHostContainer(node)}if(node===to||node.alternate===to){stopFailedWorkTimer(node);break}stopWorkTimer(node),node=node.return}}(failedWork,boundary),nextUnitOfWork=performFailedUnitOfWork(boundary),workLoop(expirationTime)}function renderRoot(root,expirationTime){isWorking&&invariant(!1,"renderRoot was called recursively. This error is likely caused by a bug in React. Please file an issue."),isWorking=!0,root.isReadyForCommit=!1,root===nextRoot&&expirationTime===nextRenderExpirationTime&&null!==nextUnitOfWork||(resetContextStack(),nextRenderExpirationTime=expirationTime,nextUnitOfWork=createWorkInProgress((nextRoot=root).current,null,expirationTime)),function(nextUnitOfWork){if(enableUserTimingAPI){if(currentFiber=nextUnitOfWork,!supportsUserTiming)return;commitCountInCurrentWorkLoop=0,beginMark("(React Tree Reconciliation)"),resumeTimers()}}(nextUnitOfWork);var didError=!1,error=null;for(invokeGuardedCallback$1(null,workLoop,null,expirationTime),hasCaughtError()&&(didError=!0,error=clearCaughtError());didError;){if(didFatal){firstUncaughtError=error;break}var failedWork=nextUnitOfWork;if(null!==failedWork){var boundary=captureError(failedWork,error);if(null===boundary&&invariant(!1,"Should have found an error boundary. This error is likely caused by a bug in React. Please file an issue."),!didFatal){if(didError=!1,error=null,invokeGuardedCallback$1(null,renderRootCatchBlock,null,root,failedWork,boundary,expirationTime),!hasCaughtError())break;didError=!0,error=clearCaughtError()}}else didFatal=!0}var uncaughtError=firstUncaughtError;return function(interruptedBy){if(enableUserTimingAPI){if(!supportsUserTiming)return;var warning$$1=null;null!==interruptedBy?warning$$1=interruptedBy.tag===HostRoot?"A top-level update interrupted the previous render":"An update to "+(getComponentName(interruptedBy)||"Unknown")+" interrupted the previous render":commitCountInCurrentWorkLoop>1&&(warning$$1="There were cascading updates"),commitCountInCurrentWorkLoop=0,pauseTimers(),endMark("(React Tree Reconciliation)","(React Tree Reconciliation)",warning$$1)}}(interruptedBy),interruptedBy=null,isWorking=!1,didFatal=!1,firstUncaughtError=null,null!==uncaughtError&&onUncaughtError(uncaughtError),root.isReadyForCommit?root.current.alternate:null}function captureError(failedWork,error){ReactCurrentOwner.current=null,ReactDebugCurrentFiber.resetCurrentFiber();var boundary=null,errorBoundaryFound=!1,willRetry=!1,errorBoundaryName=null;if(failedWork.tag===HostRoot)boundary=failedWork,isFailedBoundary(failedWork)&&(didFatal=!0);else for(var node=failedWork.return;null!==node&&null===boundary;){if(node.tag===ClassComponent)"function"==typeof node.stateNode.componentDidCatch&&(errorBoundaryFound=!0,errorBoundaryName=getComponentName(node),boundary=node,willRetry=!0);else node.tag===HostRoot&&(boundary=node);if(isFailedBoundary(node)){if(isUnmounting)return null;if(null!==commitPhaseBoundaries&&(commitPhaseBoundaries.has(node)||null!==node.alternate&&commitPhaseBoundaries.has(node.alternate)))return null;boundary=null,willRetry=!1}node=node.return}if(null!==boundary){null===failedBoundaries&&(failedBoundaries=new Set),failedBoundaries.add(boundary);var _componentStack=getStackAddendumByWorkInProgressFiber(failedWork),_componentName=getComponentName(failedWork);null===capturedErrors&&(capturedErrors=new Map);var capturedError={componentName:_componentName,componentStack:_componentStack,error:error,errorBoundary:errorBoundaryFound?boundary.stateNode:null,errorBoundaryFound:errorBoundaryFound,errorBoundaryName:errorBoundaryName,willRetry:willRetry};capturedErrors.set(boundary,capturedError);try{!function(capturedError){if(!1!==showDialog(capturedError)){var error=capturedError.error;if(!error||!error.suppressReactErrorLogging){var componentName=capturedError.componentName,componentStack=capturedError.componentStack,errorBoundaryName=capturedError.errorBoundaryName,errorBoundaryFound=capturedError.errorBoundaryFound,willRetry=capturedError.willRetry,combinedMessage=(componentName?"The above error occurred in the <"+componentName+"> component:":"The above error occurred in one of your React components:")+componentStack+"\n\n"+(errorBoundaryFound&&errorBoundaryName?willRetry?"React will try to recreate this component tree from scratch using the error boundary you provided, "+errorBoundaryName+".":"This error was initially handled by the error boundary "+errorBoundaryName+".\nRecreating the tree from scratch failed so React will unmount the tree.":"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://fb.me/react-error-boundaries to learn more about error boundaries.");console.error(combinedMessage)}}}(capturedError)}catch(e){e&&e.suppressReactErrorLogging||console.error(e)}return isCommitting?(null===commitPhaseBoundaries&&(commitPhaseBoundaries=new Set),commitPhaseBoundaries.add(boundary)):scheduleErrorRecovery(boundary),boundary}return null===firstUncaughtError&&(firstUncaughtError=error),null}function hasCapturedError(fiber){return null!==capturedErrors&&(capturedErrors.has(fiber)||null!==fiber.alternate&&capturedErrors.has(fiber.alternate))}function isFailedBoundary(fiber){return null!==failedBoundaries&&(failedBoundaries.has(fiber)||null!==fiber.alternate&&failedBoundaries.has(fiber.alternate))}function commitErrorHandling(effectfulFiber){var capturedError=void 0;switch(null!==capturedErrors&&(capturedError=capturedErrors.get(effectfulFiber),capturedErrors.delete(effectfulFiber),null==capturedError&&null!==effectfulFiber.alternate&&(effectfulFiber=effectfulFiber.alternate,capturedError=capturedErrors.get(effectfulFiber),capturedErrors.delete(effectfulFiber))),null==capturedError&&invariant(!1,"No error for given unit of work. This error is likely caused by a bug in React. Please file an issue."),effectfulFiber.tag){case ClassComponent:var instance=effectfulFiber.stateNode,info={componentStack:capturedError.componentStack};return void instance.componentDidCatch(capturedError.error,info);case HostRoot:return void(null===firstUncaughtError&&(firstUncaughtError=capturedError.error));default:invariant(!1,"Invalid type of work. This error is likely caused by a bug in React. Please file an issue.")}}function computeAsyncExpiration(){return function(currentTime,expirationInMs,bucketSizeMs){return(1+((currentTime+expirationInMs/UNIT_SIZE)/(precision=bucketSizeMs/UNIT_SIZE)|0))*precision;var precision}(recalculateCurrentTime(),1e3,200)}function computeExpirationForFiber(fiber){return expirationContext!==NoWork?expirationContext:isWorking?isCommitting?Sync:nextRenderExpirationTime:!useSyncScheduling||fiber.internalContextTag&AsyncUpdates?computeAsyncExpiration():Sync}function scheduleWork(fiber,expirationTime){return scheduleWorkImpl(fiber,expirationTime,!1)}function checkRootNeedsClearing(root,fiber,expirationTime){!isWorking&&root===nextRoot&&expirationTime<nextRenderExpirationTime&&(null!==nextUnitOfWork&&(interruptedBy=fiber),nextRoot=null,nextUnitOfWork=null,nextRenderExpirationTime=NoWork)}function scheduleWorkImpl(fiber,expirationTime,isErrorRecovery){if(recordScheduleUpdate(),!isErrorRecovery&&fiber.tag===ClassComponent){var instance=fiber.stateNode;warnAboutInvalidUpdates(instance)}for(var node=fiber;null!==node;){if((node.expirationTime===NoWork||node.expirationTime>expirationTime)&&(node.expirationTime=expirationTime),null!==node.alternate&&(node.alternate.expirationTime===NoWork||node.alternate.expirationTime>expirationTime)&&(node.alternate.expirationTime=expirationTime),null===node.return){if(node.tag!==HostRoot)return void(isErrorRecovery||fiber.tag!==ClassComponent||warnAboutUpdateOnUnmounted(fiber));var root=node.stateNode;checkRootNeedsClearing(root,fiber,expirationTime),requestWork(root,expirationTime),checkRootNeedsClearing(root,fiber,expirationTime)}node=node.return}}function scheduleErrorRecovery(fiber){scheduleWorkImpl(fiber,Sync,!0)}function recalculateCurrentTime(){var ms=now()-startTime;return mostRecentCurrentTime=msToExpirationTime(ms)}var firstScheduledRoot=null,lastScheduledRoot=null,callbackExpirationTime=NoWork,callbackID=-1,isRendering=!1,nextFlushedRoot=null,nextFlushedExpirationTime=NoWork,deadlineDidExpire=!1,hasUnhandledError=!1,unhandledError=null,deadline=null,isBatchingUpdates=!1,isUnbatchingUpdates=!1,NESTED_UPDATE_LIMIT=1e3,nestedUpdateCount=0,timeHeuristicForUnitOfWork=1;function scheduleCallbackWithExpiration(expirationTime){if(callbackExpirationTime!==NoWork){if(expirationTime>callbackExpirationTime)return;cancelDeferredCallback(callbackID)}else enableUserTimingAPI&&supportsUserTiming&&!isWaitingForCallback&&(isWaitingForCallback=!0,beginMark("(Waiting for async callback...)"));var currentMs=now()-startTime,expirationMs=function(expirationTime){return(expirationTime-MAGIC_NUMBER_OFFSET)*UNIT_SIZE}(expirationTime);callbackExpirationTime=expirationTime,callbackID=scheduleDeferredCallback(performAsyncWork,{timeout:expirationMs-currentMs})}function requestWork(root,expirationTime){if(nestedUpdateCount>NESTED_UPDATE_LIMIT&&invariant(!1,"Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops."),null===root.nextScheduledRoot)root.remainingExpirationTime=expirationTime,null===lastScheduledRoot?(firstScheduledRoot=lastScheduledRoot=root,root.nextScheduledRoot=root):(lastScheduledRoot.nextScheduledRoot=root,(lastScheduledRoot=root).nextScheduledRoot=firstScheduledRoot);else{var remainingExpirationTime=root.remainingExpirationTime;(remainingExpirationTime===NoWork||expirationTime<remainingExpirationTime)&&(root.remainingExpirationTime=expirationTime)}isRendering||(isBatchingUpdates?isUnbatchingUpdates&&performWorkOnRoot(nextFlushedRoot=root,nextFlushedExpirationTime=Sync):expirationTime===Sync?performWork(Sync,null):scheduleCallbackWithExpiration(expirationTime))}function findHighestPriorityRoot(){var highestPriorityWork=NoWork,highestPriorityRoot=null;if(null!==lastScheduledRoot)for(var previousScheduledRoot=lastScheduledRoot,root=firstScheduledRoot;null!==root;){var remainingExpirationTime=root.remainingExpirationTime;if(remainingExpirationTime===NoWork){if((null===previousScheduledRoot||null===lastScheduledRoot)&&invariant(!1,"Should have a previous and last root. This error is likely caused by a bug in React. Please file an issue."),root===root.nextScheduledRoot){root.nextScheduledRoot=null,firstScheduledRoot=lastScheduledRoot=null;break}if(root===firstScheduledRoot){var next=root.nextScheduledRoot;firstScheduledRoot=next,lastScheduledRoot.nextScheduledRoot=next,root.nextScheduledRoot=null}else{if(root===lastScheduledRoot){(lastScheduledRoot=previousScheduledRoot).nextScheduledRoot=firstScheduledRoot,root.nextScheduledRoot=null;break}previousScheduledRoot.nextScheduledRoot=root.nextScheduledRoot,root.nextScheduledRoot=null}root=previousScheduledRoot.nextScheduledRoot}else{if((highestPriorityWork===NoWork||remainingExpirationTime<highestPriorityWork)&&(highestPriorityWork=remainingExpirationTime,highestPriorityRoot=root),root===lastScheduledRoot)break;previousScheduledRoot=root,root=root.nextScheduledRoot}}null!==nextFlushedRoot&&nextFlushedRoot===highestPriorityRoot?nestedUpdateCount++:nestedUpdateCount=0,nextFlushedRoot=highestPriorityRoot,nextFlushedExpirationTime=highestPriorityWork}function performAsyncWork(dl){performWork(NoWork,dl)}function performWork(minExpirationTime,dl){(deadline=dl,findHighestPriorityRoot(),enableUserTimingAPI&&null!==deadline)&&function(didExpire){enableUserTimingAPI&&supportsUserTiming&&(isWaitingForCallback=!1,endMark("(Waiting for async callback...)","(Waiting for async callback...)",didExpire?"React was blocked by main thread":null))}(nextFlushedExpirationTime<recalculateCurrentTime());for(;null!==nextFlushedRoot&&nextFlushedExpirationTime!==NoWork&&(minExpirationTime===NoWork||nextFlushedExpirationTime<=minExpirationTime)&&!deadlineDidExpire;)performWorkOnRoot(nextFlushedRoot,nextFlushedExpirationTime),findHighestPriorityRoot();if(null!==deadline&&(callbackExpirationTime=NoWork,callbackID=-1),nextFlushedExpirationTime!==NoWork&&scheduleCallbackWithExpiration(nextFlushedExpirationTime),deadline=null,deadlineDidExpire=!1,nestedUpdateCount=0,hasUnhandledError){var _error4=unhandledError;throw unhandledError=null,hasUnhandledError=!1,_error4}}function performWorkOnRoot(root,expirationTime){if(isRendering&&invariant(!1,"performWorkOnRoot was called recursively. This error is likely caused by a bug in React. Please file an issue."),isRendering=!0,expirationTime<=recalculateCurrentTime()){var finishedWork=root.finishedWork;null!==finishedWork?(root.finishedWork=null,root.remainingExpirationTime=commitRoot(finishedWork)):(root.finishedWork=null,null!==(finishedWork=renderRoot(root,expirationTime))&&(root.remainingExpirationTime=commitRoot(finishedWork)))}else{var _finishedWork=root.finishedWork;null!==_finishedWork?(root.finishedWork=null,root.remainingExpirationTime=commitRoot(_finishedWork)):(root.finishedWork=null,null!==(_finishedWork=renderRoot(root,expirationTime))&&(shouldYield()?root.finishedWork=_finishedWork:root.remainingExpirationTime=commitRoot(_finishedWork)))}isRendering=!1}function shouldYield(){return null!==deadline&&(!(deadline.timeRemaining()>timeHeuristicForUnitOfWork)&&(deadlineDidExpire=!0,!0))}function onUncaughtError(error){null===nextFlushedRoot&&invariant(!1,"Should be working on a root. This error is likely caused by a bug in React. Please file an issue."),nextFlushedRoot.remainingExpirationTime=NoWork,hasUnhandledError||(hasUnhandledError=!0,unhandledError=error)}return{computeAsyncExpiration:computeAsyncExpiration,computeExpirationForFiber:computeExpirationForFiber,scheduleWork:scheduleWork,batchedUpdates:function(fn,a){var previousIsBatchingUpdates=isBatchingUpdates;isBatchingUpdates=!0;try{return fn(a)}finally{(isBatchingUpdates=previousIsBatchingUpdates)||isRendering||performWork(Sync,null)}},unbatchedUpdates:function(fn){if(isBatchingUpdates&&!isUnbatchingUpdates){isUnbatchingUpdates=!0;try{return fn()}finally{isUnbatchingUpdates=!1}}return fn()},flushSync:function(fn){var previousIsBatchingUpdates=isBatchingUpdates;isBatchingUpdates=!0;try{return function(fn){var previousExpirationContext=expirationContext;expirationContext=Sync;try{return fn()}finally{expirationContext=previousExpirationContext}}(fn)}finally{isBatchingUpdates=previousIsBatchingUpdates,isRendering&&invariant(!1,"flushSync was called from inside a lifecycle method. It cannot be called when React is already rendering."),performWork(Sync,null)}},deferredUpdates:function(fn){var previousExpirationContext=expirationContext;expirationContext=computeAsyncExpiration();try{return fn()}finally{expirationContext=previousExpirationContext}}}},didWarnAboutNestedUpdates=!1;function getContextForSubtree(parentComponent){if(!parentComponent)return emptyObject;var fiber=get(parentComponent),parentContext=function(fiber){isFiberMounted(fiber)&&fiber.tag===ClassComponent||invariant(!1,"Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");for(var node=fiber;node.tag!==HostRoot;){if(isContextProvider(node))return node.stateNode.__reactInternalMemoizedMergedChildContext;var parent=node.return;parent||invariant(!1,"Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue."),node=parent}return node.stateNode.context}(fiber);return isContextProvider(fiber)?processChildContext(fiber,parentContext):parentContext}var ReactFiberReconciler$1=function(config){var getPublicInstance=config.getPublicInstance,_ReactFiberScheduler=ReactFiberScheduler(config),computeAsyncExpiration=_ReactFiberScheduler.computeAsyncExpiration,computeExpirationForFiber=_ReactFiberScheduler.computeExpirationForFiber,scheduleWork=_ReactFiberScheduler.scheduleWork,batchedUpdates=_ReactFiberScheduler.batchedUpdates,unbatchedUpdates=_ReactFiberScheduler.unbatchedUpdates,flushSync=_ReactFiberScheduler.flushSync;function findHostInstance(fiber){var hostFiber=function(parent){var currentParent=findCurrentFiberUsingSlowPath(parent);if(!currentParent)return null;for(var node=currentParent;;){if(node.tag===HostComponent||node.tag===HostText)return node;if(node.child)node.child.return=node,node=node.child;else{if(node===currentParent)return null;for(;!node.sibling;){if(!node.return||node.return===currentParent)return null;node=node.return}node.sibling.return=node.return,node=node.sibling}}return null}(fiber);return null===hostFiber?null:hostFiber.stateNode}return{createContainer:function(containerInfo,hydrate){return createFiberRoot(containerInfo,hydrate)},updateContainer:function(element,container,parentComponent,callback){var current=container.current;ReactFiberInstrumentation_1.debugTool&&(null===current.alternate?ReactFiberInstrumentation_1.debugTool.onMountContainer(container):null===element?ReactFiberInstrumentation_1.debugTool.onUnmountContainer(container):ReactFiberInstrumentation_1.debugTool.onUpdateContainer(container));var context=getContextForSubtree(parentComponent);null===container.context?container.context=context:container.pendingContext=context,function(current,element,callback){"render"!==ReactDebugCurrentFiber.phase||null===ReactDebugCurrentFiber.current||didWarnAboutNestedUpdates||(didWarnAboutNestedUpdates=!0,warning(!1,"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.\n\nCheck the render method of %s.",getComponentName(ReactDebugCurrentFiber.current)||"Unknown")),warning(null===(callback=void 0===callback?null:callback)||"function"==typeof callback,"render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",callback);var expirationTime=void 0;insertUpdateIntoFiber(current,{expirationTime:expirationTime=enableAsyncSubtreeAPI&&null!=element&&null!=element.type&&null!=element.type.prototype&&!0===element.type.prototype.unstable_isAsyncReactComponent?computeAsyncExpiration():computeExpirationForFiber(current),partialState:{element:element},callback:callback,isReplace:!1,isForced:!1,nextCallback:null,next:null}),scheduleWork(current,expirationTime)}(current,element,callback)},batchedUpdates:batchedUpdates,unbatchedUpdates:unbatchedUpdates,deferredUpdates:_ReactFiberScheduler.deferredUpdates,flushSync:flushSync,getPublicRootInstance:function(container){var containerFiber=container.current;if(!containerFiber.child)return null;switch(containerFiber.child.tag){case HostComponent:return getPublicInstance(containerFiber.child.stateNode);default:return containerFiber.child.stateNode}},findHostInstance:findHostInstance,findHostInstanceWithNoPortals:function(fiber){var hostFiber=function(parent){var currentParent=findCurrentFiberUsingSlowPath(parent);if(!currentParent)return null;for(var node=currentParent;;){if(node.tag===HostComponent||node.tag===HostText)return node;if(node.child&&node.tag!==HostPortal)node.child.return=node,node=node.child;else{if(node===currentParent)return null;for(;!node.sibling;){if(!node.return||node.return===currentParent)return null;node=node.return}node.sibling.return=node.return,node=node.sibling}}return null}(fiber);return null===hostFiber?null:hostFiber.stateNode},injectIntoDevTools:function(devToolsConfig){var findFiberByHostInstance=devToolsConfig.findFiberByHostInstance;return function(internals){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var hook=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(hook.isDisabled)return!0;if(!hook.supportsFiber)return warning(!1,"The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://fb.me/react-devtools"),!0;try{var rendererID=hook.inject(internals);onCommitFiberRoot=catchErrors(function(root){return hook.onCommitFiberRoot(rendererID,root)}),onCommitFiberUnmount=catchErrors(function(fiber){return hook.onCommitFiberUnmount(rendererID,fiber)})}catch(err){warning(!1,"React DevTools encountered an error: %s.",err)}return!0}(_assign({},devToolsConfig,{findHostInstanceByFiber:function(fiber){return findHostInstance(fiber)},findFiberByHostInstance:function(instance){return findFiberByHostInstance?findFiberByHostInstance(instance):null}}))}}},ReactFiberReconciler$2=Object.freeze({default:ReactFiberReconciler$1}),ReactFiberReconciler$3=ReactFiberReconciler$2&&ReactFiberReconciler$1||ReactFiberReconciler$2,reactReconciler=ReactFiberReconciler$3.default?ReactFiberReconciler$3.default:ReactFiberReconciler$3;ExecutionEnvironment.canUseDOM&&"function"!=typeof requestAnimationFrame&&warning(!1,"React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. http://fb.me/react-polyfills");var hasNativePerformanceNow="object"==typeof performance&&"function"==typeof performance.now,now=void 0;now=hasNativePerformanceNow?function(){return performance.now()}:function(){return Date.now()};var rIC=void 0,cIC=void 0;if(ExecutionEnvironment.canUseDOM)if("function"!=typeof requestIdleCallback||"function"!=typeof cancelIdleCallback){var frameDeadlineObject,scheduledRICCallback=null,isIdleScheduled=!1,timeoutTime=-1,isAnimationFrameScheduled=!1,frameDeadline=0,previousFrameTime=33,activeFrameTime=33;frameDeadlineObject=hasNativePerformanceNow?{didTimeout:!1,timeRemaining:function(){var remaining=frameDeadline-performance.now();return remaining>0?remaining:0}}:{didTimeout:!1,timeRemaining:function(){var remaining=frameDeadline-Date.now();return remaining>0?remaining:0}};var messageKey="__reactIdleCallback$"+Math.random().toString(36).slice(2);window.addEventListener("message",function(event){if(event.source===window&&event.data===messageKey){isIdleScheduled=!1;var currentTime=now();if(frameDeadline-currentTime<=0){if(!(-1!==timeoutTime&&timeoutTime<=currentTime))return void(isAnimationFrameScheduled||(isAnimationFrameScheduled=!0,requestAnimationFrame(animationTick)));frameDeadlineObject.didTimeout=!0}else frameDeadlineObject.didTimeout=!1;timeoutTime=-1;var callback=scheduledRICCallback;scheduledRICCallback=null,null!==callback&&callback(frameDeadlineObject)}},!1);var animationTick=function(rafTime){isAnimationFrameScheduled=!1;var nextFrameTime=rafTime-frameDeadline+activeFrameTime;nextFrameTime<activeFrameTime&&previousFrameTime<activeFrameTime?(nextFrameTime<8&&(nextFrameTime=8),activeFrameTime=nextFrameTime<previousFrameTime?previousFrameTime:nextFrameTime):previousFrameTime=nextFrameTime,frameDeadline=rafTime+activeFrameTime,isIdleScheduled||(isIdleScheduled=!0,window.postMessage(messageKey,"*"))};rIC=function(callback,options){return scheduledRICCallback=callback,null!=options&&"number"==typeof options.timeout&&(timeoutTime=now()+options.timeout),isAnimationFrameScheduled||(isAnimationFrameScheduled=!0,requestAnimationFrame(animationTick)),0},cIC=function(){scheduledRICCallback=null,isIdleScheduled=!1,timeoutTime=-1}}else rIC=window.requestIdleCallback,cIC=window.cancelIdleCallback;else rIC=function(frameCallback){return setTimeout(function(){frameCallback({timeRemaining:function(){return 1/0}})})},cIC=function(timeoutID){clearTimeout(timeoutID)};var lowPriorityWarning$1=function(condition,format){if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];(function(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0,message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!=typeof console&&console.warn(message);try{throw new Error(message)}catch(x){}}).apply(void 0,[format].concat(args))}},VALID_ATTRIBUTE_NAME_REGEX=new RegExp("^["+ATTRIBUTE_NAME_START_CHAR+"]["+ATTRIBUTE_NAME_CHAR+"]*$"),illegalAttributeNameCache={},validatedAttributeNameCache={};function isAttributeNameSafe(attributeName){return!!validatedAttributeNameCache.hasOwnProperty(attributeName)||!illegalAttributeNameCache.hasOwnProperty(attributeName)&&(VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)?(validatedAttributeNameCache[attributeName]=!0,!0):(illegalAttributeNameCache[attributeName]=!0,warning(!1,"Invalid attribute name: `%s`",attributeName),!1))}function shouldIgnoreValue(propertyInfo,value){return null==value||propertyInfo.hasBooleanValue&&!value||propertyInfo.hasNumericValue&&isNaN(value)||propertyInfo.hasPositiveNumericValue&&value<1||propertyInfo.hasOverloadedBooleanValue&&!1===value}function getValueForProperty(node,name,expected){var propertyInfo=getPropertyInfo(name);if(propertyInfo){if(propertyInfo.mutationMethod||propertyInfo.mustUseProperty)return node[propertyInfo.propertyName];var attributeName=propertyInfo.attributeName,stringValue=null;if(propertyInfo.hasOverloadedBooleanValue){if(node.hasAttribute(attributeName)){var value=node.getAttribute(attributeName);return""===value||(shouldIgnoreValue(propertyInfo,expected)?value:value===""+expected?expected:value)}}else if(node.hasAttribute(attributeName)){if(shouldIgnoreValue(propertyInfo,expected))return node.getAttribute(attributeName);if(propertyInfo.hasBooleanValue)return expected;stringValue=node.getAttribute(attributeName)}return shouldIgnoreValue(propertyInfo,expected)?null===stringValue?expected:stringValue:stringValue===""+expected?expected:stringValue}}function getValueForAttribute(node,name,expected){if(isAttributeNameSafe(name)){if(!node.hasAttribute(name))return void 0===expected?void 0:null;var value=node.getAttribute(name);return value===""+expected?expected:value}}function setValueForProperty(node,name,value){var propertyInfo=getPropertyInfo(name);if(propertyInfo&&shouldSetAttribute(name,value)){var mutationMethod=propertyInfo.mutationMethod;if(mutationMethod)mutationMethod(node,value);else{if(shouldIgnoreValue(propertyInfo,value))return void deleteValueForProperty(node,name);if(propertyInfo.mustUseProperty)node[propertyInfo.propertyName]=value;else{var attributeName=propertyInfo.attributeName,namespace=propertyInfo.attributeNamespace;namespace?node.setAttributeNS(namespace,attributeName,""+value):propertyInfo.hasBooleanValue||propertyInfo.hasOverloadedBooleanValue&&!0===value?node.setAttribute(attributeName,""):node.setAttribute(attributeName,""+value)}}}else setValueForAttribute(node,name,shouldSetAttribute(name,value)?value:null)}function setValueForAttribute(node,name,value){isAttributeNameSafe(name)&&(null==value?node.removeAttribute(name):node.setAttribute(name,""+value))}function deleteValueForProperty(node,name){var propertyInfo=getPropertyInfo(name);if(propertyInfo){var mutationMethod=propertyInfo.mutationMethod;if(mutationMethod)mutationMethod(node,void 0);else if(propertyInfo.mustUseProperty){var propName=propertyInfo.propertyName;propertyInfo.hasBooleanValue?node[propName]=!1:node[propName]=""}else node.removeAttribute(propertyInfo.attributeName)}else node.removeAttribute(name)}var ReactControlledValuePropTypes={checkPropTypes:null},hasReadOnlyValue={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0},propTypes={value:function(props,propName,componentName){return!props[propName]||hasReadOnlyValue[props.type]||props.onChange||props.readOnly||props.disabled?null:new Error("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.")},checked:function(props,propName,componentName){return!props[propName]||props.onChange||props.readOnly||props.disabled?null:new Error("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}};ReactControlledValuePropTypes.checkPropTypes=function(tagName,props,getStack){checkPropTypes(propTypes,props,"prop",tagName,getStack)};var getCurrentFiberOwnerName$2=ReactDebugCurrentFiber.getCurrentFiberOwnerName,getCurrentFiberStackAddendum$3=ReactDebugCurrentFiber.getCurrentFiberStackAddendum,didWarnValueDefaultValue=!1,didWarnCheckedDefaultChecked=!1,didWarnControlledToUncontrolled=!1,didWarnUncontrolledToControlled=!1;function isControlled(props){return"checkbox"===props.type||"radio"===props.type?null!=props.checked:null!=props.value}function getHostProps(element,props){var node=element,value=props.value,checked=props.checked;return _assign({type:void 0,step:void 0,min:void 0,max:void 0},props,{defaultChecked:void 0,defaultValue:void 0,value:null!=value?value:node._wrapperState.initialValue,checked:null!=checked?checked:node._wrapperState.initialChecked})}function initWrapperState(element,props){ReactControlledValuePropTypes.checkPropTypes("input",props,getCurrentFiberStackAddendum$3),void 0===props.checked||void 0===props.defaultChecked||didWarnCheckedDefaultChecked||(warning(!1,"%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerName$2()||"A component",props.type),didWarnCheckedDefaultChecked=!0),void 0===props.value||void 0===props.defaultValue||didWarnValueDefaultValue||(warning(!1,"%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://fb.me/react-controlled-components",getCurrentFiberOwnerName$2()||"A component",props.type),didWarnValueDefaultValue=!0);var defaultValue=props.defaultValue;element._wrapperState={initialChecked:null!=props.checked?props.checked:props.defaultChecked,initialValue:null!=props.value?props.value:defaultValue,controlled:isControlled(props)}}function updateChecked(element,props){var node=element,checked=props.checked;null!=checked&&setValueForProperty(node,"checked",checked)}function updateWrapper(element,props){var node=element,controlled=isControlled(props);node._wrapperState.controlled||!controlled||didWarnUncontrolledToControlled||(warning(!1,"A component is changing an uncontrolled input of type %s to be controlled. Input elements should not switch from uncontrolled to controlled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components%s",props.type,getCurrentFiberStackAddendum$3()),didWarnUncontrolledToControlled=!0),!node._wrapperState.controlled||controlled||didWarnControlledToUncontrolled||(warning(!1,"A component is changing a controlled input of type %s to be uncontrolled. Input elements should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://fb.me/react-controlled-components%s",props.type,getCurrentFiberStackAddendum$3()),didWarnControlledToUncontrolled=!0),updateChecked(element,props);var value=props.value;if(null!=value)if(0===value&&""===node.value)node.value="0";else if("number"===props.type){var valueAsNumber=parseFloat(node.value)||0;(value!=valueAsNumber||value==valueAsNumber&&node.value!=value)&&(node.value=""+value)}else node.value!==""+value&&(node.value=""+value);else null==props.value&&null!=props.defaultValue&&node.defaultValue!==""+props.defaultValue&&(node.defaultValue=""+props.defaultValue),null==props.checked&&null!=props.defaultChecked&&(node.defaultChecked=!!props.defaultChecked)}function postMountWrapper(element,props){var node=element;switch(props.type){case"submit":case"reset":break;case"color":case"date":case"datetime":case"datetime-local":case"month":case"time":case"week":node.value="",node.value=node.defaultValue;break;default:node.value=node.value}var name=node.name;""!==name&&(node.name=""),node.defaultChecked=!node.defaultChecked,node.defaultChecked=!node.defaultChecked,""!==name&&(node.name=name)}function restoreControlledState$1(element,props){var node=element;updateWrapper(node,props),function(rootNode,props){var name=props.name;if("radio"===props.type&&null!=name){for(var queryRoot=rootNode;queryRoot.parentNode;)queryRoot=queryRoot.parentNode;for(var group=queryRoot.querySelectorAll("input[name="+JSON.stringify(""+name)+'][type="radio"]'),i=0;i<group.length;i++){var otherNode=group[i];if(otherNode!==rootNode&&otherNode.form===rootNode.form){var otherProps=getFiberCurrentPropsFromNode$1(otherNode);otherProps||invariant(!1,"ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."),updateValueIfChanged(otherNode),updateWrapper(otherNode,otherProps)}}}}(node,props)}function validateProps(element,props){warning(null==props.selected,"Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>.")}function getHostProps$1(element,props){var hostProps=_assign({children:void 0},props),content=function(children){var content="";return React.Children.forEach(children,function(child){null!=child&&("string"!=typeof child&&"number"!=typeof child||(content+=child))}),content}(props.children);return content&&(hostProps.children=content),hostProps}var getCurrentFiberOwnerName$3=ReactDebugCurrentFiber.getCurrentFiberOwnerName,getCurrentFiberStackAddendum$4=ReactDebugCurrentFiber.getCurrentFiberStackAddendum,didWarnValueDefaultValue$1=!1;function getDeclarationErrorAddendum(){var ownerName=getCurrentFiberOwnerName$3();return ownerName?"\n\nCheck the render method of `"+ownerName+"`.":""}var valuePropNames=["value","defaultValue"];function updateOptions(node,multiple,propValue,setDefaultSelected){var options=node.options;if(multiple){for(var selectedValues=propValue,selectedValue={},i=0;i<selectedValues.length;i++)selectedValue["$"+selectedValues[i]]=!0;for(var _i=0;_i<options.length;_i++){var selected=selectedValue.hasOwnProperty("$"+options[_i].value);options[_i].selected!==selected&&(options[_i].selected=selected),selected&&setDefaultSelected&&(options[_i].defaultSelected=!0)}}else{for(var _selectedValue=""+propValue,defaultSelected=null,_i2=0;_i2<options.length;_i2++){if(options[_i2].value===_selectedValue)return options[_i2].selected=!0,void(setDefaultSelected&&(options[_i2].defaultSelected=!0));null!==defaultSelected||options[_i2].disabled||(defaultSelected=options[_i2])}null!==defaultSelected&&(defaultSelected.selected=!0)}}function getHostProps$2(element,props){return _assign({},props,{value:void 0})}function initWrapperState$1(element,props){var node=element;!function(props){ReactControlledValuePropTypes.checkPropTypes("select",props,getCurrentFiberStackAddendum$4);for(var i=0;i<valuePropNames.length;i++){var propName=valuePropNames[i];if(null!=props[propName]){var isArray=Array.isArray(props[propName]);props.multiple&&!isArray?warning(!1,"The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",propName,getDeclarationErrorAddendum()):!props.multiple&&isArray&&warning(!1,"The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",propName,getDeclarationErrorAddendum())}}}(props);var value=props.value;node._wrapperState={initialValue:null!=value?value:props.defaultValue,wasMultiple:!!props.multiple},void 0===props.value||void 0===props.defaultValue||didWarnValueDefaultValue$1||(warning(!1,"Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://fb.me/react-controlled-components"),didWarnValueDefaultValue$1=!0)}var getCurrentFiberStackAddendum$5=ReactDebugCurrentFiber.getCurrentFiberStackAddendum,didWarnValDefaultVal=!1;function getHostProps$3(element,props){var node=element;return null!=props.dangerouslySetInnerHTML&&invariant(!1,"`dangerouslySetInnerHTML` does not make sense on <textarea>."),_assign({},props,{value:void 0,defaultValue:void 0,children:""+node._wrapperState.initialValue})}function initWrapperState$2(element,props){var node=element;ReactControlledValuePropTypes.checkPropTypes("textarea",props,getCurrentFiberStackAddendum$5),void 0===props.value||void 0===props.defaultValue||didWarnValDefaultVal||(warning(!1,"Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://fb.me/react-controlled-components"),didWarnValDefaultVal=!0);var initialValue=props.value;if(null==initialValue){var defaultValue=props.defaultValue,children=props.children;null!=children&&(warning(!1,"Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=defaultValue&&invariant(!1,"If you supply `defaultValue` on a <textarea>, do not pass children."),Array.isArray(children)&&(children.length<=1||invariant(!1,"<textarea> can only have at most one child."),children=children[0]),defaultValue=""+children),null==defaultValue&&(defaultValue=""),initialValue=defaultValue}node._wrapperState={initialValue:""+initialValue}}function updateWrapper$1(element,props){var node=element,value=props.value;if(null!=value){var newValue=""+value;newValue!==node.value&&(node.value=newValue),null==props.defaultValue&&(node.defaultValue=newValue)}null!=props.defaultValue&&(node.defaultValue=props.defaultValue)}function postMountWrapper$3(element,props){var node=element,textContent=node.textContent;textContent===node._wrapperState.initialValue&&(node.value=textContent)}var HTML_NAMESPACE$1="http://www.w3.org/1999/xhtml",MATH_NAMESPACE="http://www.w3.org/1998/Math/MathML",SVG_NAMESPACE="http://www.w3.org/2000/svg",Namespaces={html:HTML_NAMESPACE$1,mathml:MATH_NAMESPACE,svg:SVG_NAMESPACE};function getIntrinsicNamespace(type){switch(type){case"svg":return SVG_NAMESPACE;case"math":return MATH_NAMESPACE;default:return HTML_NAMESPACE$1}}function getChildNamespace(parentNamespace,type){return null==parentNamespace||parentNamespace===HTML_NAMESPACE$1?getIntrinsicNamespace(type):parentNamespace===SVG_NAMESPACE&&"foreignObject"===type?HTML_NAMESPACE$1:parentNamespace}var func,reusableSVGContainer=void 0,setInnerHTML=(func=function(node,html){if(node.namespaceURI!==Namespaces.svg||"innerHTML"in node)node.innerHTML=html;else{(reusableSVGContainer=reusableSVGContainer||document.createElement("div")).innerHTML="<svg>"+html+"</svg>";for(var svgNode=reusableSVGContainer.firstChild;node.firstChild;)node.removeChild(node.firstChild);for(;svgNode.firstChild;)node.appendChild(svgNode.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(arg0,arg1,arg2,arg3){MSApp.execUnsafeLocalFunction(function(){return func(arg0,arg1,arg2,arg3)})}:func),setTextContent=function(node,text){if(text){var firstChild=node.firstChild;if(firstChild&&firstChild===node.lastChild&&firstChild.nodeType===TEXT_NODE)return void(firstChild.nodeValue=text)}node.textContent=text},isUnitlessNumber={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0};var prefixes=["Webkit","ms","Moz","O"];function dangerousStyleValue(name,value,isCustomProperty){return null==value||"boolean"==typeof value||""===value?"":isCustomProperty||"number"!=typeof value||0===value||isUnitlessNumber.hasOwnProperty(name)&&isUnitlessNumber[name]?(""+value).trim():value+"px"}Object.keys(isUnitlessNumber).forEach(function(prop){prefixes.forEach(function(prefix){isUnitlessNumber[function(prefix,key){return prefix+key.charAt(0).toUpperCase()+key.substring(1)}(prefix,prop)]=isUnitlessNumber[prop]})});var badVendoredStyleNamePattern=/^(?:webkit|moz|o)[A-Z]/,badStyleValueWithSemicolonPattern=/;\s*$/,warnedStyleNames={},warnedStyleValues={},warnedForNaNValue=!1,warnedForInfinityValue=!1,warnValidStyle$1=function(name,value,getStack){name.indexOf("-")>-1?function(name,getStack){warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]||(warnedStyleNames[name]=!0,warning(!1,"Unsupported style property %s. Did you mean %s?%s",name,camelizeStyleName(name),getStack()))}(name,getStack):badVendoredStyleNamePattern.test(name)?function(name,getStack){warnedStyleNames.hasOwnProperty(name)&&warnedStyleNames[name]||(warnedStyleNames[name]=!0,warning(!1,"Unsupported vendor-prefixed style property %s. Did you mean %s?%s",name,name.charAt(0).toUpperCase()+name.slice(1),getStack()))}(name,getStack):badStyleValueWithSemicolonPattern.test(value)&&function(name,value,getStack){warnedStyleValues.hasOwnProperty(value)&&warnedStyleValues[value]||(warnedStyleValues[value]=!0,warning(!1,'Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.%s',name,value.replace(badStyleValueWithSemicolonPattern,""),getStack()))}(name,value,getStack),"number"==typeof value&&(isNaN(value)?function(name,value,getStack){warnedForNaNValue||(warnedForNaNValue=!0,warning(!1,"`NaN` is an invalid value for the `%s` css style property.%s",name,getStack()))}(name,0,getStack):isFinite(value)||function(name,value,getStack){warnedForInfinityValue||(warnedForInfinityValue=!0,warning(!1,"`Infinity` is an invalid value for the `%s` css style property.%s",name,getStack()))}(name,0,getStack))};function createDangerousStringForStyles(styles){var serialized="",delimiter="";for(var styleName in styles)if(styles.hasOwnProperty(styleName)){var styleValue=styles[styleName];if(null!=styleValue){var isCustomProperty=0===styleName.indexOf("--");serialized+=delimiter+hyphenateStyleName(styleName)+":",serialized+=dangerousStyleValue(styleName,styleValue,isCustomProperty),delimiter=";"}}return serialized||null}function setValueForStyles(node,styles,getStack){var style=node.style;for(var styleName in styles)if(styles.hasOwnProperty(styleName)){var isCustomProperty=0===styleName.indexOf("--");isCustomProperty||warnValidStyle$1(styleName,styles[styleName],getStack);var styleValue=dangerousStyleValue(styleName,styles[styleName],isCustomProperty);"float"===styleName&&(styleName="cssFloat"),isCustomProperty?style.setProperty(styleName,styleValue):style[styleName]=styleValue}}var voidElementTags=_assign({menuitem:!0},{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}),HTML$1="__html";function assertValidProps(tag,props,getStack){props&&(voidElementTags[tag]&&(null!=props.children||null!=props.dangerouslySetInnerHTML)&&invariant(!1,"%s is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.%s",tag,getStack()),null!=props.dangerouslySetInnerHTML&&(null!=props.children&&invariant(!1,"Can only set one of `children` or `props.dangerouslySetInnerHTML`."),"object"==typeof props.dangerouslySetInnerHTML&&HTML$1 in props.dangerouslySetInnerHTML||invariant(!1,"`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://fb.me/react-invariant-dangerously-set-inner-html for more information.")),warning(props.suppressContentEditableWarning||!props.contentEditable||null==props.children,"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.%s",getStack()),null!=props.style&&"object"!=typeof props.style&&invariant(!1,"The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.%s",getStack()))}function isCustomComponent(tagName,props){if(-1===tagName.indexOf("-"))return"string"==typeof props.is;switch(tagName){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ariaProperties={"aria-current":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},warnedProperties={},rARIA=new RegExp("^(aria)-["+ATTRIBUTE_NAME_CHAR+"]*$"),rARIACamel=new RegExp("^(aria)[A-Z]["+ATTRIBUTE_NAME_CHAR+"]*$"),hasOwnProperty=Object.prototype.hasOwnProperty;function getStackAddendum(){var stack=ReactDebugCurrentFrame.getStackAddendum();return null!=stack?stack:""}function validateProperty(tagName,name){if(hasOwnProperty.call(warnedProperties,name)&&warnedProperties[name])return!0;if(rARIACamel.test(name)){var ariaName="aria-"+name.slice(4).toLowerCase(),correctName=ariaProperties.hasOwnProperty(ariaName)?ariaName:null;if(null==correctName)return warning(!1,"Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.%s",name,getStackAddendum()),warnedProperties[name]=!0,!0;if(name!==correctName)return warning(!1,"Invalid ARIA attribute `%s`. Did you mean `%s`?%s",name,correctName,getStackAddendum()),warnedProperties[name]=!0,!0}if(rARIA.test(name)){var lowerCasedName=name.toLowerCase(),standardName=ariaProperties.hasOwnProperty(lowerCasedName)?lowerCasedName:null;if(null==standardName)return warnedProperties[name]=!0,!1;if(name!==standardName)return warning(!1,"Unknown ARIA attribute `%s`. Did you mean `%s`?%s",name,standardName,getStackAddendum()),warnedProperties[name]=!0,!0}return!0}function validateProperties(type,props){isCustomComponent(type,props)||function(type,props){var invalidProps=[];for(var key in props)validateProperty(0,key)||invalidProps.push(key);var unknownPropString=invalidProps.map(function(prop){return"`"+prop+"`"}).join(", ");1===invalidProps.length?warning(!1,"Invalid aria prop %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop%s",unknownPropString,type,getStackAddendum()):invalidProps.length>1&&warning(!1,"Invalid aria props %s on <%s> tag. For details, see https://fb.me/invalid-aria-prop%s",unknownPropString,type,getStackAddendum())}(type,props)}var didWarnValueNull=!1;function getStackAddendum$1(){var stack=ReactDebugCurrentFrame.getStackAddendum();return null!=stack?stack:""}var possibleStandardNames={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"};function getStackAddendum$2(){var stack=ReactDebugCurrentFrame.getStackAddendum();return null!=stack?stack:""}var warnedProperties$1={},hasOwnProperty$1=Object.prototype.hasOwnProperty,EVENT_NAME_REGEX=/^on./,INVALID_EVENT_NAME_REGEX=/^on[^A-Z]/,rARIA$1=new RegExp("^(aria)-["+ATTRIBUTE_NAME_CHAR+"]*$"),rARIACamel$1=new RegExp("^(aria)[A-Z]["+ATTRIBUTE_NAME_CHAR+"]*$"),validateProperty$1=function(tagName,name,value,canUseEventSystem){if(hasOwnProperty$1.call(warnedProperties$1,name)&&warnedProperties$1[name])return!0;var lowerCasedName=name.toLowerCase();if("onfocusin"===lowerCasedName||"onfocusout"===lowerCasedName)return warning(!1,"React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),warnedProperties$1[name]=!0,!0;if(canUseEventSystem){if(registrationNameModules.hasOwnProperty(name))return!0;var registrationName=possibleRegistrationNames.hasOwnProperty(lowerCasedName)?possibleRegistrationNames[lowerCasedName]:null;if(null!=registrationName)return warning(!1,"Invalid event handler property `%s`. Did you mean `%s`?%s",name,registrationName,getStackAddendum$2()),warnedProperties$1[name]=!0,!0;if(EVENT_NAME_REGEX.test(name))return warning(!1,"Unknown event handler property `%s`. It will be ignored.%s",name,getStackAddendum$2()),warnedProperties$1[name]=!0,!0}else if(EVENT_NAME_REGEX.test(name))return INVALID_EVENT_NAME_REGEX.test(name)&&warning(!1,"Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.%s",name,getStackAddendum$2()),warnedProperties$1[name]=!0,!0;if(rARIA$1.test(name)||rARIACamel$1.test(name))return!0;if("innerhtml"===lowerCasedName)return warning(!1,"Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),warnedProperties$1[name]=!0,!0;if("aria"===lowerCasedName)return warning(!1,"The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),warnedProperties$1[name]=!0,!0;if("is"===lowerCasedName&&null!==value&&void 0!==value&&"string"!=typeof value)return warning(!1,"Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.%s",typeof value,getStackAddendum$2()),warnedProperties$1[name]=!0,!0;if("number"==typeof value&&isNaN(value))return warning(!1,"Received NaN for the `%s` attribute. If this is expected, cast the value to a string.%s",name,getStackAddendum$2()),warnedProperties$1[name]=!0,!0;var isReserved=isReservedProp(name);if(possibleStandardNames.hasOwnProperty(lowerCasedName)){var standardName=possibleStandardNames[lowerCasedName];if(standardName!==name)return warning(!1,"Invalid DOM property `%s`. Did you mean `%s`?%s",name,standardName,getStackAddendum$2()),warnedProperties$1[name]=!0,!0}else if(!isReserved&&name!==lowerCasedName)return warning(!1,"React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.%s",name,lowerCasedName,getStackAddendum$2()),warnedProperties$1[name]=!0,!0;return"boolean"!=typeof value||shouldAttributeAcceptBooleanValue(name)?!!isReserved||(!!shouldSetAttribute(name,value)||(warnedProperties$1[name]=!0,!1)):(value?warning(!1,'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.%s',value,name,name,value,name,getStackAddendum$2()):warning(!1,'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s',value,name,name,value,name,name,name,getStackAddendum$2()),warnedProperties$1[name]=!0,!0)},warnUnknownProperties=function(type,props,canUseEventSystem){var unknownProps=[];for(var key in props){validateProperty$1(0,key,props[key],canUseEventSystem)||unknownProps.push(key)}var unknownPropString=unknownProps.map(function(prop){return"`"+prop+"`"}).join(", ");1===unknownProps.length?warning(!1,"Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://fb.me/react-attribute-behavior%s",unknownPropString,type,getStackAddendum$2()):unknownProps.length>1&&warning(!1,"Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://fb.me/react-attribute-behavior%s",unknownPropString,type,getStackAddendum$2())};var getCurrentFiberOwnerName$1=ReactDebugCurrentFiber.getCurrentFiberOwnerName,getCurrentFiberStackAddendum$2=ReactDebugCurrentFiber.getCurrentFiberStackAddendum,didWarnInvalidHydration=!1,didWarnShadyDOM=!1,DANGEROUSLY_SET_INNER_HTML="dangerouslySetInnerHTML",SUPPRESS_CONTENT_EDITABLE_WARNING="suppressContentEditableWarning",SUPPRESS_HYDRATION_WARNING$1="suppressHydrationWarning",AUTOFOCUS="autoFocus",CHILDREN="children",STYLE="style",HTML="__html",HTML_NAMESPACE=Namespaces.html,getStack=emptyFunction.thatReturns("");getStack=getCurrentFiberStackAddendum$2;var warnedUnknownTags={time:!0,dialog:!0},validatePropertiesInDevelopment=function(type,props){validateProperties(type,props),function(type,props){"input"!==type&&"textarea"!==type&&"select"!==type||null==props||null!==props.value||didWarnValueNull||(didWarnValueNull=!0,"select"===type&&props.multiple?warning(!1,"`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.%s",type,getStackAddendum$1()):warning(!1,"`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.%s",type,getStackAddendum$1()))}(type,props),function(type,props,canUseEventSystem){isCustomComponent(type,props)||warnUnknownProperties(type,props,canUseEventSystem)}(type,props,!0)},NORMALIZE_NEWLINES_REGEX=/\r\n?/g,NORMALIZE_NULL_AND_REPLACEMENT_REGEX=/\u0000|\uFFFD/g,normalizeMarkupForTextOrAttribute=function(markup){return("string"==typeof markup?markup:""+markup).replace(NORMALIZE_NEWLINES_REGEX,"\n").replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX,"")},warnForTextDifference=function(serverText,clientText){if(!didWarnInvalidHydration){var normalizedClientText=normalizeMarkupForTextOrAttribute(clientText),normalizedServerText=normalizeMarkupForTextOrAttribute(serverText);normalizedServerText!==normalizedClientText&&(didWarnInvalidHydration=!0,warning(!1,'Text content did not match. Server: "%s" Client: "%s"',normalizedServerText,normalizedClientText))}},warnForPropDifference=function(propName,serverValue,clientValue){if(!didWarnInvalidHydration){var normalizedClientValue=normalizeMarkupForTextOrAttribute(clientValue),normalizedServerValue=normalizeMarkupForTextOrAttribute(serverValue);normalizedServerValue!==normalizedClientValue&&(didWarnInvalidHydration=!0,warning(!1,"Prop `%s` did not match. Server: %s Client: %s",propName,JSON.stringify(normalizedServerValue),JSON.stringify(normalizedClientValue)))}},warnForExtraAttributes=function(attributeNames){if(!didWarnInvalidHydration){didWarnInvalidHydration=!0;var names=[];attributeNames.forEach(function(name){names.push(name)}),warning(!1,"Extra attributes from the server: %s",names)}},warnForInvalidEventListener=function(registrationName,listener){!1===listener?warning(!1,"Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.%s",registrationName,registrationName,registrationName,getCurrentFiberStackAddendum$2()):warning(!1,"Expected `%s` listener to be a function, instead got a value of `%s` type.%s",registrationName,typeof listener,getCurrentFiberStackAddendum$2())},normalizeHTML=function(parent,html){var testElement=parent.namespaceURI===HTML_NAMESPACE?parent.ownerDocument.createElement(parent.tagName):parent.ownerDocument.createElementNS(parent.namespaceURI,parent.tagName);return testElement.innerHTML=html,testElement.innerHTML};function ensureListeningTo(rootContainerElement,registrationName){!function(registrationName,contentDocumentHandle){for(var mountAt=contentDocumentHandle,isListening=getListeningForDocument(mountAt),dependencies=registrationNameDependencies[registrationName],i=0;i<dependencies.length;i++){var dependency=dependencies[i];isListening.hasOwnProperty(dependency)&&isListening[dependency]||("topScroll"===dependency?trapCapturedEvent("topScroll","scroll",mountAt):"topFocus"===dependency||"topBlur"===dependency?(trapCapturedEvent("topFocus","focus",mountAt),trapCapturedEvent("topBlur","blur",mountAt),isListening.topBlur=!0,isListening.topFocus=!0):"topCancel"===dependency?(isEventSupported("cancel",!0)&&trapCapturedEvent("topCancel","cancel",mountAt),isListening.topCancel=!0):"topClose"===dependency?(isEventSupported("close",!0)&&trapCapturedEvent("topClose","close",mountAt),isListening.topClose=!0):topLevelTypes.hasOwnProperty(dependency)&&trapBubbledEvent(dependency,topLevelTypes[dependency],mountAt),isListening[dependency]=!0)}}(registrationName,rootContainerElement.nodeType===DOCUMENT_NODE||rootContainerElement.nodeType===DOCUMENT_FRAGMENT_NODE?rootContainerElement:rootContainerElement.ownerDocument)}function getOwnerDocumentFromRootContainer(rootContainerElement){return rootContainerElement.nodeType===DOCUMENT_NODE?rootContainerElement:rootContainerElement.ownerDocument}var mediaEvents={topAbort:"abort",topCanPlay:"canplay",topCanPlayThrough:"canplaythrough",topDurationChange:"durationchange",topEmptied:"emptied",topEncrypted:"encrypted",topEnded:"ended",topError:"error",topLoadedData:"loadeddata",topLoadedMetadata:"loadedmetadata",topLoadStart:"loadstart",topPause:"pause",topPlay:"play",topPlaying:"playing",topProgress:"progress",topRateChange:"ratechange",topSeeked:"seeked",topSeeking:"seeking",topStalled:"stalled",topSuspend:"suspend",topTimeUpdate:"timeupdate",topVolumeChange:"volumechange",topWaiting:"waiting"};function trapClickOnNonInteractiveElement(node){node.onclick=emptyFunction}function createElement$1(type,props,rootContainerElement,parentNamespace){var domElement,ownerDocument=getOwnerDocumentFromRootContainer(rootContainerElement),namespaceURI=parentNamespace;if(namespaceURI===HTML_NAMESPACE&&(namespaceURI=getIntrinsicNamespace(type)),namespaceURI===HTML_NAMESPACE){var isCustomComponentTag=isCustomComponent(type,props);if(warning(isCustomComponentTag||type===type.toLowerCase(),"<%s /> is using uppercase HTML. Always use lowercase HTML tags in React.",type),"script"===type){var div=ownerDocument.createElement("div");div.innerHTML="<script><\/script>";var firstChild=div.firstChild;domElement=div.removeChild(firstChild)}else domElement="string"==typeof props.is?ownerDocument.createElement(type,{is:props.is}):ownerDocument.createElement(type)}else domElement=ownerDocument.createElementNS(namespaceURI,type);return namespaceURI===HTML_NAMESPACE&&(isCustomComponentTag||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(domElement)||Object.prototype.hasOwnProperty.call(warnedUnknownTags,type)||(warnedUnknownTags[type]=!0,warning(!1,"The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",type))),domElement}function createTextNode$1(text,rootContainerElement){return getOwnerDocumentFromRootContainer(rootContainerElement).createTextNode(text)}function setInitialProperties$1(domElement,tag,rawProps,rootContainerElement){var props,isCustomComponentTag=isCustomComponent(tag,rawProps);switch(validatePropertiesInDevelopment(tag,rawProps),isCustomComponentTag&&!didWarnShadyDOM&&domElement.shadyRoot&&(warning(!1,"%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",getCurrentFiberOwnerName$1()||"A component"),didWarnShadyDOM=!0),tag){case"iframe":case"object":trapBubbledEvent("topLoad","load",domElement),props=rawProps;break;case"video":case"audio":for(var event in mediaEvents)mediaEvents.hasOwnProperty(event)&&trapBubbledEvent(event,mediaEvents[event],domElement);props=rawProps;break;case"source":trapBubbledEvent("topError","error",domElement),props=rawProps;break;case"img":case"image":trapBubbledEvent("topError","error",domElement),trapBubbledEvent("topLoad","load",domElement),props=rawProps;break;case"form":trapBubbledEvent("topReset","reset",domElement),trapBubbledEvent("topSubmit","submit",domElement),props=rawProps;break;case"details":trapBubbledEvent("topToggle","toggle",domElement),props=rawProps;break;case"input":initWrapperState(domElement,rawProps),props=getHostProps(domElement,rawProps),trapBubbledEvent("topInvalid","invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"option":validateProps(0,rawProps),props=getHostProps$1(0,rawProps);break;case"select":initWrapperState$1(domElement,rawProps),props=getHostProps$2(0,rawProps),trapBubbledEvent("topInvalid","invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"textarea":initWrapperState$2(domElement,rawProps),props=getHostProps$3(domElement,rawProps),trapBubbledEvent("topInvalid","invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;default:props=rawProps}switch(assertValidProps(tag,props,getStack),function(tag,domElement,rootContainerElement,nextProps,isCustomComponentTag){for(var propKey in nextProps)if(nextProps.hasOwnProperty(propKey)){var nextProp=nextProps[propKey];if(propKey===STYLE)nextProp&&Object.freeze(nextProp),setValueForStyles(domElement,nextProp,getStack);else if(propKey===DANGEROUSLY_SET_INNER_HTML){var nextHtml=nextProp?nextProp[HTML]:void 0;null!=nextHtml&&setInnerHTML(domElement,nextHtml)}else propKey===CHILDREN?"string"==typeof nextProp?("textarea"!==tag||""!==nextProp)&&setTextContent(domElement,nextProp):"number"==typeof nextProp&&setTextContent(domElement,""+nextProp):propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING$1||propKey===AUTOFOCUS||(registrationNameModules.hasOwnProperty(propKey)?null!=nextProp&&("function"!=typeof nextProp&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey)):isCustomComponentTag?setValueForAttribute(domElement,propKey,nextProp):null!=nextProp&&setValueForProperty(domElement,propKey,nextProp))}}(tag,domElement,rootContainerElement,props,isCustomComponentTag),tag){case"input":track(domElement),postMountWrapper(domElement,rawProps);break;case"textarea":track(domElement),postMountWrapper$3(domElement);break;case"option":!function(element,props){null!=props.value&&element.setAttribute("value",props.value)}(domElement,rawProps);break;case"select":!function(element,props){var node=element;node.multiple=!!props.multiple;var value=props.value;null!=value?updateOptions(node,!!props.multiple,value,!1):null!=props.defaultValue&&updateOptions(node,!!props.multiple,props.defaultValue,!0)}(domElement,rawProps);break;default:"function"==typeof props.onClick&&trapClickOnNonInteractiveElement(domElement)}}function diffProperties$1(domElement,tag,lastRawProps,nextRawProps,rootContainerElement){validatePropertiesInDevelopment(tag,nextRawProps);var lastProps,nextProps,propKey,styleName,updatePayload=null;switch(tag){case"input":lastProps=getHostProps(domElement,lastRawProps),nextProps=getHostProps(domElement,nextRawProps),updatePayload=[];break;case"option":lastProps=getHostProps$1(0,lastRawProps),nextProps=getHostProps$1(0,nextRawProps),updatePayload=[];break;case"select":lastProps=getHostProps$2(0,lastRawProps),nextProps=getHostProps$2(0,nextRawProps),updatePayload=[];break;case"textarea":lastProps=getHostProps$3(domElement,lastRawProps),nextProps=getHostProps$3(domElement,nextRawProps),updatePayload=[];break;default:nextProps=nextRawProps,"function"!=typeof(lastProps=lastRawProps).onClick&&"function"==typeof nextProps.onClick&&trapClickOnNonInteractiveElement(domElement)}assertValidProps(tag,nextProps,getStack);var styleUpdates=null;for(propKey in lastProps)if(!nextProps.hasOwnProperty(propKey)&&lastProps.hasOwnProperty(propKey)&&null!=lastProps[propKey])if(propKey===STYLE){var lastStyle=lastProps[propKey];for(styleName in lastStyle)lastStyle.hasOwnProperty(styleName)&&(styleUpdates||(styleUpdates={}),styleUpdates[styleName]="")}else propKey===DANGEROUSLY_SET_INNER_HTML||propKey===CHILDREN||propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING$1||propKey===AUTOFOCUS||(registrationNameModules.hasOwnProperty(propKey)?updatePayload||(updatePayload=[]):(updatePayload=updatePayload||[]).push(propKey,null));for(propKey in nextProps){var nextProp=nextProps[propKey],lastProp=null!=lastProps?lastProps[propKey]:void 0;if(nextProps.hasOwnProperty(propKey)&&nextProp!==lastProp&&(null!=nextProp||null!=lastProp))if(propKey===STYLE)if(nextProp&&Object.freeze(nextProp),lastProp){for(styleName in lastProp)!lastProp.hasOwnProperty(styleName)||nextProp&&nextProp.hasOwnProperty(styleName)||(styleUpdates||(styleUpdates={}),styleUpdates[styleName]="");for(styleName in nextProp)nextProp.hasOwnProperty(styleName)&&lastProp[styleName]!==nextProp[styleName]&&(styleUpdates||(styleUpdates={}),styleUpdates[styleName]=nextProp[styleName])}else styleUpdates||(updatePayload||(updatePayload=[]),updatePayload.push(propKey,styleUpdates)),styleUpdates=nextProp;else if(propKey===DANGEROUSLY_SET_INNER_HTML){var nextHtml=nextProp?nextProp[HTML]:void 0,lastHtml=lastProp?lastProp[HTML]:void 0;null!=nextHtml&&lastHtml!==nextHtml&&(updatePayload=updatePayload||[]).push(propKey,""+nextHtml)}else propKey===CHILDREN?lastProp===nextProp||"string"!=typeof nextProp&&"number"!=typeof nextProp||(updatePayload=updatePayload||[]).push(propKey,""+nextProp):propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING$1||(registrationNameModules.hasOwnProperty(propKey)?(null!=nextProp&&("function"!=typeof nextProp&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey)),updatePayload||lastProp===nextProp||(updatePayload=[])):(updatePayload=updatePayload||[]).push(propKey,nextProp))}return styleUpdates&&(updatePayload=updatePayload||[]).push(STYLE,styleUpdates),updatePayload}function updateProperties$1(domElement,updatePayload,tag,lastRawProps,nextRawProps){"input"===tag&&"radio"===nextRawProps.type&&null!=nextRawProps.name&&updateChecked(domElement,nextRawProps);isCustomComponent(tag,lastRawProps);switch(function(domElement,updatePayload,wasCustomComponentTag,isCustomComponentTag){for(var i=0;i<updatePayload.length;i+=2){var propKey=updatePayload[i],propValue=updatePayload[i+1];propKey===STYLE?setValueForStyles(domElement,propValue,getStack):propKey===DANGEROUSLY_SET_INNER_HTML?setInnerHTML(domElement,propValue):propKey===CHILDREN?setTextContent(domElement,propValue):isCustomComponentTag?null!=propValue?setValueForAttribute(domElement,propKey,propValue):(name=propKey,domElement.removeAttribute(name)):null!=propValue?setValueForProperty(domElement,propKey,propValue):deleteValueForProperty(domElement,propKey)}var name}(domElement,updatePayload,0,isCustomComponent(tag,nextRawProps)),tag){case"input":updateWrapper(domElement,nextRawProps);break;case"textarea":updateWrapper$1(domElement,nextRawProps);break;case"select":!function(element,props){var node=element;node._wrapperState.initialValue=void 0;var wasMultiple=node._wrapperState.wasMultiple;node._wrapperState.wasMultiple=!!props.multiple;var value=props.value;null!=value?updateOptions(node,!!props.multiple,value,!1):wasMultiple!==!!props.multiple&&(null!=props.defaultValue?updateOptions(node,!!props.multiple,props.defaultValue,!0):updateOptions(node,!!props.multiple,props.multiple?[]:"",!1))}(domElement,nextRawProps)}}function diffHydratedProperties$1(domElement,tag,rawProps,parentNamespace,rootContainerElement){var suppressHydrationWarning=!0===rawProps[SUPPRESS_HYDRATION_WARNING$1],isCustomComponentTag=isCustomComponent(tag,rawProps);switch(validatePropertiesInDevelopment(tag,rawProps),isCustomComponentTag&&!didWarnShadyDOM&&domElement.shadyRoot&&(warning(!1,"%s is using shady DOM. Using shady DOM with React can cause things to break subtly.",getCurrentFiberOwnerName$1()||"A component"),didWarnShadyDOM=!0),tag){case"iframe":case"object":trapBubbledEvent("topLoad","load",domElement);break;case"video":case"audio":for(var event in mediaEvents)mediaEvents.hasOwnProperty(event)&&trapBubbledEvent(event,mediaEvents[event],domElement);break;case"source":trapBubbledEvent("topError","error",domElement);break;case"img":case"image":trapBubbledEvent("topError","error",domElement),trapBubbledEvent("topLoad","load",domElement);break;case"form":trapBubbledEvent("topReset","reset",domElement),trapBubbledEvent("topSubmit","submit",domElement);break;case"details":trapBubbledEvent("topToggle","toggle",domElement);break;case"input":initWrapperState(domElement,rawProps),trapBubbledEvent("topInvalid","invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"option":validateProps(0,rawProps);break;case"select":initWrapperState$1(domElement,rawProps),trapBubbledEvent("topInvalid","invalid",domElement),ensureListeningTo(rootContainerElement,"onChange");break;case"textarea":initWrapperState$2(domElement,rawProps),trapBubbledEvent("topInvalid","invalid",domElement),ensureListeningTo(rootContainerElement,"onChange")}assertValidProps(tag,rawProps,getStack);for(var extraAttributeNames=new Set,attributes=domElement.attributes,i=0;i<attributes.length;i++){switch(attributes[i].name.toLowerCase()){case"data-reactroot":case"value":case"checked":case"selected":break;default:extraAttributeNames.add(attributes[i].name)}}var updatePayload=null;for(var propKey in rawProps)if(rawProps.hasOwnProperty(propKey)){var nextProp=rawProps[propKey];if(propKey===CHILDREN)"string"==typeof nextProp?domElement.textContent!==nextProp&&(suppressHydrationWarning||warnForTextDifference(domElement.textContent,nextProp),updatePayload=[CHILDREN,nextProp]):"number"==typeof nextProp&&domElement.textContent!==""+nextProp&&(suppressHydrationWarning||warnForTextDifference(domElement.textContent,nextProp),updatePayload=[CHILDREN,""+nextProp]);else if(registrationNameModules.hasOwnProperty(propKey))null!=nextProp&&("function"!=typeof nextProp&&warnForInvalidEventListener(propKey,nextProp),ensureListeningTo(rootContainerElement,propKey));else{var serverValue,propertyInfo;if(suppressHydrationWarning);else if(propKey===SUPPRESS_CONTENT_EDITABLE_WARNING||propKey===SUPPRESS_HYDRATION_WARNING$1||"value"===propKey||"checked"===propKey||"selected"===propKey);else if(propKey===DANGEROUSLY_SET_INNER_HTML){var rawHtml=nextProp&&nextProp[HTML]||"",serverHTML=domElement.innerHTML,expectedHTML=normalizeHTML(domElement,rawHtml);expectedHTML!==serverHTML&&warnForPropDifference(propKey,serverHTML,expectedHTML)}else if(propKey===STYLE){extraAttributeNames.delete(propKey);var expectedStyle=createDangerousStringForStyles(nextProp);expectedStyle!==(serverValue=domElement.getAttribute("style"))&&warnForPropDifference(propKey,serverValue,expectedStyle)}else if(isCustomComponentTag)extraAttributeNames.delete(propKey.toLowerCase()),nextProp!==(serverValue=getValueForAttribute(domElement,propKey,nextProp))&&warnForPropDifference(propKey,serverValue,nextProp);else if(shouldSetAttribute(propKey,nextProp)){if(propertyInfo=getPropertyInfo(propKey))extraAttributeNames.delete(propertyInfo.attributeName),serverValue=getValueForProperty(domElement,propKey,nextProp);else{var ownNamespace=parentNamespace;ownNamespace===HTML_NAMESPACE&&(ownNamespace=getIntrinsicNamespace(tag)),ownNamespace===HTML_NAMESPACE?extraAttributeNames.delete(propKey.toLowerCase()):extraAttributeNames.delete(propKey),serverValue=getValueForAttribute(domElement,propKey,nextProp)}nextProp!==serverValue&&warnForPropDifference(propKey,serverValue,nextProp)}}}switch(extraAttributeNames.size>0&&!suppressHydrationWarning&&warnForExtraAttributes(extraAttributeNames),tag){case"input":track(domElement),postMountWrapper(domElement,rawProps);break;case"textarea":track(domElement),postMountWrapper$3(domElement);break;case"select":case"option":break;default:"function"==typeof rawProps.onClick&&trapClickOnNonInteractiveElement(domElement)}return updatePayload}function diffHydratedText$1(textNode,text){return textNode.nodeValue!==text}function warnForUnmatchedText$1(textNode,text){warnForTextDifference(textNode.nodeValue,text)}function warnForDeletedHydratableElement$1(parentNode,child){didWarnInvalidHydration||(didWarnInvalidHydration=!0,warning(!1,"Did not expect server HTML to contain a <%s> in <%s>.",child.nodeName.toLowerCase(),parentNode.nodeName.toLowerCase()))}function warnForDeletedHydratableText$1(parentNode,child){didWarnInvalidHydration||(didWarnInvalidHydration=!0,warning(!1,'Did not expect server HTML to contain the text node "%s" in <%s>.',child.nodeValue,parentNode.nodeName.toLowerCase()))}function warnForInsertedHydratedElement$1(parentNode,tag,props){didWarnInvalidHydration||(didWarnInvalidHydration=!0,warning(!1,"Expected server HTML to contain a matching <%s> in <%s>.",tag,parentNode.nodeName.toLowerCase()))}function warnForInsertedHydratedText$1(parentNode,text){""!==text&&(didWarnInvalidHydration||(didWarnInvalidHydration=!0,warning(!1,'Expected server HTML to contain a matching text node for "%s" in <%s>.',text,parentNode.nodeName.toLowerCase())))}var validateDOMNesting,ReactDOMFiberComponent=Object.freeze({createElement:createElement$1,createTextNode:createTextNode$1,setInitialProperties:setInitialProperties$1,diffProperties:diffProperties$1,updateProperties:updateProperties$1,diffHydratedProperties:diffHydratedProperties$1,diffHydratedText:diffHydratedText$1,warnForUnmatchedText:warnForUnmatchedText$1,warnForDeletedHydratableElement:warnForDeletedHydratableElement$1,warnForDeletedHydratableText:warnForDeletedHydratableText$1,warnForInsertedHydratedElement:warnForInsertedHydratedElement$1,warnForInsertedHydratedText:warnForInsertedHydratedText$1,restoreControlledState:function(domElement,tag,props){switch(tag){case"input":return void restoreControlledState$1(domElement,props);case"textarea":return void function(element,props){updateWrapper$1(element,props)}(domElement,props);case"select":return void function(element,props){var node=element,value=props.value;null!=value&&updateOptions(node,!!props.multiple,value,!1)}(domElement,props)}}}),getCurrentFiberStackAddendum$6=ReactDebugCurrentFiber.getCurrentFiberStackAddendum,specialTags=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],inScopeTags=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],buttonScopeTags=inScopeTags.concat(["button"]),impliedEndTags=["dd","dt","li","option","optgroup","p","rp","rt"],emptyAncestorInfo={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null},isTagValidWithParent=function(tag,parentTag){switch(parentTag){case"select":return"option"===tag||"optgroup"===tag||"#text"===tag;case"optgroup":return"option"===tag||"#text"===tag;case"option":return"#text"===tag;case"tr":return"th"===tag||"td"===tag||"style"===tag||"script"===tag||"template"===tag;case"tbody":case"thead":case"tfoot":return"tr"===tag||"style"===tag||"script"===tag||"template"===tag;case"colgroup":return"col"===tag||"template"===tag;case"table":return"caption"===tag||"colgroup"===tag||"tbody"===tag||"tfoot"===tag||"thead"===tag||"style"===tag||"script"===tag||"template"===tag;case"head":return"base"===tag||"basefont"===tag||"bgsound"===tag||"link"===tag||"meta"===tag||"title"===tag||"noscript"===tag||"noframes"===tag||"style"===tag||"script"===tag||"template"===tag;case"html":return"head"===tag||"body"===tag;case"#document":return"html"===tag}switch(tag){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==parentTag&&"h2"!==parentTag&&"h3"!==parentTag&&"h4"!==parentTag&&"h5"!==parentTag&&"h6"!==parentTag;case"rp":case"rt":return-1===impliedEndTags.indexOf(parentTag);case"body":case"caption":case"col":case"colgroup":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==parentTag}return!0},findInvalidAncestorForTag=function(tag,ancestorInfo){switch(tag){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return ancestorInfo.pTagInButtonScope;case"form":return ancestorInfo.formTag||ancestorInfo.pTagInButtonScope;case"li":return ancestorInfo.listItemTagAutoclosing;case"dd":case"dt":return ancestorInfo.dlItemTagAutoclosing;case"button":return ancestorInfo.buttonTagInScope;case"a":return ancestorInfo.aTagInScope;case"nobr":return ancestorInfo.nobrTagInScope}return null},didWarn={};(validateDOMNesting=function(childTag,childText,ancestorInfo){var parentInfo=(ancestorInfo=ancestorInfo||emptyAncestorInfo).current,parentTag=parentInfo&&parentInfo.tag;null!=childText&&(warning(null==childTag,"validateDOMNesting: when childText is passed, childTag should be null"),childTag="#text");var invalidParent=isTagValidWithParent(childTag,parentTag)?null:parentInfo,invalidAncestor=invalidParent?null:findInvalidAncestorForTag(childTag,ancestorInfo),invalidParentOrAncestor=invalidParent||invalidAncestor;if(invalidParentOrAncestor){var ancestorTag=invalidParentOrAncestor.tag,addendum=getCurrentFiberStackAddendum$6(),warnKey=!!invalidParent+"|"+childTag+"|"+ancestorTag+"|"+addendum;if(!didWarn[warnKey]){didWarn[warnKey]=!0;var tagDisplayName=childTag,whitespaceInfo="";if("#text"===childTag?/\S/.test(childText)?tagDisplayName="Text nodes":(tagDisplayName="Whitespace text nodes",whitespaceInfo=" Make sure you don't have any extra whitespace between tags on each line of your source code."):tagDisplayName="<"+childTag+">",invalidParent){var info="";"table"===ancestorTag&&"tr"===childTag&&(info+=" Add a <tbody> to your code to match the DOM tree generated by the browser."),warning(!1,"validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s%s",tagDisplayName,ancestorTag,whitespaceInfo,info,addendum)}else warning(!1,"validateDOMNesting(...): %s cannot appear as a descendant of <%s>.%s",tagDisplayName,ancestorTag,addendum)}}}).updatedAncestorInfo=function(oldInfo,tag,instance){var ancestorInfo=_assign({},oldInfo||emptyAncestorInfo),info={tag:tag,instance:instance};return-1!==inScopeTags.indexOf(tag)&&(ancestorInfo.aTagInScope=null,ancestorInfo.buttonTagInScope=null,ancestorInfo.nobrTagInScope=null),-1!==buttonScopeTags.indexOf(tag)&&(ancestorInfo.pTagInButtonScope=null),-1!==specialTags.indexOf(tag)&&"address"!==tag&&"div"!==tag&&"p"!==tag&&(ancestorInfo.listItemTagAutoclosing=null,ancestorInfo.dlItemTagAutoclosing=null),ancestorInfo.current=info,"form"===tag&&(ancestorInfo.formTag=info),"a"===tag&&(ancestorInfo.aTagInScope=info),"button"===tag&&(ancestorInfo.buttonTagInScope=info),"nobr"===tag&&(ancestorInfo.nobrTagInScope=info),"p"===tag&&(ancestorInfo.pTagInButtonScope=info),"li"===tag&&(ancestorInfo.listItemTagAutoclosing=info),"dd"!==tag&&"dt"!==tag||(ancestorInfo.dlItemTagAutoclosing=info),ancestorInfo},validateDOMNesting.isTagValidInContext=function(tag,ancestorInfo){var parentInfo=(ancestorInfo=ancestorInfo||emptyAncestorInfo).current,parentTag=parentInfo&&parentInfo.tag;return isTagValidWithParent(tag,parentTag)&&!findInvalidAncestorForTag(tag,ancestorInfo)};var validateDOMNesting$1=validateDOMNesting,createElement=createElement$1,createTextNode=createTextNode$1,setInitialProperties=setInitialProperties$1,diffProperties=diffProperties$1,updateProperties=updateProperties$1,diffHydratedProperties=diffHydratedProperties$1,diffHydratedText=diffHydratedText$1,warnForUnmatchedText=warnForUnmatchedText$1,warnForDeletedHydratableElement=warnForDeletedHydratableElement$1,warnForDeletedHydratableText=warnForDeletedHydratableText$1,warnForInsertedHydratedElement=warnForInsertedHydratedElement$1,warnForInsertedHydratedText=warnForInsertedHydratedText$1,updatedAncestorInfo=validateDOMNesting$1.updatedAncestorInfo,precacheFiberNode=precacheFiberNode$1,updateFiberProps=updateFiberProps$1;"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||warning(!1,"React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. http://fb.me/react-polyfills"),injection$3.injectFiberControlledHostComponent(ReactDOMFiberComponent);var eventsEnabled=null,selectionInformation=null;function isValidContainer(node){return!(!node||node.nodeType!==ELEMENT_NODE&&node.nodeType!==DOCUMENT_NODE&&node.nodeType!==DOCUMENT_FRAGMENT_NODE&&(node.nodeType!==COMMENT_NODE||" react-mount-point-unstable "!==node.nodeValue))}function getReactRootElementInContainer(container){return container?container.nodeType===DOCUMENT_NODE?container.documentElement:container.firstChild:null}var DOMRenderer=reactReconciler({getRootHostContext:function(rootContainerInstance){var type=void 0,namespace=void 0,nodeType=rootContainerInstance.nodeType;switch(nodeType){case DOCUMENT_NODE:case DOCUMENT_FRAGMENT_NODE:type=nodeType===DOCUMENT_NODE?"#document":"#fragment";var root=rootContainerInstance.documentElement;namespace=root?root.namespaceURI:getChildNamespace(null,"");break;default:var container=nodeType===COMMENT_NODE?rootContainerInstance.parentNode:rootContainerInstance;namespace=getChildNamespace(container.namespaceURI||null,type=container.tagName)}var validatedTag=type.toLowerCase();return{namespace:namespace,ancestorInfo:updatedAncestorInfo(null,validatedTag,null)}},getChildHostContext:function(parentHostContext,type){var parentHostContextDev=parentHostContext;return{namespace:getChildNamespace(parentHostContextDev.namespace,type),ancestorInfo:updatedAncestorInfo(parentHostContextDev.ancestorInfo,type,null)}},getPublicInstance:function(instance){return instance},prepareForCommit:function(){eventsEnabled=isEnabled(),selectionInformation=getSelectionInformation(),setEnabled(!1)},resetAfterCommit:function(){restoreSelection(selectionInformation),selectionInformation=null,setEnabled(eventsEnabled),eventsEnabled=null},createInstance:function(type,props,rootContainerInstance,hostContext,internalInstanceHandle){var parentNamespace,hostContextDev=hostContext;if(validateDOMNesting$1(type,null,hostContextDev.ancestorInfo),"string"==typeof props.children||"number"==typeof props.children){var string=""+props.children,ownAncestorInfo=updatedAncestorInfo(hostContextDev.ancestorInfo,type,null);validateDOMNesting$1(null,string,ownAncestorInfo)}parentNamespace=hostContextDev.namespace;var domElement=createElement(type,props,rootContainerInstance,parentNamespace);return precacheFiberNode(internalInstanceHandle,domElement),updateFiberProps(domElement,props),domElement},appendInitialChild:function(parentInstance,child){parentInstance.appendChild(child)},finalizeInitialChildren:function(domElement,type,props,rootContainerInstance){return setInitialProperties(domElement,type,props,rootContainerInstance),function(type,props){switch(type){case"button":case"input":case"select":case"textarea":return!!props.autoFocus}return!1}(type,props)},prepareUpdate:function(domElement,type,oldProps,newProps,rootContainerInstance,hostContext){var hostContextDev=hostContext;if(typeof newProps.children!=typeof oldProps.children&&("string"==typeof newProps.children||"number"==typeof newProps.children)){var string=""+newProps.children,ownAncestorInfo=updatedAncestorInfo(hostContextDev.ancestorInfo,type,null);validateDOMNesting$1(null,string,ownAncestorInfo)}return diffProperties(domElement,type,oldProps,newProps,rootContainerInstance)},shouldSetTextContent:function(type,props){return"textarea"===type||"string"==typeof props.children||"number"==typeof props.children||"object"==typeof props.dangerouslySetInnerHTML&&null!==props.dangerouslySetInnerHTML&&"string"==typeof props.dangerouslySetInnerHTML.__html},shouldDeprioritizeSubtree:function(type,props){return!!props.hidden},createTextInstance:function(text,rootContainerInstance,hostContext,internalInstanceHandle){validateDOMNesting$1(null,text,hostContext.ancestorInfo);var textNode=createTextNode(text,rootContainerInstance);return precacheFiberNode(internalInstanceHandle,textNode),textNode},now:now,mutation:{commitMount:function(domElement,type,newProps,internalInstanceHandle){domElement.focus()},commitUpdate:function(domElement,updatePayload,type,oldProps,newProps,internalInstanceHandle){updateFiberProps(domElement,newProps),updateProperties(domElement,updatePayload,type,oldProps,newProps)},resetTextContent:function(domElement){domElement.textContent=""},commitTextUpdate:function(textInstance,oldText,newText){textInstance.nodeValue=newText},appendChild:function(parentInstance,child){parentInstance.appendChild(child)},appendChildToContainer:function(container,child){container.nodeType===COMMENT_NODE?container.parentNode.insertBefore(child,container):container.appendChild(child)},insertBefore:function(parentInstance,child,beforeChild){parentInstance.insertBefore(child,beforeChild)},insertInContainerBefore:function(container,child,beforeChild){container.nodeType===COMMENT_NODE?container.parentNode.insertBefore(child,beforeChild):container.insertBefore(child,beforeChild)},removeChild:function(parentInstance,child){parentInstance.removeChild(child)},removeChildFromContainer:function(container,child){container.nodeType===COMMENT_NODE?container.parentNode.removeChild(child):container.removeChild(child)}},hydration:{canHydrateInstance:function(instance,type,props){return instance.nodeType!==ELEMENT_NODE||type.toLowerCase()!==instance.nodeName.toLowerCase()?null:instance},canHydrateTextInstance:function(instance,text){return""===text||instance.nodeType!==TEXT_NODE?null:instance},getNextHydratableSibling:function(instance){for(var node=instance.nextSibling;node&&node.nodeType!==ELEMENT_NODE&&node.nodeType!==TEXT_NODE;)node=node.nextSibling;return node},getFirstHydratableChild:function(parentInstance){for(var next=parentInstance.firstChild;next&&next.nodeType!==ELEMENT_NODE&&next.nodeType!==TEXT_NODE;)next=next.nextSibling;return next},hydrateInstance:function(instance,type,props,rootContainerInstance,hostContext,internalInstanceHandle){precacheFiberNode(internalInstanceHandle,instance),updateFiberProps(instance,props);var parentNamespace;return parentNamespace=hostContext.namespace,diffHydratedProperties(instance,type,props,parentNamespace,rootContainerInstance)},hydrateTextInstance:function(textInstance,text,internalInstanceHandle){return precacheFiberNode(internalInstanceHandle,textInstance),diffHydratedText(textInstance,text)},didNotMatchHydratedContainerTextInstance:function(parentContainer,textInstance,text){warnForUnmatchedText(textInstance,text)},didNotMatchHydratedTextInstance:function(parentType,parentProps,parentInstance,textInstance,text){!0!==parentProps.suppressHydrationWarning&&warnForUnmatchedText(textInstance,text)},didNotHydrateContainerInstance:function(parentContainer,instance){1===instance.nodeType?warnForDeletedHydratableElement(parentContainer,instance):warnForDeletedHydratableText(parentContainer,instance)},didNotHydrateInstance:function(parentType,parentProps,parentInstance,instance){!0!==parentProps.suppressHydrationWarning&&(1===instance.nodeType?warnForDeletedHydratableElement(parentInstance,instance):warnForDeletedHydratableText(parentInstance,instance))},didNotFindHydratableContainerInstance:function(parentContainer,type,props){warnForInsertedHydratedElement(parentContainer,type,props)},didNotFindHydratableContainerTextInstance:function(parentContainer,text){warnForInsertedHydratedText(parentContainer,text)},didNotFindHydratableInstance:function(parentType,parentProps,parentInstance,type,props){!0!==parentProps.suppressHydrationWarning&&warnForInsertedHydratedElement(parentInstance,type,props)},didNotFindHydratableTextInstance:function(parentType,parentProps,parentInstance,text){!0!==parentProps.suppressHydrationWarning&&warnForInsertedHydratedText(parentInstance,text)}},scheduleDeferredCallback:rIC,cancelDeferredCallback:cIC,useSyncScheduling:!0});injection$4.injectFiberBatchedUpdates(DOMRenderer.batchedUpdates);var warnedAboutHydrateAPI=!1;function renderSubtreeIntoContainer(parentComponent,children,container,forceHydrate,callback){if(isValidContainer(container)||invariant(!1,"Target container is not a DOM element."),container._reactRootContainer&&container.nodeType!==COMMENT_NODE){var hostInstance=DOMRenderer.findHostInstanceWithNoPortals(container._reactRootContainer.current);hostInstance&&warning(hostInstance.parentNode===container,"render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var isRootRenderedBySomeReact=!!container._reactRootContainer,rootEl=getReactRootElementInContainer(container),hasNonRootReactChild=!(!rootEl||!getInstanceFromNode$1(rootEl));warning(!hasNonRootReactChild||isRootRenderedBySomeReact,"render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),warning(container.nodeType!==ELEMENT_NODE||!container.tagName||"BODY"!==container.tagName.toUpperCase(),"render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.");var root=container._reactRootContainer;if(root)DOMRenderer.updateContainer(children,root,parentComponent,callback);else{var shouldHydrate=forceHydrate||function(container){var rootElement=getReactRootElementInContainer(container);return!(!rootElement||rootElement.nodeType!==ELEMENT_NODE||!rootElement.hasAttribute(ROOT_ATTRIBUTE_NAME))}(container);if(!shouldHydrate)for(var warned=!1,rootSibling=void 0;rootSibling=container.lastChild;)!warned&&rootSibling.nodeType===ELEMENT_NODE&&rootSibling.hasAttribute(ROOT_ATTRIBUTE_NAME)&&(warned=!0,warning(!1,"render(): Target node has markup rendered by React, but there are unrelated nodes as well. This is most commonly caused by white-space inserted around server-rendered markup.")),container.removeChild(rootSibling);!shouldHydrate||forceHydrate||warnedAboutHydrateAPI||(warnedAboutHydrateAPI=!0,lowPriorityWarning$1(!1,"render(): Calling ReactDOM.render() to hydrate server-rendered markup will stop working in React v17. Replace the ReactDOM.render() call with ReactDOM.hydrate() if you want React to attach to the server HTML."));var newRoot=DOMRenderer.createContainer(container,shouldHydrate);root=container._reactRootContainer=newRoot,DOMRenderer.unbatchedUpdates(function(){DOMRenderer.updateContainer(children,newRoot,parentComponent,callback)})}return DOMRenderer.getPublicRootInstance(root)}function createPortal(children,container){var key=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return isValidContainer(container)||invariant(!1,"Target container is not a DOM element."),function(children,containerInfo,implementation){var key=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:REACT_PORTAL_TYPE,key:null==key?null:""+key,children:children,containerInfo:containerInfo,implementation:implementation}}(children,container,null,key)}function ReactRoot(container,hydrate){var root=DOMRenderer.createContainer(container,hydrate);this._reactRootContainer=root}ReactRoot.prototype.render=function(children,callback){var root=this._reactRootContainer;DOMRenderer.updateContainer(children,root,null,callback)},ReactRoot.prototype.unmount=function(callback){var root=this._reactRootContainer;DOMRenderer.updateContainer(null,root,null,callback)};var ReactDOM={createPortal:createPortal,findDOMNode:function(componentOrElement){var owner=ReactCurrentOwner.current;if(null!==owner){var warnedAboutRefsInRender=owner.stateNode._warnedAboutRefsInRender;warning(warnedAboutRefsInRender,"%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",getComponentName(owner)||"A component"),owner.stateNode._warnedAboutRefsInRender=!0}if(null==componentOrElement)return null;if(componentOrElement.nodeType===ELEMENT_NODE)return componentOrElement;var inst=get(componentOrElement);if(inst)return DOMRenderer.findHostInstance(inst);"function"==typeof componentOrElement.render?invariant(!1,"Unable to find node on an unmounted component."):invariant(!1,"Element appears to be neither ReactComponent nor DOMNode. Keys: %s",Object.keys(componentOrElement))},hydrate:function(element,container,callback){return renderSubtreeIntoContainer(null,element,container,!0,callback)},render:function(element,container,callback){return renderSubtreeIntoContainer(null,element,container,!1,callback)},unstable_renderSubtreeIntoContainer:function(parentComponent,element,containerNode,callback){return(null==parentComponent||void 0===parentComponent._reactInternalFiber)&&invariant(!1,"parentComponent must be a valid React Component"),renderSubtreeIntoContainer(parentComponent,element,containerNode,!1,callback)},unmountComponentAtNode:function(container){if(isValidContainer(container)||invariant(!1,"unmountComponentAtNode(...): Target container is not a DOM element."),container._reactRootContainer){var rootEl=getReactRootElementInContainer(container),renderedByDifferentReact=rootEl&&!getInstanceFromNode$1(rootEl);return warning(!renderedByDifferentReact,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),DOMRenderer.unbatchedUpdates(function(){renderSubtreeIntoContainer(null,null,container,!1,function(){container._reactRootContainer=null})}),!0}var _rootEl=getReactRootElementInContainer(container),hasNonRootReactChild=!(!_rootEl||!getInstanceFromNode$1(_rootEl)),isContainerReactRoot=1===container.nodeType&&isValidContainer(container.parentNode)&&!!container.parentNode._reactRootContainer;return warning(!hasNonRootReactChild,"unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",isContainerReactRoot?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},unstable_createPortal:createPortal,unstable_batchedUpdates:batchedUpdates,unstable_deferredUpdates:DOMRenderer.deferredUpdates,flushSync:DOMRenderer.flushSync,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{EventPluginHub:EventPluginHub,EventPluginRegistry:EventPluginRegistry,EventPropagators:EventPropagators,ReactControlledComponent:ReactControlledComponent,ReactDOMComponentTree:ReactDOMComponentTree,ReactDOMEventListener:ReactDOMEventListener}};if(!DOMRenderer.injectIntoDevTools({findFiberByHostInstance:getClosestInstanceFromNode,bundleType:1,version:"16.2.0",rendererPackageName:"react-dom"})&&ExecutionEnvironment.canUseDOM&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var protocol=window.location.protocol;/^(https?|file):$/.test(protocol)&&console.info("%cDownload the React DevTools for a better development experience: https://fb.me/react-devtools"+("file:"===protocol?"\nYou might need to use a local HTTP server (instead of file://): https://fb.me/react-devtools-faq":""),"font-weight:bold")}var ReactDOM$2=Object.freeze({default:ReactDOM}),ReactDOM$3=ReactDOM$2&&ReactDOM||ReactDOM$2,reactDom=ReactDOM$3.default?ReactDOM$3.default:ReactDOM$3;module.exports=reactDom})()},"./node_modules/react-dom/index.js":function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__("./node_modules/react-dom/cjs/react-dom.development.js")},"./node_modules/react/cjs/react.development.js":function(module,exports,__webpack_require__){"use strict";(function(){var _assign=__webpack_require__("./node_modules/object-assign/index.js"),emptyObject=__webpack_require__("./node_modules/fbjs/lib/emptyObject.js"),invariant=__webpack_require__("./node_modules/fbjs/lib/invariant.js"),warning=__webpack_require__("./node_modules/fbjs/lib/warning.js"),emptyFunction=__webpack_require__("./node_modules/fbjs/lib/emptyFunction.js"),checkPropTypes=__webpack_require__("./node_modules/prop-types/checkPropTypes.js"),hasSymbol="function"==typeof Symbol&&Symbol.for,REACT_ELEMENT_TYPE=hasSymbol?Symbol.for("react.element"):60103,REACT_CALL_TYPE=hasSymbol?Symbol.for("react.call"):60104,REACT_RETURN_TYPE=hasSymbol?Symbol.for("react.return"):60105,REACT_PORTAL_TYPE=hasSymbol?Symbol.for("react.portal"):60106,REACT_FRAGMENT_TYPE=hasSymbol?Symbol.for("react.fragment"):60107,MAYBE_ITERATOR_SYMBOL="function"==typeof Symbol&&Symbol.iterator,FAUX_ITERATOR_SYMBOL="@@iterator";function getIteratorFn(maybeIterable){if(null===maybeIterable||void 0===maybeIterable)return null;var maybeIterator=MAYBE_ITERATOR_SYMBOL&&maybeIterable[MAYBE_ITERATOR_SYMBOL]||maybeIterable[FAUX_ITERATOR_SYMBOL];return"function"==typeof maybeIterator?maybeIterator:null}var lowPriorityWarning$1=function(condition,format){if(void 0===format)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!condition){for(var _len2=arguments.length,args=Array(_len2>2?_len2-2:0),_key2=2;_key2<_len2;_key2++)args[_key2-2]=arguments[_key2];(function(format){for(var _len=arguments.length,args=Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];var argIndex=0,message="Warning: "+format.replace(/%s/g,function(){return args[argIndex++]});"undefined"!=typeof console&&console.warn(message);try{throw new Error(message)}catch(x){}}).apply(void 0,[format].concat(args))}},didWarnStateUpdateForUnmountedComponent={};function warnNoop(publicInstance,callerName){var constructor=publicInstance.constructor,componentName=constructor&&(constructor.displayName||constructor.name)||"ReactClass",warningKey=componentName+"."+callerName;didWarnStateUpdateForUnmountedComponent[warningKey]||(warning(!1,"%s(...): Can only update a mounted or mounting component. This usually means you called %s() on an unmounted component. This is a no-op.\n\nPlease check the code for the %s component.",callerName,callerName,componentName),didWarnStateUpdateForUnmountedComponent[warningKey]=!0)}var ReactNoopUpdateQueue={isMounted:function(publicInstance){return!1},enqueueForceUpdate:function(publicInstance,callback,callerName){warnNoop(publicInstance,"forceUpdate")},enqueueReplaceState:function(publicInstance,completeState,callback,callerName){warnNoop(publicInstance,"replaceState")},enqueueSetState:function(publicInstance,partialState,callback,callerName){warnNoop(publicInstance,"setState")}};function Component(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}Component.prototype.isReactComponent={},Component.prototype.setState=function(partialState,callback){"object"!=typeof partialState&&"function"!=typeof partialState&&null!=partialState&&invariant(!1,"setState(...): takes an object of state variables to update or a function which returns an object of state variables."),this.updater.enqueueSetState(this,partialState,callback,"setState")},Component.prototype.forceUpdate=function(callback){this.updater.enqueueForceUpdate(this,callback,"forceUpdate")};var deprecatedAPIs={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},defineDeprecationWarning=function(methodName,info){Object.defineProperty(Component.prototype,methodName,{get:function(){lowPriorityWarning$1(!1,"%s(...) is deprecated in plain JavaScript React classes. %s",info[0],info[1])}})};for(var fnName in deprecatedAPIs)deprecatedAPIs.hasOwnProperty(fnName)&&defineDeprecationWarning(fnName,deprecatedAPIs[fnName]);function PureComponent(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}function ComponentDummy(){}ComponentDummy.prototype=Component.prototype;var pureComponentPrototype=PureComponent.prototype=new ComponentDummy;function AsyncComponent(props,context,updater){this.props=props,this.context=context,this.refs=emptyObject,this.updater=updater||ReactNoopUpdateQueue}pureComponentPrototype.constructor=PureComponent,_assign(pureComponentPrototype,Component.prototype),pureComponentPrototype.isPureReactComponent=!0;var asyncComponentPrototype=AsyncComponent.prototype=new ComponentDummy;asyncComponentPrototype.constructor=AsyncComponent,_assign(asyncComponentPrototype,Component.prototype),asyncComponentPrototype.unstable_isAsyncReactComponent=!0,asyncComponentPrototype.render=function(){return this.props.children};var specialPropKeyWarningShown,specialPropRefWarningShown,ReactCurrentOwner={current:null},hasOwnProperty=Object.prototype.hasOwnProperty,RESERVED_PROPS={key:!0,ref:!0,__self:!0,__source:!0};function hasValidRef(config){if(hasOwnProperty.call(config,"ref")){var getter=Object.getOwnPropertyDescriptor(config,"ref").get;if(getter&&getter.isReactWarning)return!1}return void 0!==config.ref}function hasValidKey(config){if(hasOwnProperty.call(config,"key")){var getter=Object.getOwnPropertyDescriptor(config,"key").get;if(getter&&getter.isReactWarning)return!1}return void 0!==config.key}var ReactElement=function(type,key,ref,self,source,owner,props){var element={$$typeof:REACT_ELEMENT_TYPE,type:type,key:key,ref:ref,props:props,_owner:owner,_store:{}};return Object.defineProperty(element._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(element,"_self",{configurable:!1,enumerable:!1,writable:!1,value:self}),Object.defineProperty(element,"_source",{configurable:!1,enumerable:!1,writable:!1,value:source}),Object.freeze&&(Object.freeze(element.props),Object.freeze(element)),element};function createElement(type,config,children){var propName,props={},key=null,ref=null,self=null,source=null;if(null!=config)for(propName in hasValidRef(config)&&(ref=config.ref),hasValidKey(config)&&(key=""+config.key),self=void 0===config.__self?null:config.__self,source=void 0===config.__source?null:config.__source,config)hasOwnProperty.call(config,propName)&&!RESERVED_PROPS.hasOwnProperty(propName)&&(props[propName]=config[propName]);var childrenLength=arguments.length-2;if(1===childrenLength)props.children=children;else if(childrenLength>1){for(var childArray=Array(childrenLength),i=0;i<childrenLength;i++)childArray[i]=arguments[i+2];Object.freeze&&Object.freeze(childArray),props.children=childArray}if(type&&type.defaultProps){var defaultProps=type.defaultProps;for(propName in defaultProps)void 0===props[propName]&&(props[propName]=defaultProps[propName])}if((key||ref)&&(void 0===props.$$typeof||props.$$typeof!==REACT_ELEMENT_TYPE)){var displayName="function"==typeof type?type.displayName||type.name||"Unknown":type;key&&function(props,displayName){var warnAboutAccessingKey=function(){specialPropKeyWarningShown||(specialPropKeyWarningShown=!0,warning(!1,"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",displayName))};warnAboutAccessingKey.isReactWarning=!0,Object.defineProperty(props,"key",{get:warnAboutAccessingKey,configurable:!0})}(props,displayName),ref&&function(props,displayName){var warnAboutAccessingRef=function(){specialPropRefWarningShown||(specialPropRefWarningShown=!0,warning(!1,"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://fb.me/react-special-props)",displayName))};warnAboutAccessingRef.isReactWarning=!0,Object.defineProperty(props,"ref",{get:warnAboutAccessingRef,configurable:!0})}(props,displayName)}return ReactElement(type,key,ref,self,source,ReactCurrentOwner.current,props)}function isValidElement(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE}var ReactDebugCurrentFrame={getCurrentStack:null,getStackAddendum:function(){var impl=ReactDebugCurrentFrame.getCurrentStack;return impl?impl():null}},SEPARATOR=".",SUBSEPARATOR=":";var didWarnAboutMaps=!1,userProvidedKeyEscapeRegex=/\/+/g;function escapeUserProvidedKey(text){return(""+text).replace(userProvidedKeyEscapeRegex,"$&/")}var POOL_SIZE=10,traverseContextPool=[];function getPooledTraverseContext(mapResult,keyPrefix,mapFunction,mapContext){if(traverseContextPool.length){var traverseContext=traverseContextPool.pop();return traverseContext.result=mapResult,traverseContext.keyPrefix=keyPrefix,traverseContext.func=mapFunction,traverseContext.context=mapContext,traverseContext.count=0,traverseContext}return{result:mapResult,keyPrefix:keyPrefix,func:mapFunction,context:mapContext,count:0}}function releaseTraverseContext(traverseContext){traverseContext.result=null,traverseContext.keyPrefix=null,traverseContext.func=null,traverseContext.context=null,traverseContext.count=0,traverseContextPool.length<POOL_SIZE&&traverseContextPool.push(traverseContext)}function traverseAllChildren(children,callback,traverseContext){return null==children?0:function traverseAllChildrenImpl(children,nameSoFar,callback,traverseContext){var type=typeof children;"undefined"!==type&&"boolean"!==type||(children=null);var child,invokeCallback=!1;if(null===children)invokeCallback=!0;else switch(type){case"string":case"number":invokeCallback=!0;break;case"object":switch(children.$$typeof){case REACT_ELEMENT_TYPE:case REACT_CALL_TYPE:case REACT_RETURN_TYPE:case REACT_PORTAL_TYPE:invokeCallback=!0}}if(invokeCallback)return callback(traverseContext,children,""===nameSoFar?SEPARATOR+getComponentKey(children,0):nameSoFar),1;var subtreeCount=0,nextNamePrefix=""===nameSoFar?SEPARATOR:nameSoFar+SUBSEPARATOR;if(Array.isArray(children))for(var i=0;i<children.length;i++)subtreeCount+=traverseAllChildrenImpl(child=children[i],nextNamePrefix+getComponentKey(child,i),callback,traverseContext);else{var iteratorFn=getIteratorFn(children);if("function"==typeof iteratorFn){iteratorFn===children.entries&&(warning(didWarnAboutMaps,"Using Maps as children is unsupported and will likely yield unexpected results. Convert it to a sequence/iterable of keyed ReactElements instead.%s",ReactDebugCurrentFrame.getStackAddendum()),didWarnAboutMaps=!0);for(var step,iterator=iteratorFn.call(children),ii=0;!(step=iterator.next()).done;)subtreeCount+=traverseAllChildrenImpl(child=step.value,nextNamePrefix+getComponentKey(child,ii++),callback,traverseContext)}else if("object"===type){var addendum;addendum=" If you meant to render a collection of children, use an array instead."+ReactDebugCurrentFrame.getStackAddendum();var childrenString=""+children;invariant(!1,"Objects are not valid as a React child (found: %s).%s","[object Object]"===childrenString?"object with keys {"+Object.keys(children).join(", ")+"}":childrenString,addendum)}}return subtreeCount}(children,"",callback,traverseContext)}function getComponentKey(component,index){return"object"==typeof component&&null!==component&&null!=component.key?(key=component.key,escaperLookup={"=":"=0",":":"=2"},"$"+(""+key).replace(/[=:]/g,function(match){return escaperLookup[match]})):index.toString(36);var key,escaperLookup}function forEachSingleChild(bookKeeping,child,name){var func=bookKeeping.func,context=bookKeeping.context;func.call(context,child,bookKeeping.count++)}function mapSingleChildIntoContext(bookKeeping,child,childKey){var oldElement,newKey,result=bookKeeping.result,keyPrefix=bookKeeping.keyPrefix,func=bookKeeping.func,context=bookKeeping.context,mappedChild=func.call(context,child,bookKeeping.count++);Array.isArray(mappedChild)?mapIntoWithKeyPrefixInternal(mappedChild,result,childKey,emptyFunction.thatReturnsArgument):null!=mappedChild&&(isValidElement(mappedChild)&&(oldElement=mappedChild,newKey=keyPrefix+(!mappedChild.key||child&&child.key===mappedChild.key?"":escapeUserProvidedKey(mappedChild.key)+"/")+childKey,mappedChild=ReactElement(oldElement.type,newKey,oldElement.ref,oldElement._self,oldElement._source,oldElement._owner,oldElement.props)),result.push(mappedChild))}function mapIntoWithKeyPrefixInternal(children,array,prefix,func,context){var escapedPrefix="";null!=prefix&&(escapedPrefix=escapeUserProvidedKey(prefix)+"/");var traverseContext=getPooledTraverseContext(array,escapedPrefix,func,context);traverseAllChildren(children,mapSingleChildIntoContext,traverseContext),releaseTraverseContext(traverseContext)}function getComponentName(fiber){var type=fiber.type;return"string"==typeof type?type:"function"==typeof type?type.displayName||type.name:null}var currentlyValidatingElement=null,propTypesMisspellWarningShown=!1,getStackAddendum=function(){var element,stack="";if(currentlyValidatingElement){var name=null==(element=currentlyValidatingElement)?"#empty":"string"==typeof element||"number"==typeof element?"#text":"string"==typeof element.type?element.type:element.type===REACT_FRAGMENT_TYPE?"React.Fragment":element.type.displayName||element.type.name||"Unknown",owner=currentlyValidatingElement._owner;stack+=function(name,source,ownerName){return"\n    in "+(name||"Unknown")+(source?" (at "+source.fileName.replace(/^.*[\\\/]/,"")+":"+source.lineNumber+")":ownerName?" (created by "+ownerName+")":"")}(name,currentlyValidatingElement._source,owner&&getComponentName(owner))}return stack+=ReactDebugCurrentFrame.getStackAddendum()||""},VALID_FRAGMENT_PROPS=new Map([["children",!0],["key",!0]]);function getDeclarationErrorAddendum(){if(ReactCurrentOwner.current){var name=getComponentName(ReactCurrentOwner.current);if(name)return"\n\nCheck the render method of `"+name+"`."}return""}var ownerHasKeyUseWarning={};function validateExplicitKey(element,parentType){if(element._store&&!element._store.validated&&null==element.key){element._store.validated=!0;var currentComponentErrorInfo=function(parentType){var info=getDeclarationErrorAddendum();if(!info){var parentName="string"==typeof parentType?parentType:parentType.displayName||parentType.name;parentName&&(info="\n\nCheck the top-level render call using <"+parentName+">.")}return info}(parentType);if(!ownerHasKeyUseWarning[currentComponentErrorInfo]){ownerHasKeyUseWarning[currentComponentErrorInfo]=!0;var childOwner="";element&&element._owner&&element._owner!==ReactCurrentOwner.current&&(childOwner=" It was passed a child from "+getComponentName(element._owner)+"."),currentlyValidatingElement=element,warning(!1,'Each child in an array or iterator should have a unique "key" prop.%s%s See https://fb.me/react-warning-keys for more information.%s',currentComponentErrorInfo,childOwner,getStackAddendum()),currentlyValidatingElement=null}}}function validateChildKeys(node,parentType){if("object"==typeof node)if(Array.isArray(node))for(var i=0;i<node.length;i++){var child=node[i];isValidElement(child)&&validateExplicitKey(child,parentType)}else if(isValidElement(node))node._store&&(node._store.validated=!0);else if(node){var iteratorFn=getIteratorFn(node);if("function"==typeof iteratorFn&&iteratorFn!==node.entries)for(var step,iterator=iteratorFn.call(node);!(step=iterator.next()).done;)isValidElement(step.value)&&validateExplicitKey(step.value,parentType)}}function validatePropTypes(element){var componentClass=element.type;if("function"==typeof componentClass){var name=componentClass.displayName||componentClass.name,propTypes=componentClass.propTypes;propTypes?(currentlyValidatingElement=element,checkPropTypes(propTypes,element.props,"prop",name,getStackAddendum),currentlyValidatingElement=null):void 0===componentClass.PropTypes||propTypesMisspellWarningShown||(propTypesMisspellWarningShown=!0,warning(!1,"Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",name||"Unknown")),"function"==typeof componentClass.getDefaultProps&&warning(componentClass.getDefaultProps.isReactClassApproved,"getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function createElementWithValidation(type,props,children){var validType="string"==typeof type||"function"==typeof type||"symbol"==typeof type||"number"==typeof type;if(!validType){var info="";(void 0===type||"object"==typeof type&&null!==type&&0===Object.keys(type).length)&&(info+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var sourceInfo=function(elementProps){if(null!==elementProps&&void 0!==elementProps&&void 0!==elementProps.__source){var source=elementProps.__source;return"\n\nCheck your code at "+source.fileName.replace(/^.*[\\\/]/,"")+":"+source.lineNumber+"."}return""}(props);info+=sourceInfo||getDeclarationErrorAddendum(),info+=getStackAddendum()||"",warning(!1,"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",null==type?type:typeof type,info)}var element=createElement.apply(this,arguments);if(null==element)return element;if(validType)for(var i=2;i<arguments.length;i++)validateChildKeys(arguments[i],type);return"symbol"==typeof type&&type===REACT_FRAGMENT_TYPE?function(fragment){currentlyValidatingElement=fragment;var _iteratorNormalCompletion=!0,_didIteratorError=!1,_iteratorError=void 0;try{for(var _step,_iterator=Object.keys(fragment.props)[Symbol.iterator]();!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=!0){var key=_step.value;if(!VALID_FRAGMENT_PROPS.has(key)){warning(!1,"Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.%s",key,getStackAddendum());break}}}catch(err){_didIteratorError=!0,_iteratorError=err}finally{try{!_iteratorNormalCompletion&&_iterator.return&&_iterator.return()}finally{if(_didIteratorError)throw _iteratorError}}null!==fragment.ref&&warning(!1,"Invalid attribute `ref` supplied to `React.Fragment`.%s",getStackAddendum()),currentlyValidatingElement=null}(element):validatePropTypes(element),element}var React={Children:{map:function(children,func,context){if(null==children)return children;var result=[];return mapIntoWithKeyPrefixInternal(children,result,null,func,context),result},forEach:function(children,forEachFunc,forEachContext){if(null==children)return children;var traverseContext=getPooledTraverseContext(null,null,forEachFunc,forEachContext);traverseAllChildren(children,forEachSingleChild,traverseContext),releaseTraverseContext(traverseContext)},count:function(children,context){return traverseAllChildren(children,emptyFunction.thatReturnsNull,null)},toArray:function(children){var result=[];return mapIntoWithKeyPrefixInternal(children,result,null,emptyFunction.thatReturnsArgument),result},only:function(children){return isValidElement(children)||invariant(!1,"React.Children.only expected to receive a single React element child."),children}},Component:Component,PureComponent:PureComponent,unstable_AsyncComponent:AsyncComponent,Fragment:REACT_FRAGMENT_TYPE,createElement:createElementWithValidation,cloneElement:function(element,props,children){for(var newElement=function(element,config,children){var propName,defaultProps,props=_assign({},element.props),key=element.key,ref=element.ref,self=element._self,source=element._source,owner=element._owner;if(null!=config)for(propName in hasValidRef(config)&&(ref=config.ref,owner=ReactCurrentOwner.current),hasValidKey(config)&&(key=""+config.key),element.type&&element.type.defaultProps&&(defaultProps=element.type.defaultProps),config)hasOwnProperty.call(config,propName)&&!RESERVED_PROPS.hasOwnProperty(propName)&&(void 0===config[propName]&&void 0!==defaultProps?props[propName]=defaultProps[propName]:props[propName]=config[propName]);var childrenLength=arguments.length-2;if(1===childrenLength)props.children=children;else if(childrenLength>1){for(var childArray=Array(childrenLength),i=0;i<childrenLength;i++)childArray[i]=arguments[i+2];props.children=childArray}return ReactElement(element.type,key,ref,self,source,owner,props)}.apply(this,arguments),i=2;i<arguments.length;i++)validateChildKeys(arguments[i],newElement.type);return validatePropTypes(newElement),newElement},createFactory:function(type){var validatedFactory=createElementWithValidation.bind(null,type);return validatedFactory.type=type,Object.defineProperty(validatedFactory,"type",{enumerable:!1,get:function(){return lowPriorityWarning$1(!1,"Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:type}),type}}),validatedFactory},isValidElement:isValidElement,version:"16.2.0",__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:{ReactCurrentOwner:ReactCurrentOwner,assign:_assign}};_assign(React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,{ReactDebugCurrentFrame:ReactDebugCurrentFrame,ReactComponentTreeHook:{}});var React$2=Object.freeze({default:React}),React$3=React$2&&React||React$2,react=React$3.default?React$3.default:React$3;module.exports=react})()},"./node_modules/react/index.js":function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__("./node_modules/react/cjs/react.development.js")},"./src/maasserver/static/js/angular/3rdparty/ng-tags-input.js":function(module,exports){!function(){"use strict";var KEYS_backspace=8,KEYS_tab=9,KEYS_enter=13,KEYS_escape=27,KEYS_space=32,KEYS_up=38,KEYS_down=40,KEYS_left=37,KEYS_right=39,KEYS_delete=46,KEYS_comma=188,SUPPORTED_INPUT_TYPES=["text","email","url"],tagsInput=angular.module("ngTagsInput",[]);tagsInput.directive("tagsInput",["$timeout","$document","$window","tagsInputConfig","tiUtil",function($timeout,$document,$window,tagsInputConfig,tiUtil){function validateType(type){return-1!==SUPPORTED_INPUT_TYPES.indexOf(type)}return{restrict:"E",require:"ngModel",scope:{tags:"=ngModel",onTagAdding:"&",onTagAdded:"&",onInvalidTag:"&",onTagRemoving:"&",onTagRemoved:"&"},replace:!1,transclude:!0,templateUrl:"ngTagsInput/tags-input.html",controller:["$scope","$attrs","$element",function($scope,$attrs,$element){$scope.events=tiUtil.simplePubSub(),tagsInputConfig.load("tagsInput",$scope,$attrs,{template:[String,"ngTagsInput/tag-item.html"],type:[String,"text",validateType],placeholder:[String,"Add a tag"],tabindex:[Number,null],removeTagSymbol:[String,String.fromCharCode(215)],replaceSpacesWithDashes:[Boolean,!0],minLength:[Number,3],maxLength:[Number,9007199254740991],addOnEnter:[Boolean,!0],addOnSpace:[Boolean,!1],addOnComma:[Boolean,!0],addOnBlur:[Boolean,!0],addOnPaste:[Boolean,!1],pasteSplitPattern:[RegExp,/,/],allowedTagsPattern:[RegExp,/.+/],enableEditingLastTag:[Boolean,!1],minTags:[Number,0],maxTags:[Number,9007199254740991],displayProperty:[String,"text"],keyProperty:[String,""],allowLeftoverText:[Boolean,!1],addFromAutocompleteOnly:[Boolean,!1],spellcheck:[Boolean,!0]}),$scope.tagList=new function(options,events,onTagAdding,onTagRemoving){var getTagText,setTagText,tagIsValid,self={};return getTagText=function(tag){return tiUtil.safeToString(tag[options.displayProperty])},setTagText=function(tag,text){tag[options.displayProperty]=text},tagIsValid=function(tag){var tagText=getTagText(tag);return tagText&&tagText.length>=options.minLength&&tagText.length<=options.maxLength&&options.allowedTagsPattern.test(tagText)&&!tiUtil.findInObjectArray(self.items,tag,options.keyProperty||options.displayProperty)&&onTagAdding({$tag:tag})},self.items=[],self.addText=function(text){var tag={};return setTagText(tag,text),self.add(tag)},self.add=function(tag){var tagText=getTagText(tag);return options.replaceSpacesWithDashes&&(tagText=tiUtil.replaceSpacesWithDashes(tagText)),setTagText(tag,tagText),tagIsValid(tag)?(self.items.push(tag),events.trigger("tag-added",{$tag:tag})):tagText&&events.trigger("invalid-tag",{$tag:tag}),tag},self.remove=function(index){var tag=self.items[index];if(onTagRemoving({$tag:tag}))return self.items.splice(index,1),self.clearSelection(),events.trigger("tag-removed",{$tag:tag}),tag},self.select=function(index){index<0?index=self.items.length-1:index>=self.items.length&&(index=0),self.index=index,self.selected=self.items[index]},self.selectPrior=function(){self.select(--self.index)},self.selectNext=function(){self.select(++self.index)},self.removeSelected=function(){return self.remove(self.index)},self.clearSelection=function(){self.selected=null,self.index=-1},self.clearSelection(),self}($scope.options,$scope.events,tiUtil.handleUndefinedResult($scope.onTagAdding,!0),tiUtil.handleUndefinedResult($scope.onTagRemoving,!0)),this.registerAutocomplete=function(){$element.find("input");return{addTag:function(tag){return $scope.tagList.add(tag)},focusInput:function(){},getTags:function(){return $scope.tags},getCurrentTagText:function(){return $scope.newTag.text},getOptions:function(){return $scope.options},on:function(name,handler){return $scope.events.on(name,handler),this}}},this.registerTagItem=function(){return{getOptions:function(){return $scope.options},removeTag:function(index){$scope.disabled||$scope.tagList.remove(index)}}}}],link:function(scope,element,attrs,ngModelCtrl){var setElementValidity,hotkeys=[KEYS_enter,KEYS_comma,KEYS_space,KEYS_backspace,KEYS_delete,KEYS_left,KEYS_right],tagList=scope.tagList,events=scope.events,options=scope.options,input=element.find("input"),validationOptions=["minTags","maxTags","allowLeftoverText"];setElementValidity=function(){ngModelCtrl.$setValidity("maxTags",scope.tags.length<=options.maxTags),ngModelCtrl.$setValidity("minTags",scope.tags.length>=options.minTags),ngModelCtrl.$setValidity("leftoverText",!(!scope.hasFocus&&!options.allowLeftoverText)||!scope.newTag.text)},ngModelCtrl.$isEmpty=function(value){return!value||!value.length},scope.newTag={text:"",invalid:null,setText:function(value){this.text=value,events.trigger("input-change",value)}},scope.track=function(tag){return tag[options.keyProperty||options.displayProperty]},scope.$watch("tags",function(value){scope.tags=tiUtil.makeObjectArray(value,options.displayProperty),tagList.items=scope.tags}),scope.$watch("tags.length",function(){setElementValidity()}),attrs.$observe("disabled",function(value){scope.disabled=value}),scope.eventHandlers={input:{change:function(text){events.trigger("input-change",text)},keydown:function($event){events.trigger("input-keydown",$event)},focus:function(){scope.hasFocus||(scope.hasFocus=!0,events.trigger("input-focus"))},blur:function(){$timeout(function(){var activeElement=$document.prop("activeElement"),lostFocusToBrowserWindow=activeElement===input[0],lostFocusToChildElement=element[0].contains(activeElement);!lostFocusToBrowserWindow&&lostFocusToChildElement||(scope.hasFocus=!1,events.trigger("input-blur"))})},paste:function($event){$event.getTextData=function(){var clipboardData=$event.clipboardData||$event.originalEvent&&$event.originalEvent.clipboardData;return clipboardData?clipboardData.getData("text/plain"):$window.clipboardData.getData("Text")},events.trigger("input-paste",$event)}},host:{click:function(){scope.disabled}}},events.on("tag-added",scope.onTagAdded).on("invalid-tag",scope.onInvalidTag).on("tag-removed",scope.onTagRemoved).on("tag-added",function(){scope.newTag.setText("")}).on("tag-added tag-removed",function(){ngModelCtrl.$setViewValue(scope.tags)}).on("invalid-tag",function(){scope.newTag.invalid=!0}).on("option-change",function(e){-1!==validationOptions.indexOf(e.name)&&setElementValidity()}).on("input-change",function(){tagList.clearSelection(),scope.newTag.invalid=null}).on("input-focus",function(){element.triggerHandler("focus"),ngModelCtrl.$setValidity("leftoverText",!0)}).on("input-blur",function(){options.addOnBlur&&!options.addFromAutocompleteOnly&&tagList.addText(scope.newTag.text),element.triggerHandler("blur"),setElementValidity()}).on("input-keydown",function(event){var shouldAdd,shouldRemove,shouldSelect,shouldEditLastTag,key=event.keyCode,addKeys={};if(!(event.shiftKey||event.altKey||event.ctrlKey||event.metaKey)&&-1!==hotkeys.indexOf(key)){if(addKeys[KEYS_enter]=options.addOnEnter,addKeys[KEYS_comma]=options.addOnComma,addKeys[KEYS_space]=options.addOnSpace,shouldAdd=!options.addFromAutocompleteOnly&&addKeys[key],shouldRemove=(key===KEYS_backspace||key===KEYS_delete)&&tagList.selected,shouldEditLastTag=key===KEYS_backspace&&0===scope.newTag.text.length&&options.enableEditingLastTag,shouldSelect=(key===KEYS_backspace||key===KEYS_left||key===KEYS_right)&&0===scope.newTag.text.length&&!options.enableEditingLastTag,shouldAdd)tagList.addText(scope.newTag.text);else if(shouldEditLastTag){var tag;tagList.selectPrior(),(tag=tagList.removeSelected())&&scope.newTag.setText(tag[options.displayProperty])}else shouldRemove?tagList.removeSelected():shouldSelect&&(key===KEYS_left||key===KEYS_backspace?tagList.selectPrior():key===KEYS_right&&tagList.selectNext());(shouldAdd||shouldSelect||shouldRemove||shouldEditLastTag)&&event.preventDefault()}}).on("input-paste",function(event){if(options.addOnPaste){var tags=event.getTextData().split(options.pasteSplitPattern);tags.length>1&&(tags.forEach(function(tag){tagList.addText(tag)}),event.preventDefault())}})}}}]),tagsInput.directive("tiTagItem",["tiUtil",function(tiUtil){return{restrict:"E",require:"^tagsInput",template:'<ng-include src="$$template"></ng-include>',scope:{data:"="},link:function(scope,element,attrs,tagsInputCtrl){var tagsInput=tagsInputCtrl.registerTagItem(),options=tagsInput.getOptions();scope.$$template=options.template,scope.$$removeTagSymbol=options.removeTagSymbol,scope.$getDisplayText=function(){return tiUtil.safeToString(scope.data[options.displayProperty])},scope.$removeTag=function(){tagsInput.removeTag(scope.$index)},scope.$watch("$parent.$index",function(value){scope.$index=value})}}}]),tagsInput.directive("autoComplete",["$document","$timeout","$sce","$q","tagsInputConfig","tiUtil",function($document,$timeout,$sce,$q,tagsInputConfig,tiUtil){return{restrict:"E",require:"^tagsInput",scope:{source:"&"},templateUrl:"ngTagsInput/auto-complete.html",controller:["$scope","$element","$attrs",function($scope,$element,$attrs){$scope.events=tiUtil.simplePubSub(),tagsInputConfig.load("autoComplete",$scope,$attrs,{template:[String,"ngTagsInput/auto-complete-match.html"],debounceDelay:[Number,100],minLength:[Number,3],highlightMatchedText:[Boolean,!0],maxResultsToShow:[Number,10],loadOnDownArrow:[Boolean,!1],loadOnEmpty:[Boolean,!1],loadOnFocus:[Boolean,!1],selectFirstMatch:[Boolean,!0],displayProperty:[String,""]}),$scope.suggestionList=new function(loadFn,options,events){var getDifference,lastPromise,getTagId,self={};return getTagId=function(){return options.tagsInput.keyProperty||options.tagsInput.displayProperty},getDifference=function(array1,array2){return array1.filter(function(item){return!tiUtil.findInObjectArray(array2,item,getTagId(),function(a,b){return options.tagsInput.replaceSpacesWithDashes&&(a=tiUtil.replaceSpacesWithDashes(a),b=tiUtil.replaceSpacesWithDashes(b)),tiUtil.defaultComparer(a,b)})})},self.reset=function(){lastPromise=null,self.items=[],self.visible=!1,self.index=-1,self.selected=null,self.query=null},self.show=function(){options.selectFirstMatch?self.select(0):self.selected=null,self.visible=!0},self.load=tiUtil.debounce(function(query,tags){self.query=query;var promise=$q.when(loadFn({$query:query}));lastPromise=promise,promise.then(function(items){promise===lastPromise&&(items=tiUtil.makeObjectArray(items.data||items,getTagId()),items=getDifference(items,tags),self.items=items.slice(0,options.maxResultsToShow),self.items.length>0?self.show():self.reset())})},options.debounceDelay),self.selectNext=function(){self.select(++self.index)},self.selectPrior=function(){self.select(--self.index)},self.select=function(index){index<0?index=self.items.length-1:index>=self.items.length&&(index=0),self.index=index,self.selected=self.items[index],events.trigger("suggestion-selected",index)},self.reset(),self}($scope.source,$scope.options,$scope.events),this.registerAutocompleteMatch=function(){return{getOptions:function(){return $scope.options},getQuery:function(){return $scope.suggestionList.query}}}}],link:function(scope,element,attrs,tagsInputCtrl){var shouldLoadSuggestions,hotkeys=[KEYS_enter,KEYS_tab,KEYS_escape,KEYS_up,KEYS_down],suggestionList=scope.suggestionList,tagsInput=tagsInputCtrl.registerAutocomplete(),options=scope.options,events=scope.events;options.tagsInput=tagsInput.getOptions(),shouldLoadSuggestions=function(value){return value&&value.length>=options.minLength||!value&&options.loadOnEmpty},scope.addSuggestionByIndex=function(index){suggestionList.select(index),scope.addSuggestion()},scope.addSuggestion=function(){var added=!1;return suggestionList.selected&&(tagsInput.addTag(angular.copy(suggestionList.selected)),suggestionList.reset(),tagsInput.focusInput(),added=!0),added},scope.track=function(item){return item[options.tagsInput.keyProperty||options.tagsInput.displayProperty]},tagsInput.on("tag-added invalid-tag input-blur",function(){suggestionList.reset()}).on("input-change",function(value){shouldLoadSuggestions(value)?suggestionList.load(value,tagsInput.getTags()):suggestionList.reset()}).on("input-focus",function(){var value=tagsInput.getCurrentTagText();options.loadOnFocus&&shouldLoadSuggestions(value)&&suggestionList.load(value,tagsInput.getTags())}).on("input-keydown",function(event){var key=event.keyCode,handled=!1;if(-1!==hotkeys.indexOf(key))return suggestionList.visible?key===KEYS_down?(suggestionList.selectNext(),handled=!0):key===KEYS_up?(suggestionList.selectPrior(),handled=!0):key===KEYS_escape?(suggestionList.reset(),handled=!0):key!==KEYS_enter&&key!==KEYS_tab||(handled=scope.addSuggestion()):key===KEYS_down&&scope.options.loadOnDownArrow&&(suggestionList.load(tagsInput.getCurrentTagText(),tagsInput.getTags()),handled=!0),handled?(event.preventDefault(),event.stopImmediatePropagation(),!1):void 0}),events.on("suggestion-selected",function(index){!function(root,index){var element=root.find("li").eq(index),parent=element.parent(),elementTop=element.prop("offsetTop"),elementHeight=element.prop("offsetHeight"),parentHeight=parent.prop("clientHeight"),parentScrollTop=parent.prop("scrollTop");elementTop<parentScrollTop?parent.prop("scrollTop",elementTop):elementTop+elementHeight>parentHeight+parentScrollTop&&parent.prop("scrollTop",elementTop+elementHeight-parentHeight)}(element,index)})}}}]),tagsInput.directive("tiAutocompleteMatch",["$sce","tiUtil",function($sce,tiUtil){return{restrict:"E",require:"^autoComplete",template:'<ng-include src="$$template"></ng-include>',scope:{data:"="},link:function(scope,element,attrs,autoCompleteCtrl){var autoComplete=autoCompleteCtrl.registerAutocompleteMatch(),options=autoComplete.getOptions();scope.$$template=options.template,scope.$index=scope.$parent.$index,scope.$highlight=function(text){return options.highlightMatchedText&&(text=tiUtil.safeHighlight(text,autoComplete.getQuery())),$sce.trustAsHtml(text)},scope.$getDisplayText=function(){return tiUtil.safeToString(scope.data[options.displayProperty||options.tagsInput.displayProperty])}}}}]),tagsInput.directive("tiTranscludeAppend",function(){return function(scope,element,attrs,ctrl,transcludeFn){transcludeFn(function(clone){element.append(clone)})}}),tagsInput.directive("tiAutosize",["tagsInputConfig",function(tagsInputConfig){return{restrict:"A",require:"ngModel",link:function(scope,element,attrs,ctrl){var span,resize,threshold=tagsInputConfig.getTextAutosizeThreshold();(span=angular.element('<span class="input"></span>')).css("display","none").css("visibility","hidden").css("width","auto").css("white-space","pre"),element.parent().append(span),resize=function(originalValue){var width,value=originalValue;return angular.isString(value)&&0===value.length&&(value=attrs.placeholder),value&&(span.text(value),span.css("display",""),width=span.prop("offsetWidth"),span.css("display","none")),element.css("width",width?width+threshold+"px":""),originalValue},ctrl.$parsers.unshift(resize),ctrl.$formatters.unshift(resize),attrs.$observe("placeholder",function(value){ctrl.$modelValue||resize(value)})}}}]),tagsInput.directive("tiBindAttrs",function(){return function(scope,element,attrs){scope.$watch(attrs.tiBindAttrs,function(value){angular.forEach(value,function(value,key){"type"===key?element[0].type=value:attrs.$set(key,value)})},!0)}}),tagsInput.provider("tagsInputConfig",function(){var globalDefaults={},interpolationStatus={},autosizeThreshold=3;this.setDefaults=function(directive,defaults){return globalDefaults[directive]=defaults,this},this.setActiveInterpolation=function(directive,options){return interpolationStatus[directive]=options,this},this.setTextAutosizeThreshold=function(threshold){return autosizeThreshold=threshold,this},this.$get=["$interpolate",function($interpolate){var converters={};return converters[String]=function(value){return value},converters[Number]=function(value){return parseInt(value,10)},converters[Boolean]=function(value){return"true"===value.toLowerCase()},converters[RegExp]=function(value){return new RegExp(value)},{load:function(directive,scope,attrs,options){var defaultValidator=function(){return!0};scope.options={},angular.forEach(options,function(value,key){var type,localDefault,validator,converter,getDefault,updateValue;type=value[0],localDefault=value[1],validator=value[2]||defaultValidator,converter=converters[type],getDefault=function(){var globalValue=globalDefaults[directive]&&globalDefaults[directive][key];return angular.isDefined(globalValue)?globalValue:localDefault},updateValue=function(value){scope.options[key]=value&&validator(value)?converter(value):getDefault()},interpolationStatus[directive]&&interpolationStatus[directive][key]?attrs.$observe(key,function(value){updateValue(value),scope.events.trigger("option-change",{name:key,newValue:value})}):updateValue(attrs[key]&&$interpolate(attrs[key])(scope.$parent))})},getTextAutosizeThreshold:function(){return autosizeThreshold}}}]}),tagsInput.factory("tiUtil",["$timeout",function($timeout){var self={debounce:function(fn,delay){var timeoutId;return function(){var args=arguments;$timeout.cancel(timeoutId),timeoutId=$timeout(function(){fn.apply(null,args)},delay)}},makeObjectArray:function(array,key){return(array=array||[]).length>0&&!angular.isObject(array[0])&&array.forEach(function(item,index){array[index]={},array[index][key]=item}),array},findInObjectArray:function(array,obj,key,comparer){var item=null;return comparer=comparer||self.defaultComparer,array.some(function(element){if(comparer(element[key],obj[key]))return item=element,!0}),item},defaultComparer:function(a,b){return self.safeToString(a).toLowerCase()===self.safeToString(b).toLowerCase()},safeHighlight:function(str,value){if(!value)return str;str=self.encodeHTML(str),value=self.encodeHTML(value);var expression=new RegExp("&[^;]+;|"+function(str){return str.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}(value),"gi");return str.replace(expression,function(match){return match.toLowerCase()===value.toLowerCase()?"<em>"+match+"</em>":match})},safeToString:function(value){return angular.isUndefined(value)||null==value?"":value.toString().trim()},encodeHTML:function(value){return self.safeToString(value).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},handleUndefinedResult:function(fn,valueIfUndefined){return function(){var result=fn.apply(null,arguments);return angular.isUndefined(result)?valueIfUndefined:result}},replaceSpacesWithDashes:function(str){return self.safeToString(str).replace(/\s/g,"-")},simplePubSub:function(){var events={};return{on:function(names,handler){return names.split(" ").forEach(function(name){events[name]||(events[name]=[]),events[name].push(handler)}),this},trigger:function(name,args){return(events[name]||[]).every(function(handler){return self.handleUndefinedResult(handler,!0)(args)}),this}}}};return self}]),tagsInput.run(["$templateCache",function($templateCache){$templateCache.put("ngTagsInput/tags-input.html",'<div class="host" tabindex="-1" data-ng-click="eventHandlers.host.click()" ti-transclude-append=""><div class="tags" data-ng-class="{focused: hasFocus}"><ul class="tag-list"><li class="tag-item" data-ng-repeat="tag in tagList.items track by track(tag)" data-ng-class="{ selected: tag == tagList.selected }"><ti-tag-item data="tag"></ti-tag-item></li></ul><input class="input u-no-margin--top" autocomplete="off" data-ng-model="newTag.text" data-ng-change="eventHandlers.input.change(newTag.text)" data-ng-keydown="eventHandlers.input.keydown($event)" data-ng-focus="eventHandlers.input.focus($event)" data-ng-blur="eventHandlers.input.blur($event)" data-ng-paste="eventHandlers.input.paste($event)" data-ng-trim="false" data-ng-class="{\'invalid-tag\': newTag.invalid}" data-ng-disabled="disabled" ti-bind-attrs="{type: options.type, placeholder: options.placeholder, tabindex: options.tabindex, spellcheck: options.spellcheck}" ti-autosize=""></div></div>'),$templateCache.put("ngTagsInput/tag-item.html",'<span ng-bind="$getDisplayText()"></span> <a class="p-icon--close" data-ng-click="$removeTag()" data-ng-bind="$$removeTagSymbol">Remove tag</a>'),$templateCache.put("ngTagsInput/auto-complete.html",'<div class="autocomplete" data-ng-if="suggestionList.visible"><ul class="p-list suggestion-list"><li class="suggestion-item" data-ng-repeat="item in suggestionList.items track by track(item)" data-ng-class="{selected: item == suggestionList.selected}" data-ng-click="addSuggestionByIndex($index)" data-ng-mouseenter="suggestionList.select($index)"><ti-autocomplete-match data="item"></ti-autocomplete-match></li></ul></div>'),$templateCache.put("ngTagsInput/auto-complete-match.html",'<span data-ng-bind-html="$highlight($getDisplayText())"></span>')}])}()},"./src/maasserver/static/js/angular/3rdparty/vs-repeat.js":function(module,exports){!function(window,angular){"use strict";var dde=document.documentElement,matchingFunction=dde.matches?"matches":dde.matchesSelector?"matchesSelector":dde.webkitMatches?"webkitMatches":dde.webkitMatchesSelector?"webkitMatchesSelector":dde.msMatches?"msMatches":dde.msMatchesSelector?"msMatchesSelector":dde.mozMatches?"mozMatches":dde.mozMatchesSelector?"mozMatchesSelector":null,closestElement=angular.element.prototype.closest||function(selector){for(var el=this[0].parentNode;el!==document.documentElement&&null!=el&&!el[matchingFunction](selector);)el=el.parentNode;return el&&el[matchingFunction](selector)?angular.element(el):angular.element()};function getWindowScroll(){if("pageYOffset"in window)return{scrollTop:pageYOffset,scrollLeft:pageXOffset};var sx,d=document,r=d.documentElement,b=d.body;return sx=r.scrollLeft||b.scrollLeft||0,{scrollTop:r.scrollTop||b.scrollTop||0,scrollLeft:sx}}function getClientSize(element,sizeProp){return element===window?"clientWidth"===sizeProp?window.innerWidth:window.innerHeight:element[sizeProp]}var vsRepeatModule=angular.module("vs-repeat",[]).directive("vsRepeat",["$compile","$parse",function($compile,$parse){return{restrict:"A",scope:!0,compile:function($element,$attrs){var ngRepeatExpression,expressionMatches,lhs,rhs,rhsSuffix,originalNgRepeatAttr,repeatContainer=angular.isDefined($attrs.vsRepeatContainer)?angular.element($element[0].querySelector($attrs.vsRepeatContainer)):$element,ngRepeatChild=repeatContainer.children().eq(0),childCloneHtml=ngRepeatChild[0].outerHTML,collectionName="$vs_collection",isNgRepeatStart=!1,attributesDictionary={vsRepeat:"elementSize",vsOffsetBefore:"offsetBefore",vsOffsetAfter:"offsetAfter",vsScrolledToEndOffset:"scrolledToEndOffset",vsScrolledToBeginningOffset:"scrolledToBeginningOffset",vsExcess:"excess"};if(ngRepeatChild.attr("ng-repeat"))originalNgRepeatAttr="ng-repeat",ngRepeatExpression=ngRepeatChild.attr("ng-repeat");else if(ngRepeatChild.attr("data-ng-repeat"))originalNgRepeatAttr="data-ng-repeat",ngRepeatExpression=ngRepeatChild.attr("data-ng-repeat");else if(ngRepeatChild.attr("ng-repeat-start"))isNgRepeatStart=!0,originalNgRepeatAttr="ng-repeat-start",ngRepeatExpression=ngRepeatChild.attr("ng-repeat-start");else{if(!ngRepeatChild.attr("data-ng-repeat-start"))throw new Error("angular-vs-repeat: no ng-repeat directive on a child element");isNgRepeatStart=!0,originalNgRepeatAttr="data-ng-repeat-start",ngRepeatExpression=ngRepeatChild.attr("data-ng-repeat-start")}if(expressionMatches=/^\s*(\S+)\s+in\s+([\S\s]+?)(track\s+by\s+\S+)?$/.exec(ngRepeatExpression),lhs=expressionMatches[1],rhs=expressionMatches[2],rhsSuffix=expressionMatches[3],isNgRepeatStart)for(var index=0,repeaterElement=repeatContainer.children().eq(0);null==repeaterElement.attr("ng-repeat-end")&&null==repeaterElement.attr("data-ng-repeat-end");)index++,repeaterElement=repeatContainer.children().eq(index),childCloneHtml+=repeaterElement[0].outerHTML;return repeatContainer.empty(),{pre:function($scope,$element,$attrs){var originalLength,_prevStartIndex,_prevEndIndex,_minStartIndex,_maxEndIndex,_prevClientSize,repeatContainer=angular.isDefined($attrs.vsRepeatContainer)?angular.element($element[0].querySelector($attrs.vsRepeatContainer)):$element,childClone=angular.element(childCloneHtml),childTagName=childClone[0].tagName.toLowerCase(),originalCollection=[],$$horizontal=void 0!==$attrs.vsHorizontal,$beforeContent=angular.element("<"+childTagName+' class="vs-repeat-before-content"></'+childTagName+">"),$afterContent=angular.element("<"+childTagName+' class="vs-repeat-after-content"></'+childTagName+">"),autoSize=!$attrs.vsRepeat,sizesPropertyExists=!!$attrs.vsSize||!!$attrs.vsSizeProperty,$scrollParent=$attrs.vsScrollParent?"window"===$attrs.vsScrollParent?angular.element(window):closestElement.call(repeatContainer,$attrs.vsScrollParent):repeatContainer,$$options="vsOptions"in $attrs?$scope.$eval($attrs.vsOptions):{},clientSize=$$horizontal?"clientWidth":"clientHeight",offsetSize=$$horizontal?"offsetWidth":"offsetHeight",scrollPos=$$horizontal?"scrollLeft":"scrollTop";if($scope.totalSize=0,!("vsSize"in $attrs)&&"vsSizeProperty"in $attrs&&console.warn("vs-size-property attribute is deprecated. Please use vs-size attribute which also accepts angular expressions."),0===$scrollParent.length)throw"Specified scroll parent selector did not match any element";function refresh(){if(!originalCollection||originalCollection.length<1)$scope[collectionName]=[],originalLength=0,$scope.sizesCumulative=[0];else if(originalLength=originalCollection.length,sizesPropertyExists){$scope.sizes=originalCollection.map(function(item){var s=$scope.$new(!1);angular.extend(s,item),s[lhs]=item;var size=$attrs.vsSize||$attrs.vsSizeProperty?s.$eval($attrs.vsSize||$attrs.vsSizeProperty):$scope.elementSize;return s.$destroy(),size});var sum=0;$scope.sizesCumulative=$scope.sizes.map(function(size){var res=sum;return sum+=size,res}),$scope.sizesCumulative.push(sum)}else setAutoSize();reinitialize()}function setAutoSize(){autoSize&&$scope.$$postDigest(function(){if(repeatContainer[0].offsetHeight||repeatContainer[0].offsetWidth){for(var children=repeatContainer.children(),i=0,gotSomething=!1,insideStartEndSequence=!1;i<children.length;){if(null!=children[i].attributes[originalNgRepeatAttr]||insideStartEndSequence){if(gotSomething||($scope.elementSize=0),gotSomething=!0,children[i][offsetSize]&&($scope.elementSize+=children[i][offsetSize]),!isNgRepeatStart)break;if(null!=children[i].attributes["ng-repeat-end"]||null!=children[i].attributes["data-ng-repeat-end"])break;insideStartEndSequence=!0}i++}gotSomething&&(reinitialize(),autoSize=!1,$scope.$root&&!$scope.$root.$$phase&&$scope.$apply())}else var dereg=$scope.$watch(function(){(repeatContainer[0].offsetHeight||repeatContainer[0].offsetWidth)&&(dereg(),setAutoSize())})})}function getLayoutProp(){var layoutPropPrefix="tr"===childTagName?"":"min-";return $$horizontal?layoutPropPrefix+"width":layoutPropPrefix+"height"}function scrollHandler(){updateInnerCollection()&&$scope.$digest()}function onWindowResize(){void 0!==$attrs.vsAutoresize&&(autoSize=!0,setAutoSize(),$scope.$root&&!$scope.$root.$$phase&&$scope.$apply()),updateInnerCollection()&&$scope.$apply()}function reinitialize(){var size;_prevStartIndex=void 0,_prevEndIndex=void 0,_minStartIndex=originalLength,_maxEndIndex=0,size=sizesPropertyExists?$scope.sizesCumulative[originalLength]:$scope.elementSize*originalLength,$scope.totalSize=$scope.offsetBefore+size+$scope.offsetAfter,updateInnerCollection(),$scope.$emit("vsRepeatReinitialized",$scope.startIndex,$scope.endIndex)}function reinitOnClientHeightChange(){var ch=getClientSize($scrollParent[0],clientSize);ch!==_prevClientSize&&(reinitialize(),$scope.$root&&!$scope.$root.$$phase&&$scope.$apply()),_prevClientSize=ch}function updateInnerCollection(){var element,scrollProp,vsElement,scrollElement,isHorizontal,$scrollPosition=(element=$scrollParent[0],scrollProp=scrollPos,element===window?getWindowScroll()[scrollProp]:element[scrollProp]),$clientSize=getClientSize($scrollParent[0],clientSize),scrollOffset=repeatContainer[0]===$scrollParent[0]?0:(vsElement=repeatContainer[0],scrollElement=$scrollParent[0],isHorizontal=$$horizontal,vsElement.getBoundingClientRect()[isHorizontal?"left":"top"]-(scrollElement===window?0:scrollElement.getBoundingClientRect()[isHorizontal?"left":"top"])+(scrollElement===window?getWindowScroll():scrollElement)[isHorizontal?"scrollLeft":"scrollTop"]),__startIndex=$scope.startIndex,__endIndex=$scope.endIndex;if(sizesPropertyExists){for(__startIndex=0;$scope.sizesCumulative[__startIndex]<$scrollPosition-$scope.offsetBefore-scrollOffset;)__startIndex++;for(__startIndex>0&&__startIndex--,__endIndex=__startIndex=Math.max(Math.floor(__startIndex-$scope.excess/2),0);$scope.sizesCumulative[__endIndex]<$scrollPosition-$scope.offsetBefore-scrollOffset+$clientSize;)__endIndex++;__endIndex=Math.min(Math.ceil(__endIndex+$scope.excess/2),originalLength)}else __startIndex=Math.max(Math.floor(($scrollPosition-$scope.offsetBefore-scrollOffset)/$scope.elementSize)-$scope.excess/2,0),__endIndex=Math.min(__startIndex+Math.ceil($clientSize/$scope.elementSize)+$scope.excess,originalLength);_minStartIndex=Math.min(__startIndex,_minStartIndex),_maxEndIndex=Math.max(__endIndex,_maxEndIndex),$scope.startIndex=$$options.latch?_minStartIndex:__startIndex,$scope.endIndex=$$options.latch?_maxEndIndex:__endIndex;var digestRequired=!1;if(null==_prevStartIndex?digestRequired=!0:null==_prevEndIndex&&(digestRequired=!0),digestRequired||($$options.hunked?Math.abs($scope.startIndex-_prevStartIndex)>=$scope.excess/2||0===$scope.startIndex&&0!==_prevStartIndex?digestRequired=!0:(Math.abs($scope.endIndex-_prevEndIndex)>=$scope.excess/2||$scope.endIndex===originalLength&&_prevEndIndex!==originalLength)&&(digestRequired=!0):digestRequired=$scope.startIndex!==_prevStartIndex||$scope.endIndex!==_prevEndIndex),digestRequired){var triggerIndex;$scope[collectionName]=originalCollection.slice($scope.startIndex,$scope.endIndex),$scope.$emit("vsRepeatInnerCollectionUpdated",$scope.startIndex,$scope.endIndex,_prevStartIndex,_prevEndIndex),$attrs.vsScrolledToEnd&&(triggerIndex=originalCollection.length-($scope.scrolledToEndOffset||0),($scope.endIndex>=triggerIndex&&_prevEndIndex<triggerIndex||originalCollection.length&&$scope.endIndex===originalCollection.length)&&$scope.$eval($attrs.vsScrolledToEnd)),$attrs.vsScrolledToBeginning&&(triggerIndex=$scope.scrolledToBeginningOffset||0,$scope.startIndex<=triggerIndex&&_prevStartIndex>$scope.startIndex&&$scope.$eval($attrs.vsScrolledToBeginning)),_prevStartIndex=$scope.startIndex,_prevEndIndex=$scope.endIndex;var parsed=$parse(sizesPropertyExists?"(sizesCumulative[$index + startIndex] + offsetBefore)":"(($index + startIndex) * elementSize + offsetBefore)"),o1=parsed($scope,{$index:0}),o2=parsed($scope,{$index:$scope[collectionName].length}),total=$scope.totalSize;$beforeContent.css(getLayoutProp(),o1+"px"),$afterContent.css(getLayoutProp(),total-o2+"px")}return digestRequired}$scope.$scrollParent=$scrollParent,sizesPropertyExists&&($scope.sizesCumulative=[]),$scope.elementSize=+$attrs.vsRepeat||getClientSize($scrollParent[0],clientSize)||50,$scope.offsetBefore=0,$scope.offsetAfter=0,$scope.excess=2,$$horizontal?($beforeContent.css("height","100%"),$afterContent.css("height","100%")):($beforeContent.css("width","100%"),$afterContent.css("width","100%")),Object.keys(attributesDictionary).forEach(function(key){$attrs[key]&&$attrs.$observe(key,function(value){$scope[attributesDictionary[key]]=+value,reinitialize()})}),$scope.$watchCollection(rhs,function(coll){originalCollection=coll||[],refresh()}),childClone.eq(0).attr(originalNgRepeatAttr,lhs+" in "+collectionName+(rhsSuffix?" "+rhsSuffix:"")),childClone.addClass("vs-repeat-repeated-element"),repeatContainer.append($beforeContent),repeatContainer.append(childClone),$compile(childClone)($scope),repeatContainer.append($afterContent),$scope.startIndex=0,$scope.endIndex=0,$scrollParent.on("scroll",scrollHandler),angular.element(window).on("resize",onWindowResize),$scope.$on("$destroy",function(){angular.element(window).off("resize",onWindowResize),$scrollParent.off("scroll",scrollHandler)}),$scope.$on("vsRepeatTrigger",refresh),$scope.$on("vsRepeatResize",function(){autoSize=!0,setAutoSize()}),$scope.$on("vsRenderAll",function(){$$options.latch&&setTimeout(function(){var __endIndex=originalLength;_maxEndIndex=Math.max(__endIndex,_maxEndIndex),$scope.endIndex=$$options.latch?_maxEndIndex:__endIndex,$scope[collectionName]=originalCollection.slice($scope.startIndex,$scope.endIndex),_prevEndIndex=$scope.endIndex,$scope.$$postDigest(function(){$beforeContent.css(getLayoutProp(),0),$afterContent.css(getLayoutProp(),0)}),$scope.$apply(function(){$scope.$emit("vsRenderAllDone")})})}),$scope.$watch(function(){"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(reinitOnClientHeightChange):reinitOnClientHeightChange()})}}}}}]);void 0!==module&&module.exports&&(module.exports=vsRepeatModule.name)}(window,window.angular)},0:function(module,exports,__webpack_require__){__webpack_require__("./src/maasserver/static/js/angular/3rdparty/ng-tags-input.js"),__webpack_require__("./src/maasserver/static/js/angular/3rdparty/vs-repeat.js"),__webpack_require__("./node_modules/react/index.js"),module.exports=__webpack_require__("./node_modules/react-dom/index.js")}});
2
2
//# sourceMappingURL=vendor-min.js.map
 
 
b'\\ No newline at end of file'