pleroma/priv/static/packs/flavours/glitch/embed.js.map
2020-01-22 16:00:23 +01:00

1 line
725 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{"version":3,"sources":["webpack:///./node_modules/@babel/runtime/helpers/esm/jsx.js","webpack:///./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/locales/index.js","webpack:///./node_modules/react/cjs/react.production.min.js","webpack:///./node_modules/react-dom/cjs/react-dom.production.min.js","webpack:///./node_modules/scheduler/index.js","webpack:///./node_modules/scheduler/cjs/scheduler.production.min.js","webpack:///./node_modules/prop-types/factoryWithThrowingShims.js","webpack:///./node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack:///./node_modules/react-is/cjs/react-is.production.min.js","webpack:///./node_modules/intl-messageformat/lib/main.js","webpack:///./node_modules/intl-messageformat/lib/core.js","webpack:///./node_modules/@babel/runtime/helpers/esm/objectSpread.js","webpack:///./node_modules/intl-messageformat/lib/es5.js","webpack:///./node_modules/intl-messageformat/lib/compiler.js","webpack:///./node_modules/intl-messageformat-parser/index.js","webpack:///./node_modules/intl-messageformat-parser/lib/parser.js","webpack:///./node_modules/intl-messageformat/lib/en.js","webpack:///./node_modules/react-intl/node_modules/intl-relativeformat/lib/main.js","webpack:///./node_modules/react-intl/node_modules/intl-relativeformat/lib/core.js","webpack:///./node_modules/react-intl/node_modules/intl-relativeformat/lib/diff.js","webpack:///./node_modules/react-intl/node_modules/intl-relativeformat/lib/es5.js","webpack:///./node_modules/react-intl/node_modules/intl-relativeformat/lib/en.js","webpack:///./node_modules/intl-format-cache/lib/memoizer.js","webpack:///./node_modules/intl-format-cache/lib/es5.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/util/initial_state.js","webpack:///./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack:///./node_modules/resolve-pathname/esm/resolve-pathname.js","webpack:///./node_modules/value-equal/esm/value-equal.js","webpack:///./node_modules/tiny-invariant/dist/tiny-invariant.esm.js","webpack:///./node_modules/history/esm/history.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/util/ready.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/util/load_polyfills.js","webpack:///./node_modules/@babel/runtime/helpers/esm/extends.js","webpack:///./node_modules/invariant/browser.js","webpack:///./node_modules/intl-messageformat/index.js","webpack:///./node_modules/rellax/rellax.js","webpack:///./node_modules/react/index.js","webpack:///./node_modules/intl-format-cache/index.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/util/emoji/unicode_to_filename.js","webpack:///./node_modules/react-intl/node_modules/intl-relativeformat/index.js","webpack:///./node_modules/react-dom/index.js","webpack:///./node_modules/process/browser.js","webpack:///./node_modules/prop-types/index.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/hoist-non-react-statics/dist/hoist-non-react-statics.cjs.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/packs/public.js","webpack:///./node_modules/rails-ujs/lib/assets/compiled/rails-ujs.js","webpack:///./node_modules/react-intl/lib/index.es.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/util/emoji/index.js","webpack:///./node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack:///./node_modules/substring-trie/index.js","webpack:///./node_modules/react-is/index.js","webpack:///./node_modules/object-assign/index.js","webpack:///./node_modules/intl-messageformat/lib/utils.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/util/emoji/emoji_unicode_mapping_light.js","webpack:///app/javascript/tank/sources/git/git.pleroma.social/pleroma/mastofe/app/javascript/flavours/glitch/components/relative_timestamp.js"],"names":["REACT_ELEMENT_TYPE","_createRawReactElement","type","props","key","children","Symbol","defaultProps","childrenLength","arguments","length","propName","childArray","Array","i","$$typeof","undefined","ref","_owner","_defineProperty","obj","value","Object","defineProperty","enumerable","configurable","writable","theLocale","setLocale","locale","getLocale","k","n","for","p","q","r","t","u","v","w","x","y","z","aa","ba","A","iterator","B","a","b","d","c","encodeURIComponent","e","g","h","f","Error","l","m","replace","name","framesToPop","ca","C","isMounted","enqueueForceUpdate","enqueueReplaceState","enqueueSetState","D","E","this","context","refs","updater","F","G","prototype","isReactComponent","setState","forceUpdate","H","constructor","isPureReactComponent","I","current","J","K","hasOwnProperty","L","__self","__source","M","call","N","O","P","Q","pop","result","keyPrefix","func","count","R","push","U","S","T","isArray","next","done","keys","join","escape","toString","ea","fa","V","da","W","X","Children","map","forEach","toArray","only","createRef","Component","PureComponent","createContext","_calculateChangedBits","_currentValue","_currentValue2","_threadCount","Provider","Consumer","_context","forwardRef","render","lazy","_ctor","_status","_result","memo","compare","useCallback","useContext","useEffect","useImperativeHandle","useDebugValue","useLayoutEffect","useMemo","useReducer","useRef","useState","Fragment","StrictMode","Suspense","createElement","cloneElement","createFactory","bind","isValidElement","version","unstable_ConcurrentMode","unstable_Profiler","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","ReactCurrentDispatcher","ReactCurrentOwner","assign","Y","default","Z","module","exports","ha","ia","onError","ja","slice","apply","la","ma","na","indexOf","oa","extractEvents","eventTypes","pa","phasedRegistrationNames","qa","registrationName","ra","sa","dependencies","ta","ua","va","wa","currentTarget","ka","xa","concat","ya","za","Aa","_dispatchListeners","_dispatchInstances","isPropagationStopped","isPersistent","release","Ba","injectEventPluginOrder","injectEventPluginsByName","Ca","stateNode","disabled","Da","Ea","Math","random","Fa","Ga","Ha","parentNode","tag","Ia","Ja","Ka","La","return","Ma","dispatchConfig","Na","_targetInst","Oa","Pa","Qa","Ra","window","document","Sa","toLowerCase","Ta","animationend","animationiteration","animationstart","transitionend","Ua","Va","Wa","style","animation","transition","Xa","Ya","Za","$a","ab","split","bb","cb","db","eb","textContent","fb","gb","nativeEvent","Interface","target","isDefaultPrevented","defaultPrevented","returnValue","ib","eventPool","jb","destructor","hb","getPooled","preventDefault","stopPropagation","cancelBubble","persist","eventPhase","bubbles","cancelable","timeStamp","Date","now","isTrusted","extend","kb","data","lb","mb","nb","ob","documentMode","pb","qb","rb","String","fromCharCode","sb","beforeInput","bubbled","captured","compositionEnd","compositionStart","compositionUpdate","tb","ub","keyCode","vb","detail","wb","zb","which","xb","ctrlKey","altKey","metaKey","char","yb","Ab","Bb","Cb","Db","Eb","Fb","Gb","Hb","Ib","Jb","Kb","Lb","color","date","datetime","email","month","number","password","range","search","tel","text","time","url","week","Mb","nodeName","Nb","srcElement","correspondingUseElement","nodeType","Ob","setAttribute","Pb","Rb","_valueTracker","getOwnPropertyDescriptor","get","set","getValue","setValue","stopTracking","Qb","Sb","checked","Tb","Ub","Vb","Wb","Xb","Yb","Zb","$b","ac","bc","cc","dc","ec","fc","gc","hc","ic","displayName","jc","_debugOwner","_debugSource","fileName","lineNumber","kc","lc","mc","nc","acceptsBooleans","attributeName","attributeNamespace","mustUseProperty","propertyName","rc","sc","toUpperCase","tc","pc","isNaN","qc","test","oc","removeAttribute","setAttributeNS","uc","vc","defaultChecked","defaultValue","_wrapperState","initialChecked","wc","initialValue","controlled","xc","yc","zc","Ac","ownerDocument","activeElement","Bc","change","Cc","Dc","Ec","Fc","Gc","Hc","Ic","Jc","detachEvent","Kc","Lc","attachEvent","Mc","Nc","Oc","Pc","_isInputEventSupported","Qc","view","Rc","Alt","Control","Meta","Shift","Sc","getModifierState","Tc","Uc","Vc","Wc","Xc","Yc","screenX","screenY","clientX","clientY","pageX","pageY","shiftKey","button","buttons","relatedTarget","fromElement","toElement","movementX","movementY","Zc","pointerId","width","height","pressure","tangentialPressure","tiltX","tiltY","twist","pointerType","isPrimary","$c","mouseEnter","mouseLeave","pointerEnter","pointerLeave","ad","defaultView","parentWindow","alternate","bd","cd","dd","ed","effectTag","fd","hd","child","sibling","gd","id","animationName","elapsedTime","pseudoElement","jd","clipboardData","kd","ld","charCode","md","Esc","Spacebar","Left","Up","Right","Down","Del","Win","Menu","Apps","Scroll","MozPrintableKey","nd","8","9","12","13","16","17","18","19","20","27","32","33","34","35","36","37","38","39","40","45","46","112","113","114","115","116","117","118","119","120","121","122","123","144","145","224","od","location","repeat","pd","dataTransfer","qd","touches","targetTouches","changedTouches","rd","sd","deltaX","wheelDeltaX","deltaY","wheelDeltaY","wheelDelta","deltaZ","deltaMode","td","ud","vd","wd","isInteractive","xd","isInteractiveTopLevelEventType","yd","zd","Ad","targetInst","ancestors","containerInfo","topLevelType","Bd","Cd","Dd","addEventListener","Ed","Fd","Gd","Hd","Id","Jd","body","Kd","firstChild","Ld","node","offset","nextSibling","Nd","HTMLIFrameElement","contentWindow","href","Od","contentEditable","Qd","focusedElem","selectionRange","Md","contains","compareDocumentPosition","documentElement","start","end","selectionStart","selectionEnd","min","getSelection","rangeCount","anchorNode","anchorOffset","focusNode","focusOffset","createRange","setStart","removeAllRanges","addRange","setEnd","element","left","scrollLeft","top","scrollTop","focus","Rd","Sd","select","Td","Ud","Vd","Wd","Xd","Yd","onSelect","$d","Zd","ae","options","selected","defaultSelected","be","dangerouslySetInnerHTML","ce","de","ee","SimpleEventPlugin","EnterLeaveEventPlugin","ChangeEventPlugin","SelectEventPlugin","BeforeInputEventPlugin","fe","html","mathml","svg","ge","he","ie","je","MSApp","execUnsafeLocalFunction","namespaceURI","innerHTML","removeChild","appendChild","ke","lastChild","nodeValue","le","animationIterationCount","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","fontWeight","lineClamp","lineHeight","opacity","order","orphans","tabSize","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","me","ne","trim","oe","setProperty","charAt","substring","pe","menuitem","area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr","qe","re","is","se","blur","te","ue","ve","we","autoFocus","xe","__html","ye","setTimeout","ze","clearTimeout","Ae","unstable_scheduleCallback","Be","unstable_cancelCallback","De","Ee","Set","Fe","Ge","He","Ie","Je","contextTypes","__reactInternalMemoizedUnmaskedChildContext","__reactInternalMemoizedMaskedChildContext","childContextTypes","Ke","Le","Me","Ne","getChildContext","Oe","__reactInternalMemoizedMergedChildContext","Pe","Qe","Re","Se","Ue","elementType","index","pendingProps","contextDependencies","memoizedState","updateQueue","memoizedProps","mode","lastEffect","firstEffect","nextEffect","childExpirationTime","expirationTime","Ve","Xe","Ye","Ze","$e","af","bf","pendingChildren","implementation","cf","didError","earliestPendingTime","latestPendingTime","df","ff","latestPingedTime","earliestSuspendedTime","latestSuspendedTime","gf","nextExpirationTimeToWorkOn","jf","kf","baseState","tf","_reactInternalFiber","lf","nf","mf","payload","callback","of","pf","qf","rf","sf","uf","shouldComponentUpdate","vf","contextType","state","wf","componentWillReceiveProps","UNSAFE_componentWillReceiveProps","xf","yf","getDerivedStateFromProps","getSnapshotBeforeUpdate","UNSAFE_componentWillMount","componentWillMount","componentDidMount","zf","Af","_stringRef","Bf","Cf","Map","delete","Df","Ef","Ff","Gf","Hf","If","Jf","tagName","Kf","Lf","Mf","Nf","Of","Pf","Qf","Rf","Sf","Tf","Uf","Vf","Wf","Xf","Yf","Zf","$f","ag","bg","cg","dg","eg","fg","gg","hg","ig","jg","kg","lg","mg","queue","baseUpdate","ng","og","pg","lastRenderedReducer","dispatch","action","qg","last","lastRenderedState","eagerReducer","eagerState","rg","create","destroy","deps","sg","tg","ug","vg","wg","readContext","xg","yg","zg","Ag","Bg","Cg","Dg","Eg","Fg","Gg","Hg","Ig","Jg","Kg","Lg","Mg","Ng","Og","Pg","UNSAFE_componentWillUpdate","componentWillUpdate","componentDidUpdate","Qg","getDerivedStateFromError","Rg","pendingContext","Sg","timedOutAt","fallback","Tg","Ug","then","hf","We","hydrate","hidden","first","observedBits","unstable_observedBits","Vg","Wg","Xg","Yg","Zg","$g","ah","bh","firstUpdate","lastUpdate","firstCapturedUpdate","lastCapturedUpdate","firstCapturedEffect","lastCapturedEffect","ch","dh","eh","fh","gh","hh","ih","jh","stack","kh","lh","mh","nh","oh","onClick","onclick","ph","WeakSet","qh","console","error","rh","sh","th","vh","componentWillUnmount","wh","xh","yh","insertBefore","_reactRootContainer","zh","wasMultiple","multiple","Ce","display","uh","hi","Xh","has","add","Bh","WeakMap","Ch","Dh","Eh","componentDidCatch","Fh","componentStack","Gh","Hh","Ih","Jh","Kh","Lh","Mh","Nh","Oh","Ph","Qh","Rh","Sh","Th","Uh","__reactInternalSnapshotBeforeUpdate","Vh","Zh","pendingCommitExpirationTime","ef","Pd","Yh","unstable_runWithPriority","unstable_NormalPriority","finishedWork","$h","ai","size","createElementNS","createTextNode","bi","ci","di","maxDuration","pingCache","ei","fi","unstable_getCurrentPriorityLevel","unstable_ImmediatePriority","unstable_UserBlockingPriority","unstable_LowPriority","unstable_IdlePriority","gi","ii","ji","ki","li","mi","ni","oi","pi","qi","ri","si","ti","unstable_now","ui","vi","wi","xi","yi","zi","timeout","timeoutHandle","Bi","Ci","nextScheduledRoot","Di","Ei","unstable_shouldYield","_onComplete","Fi","firstBatch","_expirationTime","_defer","Gi","Hi","Ii","Ji","Ki","Li","Ni","_root","_callbacks","_next","_hasChildren","_didComplete","_children","Oi","_didCommit","_onCommit","Pi","_internalRoot","Qi","Si","legacy_renderSubtreeIntoContainer","hasAttribute","Ri","Ti","Mi","querySelectorAll","JSON","stringify","form","commit","unmount","createBatch","Vi","createPortal","findDOMNode","unstable_renderSubtreeIntoContainer","unmountComponentAtNode","unstable_createPortal","unstable_batchedUpdates","unstable_interactiveUpdates","flushSync","unstable_createRoot","unstable_flushControlled","Events","findFiberByHostInstance","bundleType","rendererPackageName","__REACT_DEVTOOLS_GLOBAL_HOOK__","isDisabled","supportsFiber","inject","onCommitFiberRoot","onCommitFiberUnmount","Te","overrideProps","currentDispatcherRef","findHostInstanceByFiber","Wi","Xi","_r","previous","priorityLevel","requestAnimationFrame","cancelAnimationFrame","performance","global","_schedMock","MessageChannel","port2","port1","onmessage","postMessage","unstable_next","unstable_wrapCallback","unstable_continueExecution","unstable_pauseExecution","unstable_getFirstCallbackNode","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","componentName","propFullName","secret","err","getShim","isRequired","ReactPropTypes","array","bool","object","string","symbol","any","arrayOf","instanceOf","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","typeOf","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Lazy","Memo","Portal","Profiler","isValidElementType","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","src$core$$","src$en$$","__addLocaleData","defaultLocale","src$utils$$","src$es5$$","src$compiler$$","intl$messageformat$parser$$","MessageFormat","message","locales","formats","ast","__parse","TypeError","_mergeFormats","_resolveLocale","pluralFn","_findPluralRuleFunction","_locale","pattern","_compilePattern","messageFormat","format","values","_format","variableId","day","year","weekday","hour","minute","second","timeZoneName","objCreate","__localeData__","parse","resolvedOptions","compile","localeData","pluralRuleFunction","parentLocale","len","part","hop","getOption","defaults","mergedType","mergedFormats","localeParts","_objectSpread","ownKeys","getOwnPropertySymbols","filter","sym","realDefineProp","__defineGetter__","desc","proto","Compiler","StringFormat","PluralFormat","useOrdinal","PluralOffsetString","numberFormat","SelectFormat","pluralStack","currentPlural","pluralNumberFormat","compileMessage","elements","compileMessageText","compileArgument","Intl","NumberFormat","DateTimeFormat","compileOptions","ordinal","option","optionsHash","selector","other","peg$SyntaxError","expected","found","captureStackTrace","parent","ctor","peg$subclass","SyntaxError","peg$result","peg$FAILED","peg$startRuleFunctions","peg$parsestart","peg$startRuleFunction","peg$c0","peg$c1","j","outerLen","inner","innerLen","peg$c2","messageText","peg$c3","peg$c4","description","peg$c5","peg$c6","peg$c7","peg$c8","peg$c9","peg$c10","peg$c11","peg$c12","peg$c13","peg$c14","peg$c15","peg$c16","peg$c17","peg$c18","peg$c19","peg$c20","peg$c21","pluralStyle","peg$c22","peg$c23","peg$c24","peg$c25","peg$c26","peg$c27","peg$c28","peg$c29","peg$c30","peg$c31","peg$c32","peg$c33","peg$c34","peg$c35","peg$c36","peg$c37","peg$c38","peg$c39","peg$c40","peg$c41","peg$c42","peg$c43","peg$c44","peg$c45","peg$c46","peg$c47","digits","parseInt","peg$c48","peg$c49","peg$c50","peg$c51","peg$c52","peg$c53","peg$c54","peg$c55","peg$c56","peg$c57","peg$c58","peg$c59","peg$c60","peg$c61","peg$c62","peg$c63","peg$c64","peg$c65","chars","peg$currPos","peg$savedPos","peg$posDetailsCache","line","column","seenCR","peg$maxFailPos","peg$maxFailExpected","peg$silentFails","startRule","peg$computeLocation","peg$computePosDetails","pos","details","startPos","endPos","startPosDetails","endPosDetails","peg$fail","peg$buildException","sort","splice","cleanupExpected","expectedDescs","s","hex","charCodeAt","stringEscape","buildMessage","peg$parsemessageFormatPattern","s0","s1","s2","peg$parsemessageFormatElement","s3","s4","s5","peg$parse_","peg$parsechars","peg$parsews","peg$parsemessageText","peg$parsemessageTextElement","s6","s7","s8","peg$parsenumber","peg$parseargument","substr","peg$parsesimpleFormat","peg$parsepluralStyle","peg$parsepluralFormat","peg$parseselectOrdinalFormat","peg$parseoptionalFormatPattern","peg$parseselectFormat","peg$parseelementFormat","peg$parseargumentElement","peg$parseselector","peg$parseoffset","peg$parsedigit","peg$parsehexDigit","peg$parsechar","ord","v0","t0","Number","n10","n100","core_1","en_1","intl_messageformat_1","diff_1","es5_1","RelativeFormat","FIELDS","STYLES","_resolveStyle","units","_isValidUnits","_findFields","relativeFormat","datum","_options","_compileMessage","_locales","relativeTime","_fields","future","past","_getMessage","messages","_messages","_getRelativeUnits","diff","field","relative","fields","dateNow","isFinite","RangeError","diffReport","_selectUnits","diffInUnits","relativeUnits","abs","when","arrIndexOf","suggestion","thresholds","round","MILLISECONDS_IN_MINUTE","MILLISECONDS_IN_DAY","startOfDay","dirtyDate","setHours","from","to","dirtyDateRight","startOfDayLeft","startOfDayRight","timestampLeft","timestampRight","millisecond","getTime","getTimezoneOffset","rawYears","fromIndex","max","getCacheId","inputs","cacheId","orderedProps","prop","orderedKeys","FormatConstructor","cache","args","Function","oThis","aArgs","fToBind","fNOP","fBound","getElementById","initialState","local_settings","localStorage","getItem","getMeta","reduceMotion","autoPlayGif","displayMedia","unfollowModal","boostModal","favouriteModal","deleteModal","searchEnabled","maxChars","pollLimits","poll_limits","mascot","profile_directory","isStaff","defaultContentType","forceSingleColumn","useBlurhash","usePendingItems","useSystemEmojiFont","showTrends","deleteOthersNotice","rights","_assertThisInitialized","self","ReferenceError","isAbsolute","pathname","spliceOne","list","hasTrailingSlash","toParts","fromParts","isToAbs","isFromAbs","mustEndAbs","up","unshift","valueOf","valueEqual","every","item","aValue","bValue","isProduction","prefix","condition","addLeadingSlash","path","stripLeadingSlash","stripBasename","hasBasename","stripTrailingSlash","parsePath","hash","hashIndex","searchIndex","createPath","createLocation","currentLocation","decodeURI","URIError","locationsAreEqual","createTransitionManager","prompt","listeners","setPrompt","nextPrompt","confirmTransitionTo","getUserConfirmation","appendListener","fn","isActive","listener","notifyListeners","_len","_key","canUseDOM","getConfirmation","confirm","PopStateEvent","HashChangeEvent","getHistoryState","history","createBrowserHistory","globalHistory","canUseHistory","navigator","userAgent","needsHashChangeListener","_props","_props$forceRefresh","forceRefresh","_props$getUserConfirm","_props$keyLength","keyLength","basename","getDOMLocation","historyState","_ref","_window$location","createKey","transitionManager","nextState","handlePopState","event","isExtraneousPopstateEvent","handlePop","handleHashChange","forceNextPop","ok","fromLocation","toLocation","toIndex","allKeys","delta","go","revertPop","initialLocation","createHref","listenerCount","checkDOMListeners","removeEventListener","isBlocked","pushState","prevIndex","nextKeys","replaceState","goBack","goForward","block","unblock","listen","unlisten","HashChangeEvent$1","HashPathCoders","hashbang","encodePath","decodePath","noslash","slash","stripHash","getHashPath","replaceHashPath","createHashHistory","_props$hashType","hashType","_HashPathCoders$hashT","ignorePath","encodedPath","prevLocation","allPaths","lastIndexOf","baseTag","querySelector","getAttribute","pushHashPath","nextPaths","clamp","lowerBound","upperBound","createMemoryHistory","_props$initialEntries","initialEntries","_props$initialIndex","initialIndex","entries","entry","nextIndex","nextEntries","canGo","ready","loaded","includes","readyState","loadPolyfills","needsBasePolyfills","HTMLCanvasElement","toBlob","needsExtraPolyfills","IntersectionObserver","IntersectionObserverEntry","requestIdleCallback","Image","Promise","all","_extends","argIndex","IntlMessageFormat","Rellax","el","posY","posX","blocks","pause","loop","webkitRequestAnimationFrame","mozRequestAnimationFrame","msRequestAnimationFrame","oRequestAnimationFrame","loopId","supportsPassive","opts","clearLoop","mozCancelAnimationFrame","transformProp","testEl","transform","vendors","vendor","speed","center","wrapper","relativeToWrapper","vertical","horizontal","elems","warn","init","cssText","innerHeight","innerWidth","setPosition","createBlock","cacheBlocks","animate","update","dataPercentage","dataSpeed","dataZindex","dataMin","dataMax","wrapperPosY","pageYOffset","offsetTop","pageXOffset","blockTop","getBoundingClientRect","blockHeight","clientHeight","offsetHeight","scrollHeight","blockLeft","blockWidth","clientWidth","offsetWidth","scrollWidth","percentageY","percentageX","bases","updatePosition","searchResult","exec","trimmedStyle","delimiter","baseX","baseY","zindex","oldY","oldX","scrollPosY","valueX","valueY","deferredUpdate","passive","positions","positionY","positionX","translate","refresh","unicodeToFilename","str","IntlRelativeFormat","checkDCE","cachedSetTimeout","cachedClearTimeout","process","defaultSetTimout","defaultClearTimeout","runTimeout","fun","currentQueue","draining","queueIndex","cleanUpNextTick","drainQueue","run","marker","runClearTimeout","Item","noop","nextTick","title","browser","env","argv","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","binding","cwd","chdir","dir","umask","ReactIs","REACT_STATICS","getDefaultProps","mixins","propTypes","KNOWN_STATICS","caller","callee","arity","MEMO_STATICS","TYPE_STATICS","getStatics","component","getOwnPropertyNames","getPrototypeOf","objectPrototype","hoistNonReactStatics","targetComponent","sourceComponent","blacklist","inheritedComponent","targetStatics","sourceStatics","descriptor","require","timeAgoString","delegate","emojify","ReactDOM","scrollToDetailedStatus","detailedStatuses","scrolledToDetailedStatus","scrollIntoView","getEmojiAnimationHandler","swapTo","src","lang","dateTimeFormat","content","formattedDate","formatMessage","defaultMessage","formatDate","getFullYear","reactComponents","MediaContainer","components","catch","classList","scrollbarWidth","scrollbarWidthStyle","head","sheet","insertRule","firstElementChild","toggle","parentElement","nextElementSibling","Rails","linkClickSelector","buttonClickSelector","exclude","inputChangeSelector","formSubmitSelector","formInputClickSelector","formDisableSelector","formEnableSelector","fileInputSelector","linkDisableSelector","buttonDisableSelector","nonce","loadCSPNonce","cspNonce","matches","matchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","webkitMatchesSelector","getData","setData","$","csrfParam","csrfToken","CSRFProtection","xhr","token","setRequestHeader","refreshCSRFTokens","CustomEvent","fire","params","evt","createEvent","initCustomEvent","Event","dispatchEvent","stopEverything","stopImmediatePropagation","eventType","handler","AcceptHeaders","createXHR","prepareOptions","processResponse","xml","json","script","ajax","response","responseText","getResponseHeader","floor","status","success","statusText","complete","beforeSend","XMLHttpRequest","OPENED","send","dataType","accept","open","crossDomain","withCredentials","onreadystatechange","DONE","parser","match","DOMParser","parseFromString","isCrossDomain","originAnchor","urlAnchor","protocol","host","serializeElement","additionalParam","formElements","allowAction","handleConfirm","answer","disableFormElement","disableFormElements","disableLinkElement","enableFormElement","enableFormElements","enableLinkElement","handleDisabledElement","enableElement","disableElement","replacement","originalText","handleMethod","formContent","method","click","isRemote","handleRemote","enctype","FormData","append","formSubmitButtonClick","formNoValidate","preventInsignificantClick","insignificantMetaClick","jQuery","rails","ajaxPrefilter","originalOptions","_rails_loaded","defaultLocaleData","addLocaleData","hasIMFAndIRFLocaleData","normalizedLocale","_typeof","classCallCheck","AwaitValue","AsyncGenerator","gen","front","back","resume","arg","resolve","settle","reject","_invoke","request","asyncIterator","throw","instance","Constructor","createClass","defineProperties","protoProps","staticProps","inherits","subClass","superClass","setPrototypeOf","__proto__","possibleConstructorReturn","toConsumableArray","arr","arr2","localeMatcher","narrowShortLong","numeric2digit","funcReq","intlConfigPropTypes","timeZone","textComponent","defaultFormats","intlFormatPropTypes","formatTime","formatRelative","formatNumber","formatPlural","formatHTMLMessage","intlShape","formatters","dateTimeFormatPropTypes","formatMatcher","hour12","era","numberFormatPropTypes","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","relativeFormatPropTypes","pluralFormatPropTypes","intlConfigPropNames","ESCAPED_CHARS","UNSAFE_CHARS_REGEX","filterProps","whitelist","defaults$$1","reduce","filtered","invariantIntlContext","intl","shallowEquals","objA","objB","keysA","keysB","bHasOwnProperty","shouldIntlComponentUpdate","_ref2","nextProps","_ref2$context","nextContext","_context$intl","_nextContext$intl","nextIntl","createError","exception","defaultErrorHandler","injectIntl","WrappedComponent","Component$$1","_options$intlPropName","intlPropName","_options$withRef","withRef","InjectIntl","_Component","_this","_wrappedInstance","_this2","defineMessages","messageDescriptors","resolveLocale","findPluralFunction","IntlPluralFormat","DATE_TIME_FORMAT_OPTIONS","NUMBER_FORMAT_OPTIONS","RELATIVE_FORMAT_OPTIONS","PLURAL_FORMAT_OPTIONS","RELATIVE_FORMAT_THRESHOLDS","updateRelativeFormatThresholds","newThresholds","getNamedFormat","config","messageDescriptor","formattedMessage","getMessageFormat","freeze","filteredOptions","getDateTimeFormat","oldThresholds","getRelativeFormat","getNumberFormat","getPluralFormat","rawValues","escaped","intlConfigPropNames$1","intlFormatPropNames","IntlProvider","intlContext","initialNow","_ref$formatters","_didDisplay","hasLocaleData","_config","boundFormatFns","getConfig","getBoundFormatFns","_state","objectWithoutProperties","FormattedDate","Text","FormattedTime","formattedTime","SECOND","MINUTE","HOUR","DAY","MAX_TIMER_DELAY","FormattedRelative","_timer","updateInterval","unitDelay","getUnitDelay","absDelta","selectUnits","unitRemainder","delay","scheduleNextUpdate","aTime","bTime","isSameDate","formattedRelative","FormattedNumber","formattedNumber","FormattedPlural","pluralCategory","formattedPlural","defaultFormatMessage","FormattedMessage","nextValues","nextPropsToCheck","counter","_ref$formatMessage","formatMessage$$1","_ref$textComponent","_props$tagName","tokenDelimiter","tokenizedValues","uid","generateToken","nodes","FormattedHTMLMessage","formattedHTMLMessage","trie","Trie","unicodeMapping","assetHost","CDN_HOST","customEmojis","tagCharsWithEmojis","rtn","tagChars","invisible","codePointAt","rend","lt","shortname","filename","static_url","startsWith","shortCode","buildCustomEmojis","emojis","emoji","shortcode","short_names","emoticons","keywords","imageUrl","custom","customCategory","categoriesFromEmojis","_inheritsLoose","CODA_MARKER","MiniTrie","words","_dict","word","dict","len2","propIsEnumerable","propertyIsEnumerable","toObject","val","test1","test2","test3","letter","shouldUseNative","symbols","sources","shortCodesToEmojiData","emojisWithoutShortCodes","processEmojiMapData","emojiMapData","native","just_now","seconds","minutes","hours","days","moments_remaining","seconds_remaining","minutes_remaining","hours_remaining","days_remaining","dateFormatOptions","shortDateFormatOptions","RelativeTimestamp","timestamp","_scheduleNextUpdate","futureDate","timeRemainingString","dateTime","React"],"mappings":"iGAAA,IAAIA,EACW,SAASC,EAAuBC,EAAMC,EAAOC,EAAKC,GAC1DL,IACHA,EAAuC,mBAAXM,QAAyBA,OAAY,KAAKA,OAAY,IAAE,kBAAoB,OAG1G,IAAIC,EAAeL,GAAQA,EAAKK,aAC5BC,EAAiBC,UAAUC,OAAS,EAQxC,GANKP,GAA4B,IAAnBK,IACZL,EAAQ,CACNE,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y2C,EAAQxzC,EAAK4qC,UAAY7tC,EAgB/B,OAZIy2C,EAAQ,IACK2b,EAAK/M,cAAczZ,EAASoxB,mBAClCvmB,EApEE,IAqEI2b,EAAK/M,cAAczZ,EAASqxB,kBAAmB,CAAE55D,OAAQ1H,KAAKkuD,MAAMpT,EAtExE,OAuEFA,EArEE,KAsEI2b,EAAK/M,cAAczZ,EAASsxB,kBAAmB,CAAE75D,OAAQ1H,KAAKkuD,MAAMpT,EAvExE,OAwEFA,EAAQwgB,EACF7E,EAAK/M,cAAczZ,EAASuxB,gBAAiB,CAAE95D,OAAQ1H,KAAKkuD,MAAMpT,EAxEtE,QA0EI2b,EAAK/M,cAAczZ,EAASwxB,eAAgB,CAAE/5D,OAAQ1H,KAAKkuD,MAAMpT,EAAQwgB,KAqEtD0G,CAAoBvL,EAAMnvD,EAAM1Q,KAAKgxB,MAAMvjB,KAAOskD,EAAc8N,EAAMnvD,EAAM1Q,KAAKgxB,MAAMvjB,IAAKo9B,GAE9H,OACE,oBAAMwgC,SAAUJ,EAAW9b,MAAO0Q,EAAK7M,WAAWtiD,EAAMo6D,SAAxD,EACG9xB,I,GAlEuBsyB,IAAM9nE,W,6BAad,CACpBqnC,MAAO,IAAIr9B,MAAQylD,gB","file":"flavours/glitch/embed.js","sourcesContent":["var REACT_ELEMENT_TYPE;\nexport default function _createRawReactElement(type, props, key, children) {\n if (!REACT_ELEMENT_TYPE) {\n REACT_ELEMENT_TYPE = typeof Symbol === \"function\" && Symbol[\"for\"] && Symbol[\"for\"](\"react.element\") || 0xeac7;\n }\n\n var defaultProps = type && type.defaultProps;\n var childrenLength = arguments.length - 3;\n\n if (!props && childrenLength !== 0) {\n props = {\n children: void 0\n };\n }\n\n if (props && defaultProps) {\n for (var propName in defaultProps) {\n if (props[propName] === void 0) {\n props[propName] = defaultProps[propName];\n }\n }\n } else if (!props) {\n props = defaultProps || {};\n }\n\n if (childrenLength === 1) {\n props.children = children;\n } else if (childrenLength > 1) {\n var childArray = new Array(childrenLength);\n\n for (var i = 0; i < childrenLength; i++) {\n childArray[i] = arguments[i + 3];\n }\n\n props.children = childArray;\n }\n\n return {\n $$typeof: REACT_ELEMENT_TYPE,\n type: type,\n key: key === undefined ? null : '' + key,\n ref: null,\n props: props,\n _owner: null\n };\n}","export default function _defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n}","let theLocale;\n\nexport function setLocale(locale) {\n theLocale = locale;\n}\n\nexport function getLocale() {\n return theLocale;\n}\n","/** @license React v16.8.6\n * react.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nvar k = require(\"object-assign\"),\n n = \"function\" === typeof Symbol && Symbol.for,\n p = n ? Symbol.for(\"react.element\") : 60103,\n q = n ? Symbol.for(\"react.portal\") : 60106,\n r = n ? Symbol.for(\"react.fragment\") : 60107,\n t = n ? Symbol.for(\"react.strict_mode\") : 60108,\n u = n ? Symbol.for(\"react.profiler\") : 60114,\n v = n ? Symbol.for(\"react.provider\") : 60109,\n w = n ? Symbol.for(\"react.context\") : 60110,\n x = n ? Symbol.for(\"react.concurrent_mode\") : 60111,\n y = n ? Symbol.for(\"react.forward_ref\") : 60112,\n z = n ? Symbol.for(\"react.suspense\") : 60113,\n aa = n ? Symbol.for(\"react.memo\") : 60115,\n ba = n ? Symbol.for(\"react.lazy\") : 60116,\n A = \"function\" === typeof Symbol && Symbol.iterator;\n\nfunction ca(a, b, d, c, e, g, h, f) {\n if (!a) {\n a = void 0;\n if (void 0 === b) a = Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else {\n var l = [d, c, e, g, h, f],\n m = 0;\n a = Error(b.replace(/%s/g, function () {\n return l[m++];\n }));\n a.name = \"Invariant Violation\";\n }\n a.framesToPop = 1;\n throw a;\n }\n}\n\nfunction B(a) {\n for (var b = arguments.length - 1, d = \"https://reactjs.org/docs/error-decoder.html?invariant=\" + a, c = 0; c < b; c++) {\n d += \"&args[]=\" + encodeURIComponent(arguments[c + 1]);\n }\n\n ca(!1, \"Minified React error #\" + a + \"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. \", d);\n}\n\nvar C = {\n isMounted: function isMounted() {\n return !1;\n },\n enqueueForceUpdate: function enqueueForceUpdate() {},\n enqueueReplaceState: function enqueueReplaceState() {},\n enqueueSetState: function enqueueSetState() {}\n},\n D = {};\n\nfunction E(a, b, d) {\n this.props = a;\n this.context = b;\n this.refs = D;\n this.updater = d || C;\n}\n\nE.prototype.isReactComponent = {};\n\nE.prototype.setState = function (a, b) {\n \"object\" !== typeof a && \"function\" !== typeof a && null != a ? B(\"85\") : void 0;\n this.updater.enqueueSetState(this, a, b, \"setState\");\n};\n\nE.prototype.forceUpdate = function (a) {\n this.updater.enqueueForceUpdate(this, a, \"forceUpdate\");\n};\n\nfunction F() {}\n\nF.prototype = E.prototype;\n\nfunction G(a, b, d) {\n this.props = a;\n this.context = b;\n this.refs = D;\n this.updater = d || C;\n}\n\nvar H = G.prototype = new F();\nH.constructor = G;\nk(H, E.prototype);\nH.isPureReactComponent = !0;\nvar I = {\n current: null\n},\n J = {\n current: null\n},\n K = Object.prototype.hasOwnProperty,\n L = {\n key: !0,\n ref: !0,\n __self: !0,\n __source: !0\n};\n\nfunction M(a, b, d) {\n var c = void 0,\n e = {},\n g = null,\n h = null;\n if (null != b) for (c in void 0 !== b.ref && (h = b.ref), void 0 !== b.key && (g = \"\" + b.key), b) {\n K.call(b, c) && !L.hasOwnProperty(c) && (e[c] = b[c]);\n }\n var f = arguments.length - 2;\n if (1 === f) e.children = d;else if (1 < f) {\n for (var l = Array(f), m = 0; m < f; m++) {\n l[m] = arguments[m + 2];\n }\n\n e.children = l;\n }\n if (a && a.defaultProps) for (c in f = a.defaultProps, f) {\n void 0 === e[c] && (e[c] = f[c]);\n }\n return {\n $$typeof: p,\n type: a,\n key: g,\n ref: h,\n props: e,\n _owner: J.current\n };\n}\n\nfunction da(a, b) {\n return {\n $$typeof: p,\n type: a.type,\n key: b,\n ref: a.ref,\n props: a.props,\n _owner: a._owner\n };\n}\n\nfunction N(a) {\n return \"object\" === typeof a && null !== a && a.$$typeof === p;\n}\n\nfunction escape(a) {\n var b = {\n \"=\": \"=0\",\n \":\": \"=2\"\n };\n return \"$\" + (\"\" + a).replace(/[=:]/g, function (a) {\n return b[a];\n });\n}\n\nvar O = /\\/+/g,\n P = [];\n\nfunction Q(a, b, d, c) {\n if (P.length) {\n var e = P.pop();\n e.result = a;\n e.keyPrefix = b;\n e.func = d;\n e.context = c;\n e.count = 0;\n return e;\n }\n\n return {\n result: a,\n keyPrefix: b,\n func: d,\n context: c,\n count: 0\n };\n}\n\nfunction R(a) {\n a.result = null;\n a.keyPrefix = null;\n a.func = null;\n a.context = null;\n a.count = 0;\n 10 > P.length && P.push(a);\n}\n\nfunction S(a, b, d, c) {\n var e = typeof a;\n if (\"undefined\" === e || \"boolean\" === e) a = null;\n var g = !1;\n if (null === a) g = !0;else switch (e) {\n case \"string\":\n case \"number\":\n g = !0;\n break;\n\n case \"object\":\n switch (a.$$typeof) {\n case p:\n case q:\n g = !0;\n }\n\n }\n if (g) return d(c, a, \"\" === b ? \".\" + T(a, 0) : b), 1;\n g = 0;\n b = \"\" === b ? \".\" : b + \":\";\n if (Array.isArray(a)) for (var h = 0; h < a.length; h++) {\n e = a[h];\n var f = b + T(e, h);\n g += S(e, f, d, c);\n } else if (null === a || \"object\" !== typeof a ? f = null : (f = A && a[A] || a[\"@@iterator\"], f = \"function\" === typeof f ? f : null), \"function\" === typeof f) for (a = f.call(a), h = 0; !(e = a.next()).done;) {\n e = e.value, f = b + T(e, h++), g += S(e, f, d, c);\n } else \"object\" === e && (d = \"\" + a, B(\"31\", \"[object Object]\" === d ? \"object with keys {\" + Object.keys(a).join(\", \") + \"}\" : d, \"\"));\n return g;\n}\n\nfunction U(a, b, d) {\n return null == a ? 0 : S(a, \"\", b, d);\n}\n\nfunction T(a, b) {\n return \"object\" === typeof a && null !== a && null != a.key ? escape(a.key) : b.toString(36);\n}\n\nfunction ea(a, b) {\n a.func.call(a.context, b, a.count++);\n}\n\nfunction fa(a, b, d) {\n var c = a.result,\n e = a.keyPrefix;\n a = a.func.call(a.context, b, a.count++);\n Array.isArray(a) ? V(a, c, d, function (a) {\n return a;\n }) : null != a && (N(a) && (a = da(a, e + (!a.key || b && b.key === a.key ? \"\" : (\"\" + a.key).replace(O, \"$&/\") + \"/\") + d)), c.push(a));\n}\n\nfunction V(a, b, d, c, e) {\n var g = \"\";\n null != d && (g = (\"\" + d).replace(O, \"$&/\") + \"/\");\n b = Q(b, g, c, e);\n U(a, fa, b);\n R(b);\n}\n\nfunction W() {\n var a = I.current;\n null === a ? B(\"321\") : void 0;\n return a;\n}\n\nvar X = {\n Children: {\n map: function map(a, b, d) {\n if (null == a) return a;\n var c = [];\n V(a, c, null, b, d);\n return c;\n },\n forEach: function forEach(a, b, d) {\n if (null == a) return a;\n b = Q(null, null, b, d);\n U(a, ea, b);\n R(b);\n },\n count: function count(a) {\n return U(a, function () {\n return null;\n }, null);\n },\n toArray: function toArray(a) {\n var b = [];\n V(a, b, null, function (a) {\n return a;\n });\n return b;\n },\n only: function only(a) {\n N(a) ? void 0 : B(\"143\");\n return a;\n }\n },\n createRef: function createRef() {\n return {\n current: null\n };\n },\n Component: E,\n PureComponent: G,\n createContext: function createContext(a, b) {\n void 0 === b && (b = null);\n a = {\n $$typeof: w,\n _calculateChangedBits: b,\n _currentValue: a,\n _currentValue2: a,\n _threadCount: 0,\n Provider: null,\n Consumer: null\n };\n a.Provider = {\n $$typeof: v,\n _context: a\n };\n return a.Consumer = a;\n },\n forwardRef: function forwardRef(a) {\n return {\n $$typeof: y,\n render: a\n };\n },\n lazy: function lazy(a) {\n return {\n $$typeof: ba,\n _ctor: a,\n _status: -1,\n _result: null\n };\n },\n memo: function memo(a, b) {\n return {\n $$typeof: aa,\n type: a,\n compare: void 0 === b ? null : b\n };\n },\n useCallback: function useCallback(a, b) {\n return W().useCallback(a, b);\n },\n useContext: function useContext(a, b) {\n return W().useContext(a, b);\n },\n useEffect: function useEffect(a, b) {\n return W().useEffect(a, b);\n },\n useImperativeHandle: function useImperativeHandle(a, b, d) {\n return W().useImperativeHandle(a, b, d);\n },\n useDebugValue: function useDebugValue() {},\n useLayoutEffect: function useLayoutEffect(a, b) {\n return W().useLayoutEffect(a, b);\n },\n useMemo: function useMemo(a, b) {\n return W().useMemo(a, b);\n },\n useReducer: function useReducer(a, b, d) {\n return W().useReducer(a, b, d);\n },\n useRef: function useRef(a) {\n return W().useRef(a);\n },\n useState: function useState(a) {\n return W().useState(a);\n },\n Fragment: r,\n StrictMode: t,\n Suspense: z,\n createElement: M,\n cloneElement: function cloneElement(a, b, d) {\n null === a || void 0 === a ? B(\"267\", a) : void 0;\n var c = void 0,\n e = k({}, a.props),\n g = a.key,\n h = a.ref,\n f = a._owner;\n\n if (null != b) {\n void 0 !== b.ref && (h = b.ref, f = J.current);\n void 0 !== b.key && (g = \"\" + b.key);\n var l = void 0;\n a.type && a.type.defaultProps && (l = a.type.defaultProps);\n\n for (c in b) {\n K.call(b, c) && !L.hasOwnProperty(c) && (e[c] = void 0 === b[c] && void 0 !== l ? l[c] : b[c]);\n }\n }\n\n c = arguments.length - 2;\n if (1 === c) e.children = d;else if (1 < c) {\n l = Array(c);\n\n for (var m = 0; m < c; m++) {\n l[m] = arguments[m + 2];\n }\n\n e.children = l;\n }\n return {\n $$typeof: p,\n type: a.type,\n key: g,\n ref: h,\n props: e,\n _owner: f\n };\n },\n createFactory: function createFactory(a) {\n var b = M.bind(null, a);\n b.type = a;\n return b;\n },\n isValidElement: N,\n version: \"16.8.6\",\n unstable_ConcurrentMode: x,\n unstable_Profiler: u,\n __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {\n ReactCurrentDispatcher: I,\n ReactCurrentOwner: J,\n assign: k\n }\n},\n Y = {\n default: X\n},\n Z = Y && X || Y;\nmodule.exports = Z.default || Z;","/** @license React v16.8.6\n * react-dom.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n'use strict';\n\nvar aa = require(\"react\"),\n n = require(\"object-assign\"),\n r = require(\"scheduler\");\n\nfunction ba(a, b, c, d, e, f, g, h) {\n if (!a) {\n a = void 0;\n if (void 0 === b) a = Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else {\n var l = [c, d, e, f, g, h],\n k = 0;\n a = Error(b.replace(/%s/g, function () {\n return l[k++];\n }));\n a.name = \"Invariant Violation\";\n }\n a.framesToPop = 1;\n throw a;\n }\n}\n\nfunction x(a) {\n for (var b = arguments.length - 1, c = \"https://reactjs.org/docs/error-decoder.html?invariant=\" + a, d = 0; d < b; d++) {\n c += \"&args[]=\" + encodeURIComponent(arguments[d + 1]);\n }\n\n ba(!1, \"Minified React error #\" + a + \"; visit %s for the full message or use the non-minified dev environment for full errors and additional helpful warnings. \", c);\n}\n\naa ? void 0 : x(\"227\");\n\nfunction ca(a, b, c, d, e, f, g, h, l) {\n var k = Array.prototype.slice.call(arguments, 3);\n\n try {\n b.apply(c, k);\n } catch (m) {\n this.onError(m);\n }\n}\n\nvar da = !1,\n ea = null,\n fa = !1,\n ha = null,\n ia = {\n onError: function onError(a) {\n da = !0;\n ea = a;\n }\n};\n\nfunction ja(a, b, c, d, e, f, g, h, l) {\n da = !1;\n ea = null;\n ca.apply(ia, arguments);\n}\n\nfunction ka(a, b, c, d, e, f, g, h, l) {\n ja.apply(this, arguments);\n\n if (da) {\n if (da) {\n var k = ea;\n da = !1;\n ea = null;\n } else x(\"198\"), k = void 0;\n\n fa || (fa = !0, ha = k);\n }\n}\n\nvar la = null,\n ma = {};\n\nfunction na() {\n if (la) for (var a in ma) {\n var b = ma[a],\n c = la.indexOf(a);\n -1 < c ? void 0 : x(\"96\", a);\n\n if (!oa[c]) {\n b.extractEvents ? void 0 : x(\"97\", a);\n oa[c] = b;\n c = b.eventTypes;\n\n for (var d in c) {\n var e = void 0;\n var f = c[d],\n g = b,\n h = d;\n pa.hasOwnProperty(h) ? x(\"99\", h) : void 0;\n pa[h] = f;\n var l = f.phasedRegistrationNames;\n\n if (l) {\n for (e in l) {\n l.hasOwnProperty(e) && qa(l[e], g, h);\n }\n\n e = !0;\n } else f.registrationName ? (qa(f.registrationName, g, h), e = !0) : e = !1;\n\n e ? void 0 : x(\"98\", d, a);\n }\n }\n }\n}\n\nfunction qa(a, b, c) {\n ra[a] ? x(\"100\", a) : void 0;\n ra[a] = b;\n sa[a] = b.eventTypes[c].dependencies;\n}\n\nvar oa = [],\n pa = {},\n ra = {},\n sa = {},\n ta = null,\n ua = null,\n va = null;\n\nfunction wa(a, b, c) {\n var d = a.type || \"unknown-event\";\n a.currentTarget = va(c);\n ka(d, b, void 0, a);\n a.currentTarget = null;\n}\n\nfunction xa(a, b) {\n null == b ? x(\"30\") : void 0;\n if (null == a) return b;\n\n if (Array.isArray(a)) {\n if (Array.isArray(b)) return a.push.apply(a, b), a;\n a.push(b);\n return a;\n }\n\n return Array.isArray(b) ? [a].concat(b) : [a, b];\n}\n\nfunction ya(a, b, c) {\n Array.isArray(a) ? a.forEach(b, c) : a && b.call(c, a);\n}\n\nvar za = null;\n\nfunction Aa(a) {\n if (a) {\n var b = a._dispatchListeners,\n c = a._dispatchInstances;\n if (Array.isArray(b)) for (var d = 0; d < b.length && !a.isPropagationStopped(); d++) {\n wa(a, b[d], c[d]);\n } else b && wa(a, b, c);\n a._dispatchListeners = null;\n a._dispatchInstances = null;\n a.isPersistent() || a.constructor.release(a);\n }\n}\n\nvar Ba = {\n injectEventPluginOrder: function injectEventPluginOrder(a) {\n la ? x(\"101\") : void 0;\n la = Array.prototype.slice.call(a);\n na();\n },\n injectEventPluginsByName: function injectEventPluginsByName(a) {\n var b = !1,\n c;\n\n for (c in a) {\n if (a.hasOwnProperty(c)) {\n var d = a[c];\n ma.hasOwnProperty(c) && ma[c] === d || (ma[c] ? x(\"102\", c) : void 0, ma[c] = d, b = !0);\n }\n }\n\n b && na();\n }\n};\n\nfunction Ca(a, b) {\n var c = a.stateNode;\n if (!c) return null;\n var d = ta(c);\n if (!d) return null;\n c = d[b];\n\n a: switch (b) {\n case \"onClick\":\n case \"onClickCapture\":\n case \"onDoubleClick\":\n case \"onDoubleClickCapture\":\n case \"onMouseDown\":\n case \"onMouseDownCapture\":\n case \"onMouseMove\":\n case \"onMouseMoveCapture\":\n case \"onMouseUp\":\n case \"onMouseUpCapture\":\n (d = !d.disabled) || (a = a.type, d = !(\"button\" === a || \"input\" === a || \"select\" === a || \"textarea\" === a));\n a = !d;\n break a;\n\n default:\n a = !1;\n }\n\n if (a) return null;\n c && \"function\" !== typeof c ? x(\"231\", b, typeof c) : void 0;\n return c;\n}\n\nfunction Da(a) {\n null !== a && (za = xa(za, a));\n a = za;\n za = null;\n if (a && (ya(a, Aa), za ? x(\"95\") : void 0, fa)) throw a = ha, fa = !1, ha = null, a;\n}\n\nvar Ea = Math.random().toString(36).slice(2),\n Fa = \"__reactInternalInstance$\" + Ea,\n Ga = \"__reactEventHandlers$\" + Ea;\n\nfunction Ha(a) {\n if (a[Fa]) return a[Fa];\n\n for (; !a[Fa];) {\n if (a.parentNode) a = a.parentNode;else return null;\n }\n\n a = a[Fa];\n return 5 === a.tag || 6 === a.tag ? a : null;\n}\n\nfunction Ia(a) {\n a = a[Fa];\n return !a || 5 !== a.tag && 6 !== a.tag ? null : a;\n}\n\nfunction Ja(a) {\n if (5 === a.tag || 6 === a.tag) return a.stateNode;\n x(\"33\");\n}\n\nfunction Ka(a) {\n return a[Ga] || null;\n}\n\nfunction La(a) {\n do {\n a = a.return;\n } while (a && 5 !== a.tag);\n\n return a ? a : null;\n}\n\nfunction Ma(a, b, c) {\n if (b = Ca(a, c.dispatchConfig.phasedRegistrationNames[b])) c._dispatchListeners = xa(c._dispatchListeners, b), c._dispatchInstances = xa(c._dispatchInstances, a);\n}\n\nfunction Na(a) {\n if (a && a.dispatchConfig.phasedRegistrationNames) {\n for (var b = a._targetInst, c = []; b;) {\n c.push(b), b = La(b);\n }\n\n for (b = c.length; 0 < b--;) {\n Ma(c[b], \"captured\", a);\n }\n\n for (b = 0; b < c.length; b++) {\n Ma(c[b], \"bubbled\", a);\n }\n }\n}\n\nfunction Oa(a, b, c) {\n a && c && c.dispatchConfig.registrationName && (b = Ca(a, c.dispatchConfig.registrationName)) && (c._dispatchListeners = xa(c._dispatchListeners, b), c._dispatchInstances = xa(c._dispatchInstances, a));\n}\n\nfunction Pa(a) {\n a && a.dispatchConfig.registrationName && Oa(a._targetInst, null, a);\n}\n\nfunction Qa(a) {\n ya(a, Na);\n}\n\nvar Ra = !(\"undefined\" === typeof window || !window.document || !window.document.createElement);\n\nfunction Sa(a, b) {\n var c = {};\n c[a.toLowerCase()] = b.toLowerCase();\n c[\"Webkit\" + a] = \"webkit\" + b;\n c[\"Moz\" + a] = \"moz\" + b;\n return c;\n}\n\nvar Ta = {\n animationend: Sa(\"Animation\", \"AnimationEnd\"),\n animationiteration: Sa(\"Animation\", \"AnimationIteration\"),\n animationstart: Sa(\"Animation\", \"AnimationStart\"),\n transitionend: Sa(\"Transition\", \"TransitionEnd\")\n},\n Ua = {},\n Va = {};\nRa && (Va = document.createElement(\"div\").style, \"AnimationEvent\" in window || (delete Ta.animationend.animation, delete Ta.animationiteration.animation, delete Ta.animationstart.animation), \"TransitionEvent\" in window || delete Ta.transitionend.transition);\n\nfunction Wa(a) {\n if (Ua[a]) return Ua[a];\n if (!Ta[a]) return a;\n var b = Ta[a],\n c;\n\n for (c in b) {\n if (b.hasOwnProperty(c) && c in Va) return Ua[a] = b[c];\n }\n\n return a;\n}\n\nvar Xa = Wa(\"animationend\"),\n Ya = Wa(\"animationiteration\"),\n Za = Wa(\"animationstart\"),\n $a = Wa(\"transitionend\"),\n ab = \"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),\n bb = null,\n cb = null,\n db = null;\n\nfunction eb() {\n if (db) return db;\n var a,\n b = cb,\n c = b.length,\n d,\n e = \"value\" in bb ? bb.value : bb.textContent,\n f = e.length;\n\n for (a = 0; a < c && b[a] === e[a]; a++) {\n ;\n }\n\n var g = c - a;\n\n for (d = 1; d <= g && b[c - d] === e[f - d]; d++) {\n ;\n }\n\n return db = e.slice(a, 1 < d ? 1 - d : void 0);\n}\n\nfunction fb() {\n return !0;\n}\n\nfunction gb() {\n return !1;\n}\n\nfunction y(a, b, c, d) {\n this.dispatchConfig = a;\n this._targetInst = b;\n this.nativeEvent = c;\n a = this.constructor.Interface;\n\n for (var e in a) {\n a.hasOwnProperty(e) && ((b = a[e]) ? this[e] = b(c) : \"target\" === e ? this.target = d : this[e] = c[e]);\n }\n\n this.isDefaultPrevented = (null != c.defaultPrevented ? c.defaultPrevented : !1 === c.returnValue) ? fb : gb;\n this.isPropagationStopped = gb;\n return this;\n}\n\nn(y.prototype, {\n preventDefault: function preventDefault() {\n this.defaultPrevented = !0;\n var a = this.nativeEvent;\n a && (a.preventDefault ? a.preventDefault() : \"unknown\" !== typeof a.returnValue && (a.returnValue = !1), this.isDefaultPrevented = fb);\n },\n stopPropagation: function stopPropagation() {\n var a = this.nativeEvent;\n a && (a.stopPropagation ? a.stopPropagation() : \"unknown\" !== typeof a.cancelBubble && (a.cancelBubble = !0), this.isPropagationStopped = fb);\n },\n persist: function persist() {\n this.isPersistent = fb;\n },\n isPersistent: gb,\n destructor: function destructor() {\n var a = this.constructor.Interface,\n b;\n\n for (b in a) {\n this[b] = null;\n }\n\n this.nativeEvent = this._targetInst = this.dispatchConfig = null;\n this.isPropagationStopped = this.isDefaultPrevented = gb;\n this._dispatchInstances = this._dispatchListeners = null;\n }\n});\ny.Interface = {\n type: null,\n target: null,\n currentTarget: function currentTarget() {\n return null;\n },\n eventPhase: null,\n bubbles: null,\n cancelable: null,\n timeStamp: function timeStamp(a) {\n return a.timeStamp || Date.now();\n },\n defaultPrevented: null,\n isTrusted: null\n};\n\ny.extend = function (a) {\n function b() {}\n\n function c() {\n return d.apply(this, arguments);\n }\n\n var d = this;\n b.prototype = d.prototype;\n var e = new b();\n n(e, c.prototype);\n c.prototype = e;\n c.prototype.constructor = c;\n c.Interface = n({}, d.Interface, a);\n c.extend = d.extend;\n hb(c);\n return c;\n};\n\nhb(y);\n\nfunction ib(a, b, c, d) {\n if (this.eventPool.length) {\n var e = this.eventPool.pop();\n this.call(e, a, b, c, d);\n return e;\n }\n\n return new this(a, b, c, d);\n}\n\nfunction jb(a) {\n a instanceof this ? void 0 : x(\"279\");\n a.destructor();\n 10 > this.eventPool.length && this.eventPool.push(a);\n}\n\nfunction hb(a) {\n a.eventPool = [];\n a.getPooled = ib;\n a.release = jb;\n}\n\nvar kb = y.extend({\n data: null\n}),\n lb = y.extend({\n data: null\n}),\n mb = [9, 13, 27, 32],\n nb = Ra && \"CompositionEvent\" in window,\n ob = null;\nRa && \"documentMode\" in document && (ob = document.documentMode);\nvar pb = Ra && \"TextEvent\" in window && !ob,\n qb = Ra && (!nb || ob && 8 < ob && 11 >= ob),\n rb = String.fromCharCode(32),\n sb = {\n beforeInput: {\n phasedRegistrationNames: {\n bubbled: \"onBeforeInput\",\n captured: \"onBeforeInputCapture\"\n },\n dependencies: [\"compositionend\", \"keypress\", \"textInput\", \"paste\"]\n },\n compositionEnd: {\n phasedRegistrationNames: {\n bubbled: \"onCompositionEnd\",\n captured: \"onCompositionEndCapture\"\n },\n dependencies: \"blur compositionend keydown keypress keyup mousedown\".split(\" \")\n },\n compositionStart: {\n phasedRegistrationNames: {\n bubbled: \"onCompositionStart\",\n captured: \"onCompositionStartCapture\"\n },\n dependencies: \"blur compositionstart keydown keypress keyup mousedown\".split(\" \")\n },\n compositionUpdate: {\n phasedRegistrationNames: {\n bubbled: \"onCompositionUpdate\",\n captured: \"onCompositionUpdateCapture\"\n },\n dependencies: \"blur compositionupdate keydown keypress keyup mousedown\".split(\" \")\n }\n},\n tb = !1;\n\nfunction ub(a, b) {\n switch (a) {\n case \"keyup\":\n return -1 !== mb.indexOf(b.keyCode);\n\n case \"keydown\":\n return 229 !== b.keyCode;\n\n case \"keypress\":\n case \"mousedown\":\n case \"blur\":\n return !0;\n\n default:\n return !1;\n }\n}\n\nfunction vb(a) {\n a = a.detail;\n return \"object\" === typeof a && \"data\" in a ? a.data : null;\n}\n\nvar wb = !1;\n\nfunction xb(a, b) {\n switch (a) {\n case \"compositionend\":\n return vb(b);\n\n case \"keypress\":\n if (32 !== b.which) return null;\n tb = !0;\n return rb;\n\n case \"textInput\":\n return a = b.data, a === rb && tb ? null : a;\n\n default:\n return null;\n }\n}\n\nfunction yb(a, b) {\n if (wb) return \"compositionend\" === a || !nb && ub(a, b) ? (a = eb(), db = cb = bb = null, wb = !1, a) : null;\n\n switch (a) {\n case \"paste\":\n return null;\n\n case \"keypress\":\n if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) {\n if (b.char && 1 < b.char.length) return b.char;\n if (b.which) return String.fromCharCode(b.which);\n }\n\n return null;\n\n case \"compositionend\":\n return qb && \"ko\" !== b.locale ? null : b.data;\n\n default:\n return null;\n }\n}\n\nvar zb = {\n eventTypes: sb,\n extractEvents: function extractEvents(a, b, c, d) {\n var e = void 0;\n var f = void 0;\n if (nb) b: {\n switch (a) {\n case \"compositionstart\":\n e = sb.compositionStart;\n break b;\n\n case \"compositionend\":\n e = sb.compositionEnd;\n break b;\n\n case \"compositionupdate\":\n e = sb.compositionUpdate;\n break b;\n }\n\n e = void 0;\n } else wb ? ub(a, c) && (e = sb.compositionEnd) : \"keydown\" === a && 229 === c.keyCode && (e = sb.compositionStart);\n e ? (qb && \"ko\" !== c.locale && (wb || e !== sb.compositionStart ? e === sb.compositionEnd && wb && (f = eb()) : (bb = d, cb = \"value\" in bb ? bb.value : bb.textContent, wb = !0)), e = kb.getPooled(e, b, c, d), f ? e.data = f : (f = vb(c), null !== f && (e.data = f)), Qa(e), f = e) : f = null;\n (a = pb ? xb(a, c) : yb(a, c)) ? (b = lb.getPooled(sb.beforeInput, b, c, d), b.data = a, Qa(b)) : b = null;\n return null === f ? b : null === b ? f : [f, b];\n }\n},\n Ab = null,\n Bb = null,\n Cb = null;\n\nfunction Db(a) {\n if (a = ua(a)) {\n \"function\" !== typeof Ab ? x(\"280\") : void 0;\n var b = ta(a.stateNode);\n Ab(a.stateNode, a.type, b);\n }\n}\n\nfunction Eb(a) {\n Bb ? Cb ? Cb.push(a) : Cb = [a] : Bb = a;\n}\n\nfunction Fb() {\n if (Bb) {\n var a = Bb,\n b = Cb;\n Cb = Bb = null;\n Db(a);\n if (b) for (a = 0; a < b.length; a++) {\n Db(b[a]);\n }\n }\n}\n\nfunction Gb(a, b) {\n return a(b);\n}\n\nfunction Hb(a, b, c) {\n return a(b, c);\n}\n\nfunction Ib() {}\n\nvar Jb = !1;\n\nfunction Kb(a, b) {\n if (Jb) return a(b);\n Jb = !0;\n\n try {\n return Gb(a, b);\n } finally {\n if (Jb = !1, null !== Bb || null !== Cb) Ib(), Fb();\n }\n}\n\nvar Lb = {\n color: !0,\n date: !0,\n datetime: !0,\n \"datetime-local\": !0,\n email: !0,\n month: !0,\n number: !0,\n password: !0,\n range: !0,\n search: !0,\n tel: !0,\n text: !0,\n time: !0,\n url: !0,\n week: !0\n};\n\nfunction Mb(a) {\n var b = a && a.nodeName && a.nodeName.toLowerCase();\n return \"input\" === b ? !!Lb[a.type] : \"textarea\" === b ? !0 : !1;\n}\n\nfunction Nb(a) {\n a = a.target || a.srcElement || window;\n a.correspondingUseElement && (a = a.correspondingUseElement);\n return 3 === a.nodeType ? a.parentNode : a;\n}\n\nfunction Ob(a) {\n if (!Ra) return !1;\n a = \"on\" + a;\n var b = a in document;\n b || (b = document.createElement(\"div\"), b.setAttribute(a, \"return;\"), b = \"function\" === typeof b[a]);\n return b;\n}\n\nfunction Pb(a) {\n var b = a.type;\n return (a = a.nodeName) && \"input\" === a.toLowerCase() && (\"checkbox\" === b || \"radio\" === b);\n}\n\nfunction Qb(a) {\n var b = Pb(a) ? \"checked\" : \"value\",\n c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b),\n d = \"\" + a[b];\n\n if (!a.hasOwnProperty(b) && \"undefined\" !== typeof c && \"function\" === typeof c.get && \"function\" === typeof c.set) {\n var e = c.get,\n f = c.set;\n Object.defineProperty(a, b, {\n configurable: !0,\n get: function get() {\n return e.call(this);\n },\n set: function set(a) {\n d = \"\" + a;\n f.call(this, a);\n }\n });\n Object.defineProperty(a, b, {\n enumerable: c.enumerable\n });\n return {\n getValue: function getValue() {\n return d;\n },\n setValue: function setValue(a) {\n d = \"\" + a;\n },\n stopTracking: function stopTracking() {\n a._valueTracker = null;\n delete a[b];\n }\n };\n }\n}\n\nfunction Rb(a) {\n a._valueTracker || (a._valueTracker = Qb(a));\n}\n\nfunction Sb(a) {\n if (!a) return !1;\n var b = a._valueTracker;\n if (!b) return !0;\n var c = b.getValue();\n var d = \"\";\n a && (d = Pb(a) ? a.checked ? \"true\" : \"false\" : a.value);\n a = d;\n return a !== c ? (b.setValue(a), !0) : !1;\n}\n\nvar Tb = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\nTb.hasOwnProperty(\"ReactCurrentDispatcher\") || (Tb.ReactCurrentDispatcher = {\n current: null\n});\nvar Ub = /^(.*)[\\\\\\/]/,\n z = \"function\" === typeof Symbol && Symbol.for,\n Vb = z ? Symbol.for(\"react.element\") : 60103,\n Wb = z ? Symbol.for(\"react.portal\") : 60106,\n Xb = z ? Symbol.for(\"react.fragment\") : 60107,\n Yb = z ? Symbol.for(\"react.strict_mode\") : 60108,\n Zb = z ? Symbol.for(\"react.profiler\") : 60114,\n $b = z ? Symbol.for(\"react.provider\") : 60109,\n ac = z ? Symbol.for(\"react.context\") : 60110,\n bc = z ? Symbol.for(\"react.concurrent_mode\") : 60111,\n cc = z ? Symbol.for(\"react.forward_ref\") : 60112,\n dc = z ? Symbol.for(\"react.suspense\") : 60113,\n ec = z ? Symbol.for(\"react.memo\") : 60115,\n fc = z ? Symbol.for(\"react.lazy\") : 60116,\n gc = \"function\" === typeof Symbol && Symbol.iterator;\n\nfunction hc(a) {\n if (null === a || \"object\" !== typeof a) return null;\n a = gc && a[gc] || a[\"@@iterator\"];\n return \"function\" === typeof a ? a : null;\n}\n\nfunction ic(a) {\n if (null == a) return null;\n if (\"function\" === typeof a) return a.displayName || a.name || null;\n if (\"string\" === typeof a) return a;\n\n switch (a) {\n case bc:\n return \"ConcurrentMode\";\n\n case Xb:\n return \"Fragment\";\n\n case Wb:\n return \"Portal\";\n\n case Zb:\n return \"Profiler\";\n\n case Yb:\n return \"StrictMode\";\n\n case dc:\n return \"Suspense\";\n }\n\n if (\"object\" === typeof a) switch (a.$$typeof) {\n case ac:\n return \"Context.Consumer\";\n\n case $b:\n return \"Context.Provider\";\n\n case cc:\n var b = a.render;\n b = b.displayName || b.name || \"\";\n return a.displayName || (\"\" !== b ? \"ForwardRef(\" + b + \")\" : \"ForwardRef\");\n\n case ec:\n return ic(a.type);\n\n case fc:\n if (a = 1 === a._status ? a._result : null) return ic(a);\n }\n return null;\n}\n\nfunction jc(a) {\n var b = \"\";\n\n do {\n a: switch (a.tag) {\n case 3:\n case 4:\n case 6:\n case 7:\n case 10:\n case 9:\n var c = \"\";\n break a;\n\n default:\n var d = a._debugOwner,\n e = a._debugSource,\n f = ic(a.type);\n c = null;\n d && (c = ic(d.type));\n d = f;\n f = \"\";\n e ? f = \" (at \" + e.fileName.replace(Ub, \"\") + \":\" + e.lineNumber + \")\" : c && (f = \" (created by \" + c + \")\");\n c = \"\\n in \" + (d || \"Unknown\") + f;\n }\n\n b += c;\n a = a.return;\n } while (a);\n\n return b;\n}\n\nvar kc = /^[: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][: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\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$/,\n lc = Object.prototype.hasOwnProperty,\n mc = {},\n nc = {};\n\nfunction oc(a) {\n if (lc.call(nc, a)) return !0;\n if (lc.call(mc, a)) return !1;\n if (kc.test(a)) return nc[a] = !0;\n mc[a] = !0;\n return !1;\n}\n\nfunction pc(a, b, c, d) {\n if (null !== c && 0 === c.type) return !1;\n\n switch (typeof b) {\n case \"function\":\n case \"symbol\":\n return !0;\n\n case \"boolean\":\n if (d) return !1;\n if (null !== c) return !c.acceptsBooleans;\n a = a.toLowerCase().slice(0, 5);\n return \"data-\" !== a && \"aria-\" !== a;\n\n default:\n return !1;\n }\n}\n\nfunction qc(a, b, c, d) {\n if (null === b || \"undefined\" === typeof b || pc(a, b, c, d)) return !0;\n if (d) return !1;\n if (null !== c) switch (c.type) {\n case 3:\n return !b;\n\n case 4:\n return !1 === b;\n\n case 5:\n return isNaN(b);\n\n case 6:\n return isNaN(b) || 1 > b;\n }\n return !1;\n}\n\nfunction C(a, b, c, d, e) {\n this.acceptsBooleans = 2 === b || 3 === b || 4 === b;\n this.attributeName = d;\n this.attributeNamespace = e;\n this.mustUseProperty = c;\n this.propertyName = a;\n this.type = b;\n}\n\nvar D = {};\n\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function (a) {\n D[a] = new C(a, 0, !1, a, null);\n});\n[[\"acceptCharset\", \"accept-charset\"], [\"className\", \"class\"], [\"htmlFor\", \"for\"], [\"httpEquiv\", \"http-equiv\"]].forEach(function (a) {\n var b = a[0];\n D[b] = new C(b, 1, !1, a[1], null);\n});\n[\"contentEditable\", \"draggable\", \"spellCheck\", \"value\"].forEach(function (a) {\n D[a] = new C(a, 2, !1, a.toLowerCase(), null);\n});\n[\"autoReverse\", \"externalResourcesRequired\", \"focusable\", \"preserveAlpha\"].forEach(function (a) {\n D[a] = new C(a, 2, !1, a, null);\n});\n\"allowFullScreen async autoFocus autoPlay controls default defer disabled formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope\".split(\" \").forEach(function (a) {\n D[a] = new C(a, 3, !1, a.toLowerCase(), null);\n});\n[\"checked\", \"multiple\", \"muted\", \"selected\"].forEach(function (a) {\n D[a] = new C(a, 3, !0, a, null);\n});\n[\"capture\", \"download\"].forEach(function (a) {\n D[a] = new C(a, 4, !1, a, null);\n});\n[\"cols\", \"rows\", \"size\", \"span\"].forEach(function (a) {\n D[a] = new C(a, 6, !1, a, null);\n});\n[\"rowSpan\", \"start\"].forEach(function (a) {\n D[a] = new C(a, 5, !1, a.toLowerCase(), null);\n});\nvar rc = /[\\-:]([a-z])/g;\n\nfunction sc(a) {\n return a[1].toUpperCase();\n}\n\n\"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 xmlns:xlink x-height\".split(\" \").forEach(function (a) {\n var b = a.replace(rc, sc);\n D[b] = new C(b, 1, !1, a, null);\n});\n\"xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type\".split(\" \").forEach(function (a) {\n var b = a.replace(rc, sc);\n D[b] = new C(b, 1, !1, a, \"http://www.w3.org/1999/xlink\");\n});\n[\"xml:base\", \"xml:lang\", \"xml:space\"].forEach(function (a) {\n var b = a.replace(rc, sc);\n D[b] = new C(b, 1, !1, a, \"http://www.w3.org/XML/1998/namespace\");\n});\n[\"tabIndex\", \"crossOrigin\"].forEach(function (a) {\n D[a] = new C(a, 1, !1, a.toLowerCase(), null);\n});\n\nfunction tc(a, b, c, d) {\n var e = D.hasOwnProperty(b) ? D[b] : null;\n var f = null !== e ? 0 === e.type : d ? !1 : !(2 < b.length) || \"o\" !== b[0] && \"O\" !== b[0] || \"n\" !== b[1] && \"N\" !== b[1] ? !1 : !0;\n f || (qc(b, c, e, d) && (c = null), d || null === e ? oc(b) && (null === c ? a.removeAttribute(b) : a.setAttribute(b, \"\" + c)) : e.mustUseProperty ? a[e.propertyName] = null === c ? 3 === e.type ? !1 : \"\" : c : (b = e.attributeName, d = e.attributeNamespace, null === c ? a.removeAttribute(b) : (e = e.type, c = 3 === e || 4 === e && !0 === c ? \"\" : \"\" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c))));\n}\n\nfunction uc(a) {\n switch (typeof a) {\n case \"boolean\":\n case \"number\":\n case \"object\":\n case \"string\":\n case \"undefined\":\n return a;\n\n default:\n return \"\";\n }\n}\n\nfunction vc(a, b) {\n var c = b.checked;\n return n({}, b, {\n defaultChecked: void 0,\n defaultValue: void 0,\n value: void 0,\n checked: null != c ? c : a._wrapperState.initialChecked\n });\n}\n\nfunction wc(a, b) {\n var c = null == b.defaultValue ? \"\" : b.defaultValue,\n d = null != b.checked ? b.checked : b.defaultChecked;\n c = uc(null != b.value ? b.value : c);\n a._wrapperState = {\n initialChecked: d,\n initialValue: c,\n controlled: \"checkbox\" === b.type || \"radio\" === b.type ? null != b.checked : null != b.value\n };\n}\n\nfunction xc(a, b) {\n b = b.checked;\n null != b && tc(a, \"checked\", b, !1);\n}\n\nfunction yc(a, b) {\n xc(a, b);\n var c = uc(b.value),\n d = b.type;\n if (null != c) {\n if (\"number\" === d) {\n if (0 === c && \"\" === a.value || a.value != c) a.value = \"\" + c;\n } else a.value !== \"\" + c && (a.value = \"\" + c);\n } else if (\"submit\" === d || \"reset\" === d) {\n a.removeAttribute(\"value\");\n return;\n }\n b.hasOwnProperty(\"value\") ? zc(a, b.type, c) : b.hasOwnProperty(\"defaultValue\") && zc(a, b.type, uc(b.defaultValue));\n null == b.checked && null != b.defaultChecked && (a.defaultChecked = !!b.defaultChecked);\n}\n\nfunction Ac(a, b, c) {\n if (b.hasOwnProperty(\"value\") || b.hasOwnProperty(\"defaultValue\")) {\n var d = b.type;\n if (!(\"submit\" !== d && \"reset\" !== d || void 0 !== b.value && null !== b.value)) return;\n b = \"\" + a._wrapperState.initialValue;\n c || b === a.value || (a.value = b);\n a.defaultValue = b;\n }\n\n c = a.name;\n \"\" !== c && (a.name = \"\");\n a.defaultChecked = !a.defaultChecked;\n a.defaultChecked = !!a._wrapperState.initialChecked;\n \"\" !== c && (a.name = c);\n}\n\nfunction zc(a, b, c) {\n if (\"number\" !== b || a.ownerDocument.activeElement !== a) null == c ? a.defaultValue = \"\" + a._wrapperState.initialValue : a.defaultValue !== \"\" + c && (a.defaultValue = \"\" + c);\n}\n\nvar Bc = {\n change: {\n phasedRegistrationNames: {\n bubbled: \"onChange\",\n captured: \"onChangeCapture\"\n },\n dependencies: \"blur change click focus input keydown keyup selectionchange\".split(\" \")\n }\n};\n\nfunction Cc(a, b, c) {\n a = y.getPooled(Bc.change, a, b, c);\n a.type = \"change\";\n Eb(c);\n Qa(a);\n return a;\n}\n\nvar Dc = null,\n Ec = null;\n\nfunction Fc(a) {\n Da(a);\n}\n\nfunction Gc(a) {\n var b = Ja(a);\n if (Sb(b)) return a;\n}\n\nfunction Hc(a, b) {\n if (\"change\" === a) return b;\n}\n\nvar Ic = !1;\nRa && (Ic = Ob(\"input\") && (!document.documentMode || 9 < document.documentMode));\n\nfunction Jc() {\n Dc && (Dc.detachEvent(\"onpropertychange\", Kc), Ec = Dc = null);\n}\n\nfunction Kc(a) {\n \"value\" === a.propertyName && Gc(Ec) && (a = Cc(Ec, a, Nb(a)), Kb(Fc, a));\n}\n\nfunction Lc(a, b, c) {\n \"focus\" === a ? (Jc(), Dc = b, Ec = c, Dc.attachEvent(\"onpropertychange\", Kc)) : \"blur\" === a && Jc();\n}\n\nfunction Mc(a) {\n if (\"selectionchange\" === a || \"keyup\" === a || \"keydown\" === a) return Gc(Ec);\n}\n\nfunction Nc(a, b) {\n if (\"click\" === a) return Gc(b);\n}\n\nfunction Oc(a, b) {\n if (\"input\" === a || \"change\" === a) return Gc(b);\n}\n\nvar Pc = {\n eventTypes: Bc,\n _isInputEventSupported: Ic,\n extractEvents: function extractEvents(a, b, c, d) {\n var e = b ? Ja(b) : window,\n f = void 0,\n g = void 0,\n h = e.nodeName && e.nodeName.toLowerCase();\n \"select\" === h || \"input\" === h && \"file\" === e.type ? f = Hc : Mb(e) ? Ic ? f = Oc : (f = Mc, g = Lc) : (h = e.nodeName) && \"input\" === h.toLowerCase() && (\"checkbox\" === e.type || \"radio\" === e.type) && (f = Nc);\n if (f && (f = f(a, b))) return Cc(f, c, d);\n g && g(a, e, b);\n \"blur\" === a && (a = e._wrapperState) && a.controlled && \"number\" === e.type && zc(e, \"number\", e.value);\n }\n},\n Qc = y.extend({\n view: null,\n detail: null\n}),\n Rc = {\n Alt: \"altKey\",\n Control: \"ctrlKey\",\n Meta: \"metaKey\",\n Shift: \"shiftKey\"\n};\n\nfunction Sc(a) {\n var b = this.nativeEvent;\n return b.getModifierState ? b.getModifierState(a) : (a = Rc[a]) ? !!b[a] : !1;\n}\n\nfunction Tc() {\n return Sc;\n}\n\nvar Uc = 0,\n Vc = 0,\n Wc = !1,\n Xc = !1,\n Yc = Qc.extend({\n screenX: null,\n screenY: null,\n clientX: null,\n clientY: null,\n pageX: null,\n pageY: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n getModifierState: Tc,\n button: null,\n buttons: null,\n relatedTarget: function relatedTarget(a) {\n return a.relatedTarget || (a.fromElement === a.srcElement ? a.toElement : a.fromElement);\n },\n movementX: function movementX(a) {\n if (\"movementX\" in a) return a.movementX;\n var b = Uc;\n Uc = a.screenX;\n return Wc ? \"mousemove\" === a.type ? a.screenX - b : 0 : (Wc = !0, 0);\n },\n movementY: function movementY(a) {\n if (\"movementY\" in a) return a.movementY;\n var b = Vc;\n Vc = a.screenY;\n return Xc ? \"mousemove\" === a.type ? a.screenY - b : 0 : (Xc = !0, 0);\n }\n}),\n Zc = Yc.extend({\n pointerId: null,\n width: null,\n height: null,\n pressure: null,\n tangentialPressure: null,\n tiltX: null,\n tiltY: null,\n twist: null,\n pointerType: null,\n isPrimary: null\n}),\n $c = {\n mouseEnter: {\n registrationName: \"onMouseEnter\",\n dependencies: [\"mouseout\", \"mouseover\"]\n },\n mouseLeave: {\n registrationName: \"onMouseLeave\",\n dependencies: [\"mouseout\", \"mouseover\"]\n },\n pointerEnter: {\n registrationName: \"onPointerEnter\",\n dependencies: [\"pointerout\", \"pointerover\"]\n },\n pointerLeave: {\n registrationName: \"onPointerLeave\",\n dependencies: [\"pointerout\", \"pointerover\"]\n }\n},\n ad = {\n eventTypes: $c,\n extractEvents: function extractEvents(a, b, c, d) {\n var e = \"mouseover\" === a || \"pointerover\" === a,\n f = \"mouseout\" === a || \"pointerout\" === a;\n if (e && (c.relatedTarget || c.fromElement) || !f && !e) return null;\n e = d.window === d ? d : (e = d.ownerDocument) ? e.defaultView || e.parentWindow : window;\n f ? (f = b, b = (b = c.relatedTarget || c.toElement) ? Ha(b) : null) : f = null;\n if (f === b) return null;\n var g = void 0,\n h = void 0,\n l = void 0,\n k = void 0;\n if (\"mouseout\" === a || \"mouseover\" === a) g = Yc, h = $c.mouseLeave, l = $c.mouseEnter, k = \"mouse\";else if (\"pointerout\" === a || \"pointerover\" === a) g = Zc, h = $c.pointerLeave, l = $c.pointerEnter, k = \"pointer\";\n var m = null == f ? e : Ja(f);\n e = null == b ? e : Ja(b);\n a = g.getPooled(h, f, c, d);\n a.type = k + \"leave\";\n a.target = m;\n a.relatedTarget = e;\n c = g.getPooled(l, b, c, d);\n c.type = k + \"enter\";\n c.target = e;\n c.relatedTarget = m;\n d = b;\n if (f && d) a: {\n b = f;\n e = d;\n k = 0;\n\n for (g = b; g; g = La(g)) {\n k++;\n }\n\n g = 0;\n\n for (l = e; l; l = La(l)) {\n g++;\n }\n\n for (; 0 < k - g;) {\n b = La(b), k--;\n }\n\n for (; 0 < g - k;) {\n e = La(e), g--;\n }\n\n for (; k--;) {\n if (b === e || b === e.alternate) break a;\n b = La(b);\n e = La(e);\n }\n\n b = null;\n } else b = null;\n e = b;\n\n for (b = []; f && f !== e;) {\n k = f.alternate;\n if (null !== k && k === e) break;\n b.push(f);\n f = La(f);\n }\n\n for (f = []; d && d !== e;) {\n k = d.alternate;\n if (null !== k && k === e) break;\n f.push(d);\n d = La(d);\n }\n\n for (d = 0; d < b.length; d++) {\n Oa(b[d], \"bubbled\", a);\n }\n\n for (d = f.length; 0 < d--;) {\n Oa(f[d], \"captured\", c);\n }\n\n return [a, c];\n }\n};\n\nfunction bd(a, b) {\n return a === b && (0 !== a || 1 / a === 1 / b) || a !== a && b !== b;\n}\n\nvar cd = Object.prototype.hasOwnProperty;\n\nfunction dd(a, b) {\n if (bd(a, b)) return !0;\n if (\"object\" !== typeof a || null === a || \"object\" !== typeof b || null === b) return !1;\n var c = Object.keys(a),\n d = Object.keys(b);\n if (c.length !== d.length) return !1;\n\n for (d = 0; d < c.length; d++) {\n if (!cd.call(b, c[d]) || !bd(a[c[d]], b[c[d]])) return !1;\n }\n\n return !0;\n}\n\nfunction ed(a) {\n var b = a;\n if (a.alternate) for (; b.return;) {\n b = b.return;\n } else {\n if (0 !== (b.effectTag & 2)) return 1;\n\n for (; b.return;) {\n if (b = b.return, 0 !== (b.effectTag & 2)) return 1;\n }\n }\n return 3 === b.tag ? 2 : 3;\n}\n\nfunction fd(a) {\n 2 !== ed(a) ? x(\"188\") : void 0;\n}\n\nfunction gd(a) {\n var b = a.alternate;\n if (!b) return b = ed(a), 3 === b ? x(\"188\") : void 0, 1 === b ? null : a;\n\n for (var c = a, d = b;;) {\n var e = c.return,\n f = e ? e.alternate : null;\n if (!e || !f) break;\n\n if (e.child === f.child) {\n for (var g = e.child; g;) {\n if (g === c) return fd(e), a;\n if (g === d) return fd(e), b;\n g = g.sibling;\n }\n\n x(\"188\");\n }\n\n if (c.return !== d.return) c = e, d = f;else {\n g = !1;\n\n for (var h = e.child; h;) {\n if (h === c) {\n g = !0;\n c = e;\n d = f;\n break;\n }\n\n if (h === d) {\n g = !0;\n d = e;\n c = f;\n break;\n }\n\n h = h.sibling;\n }\n\n if (!g) {\n for (h = f.child; h;) {\n if (h === c) {\n g = !0;\n c = f;\n d = e;\n break;\n }\n\n if (h === d) {\n g = !0;\n d = f;\n c = e;\n break;\n }\n\n h = h.sibling;\n }\n\n g ? void 0 : x(\"189\");\n }\n }\n c.alternate !== d ? x(\"190\") : void 0;\n }\n\n 3 !== c.tag ? x(\"188\") : void 0;\n return c.stateNode.current === c ? a : b;\n}\n\nfunction hd(a) {\n a = gd(a);\n if (!a) return null;\n\n for (var b = a;;) {\n if (5 === b.tag || 6 === b.tag) return b;\n if (b.child) b.child.return = b, b = b.child;else {\n if (b === a) break;\n\n for (; !b.sibling;) {\n if (!b.return || b.return === a) return null;\n b = b.return;\n }\n\n b.sibling.return = b.return;\n b = b.sibling;\n }\n }\n\n return null;\n}\n\nvar id = y.extend({\n animationName: null,\n elapsedTime: null,\n pseudoElement: null\n}),\n jd = y.extend({\n clipboardData: function clipboardData(a) {\n return \"clipboardData\" in a ? a.clipboardData : window.clipboardData;\n }\n}),\n kd = Qc.extend({\n relatedTarget: null\n});\n\nfunction ld(a) {\n var b = a.keyCode;\n \"charCode\" in a ? (a = a.charCode, 0 === a && 13 === b && (a = 13)) : a = b;\n 10 === a && (a = 13);\n return 32 <= a || 13 === a ? a : 0;\n}\n\nvar md = {\n Esc: \"Escape\",\n Spacebar: \" \",\n Left: \"ArrowLeft\",\n Up: \"ArrowUp\",\n Right: \"ArrowRight\",\n Down: \"ArrowDown\",\n Del: \"Delete\",\n Win: \"OS\",\n Menu: \"ContextMenu\",\n Apps: \"ContextMenu\",\n Scroll: \"ScrollLock\",\n MozPrintableKey: \"Unidentified\"\n},\n nd = {\n 8: \"Backspace\",\n 9: \"Tab\",\n 12: \"Clear\",\n 13: \"Enter\",\n 16: \"Shift\",\n 17: \"Control\",\n 18: \"Alt\",\n 19: \"Pause\",\n 20: \"CapsLock\",\n 27: \"Escape\",\n 32: \" \",\n 33: \"PageUp\",\n 34: \"PageDown\",\n 35: \"End\",\n 36: \"Home\",\n 37: \"ArrowLeft\",\n 38: \"ArrowUp\",\n 39: \"ArrowRight\",\n 40: \"ArrowDown\",\n 45: \"Insert\",\n 46: \"Delete\",\n 112: \"F1\",\n 113: \"F2\",\n 114: \"F3\",\n 115: \"F4\",\n 116: \"F5\",\n 117: \"F6\",\n 118: \"F7\",\n 119: \"F8\",\n 120: \"F9\",\n 121: \"F10\",\n 122: \"F11\",\n 123: \"F12\",\n 144: \"NumLock\",\n 145: \"ScrollLock\",\n 224: \"Meta\"\n},\n od = Qc.extend({\n key: function key(a) {\n if (a.key) {\n var b = md[a.key] || a.key;\n if (\"Unidentified\" !== b) return b;\n }\n\n return \"keypress\" === a.type ? (a = ld(a), 13 === a ? \"Enter\" : String.fromCharCode(a)) : \"keydown\" === a.type || \"keyup\" === a.type ? nd[a.keyCode] || \"Unidentified\" : \"\";\n },\n location: null,\n ctrlKey: null,\n shiftKey: null,\n altKey: null,\n metaKey: null,\n repeat: null,\n locale: null,\n getModifierState: Tc,\n charCode: function charCode(a) {\n return \"keypress\" === a.type ? ld(a) : 0;\n },\n keyCode: function keyCode(a) {\n return \"keydown\" === a.type || \"keyup\" === a.type ? a.keyCode : 0;\n },\n which: function which(a) {\n return \"keypress\" === a.type ? ld(a) : \"keydown\" === a.type || \"keyup\" === a.type ? a.keyCode : 0;\n }\n}),\n pd = Yc.extend({\n dataTransfer: null\n}),\n qd = Qc.extend({\n touches: null,\n targetTouches: null,\n changedTouches: null,\n altKey: null,\n metaKey: null,\n ctrlKey: null,\n shiftKey: null,\n getModifierState: Tc\n}),\n rd = y.extend({\n propertyName: null,\n elapsedTime: null,\n pseudoElement: null\n}),\n sd = Yc.extend({\n deltaX: function deltaX(a) {\n return \"deltaX\" in a ? a.deltaX : \"wheelDeltaX\" in a ? -a.wheelDeltaX : 0;\n },\n deltaY: function deltaY(a) {\n return \"deltaY\" in a ? a.deltaY : \"wheelDeltaY\" in a ? -a.wheelDeltaY : \"wheelDelta\" in a ? -a.wheelDelta : 0;\n },\n deltaZ: null,\n deltaMode: null\n}),\n td = [[\"abort\", \"abort\"], [Xa, \"animationEnd\"], [Ya, \"animationIteration\"], [Za, \"animationStart\"], [\"canplay\", \"canPlay\"], [\"canplaythrough\", \"canPlayThrough\"], [\"drag\", \"drag\"], [\"dragenter\", \"dragEnter\"], [\"dragexit\", \"dragExit\"], [\"dragleave\", \"dragLeave\"], [\"dragover\", \"dragOver\"], [\"durationchange\", \"durationChange\"], [\"emptied\", \"emptied\"], [\"encrypted\", \"encrypted\"], [\"ended\", \"ended\"], [\"error\", \"error\"], [\"gotpointercapture\", \"gotPointerCapture\"], [\"load\", \"load\"], [\"loadeddata\", \"loadedData\"], [\"loadedmetadata\", \"loadedMetadata\"], [\"loadstart\", \"loadStart\"], [\"lostpointercapture\", \"lostPointerCapture\"], [\"mousemove\", \"mouseMove\"], [\"mouseout\", \"mouseOut\"], [\"mouseover\", \"mouseOver\"], [\"playing\", \"playing\"], [\"pointermove\", \"pointerMove\"], [\"pointerout\", \"pointerOut\"], [\"pointerover\", \"pointerOver\"], [\"progress\", \"progress\"], [\"scroll\", \"scroll\"], [\"seeking\", \"seeking\"], [\"stalled\", \"stalled\"], [\"suspend\", \"suspend\"], [\"timeupdate\", \"timeUpdate\"], [\"toggle\", \"toggle\"], [\"touchmove\", \"touchMove\"], [$a, \"transitionEnd\"], [\"waiting\", \"waiting\"], [\"wheel\", \"wheel\"]],\n ud = {},\n vd = {};\n\nfunction wd(a, b) {\n var c = a[0];\n a = a[1];\n var d = \"on\" + (a[0].toUpperCase() + a.slice(1));\n b = {\n phasedRegistrationNames: {\n bubbled: d,\n captured: d + \"Capture\"\n },\n dependencies: [c],\n isInteractive: b\n };\n ud[a] = b;\n vd[c] = b;\n}\n\n[[\"blur\", \"blur\"], [\"cancel\", \"cancel\"], [\"click\", \"click\"], [\"close\", \"close\"], [\"contextmenu\", \"contextMenu\"], [\"copy\", \"copy\"], [\"cut\", \"cut\"], [\"auxclick\", \"auxClick\"], [\"dblclick\", \"doubleClick\"], [\"dragend\", \"dragEnd\"], [\"dragstart\", \"dragStart\"], [\"drop\", \"drop\"], [\"focus\", \"focus\"], [\"input\", \"input\"], [\"invalid\", \"invalid\"], [\"keydown\", \"keyDown\"], [\"keypress\", \"keyPress\"], [\"keyup\", \"keyUp\"], [\"mousedown\", \"mouseDown\"], [\"mouseup\", \"mouseUp\"], [\"paste\", \"paste\"], [\"pause\", \"pause\"], [\"play\", \"play\"], [\"pointercancel\", \"pointerCancel\"], [\"pointerdown\", \"pointerDown\"], [\"pointerup\", \"pointerUp\"], [\"ratechange\", \"rateChange\"], [\"reset\", \"reset\"], [\"seeked\", \"seeked\"], [\"submit\", \"submit\"], [\"touchcancel\", \"touchCancel\"], [\"touchend\", \"touchEnd\"], [\"touchstart\", \"touchStart\"], [\"volumechange\", \"volumeChange\"]].forEach(function (a) {\n wd(a, !0);\n});\ntd.forEach(function (a) {\n wd(a, !1);\n});\nvar xd = {\n eventTypes: ud,\n isInteractiveTopLevelEventType: function isInteractiveTopLevelEventType(a) {\n a = vd[a];\n return void 0 !== a && !0 === a.isInteractive;\n },\n extractEvents: function extractEvents(a, b, c, d) {\n var e = vd[a];\n if (!e) return null;\n\n switch (a) {\n case \"keypress\":\n if (0 === ld(c)) return null;\n\n case \"keydown\":\n case \"keyup\":\n a = od;\n break;\n\n case \"blur\":\n case \"focus\":\n a = kd;\n break;\n\n case \"click\":\n if (2 === c.button) return null;\n\n case \"auxclick\":\n case \"dblclick\":\n case \"mousedown\":\n case \"mousemove\":\n case \"mouseup\":\n case \"mouseout\":\n case \"mouseover\":\n case \"contextmenu\":\n a = Yc;\n break;\n\n case \"drag\":\n case \"dragend\":\n case \"dragenter\":\n case \"dragexit\":\n case \"dragleave\":\n case \"dragover\":\n case \"dragstart\":\n case \"drop\":\n a = pd;\n break;\n\n case \"touchcancel\":\n case \"touchend\":\n case \"touchmove\":\n case \"touchstart\":\n a = qd;\n break;\n\n case Xa:\n case Ya:\n case Za:\n a = id;\n break;\n\n case $a:\n a = rd;\n break;\n\n case \"scroll\":\n a = Qc;\n break;\n\n case \"wheel\":\n a = sd;\n break;\n\n case \"copy\":\n case \"cut\":\n case \"paste\":\n a = jd;\n break;\n\n case \"gotpointercapture\":\n case \"lostpointercapture\":\n case \"pointercancel\":\n case \"pointerdown\":\n case \"pointermove\":\n case \"pointerout\":\n case \"pointerover\":\n case \"pointerup\":\n a = Zc;\n break;\n\n default:\n a = y;\n }\n\n b = a.getPooled(e, b, c, d);\n Qa(b);\n return b;\n }\n},\n yd = xd.isInteractiveTopLevelEventType,\n zd = [];\n\nfunction Ad(a) {\n var b = a.targetInst,\n c = b;\n\n do {\n if (!c) {\n a.ancestors.push(c);\n break;\n }\n\n var d;\n\n for (d = c; d.return;) {\n d = d.return;\n }\n\n d = 3 !== d.tag ? null : d.stateNode.containerInfo;\n if (!d) break;\n a.ancestors.push(c);\n c = Ha(d);\n } while (c);\n\n for (c = 0; c < a.ancestors.length; c++) {\n b = a.ancestors[c];\n var e = Nb(a.nativeEvent);\n d = a.topLevelType;\n\n for (var f = a.nativeEvent, g = null, h = 0; h < oa.length; h++) {\n var l = oa[h];\n l && (l = l.extractEvents(d, b, f, e)) && (g = xa(g, l));\n }\n\n Da(g);\n }\n}\n\nvar Bd = !0;\n\nfunction E(a, b) {\n if (!b) return null;\n var c = (yd(a) ? Cd : Dd).bind(null, a);\n b.addEventListener(a, c, !1);\n}\n\nfunction Ed(a, b) {\n if (!b) return null;\n var c = (yd(a) ? Cd : Dd).bind(null, a);\n b.addEventListener(a, c, !0);\n}\n\nfunction Cd(a, b) {\n Hb(Dd, a, b);\n}\n\nfunction Dd(a, b) {\n if (Bd) {\n var c = Nb(b);\n c = Ha(c);\n null === c || \"number\" !== typeof c.tag || 2 === ed(c) || (c = null);\n\n if (zd.length) {\n var d = zd.pop();\n d.topLevelType = a;\n d.nativeEvent = b;\n d.targetInst = c;\n a = d;\n } else a = {\n topLevelType: a,\n nativeEvent: b,\n targetInst: c,\n ancestors: []\n };\n\n try {\n Kb(Ad, a);\n } finally {\n a.topLevelType = null, a.nativeEvent = null, a.targetInst = null, a.ancestors.length = 0, 10 > zd.length && zd.push(a);\n }\n }\n}\n\nvar Fd = {},\n Gd = 0,\n Hd = \"_reactListenersID\" + (\"\" + Math.random()).slice(2);\n\nfunction Id(a) {\n Object.prototype.hasOwnProperty.call(a, Hd) || (a[Hd] = Gd++, Fd[a[Hd]] = {});\n return Fd[a[Hd]];\n}\n\nfunction Jd(a) {\n a = a || (\"undefined\" !== typeof document ? document : void 0);\n if (\"undefined\" === typeof a) return null;\n\n try {\n return a.activeElement || a.body;\n } catch (b) {\n return a.body;\n }\n}\n\nfunction Kd(a) {\n for (; a && a.firstChild;) {\n a = a.firstChild;\n }\n\n return a;\n}\n\nfunction Ld(a, b) {\n var c = Kd(a);\n a = 0;\n\n for (var d; c;) {\n if (3 === c.nodeType) {\n d = a + c.textContent.length;\n if (a <= b && d >= b) return {\n node: c,\n offset: b - a\n };\n a = d;\n }\n\n a: {\n for (; c;) {\n if (c.nextSibling) {\n c = c.nextSibling;\n break a;\n }\n\n c = c.parentNode;\n }\n\n c = void 0;\n }\n\n c = Kd(c);\n }\n}\n\nfunction Md(a, b) {\n return a && b ? a === b ? !0 : a && 3 === a.nodeType ? !1 : b && 3 === b.nodeType ? Md(a, b.parentNode) : \"contains\" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : !1 : !1;\n}\n\nfunction Nd() {\n for (var a = window, b = Jd(); b instanceof a.HTMLIFrameElement;) {\n try {\n var c = \"string\" === typeof b.contentWindow.location.href;\n } catch (d) {\n c = !1;\n }\n\n if (c) a = b.contentWindow;else break;\n b = Jd(a.document);\n }\n\n return b;\n}\n\nfunction Od(a) {\n var b = a && a.nodeName && a.nodeName.toLowerCase();\n return b && (\"input\" === b && (\"text\" === a.type || \"search\" === a.type || \"tel\" === a.type || \"url\" === a.type || \"password\" === a.type) || \"textarea\" === b || \"true\" === a.contentEditable);\n}\n\nfunction Pd() {\n var a = Nd();\n\n if (Od(a)) {\n if (\"selectionStart\" in a) var b = {\n start: a.selectionStart,\n end: a.selectionEnd\n };else a: {\n b = (b = a.ownerDocument) && b.defaultView || window;\n var c = b.getSelection && b.getSelection();\n\n if (c && 0 !== c.rangeCount) {\n b = c.anchorNode;\n var d = c.anchorOffset,\n e = c.focusNode;\n c = c.focusOffset;\n\n try {\n b.nodeType, e.nodeType;\n } catch (A) {\n b = null;\n break a;\n }\n\n var f = 0,\n g = -1,\n h = -1,\n l = 0,\n k = 0,\n m = a,\n p = null;\n\n b: for (;;) {\n for (var t;;) {\n m !== b || 0 !== d && 3 !== m.nodeType || (g = f + d);\n m !== e || 0 !== c && 3 !== m.nodeType || (h = f + c);\n 3 === m.nodeType && (f += m.nodeValue.length);\n if (null === (t = m.firstChild)) break;\n p = m;\n m = t;\n }\n\n for (;;) {\n if (m === a) break b;\n p === b && ++l === d && (g = f);\n p === e && ++k === c && (h = f);\n if (null !== (t = m.nextSibling)) break;\n m = p;\n p = m.parentNode;\n }\n\n m = t;\n }\n\n b = -1 === g || -1 === h ? null : {\n start: g,\n end: h\n };\n } else b = null;\n }\n b = b || {\n start: 0,\n end: 0\n };\n } else b = null;\n\n return {\n focusedElem: a,\n selectionRange: b\n };\n}\n\nfunction Qd(a) {\n var b = Nd(),\n c = a.focusedElem,\n d = a.selectionRange;\n\n if (b !== c && c && c.ownerDocument && Md(c.ownerDocument.documentElement, c)) {\n if (null !== d && Od(c)) if (b = d.start, a = d.end, void 0 === a && (a = b), \"selectionStart\" in c) c.selectionStart = b, c.selectionEnd = Math.min(a, c.value.length);else if (a = (b = c.ownerDocument || document) && b.defaultView || window, a.getSelection) {\n a = a.getSelection();\n var e = c.textContent.length,\n f = Math.min(d.start, e);\n d = void 0 === d.end ? f : Math.min(d.end, e);\n !a.extend && f > d && (e = d, d = f, f = e);\n e = Ld(c, f);\n var g = Ld(c, d);\n e && g && (1 !== a.rangeCount || a.anchorNode !== e.node || a.anchorOffset !== e.offset || a.focusNode !== g.node || a.focusOffset !== g.offset) && (b = b.createRange(), b.setStart(e.node, e.offset), a.removeAllRanges(), f > d ? (a.addRange(b), a.extend(g.node, g.offset)) : (b.setEnd(g.node, g.offset), a.addRange(b)));\n }\n b = [];\n\n for (a = c; a = a.parentNode;) {\n 1 === a.nodeType && b.push({\n element: a,\n left: a.scrollLeft,\n top: a.scrollTop\n });\n }\n\n \"function\" === typeof c.focus && c.focus();\n\n for (c = 0; c < b.length; c++) {\n a = b[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top;\n }\n }\n}\n\nvar Rd = Ra && \"documentMode\" in document && 11 >= document.documentMode,\n Sd = {\n select: {\n phasedRegistrationNames: {\n bubbled: \"onSelect\",\n captured: \"onSelectCapture\"\n },\n dependencies: \"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange\".split(\" \")\n }\n},\n Td = null,\n Ud = null,\n Vd = null,\n Wd = !1;\n\nfunction Xd(a, b) {\n var c = b.window === b ? b.document : 9 === b.nodeType ? b : b.ownerDocument;\n if (Wd || null == Td || Td !== Jd(c)) return null;\n c = Td;\n \"selectionStart\" in c && Od(c) ? c = {\n start: c.selectionStart,\n end: c.selectionEnd\n } : (c = (c.ownerDocument && c.ownerDocument.defaultView || window).getSelection(), c = {\n anchorNode: c.anchorNode,\n anchorOffset: c.anchorOffset,\n focusNode: c.focusNode,\n focusOffset: c.focusOffset\n });\n return Vd && dd(Vd, c) ? null : (Vd = c, a = y.getPooled(Sd.select, Ud, a, b), a.type = \"select\", a.target = Td, Qa(a), a);\n}\n\nvar Yd = {\n eventTypes: Sd,\n extractEvents: function extractEvents(a, b, c, d) {\n var e = d.window === d ? d.document : 9 === d.nodeType ? d : d.ownerDocument,\n f;\n\n if (!(f = !e)) {\n a: {\n e = Id(e);\n f = sa.onSelect;\n\n for (var g = 0; g < f.length; g++) {\n var h = f[g];\n\n if (!e.hasOwnProperty(h) || !e[h]) {\n e = !1;\n break a;\n }\n }\n\n e = !0;\n }\n\n f = !e;\n }\n\n if (f) return null;\n e = b ? Ja(b) : window;\n\n switch (a) {\n case \"focus\":\n if (Mb(e) || \"true\" === e.contentEditable) Td = e, Ud = b, Vd = null;\n break;\n\n case \"blur\":\n Vd = Ud = Td = null;\n break;\n\n case \"mousedown\":\n Wd = !0;\n break;\n\n case \"contextmenu\":\n case \"mouseup\":\n case \"dragend\":\n return Wd = !1, Xd(c, d);\n\n case \"selectionchange\":\n if (Rd) break;\n\n case \"keydown\":\n case \"keyup\":\n return Xd(c, d);\n }\n\n return null;\n }\n};\nBa.injectEventPluginOrder(\"ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin\".split(\" \"));\nta = Ka;\nua = Ia;\nva = Ja;\nBa.injectEventPluginsByName({\n SimpleEventPlugin: xd,\n EnterLeaveEventPlugin: ad,\n ChangeEventPlugin: Pc,\n SelectEventPlugin: Yd,\n BeforeInputEventPlugin: zb\n});\n\nfunction Zd(a) {\n var b = \"\";\n aa.Children.forEach(a, function (a) {\n null != a && (b += a);\n });\n return b;\n}\n\nfunction $d(a, b) {\n a = n({\n children: void 0\n }, b);\n if (b = Zd(b.children)) a.children = b;\n return a;\n}\n\nfunction ae(a, b, c, d) {\n a = a.options;\n\n if (b) {\n b = {};\n\n for (var e = 0; e < c.length; e++) {\n b[\"$\" + c[e]] = !0;\n }\n\n for (c = 0; c < a.length; c++) {\n e = b.hasOwnProperty(\"$\" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = !0);\n }\n } else {\n c = \"\" + uc(c);\n b = null;\n\n for (e = 0; e < a.length; e++) {\n if (a[e].value === c) {\n a[e].selected = !0;\n d && (a[e].defaultSelected = !0);\n return;\n }\n\n null !== b || a[e].disabled || (b = a[e]);\n }\n\n null !== b && (b.selected = !0);\n }\n}\n\nfunction be(a, b) {\n null != b.dangerouslySetInnerHTML ? x(\"91\") : void 0;\n return n({}, b, {\n value: void 0,\n defaultValue: void 0,\n children: \"\" + a._wrapperState.initialValue\n });\n}\n\nfunction ce(a, b) {\n var c = b.value;\n null == c && (c = b.defaultValue, b = b.children, null != b && (null != c ? x(\"92\") : void 0, Array.isArray(b) && (1 >= b.length ? void 0 : x(\"93\"), b = b[0]), c = b), null == c && (c = \"\"));\n a._wrapperState = {\n initialValue: uc(c)\n };\n}\n\nfunction de(a, b) {\n var c = uc(b.value),\n d = uc(b.defaultValue);\n null != c && (c = \"\" + c, c !== a.value && (a.value = c), null == b.defaultValue && a.defaultValue !== c && (a.defaultValue = c));\n null != d && (a.defaultValue = \"\" + d);\n}\n\nfunction ee(a) {\n var b = a.textContent;\n b === a._wrapperState.initialValue && (a.value = b);\n}\n\nvar fe = {\n html: \"http://www.w3.org/1999/xhtml\",\n mathml: \"http://www.w3.org/1998/Math/MathML\",\n svg: \"http://www.w3.org/2000/svg\"\n};\n\nfunction ge(a) {\n switch (a) {\n case \"svg\":\n return \"http://www.w3.org/2000/svg\";\n\n case \"math\":\n return \"http://www.w3.org/1998/Math/MathML\";\n\n default:\n return \"http://www.w3.org/1999/xhtml\";\n }\n}\n\nfunction he(a, b) {\n return null == a || \"http://www.w3.org/1999/xhtml\" === a ? ge(b) : \"http://www.w3.org/2000/svg\" === a && \"foreignObject\" === b ? \"http://www.w3.org/1999/xhtml\" : a;\n}\n\nvar ie = void 0,\n je = function (a) {\n return \"undefined\" !== typeof MSApp && MSApp.execUnsafeLocalFunction ? function (b, c, d, e) {\n MSApp.execUnsafeLocalFunction(function () {\n return a(b, c, d, e);\n });\n } : a;\n}(function (a, b) {\n if (a.namespaceURI !== fe.svg || \"innerHTML\" in a) a.innerHTML = b;else {\n ie = ie || document.createElement(\"div\");\n ie.innerHTML = \"<svg>\" + b + \"</svg>\";\n\n for (b = ie.firstChild; a.firstChild;) {\n a.removeChild(a.firstChild);\n }\n\n for (; b.firstChild;) {\n a.appendChild(b.firstChild);\n }\n }\n});\n\nfunction ke(a, b) {\n if (b) {\n var c = a.firstChild;\n\n if (c && c === a.lastChild && 3 === c.nodeType) {\n c.nodeValue = b;\n return;\n }\n }\n\n a.textContent = b;\n}\n\nvar le = {\n animationIterationCount: !0,\n borderImageOutset: !0,\n borderImageSlice: !0,\n borderImageWidth: !0,\n boxFlex: !0,\n boxFlexGroup: !0,\n boxOrdinalGroup: !0,\n columnCount: !0,\n columns: !0,\n flex: !0,\n flexGrow: !0,\n flexPositive: !0,\n flexShrink: !0,\n flexNegative: !0,\n flexOrder: !0,\n gridArea: !0,\n gridRow: !0,\n gridRowEnd: !0,\n gridRowSpan: !0,\n gridRowStart: !0,\n gridColumn: !0,\n gridColumnEnd: !0,\n gridColumnSpan: !0,\n gridColumnStart: !0,\n fontWeight: !0,\n lineClamp: !0,\n lineHeight: !0,\n opacity: !0,\n order: !0,\n orphans: !0,\n tabSize: !0,\n widows: !0,\n zIndex: !0,\n zoom: !0,\n fillOpacity: !0,\n floodOpacity: !0,\n stopOpacity: !0,\n strokeDasharray: !0,\n strokeDashoffset: !0,\n strokeMiterlimit: !0,\n strokeOpacity: !0,\n strokeWidth: !0\n},\n me = [\"Webkit\", \"ms\", \"Moz\", \"O\"];\nObject.keys(le).forEach(function (a) {\n me.forEach(function (b) {\n b = b + a.charAt(0).toUpperCase() + a.substring(1);\n le[b] = le[a];\n });\n});\n\nfunction ne(a, b, c) {\n return null == b || \"boolean\" === typeof b || \"\" === b ? \"\" : c || \"number\" !== typeof b || 0 === b || le.hasOwnProperty(a) && le[a] ? (\"\" + b).trim() : b + \"px\";\n}\n\nfunction oe(a, b) {\n a = a.style;\n\n for (var c in b) {\n if (b.hasOwnProperty(c)) {\n var d = 0 === c.indexOf(\"--\"),\n e = ne(c, b[c], d);\n \"float\" === c && (c = \"cssFloat\");\n d ? a.setProperty(c, e) : a[c] = e;\n }\n }\n}\n\nvar pe = n({\n menuitem: !0\n}, {\n area: !0,\n base: !0,\n br: !0,\n col: !0,\n embed: !0,\n hr: !0,\n img: !0,\n input: !0,\n keygen: !0,\n link: !0,\n meta: !0,\n param: !0,\n source: !0,\n track: !0,\n wbr: !0\n});\n\nfunction qe(a, b) {\n b && (pe[a] && (null != b.children || null != b.dangerouslySetInnerHTML ? x(\"137\", a, \"\") : void 0), null != b.dangerouslySetInnerHTML && (null != b.children ? x(\"60\") : void 0, \"object\" === typeof b.dangerouslySetInnerHTML && \"__html\" in b.dangerouslySetInnerHTML ? void 0 : x(\"61\")), null != b.style && \"object\" !== typeof b.style ? x(\"62\", \"\") : void 0);\n}\n\nfunction re(a, b) {\n if (-1 === a.indexOf(\"-\")) return \"string\" === typeof b.is;\n\n switch (a) {\n case \"annotation-xml\":\n case \"color-profile\":\n case \"font-face\":\n case \"font-face-src\":\n case \"font-face-uri\":\n case \"font-face-format\":\n case \"font-face-name\":\n case \"missing-glyph\":\n return !1;\n\n default:\n return !0;\n }\n}\n\nfunction se(a, b) {\n a = 9 === a.nodeType || 11 === a.nodeType ? a : a.ownerDocument;\n var c = Id(a);\n b = sa[b];\n\n for (var d = 0; d < b.length; d++) {\n var e = b[d];\n\n if (!c.hasOwnProperty(e) || !c[e]) {\n switch (e) {\n case \"scroll\":\n Ed(\"scroll\", a);\n break;\n\n case \"focus\":\n case \"blur\":\n Ed(\"focus\", a);\n Ed(\"blur\", a);\n c.blur = !0;\n c.focus = !0;\n break;\n\n case \"cancel\":\n case \"close\":\n Ob(e) && Ed(e, a);\n break;\n\n case \"invalid\":\n case \"submit\":\n case \"reset\":\n break;\n\n default:\n -1 === ab.indexOf(e) && E(e, a);\n }\n\n c[e] = !0;\n }\n }\n}\n\nfunction te() {}\n\nvar ue = null,\n ve = null;\n\nfunction we(a, b) {\n switch (a) {\n case \"button\":\n case \"input\":\n case \"select\":\n case \"textarea\":\n return !!b.autoFocus;\n }\n\n return !1;\n}\n\nfunction xe(a, b) {\n return \"textarea\" === a || \"option\" === a || \"noscript\" === a || \"string\" === typeof b.children || \"number\" === typeof b.children || \"object\" === typeof b.dangerouslySetInnerHTML && null !== b.dangerouslySetInnerHTML && null != b.dangerouslySetInnerHTML.__html;\n}\n\nvar ye = \"function\" === typeof setTimeout ? setTimeout : void 0,\n ze = \"function\" === typeof clearTimeout ? clearTimeout : void 0,\n Ae = r.unstable_scheduleCallback,\n Be = r.unstable_cancelCallback;\n\nfunction Ce(a, b, c, d, e) {\n a[Ga] = e;\n \"input\" === c && \"radio\" === e.type && null != e.name && xc(a, e);\n re(c, d);\n d = re(c, e);\n\n for (var f = 0; f < b.length; f += 2) {\n var g = b[f],\n h = b[f + 1];\n \"style\" === g ? oe(a, h) : \"dangerouslySetInnerHTML\" === g ? je(a, h) : \"children\" === g ? ke(a, h) : tc(a, g, h, d);\n }\n\n switch (c) {\n case \"input\":\n yc(a, e);\n break;\n\n case \"textarea\":\n de(a, e);\n break;\n\n case \"select\":\n b = a._wrapperState.wasMultiple, a._wrapperState.wasMultiple = !!e.multiple, c = e.value, null != c ? ae(a, !!e.multiple, c, !1) : b !== !!e.multiple && (null != e.defaultValue ? ae(a, !!e.multiple, e.defaultValue, !0) : ae(a, !!e.multiple, e.multiple ? [] : \"\", !1));\n }\n}\n\nfunction De(a) {\n for (a = a.nextSibling; a && 1 !== a.nodeType && 3 !== a.nodeType;) {\n a = a.nextSibling;\n }\n\n return a;\n}\n\nfunction Ee(a) {\n for (a = a.firstChild; a && 1 !== a.nodeType && 3 !== a.nodeType;) {\n a = a.nextSibling;\n }\n\n return a;\n}\n\nnew Set();\nvar Fe = [],\n Ge = -1;\n\nfunction F(a) {\n 0 > Ge || (a.current = Fe[Ge], Fe[Ge] = null, Ge--);\n}\n\nfunction G(a, b) {\n Ge++;\n Fe[Ge] = a.current;\n a.current = b;\n}\n\nvar He = {},\n H = {\n current: He\n},\n I = {\n current: !1\n},\n Ie = He;\n\nfunction Je(a, b) {\n var c = a.type.contextTypes;\n if (!c) return He;\n var d = a.stateNode;\n if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) return d.__reactInternalMemoizedMaskedChildContext;\n var e = {},\n f;\n\n for (f in c) {\n e[f] = b[f];\n }\n\n d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e);\n return e;\n}\n\nfunction J(a) {\n a = a.childContextTypes;\n return null !== a && void 0 !== a;\n}\n\nfunction Ke(a) {\n F(I, a);\n F(H, a);\n}\n\nfunction Le(a) {\n F(I, a);\n F(H, a);\n}\n\nfunction Me(a, b, c) {\n H.current !== He ? x(\"168\") : void 0;\n G(H, b, a);\n G(I, c, a);\n}\n\nfunction Ne(a, b, c) {\n var d = a.stateNode;\n a = b.childContextTypes;\n if (\"function\" !== typeof d.getChildContext) return c;\n d = d.getChildContext();\n\n for (var e in d) {\n e in a ? void 0 : x(\"108\", ic(b) || \"Unknown\", e);\n }\n\n return n({}, c, d);\n}\n\nfunction Oe(a) {\n var b = a.stateNode;\n b = b && b.__reactInternalMemoizedMergedChildContext || He;\n Ie = H.current;\n G(H, b, a);\n G(I, I.current, a);\n return !0;\n}\n\nfunction Pe(a, b, c) {\n var d = a.stateNode;\n d ? void 0 : x(\"169\");\n c ? (b = Ne(a, b, Ie), d.__reactInternalMemoizedMergedChildContext = b, F(I, a), F(H, a), G(H, b, a)) : F(I, a);\n G(I, c, a);\n}\n\nvar Qe = null,\n Re = null;\n\nfunction Se(a) {\n return function (b) {\n try {\n return a(b);\n } catch (c) {}\n };\n}\n\nfunction Te(a) {\n if (\"undefined\" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;\n var b = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n if (b.isDisabled || !b.supportsFiber) return !0;\n\n try {\n var c = b.inject(a);\n Qe = Se(function (a) {\n return b.onCommitFiberRoot(c, a);\n });\n Re = Se(function (a) {\n return b.onCommitFiberUnmount(c, a);\n });\n } catch (d) {}\n\n return !0;\n}\n\nfunction Ue(a, b, c, d) {\n this.tag = a;\n this.key = c;\n this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null;\n this.index = 0;\n this.ref = null;\n this.pendingProps = b;\n this.contextDependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null;\n this.mode = d;\n this.effectTag = 0;\n this.lastEffect = this.firstEffect = this.nextEffect = null;\n this.childExpirationTime = this.expirationTime = 0;\n this.alternate = null;\n}\n\nfunction K(a, b, c, d) {\n return new Ue(a, b, c, d);\n}\n\nfunction Ve(a) {\n a = a.prototype;\n return !(!a || !a.isReactComponent);\n}\n\nfunction We(a) {\n if (\"function\" === typeof a) return Ve(a) ? 1 : 0;\n\n if (void 0 !== a && null !== a) {\n a = a.$$typeof;\n if (a === cc) return 11;\n if (a === ec) return 14;\n }\n\n return 2;\n}\n\nfunction Xe(a, b) {\n var c = a.alternate;\n null === c ? (c = K(a.tag, b, a.key, a.mode), c.elementType = a.elementType, c.type = a.type, c.stateNode = a.stateNode, c.alternate = a, a.alternate = c) : (c.pendingProps = b, c.effectTag = 0, c.nextEffect = null, c.firstEffect = null, c.lastEffect = null);\n c.childExpirationTime = a.childExpirationTime;\n c.expirationTime = a.expirationTime;\n c.child = a.child;\n c.memoizedProps = a.memoizedProps;\n c.memoizedState = a.memoizedState;\n c.updateQueue = a.updateQueue;\n c.contextDependencies = a.contextDependencies;\n c.sibling = a.sibling;\n c.index = a.index;\n c.ref = a.ref;\n return c;\n}\n\nfunction Ye(a, b, c, d, e, f) {\n var g = 2;\n d = a;\n if (\"function\" === typeof a) Ve(a) && (g = 1);else if (\"string\" === typeof a) g = 5;else a: switch (a) {\n case Xb:\n return Ze(c.children, e, f, b);\n\n case bc:\n return $e(c, e | 3, f, b);\n\n case Yb:\n return $e(c, e | 2, f, b);\n\n case Zb:\n return a = K(12, c, b, e | 4), a.elementType = Zb, a.type = Zb, a.expirationTime = f, a;\n\n case dc:\n return a = K(13, c, b, e), a.elementType = dc, a.type = dc, a.expirationTime = f, a;\n\n default:\n if (\"object\" === typeof a && null !== a) switch (a.$$typeof) {\n case $b:\n g = 10;\n break a;\n\n case ac:\n g = 9;\n break a;\n\n case cc:\n g = 11;\n break a;\n\n case ec:\n g = 14;\n break a;\n\n case fc:\n g = 16;\n d = null;\n break a;\n }\n x(\"130\", null == a ? a : typeof a, \"\");\n }\n b = K(g, c, b, e);\n b.elementType = a;\n b.type = d;\n b.expirationTime = f;\n return b;\n}\n\nfunction Ze(a, b, c, d) {\n a = K(7, a, d, b);\n a.expirationTime = c;\n return a;\n}\n\nfunction $e(a, b, c, d) {\n a = K(8, a, d, b);\n b = 0 === (b & 1) ? Yb : bc;\n a.elementType = b;\n a.type = b;\n a.expirationTime = c;\n return a;\n}\n\nfunction af(a, b, c) {\n a = K(6, a, null, b);\n a.expirationTime = c;\n return a;\n}\n\nfunction bf(a, b, c) {\n b = K(4, null !== a.children ? a.children : [], a.key, b);\n b.expirationTime = c;\n b.stateNode = {\n containerInfo: a.containerInfo,\n pendingChildren: null,\n implementation: a.implementation\n };\n return b;\n}\n\nfunction cf(a, b) {\n a.didError = !1;\n var c = a.earliestPendingTime;\n 0 === c ? a.earliestPendingTime = a.latestPendingTime = b : c < b ? a.earliestPendingTime = b : a.latestPendingTime > b && (a.latestPendingTime = b);\n df(b, a);\n}\n\nfunction ef(a, b) {\n a.didError = !1;\n if (0 === b) a.earliestPendingTime = 0, a.latestPendingTime = 0, a.earliestSuspendedTime = 0, a.latestSuspendedTime = 0, a.latestPingedTime = 0;else {\n b < a.latestPingedTime && (a.latestPingedTime = 0);\n var c = a.latestPendingTime;\n 0 !== c && (c > b ? a.earliestPendingTime = a.latestPendingTime = 0 : a.earliestPendingTime > b && (a.earliestPendingTime = a.latestPendingTime));\n c = a.earliestSuspendedTime;\n 0 === c ? cf(a, b) : b < a.latestSuspendedTime ? (a.earliestSuspendedTime = 0, a.latestSuspendedTime = 0, a.latestPingedTime = 0, cf(a, b)) : b > c && cf(a, b);\n }\n df(0, a);\n}\n\nfunction ff(a, b) {\n a.didError = !1;\n a.latestPingedTime >= b && (a.latestPingedTime = 0);\n var c = a.earliestPendingTime,\n d = a.latestPendingTime;\n c === b ? a.earliestPendingTime = d === b ? a.latestPendingTime = 0 : d : d === b && (a.latestPendingTime = c);\n c = a.earliestSuspendedTime;\n d = a.latestSuspendedTime;\n 0 === c ? a.earliestSuspendedTime = a.latestSuspendedTime = b : c < b ? a.earliestSuspendedTime = b : d > b && (a.latestSuspendedTime = b);\n df(b, a);\n}\n\nfunction gf(a, b) {\n var c = a.earliestPendingTime;\n a = a.earliestSuspendedTime;\n c > b && (b = c);\n a > b && (b = a);\n return b;\n}\n\nfunction df(a, b) {\n var c = b.earliestSuspendedTime,\n d = b.latestSuspendedTime,\n e = b.earliestPendingTime,\n f = b.latestPingedTime;\n e = 0 !== e ? e : f;\n 0 === e && (0 === a || d < a) && (e = d);\n a = e;\n 0 !== a && c > a && (a = c);\n b.nextExpirationTimeToWorkOn = e;\n b.expirationTime = a;\n}\n\nfunction L(a, b) {\n if (a && a.defaultProps) {\n b = n({}, b);\n a = a.defaultProps;\n\n for (var c in a) {\n void 0 === b[c] && (b[c] = a[c]);\n }\n }\n\n return b;\n}\n\nfunction hf(a) {\n var b = a._result;\n\n switch (a._status) {\n case 1:\n return b;\n\n case 2:\n throw b;\n\n case 0:\n throw b;\n\n default:\n a._status = 0;\n b = a._ctor;\n b = b();\n b.then(function (b) {\n 0 === a._status && (b = b.default, a._status = 1, a._result = b);\n }, function (b) {\n 0 === a._status && (a._status = 2, a._result = b);\n });\n\n switch (a._status) {\n case 1:\n return a._result;\n\n case 2:\n throw a._result;\n }\n\n a._result = b;\n throw b;\n }\n}\n\nvar jf = new aa.Component().refs;\n\nfunction kf(a, b, c, d) {\n b = a.memoizedState;\n c = c(d, b);\n c = null === c || void 0 === c ? b : n({}, b, c);\n a.memoizedState = c;\n d = a.updateQueue;\n null !== d && 0 === a.expirationTime && (d.baseState = c);\n}\n\nvar tf = {\n isMounted: function isMounted(a) {\n return (a = a._reactInternalFiber) ? 2 === ed(a) : !1;\n },\n enqueueSetState: function enqueueSetState(a, b, c) {\n a = a._reactInternalFiber;\n var d = lf();\n d = mf(d, a);\n var e = nf(d);\n e.payload = b;\n void 0 !== c && null !== c && (e.callback = c);\n of();\n pf(a, e);\n qf(a, d);\n },\n enqueueReplaceState: function enqueueReplaceState(a, b, c) {\n a = a._reactInternalFiber;\n var d = lf();\n d = mf(d, a);\n var e = nf(d);\n e.tag = rf;\n e.payload = b;\n void 0 !== c && null !== c && (e.callback = c);\n of();\n pf(a, e);\n qf(a, d);\n },\n enqueueForceUpdate: function enqueueForceUpdate(a, b) {\n a = a._reactInternalFiber;\n var c = lf();\n c = mf(c, a);\n var d = nf(c);\n d.tag = sf;\n void 0 !== b && null !== b && (d.callback = b);\n of();\n pf(a, d);\n qf(a, c);\n }\n};\n\nfunction uf(a, b, c, d, e, f, g) {\n a = a.stateNode;\n return \"function\" === typeof a.shouldComponentUpdate ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !dd(c, d) || !dd(e, f) : !0;\n}\n\nfunction vf(a, b, c) {\n var d = !1,\n e = He;\n var f = b.contextType;\n \"object\" === typeof f && null !== f ? f = M(f) : (e = J(b) ? Ie : H.current, d = b.contextTypes, f = (d = null !== d && void 0 !== d) ? Je(a, e) : He);\n b = new b(c, f);\n a.memoizedState = null !== b.state && void 0 !== b.state ? b.state : null;\n b.updater = tf;\n a.stateNode = b;\n b._reactInternalFiber = a;\n d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f);\n return b;\n}\n\nfunction wf(a, b, c, d) {\n a = b.state;\n \"function\" === typeof b.componentWillReceiveProps && b.componentWillReceiveProps(c, d);\n \"function\" === typeof b.UNSAFE_componentWillReceiveProps && b.UNSAFE_componentWillReceiveProps(c, d);\n b.state !== a && tf.enqueueReplaceState(b, b.state, null);\n}\n\nfunction xf(a, b, c, d) {\n var e = a.stateNode;\n e.props = c;\n e.state = a.memoizedState;\n e.refs = jf;\n var f = b.contextType;\n \"object\" === typeof f && null !== f ? e.context = M(f) : (f = J(b) ? Ie : H.current, e.context = Je(a, f));\n f = a.updateQueue;\n null !== f && (yf(a, f, c, e, d), e.state = a.memoizedState);\n f = b.getDerivedStateFromProps;\n \"function\" === typeof f && (kf(a, b, f, c), e.state = a.memoizedState);\n \"function\" === typeof b.getDerivedStateFromProps || \"function\" === typeof e.getSnapshotBeforeUpdate || \"function\" !== typeof e.UNSAFE_componentWillMount && \"function\" !== typeof e.componentWillMount || (b = e.state, \"function\" === typeof e.componentWillMount && e.componentWillMount(), \"function\" === typeof e.UNSAFE_componentWillMount && e.UNSAFE_componentWillMount(), b !== e.state && tf.enqueueReplaceState(e, e.state, null), f = a.updateQueue, null !== f && (yf(a, f, c, e, d), e.state = a.memoizedState));\n \"function\" === typeof e.componentDidMount && (a.effectTag |= 4);\n}\n\nvar zf = Array.isArray;\n\nfunction Af(a, b, c) {\n a = c.ref;\n\n if (null !== a && \"function\" !== typeof a && \"object\" !== typeof a) {\n if (c._owner) {\n c = c._owner;\n var d = void 0;\n c && (1 !== c.tag ? x(\"309\") : void 0, d = c.stateNode);\n d ? void 0 : x(\"147\", a);\n var e = \"\" + a;\n if (null !== b && null !== b.ref && \"function\" === typeof b.ref && b.ref._stringRef === e) return b.ref;\n\n b = function b(a) {\n var b = d.refs;\n b === jf && (b = d.refs = {});\n null === a ? delete b[e] : b[e] = a;\n };\n\n b._stringRef = e;\n return b;\n }\n\n \"string\" !== typeof a ? x(\"284\") : void 0;\n c._owner ? void 0 : x(\"290\", a);\n }\n\n return a;\n}\n\nfunction Bf(a, b) {\n \"textarea\" !== a.type && x(\"31\", \"[object Object]\" === Object.prototype.toString.call(b) ? \"object with keys {\" + Object.keys(b).join(\", \") + \"}\" : b, \"\");\n}\n\nfunction Cf(a) {\n function b(b, c) {\n if (a) {\n var d = b.lastEffect;\n null !== d ? (d.nextEffect = c, b.lastEffect = c) : b.firstEffect = b.lastEffect = c;\n c.nextEffect = null;\n c.effectTag = 8;\n }\n }\n\n function c(c, d) {\n if (!a) return null;\n\n for (; null !== d;) {\n b(c, d), d = d.sibling;\n }\n\n return null;\n }\n\n function d(a, b) {\n for (a = new Map(); null !== b;) {\n null !== b.key ? a.set(b.key, b) : a.set(b.index, b), b = b.sibling;\n }\n\n return a;\n }\n\n function e(a, b, c) {\n a = Xe(a, b, c);\n a.index = 0;\n a.sibling = null;\n return a;\n }\n\n function f(b, c, d) {\n b.index = d;\n if (!a) return c;\n d = b.alternate;\n if (null !== d) return d = d.index, d < c ? (b.effectTag = 2, c) : d;\n b.effectTag = 2;\n return c;\n }\n\n function g(b) {\n a && null === b.alternate && (b.effectTag = 2);\n return b;\n }\n\n function h(a, b, c, d) {\n if (null === b || 6 !== b.tag) return b = af(c, a.mode, d), b.return = a, b;\n b = e(b, c, d);\n b.return = a;\n return b;\n }\n\n function l(a, b, c, d) {\n if (null !== b && b.elementType === c.type) return d = e(b, c.props, d), d.ref = Af(a, b, c), d.return = a, d;\n d = Ye(c.type, c.key, c.props, null, a.mode, d);\n d.ref = Af(a, b, c);\n d.return = a;\n return d;\n }\n\n function k(a, b, c, d) {\n if (null === b || 4 !== b.tag || b.stateNode.containerInfo !== c.containerInfo || b.stateNode.implementation !== c.implementation) return b = bf(c, a.mode, d), b.return = a, b;\n b = e(b, c.children || [], d);\n b.return = a;\n return b;\n }\n\n function m(a, b, c, d, f) {\n if (null === b || 7 !== b.tag) return b = Ze(c, a.mode, d, f), b.return = a, b;\n b = e(b, c, d);\n b.return = a;\n return b;\n }\n\n function p(a, b, c) {\n if (\"string\" === typeof b || \"number\" === typeof b) return b = af(\"\" + b, a.mode, c), b.return = a, b;\n\n if (\"object\" === typeof b && null !== b) {\n switch (b.$$typeof) {\n case Vb:\n return c = Ye(b.type, b.key, b.props, null, a.mode, c), c.ref = Af(a, null, b), c.return = a, c;\n\n case Wb:\n return b = bf(b, a.mode, c), b.return = a, b;\n }\n\n if (zf(b) || hc(b)) return b = Ze(b, a.mode, c, null), b.return = a, b;\n Bf(a, b);\n }\n\n return null;\n }\n\n function t(a, b, c, d) {\n var e = null !== b ? b.key : null;\n if (\"string\" === typeof c || \"number\" === typeof c) return null !== e ? null : h(a, b, \"\" + c, d);\n\n if (\"object\" === typeof c && null !== c) {\n switch (c.$$typeof) {\n case Vb:\n return c.key === e ? c.type === Xb ? m(a, b, c.props.children, d, e) : l(a, b, c, d) : null;\n\n case Wb:\n return c.key === e ? k(a, b, c, d) : null;\n }\n\n if (zf(c) || hc(c)) return null !== e ? null : m(a, b, c, d, null);\n Bf(a, c);\n }\n\n return null;\n }\n\n function A(a, b, c, d, e) {\n if (\"string\" === typeof d || \"number\" === typeof d) return a = a.get(c) || null, h(b, a, \"\" + d, e);\n\n if (\"object\" === typeof d && null !== d) {\n switch (d.$$typeof) {\n case Vb:\n return a = a.get(null === d.key ? c : d.key) || null, d.type === Xb ? m(b, a, d.props.children, e, d.key) : l(b, a, d, e);\n\n case Wb:\n return a = a.get(null === d.key ? c : d.key) || null, k(b, a, d, e);\n }\n\n if (zf(d) || hc(d)) return a = a.get(c) || null, m(b, a, d, e, null);\n Bf(b, d);\n }\n\n return null;\n }\n\n function v(e, g, h, k) {\n for (var l = null, m = null, q = g, u = g = 0, B = null; null !== q && u < h.length; u++) {\n q.index > u ? (B = q, q = null) : B = q.sibling;\n var w = t(e, q, h[u], k);\n\n if (null === w) {\n null === q && (q = B);\n break;\n }\n\n a && q && null === w.alternate && b(e, q);\n g = f(w, g, u);\n null === m ? l = w : m.sibling = w;\n m = w;\n q = B;\n }\n\n if (u === h.length) return c(e, q), l;\n\n if (null === q) {\n for (; u < h.length; u++) {\n if (q = p(e, h[u], k)) g = f(q, g, u), null === m ? l = q : m.sibling = q, m = q;\n }\n\n return l;\n }\n\n for (q = d(e, q); u < h.length; u++) {\n if (B = A(q, e, u, h[u], k)) a && null !== B.alternate && q.delete(null === B.key ? u : B.key), g = f(B, g, u), null === m ? l = B : m.sibling = B, m = B;\n }\n\n a && q.forEach(function (a) {\n return b(e, a);\n });\n return l;\n }\n\n function R(e, g, h, k) {\n var l = hc(h);\n \"function\" !== typeof l ? x(\"150\") : void 0;\n h = l.call(h);\n null == h ? x(\"151\") : void 0;\n\n for (var m = l = null, q = g, u = g = 0, B = null, w = h.next(); null !== q && !w.done; u++, w = h.next()) {\n q.index > u ? (B = q, q = null) : B = q.sibling;\n var v = t(e, q, w.value, k);\n\n if (null === v) {\n q || (q = B);\n break;\n }\n\n a && q && null === v.alternate && b(e, q);\n g = f(v, g, u);\n null === m ? l = v : m.sibling = v;\n m = v;\n q = B;\n }\n\n if (w.done) return c(e, q), l;\n\n if (null === q) {\n for (; !w.done; u++, w = h.next()) {\n w = p(e, w.value, k), null !== w && (g = f(w, g, u), null === m ? l = w : m.sibling = w, m = w);\n }\n\n return l;\n }\n\n for (q = d(e, q); !w.done; u++, w = h.next()) {\n w = A(q, e, u, w.value, k), null !== w && (a && null !== w.alternate && q.delete(null === w.key ? u : w.key), g = f(w, g, u), null === m ? l = w : m.sibling = w, m = w);\n }\n\n a && q.forEach(function (a) {\n return b(e, a);\n });\n return l;\n }\n\n return function (a, d, f, h) {\n var k = \"object\" === typeof f && null !== f && f.type === Xb && null === f.key;\n k && (f = f.props.children);\n var l = \"object\" === typeof f && null !== f;\n if (l) switch (f.$$typeof) {\n case Vb:\n a: {\n l = f.key;\n\n for (k = d; null !== k;) {\n if (k.key === l) {\n if (7 === k.tag ? f.type === Xb : k.elementType === f.type) {\n c(a, k.sibling);\n d = e(k, f.type === Xb ? f.props.children : f.props, h);\n d.ref = Af(a, k, f);\n d.return = a;\n a = d;\n break a;\n } else {\n c(a, k);\n break;\n }\n } else b(a, k);\n k = k.sibling;\n }\n\n f.type === Xb ? (d = Ze(f.props.children, a.mode, h, f.key), d.return = a, a = d) : (h = Ye(f.type, f.key, f.props, null, a.mode, h), h.ref = Af(a, d, f), h.return = a, a = h);\n }\n\n return g(a);\n\n case Wb:\n a: {\n for (k = f.key; null !== d;) {\n if (d.key === k) {\n if (4 === d.tag && d.stateNode.containerInfo === f.containerInfo && d.stateNode.implementation === f.implementation) {\n c(a, d.sibling);\n d = e(d, f.children || [], h);\n d.return = a;\n a = d;\n break a;\n } else {\n c(a, d);\n break;\n }\n } else b(a, d);\n d = d.sibling;\n }\n\n d = bf(f, a.mode, h);\n d.return = a;\n a = d;\n }\n\n return g(a);\n }\n if (\"string\" === typeof f || \"number\" === typeof f) return f = \"\" + f, null !== d && 6 === d.tag ? (c(a, d.sibling), d = e(d, f, h), d.return = a, a = d) : (c(a, d), d = af(f, a.mode, h), d.return = a, a = d), g(a);\n if (zf(f)) return v(a, d, f, h);\n if (hc(f)) return R(a, d, f, h);\n l && Bf(a, f);\n if (\"undefined\" === typeof f && !k) switch (a.tag) {\n case 1:\n case 0:\n h = a.type, x(\"152\", h.displayName || h.name || \"Component\");\n }\n return c(a, d);\n };\n}\n\nvar Df = Cf(!0),\n Ef = Cf(!1),\n Ff = {},\n N = {\n current: Ff\n},\n Gf = {\n current: Ff\n},\n Hf = {\n current: Ff\n};\n\nfunction If(a) {\n a === Ff ? x(\"174\") : void 0;\n return a;\n}\n\nfunction Jf(a, b) {\n G(Hf, b, a);\n G(Gf, a, a);\n G(N, Ff, a);\n var c = b.nodeType;\n\n switch (c) {\n case 9:\n case 11:\n b = (b = b.documentElement) ? b.namespaceURI : he(null, \"\");\n break;\n\n default:\n c = 8 === c ? b.parentNode : b, b = c.namespaceURI || null, c = c.tagName, b = he(b, c);\n }\n\n F(N, a);\n G(N, b, a);\n}\n\nfunction Kf(a) {\n F(N, a);\n F(Gf, a);\n F(Hf, a);\n}\n\nfunction Lf(a) {\n If(Hf.current);\n var b = If(N.current);\n var c = he(b, a.type);\n b !== c && (G(Gf, a, a), G(N, c, a));\n}\n\nfunction Mf(a) {\n Gf.current === a && (F(N, a), F(Gf, a));\n}\n\nvar Nf = 0,\n Of = 2,\n Pf = 4,\n Qf = 8,\n Rf = 16,\n Sf = 32,\n Tf = 64,\n Uf = 128,\n Vf = Tb.ReactCurrentDispatcher,\n Wf = 0,\n Xf = null,\n O = null,\n P = null,\n Yf = null,\n Q = null,\n Zf = null,\n $f = 0,\n ag = null,\n bg = 0,\n cg = !1,\n dg = null,\n eg = 0;\n\nfunction fg() {\n x(\"321\");\n}\n\nfunction gg(a, b) {\n if (null === b) return !1;\n\n for (var c = 0; c < b.length && c < a.length; c++) {\n if (!bd(a[c], b[c])) return !1;\n }\n\n return !0;\n}\n\nfunction hg(a, b, c, d, e, f) {\n Wf = f;\n Xf = b;\n P = null !== a ? a.memoizedState : null;\n Vf.current = null === P ? ig : jg;\n b = c(d, e);\n\n if (cg) {\n do {\n cg = !1, eg += 1, P = null !== a ? a.memoizedState : null, Zf = Yf, ag = Q = O = null, Vf.current = jg, b = c(d, e);\n } while (cg);\n\n dg = null;\n eg = 0;\n }\n\n Vf.current = kg;\n a = Xf;\n a.memoizedState = Yf;\n a.expirationTime = $f;\n a.updateQueue = ag;\n a.effectTag |= bg;\n a = null !== O && null !== O.next;\n Wf = 0;\n Zf = Q = Yf = P = O = Xf = null;\n $f = 0;\n ag = null;\n bg = 0;\n a ? x(\"300\") : void 0;\n return b;\n}\n\nfunction lg() {\n Vf.current = kg;\n Wf = 0;\n Zf = Q = Yf = P = O = Xf = null;\n $f = 0;\n ag = null;\n bg = 0;\n cg = !1;\n dg = null;\n eg = 0;\n}\n\nfunction mg() {\n var a = {\n memoizedState: null,\n baseState: null,\n queue: null,\n baseUpdate: null,\n next: null\n };\n null === Q ? Yf = Q = a : Q = Q.next = a;\n return Q;\n}\n\nfunction ng() {\n if (null !== Zf) Q = Zf, Zf = Q.next, O = P, P = null !== O ? O.next : null;else {\n null === P ? x(\"310\") : void 0;\n O = P;\n var a = {\n memoizedState: O.memoizedState,\n baseState: O.baseState,\n queue: O.queue,\n baseUpdate: O.baseUpdate,\n next: null\n };\n Q = null === Q ? Yf = a : Q.next = a;\n P = O.next;\n }\n return Q;\n}\n\nfunction og(a, b) {\n return \"function\" === typeof b ? b(a) : b;\n}\n\nfunction pg(a) {\n var b = ng(),\n c = b.queue;\n null === c ? x(\"311\") : void 0;\n c.lastRenderedReducer = a;\n\n if (0 < eg) {\n var d = c.dispatch;\n\n if (null !== dg) {\n var e = dg.get(c);\n\n if (void 0 !== e) {\n dg.delete(c);\n var f = b.memoizedState;\n\n do {\n f = a(f, e.action), e = e.next;\n } while (null !== e);\n\n bd(f, b.memoizedState) || (qg = !0);\n b.memoizedState = f;\n b.baseUpdate === c.last && (b.baseState = f);\n c.lastRenderedState = f;\n return [f, d];\n }\n }\n\n return [b.memoizedState, d];\n }\n\n d = c.last;\n var g = b.baseUpdate;\n f = b.baseState;\n null !== g ? (null !== d && (d.next = null), d = g.next) : d = null !== d ? d.next : null;\n\n if (null !== d) {\n var h = e = null,\n l = d,\n k = !1;\n\n do {\n var m = l.expirationTime;\n m < Wf ? (k || (k = !0, h = g, e = f), m > $f && ($f = m)) : f = l.eagerReducer === a ? l.eagerState : a(f, l.action);\n g = l;\n l = l.next;\n } while (null !== l && l !== d);\n\n k || (h = g, e = f);\n bd(f, b.memoizedState) || (qg = !0);\n b.memoizedState = f;\n b.baseUpdate = h;\n b.baseState = e;\n c.lastRenderedState = f;\n }\n\n return [b.memoizedState, c.dispatch];\n}\n\nfunction rg(a, b, c, d) {\n a = {\n tag: a,\n create: b,\n destroy: c,\n deps: d,\n next: null\n };\n null === ag ? (ag = {\n lastEffect: null\n }, ag.lastEffect = a.next = a) : (b = ag.lastEffect, null === b ? ag.lastEffect = a.next = a : (c = b.next, b.next = a, a.next = c, ag.lastEffect = a));\n return a;\n}\n\nfunction sg(a, b, c, d) {\n var e = mg();\n bg |= a;\n e.memoizedState = rg(b, c, void 0, void 0 === d ? null : d);\n}\n\nfunction tg(a, b, c, d) {\n var e = ng();\n d = void 0 === d ? null : d;\n var f = void 0;\n\n if (null !== O) {\n var g = O.memoizedState;\n f = g.destroy;\n\n if (null !== d && gg(d, g.deps)) {\n rg(Nf, c, f, d);\n return;\n }\n }\n\n bg |= a;\n e.memoizedState = rg(b, c, f, d);\n}\n\nfunction ug(a, b) {\n if (\"function\" === typeof b) return a = a(), b(a), function () {\n b(null);\n };\n if (null !== b && void 0 !== b) return a = a(), b.current = a, function () {\n b.current = null;\n };\n}\n\nfunction vg() {}\n\nfunction wg(a, b, c) {\n 25 > eg ? void 0 : x(\"301\");\n var d = a.alternate;\n if (a === Xf || null !== d && d === Xf) {\n if (cg = !0, a = {\n expirationTime: Wf,\n action: c,\n eagerReducer: null,\n eagerState: null,\n next: null\n }, null === dg && (dg = new Map()), c = dg.get(b), void 0 === c) dg.set(b, a);else {\n for (b = c; null !== b.next;) {\n b = b.next;\n }\n\n b.next = a;\n }\n } else {\n of();\n var e = lf();\n e = mf(e, a);\n var f = {\n expirationTime: e,\n action: c,\n eagerReducer: null,\n eagerState: null,\n next: null\n },\n g = b.last;\n if (null === g) f.next = f;else {\n var h = g.next;\n null !== h && (f.next = h);\n g.next = f;\n }\n b.last = f;\n if (0 === a.expirationTime && (null === d || 0 === d.expirationTime) && (d = b.lastRenderedReducer, null !== d)) try {\n var l = b.lastRenderedState,\n k = d(l, c);\n f.eagerReducer = d;\n f.eagerState = k;\n if (bd(k, l)) return;\n } catch (m) {} finally {}\n qf(a, e);\n }\n}\n\nvar kg = {\n readContext: M,\n useCallback: fg,\n useContext: fg,\n useEffect: fg,\n useImperativeHandle: fg,\n useLayoutEffect: fg,\n useMemo: fg,\n useReducer: fg,\n useRef: fg,\n useState: fg,\n useDebugValue: fg\n},\n ig = {\n readContext: M,\n useCallback: function useCallback(a, b) {\n mg().memoizedState = [a, void 0 === b ? null : b];\n return a;\n },\n useContext: M,\n useEffect: function useEffect(a, b) {\n return sg(516, Uf | Tf, a, b);\n },\n useImperativeHandle: function useImperativeHandle(a, b, c) {\n c = null !== c && void 0 !== c ? c.concat([a]) : null;\n return sg(4, Pf | Sf, ug.bind(null, b, a), c);\n },\n useLayoutEffect: function useLayoutEffect(a, b) {\n return sg(4, Pf | Sf, a, b);\n },\n useMemo: function useMemo(a, b) {\n var c = mg();\n b = void 0 === b ? null : b;\n a = a();\n c.memoizedState = [a, b];\n return a;\n },\n useReducer: function useReducer(a, b, c) {\n var d = mg();\n b = void 0 !== c ? c(b) : b;\n d.memoizedState = d.baseState = b;\n a = d.queue = {\n last: null,\n dispatch: null,\n lastRenderedReducer: a,\n lastRenderedState: b\n };\n a = a.dispatch = wg.bind(null, Xf, a);\n return [d.memoizedState, a];\n },\n useRef: function useRef(a) {\n var b = mg();\n a = {\n current: a\n };\n return b.memoizedState = a;\n },\n useState: function useState(a) {\n var b = mg();\n \"function\" === typeof a && (a = a());\n b.memoizedState = b.baseState = a;\n a = b.queue = {\n last: null,\n dispatch: null,\n lastRenderedReducer: og,\n lastRenderedState: a\n };\n a = a.dispatch = wg.bind(null, Xf, a);\n return [b.memoizedState, a];\n },\n useDebugValue: vg\n},\n jg = {\n readContext: M,\n useCallback: function useCallback(a, b) {\n var c = ng();\n b = void 0 === b ? null : b;\n var d = c.memoizedState;\n if (null !== d && null !== b && gg(b, d[1])) return d[0];\n c.memoizedState = [a, b];\n return a;\n },\n useContext: M,\n useEffect: function useEffect(a, b) {\n return tg(516, Uf | Tf, a, b);\n },\n useImperativeHandle: function useImperativeHandle(a, b, c) {\n c = null !== c && void 0 !== c ? c.concat([a]) : null;\n return tg(4, Pf | Sf, ug.bind(null, b, a), c);\n },\n useLayoutEffect: function useLayoutEffect(a, b) {\n return tg(4, Pf | Sf, a, b);\n },\n useMemo: function useMemo(a, b) {\n var c = ng();\n b = void 0 === b ? null : b;\n var d = c.memoizedState;\n if (null !== d && null !== b && gg(b, d[1])) return d[0];\n a = a();\n c.memoizedState = [a, b];\n return a;\n },\n useReducer: pg,\n useRef: function useRef() {\n return ng().memoizedState;\n },\n useState: function useState(a) {\n return pg(og, a);\n },\n useDebugValue: vg\n},\n xg = null,\n yg = null,\n zg = !1;\n\nfunction Ag(a, b) {\n var c = K(5, null, null, 0);\n c.elementType = \"DELETED\";\n c.type = \"DELETED\";\n c.stateNode = b;\n c.return = a;\n c.effectTag = 8;\n null !== a.lastEffect ? (a.lastEffect.nextEffect = c, a.lastEffect = c) : a.firstEffect = a.lastEffect = c;\n}\n\nfunction Bg(a, b) {\n switch (a.tag) {\n case 5:\n var c = a.type;\n b = 1 !== b.nodeType || c.toLowerCase() !== b.nodeName.toLowerCase() ? null : b;\n return null !== b ? (a.stateNode = b, !0) : !1;\n\n case 6:\n return b = \"\" === a.pendingProps || 3 !== b.nodeType ? null : b, null !== b ? (a.stateNode = b, !0) : !1;\n\n case 13:\n return !1;\n\n default:\n return !1;\n }\n}\n\nfunction Cg(a) {\n if (zg) {\n var b = yg;\n\n if (b) {\n var c = b;\n\n if (!Bg(a, b)) {\n b = De(c);\n\n if (!b || !Bg(a, b)) {\n a.effectTag |= 2;\n zg = !1;\n xg = a;\n return;\n }\n\n Ag(xg, c);\n }\n\n xg = a;\n yg = Ee(b);\n } else a.effectTag |= 2, zg = !1, xg = a;\n }\n}\n\nfunction Dg(a) {\n for (a = a.return; null !== a && 5 !== a.tag && 3 !== a.tag && 18 !== a.tag;) {\n a = a.return;\n }\n\n xg = a;\n}\n\nfunction Eg(a) {\n if (a !== xg) return !1;\n if (!zg) return Dg(a), zg = !0, !1;\n var b = a.type;\n if (5 !== a.tag || \"head\" !== b && \"body\" !== b && !xe(b, a.memoizedProps)) for (b = yg; b;) {\n Ag(a, b), b = De(b);\n }\n Dg(a);\n yg = xg ? De(a.stateNode) : null;\n return !0;\n}\n\nfunction Fg() {\n yg = xg = null;\n zg = !1;\n}\n\nvar Gg = Tb.ReactCurrentOwner,\n qg = !1;\n\nfunction S(a, b, c, d) {\n b.child = null === a ? Ef(b, null, c, d) : Df(b, a.child, c, d);\n}\n\nfunction Hg(a, b, c, d, e) {\n c = c.render;\n var f = b.ref;\n Ig(b, e);\n d = hg(a, b, c, d, f, e);\n if (null !== a && !qg) return b.updateQueue = a.updateQueue, b.effectTag &= -517, a.expirationTime <= e && (a.expirationTime = 0), Jg(a, b, e);\n b.effectTag |= 1;\n S(a, b, d, e);\n return b.child;\n}\n\nfunction Kg(a, b, c, d, e, f) {\n if (null === a) {\n var g = c.type;\n if (\"function\" === typeof g && !Ve(g) && void 0 === g.defaultProps && null === c.compare && void 0 === c.defaultProps) return b.tag = 15, b.type = g, Lg(a, b, g, d, e, f);\n a = Ye(c.type, null, d, null, b.mode, f);\n a.ref = b.ref;\n a.return = b;\n return b.child = a;\n }\n\n g = a.child;\n if (e < f && (e = g.memoizedProps, c = c.compare, c = null !== c ? c : dd, c(e, d) && a.ref === b.ref)) return Jg(a, b, f);\n b.effectTag |= 1;\n a = Xe(g, d, f);\n a.ref = b.ref;\n a.return = b;\n return b.child = a;\n}\n\nfunction Lg(a, b, c, d, e, f) {\n return null !== a && dd(a.memoizedProps, d) && a.ref === b.ref && (qg = !1, e < f) ? Jg(a, b, f) : Mg(a, b, c, d, f);\n}\n\nfunction Ng(a, b) {\n var c = b.ref;\n if (null === a && null !== c || null !== a && a.ref !== c) b.effectTag |= 128;\n}\n\nfunction Mg(a, b, c, d, e) {\n var f = J(c) ? Ie : H.current;\n f = Je(b, f);\n Ig(b, e);\n c = hg(a, b, c, d, f, e);\n if (null !== a && !qg) return b.updateQueue = a.updateQueue, b.effectTag &= -517, a.expirationTime <= e && (a.expirationTime = 0), Jg(a, b, e);\n b.effectTag |= 1;\n S(a, b, c, e);\n return b.child;\n}\n\nfunction Og(a, b, c, d, e) {\n if (J(c)) {\n var f = !0;\n Oe(b);\n } else f = !1;\n\n Ig(b, e);\n if (null === b.stateNode) null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2), vf(b, c, d, e), xf(b, c, d, e), d = !0;else if (null === a) {\n var g = b.stateNode,\n h = b.memoizedProps;\n g.props = h;\n var l = g.context,\n k = c.contextType;\n \"object\" === typeof k && null !== k ? k = M(k) : (k = J(c) ? Ie : H.current, k = Je(b, k));\n var m = c.getDerivedStateFromProps,\n p = \"function\" === typeof m || \"function\" === typeof g.getSnapshotBeforeUpdate;\n p || \"function\" !== typeof g.UNSAFE_componentWillReceiveProps && \"function\" !== typeof g.componentWillReceiveProps || (h !== d || l !== k) && wf(b, g, d, k);\n Pg = !1;\n var t = b.memoizedState;\n l = g.state = t;\n var A = b.updateQueue;\n null !== A && (yf(b, A, d, g, e), l = b.memoizedState);\n h !== d || t !== l || I.current || Pg ? (\"function\" === typeof m && (kf(b, c, m, d), l = b.memoizedState), (h = Pg || uf(b, c, h, d, t, l, k)) ? (p || \"function\" !== typeof g.UNSAFE_componentWillMount && \"function\" !== typeof g.componentWillMount || (\"function\" === typeof g.componentWillMount && g.componentWillMount(), \"function\" === typeof g.UNSAFE_componentWillMount && g.UNSAFE_componentWillMount()), \"function\" === typeof g.componentDidMount && (b.effectTag |= 4)) : (\"function\" === typeof g.componentDidMount && (b.effectTag |= 4), b.memoizedProps = d, b.memoizedState = l), g.props = d, g.state = l, g.context = k, d = h) : (\"function\" === typeof g.componentDidMount && (b.effectTag |= 4), d = !1);\n } else g = b.stateNode, h = b.memoizedProps, g.props = b.type === b.elementType ? h : L(b.type, h), l = g.context, k = c.contextType, \"object\" === typeof k && null !== k ? k = M(k) : (k = J(c) ? Ie : H.current, k = Je(b, k)), m = c.getDerivedStateFromProps, (p = \"function\" === typeof m || \"function\" === typeof g.getSnapshotBeforeUpdate) || \"function\" !== typeof g.UNSAFE_componentWillReceiveProps && \"function\" !== typeof g.componentWillReceiveProps || (h !== d || l !== k) && wf(b, g, d, k), Pg = !1, l = b.memoizedState, t = g.state = l, A = b.updateQueue, null !== A && (yf(b, A, d, g, e), t = b.memoizedState), h !== d || l !== t || I.current || Pg ? (\"function\" === typeof m && (kf(b, c, m, d), t = b.memoizedState), (m = Pg || uf(b, c, h, d, l, t, k)) ? (p || \"function\" !== typeof g.UNSAFE_componentWillUpdate && \"function\" !== typeof g.componentWillUpdate || (\"function\" === typeof g.componentWillUpdate && g.componentWillUpdate(d, t, k), \"function\" === typeof g.UNSAFE_componentWillUpdate && g.UNSAFE_componentWillUpdate(d, t, k)), \"function\" === typeof g.componentDidUpdate && (b.effectTag |= 4), \"function\" === typeof g.getSnapshotBeforeUpdate && (b.effectTag |= 256)) : (\"function\" !== typeof g.componentDidUpdate || h === a.memoizedProps && l === a.memoizedState || (b.effectTag |= 4), \"function\" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && l === a.memoizedState || (b.effectTag |= 256), b.memoizedProps = d, b.memoizedState = t), g.props = d, g.state = t, g.context = k, d = m) : (\"function\" !== typeof g.componentDidUpdate || h === a.memoizedProps && l === a.memoizedState || (b.effectTag |= 4), \"function\" !== typeof g.getSnapshotBeforeUpdate || h === a.memoizedProps && l === a.memoizedState || (b.effectTag |= 256), d = !1);\n return Qg(a, b, c, d, f, e);\n}\n\nfunction Qg(a, b, c, d, e, f) {\n Ng(a, b);\n var g = 0 !== (b.effectTag & 64);\n if (!d && !g) return e && Pe(b, c, !1), Jg(a, b, f);\n d = b.stateNode;\n Gg.current = b;\n var h = g && \"function\" !== typeof c.getDerivedStateFromError ? null : d.render();\n b.effectTag |= 1;\n null !== a && g ? (b.child = Df(b, a.child, null, f), b.child = Df(b, null, h, f)) : S(a, b, h, f);\n b.memoizedState = d.state;\n e && Pe(b, c, !0);\n return b.child;\n}\n\nfunction Rg(a) {\n var b = a.stateNode;\n b.pendingContext ? Me(a, b.pendingContext, b.pendingContext !== b.context) : b.context && Me(a, b.context, !1);\n Jf(a, b.containerInfo);\n}\n\nfunction Sg(a, b, c) {\n var d = b.mode,\n e = b.pendingProps,\n f = b.memoizedState;\n\n if (0 === (b.effectTag & 64)) {\n f = null;\n var g = !1;\n } else f = {\n timedOutAt: null !== f ? f.timedOutAt : 0\n }, g = !0, b.effectTag &= -65;\n\n if (null === a) {\n if (g) {\n var h = e.fallback;\n a = Ze(null, d, 0, null);\n 0 === (b.mode & 1) && (a.child = null !== b.memoizedState ? b.child.child : b.child);\n d = Ze(h, d, c, null);\n a.sibling = d;\n c = a;\n c.return = d.return = b;\n } else c = d = Ef(b, null, e.children, c);\n } else null !== a.memoizedState ? (d = a.child, h = d.sibling, g ? (c = e.fallback, e = Xe(d, d.pendingProps, 0), 0 === (b.mode & 1) && (g = null !== b.memoizedState ? b.child.child : b.child, g !== d.child && (e.child = g)), d = e.sibling = Xe(h, c, h.expirationTime), c = e, e.childExpirationTime = 0, c.return = d.return = b) : c = d = Df(b, d.child, e.children, c)) : (h = a.child, g ? (g = e.fallback, e = Ze(null, d, 0, null), e.child = h, 0 === (b.mode & 1) && (e.child = null !== b.memoizedState ? b.child.child : b.child), d = e.sibling = Ze(g, d, c, null), d.effectTag |= 2, c = e, e.childExpirationTime = 0, c.return = d.return = b) : d = c = Df(b, h, e.children, c)), b.stateNode = a.stateNode;\n b.memoizedState = f;\n b.child = c;\n return d;\n}\n\nfunction Jg(a, b, c) {\n null !== a && (b.contextDependencies = a.contextDependencies);\n if (b.childExpirationTime < c) return null;\n null !== a && b.child !== a.child ? x(\"153\") : void 0;\n\n if (null !== b.child) {\n a = b.child;\n c = Xe(a, a.pendingProps, a.expirationTime);\n b.child = c;\n\n for (c.return = b; null !== a.sibling;) {\n a = a.sibling, c = c.sibling = Xe(a, a.pendingProps, a.expirationTime), c.return = b;\n }\n\n c.sibling = null;\n }\n\n return b.child;\n}\n\nfunction Tg(a, b, c) {\n var d = b.expirationTime;\n if (null !== a) {\n if (a.memoizedProps !== b.pendingProps || I.current) qg = !0;else {\n if (d < c) {\n qg = !1;\n\n switch (b.tag) {\n case 3:\n Rg(b);\n Fg();\n break;\n\n case 5:\n Lf(b);\n break;\n\n case 1:\n J(b.type) && Oe(b);\n break;\n\n case 4:\n Jf(b, b.stateNode.containerInfo);\n break;\n\n case 10:\n Ug(b, b.memoizedProps.value);\n break;\n\n case 13:\n if (null !== b.memoizedState) {\n d = b.child.childExpirationTime;\n if (0 !== d && d >= c) return Sg(a, b, c);\n b = Jg(a, b, c);\n return null !== b ? b.sibling : null;\n }\n\n }\n\n return Jg(a, b, c);\n }\n }\n } else qg = !1;\n b.expirationTime = 0;\n\n switch (b.tag) {\n case 2:\n d = b.elementType;\n null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2);\n a = b.pendingProps;\n var e = Je(b, H.current);\n Ig(b, c);\n e = hg(null, b, d, a, e, c);\n b.effectTag |= 1;\n\n if (\"object\" === typeof e && null !== e && \"function\" === typeof e.render && void 0 === e.$$typeof) {\n b.tag = 1;\n lg();\n\n if (J(d)) {\n var f = !0;\n Oe(b);\n } else f = !1;\n\n b.memoizedState = null !== e.state && void 0 !== e.state ? e.state : null;\n var g = d.getDerivedStateFromProps;\n \"function\" === typeof g && kf(b, d, g, a);\n e.updater = tf;\n b.stateNode = e;\n e._reactInternalFiber = b;\n xf(b, d, a, c);\n b = Qg(null, b, d, !0, f, c);\n } else b.tag = 0, S(null, b, e, c), b = b.child;\n\n return b;\n\n case 16:\n e = b.elementType;\n null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2);\n f = b.pendingProps;\n a = hf(e);\n b.type = a;\n e = b.tag = We(a);\n f = L(a, f);\n g = void 0;\n\n switch (e) {\n case 0:\n g = Mg(null, b, a, f, c);\n break;\n\n case 1:\n g = Og(null, b, a, f, c);\n break;\n\n case 11:\n g = Hg(null, b, a, f, c);\n break;\n\n case 14:\n g = Kg(null, b, a, L(a.type, f), d, c);\n break;\n\n default:\n x(\"306\", a, \"\");\n }\n\n return g;\n\n case 0:\n return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : L(d, e), Mg(a, b, d, e, c);\n\n case 1:\n return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : L(d, e), Og(a, b, d, e, c);\n\n case 3:\n Rg(b);\n d = b.updateQueue;\n null === d ? x(\"282\") : void 0;\n e = b.memoizedState;\n e = null !== e ? e.element : null;\n yf(b, d, b.pendingProps, null, c);\n d = b.memoizedState.element;\n if (d === e) Fg(), b = Jg(a, b, c);else {\n e = b.stateNode;\n if (e = (null === a || null === a.child) && e.hydrate) yg = Ee(b.stateNode.containerInfo), xg = b, e = zg = !0;\n e ? (b.effectTag |= 2, b.child = Ef(b, null, d, c)) : (S(a, b, d, c), Fg());\n b = b.child;\n }\n return b;\n\n case 5:\n return Lf(b), null === a && Cg(b), d = b.type, e = b.pendingProps, f = null !== a ? a.memoizedProps : null, g = e.children, xe(d, e) ? g = null : null !== f && xe(d, f) && (b.effectTag |= 16), Ng(a, b), 1 !== c && b.mode & 1 && e.hidden ? (b.expirationTime = b.childExpirationTime = 1, b = null) : (S(a, b, g, c), b = b.child), b;\n\n case 6:\n return null === a && Cg(b), null;\n\n case 13:\n return Sg(a, b, c);\n\n case 4:\n return Jf(b, b.stateNode.containerInfo), d = b.pendingProps, null === a ? b.child = Df(b, null, d, c) : S(a, b, d, c), b.child;\n\n case 11:\n return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : L(d, e), Hg(a, b, d, e, c);\n\n case 7:\n return S(a, b, b.pendingProps, c), b.child;\n\n case 8:\n return S(a, b, b.pendingProps.children, c), b.child;\n\n case 12:\n return S(a, b, b.pendingProps.children, c), b.child;\n\n case 10:\n a: {\n d = b.type._context;\n e = b.pendingProps;\n g = b.memoizedProps;\n f = e.value;\n Ug(b, f);\n\n if (null !== g) {\n var h = g.value;\n f = bd(h, f) ? 0 : (\"function\" === typeof d._calculateChangedBits ? d._calculateChangedBits(h, f) : 1073741823) | 0;\n\n if (0 === f) {\n if (g.children === e.children && !I.current) {\n b = Jg(a, b, c);\n break a;\n }\n } else for (h = b.child, null !== h && (h.return = b); null !== h;) {\n var l = h.contextDependencies;\n\n if (null !== l) {\n g = h.child;\n\n for (var k = l.first; null !== k;) {\n if (k.context === d && 0 !== (k.observedBits & f)) {\n 1 === h.tag && (k = nf(c), k.tag = sf, pf(h, k));\n h.expirationTime < c && (h.expirationTime = c);\n k = h.alternate;\n null !== k && k.expirationTime < c && (k.expirationTime = c);\n k = c;\n\n for (var m = h.return; null !== m;) {\n var p = m.alternate;\n if (m.childExpirationTime < k) m.childExpirationTime = k, null !== p && p.childExpirationTime < k && (p.childExpirationTime = k);else if (null !== p && p.childExpirationTime < k) p.childExpirationTime = k;else break;\n m = m.return;\n }\n\n l.expirationTime < c && (l.expirationTime = c);\n break;\n }\n\n k = k.next;\n }\n } else g = 10 === h.tag ? h.type === b.type ? null : h.child : h.child;\n\n if (null !== g) g.return = h;else for (g = h; null !== g;) {\n if (g === b) {\n g = null;\n break;\n }\n\n h = g.sibling;\n\n if (null !== h) {\n h.return = g.return;\n g = h;\n break;\n }\n\n g = g.return;\n }\n h = g;\n }\n }\n\n S(a, b, e.children, c);\n b = b.child;\n }\n\n return b;\n\n case 9:\n return e = b.type, f = b.pendingProps, d = f.children, Ig(b, c), e = M(e, f.unstable_observedBits), d = d(e), b.effectTag |= 1, S(a, b, d, c), b.child;\n\n case 14:\n return e = b.type, f = L(e, b.pendingProps), f = L(e.type, f), Kg(a, b, e, f, d, c);\n\n case 15:\n return Lg(a, b, b.type, b.pendingProps, d, c);\n\n case 17:\n return d = b.type, e = b.pendingProps, e = b.elementType === d ? e : L(d, e), null !== a && (a.alternate = null, b.alternate = null, b.effectTag |= 2), b.tag = 1, J(d) ? (a = !0, Oe(b)) : a = !1, Ig(b, c), vf(b, d, e, c), xf(b, d, e, c), Qg(null, b, d, !0, a, c);\n }\n\n x(\"156\");\n}\n\nvar Vg = {\n current: null\n},\n Wg = null,\n Xg = null,\n Yg = null;\n\nfunction Ug(a, b) {\n var c = a.type._context;\n G(Vg, c._currentValue, a);\n c._currentValue = b;\n}\n\nfunction Zg(a) {\n var b = Vg.current;\n F(Vg, a);\n a.type._context._currentValue = b;\n}\n\nfunction Ig(a, b) {\n Wg = a;\n Yg = Xg = null;\n var c = a.contextDependencies;\n null !== c && c.expirationTime >= b && (qg = !0);\n a.contextDependencies = null;\n}\n\nfunction M(a, b) {\n if (Yg !== a && !1 !== b && 0 !== b) {\n if (\"number\" !== typeof b || 1073741823 === b) Yg = a, b = 1073741823;\n b = {\n context: a,\n observedBits: b,\n next: null\n };\n null === Xg ? (null === Wg ? x(\"308\") : void 0, Xg = b, Wg.contextDependencies = {\n first: b,\n expirationTime: 0\n }) : Xg = Xg.next = b;\n }\n\n return a._currentValue;\n}\n\nvar $g = 0,\n rf = 1,\n sf = 2,\n ah = 3,\n Pg = !1;\n\nfunction bh(a) {\n return {\n baseState: a,\n firstUpdate: null,\n lastUpdate: null,\n firstCapturedUpdate: null,\n lastCapturedUpdate: null,\n firstEffect: null,\n lastEffect: null,\n firstCapturedEffect: null,\n lastCapturedEffect: null\n };\n}\n\nfunction ch(a) {\n return {\n baseState: a.baseState,\n firstUpdate: a.firstUpdate,\n lastUpdate: a.lastUpdate,\n firstCapturedUpdate: null,\n lastCapturedUpdate: null,\n firstEffect: null,\n lastEffect: null,\n firstCapturedEffect: null,\n lastCapturedEffect: null\n };\n}\n\nfunction nf(a) {\n return {\n expirationTime: a,\n tag: $g,\n payload: null,\n callback: null,\n next: null,\n nextEffect: null\n };\n}\n\nfunction dh(a, b) {\n null === a.lastUpdate ? a.firstUpdate = a.lastUpdate = b : (a.lastUpdate.next = b, a.lastUpdate = b);\n}\n\nfunction pf(a, b) {\n var c = a.alternate;\n\n if (null === c) {\n var d = a.updateQueue;\n var e = null;\n null === d && (d = a.updateQueue = bh(a.memoizedState));\n } else d = a.updateQueue, e = c.updateQueue, null === d ? null === e ? (d = a.updateQueue = bh(a.memoizedState), e = c.updateQueue = bh(c.memoizedState)) : d = a.updateQueue = ch(e) : null === e && (e = c.updateQueue = ch(d));\n\n null === e || d === e ? dh(d, b) : null === d.lastUpdate || null === e.lastUpdate ? (dh(d, b), dh(e, b)) : (dh(d, b), e.lastUpdate = b);\n}\n\nfunction eh(a, b) {\n var c = a.updateQueue;\n c = null === c ? a.updateQueue = bh(a.memoizedState) : fh(a, c);\n null === c.lastCapturedUpdate ? c.firstCapturedUpdate = c.lastCapturedUpdate = b : (c.lastCapturedUpdate.next = b, c.lastCapturedUpdate = b);\n}\n\nfunction fh(a, b) {\n var c = a.alternate;\n null !== c && b === c.updateQueue && (b = a.updateQueue = ch(b));\n return b;\n}\n\nfunction gh(a, b, c, d, e, f) {\n switch (c.tag) {\n case rf:\n return a = c.payload, \"function\" === typeof a ? a.call(f, d, e) : a;\n\n case ah:\n a.effectTag = a.effectTag & -2049 | 64;\n\n case $g:\n a = c.payload;\n e = \"function\" === typeof a ? a.call(f, d, e) : a;\n if (null === e || void 0 === e) break;\n return n({}, d, e);\n\n case sf:\n Pg = !0;\n }\n\n return d;\n}\n\nfunction yf(a, b, c, d, e) {\n Pg = !1;\n b = fh(a, b);\n\n for (var f = b.baseState, g = null, h = 0, l = b.firstUpdate, k = f; null !== l;) {\n var m = l.expirationTime;\n m < e ? (null === g && (g = l, f = k), h < m && (h = m)) : (k = gh(a, b, l, k, c, d), null !== l.callback && (a.effectTag |= 32, l.nextEffect = null, null === b.lastEffect ? b.firstEffect = b.lastEffect = l : (b.lastEffect.nextEffect = l, b.lastEffect = l)));\n l = l.next;\n }\n\n m = null;\n\n for (l = b.firstCapturedUpdate; null !== l;) {\n var p = l.expirationTime;\n p < e ? (null === m && (m = l, null === g && (f = k)), h < p && (h = p)) : (k = gh(a, b, l, k, c, d), null !== l.callback && (a.effectTag |= 32, l.nextEffect = null, null === b.lastCapturedEffect ? b.firstCapturedEffect = b.lastCapturedEffect = l : (b.lastCapturedEffect.nextEffect = l, b.lastCapturedEffect = l)));\n l = l.next;\n }\n\n null === g && (b.lastUpdate = null);\n null === m ? b.lastCapturedUpdate = null : a.effectTag |= 32;\n null === g && null === m && (f = k);\n b.baseState = f;\n b.firstUpdate = g;\n b.firstCapturedUpdate = m;\n a.expirationTime = h;\n a.memoizedState = k;\n}\n\nfunction hh(a, b, c) {\n null !== b.firstCapturedUpdate && (null !== b.lastUpdate && (b.lastUpdate.next = b.firstCapturedUpdate, b.lastUpdate = b.lastCapturedUpdate), b.firstCapturedUpdate = b.lastCapturedUpdate = null);\n ih(b.firstEffect, c);\n b.firstEffect = b.lastEffect = null;\n ih(b.firstCapturedEffect, c);\n b.firstCapturedEffect = b.lastCapturedEffect = null;\n}\n\nfunction ih(a, b) {\n for (; null !== a;) {\n var c = a.callback;\n\n if (null !== c) {\n a.callback = null;\n var d = b;\n \"function\" !== typeof c ? x(\"191\", c) : void 0;\n c.call(d);\n }\n\n a = a.nextEffect;\n }\n}\n\nfunction jh(a, b) {\n return {\n value: a,\n source: b,\n stack: jc(b)\n };\n}\n\nfunction kh(a) {\n a.effectTag |= 4;\n}\n\nvar lh = void 0,\n mh = void 0,\n nh = void 0,\n oh = void 0;\n\nlh = function lh(a, b) {\n for (var c = b.child; null !== c;) {\n if (5 === c.tag || 6 === c.tag) a.appendChild(c.stateNode);else if (4 !== c.tag && null !== c.child) {\n c.child.return = c;\n c = c.child;\n continue;\n }\n if (c === b) break;\n\n for (; null === c.sibling;) {\n if (null === c.return || c.return === b) return;\n c = c.return;\n }\n\n c.sibling.return = c.return;\n c = c.sibling;\n }\n};\n\nmh = function mh() {};\n\nnh = function nh(a, b, c, d, e) {\n var f = a.memoizedProps;\n\n if (f !== d) {\n var g = b.stateNode;\n If(N.current);\n a = null;\n\n switch (c) {\n case \"input\":\n f = vc(g, f);\n d = vc(g, d);\n a = [];\n break;\n\n case \"option\":\n f = $d(g, f);\n d = $d(g, d);\n a = [];\n break;\n\n case \"select\":\n f = n({}, f, {\n value: void 0\n });\n d = n({}, d, {\n value: void 0\n });\n a = [];\n break;\n\n case \"textarea\":\n f = be(g, f);\n d = be(g, d);\n a = [];\n break;\n\n default:\n \"function\" !== typeof f.onClick && \"function\" === typeof d.onClick && (g.onclick = te);\n }\n\n qe(c, d);\n g = c = void 0;\n var h = null;\n\n for (c in f) {\n if (!d.hasOwnProperty(c) && f.hasOwnProperty(c) && null != f[c]) if (\"style\" === c) {\n var l = f[c];\n\n for (g in l) {\n l.hasOwnProperty(g) && (h || (h = {}), h[g] = \"\");\n }\n } else \"dangerouslySetInnerHTML\" !== c && \"children\" !== c && \"suppressContentEditableWarning\" !== c && \"suppressHydrationWarning\" !== c && \"autoFocus\" !== c && (ra.hasOwnProperty(c) ? a || (a = []) : (a = a || []).push(c, null));\n }\n\n for (c in d) {\n var k = d[c];\n l = null != f ? f[c] : void 0;\n if (d.hasOwnProperty(c) && k !== l && (null != k || null != l)) if (\"style\" === c) {\n if (l) {\n for (g in l) {\n !l.hasOwnProperty(g) || k && k.hasOwnProperty(g) || (h || (h = {}), h[g] = \"\");\n }\n\n for (g in k) {\n k.hasOwnProperty(g) && l[g] !== k[g] && (h || (h = {}), h[g] = k[g]);\n }\n } else h || (a || (a = []), a.push(c, h)), h = k;\n } else \"dangerouslySetInnerHTML\" === c ? (k = k ? k.__html : void 0, l = l ? l.__html : void 0, null != k && l !== k && (a = a || []).push(c, \"\" + k)) : \"children\" === c ? l === k || \"string\" !== typeof k && \"number\" !== typeof k || (a = a || []).push(c, \"\" + k) : \"suppressContentEditableWarning\" !== c && \"suppressHydrationWarning\" !== c && (ra.hasOwnProperty(c) ? (null != k && se(e, c), a || l === k || (a = [])) : (a = a || []).push(c, k));\n }\n\n h && (a = a || []).push(\"style\", h);\n e = a;\n (b.updateQueue = e) && kh(b);\n }\n};\n\noh = function oh(a, b, c, d) {\n c !== d && kh(b);\n};\n\nvar ph = \"function\" === typeof WeakSet ? WeakSet : Set;\n\nfunction qh(a, b) {\n var c = b.source,\n d = b.stack;\n null === d && null !== c && (d = jc(c));\n null !== c && ic(c.type);\n b = b.value;\n null !== a && 1 === a.tag && ic(a.type);\n\n try {\n console.error(b);\n } catch (e) {\n setTimeout(function () {\n throw e;\n });\n }\n}\n\nfunction rh(a) {\n var b = a.ref;\n if (null !== b) if (\"function\" === typeof b) try {\n b(null);\n } catch (c) {\n sh(a, c);\n } else b.current = null;\n}\n\nfunction th(a, b, c) {\n c = c.updateQueue;\n c = null !== c ? c.lastEffect : null;\n\n if (null !== c) {\n var d = c = c.next;\n\n do {\n if ((d.tag & a) !== Nf) {\n var e = d.destroy;\n d.destroy = void 0;\n void 0 !== e && e();\n }\n\n (d.tag & b) !== Nf && (e = d.create, d.destroy = e());\n d = d.next;\n } while (d !== c);\n }\n}\n\nfunction uh(a, b) {\n for (var c = a;;) {\n if (5 === c.tag) {\n var d = c.stateNode;\n if (b) d.style.display = \"none\";else {\n d = c.stateNode;\n var e = c.memoizedProps.style;\n e = void 0 !== e && null !== e && e.hasOwnProperty(\"display\") ? e.display : null;\n d.style.display = ne(\"display\", e);\n }\n } else if (6 === c.tag) c.stateNode.nodeValue = b ? \"\" : c.memoizedProps;else if (13 === c.tag && null !== c.memoizedState) {\n d = c.child.sibling;\n d.return = c;\n c = d;\n continue;\n } else if (null !== c.child) {\n c.child.return = c;\n c = c.child;\n continue;\n }\n\n if (c === a) break;\n\n for (; null === c.sibling;) {\n if (null === c.return || c.return === a) return;\n c = c.return;\n }\n\n c.sibling.return = c.return;\n c = c.sibling;\n }\n}\n\nfunction vh(a) {\n \"function\" === typeof Re && Re(a);\n\n switch (a.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n var b = a.updateQueue;\n\n if (null !== b && (b = b.lastEffect, null !== b)) {\n var c = b = b.next;\n\n do {\n var d = c.destroy;\n\n if (void 0 !== d) {\n var e = a;\n\n try {\n d();\n } catch (f) {\n sh(e, f);\n }\n }\n\n c = c.next;\n } while (c !== b);\n }\n\n break;\n\n case 1:\n rh(a);\n b = a.stateNode;\n if (\"function\" === typeof b.componentWillUnmount) try {\n b.props = a.memoizedProps, b.state = a.memoizedState, b.componentWillUnmount();\n } catch (f) {\n sh(a, f);\n }\n break;\n\n case 5:\n rh(a);\n break;\n\n case 4:\n wh(a);\n }\n}\n\nfunction xh(a) {\n return 5 === a.tag || 3 === a.tag || 4 === a.tag;\n}\n\nfunction yh(a) {\n a: {\n for (var b = a.return; null !== b;) {\n if (xh(b)) {\n var c = b;\n break a;\n }\n\n b = b.return;\n }\n\n x(\"160\");\n c = void 0;\n }\n\n var d = b = void 0;\n\n switch (c.tag) {\n case 5:\n b = c.stateNode;\n d = !1;\n break;\n\n case 3:\n b = c.stateNode.containerInfo;\n d = !0;\n break;\n\n case 4:\n b = c.stateNode.containerInfo;\n d = !0;\n break;\n\n default:\n x(\"161\");\n }\n\n c.effectTag & 16 && (ke(b, \"\"), c.effectTag &= -17);\n\n a: b: for (c = a;;) {\n for (; null === c.sibling;) {\n if (null === c.return || xh(c.return)) {\n c = null;\n break a;\n }\n\n c = c.return;\n }\n\n c.sibling.return = c.return;\n\n for (c = c.sibling; 5 !== c.tag && 6 !== c.tag && 18 !== c.tag;) {\n if (c.effectTag & 2) continue b;\n if (null === c.child || 4 === c.tag) continue b;else c.child.return = c, c = c.child;\n }\n\n if (!(c.effectTag & 2)) {\n c = c.stateNode;\n break a;\n }\n }\n\n for (var e = a;;) {\n if (5 === e.tag || 6 === e.tag) {\n if (c) {\n if (d) {\n var f = b,\n g = e.stateNode,\n h = c;\n 8 === f.nodeType ? f.parentNode.insertBefore(g, h) : f.insertBefore(g, h);\n } else b.insertBefore(e.stateNode, c);\n } else d ? (g = b, h = e.stateNode, 8 === g.nodeType ? (f = g.parentNode, f.insertBefore(h, g)) : (f = g, f.appendChild(h)), g = g._reactRootContainer, null !== g && void 0 !== g || null !== f.onclick || (f.onclick = te)) : b.appendChild(e.stateNode);\n } else if (4 !== e.tag && null !== e.child) {\n e.child.return = e;\n e = e.child;\n continue;\n }\n if (e === a) break;\n\n for (; null === e.sibling;) {\n if (null === e.return || e.return === a) return;\n e = e.return;\n }\n\n e.sibling.return = e.return;\n e = e.sibling;\n }\n}\n\nfunction wh(a) {\n for (var b = a, c = !1, d = void 0, e = void 0;;) {\n if (!c) {\n c = b.return;\n\n a: for (;;) {\n null === c ? x(\"160\") : void 0;\n\n switch (c.tag) {\n case 5:\n d = c.stateNode;\n e = !1;\n break a;\n\n case 3:\n d = c.stateNode.containerInfo;\n e = !0;\n break a;\n\n case 4:\n d = c.stateNode.containerInfo;\n e = !0;\n break a;\n }\n\n c = c.return;\n }\n\n c = !0;\n }\n\n if (5 === b.tag || 6 === b.tag) {\n a: for (var f = b, g = f;;) {\n if (vh(g), null !== g.child && 4 !== g.tag) g.child.return = g, g = g.child;else {\n if (g === f) break;\n\n for (; null === g.sibling;) {\n if (null === g.return || g.return === f) break a;\n g = g.return;\n }\n\n g.sibling.return = g.return;\n g = g.sibling;\n }\n }\n\n e ? (f = d, g = b.stateNode, 8 === f.nodeType ? f.parentNode.removeChild(g) : f.removeChild(g)) : d.removeChild(b.stateNode);\n } else if (4 === b.tag) {\n if (null !== b.child) {\n d = b.stateNode.containerInfo;\n e = !0;\n b.child.return = b;\n b = b.child;\n continue;\n }\n } else if (vh(b), null !== b.child) {\n b.child.return = b;\n b = b.child;\n continue;\n }\n\n if (b === a) break;\n\n for (; null === b.sibling;) {\n if (null === b.return || b.return === a) return;\n b = b.return;\n 4 === b.tag && (c = !1);\n }\n\n b.sibling.return = b.return;\n b = b.sibling;\n }\n}\n\nfunction zh(a, b) {\n switch (b.tag) {\n case 0:\n case 11:\n case 14:\n case 15:\n th(Pf, Qf, b);\n break;\n\n case 1:\n break;\n\n case 5:\n var c = b.stateNode;\n\n if (null != c) {\n var d = b.memoizedProps;\n a = null !== a ? a.memoizedProps : d;\n var e = b.type,\n f = b.updateQueue;\n b.updateQueue = null;\n null !== f && Ce(c, f, e, a, d, b);\n }\n\n break;\n\n case 6:\n null === b.stateNode ? x(\"162\") : void 0;\n b.stateNode.nodeValue = b.memoizedProps;\n break;\n\n case 3:\n break;\n\n case 12:\n break;\n\n case 13:\n c = b.memoizedState;\n d = void 0;\n a = b;\n null === c ? d = !1 : (d = !0, a = b.child, 0 === c.timedOutAt && (c.timedOutAt = lf()));\n null !== a && uh(a, d);\n c = b.updateQueue;\n\n if (null !== c) {\n b.updateQueue = null;\n var g = b.stateNode;\n null === g && (g = b.stateNode = new ph());\n c.forEach(function (a) {\n var c = Ah.bind(null, b, a);\n g.has(a) || (g.add(a), a.then(c, c));\n });\n }\n\n break;\n\n case 17:\n break;\n\n default:\n x(\"163\");\n }\n}\n\nvar Bh = \"function\" === typeof WeakMap ? WeakMap : Map;\n\nfunction Ch(a, b, c) {\n c = nf(c);\n c.tag = ah;\n c.payload = {\n element: null\n };\n var d = b.value;\n\n c.callback = function () {\n Dh(d);\n qh(a, b);\n };\n\n return c;\n}\n\nfunction Eh(a, b, c) {\n c = nf(c);\n c.tag = ah;\n var d = a.type.getDerivedStateFromError;\n\n if (\"function\" === typeof d) {\n var e = b.value;\n\n c.payload = function () {\n return d(e);\n };\n }\n\n var f = a.stateNode;\n null !== f && \"function\" === typeof f.componentDidCatch && (c.callback = function () {\n \"function\" !== typeof d && (null === Fh ? Fh = new Set([this]) : Fh.add(this));\n var c = b.value,\n e = b.stack;\n qh(a, b);\n this.componentDidCatch(c, {\n componentStack: null !== e ? e : \"\"\n });\n });\n return c;\n}\n\nfunction Gh(a) {\n switch (a.tag) {\n case 1:\n J(a.type) && Ke(a);\n var b = a.effectTag;\n return b & 2048 ? (a.effectTag = b & -2049 | 64, a) : null;\n\n case 3:\n return Kf(a), Le(a), b = a.effectTag, 0 !== (b & 64) ? x(\"285\") : void 0, a.effectTag = b & -2049 | 64, a;\n\n case 5:\n return Mf(a), null;\n\n case 13:\n return b = a.effectTag, b & 2048 ? (a.effectTag = b & -2049 | 64, a) : null;\n\n case 18:\n return null;\n\n case 4:\n return Kf(a), null;\n\n case 10:\n return Zg(a), null;\n\n default:\n return null;\n }\n}\n\nvar Hh = Tb.ReactCurrentDispatcher,\n Ih = Tb.ReactCurrentOwner,\n Jh = 1073741822,\n Kh = !1,\n T = null,\n Lh = null,\n U = 0,\n Mh = -1,\n Nh = !1,\n V = null,\n Oh = !1,\n Ph = null,\n Qh = null,\n Rh = null,\n Fh = null;\n\nfunction Sh() {\n if (null !== T) for (var a = T.return; null !== a;) {\n var b = a;\n\n switch (b.tag) {\n case 1:\n var c = b.type.childContextTypes;\n null !== c && void 0 !== c && Ke(b);\n break;\n\n case 3:\n Kf(b);\n Le(b);\n break;\n\n case 5:\n Mf(b);\n break;\n\n case 4:\n Kf(b);\n break;\n\n case 10:\n Zg(b);\n }\n\n a = a.return;\n }\n Lh = null;\n U = 0;\n Mh = -1;\n Nh = !1;\n T = null;\n}\n\nfunction Th() {\n for (; null !== V;) {\n var a = V.effectTag;\n a & 16 && ke(V.stateNode, \"\");\n\n if (a & 128) {\n var b = V.alternate;\n null !== b && (b = b.ref, null !== b && (\"function\" === typeof b ? b(null) : b.current = null));\n }\n\n switch (a & 14) {\n case 2:\n yh(V);\n V.effectTag &= -3;\n break;\n\n case 6:\n yh(V);\n V.effectTag &= -3;\n zh(V.alternate, V);\n break;\n\n case 4:\n zh(V.alternate, V);\n break;\n\n case 8:\n a = V, wh(a), a.return = null, a.child = null, a.memoizedState = null, a.updateQueue = null, a = a.alternate, null !== a && (a.return = null, a.child = null, a.memoizedState = null, a.updateQueue = null);\n }\n\n V = V.nextEffect;\n }\n}\n\nfunction Uh() {\n for (; null !== V;) {\n if (V.effectTag & 256) a: {\n var a = V.alternate,\n b = V;\n\n switch (b.tag) {\n case 0:\n case 11:\n case 15:\n th(Of, Nf, b);\n break a;\n\n case 1:\n if (b.effectTag & 256 && null !== a) {\n var c = a.memoizedProps,\n d = a.memoizedState;\n a = b.stateNode;\n b = a.getSnapshotBeforeUpdate(b.elementType === b.type ? c : L(b.type, c), d);\n a.__reactInternalSnapshotBeforeUpdate = b;\n }\n\n break a;\n\n case 3:\n case 5:\n case 6:\n case 4:\n case 17:\n break a;\n\n default:\n x(\"163\");\n }\n }\n V = V.nextEffect;\n }\n}\n\nfunction Vh(a, b) {\n for (; null !== V;) {\n var c = V.effectTag;\n\n if (c & 36) {\n var d = V.alternate,\n e = V,\n f = b;\n\n switch (e.tag) {\n case 0:\n case 11:\n case 15:\n th(Rf, Sf, e);\n break;\n\n case 1:\n var g = e.stateNode;\n if (e.effectTag & 4) if (null === d) g.componentDidMount();else {\n var h = e.elementType === e.type ? d.memoizedProps : L(e.type, d.memoizedProps);\n g.componentDidUpdate(h, d.memoizedState, g.__reactInternalSnapshotBeforeUpdate);\n }\n d = e.updateQueue;\n null !== d && hh(e, d, g, f);\n break;\n\n case 3:\n d = e.updateQueue;\n\n if (null !== d) {\n g = null;\n if (null !== e.child) switch (e.child.tag) {\n case 5:\n g = e.child.stateNode;\n break;\n\n case 1:\n g = e.child.stateNode;\n }\n hh(e, d, g, f);\n }\n\n break;\n\n case 5:\n f = e.stateNode;\n null === d && e.effectTag & 4 && we(e.type, e.memoizedProps) && f.focus();\n break;\n\n case 6:\n break;\n\n case 4:\n break;\n\n case 12:\n break;\n\n case 13:\n break;\n\n case 17:\n break;\n\n default:\n x(\"163\");\n }\n }\n\n c & 128 && (e = V.ref, null !== e && (f = V.stateNode, \"function\" === typeof e ? e(f) : e.current = f));\n c & 512 && (Ph = a);\n V = V.nextEffect;\n }\n}\n\nfunction Wh(a, b) {\n Rh = Qh = Ph = null;\n var c = W;\n W = !0;\n\n do {\n if (b.effectTag & 512) {\n var d = !1,\n e = void 0;\n\n try {\n var f = b;\n th(Uf, Nf, f);\n th(Nf, Tf, f);\n } catch (g) {\n d = !0, e = g;\n }\n\n d && sh(b, e);\n }\n\n b = b.nextEffect;\n } while (null !== b);\n\n W = c;\n c = a.expirationTime;\n 0 !== c && Xh(a, c);\n X || W || Yh(1073741823, !1);\n}\n\nfunction of() {\n null !== Qh && Be(Qh);\n null !== Rh && Rh();\n}\n\nfunction Zh(a, b) {\n Oh = Kh = !0;\n a.current === b ? x(\"177\") : void 0;\n var c = a.pendingCommitExpirationTime;\n 0 === c ? x(\"261\") : void 0;\n a.pendingCommitExpirationTime = 0;\n var d = b.expirationTime,\n e = b.childExpirationTime;\n ef(a, e > d ? e : d);\n Ih.current = null;\n d = void 0;\n 1 < b.effectTag ? null !== b.lastEffect ? (b.lastEffect.nextEffect = b, d = b.firstEffect) : d = b : d = b.firstEffect;\n ue = Bd;\n ve = Pd();\n Bd = !1;\n\n for (V = d; null !== V;) {\n e = !1;\n var f = void 0;\n\n try {\n Uh();\n } catch (h) {\n e = !0, f = h;\n }\n\n e && (null === V ? x(\"178\") : void 0, sh(V, f), null !== V && (V = V.nextEffect));\n }\n\n for (V = d; null !== V;) {\n e = !1;\n f = void 0;\n\n try {\n Th();\n } catch (h) {\n e = !0, f = h;\n }\n\n e && (null === V ? x(\"178\") : void 0, sh(V, f), null !== V && (V = V.nextEffect));\n }\n\n Qd(ve);\n ve = null;\n Bd = !!ue;\n ue = null;\n a.current = b;\n\n for (V = d; null !== V;) {\n e = !1;\n f = void 0;\n\n try {\n Vh(a, c);\n } catch (h) {\n e = !0, f = h;\n }\n\n e && (null === V ? x(\"178\") : void 0, sh(V, f), null !== V && (V = V.nextEffect));\n }\n\n if (null !== d && null !== Ph) {\n var g = Wh.bind(null, a, d);\n Qh = r.unstable_runWithPriority(r.unstable_NormalPriority, function () {\n return Ae(g);\n });\n Rh = g;\n }\n\n Kh = Oh = !1;\n \"function\" === typeof Qe && Qe(b.stateNode);\n c = b.expirationTime;\n b = b.childExpirationTime;\n b = b > c ? b : c;\n 0 === b && (Fh = null);\n $h(a, b);\n}\n\nfunction ai(a) {\n for (;;) {\n var b = a.alternate,\n c = a.return,\n d = a.sibling;\n\n if (0 === (a.effectTag & 1024)) {\n T = a;\n\n a: {\n var e = b;\n b = a;\n var f = U;\n var g = b.pendingProps;\n\n switch (b.tag) {\n case 2:\n break;\n\n case 16:\n break;\n\n case 15:\n case 0:\n break;\n\n case 1:\n J(b.type) && Ke(b);\n break;\n\n case 3:\n Kf(b);\n Le(b);\n g = b.stateNode;\n g.pendingContext && (g.context = g.pendingContext, g.pendingContext = null);\n if (null === e || null === e.child) Eg(b), b.effectTag &= -3;\n mh(b);\n break;\n\n case 5:\n Mf(b);\n var h = If(Hf.current);\n f = b.type;\n if (null !== e && null != b.stateNode) nh(e, b, f, g, h), e.ref !== b.ref && (b.effectTag |= 128);else if (g) {\n var l = If(N.current);\n\n if (Eg(b)) {\n g = b;\n e = g.stateNode;\n var k = g.type,\n m = g.memoizedProps,\n p = h;\n e[Fa] = g;\n e[Ga] = m;\n f = void 0;\n h = k;\n\n switch (h) {\n case \"iframe\":\n case \"object\":\n E(\"load\", e);\n break;\n\n case \"video\":\n case \"audio\":\n for (k = 0; k < ab.length; k++) {\n E(ab[k], e);\n }\n\n break;\n\n case \"source\":\n E(\"error\", e);\n break;\n\n case \"img\":\n case \"image\":\n case \"link\":\n E(\"error\", e);\n E(\"load\", e);\n break;\n\n case \"form\":\n E(\"reset\", e);\n E(\"submit\", e);\n break;\n\n case \"details\":\n E(\"toggle\", e);\n break;\n\n case \"input\":\n wc(e, m);\n E(\"invalid\", e);\n se(p, \"onChange\");\n break;\n\n case \"select\":\n e._wrapperState = {\n wasMultiple: !!m.multiple\n };\n E(\"invalid\", e);\n se(p, \"onChange\");\n break;\n\n case \"textarea\":\n ce(e, m), E(\"invalid\", e), se(p, \"onChange\");\n }\n\n qe(h, m);\n k = null;\n\n for (f in m) {\n m.hasOwnProperty(f) && (l = m[f], \"children\" === f ? \"string\" === typeof l ? e.textContent !== l && (k = [\"children\", l]) : \"number\" === typeof l && e.textContent !== \"\" + l && (k = [\"children\", \"\" + l]) : ra.hasOwnProperty(f) && null != l && se(p, f));\n }\n\n switch (h) {\n case \"input\":\n Rb(e);\n Ac(e, m, !0);\n break;\n\n case \"textarea\":\n Rb(e);\n ee(e, m);\n break;\n\n case \"select\":\n case \"option\":\n break;\n\n default:\n \"function\" === typeof m.onClick && (e.onclick = te);\n }\n\n f = k;\n g.updateQueue = f;\n g = null !== f ? !0 : !1;\n g && kh(b);\n } else {\n m = b;\n p = f;\n e = g;\n k = 9 === h.nodeType ? h : h.ownerDocument;\n l === fe.html && (l = ge(p));\n l === fe.html ? \"script\" === p ? (e = k.createElement(\"div\"), e.innerHTML = \"<script>\\x3c/script>\", k = e.removeChild(e.firstChild)) : \"string\" === typeof e.is ? k = k.createElement(p, {\n is: e.is\n }) : (k = k.createElement(p), \"select\" === p && (p = k, e.multiple ? p.multiple = !0 : e.size && (p.size = e.size))) : k = k.createElementNS(l, p);\n e = k;\n e[Fa] = m;\n e[Ga] = g;\n lh(e, b, !1, !1);\n p = e;\n k = f;\n m = g;\n var t = h,\n A = re(k, m);\n\n switch (k) {\n case \"iframe\":\n case \"object\":\n E(\"load\", p);\n h = m;\n break;\n\n case \"video\":\n case \"audio\":\n for (h = 0; h < ab.length; h++) {\n E(ab[h], p);\n }\n\n h = m;\n break;\n\n case \"source\":\n E(\"error\", p);\n h = m;\n break;\n\n case \"img\":\n case \"image\":\n case \"link\":\n E(\"error\", p);\n E(\"load\", p);\n h = m;\n break;\n\n case \"form\":\n E(\"reset\", p);\n E(\"submit\", p);\n h = m;\n break;\n\n case \"details\":\n E(\"toggle\", p);\n h = m;\n break;\n\n case \"input\":\n wc(p, m);\n h = vc(p, m);\n E(\"invalid\", p);\n se(t, \"onChange\");\n break;\n\n case \"option\":\n h = $d(p, m);\n break;\n\n case \"select\":\n p._wrapperState = {\n wasMultiple: !!m.multiple\n };\n h = n({}, m, {\n value: void 0\n });\n E(\"invalid\", p);\n se(t, \"onChange\");\n break;\n\n case \"textarea\":\n ce(p, m);\n h = be(p, m);\n E(\"invalid\", p);\n se(t, \"onChange\");\n break;\n\n default:\n h = m;\n }\n\n qe(k, h);\n l = void 0;\n var v = k,\n R = p,\n u = h;\n\n for (l in u) {\n if (u.hasOwnProperty(l)) {\n var q = u[l];\n \"style\" === l ? oe(R, q) : \"dangerouslySetInnerHTML\" === l ? (q = q ? q.__html : void 0, null != q && je(R, q)) : \"children\" === l ? \"string\" === typeof q ? (\"textarea\" !== v || \"\" !== q) && ke(R, q) : \"number\" === typeof q && ke(R, \"\" + q) : \"suppressContentEditableWarning\" !== l && \"suppressHydrationWarning\" !== l && \"autoFocus\" !== l && (ra.hasOwnProperty(l) ? null != q && se(t, l) : null != q && tc(R, l, q, A));\n }\n }\n\n switch (k) {\n case \"input\":\n Rb(p);\n Ac(p, m, !1);\n break;\n\n case \"textarea\":\n Rb(p);\n ee(p, m);\n break;\n\n case \"option\":\n null != m.value && p.setAttribute(\"value\", \"\" + uc(m.value));\n break;\n\n case \"select\":\n h = p;\n h.multiple = !!m.multiple;\n p = m.value;\n null != p ? ae(h, !!m.multiple, p, !1) : null != m.defaultValue && ae(h, !!m.multiple, m.defaultValue, !0);\n break;\n\n default:\n \"function\" === typeof h.onClick && (p.onclick = te);\n }\n\n (g = we(f, g)) && kh(b);\n b.stateNode = e;\n }\n\n null !== b.ref && (b.effectTag |= 128);\n } else null === b.stateNode ? x(\"166\") : void 0;\n break;\n\n case 6:\n e && null != b.stateNode ? oh(e, b, e.memoizedProps, g) : (\"string\" !== typeof g && (null === b.stateNode ? x(\"166\") : void 0), e = If(Hf.current), If(N.current), Eg(b) ? (g = b, f = g.stateNode, e = g.memoizedProps, f[Fa] = g, (g = f.nodeValue !== e) && kh(b)) : (f = b, g = (9 === e.nodeType ? e : e.ownerDocument).createTextNode(g), g[Fa] = b, f.stateNode = g));\n break;\n\n case 11:\n break;\n\n case 13:\n g = b.memoizedState;\n\n if (0 !== (b.effectTag & 64)) {\n b.expirationTime = f;\n T = b;\n break a;\n }\n\n g = null !== g;\n f = null !== e && null !== e.memoizedState;\n null !== e && !g && f && (e = e.child.sibling, null !== e && (h = b.firstEffect, null !== h ? (b.firstEffect = e, e.nextEffect = h) : (b.firstEffect = b.lastEffect = e, e.nextEffect = null), e.effectTag = 8));\n if (g || f) b.effectTag |= 4;\n break;\n\n case 7:\n break;\n\n case 8:\n break;\n\n case 12:\n break;\n\n case 4:\n Kf(b);\n mh(b);\n break;\n\n case 10:\n Zg(b);\n break;\n\n case 9:\n break;\n\n case 14:\n break;\n\n case 17:\n J(b.type) && Ke(b);\n break;\n\n case 18:\n break;\n\n default:\n x(\"156\");\n }\n\n T = null;\n }\n\n b = a;\n\n if (1 === U || 1 !== b.childExpirationTime) {\n g = 0;\n\n for (f = b.child; null !== f;) {\n e = f.expirationTime, h = f.childExpirationTime, e > g && (g = e), h > g && (g = h), f = f.sibling;\n }\n\n b.childExpirationTime = g;\n }\n\n if (null !== T) return T;\n null !== c && 0 === (c.effectTag & 1024) && (null === c.firstEffect && (c.firstEffect = a.firstEffect), null !== a.lastEffect && (null !== c.lastEffect && (c.lastEffect.nextEffect = a.firstEffect), c.lastEffect = a.lastEffect), 1 < a.effectTag && (null !== c.lastEffect ? c.lastEffect.nextEffect = a : c.firstEffect = a, c.lastEffect = a));\n } else {\n a = Gh(a, U);\n if (null !== a) return a.effectTag &= 1023, a;\n null !== c && (c.firstEffect = c.lastEffect = null, c.effectTag |= 1024);\n }\n\n if (null !== d) return d;\n if (null !== c) a = c;else break;\n }\n\n return null;\n}\n\nfunction bi(a) {\n var b = Tg(a.alternate, a, U);\n a.memoizedProps = a.pendingProps;\n null === b && (b = ai(a));\n Ih.current = null;\n return b;\n}\n\nfunction ci(a, b) {\n Kh ? x(\"243\") : void 0;\n of();\n Kh = !0;\n var c = Hh.current;\n Hh.current = kg;\n var d = a.nextExpirationTimeToWorkOn;\n if (d !== U || a !== Lh || null === T) Sh(), Lh = a, U = d, T = Xe(Lh.current, null, U), a.pendingCommitExpirationTime = 0;\n var e = !1;\n\n do {\n try {\n if (b) for (; null !== T && !di();) {\n T = bi(T);\n } else for (; null !== T;) {\n T = bi(T);\n }\n } catch (u) {\n if (Yg = Xg = Wg = null, lg(), null === T) e = !0, Dh(u);else {\n null === T ? x(\"271\") : void 0;\n var f = T,\n g = f.return;\n if (null === g) e = !0, Dh(u);else {\n a: {\n var h = a,\n l = g,\n k = f,\n m = u;\n g = U;\n k.effectTag |= 1024;\n k.firstEffect = k.lastEffect = null;\n\n if (null !== m && \"object\" === typeof m && \"function\" === typeof m.then) {\n var p = m;\n m = l;\n var t = -1,\n A = -1;\n\n do {\n if (13 === m.tag) {\n var v = m.alternate;\n\n if (null !== v && (v = v.memoizedState, null !== v)) {\n A = 10 * (1073741822 - v.timedOutAt);\n break;\n }\n\n v = m.pendingProps.maxDuration;\n if (\"number\" === typeof v) if (0 >= v) t = 0;else if (-1 === t || v < t) t = v;\n }\n\n m = m.return;\n } while (null !== m);\n\n m = l;\n\n do {\n if (v = 13 === m.tag) v = void 0 === m.memoizedProps.fallback ? !1 : null === m.memoizedState;\n\n if (v) {\n l = m.updateQueue;\n null === l ? (l = new Set(), l.add(p), m.updateQueue = l) : l.add(p);\n\n if (0 === (m.mode & 1)) {\n m.effectTag |= 64;\n k.effectTag &= -1957;\n 1 === k.tag && (null === k.alternate ? k.tag = 17 : (g = nf(1073741823), g.tag = sf, pf(k, g)));\n k.expirationTime = 1073741823;\n break a;\n }\n\n k = h;\n l = g;\n var R = k.pingCache;\n null === R ? (R = k.pingCache = new Bh(), v = new Set(), R.set(p, v)) : (v = R.get(p), void 0 === v && (v = new Set(), R.set(p, v)));\n v.has(l) || (v.add(l), k = ei.bind(null, k, p, l), p.then(k, k));\n -1 === t ? h = 1073741823 : (-1 === A && (A = 10 * (1073741822 - gf(h, g)) - 5E3), h = A + t);\n 0 <= h && Mh < h && (Mh = h);\n m.effectTag |= 2048;\n m.expirationTime = g;\n break a;\n }\n\n m = m.return;\n } while (null !== m);\n\n m = Error((ic(k.type) || \"A React component\") + \" suspended while rendering, but no fallback UI was specified.\\n\\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.\" + jc(k));\n }\n\n Nh = !0;\n m = jh(m, k);\n h = l;\n\n do {\n switch (h.tag) {\n case 3:\n h.effectTag |= 2048;\n h.expirationTime = g;\n g = Ch(h, m, g);\n eh(h, g);\n break a;\n\n case 1:\n if (t = m, A = h.type, k = h.stateNode, 0 === (h.effectTag & 64) && (\"function\" === typeof A.getDerivedStateFromError || null !== k && \"function\" === typeof k.componentDidCatch && (null === Fh || !Fh.has(k)))) {\n h.effectTag |= 2048;\n h.expirationTime = g;\n g = Eh(h, t, g);\n eh(h, g);\n break a;\n }\n\n }\n\n h = h.return;\n } while (null !== h);\n }\n\n T = ai(f);\n continue;\n }\n }\n }\n\n break;\n } while (1);\n\n Kh = !1;\n Hh.current = c;\n Yg = Xg = Wg = null;\n lg();\n if (e) Lh = null, a.finishedWork = null;else if (null !== T) a.finishedWork = null;else {\n c = a.current.alternate;\n null === c ? x(\"281\") : void 0;\n Lh = null;\n\n if (Nh) {\n e = a.latestPendingTime;\n f = a.latestSuspendedTime;\n g = a.latestPingedTime;\n\n if (0 !== e && e < d || 0 !== f && f < d || 0 !== g && g < d) {\n ff(a, d);\n fi(a, c, d, a.expirationTime, -1);\n return;\n }\n\n if (!a.didError && b) {\n a.didError = !0;\n d = a.nextExpirationTimeToWorkOn = d;\n b = a.expirationTime = 1073741823;\n fi(a, c, d, b, -1);\n return;\n }\n }\n\n b && -1 !== Mh ? (ff(a, d), b = 10 * (1073741822 - gf(a, d)), b < Mh && (Mh = b), b = 10 * (1073741822 - lf()), b = Mh - b, fi(a, c, d, a.expirationTime, 0 > b ? 0 : b)) : (a.pendingCommitExpirationTime = d, a.finishedWork = c);\n }\n}\n\nfunction sh(a, b) {\n for (var c = a.return; null !== c;) {\n switch (c.tag) {\n case 1:\n var d = c.stateNode;\n\n if (\"function\" === typeof c.type.getDerivedStateFromError || \"function\" === typeof d.componentDidCatch && (null === Fh || !Fh.has(d))) {\n a = jh(b, a);\n a = Eh(c, a, 1073741823);\n pf(c, a);\n qf(c, 1073741823);\n return;\n }\n\n break;\n\n case 3:\n a = jh(b, a);\n a = Ch(c, a, 1073741823);\n pf(c, a);\n qf(c, 1073741823);\n return;\n }\n\n c = c.return;\n }\n\n 3 === a.tag && (c = jh(b, a), c = Ch(a, c, 1073741823), pf(a, c), qf(a, 1073741823));\n}\n\nfunction mf(a, b) {\n var c = r.unstable_getCurrentPriorityLevel(),\n d = void 0;\n if (0 === (b.mode & 1)) d = 1073741823;else if (Kh && !Oh) d = U;else {\n switch (c) {\n case r.unstable_ImmediatePriority:\n d = 1073741823;\n break;\n\n case r.unstable_UserBlockingPriority:\n d = 1073741822 - 10 * (((1073741822 - a + 15) / 10 | 0) + 1);\n break;\n\n case r.unstable_NormalPriority:\n d = 1073741822 - 25 * (((1073741822 - a + 500) / 25 | 0) + 1);\n break;\n\n case r.unstable_LowPriority:\n case r.unstable_IdlePriority:\n d = 1;\n break;\n\n default:\n x(\"313\");\n }\n\n null !== Lh && d === U && --d;\n }\n c === r.unstable_UserBlockingPriority && (0 === gi || d < gi) && (gi = d);\n return d;\n}\n\nfunction ei(a, b, c) {\n var d = a.pingCache;\n null !== d && d.delete(b);\n if (null !== Lh && U === c) Lh = null;else if (b = a.earliestSuspendedTime, d = a.latestSuspendedTime, 0 !== b && c <= b && c >= d) {\n a.didError = !1;\n b = a.latestPingedTime;\n if (0 === b || b > c) a.latestPingedTime = c;\n df(c, a);\n c = a.expirationTime;\n 0 !== c && Xh(a, c);\n }\n}\n\nfunction Ah(a, b) {\n var c = a.stateNode;\n null !== c && c.delete(b);\n b = lf();\n b = mf(b, a);\n a = hi(a, b);\n null !== a && (cf(a, b), b = a.expirationTime, 0 !== b && Xh(a, b));\n}\n\nfunction hi(a, b) {\n a.expirationTime < b && (a.expirationTime = b);\n var c = a.alternate;\n null !== c && c.expirationTime < b && (c.expirationTime = b);\n var d = a.return,\n e = null;\n if (null === d && 3 === a.tag) e = a.stateNode;else for (; null !== d;) {\n c = d.alternate;\n d.childExpirationTime < b && (d.childExpirationTime = b);\n null !== c && c.childExpirationTime < b && (c.childExpirationTime = b);\n\n if (null === d.return && 3 === d.tag) {\n e = d.stateNode;\n break;\n }\n\n d = d.return;\n }\n return e;\n}\n\nfunction qf(a, b) {\n a = hi(a, b);\n null !== a && (!Kh && 0 !== U && b > U && Sh(), cf(a, b), Kh && !Oh && Lh === a || Xh(a, a.expirationTime), ii > ji && (ii = 0, x(\"185\")));\n}\n\nfunction ki(a, b, c, d, e) {\n return r.unstable_runWithPriority(r.unstable_ImmediatePriority, function () {\n return a(b, c, d, e);\n });\n}\n\nvar li = null,\n Y = null,\n mi = 0,\n ni = void 0,\n W = !1,\n oi = null,\n Z = 0,\n gi = 0,\n pi = !1,\n qi = null,\n X = !1,\n ri = !1,\n si = null,\n ti = r.unstable_now(),\n ui = 1073741822 - (ti / 10 | 0),\n vi = ui,\n ji = 50,\n ii = 0,\n wi = null;\n\nfunction xi() {\n ui = 1073741822 - ((r.unstable_now() - ti) / 10 | 0);\n}\n\nfunction yi(a, b) {\n if (0 !== mi) {\n if (b < mi) return;\n null !== ni && r.unstable_cancelCallback(ni);\n }\n\n mi = b;\n a = r.unstable_now() - ti;\n ni = r.unstable_scheduleCallback(zi, {\n timeout: 10 * (1073741822 - b) - a\n });\n}\n\nfunction fi(a, b, c, d, e) {\n a.expirationTime = d;\n 0 !== e || di() ? 0 < e && (a.timeoutHandle = ye(Ai.bind(null, a, b, c), e)) : (a.pendingCommitExpirationTime = c, a.finishedWork = b);\n}\n\nfunction Ai(a, b, c) {\n a.pendingCommitExpirationTime = c;\n a.finishedWork = b;\n xi();\n vi = ui;\n Bi(a, c);\n}\n\nfunction $h(a, b) {\n a.expirationTime = b;\n a.finishedWork = null;\n}\n\nfunction lf() {\n if (W) return vi;\n Ci();\n if (0 === Z || 1 === Z) xi(), vi = ui;\n return vi;\n}\n\nfunction Xh(a, b) {\n null === a.nextScheduledRoot ? (a.expirationTime = b, null === Y ? (li = Y = a, a.nextScheduledRoot = a) : (Y = Y.nextScheduledRoot = a, Y.nextScheduledRoot = li)) : b > a.expirationTime && (a.expirationTime = b);\n W || (X ? ri && (oi = a, Z = 1073741823, Di(a, 1073741823, !1)) : 1073741823 === b ? Yh(1073741823, !1) : yi(a, b));\n}\n\nfunction Ci() {\n var a = 0,\n b = null;\n if (null !== Y) for (var c = Y, d = li; null !== d;) {\n var e = d.expirationTime;\n\n if (0 === e) {\n null === c || null === Y ? x(\"244\") : void 0;\n\n if (d === d.nextScheduledRoot) {\n li = Y = d.nextScheduledRoot = null;\n break;\n } else if (d === li) li = e = d.nextScheduledRoot, Y.nextScheduledRoot = e, d.nextScheduledRoot = null;else if (d === Y) {\n Y = c;\n Y.nextScheduledRoot = li;\n d.nextScheduledRoot = null;\n break;\n } else c.nextScheduledRoot = d.nextScheduledRoot, d.nextScheduledRoot = null;\n\n d = c.nextScheduledRoot;\n } else {\n e > a && (a = e, b = d);\n if (d === Y) break;\n if (1073741823 === a) break;\n c = d;\n d = d.nextScheduledRoot;\n }\n }\n oi = b;\n Z = a;\n}\n\nvar Ei = !1;\n\nfunction di() {\n return Ei ? !0 : r.unstable_shouldYield() ? Ei = !0 : !1;\n}\n\nfunction zi() {\n try {\n if (!di() && null !== li) {\n xi();\n var a = li;\n\n do {\n var b = a.expirationTime;\n 0 !== b && ui <= b && (a.nextExpirationTimeToWorkOn = ui);\n a = a.nextScheduledRoot;\n } while (a !== li);\n }\n\n Yh(0, !0);\n } finally {\n Ei = !1;\n }\n}\n\nfunction Yh(a, b) {\n Ci();\n if (b) for (xi(), vi = ui; null !== oi && 0 !== Z && a <= Z && !(Ei && ui > Z);) {\n Di(oi, Z, ui > Z), Ci(), xi(), vi = ui;\n } else for (; null !== oi && 0 !== Z && a <= Z;) {\n Di(oi, Z, !1), Ci();\n }\n b && (mi = 0, ni = null);\n 0 !== Z && yi(oi, Z);\n ii = 0;\n wi = null;\n if (null !== si) for (a = si, si = null, b = 0; b < a.length; b++) {\n var c = a[b];\n\n try {\n c._onComplete();\n } catch (d) {\n pi || (pi = !0, qi = d);\n }\n }\n if (pi) throw a = qi, qi = null, pi = !1, a;\n}\n\nfunction Bi(a, b) {\n W ? x(\"253\") : void 0;\n oi = a;\n Z = b;\n Di(a, b, !1);\n Yh(1073741823, !1);\n}\n\nfunction Di(a, b, c) {\n W ? x(\"245\") : void 0;\n W = !0;\n\n if (c) {\n var d = a.finishedWork;\n null !== d ? Fi(a, d, b) : (a.finishedWork = null, d = a.timeoutHandle, -1 !== d && (a.timeoutHandle = -1, ze(d)), ci(a, c), d = a.finishedWork, null !== d && (di() ? a.finishedWork = d : Fi(a, d, b)));\n } else d = a.finishedWork, null !== d ? Fi(a, d, b) : (a.finishedWork = null, d = a.timeoutHandle, -1 !== d && (a.timeoutHandle = -1, ze(d)), ci(a, c), d = a.finishedWork, null !== d && Fi(a, d, b));\n\n W = !1;\n}\n\nfunction Fi(a, b, c) {\n var d = a.firstBatch;\n\n if (null !== d && d._expirationTime >= c && (null === si ? si = [d] : si.push(d), d._defer)) {\n a.finishedWork = b;\n a.expirationTime = 0;\n return;\n }\n\n a.finishedWork = null;\n a === wi ? ii++ : (wi = a, ii = 0);\n r.unstable_runWithPriority(r.unstable_ImmediatePriority, function () {\n Zh(a, b);\n });\n}\n\nfunction Dh(a) {\n null === oi ? x(\"246\") : void 0;\n oi.expirationTime = 0;\n pi || (pi = !0, qi = a);\n}\n\nfunction Gi(a, b) {\n var c = X;\n X = !0;\n\n try {\n return a(b);\n } finally {\n (X = c) || W || Yh(1073741823, !1);\n }\n}\n\nfunction Hi(a, b) {\n if (X && !ri) {\n ri = !0;\n\n try {\n return a(b);\n } finally {\n ri = !1;\n }\n }\n\n return a(b);\n}\n\nfunction Ii(a, b, c) {\n X || W || 0 === gi || (Yh(gi, !1), gi = 0);\n var d = X;\n X = !0;\n\n try {\n return r.unstable_runWithPriority(r.unstable_UserBlockingPriority, function () {\n return a(b, c);\n });\n } finally {\n (X = d) || W || Yh(1073741823, !1);\n }\n}\n\nfunction Ji(a, b, c, d, e) {\n var f = b.current;\n\n a: if (c) {\n c = c._reactInternalFiber;\n\n b: {\n 2 === ed(c) && 1 === c.tag ? void 0 : x(\"170\");\n var g = c;\n\n do {\n switch (g.tag) {\n case 3:\n g = g.stateNode.context;\n break b;\n\n case 1:\n if (J(g.type)) {\n g = g.stateNode.__reactInternalMemoizedMergedChildContext;\n break b;\n }\n\n }\n\n g = g.return;\n } while (null !== g);\n\n x(\"171\");\n g = void 0;\n }\n\n if (1 === c.tag) {\n var h = c.type;\n\n if (J(h)) {\n c = Ne(c, h, g);\n break a;\n }\n }\n\n c = g;\n } else c = He;\n\n null === b.context ? b.context = c : b.pendingContext = c;\n b = e;\n e = nf(d);\n e.payload = {\n element: a\n };\n b = void 0 === b ? null : b;\n null !== b && (e.callback = b);\n of();\n pf(f, e);\n qf(f, d);\n return d;\n}\n\nfunction Ki(a, b, c, d) {\n var e = b.current,\n f = lf();\n e = mf(f, e);\n return Ji(a, b, c, e, d);\n}\n\nfunction Li(a) {\n a = a.current;\n if (!a.child) return null;\n\n switch (a.child.tag) {\n case 5:\n return a.child.stateNode;\n\n default:\n return a.child.stateNode;\n }\n}\n\nfunction Mi(a, b, c) {\n var d = 3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n return {\n $$typeof: Wb,\n key: null == d ? null : \"\" + d,\n children: a,\n containerInfo: b,\n implementation: c\n };\n}\n\nAb = function Ab(a, b, c) {\n switch (b) {\n case \"input\":\n yc(a, c);\n b = c.name;\n\n if (\"radio\" === c.type && null != b) {\n for (c = a; c.parentNode;) {\n c = c.parentNode;\n }\n\n c = c.querySelectorAll(\"input[name=\" + JSON.stringify(\"\" + b) + '][type=\"radio\"]');\n\n for (b = 0; b < c.length; b++) {\n var d = c[b];\n\n if (d !== a && d.form === a.form) {\n var e = Ka(d);\n e ? void 0 : x(\"90\");\n Sb(d);\n yc(d, e);\n }\n }\n }\n\n break;\n\n case \"textarea\":\n de(a, c);\n break;\n\n case \"select\":\n b = c.value, null != b && ae(a, !!c.multiple, b, !1);\n }\n};\n\nfunction Ni(a) {\n var b = 1073741822 - 25 * (((1073741822 - lf() + 500) / 25 | 0) + 1);\n b >= Jh && (b = Jh - 1);\n this._expirationTime = Jh = b;\n this._root = a;\n this._callbacks = this._next = null;\n this._hasChildren = this._didComplete = !1;\n this._children = null;\n this._defer = !0;\n}\n\nNi.prototype.render = function (a) {\n this._defer ? void 0 : x(\"250\");\n this._hasChildren = !0;\n this._children = a;\n var b = this._root._internalRoot,\n c = this._expirationTime,\n d = new Oi();\n Ji(a, b, null, c, d._onCommit);\n return d;\n};\n\nNi.prototype.then = function (a) {\n if (this._didComplete) a();else {\n var b = this._callbacks;\n null === b && (b = this._callbacks = []);\n b.push(a);\n }\n};\n\nNi.prototype.commit = function () {\n var a = this._root._internalRoot,\n b = a.firstBatch;\n this._defer && null !== b ? void 0 : x(\"251\");\n\n if (this._hasChildren) {\n var c = this._expirationTime;\n\n if (b !== this) {\n this._hasChildren && (c = this._expirationTime = b._expirationTime, this.render(this._children));\n\n for (var d = null, e = b; e !== this;) {\n d = e, e = e._next;\n }\n\n null === d ? x(\"251\") : void 0;\n d._next = e._next;\n this._next = b;\n a.firstBatch = this;\n }\n\n this._defer = !1;\n Bi(a, c);\n b = this._next;\n this._next = null;\n b = a.firstBatch = b;\n null !== b && b._hasChildren && b.render(b._children);\n } else this._next = null, this._defer = !1;\n};\n\nNi.prototype._onComplete = function () {\n if (!this._didComplete) {\n this._didComplete = !0;\n var a = this._callbacks;\n if (null !== a) for (var b = 0; b < a.length; b++) {\n (0, a[b])();\n }\n }\n};\n\nfunction Oi() {\n this._callbacks = null;\n this._didCommit = !1;\n this._onCommit = this._onCommit.bind(this);\n}\n\nOi.prototype.then = function (a) {\n if (this._didCommit) a();else {\n var b = this._callbacks;\n null === b && (b = this._callbacks = []);\n b.push(a);\n }\n};\n\nOi.prototype._onCommit = function () {\n if (!this._didCommit) {\n this._didCommit = !0;\n var a = this._callbacks;\n if (null !== a) for (var b = 0; b < a.length; b++) {\n var c = a[b];\n \"function\" !== typeof c ? x(\"191\", c) : void 0;\n c();\n }\n }\n};\n\nfunction Pi(a, b, c) {\n b = K(3, null, null, b ? 3 : 0);\n a = {\n current: b,\n containerInfo: a,\n pendingChildren: null,\n pingCache: null,\n earliestPendingTime: 0,\n latestPendingTime: 0,\n earliestSuspendedTime: 0,\n latestSuspendedTime: 0,\n latestPingedTime: 0,\n didError: !1,\n pendingCommitExpirationTime: 0,\n finishedWork: null,\n timeoutHandle: -1,\n context: null,\n pendingContext: null,\n hydrate: c,\n nextExpirationTimeToWorkOn: 0,\n expirationTime: 0,\n firstBatch: null,\n nextScheduledRoot: null\n };\n this._internalRoot = b.stateNode = a;\n}\n\nPi.prototype.render = function (a, b) {\n var c = this._internalRoot,\n d = new Oi();\n b = void 0 === b ? null : b;\n null !== b && d.then(b);\n Ki(a, c, null, d._onCommit);\n return d;\n};\n\nPi.prototype.unmount = function (a) {\n var b = this._internalRoot,\n c = new Oi();\n a = void 0 === a ? null : a;\n null !== a && c.then(a);\n Ki(null, b, null, c._onCommit);\n return c;\n};\n\nPi.prototype.legacy_renderSubtreeIntoContainer = function (a, b, c) {\n var d = this._internalRoot,\n e = new Oi();\n c = void 0 === c ? null : c;\n null !== c && e.then(c);\n Ki(b, d, a, e._onCommit);\n return e;\n};\n\nPi.prototype.createBatch = function () {\n var a = new Ni(this),\n b = a._expirationTime,\n c = this._internalRoot,\n d = c.firstBatch;\n if (null === d) c.firstBatch = a, a._next = null;else {\n for (c = null; null !== d && d._expirationTime >= b;) {\n c = d, d = d._next;\n }\n\n a._next = d;\n null !== c && (c._next = a);\n }\n return a;\n};\n\nfunction Qi(a) {\n return !(!a || 1 !== a.nodeType && 9 !== a.nodeType && 11 !== a.nodeType && (8 !== a.nodeType || \" react-mount-point-unstable \" !== a.nodeValue));\n}\n\nGb = Gi;\nHb = Ii;\n\nIb = function Ib() {\n W || 0 === gi || (Yh(gi, !1), gi = 0);\n};\n\nfunction Ri(a, b) {\n b || (b = a ? 9 === a.nodeType ? a.documentElement : a.firstChild : null, b = !(!b || 1 !== b.nodeType || !b.hasAttribute(\"data-reactroot\")));\n if (!b) for (var c; c = a.lastChild;) {\n a.removeChild(c);\n }\n return new Pi(a, !1, b);\n}\n\nfunction Si(a, b, c, d, e) {\n var f = c._reactRootContainer;\n\n if (f) {\n if (\"function\" === typeof e) {\n var g = e;\n\n e = function e() {\n var a = Li(f._internalRoot);\n g.call(a);\n };\n }\n\n null != a ? f.legacy_renderSubtreeIntoContainer(a, b, e) : f.render(b, e);\n } else {\n f = c._reactRootContainer = Ri(c, d);\n\n if (\"function\" === typeof e) {\n var h = e;\n\n e = function e() {\n var a = Li(f._internalRoot);\n h.call(a);\n };\n }\n\n Hi(function () {\n null != a ? f.legacy_renderSubtreeIntoContainer(a, b, e) : f.render(b, e);\n });\n }\n\n return Li(f._internalRoot);\n}\n\nfunction Ti(a, b) {\n var c = 2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;\n Qi(b) ? void 0 : x(\"200\");\n return Mi(a, b, null, c);\n}\n\nvar Vi = {\n createPortal: Ti,\n findDOMNode: function findDOMNode(a) {\n if (null == a) return null;\n if (1 === a.nodeType) return a;\n var b = a._reactInternalFiber;\n void 0 === b && (\"function\" === typeof a.render ? x(\"188\") : x(\"268\", Object.keys(a)));\n a = hd(b);\n a = null === a ? null : a.stateNode;\n return a;\n },\n hydrate: function hydrate(a, b, c) {\n Qi(b) ? void 0 : x(\"200\");\n return Si(null, a, b, !0, c);\n },\n render: function render(a, b, c) {\n Qi(b) ? void 0 : x(\"200\");\n return Si(null, a, b, !1, c);\n },\n unstable_renderSubtreeIntoContainer: function unstable_renderSubtreeIntoContainer(a, b, c, d) {\n Qi(c) ? void 0 : x(\"200\");\n null == a || void 0 === a._reactInternalFiber ? x(\"38\") : void 0;\n return Si(a, b, c, !1, d);\n },\n unmountComponentAtNode: function unmountComponentAtNode(a) {\n Qi(a) ? void 0 : x(\"40\");\n return a._reactRootContainer ? (Hi(function () {\n Si(null, null, a, !1, function () {\n a._reactRootContainer = null;\n });\n }), !0) : !1;\n },\n unstable_createPortal: function unstable_createPortal() {\n return Ti.apply(void 0, arguments);\n },\n unstable_batchedUpdates: Gi,\n unstable_interactiveUpdates: Ii,\n flushSync: function flushSync(a, b) {\n W ? x(\"187\") : void 0;\n var c = X;\n X = !0;\n\n try {\n return ki(a, b);\n } finally {\n X = c, Yh(1073741823, !1);\n }\n },\n unstable_createRoot: Ui,\n unstable_flushControlled: function unstable_flushControlled(a) {\n var b = X;\n X = !0;\n\n try {\n ki(a);\n } finally {\n (X = b) || W || Yh(1073741823, !1);\n }\n },\n __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: {\n Events: [Ia, Ja, Ka, Ba.injectEventPluginsByName, pa, Qa, function (a) {\n ya(a, Pa);\n }, Eb, Fb, Dd, Da]\n }\n};\n\nfunction Ui(a, b) {\n Qi(a) ? void 0 : x(\"299\", \"unstable_createRoot\");\n return new Pi(a, !0, null != b && !0 === b.hydrate);\n}\n\n(function (a) {\n var b = a.findFiberByHostInstance;\n return Te(n({}, a, {\n overrideProps: null,\n currentDispatcherRef: Tb.ReactCurrentDispatcher,\n findHostInstanceByFiber: function findHostInstanceByFiber(a) {\n a = hd(a);\n return null === a ? null : a.stateNode;\n },\n findFiberByHostInstance: function findFiberByHostInstance(a) {\n return b ? b(a) : null;\n }\n }));\n})({\n findFiberByHostInstance: Ha,\n bundleType: 0,\n version: \"16.8.6\",\n rendererPackageName: \"react-dom\"\n});\n\nvar Wi = {\n default: Vi\n},\n Xi = Wi && Vi || Wi;\nmodule.exports = Xi.default || Xi;","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/scheduler.production.min.js');\n} else {\n module.exports = require('./cjs/scheduler.development.js');\n}","/** @license React v0.13.6\n * scheduler.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: !0\n});\nvar d = null,\n e = !1,\n g = 3,\n k = -1,\n l = -1,\n m = !1,\n n = !1;\n\nfunction p() {\n if (!m) {\n var a = d.expirationTime;\n n ? q() : n = !0;\n\n _r(t, a);\n }\n}\n\nfunction u() {\n var a = d,\n b = d.next;\n if (d === b) d = null;else {\n var c = d.previous;\n d = c.next = b;\n b.previous = c;\n }\n a.next = a.previous = null;\n c = a.callback;\n b = a.expirationTime;\n a = a.priorityLevel;\n var f = g,\n Q = l;\n g = a;\n l = b;\n\n try {\n var h = c();\n } finally {\n g = f, l = Q;\n }\n\n if (\"function\" === typeof h) if (h = {\n callback: h,\n priorityLevel: a,\n expirationTime: b,\n next: null,\n previous: null\n }, null === d) d = h.next = h.previous = h;else {\n c = null;\n a = d;\n\n do {\n if (a.expirationTime >= b) {\n c = a;\n break;\n }\n\n a = a.next;\n } while (a !== d);\n\n null === c ? c = d : c === d && (d = h, p());\n b = c.previous;\n b.next = c.previous = h;\n h.next = c;\n h.previous = b;\n }\n}\n\nfunction v() {\n if (-1 === k && null !== d && 1 === d.priorityLevel) {\n m = !0;\n\n try {\n do {\n u();\n } while (null !== d && 1 === d.priorityLevel);\n } finally {\n m = !1, null !== d ? p() : n = !1;\n }\n }\n}\n\nfunction t(a) {\n m = !0;\n var b = e;\n e = a;\n\n try {\n if (a) for (; null !== d;) {\n var c = exports.unstable_now();\n\n if (d.expirationTime <= c) {\n do {\n u();\n } while (null !== d && d.expirationTime <= c);\n } else break;\n } else if (null !== d) {\n do {\n u();\n } while (null !== d && !w());\n }\n } finally {\n m = !1, e = b, null !== d ? p() : n = !1, v();\n }\n}\n\nvar x = Date,\n y = \"function\" === typeof setTimeout ? setTimeout : void 0,\n z = \"function\" === typeof clearTimeout ? clearTimeout : void 0,\n A = \"function\" === typeof requestAnimationFrame ? requestAnimationFrame : void 0,\n B = \"function\" === typeof cancelAnimationFrame ? cancelAnimationFrame : void 0,\n C,\n D;\n\nfunction E(a) {\n C = A(function (b) {\n z(D);\n a(b);\n });\n D = y(function () {\n B(C);\n a(exports.unstable_now());\n }, 100);\n}\n\nif (\"object\" === typeof performance && \"function\" === typeof performance.now) {\n var F = performance;\n\n exports.unstable_now = function () {\n return F.now();\n };\n} else exports.unstable_now = function () {\n return x.now();\n};\n\nvar _r,\n q,\n w,\n G = null;\n\n\"undefined\" !== typeof window ? G = window : \"undefined\" !== typeof global && (G = global);\n\nif (G && G._schedMock) {\n var H = G._schedMock;\n _r = H[0];\n q = H[1];\n w = H[2];\n exports.unstable_now = H[3];\n} else if (\"undefined\" === typeof window || \"function\" !== typeof MessageChannel) {\n var I = null,\n J = function J(a) {\n if (null !== I) try {\n I(a);\n } finally {\n I = null;\n }\n };\n\n _r = function r(a) {\n null !== I ? setTimeout(_r, 0, a) : (I = a, setTimeout(J, 0, !1));\n };\n\n q = function q() {\n I = null;\n };\n\n w = function w() {\n return !1;\n };\n} else {\n \"undefined\" !== typeof console && (\"function\" !== typeof A && console.error(\"This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"), \"function\" !== typeof B && console.error(\"This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills\"));\n var K = null,\n L = !1,\n M = -1,\n N = !1,\n O = !1,\n P = 0,\n R = 33,\n S = 33;\n\n w = function w() {\n return P <= exports.unstable_now();\n };\n\n var T = new MessageChannel(),\n U = T.port2;\n\n T.port1.onmessage = function () {\n L = !1;\n var a = K,\n b = M;\n K = null;\n M = -1;\n var c = exports.unstable_now(),\n f = !1;\n if (0 >= P - c) if (-1 !== b && b <= c) f = !0;else {\n N || (N = !0, E(V));\n K = a;\n M = b;\n return;\n }\n\n if (null !== a) {\n O = !0;\n\n try {\n a(f);\n } finally {\n O = !1;\n }\n }\n };\n\n var V = function V(a) {\n if (null !== K) {\n E(V);\n var b = a - P + S;\n b < S && R < S ? (8 > b && (b = 8), S = b < R ? R : b) : R = b;\n P = a + S;\n L || (L = !0, U.postMessage(void 0));\n } else N = !1;\n };\n\n _r = function _r(a, b) {\n K = a;\n M = b;\n O || 0 > b ? U.postMessage(void 0) : N || (N = !0, E(V));\n };\n\n q = function q() {\n K = null;\n L = !1;\n M = -1;\n };\n}\n\nexports.unstable_ImmediatePriority = 1;\nexports.unstable_UserBlockingPriority = 2;\nexports.unstable_NormalPriority = 3;\nexports.unstable_IdlePriority = 5;\nexports.unstable_LowPriority = 4;\n\nexports.unstable_runWithPriority = function (a, b) {\n switch (a) {\n case 1:\n case 2:\n case 3:\n case 4:\n case 5:\n break;\n\n default:\n a = 3;\n }\n\n var c = g,\n f = k;\n g = a;\n k = exports.unstable_now();\n\n try {\n return b();\n } finally {\n g = c, k = f, v();\n }\n};\n\nexports.unstable_next = function (a) {\n switch (g) {\n case 1:\n case 2:\n case 3:\n var b = 3;\n break;\n\n default:\n b = g;\n }\n\n var c = g,\n f = k;\n g = b;\n k = exports.unstable_now();\n\n try {\n return a();\n } finally {\n g = c, k = f, v();\n }\n};\n\nexports.unstable_scheduleCallback = function (a, b) {\n var c = -1 !== k ? k : exports.unstable_now();\n if (\"object\" === typeof b && null !== b && \"number\" === typeof b.timeout) b = c + b.timeout;else switch (g) {\n case 1:\n b = c + -1;\n break;\n\n case 2:\n b = c + 250;\n break;\n\n case 5:\n b = c + 1073741823;\n break;\n\n case 4:\n b = c + 1E4;\n break;\n\n default:\n b = c + 5E3;\n }\n a = {\n callback: a,\n priorityLevel: g,\n expirationTime: b,\n next: null,\n previous: null\n };\n if (null === d) d = a.next = a.previous = a, p();else {\n c = null;\n var f = d;\n\n do {\n if (f.expirationTime > b) {\n c = f;\n break;\n }\n\n f = f.next;\n } while (f !== d);\n\n null === c ? c = d : c === d && (d = a, p());\n b = c.previous;\n b.next = c.previous = a;\n a.next = c;\n a.previous = b;\n }\n return a;\n};\n\nexports.unstable_cancelCallback = function (a) {\n var b = a.next;\n\n if (null !== b) {\n if (b === a) d = null;else {\n a === d && (d = b);\n var c = a.previous;\n c.next = b;\n b.previous = c;\n }\n a.next = a.previous = null;\n }\n};\n\nexports.unstable_wrapCallback = function (a) {\n var b = g;\n return function () {\n var c = g,\n f = k;\n g = b;\n k = exports.unstable_now();\n\n try {\n return a.apply(this, arguments);\n } finally {\n g = c, k = f, v();\n }\n };\n};\n\nexports.unstable_getCurrentPriorityLevel = function () {\n return g;\n};\n\nexports.unstable_shouldYield = function () {\n return !e && (null !== d && d.expirationTime < l || w());\n};\n\nexports.unstable_continueExecution = function () {\n null !== d && p();\n};\n\nexports.unstable_pauseExecution = function () {};\n\nexports.unstable_getFirstCallbackNode = function () {\n return d;\n};","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nvar ReactPropTypesSecret = require('./lib/ReactPropTypesSecret');\n\nfunction emptyFunction() {}\n\nfunction emptyFunctionWithReset() {}\n\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\n\nmodule.exports = function () {\n function shim(props, propName, componentName, location, propFullName, secret) {\n if (secret === ReactPropTypesSecret) {\n // It is still safe when called from React.\n return;\n }\n\n var err = new Error('Calling PropTypes validators directly is not supported by the `prop-types` package. ' + 'Use PropTypes.checkPropTypes() to call them. ' + 'Read more at http://fb.me/use-check-prop-types');\n err.name = 'Invariant Violation';\n throw err;\n }\n\n ;\n shim.isRequired = shim;\n\n function getShim() {\n return shim;\n }\n\n ; // Important!\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\n\n var ReactPropTypes = {\n array: shim,\n bool: shim,\n func: shim,\n number: shim,\n object: shim,\n string: shim,\n symbol: shim,\n any: shim,\n arrayOf: getShim,\n element: shim,\n elementType: shim,\n instanceOf: getShim,\n node: shim,\n objectOf: getShim,\n oneOf: getShim,\n oneOfType: getShim,\n shape: getShim,\n exact: getShim,\n checkPropTypes: emptyFunctionWithReset,\n resetWarningCache: emptyFunction\n };\n ReactPropTypes.PropTypes = ReactPropTypes;\n return ReactPropTypes;\n};","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\nmodule.exports = ReactPropTypesSecret;","/** @license React v16.9.0\n * react-is.production.min.js\n *\n * Copyright (c) Facebook, Inc. and its affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n\nObject.defineProperty(exports, \"__esModule\", {\n value: !0\n});\nvar b = \"function\" === typeof Symbol && Symbol.for,\n c = b ? Symbol.for(\"react.element\") : 60103,\n d = b ? Symbol.for(\"react.portal\") : 60106,\n e = b ? Symbol.for(\"react.fragment\") : 60107,\n f = b ? Symbol.for(\"react.strict_mode\") : 60108,\n g = b ? Symbol.for(\"react.profiler\") : 60114,\n h = b ? Symbol.for(\"react.provider\") : 60109,\n k = b ? Symbol.for(\"react.context\") : 60110,\n l = b ? Symbol.for(\"react.async_mode\") : 60111,\n m = b ? Symbol.for(\"react.concurrent_mode\") : 60111,\n n = b ? Symbol.for(\"react.forward_ref\") : 60112,\n p = b ? Symbol.for(\"react.suspense\") : 60113,\n q = b ? Symbol.for(\"react.suspense_list\") : 60120,\n r = b ? Symbol.for(\"react.memo\") : 60115,\n t = b ? Symbol.for(\"react.lazy\") : 60116,\n v = b ? Symbol.for(\"react.fundamental\") : 60117,\n w = b ? Symbol.for(\"react.responder\") : 60118;\n\nfunction x(a) {\n if (\"object\" === typeof a && null !== a) {\n var u = a.$$typeof;\n\n switch (u) {\n case c:\n switch (a = a.type, a) {\n case l:\n case m:\n case e:\n case g:\n case f:\n case p:\n return a;\n\n default:\n switch (a = a && a.$$typeof, a) {\n case k:\n case n:\n case h:\n return a;\n\n default:\n return u;\n }\n\n }\n\n case t:\n case r:\n case d:\n return u;\n }\n }\n}\n\nfunction y(a) {\n return x(a) === m;\n}\n\nexports.typeOf = x;\nexports.AsyncMode = l;\nexports.ConcurrentMode = m;\nexports.ContextConsumer = k;\nexports.ContextProvider = h;\nexports.Element = c;\nexports.ForwardRef = n;\nexports.Fragment = e;\nexports.Lazy = t;\nexports.Memo = r;\nexports.Portal = d;\nexports.Profiler = g;\nexports.StrictMode = f;\nexports.Suspense = p;\n\nexports.isValidElementType = function (a) {\n return \"string\" === typeof a || \"function\" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || \"object\" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === v || a.$$typeof === w);\n};\n\nexports.isAsyncMode = function (a) {\n return y(a) || x(a) === l;\n};\n\nexports.isConcurrentMode = y;\n\nexports.isContextConsumer = function (a) {\n return x(a) === k;\n};\n\nexports.isContextProvider = function (a) {\n return x(a) === h;\n};\n\nexports.isElement = function (a) {\n return \"object\" === typeof a && null !== a && a.$$typeof === c;\n};\n\nexports.isForwardRef = function (a) {\n return x(a) === n;\n};\n\nexports.isFragment = function (a) {\n return x(a) === e;\n};\n\nexports.isLazy = function (a) {\n return x(a) === t;\n};\n\nexports.isMemo = function (a) {\n return x(a) === r;\n};\n\nexports.isPortal = function (a) {\n return x(a) === d;\n};\n\nexports.isProfiler = function (a) {\n return x(a) === g;\n};\n\nexports.isStrictMode = function (a) {\n return x(a) === f;\n};\n\nexports.isSuspense = function (a) {\n return x(a) === p;\n};","/* jslint esnext: true */\n\"use strict\";\n\nvar src$core$$ = require(\"./core\"),\n src$en$$ = require(\"./en\");\n\nsrc$core$$[\"default\"].__addLocaleData(src$en$$[\"default\"]);\n\nsrc$core$$[\"default\"].defaultLocale = 'en';\nexports[\"default\"] = src$core$$[\"default\"];","/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\n\n/* jslint esnext: true */\n\"use strict\";\n\nvar src$utils$$ = require(\"./utils\"),\n src$es5$$ = require(\"./es5\"),\n src$compiler$$ = require(\"./compiler\"),\n intl$messageformat$parser$$ = require(\"intl-messageformat-parser\");\n\nexports[\"default\"] = MessageFormat; // -- MessageFormat --------------------------------------------------------\n\nfunction MessageFormat(message, locales, formats) {\n // Parse string messages into an AST.\n var ast = typeof message === 'string' ? MessageFormat.__parse(message) : message;\n\n if (!(ast && ast.type === 'messageFormatPattern')) {\n throw new TypeError('A message must be provided as a String or AST.');\n } // Creates a new object with the specified `formats` merged with the default\n // formats.\n\n\n formats = this._mergeFormats(MessageFormat.formats, formats); // Defined first because it's used to build the format pattern.\n\n src$es5$$.defineProperty(this, '_locale', {\n value: this._resolveLocale(locales)\n }); // Compile the `ast` to a pattern that is highly optimized for repeated\n // `format()` invocations. **Note:** This passes the `locales` set provided\n // to the constructor instead of just the resolved locale.\n\n var pluralFn = this._findPluralRuleFunction(this._locale);\n\n var pattern = this._compilePattern(ast, locales, formats, pluralFn); // \"Bind\" `format()` method to `this` so it can be passed by reference like\n // the other `Intl` APIs.\n\n\n var messageFormat = this;\n\n this.format = function (values) {\n try {\n return messageFormat._format(pattern, values);\n } catch (e) {\n if (e.variableId) {\n throw new Error('The intl string context variable \\'' + e.variableId + '\\'' + ' was not provided to the string \\'' + message + '\\'');\n } else {\n throw e;\n }\n }\n };\n} // Default format options used as the prototype of the `formats` provided to the\n// constructor. These are used when constructing the internal Intl.NumberFormat\n// and Intl.DateTimeFormat instances.\n\n\nsrc$es5$$.defineProperty(MessageFormat, 'formats', {\n enumerable: true,\n value: {\n number: {\n 'currency': {\n style: 'currency'\n },\n 'percent': {\n style: 'percent'\n }\n },\n date: {\n 'short': {\n month: 'numeric',\n day: 'numeric',\n year: '2-digit'\n },\n 'medium': {\n month: 'short',\n day: 'numeric',\n year: 'numeric'\n },\n 'long': {\n month: 'long',\n day: 'numeric',\n year: 'numeric'\n },\n 'full': {\n weekday: 'long',\n month: 'long',\n day: 'numeric',\n year: 'numeric'\n }\n },\n time: {\n 'short': {\n hour: 'numeric',\n minute: 'numeric'\n },\n 'medium': {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric'\n },\n 'long': {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric',\n timeZoneName: 'short'\n },\n 'full': {\n hour: 'numeric',\n minute: 'numeric',\n second: 'numeric',\n timeZoneName: 'short'\n }\n }\n }\n}); // Define internal private properties for dealing with locale data.\n\nsrc$es5$$.defineProperty(MessageFormat, '__localeData__', {\n value: src$es5$$.objCreate(null)\n});\nsrc$es5$$.defineProperty(MessageFormat, '__addLocaleData', {\n value: function value(data) {\n if (!(data && data.locale)) {\n throw new Error('Locale data provided to IntlMessageFormat is missing a ' + '`locale` property');\n }\n\n MessageFormat.__localeData__[data.locale.toLowerCase()] = data;\n }\n}); // Defines `__parse()` static method as an exposed private.\n\nsrc$es5$$.defineProperty(MessageFormat, '__parse', {\n value: intl$messageformat$parser$$[\"default\"].parse\n}); // Define public `defaultLocale` property which defaults to English, but can be\n// set by the developer.\n\nsrc$es5$$.defineProperty(MessageFormat, 'defaultLocale', {\n enumerable: true,\n writable: true,\n value: undefined\n});\n\nMessageFormat.prototype.resolvedOptions = function () {\n // TODO: Provide anything else?\n return {\n locale: this._locale\n };\n};\n\nMessageFormat.prototype._compilePattern = function (ast, locales, formats, pluralFn) {\n var compiler = new src$compiler$$[\"default\"](locales, formats, pluralFn);\n return compiler.compile(ast);\n};\n\nMessageFormat.prototype._findPluralRuleFunction = function (locale) {\n var localeData = MessageFormat.__localeData__;\n var data = localeData[locale.toLowerCase()]; // The locale data is de-duplicated, so we have to traverse the locale's\n // hierarchy until we find a `pluralRuleFunction` to return.\n\n while (data) {\n if (data.pluralRuleFunction) {\n return data.pluralRuleFunction;\n }\n\n data = data.parentLocale && localeData[data.parentLocale.toLowerCase()];\n }\n\n throw new Error('Locale data added to IntlMessageFormat is missing a ' + '`pluralRuleFunction` for :' + locale);\n};\n\nMessageFormat.prototype._format = function (pattern, values) {\n var result = '',\n i,\n len,\n part,\n id,\n value,\n err;\n\n for (i = 0, len = pattern.length; i < len; i += 1) {\n part = pattern[i]; // Exist early for string parts.\n\n if (typeof part === 'string') {\n result += part;\n continue;\n }\n\n id = part.id; // Enforce that all required values are provided by the caller.\n\n if (!(values && src$utils$$.hop.call(values, id))) {\n err = new Error('A value must be provided for: ' + id);\n err.variableId = id;\n throw err;\n }\n\n value = values[id]; // Recursively format plural and select parts' option — which can be a\n // nested pattern structure. The choosing of the option to use is\n // abstracted-by and delegated-to the part helper object.\n\n if (part.options) {\n result += this._format(part.getOption(value), values);\n } else {\n result += part.format(value);\n }\n }\n\n return result;\n};\n\nMessageFormat.prototype._mergeFormats = function (defaults, formats) {\n var mergedFormats = {},\n type,\n mergedType;\n\n for (type in defaults) {\n if (!src$utils$$.hop.call(defaults, type)) {\n continue;\n }\n\n mergedFormats[type] = mergedType = src$es5$$.objCreate(defaults[type]);\n\n if (formats && src$utils$$.hop.call(formats, type)) {\n src$utils$$.extend(mergedType, formats[type]);\n }\n }\n\n return mergedFormats;\n};\n\nMessageFormat.prototype._resolveLocale = function (locales) {\n if (typeof locales === 'string') {\n locales = [locales];\n } // Create a copy of the array so we can push on the default locale.\n\n\n locales = (locales || []).concat(MessageFormat.defaultLocale);\n var localeData = MessageFormat.__localeData__;\n var i, len, localeParts, data; // Using the set of locales + the default locale, we look for the first one\n // which that has been registered. When data does not exist for a locale, we\n // traverse its ancestors to find something that's been registered within\n // its hierarchy of locales. Since we lack the proper `parentLocale` data\n // here, we must take a naive approach to traversal.\n\n for (i = 0, len = locales.length; i < len; i += 1) {\n localeParts = locales[i].toLowerCase().split('-');\n\n while (localeParts.length) {\n data = localeData[localeParts.join('-')];\n\n if (data) {\n // Return the normalized locale string; e.g., we return \"en-US\",\n // instead of \"en-us\".\n return data.locale;\n }\n\n localeParts.pop();\n }\n }\n\n var defaultLocale = locales.pop();\n throw new Error('No locale data has been added to IntlMessageFormat for: ' + locales.join(', ') + ', or the default locale: ' + defaultLocale);\n};","import defineProperty from \"./defineProperty\";\nexport default function _objectSpread(target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i] != null ? arguments[i] : {};\n var ownKeys = Object.keys(source);\n\n if (typeof Object.getOwnPropertySymbols === 'function') {\n ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) {\n return Object.getOwnPropertyDescriptor(source, sym).enumerable;\n }));\n }\n\n ownKeys.forEach(function (key) {\n defineProperty(target, key, source[key]);\n });\n }\n\n return target;\n}","/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\n\n/* jslint esnext: true */\n\"use strict\";\n\nvar src$utils$$ = require(\"./utils\"); // Purposely using the same implementation as the Intl.js `Intl` polyfill.\n// Copyright 2013 Andy Earnshaw, MIT License\n\n\nvar realDefineProp = function () {\n try {\n return !!Object.defineProperty({}, 'a', {});\n } catch (e) {\n return false;\n }\n}();\n\nvar es3 = !realDefineProp && !Object.prototype.__defineGetter__;\nvar defineProperty = realDefineProp ? Object.defineProperty : function (obj, name, desc) {\n if ('get' in desc && obj.__defineGetter__) {\n obj.__defineGetter__(name, desc.get);\n } else if (!src$utils$$.hop.call(obj, name) || 'value' in desc) {\n obj[name] = desc.value;\n }\n};\n\nvar objCreate = Object.create || function (proto, props) {\n var obj, k;\n\n function F() {}\n\n F.prototype = proto;\n obj = new F();\n\n for (k in props) {\n if (src$utils$$.hop.call(props, k)) {\n defineProperty(obj, k, props[k]);\n }\n }\n\n return obj;\n};\n\nexports.defineProperty = defineProperty, exports.objCreate = objCreate;","/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\n\n/* jslint esnext: true */\n\"use strict\";\n\nexports[\"default\"] = Compiler;\n\nfunction Compiler(locales, formats, pluralFn) {\n this.locales = locales;\n this.formats = formats;\n this.pluralFn = pluralFn;\n}\n\nCompiler.prototype.compile = function (ast) {\n this.pluralStack = [];\n this.currentPlural = null;\n this.pluralNumberFormat = null;\n return this.compileMessage(ast);\n};\n\nCompiler.prototype.compileMessage = function (ast) {\n if (!(ast && ast.type === 'messageFormatPattern')) {\n throw new Error('Message AST is not of type: \"messageFormatPattern\"');\n }\n\n var elements = ast.elements,\n pattern = [];\n var i, len, element;\n\n for (i = 0, len = elements.length; i < len; i += 1) {\n element = elements[i];\n\n switch (element.type) {\n case 'messageTextElement':\n pattern.push(this.compileMessageText(element));\n break;\n\n case 'argumentElement':\n pattern.push(this.compileArgument(element));\n break;\n\n default:\n throw new Error('Message element does not have a valid type');\n }\n }\n\n return pattern;\n};\n\nCompiler.prototype.compileMessageText = function (element) {\n // When this `element` is part of plural sub-pattern and its value contains\n // an unescaped '#', use a `PluralOffsetString` helper to properly output\n // the number with the correct offset in the string.\n if (this.currentPlural && /(^|[^\\\\])#/g.test(element.value)) {\n // Create a cache a NumberFormat instance that can be reused for any\n // PluralOffsetString instance in this message.\n if (!this.pluralNumberFormat) {\n this.pluralNumberFormat = new Intl.NumberFormat(this.locales);\n }\n\n return new PluralOffsetString(this.currentPlural.id, this.currentPlural.format.offset, this.pluralNumberFormat, element.value);\n } // Unescape the escaped '#'s in the message text.\n\n\n return element.value.replace(/\\\\#/g, '#');\n};\n\nCompiler.prototype.compileArgument = function (element) {\n var format = element.format;\n\n if (!format) {\n return new StringFormat(element.id);\n }\n\n var formats = this.formats,\n locales = this.locales,\n pluralFn = this.pluralFn,\n options;\n\n switch (format.type) {\n case 'numberFormat':\n options = formats.number[format.style];\n return {\n id: element.id,\n format: new Intl.NumberFormat(locales, options).format\n };\n\n case 'dateFormat':\n options = formats.date[format.style];\n return {\n id: element.id,\n format: new Intl.DateTimeFormat(locales, options).format\n };\n\n case 'timeFormat':\n options = formats.time[format.style];\n return {\n id: element.id,\n format: new Intl.DateTimeFormat(locales, options).format\n };\n\n case 'pluralFormat':\n options = this.compileOptions(element);\n return new PluralFormat(element.id, format.ordinal, format.offset, options, pluralFn);\n\n case 'selectFormat':\n options = this.compileOptions(element);\n return new SelectFormat(element.id, options);\n\n default:\n throw new Error('Message element does not have a valid format type');\n }\n};\n\nCompiler.prototype.compileOptions = function (element) {\n var format = element.format,\n options = format.options,\n optionsHash = {}; // Save the current plural element, if any, then set it to a new value when\n // compiling the options sub-patterns. This conforms the spec's algorithm\n // for handling `\"#\"` syntax in message text.\n\n this.pluralStack.push(this.currentPlural);\n this.currentPlural = format.type === 'pluralFormat' ? element : null;\n var i, len, option;\n\n for (i = 0, len = options.length; i < len; i += 1) {\n option = options[i]; // Compile the sub-pattern and save it under the options's selector.\n\n optionsHash[option.selector] = this.compileMessage(option.value);\n } // Pop the plural stack to put back the original current plural value.\n\n\n this.currentPlural = this.pluralStack.pop();\n return optionsHash;\n}; // -- Compiler Helper Classes --------------------------------------------------\n\n\nfunction StringFormat(id) {\n this.id = id;\n}\n\nStringFormat.prototype.format = function (value) {\n if (!value && typeof value !== 'number') {\n return '';\n }\n\n return typeof value === 'string' ? value : String(value);\n};\n\nfunction PluralFormat(id, useOrdinal, offset, options, pluralFn) {\n this.id = id;\n this.useOrdinal = useOrdinal;\n this.offset = offset;\n this.options = options;\n this.pluralFn = pluralFn;\n}\n\nPluralFormat.prototype.getOption = function (value) {\n var options = this.options;\n var option = options['=' + value] || options[this.pluralFn(value - this.offset, this.useOrdinal)];\n return option || options.other;\n};\n\nfunction PluralOffsetString(id, offset, numberFormat, string) {\n this.id = id;\n this.offset = offset;\n this.numberFormat = numberFormat;\n this.string = string;\n}\n\nPluralOffsetString.prototype.format = function (value) {\n var number = this.numberFormat.format(value - this.offset);\n return this.string.replace(/(^|[^\\\\])#/g, '$1' + number).replace(/\\\\#/g, '#');\n};\n\nfunction SelectFormat(id, options) {\n this.id = id;\n this.options = options;\n}\n\nSelectFormat.prototype.getOption = function (value) {\n var options = this.options;\n return options[value] || options.other;\n};","'use strict';\n\nexports = module.exports = require('./lib/parser')['default'];\nexports['default'] = exports;","\"use strict\";\n\nexports[\"default\"] = function () {\n \"use strict\";\n /*\n * Generated by PEG.js 0.9.0.\n *\n * http://pegjs.org/\n */\n\n function peg$subclass(child, parent) {\n function ctor() {\n this.constructor = child;\n }\n\n ctor.prototype = parent.prototype;\n child.prototype = new ctor();\n }\n\n function peg$SyntaxError(message, expected, found, location) {\n this.message = message;\n this.expected = expected;\n this.found = found;\n this.location = location;\n this.name = \"SyntaxError\";\n\n if (typeof Error.captureStackTrace === \"function\") {\n Error.captureStackTrace(this, peg$SyntaxError);\n }\n }\n\n peg$subclass(peg$SyntaxError, Error);\n\n function peg$parse(input) {\n var options = arguments.length > 1 ? arguments[1] : {},\n parser = this,\n peg$FAILED = {},\n peg$startRuleFunctions = {\n start: peg$parsestart\n },\n peg$startRuleFunction = peg$parsestart,\n peg$c0 = function peg$c0(elements) {\n return {\n type: 'messageFormatPattern',\n elements: elements,\n location: location()\n };\n },\n peg$c1 = function peg$c1(text) {\n var string = '',\n i,\n j,\n outerLen,\n inner,\n innerLen;\n\n for (i = 0, outerLen = text.length; i < outerLen; i += 1) {\n inner = text[i];\n\n for (j = 0, innerLen = inner.length; j < innerLen; j += 1) {\n string += inner[j];\n }\n }\n\n return string;\n },\n peg$c2 = function peg$c2(messageText) {\n return {\n type: 'messageTextElement',\n value: messageText,\n location: location()\n };\n },\n peg$c3 = /^[^ \\t\\n\\r,.+={}#]/,\n peg$c4 = {\n type: \"class\",\n value: \"[^ \\\\t\\\\n\\\\r,.+={}#]\",\n description: \"[^ \\\\t\\\\n\\\\r,.+={}#]\"\n },\n peg$c5 = \"{\",\n peg$c6 = {\n type: \"literal\",\n value: \"{\",\n description: \"\\\"{\\\"\"\n },\n peg$c7 = \",\",\n peg$c8 = {\n type: \"literal\",\n value: \",\",\n description: \"\\\",\\\"\"\n },\n peg$c9 = \"}\",\n peg$c10 = {\n type: \"literal\",\n value: \"}\",\n description: \"\\\"}\\\"\"\n },\n peg$c11 = function peg$c11(id, format) {\n return {\n type: 'argumentElement',\n id: id,\n format: format && format[2],\n location: location()\n };\n },\n peg$c12 = \"number\",\n peg$c13 = {\n type: \"literal\",\n value: \"number\",\n description: \"\\\"number\\\"\"\n },\n peg$c14 = \"date\",\n peg$c15 = {\n type: \"literal\",\n value: \"date\",\n description: \"\\\"date\\\"\"\n },\n peg$c16 = \"time\",\n peg$c17 = {\n type: \"literal\",\n value: \"time\",\n description: \"\\\"time\\\"\"\n },\n peg$c18 = function peg$c18(type, style) {\n return {\n type: type + 'Format',\n style: style && style[2],\n location: location()\n };\n },\n peg$c19 = \"plural\",\n peg$c20 = {\n type: \"literal\",\n value: \"plural\",\n description: \"\\\"plural\\\"\"\n },\n peg$c21 = function peg$c21(pluralStyle) {\n return {\n type: pluralStyle.type,\n ordinal: false,\n offset: pluralStyle.offset || 0,\n options: pluralStyle.options,\n location: location()\n };\n },\n peg$c22 = \"selectordinal\",\n peg$c23 = {\n type: \"literal\",\n value: \"selectordinal\",\n description: \"\\\"selectordinal\\\"\"\n },\n peg$c24 = function peg$c24(pluralStyle) {\n return {\n type: pluralStyle.type,\n ordinal: true,\n offset: pluralStyle.offset || 0,\n options: pluralStyle.options,\n location: location()\n };\n },\n peg$c25 = \"select\",\n peg$c26 = {\n type: \"literal\",\n value: \"select\",\n description: \"\\\"select\\\"\"\n },\n peg$c27 = function peg$c27(options) {\n return {\n type: 'selectFormat',\n options: options,\n location: location()\n };\n },\n peg$c28 = \"=\",\n peg$c29 = {\n type: \"literal\",\n value: \"=\",\n description: \"\\\"=\\\"\"\n },\n peg$c30 = function peg$c30(selector, pattern) {\n return {\n type: 'optionalFormatPattern',\n selector: selector,\n value: pattern,\n location: location()\n };\n },\n peg$c31 = \"offset:\",\n peg$c32 = {\n type: \"literal\",\n value: \"offset:\",\n description: \"\\\"offset:\\\"\"\n },\n peg$c33 = function peg$c33(number) {\n return number;\n },\n peg$c34 = function peg$c34(offset, options) {\n return {\n type: 'pluralFormat',\n offset: offset,\n options: options,\n location: location()\n };\n },\n peg$c35 = {\n type: \"other\",\n description: \"whitespace\"\n },\n peg$c36 = /^[ \\t\\n\\r]/,\n peg$c37 = {\n type: \"class\",\n value: \"[ \\\\t\\\\n\\\\r]\",\n description: \"[ \\\\t\\\\n\\\\r]\"\n },\n peg$c38 = {\n type: \"other\",\n description: \"optionalWhitespace\"\n },\n peg$c39 = /^[0-9]/,\n peg$c40 = {\n type: \"class\",\n value: \"[0-9]\",\n description: \"[0-9]\"\n },\n peg$c41 = /^[0-9a-f]/i,\n peg$c42 = {\n type: \"class\",\n value: \"[0-9a-f]i\",\n description: \"[0-9a-f]i\"\n },\n peg$c43 = \"0\",\n peg$c44 = {\n type: \"literal\",\n value: \"0\",\n description: \"\\\"0\\\"\"\n },\n peg$c45 = /^[1-9]/,\n peg$c46 = {\n type: \"class\",\n value: \"[1-9]\",\n description: \"[1-9]\"\n },\n peg$c47 = function peg$c47(digits) {\n return parseInt(digits, 10);\n },\n peg$c48 = /^[^{}\\\\\\0-\\x1F \\t\\n\\r]/,\n peg$c49 = {\n type: \"class\",\n value: \"[^{}\\\\\\\\\\\\0-\\\\x1F\\\\x7f \\\\t\\\\n\\\\r]\",\n description: \"[^{}\\\\\\\\\\\\0-\\\\x1F\\\\x7f \\\\t\\\\n\\\\r]\"\n },\n peg$c50 = \"\\\\\\\\\",\n peg$c51 = {\n type: \"literal\",\n value: \"\\\\\\\\\",\n description: \"\\\"\\\\\\\\\\\\\\\\\\\"\"\n },\n peg$c52 = function peg$c52() {\n return '\\\\';\n },\n peg$c53 = \"\\\\#\",\n peg$c54 = {\n type: \"literal\",\n value: \"\\\\#\",\n description: \"\\\"\\\\\\\\#\\\"\"\n },\n peg$c55 = function peg$c55() {\n return '\\\\#';\n },\n peg$c56 = \"\\\\{\",\n peg$c57 = {\n type: \"literal\",\n value: \"\\\\{\",\n description: \"\\\"\\\\\\\\{\\\"\"\n },\n peg$c58 = function peg$c58() {\n return \"{\";\n },\n peg$c59 = \"\\\\}\",\n peg$c60 = {\n type: \"literal\",\n value: \"\\\\}\",\n description: \"\\\"\\\\\\\\}\\\"\"\n },\n peg$c61 = function peg$c61() {\n return \"}\";\n },\n peg$c62 = \"\\\\u\",\n peg$c63 = {\n type: \"literal\",\n value: \"\\\\u\",\n description: \"\\\"\\\\\\\\u\\\"\"\n },\n peg$c64 = function peg$c64(digits) {\n return String.fromCharCode(parseInt(digits, 16));\n },\n peg$c65 = function peg$c65(chars) {\n return chars.join('');\n },\n peg$currPos = 0,\n peg$savedPos = 0,\n peg$posDetailsCache = [{\n line: 1,\n column: 1,\n seenCR: false\n }],\n peg$maxFailPos = 0,\n peg$maxFailExpected = [],\n peg$silentFails = 0,\n peg$result;\n\n if (\"startRule\" in options) {\n if (!(options.startRule in peg$startRuleFunctions)) {\n throw new Error(\"Can't start parsing from rule \\\"\" + options.startRule + \"\\\".\");\n }\n\n peg$startRuleFunction = peg$startRuleFunctions[options.startRule];\n }\n\n function text() {\n return input.substring(peg$savedPos, peg$currPos);\n }\n\n function location() {\n return peg$computeLocation(peg$savedPos, peg$currPos);\n }\n\n function expected(description) {\n throw peg$buildException(null, [{\n type: \"other\",\n description: description\n }], input.substring(peg$savedPos, peg$currPos), peg$computeLocation(peg$savedPos, peg$currPos));\n }\n\n function error(message) {\n throw peg$buildException(message, null, input.substring(peg$savedPos, peg$currPos), peg$computeLocation(peg$savedPos, peg$currPos));\n }\n\n function peg$computePosDetails(pos) {\n var details = peg$posDetailsCache[pos],\n p,\n ch;\n\n if (details) {\n return details;\n } else {\n p = pos - 1;\n\n while (!peg$posDetailsCache[p]) {\n p--;\n }\n\n details = peg$posDetailsCache[p];\n details = {\n line: details.line,\n column: details.column,\n seenCR: details.seenCR\n };\n\n while (p < pos) {\n ch = input.charAt(p);\n\n if (ch === \"\\n\") {\n if (!details.seenCR) {\n details.line++;\n }\n\n details.column = 1;\n details.seenCR = false;\n } else if (ch === \"\\r\" || ch === \"\\u2028\" || ch === \"\\u2029\") {\n details.line++;\n details.column = 1;\n details.seenCR = true;\n } else {\n details.column++;\n details.seenCR = false;\n }\n\n p++;\n }\n\n peg$posDetailsCache[pos] = details;\n return details;\n }\n }\n\n function peg$computeLocation(startPos, endPos) {\n var startPosDetails = peg$computePosDetails(startPos),\n endPosDetails = peg$computePosDetails(endPos);\n return {\n start: {\n offset: startPos,\n line: startPosDetails.line,\n column: startPosDetails.column\n },\n end: {\n offset: endPos,\n line: endPosDetails.line,\n column: endPosDetails.column\n }\n };\n }\n\n function peg$fail(expected) {\n if (peg$currPos < peg$maxFailPos) {\n return;\n }\n\n if (peg$currPos > peg$maxFailPos) {\n peg$maxFailPos = peg$currPos;\n peg$maxFailExpected = [];\n }\n\n peg$maxFailExpected.push(expected);\n }\n\n function peg$buildException(message, expected, found, location) {\n function cleanupExpected(expected) {\n var i = 1;\n expected.sort(function (a, b) {\n if (a.description < b.description) {\n return -1;\n } else if (a.description > b.description) {\n return 1;\n } else {\n return 0;\n }\n });\n\n while (i < expected.length) {\n if (expected[i - 1] === expected[i]) {\n expected.splice(i, 1);\n } else {\n i++;\n }\n }\n }\n\n function buildMessage(expected, found) {\n function stringEscape(s) {\n function hex(ch) {\n return ch.charCodeAt(0).toString(16).toUpperCase();\n }\n\n return s.replace(/\\\\/g, '\\\\\\\\').replace(/\"/g, '\\\\\"').replace(/\\x08/g, '\\\\b').replace(/\\t/g, '\\\\t').replace(/\\n/g, '\\\\n').replace(/\\f/g, '\\\\f').replace(/\\r/g, '\\\\r').replace(/[\\x00-\\x07\\x0B\\x0E\\x0F]/g, function (ch) {\n return '\\\\x0' + hex(ch);\n }).replace(/[\\x10-\\x1F\\x80-\\xFF]/g, function (ch) {\n return '\\\\x' + hex(ch);\n }).replace(/[\\u0100-\\u0FFF]/g, function (ch) {\n return \"\\\\u0\" + hex(ch);\n }).replace(/[\\u1000-\\uFFFF]/g, function (ch) {\n return \"\\\\u\" + hex(ch);\n });\n }\n\n var expectedDescs = new Array(expected.length),\n expectedDesc,\n foundDesc,\n i;\n\n for (i = 0; i < expected.length; i++) {\n expectedDescs[i] = expected[i].description;\n }\n\n expectedDesc = expected.length > 1 ? expectedDescs.slice(0, -1).join(\", \") + \" or \" + expectedDescs[expected.length - 1] : expectedDescs[0];\n foundDesc = found ? \"\\\"\" + stringEscape(found) + \"\\\"\" : \"end of input\";\n return \"Expected \" + expectedDesc + \" but \" + foundDesc + \" found.\";\n }\n\n if (expected !== null) {\n cleanupExpected(expected);\n }\n\n return new peg$SyntaxError(message !== null ? message : buildMessage(expected, found), expected, found, location);\n }\n\n function peg$parsestart() {\n var s0;\n s0 = peg$parsemessageFormatPattern();\n return s0;\n }\n\n function peg$parsemessageFormatPattern() {\n var s0, s1, s2;\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parsemessageFormatElement();\n\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parsemessageFormatElement();\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c0(s1);\n }\n\n s0 = s1;\n return s0;\n }\n\n function peg$parsemessageFormatElement() {\n var s0;\n s0 = peg$parsemessageTextElement();\n\n if (s0 === peg$FAILED) {\n s0 = peg$parseargumentElement();\n }\n\n return s0;\n }\n\n function peg$parsemessageText() {\n var s0, s1, s2, s3, s4, s5;\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$currPos;\n s3 = peg$parse_();\n\n if (s3 !== peg$FAILED) {\n s4 = peg$parsechars();\n\n if (s4 !== peg$FAILED) {\n s5 = peg$parse_();\n\n if (s5 !== peg$FAILED) {\n s3 = [s3, s4, s5];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$currPos;\n s3 = peg$parse_();\n\n if (s3 !== peg$FAILED) {\n s4 = peg$parsechars();\n\n if (s4 !== peg$FAILED) {\n s5 = peg$parse_();\n\n if (s5 !== peg$FAILED) {\n s3 = [s3, s4, s5];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c1(s1);\n }\n\n s0 = s1;\n\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = peg$parsews();\n\n if (s1 !== peg$FAILED) {\n s0 = input.substring(s0, peg$currPos);\n } else {\n s0 = s1;\n }\n }\n\n return s0;\n }\n\n function peg$parsemessageTextElement() {\n var s0, s1;\n s0 = peg$currPos;\n s1 = peg$parsemessageText();\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c2(s1);\n }\n\n s0 = s1;\n return s0;\n }\n\n function peg$parseargument() {\n var s0, s1, s2;\n s0 = peg$parsenumber();\n\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n s1 = [];\n\n if (peg$c3.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c4);\n }\n }\n\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n\n if (peg$c3.test(input.charAt(peg$currPos))) {\n s2 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c4);\n }\n }\n }\n } else {\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n s0 = input.substring(s0, peg$currPos);\n } else {\n s0 = s1;\n }\n }\n\n return s0;\n }\n\n function peg$parseargumentElement() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 123) {\n s1 = peg$c5;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c6);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parse_();\n\n if (s2 !== peg$FAILED) {\n s3 = peg$parseargument();\n\n if (s3 !== peg$FAILED) {\n s4 = peg$parse_();\n\n if (s4 !== peg$FAILED) {\n s5 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 44) {\n s6 = peg$c7;\n peg$currPos++;\n } else {\n s6 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c8);\n }\n }\n\n if (s6 !== peg$FAILED) {\n s7 = peg$parse_();\n\n if (s7 !== peg$FAILED) {\n s8 = peg$parseelementFormat();\n\n if (s8 !== peg$FAILED) {\n s6 = [s6, s7, s8];\n s5 = s6;\n } else {\n peg$currPos = s5;\n s5 = peg$FAILED;\n }\n } else {\n peg$currPos = s5;\n s5 = peg$FAILED;\n }\n } else {\n peg$currPos = s5;\n s5 = peg$FAILED;\n }\n\n if (s5 === peg$FAILED) {\n s5 = null;\n }\n\n if (s5 !== peg$FAILED) {\n s6 = peg$parse_();\n\n if (s6 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 125) {\n s7 = peg$c9;\n peg$currPos++;\n } else {\n s7 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c10);\n }\n }\n\n if (s7 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c11(s3, s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseelementFormat() {\n var s0;\n s0 = peg$parsesimpleFormat();\n\n if (s0 === peg$FAILED) {\n s0 = peg$parsepluralFormat();\n\n if (s0 === peg$FAILED) {\n s0 = peg$parseselectOrdinalFormat();\n\n if (s0 === peg$FAILED) {\n s0 = peg$parseselectFormat();\n }\n }\n }\n\n return s0;\n }\n\n function peg$parsesimpleFormat() {\n var s0, s1, s2, s3, s4, s5, s6;\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 6) === peg$c12) {\n s1 = peg$c12;\n peg$currPos += 6;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c13);\n }\n }\n\n if (s1 === peg$FAILED) {\n if (input.substr(peg$currPos, 4) === peg$c14) {\n s1 = peg$c14;\n peg$currPos += 4;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c15);\n }\n }\n\n if (s1 === peg$FAILED) {\n if (input.substr(peg$currPos, 4) === peg$c16) {\n s1 = peg$c16;\n peg$currPos += 4;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c17);\n }\n }\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parse_();\n\n if (s2 !== peg$FAILED) {\n s3 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 44) {\n s4 = peg$c7;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c8);\n }\n }\n\n if (s4 !== peg$FAILED) {\n s5 = peg$parse_();\n\n if (s5 !== peg$FAILED) {\n s6 = peg$parsechars();\n\n if (s6 !== peg$FAILED) {\n s4 = [s4, s5, s6];\n s3 = s4;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n\n if (s3 === peg$FAILED) {\n s3 = null;\n }\n\n if (s3 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c18(s1, s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parsepluralFormat() {\n var s0, s1, s2, s3, s4, s5;\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 6) === peg$c19) {\n s1 = peg$c19;\n peg$currPos += 6;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c20);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parse_();\n\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s3 = peg$c7;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c8);\n }\n }\n\n if (s3 !== peg$FAILED) {\n s4 = peg$parse_();\n\n if (s4 !== peg$FAILED) {\n s5 = peg$parsepluralStyle();\n\n if (s5 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c21(s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseselectOrdinalFormat() {\n var s0, s1, s2, s3, s4, s5;\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 13) === peg$c22) {\n s1 = peg$c22;\n peg$currPos += 13;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c23);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parse_();\n\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s3 = peg$c7;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c8);\n }\n }\n\n if (s3 !== peg$FAILED) {\n s4 = peg$parse_();\n\n if (s4 !== peg$FAILED) {\n s5 = peg$parsepluralStyle();\n\n if (s5 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c24(s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseselectFormat() {\n var s0, s1, s2, s3, s4, s5, s6;\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 6) === peg$c25) {\n s1 = peg$c25;\n peg$currPos += 6;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c26);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parse_();\n\n if (s2 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 44) {\n s3 = peg$c7;\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c8);\n }\n }\n\n if (s3 !== peg$FAILED) {\n s4 = peg$parse_();\n\n if (s4 !== peg$FAILED) {\n s5 = [];\n s6 = peg$parseoptionalFormatPattern();\n\n if (s6 !== peg$FAILED) {\n while (s6 !== peg$FAILED) {\n s5.push(s6);\n s6 = peg$parseoptionalFormatPattern();\n }\n } else {\n s5 = peg$FAILED;\n }\n\n if (s5 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c27(s5);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseselector() {\n var s0, s1, s2, s3;\n s0 = peg$currPos;\n s1 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 61) {\n s2 = peg$c28;\n peg$currPos++;\n } else {\n s2 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c29);\n }\n }\n\n if (s2 !== peg$FAILED) {\n s3 = peg$parsenumber();\n\n if (s3 !== peg$FAILED) {\n s2 = [s2, s3];\n s1 = s2;\n } else {\n peg$currPos = s1;\n s1 = peg$FAILED;\n }\n } else {\n peg$currPos = s1;\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n s0 = input.substring(s0, peg$currPos);\n } else {\n s0 = s1;\n }\n\n if (s0 === peg$FAILED) {\n s0 = peg$parsechars();\n }\n\n return s0;\n }\n\n function peg$parseoptionalFormatPattern() {\n var s0, s1, s2, s3, s4, s5, s6, s7, s8;\n s0 = peg$currPos;\n s1 = peg$parse_();\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parseselector();\n\n if (s2 !== peg$FAILED) {\n s3 = peg$parse_();\n\n if (s3 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 123) {\n s4 = peg$c5;\n peg$currPos++;\n } else {\n s4 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c6);\n }\n }\n\n if (s4 !== peg$FAILED) {\n s5 = peg$parse_();\n\n if (s5 !== peg$FAILED) {\n s6 = peg$parsemessageFormatPattern();\n\n if (s6 !== peg$FAILED) {\n s7 = peg$parse_();\n\n if (s7 !== peg$FAILED) {\n if (input.charCodeAt(peg$currPos) === 125) {\n s8 = peg$c9;\n peg$currPos++;\n } else {\n s8 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c10);\n }\n }\n\n if (s8 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c30(s2, s6);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parseoffset() {\n var s0, s1, s2, s3;\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 7) === peg$c31) {\n s1 = peg$c31;\n peg$currPos += 7;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c32);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parse_();\n\n if (s2 !== peg$FAILED) {\n s3 = peg$parsenumber();\n\n if (s3 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c33(s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parsepluralStyle() {\n var s0, s1, s2, s3, s4;\n s0 = peg$currPos;\n s1 = peg$parseoffset();\n\n if (s1 === peg$FAILED) {\n s1 = null;\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$parse_();\n\n if (s2 !== peg$FAILED) {\n s3 = [];\n s4 = peg$parseoptionalFormatPattern();\n\n if (s4 !== peg$FAILED) {\n while (s4 !== peg$FAILED) {\n s3.push(s4);\n s4 = peg$parseoptionalFormatPattern();\n }\n } else {\n s3 = peg$FAILED;\n }\n\n if (s3 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c34(s1, s3);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n\n return s0;\n }\n\n function peg$parsews() {\n var s0, s1;\n peg$silentFails++;\n s0 = [];\n\n if (peg$c36.test(input.charAt(peg$currPos))) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c37);\n }\n }\n\n if (s1 !== peg$FAILED) {\n while (s1 !== peg$FAILED) {\n s0.push(s1);\n\n if (peg$c36.test(input.charAt(peg$currPos))) {\n s1 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c37);\n }\n }\n }\n } else {\n s0 = peg$FAILED;\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c35);\n }\n }\n\n return s0;\n }\n\n function peg$parse_() {\n var s0, s1, s2;\n peg$silentFails++;\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parsews();\n\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parsews();\n }\n\n if (s1 !== peg$FAILED) {\n s0 = input.substring(s0, peg$currPos);\n } else {\n s0 = s1;\n }\n\n peg$silentFails--;\n\n if (s0 === peg$FAILED) {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c38);\n }\n }\n\n return s0;\n }\n\n function peg$parsedigit() {\n var s0;\n\n if (peg$c39.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c40);\n }\n }\n\n return s0;\n }\n\n function peg$parsehexDigit() {\n var s0;\n\n if (peg$c41.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c42);\n }\n }\n\n return s0;\n }\n\n function peg$parsenumber() {\n var s0, s1, s2, s3, s4, s5;\n s0 = peg$currPos;\n\n if (input.charCodeAt(peg$currPos) === 48) {\n s1 = peg$c43;\n peg$currPos++;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c44);\n }\n }\n\n if (s1 === peg$FAILED) {\n s1 = peg$currPos;\n s2 = peg$currPos;\n\n if (peg$c45.test(input.charAt(peg$currPos))) {\n s3 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s3 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c46);\n }\n }\n\n if (s3 !== peg$FAILED) {\n s4 = [];\n s5 = peg$parsedigit();\n\n while (s5 !== peg$FAILED) {\n s4.push(s5);\n s5 = peg$parsedigit();\n }\n\n if (s4 !== peg$FAILED) {\n s3 = [s3, s4];\n s2 = s3;\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n } else {\n peg$currPos = s2;\n s2 = peg$FAILED;\n }\n\n if (s2 !== peg$FAILED) {\n s1 = input.substring(s1, peg$currPos);\n } else {\n s1 = s2;\n }\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c47(s1);\n }\n\n s0 = s1;\n return s0;\n }\n\n function peg$parsechar() {\n var s0, s1, s2, s3, s4, s5, s6, s7;\n\n if (peg$c48.test(input.charAt(peg$currPos))) {\n s0 = input.charAt(peg$currPos);\n peg$currPos++;\n } else {\n s0 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c49);\n }\n }\n\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 2) === peg$c50) {\n s1 = peg$c50;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c51);\n }\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c52();\n }\n\n s0 = s1;\n\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 2) === peg$c53) {\n s1 = peg$c53;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c54);\n }\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c55();\n }\n\n s0 = s1;\n\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 2) === peg$c56) {\n s1 = peg$c56;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c57);\n }\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c58();\n }\n\n s0 = s1;\n\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 2) === peg$c59) {\n s1 = peg$c59;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c60);\n }\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c61();\n }\n\n s0 = s1;\n\n if (s0 === peg$FAILED) {\n s0 = peg$currPos;\n\n if (input.substr(peg$currPos, 2) === peg$c62) {\n s1 = peg$c62;\n peg$currPos += 2;\n } else {\n s1 = peg$FAILED;\n\n if (peg$silentFails === 0) {\n peg$fail(peg$c63);\n }\n }\n\n if (s1 !== peg$FAILED) {\n s2 = peg$currPos;\n s3 = peg$currPos;\n s4 = peg$parsehexDigit();\n\n if (s4 !== peg$FAILED) {\n s5 = peg$parsehexDigit();\n\n if (s5 !== peg$FAILED) {\n s6 = peg$parsehexDigit();\n\n if (s6 !== peg$FAILED) {\n s7 = peg$parsehexDigit();\n\n if (s7 !== peg$FAILED) {\n s4 = [s4, s5, s6, s7];\n s3 = s4;\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n } else {\n peg$currPos = s3;\n s3 = peg$FAILED;\n }\n\n if (s3 !== peg$FAILED) {\n s2 = input.substring(s2, peg$currPos);\n } else {\n s2 = s3;\n }\n\n if (s2 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c64(s2);\n s0 = s1;\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n } else {\n peg$currPos = s0;\n s0 = peg$FAILED;\n }\n }\n }\n }\n }\n }\n\n return s0;\n }\n\n function peg$parsechars() {\n var s0, s1, s2;\n s0 = peg$currPos;\n s1 = [];\n s2 = peg$parsechar();\n\n if (s2 !== peg$FAILED) {\n while (s2 !== peg$FAILED) {\n s1.push(s2);\n s2 = peg$parsechar();\n }\n } else {\n s1 = peg$FAILED;\n }\n\n if (s1 !== peg$FAILED) {\n peg$savedPos = s0;\n s1 = peg$c65(s1);\n }\n\n s0 = s1;\n return s0;\n }\n\n peg$result = peg$startRuleFunction();\n\n if (peg$result !== peg$FAILED && peg$currPos === input.length) {\n return peg$result;\n } else {\n if (peg$result !== peg$FAILED && peg$currPos < input.length) {\n peg$fail({\n type: \"end\",\n description: \"end of input\"\n });\n }\n\n throw peg$buildException(null, peg$maxFailExpected, peg$maxFailPos < input.length ? input.charAt(peg$maxFailPos) : null, peg$maxFailPos < input.length ? peg$computeLocation(peg$maxFailPos, peg$maxFailPos + 1) : peg$computeLocation(peg$maxFailPos, peg$maxFailPos));\n }\n }\n\n return {\n SyntaxError: peg$SyntaxError,\n parse: peg$parse\n };\n}();","// GENERATED FILE\n\"use strict\";\n\nexports[\"default\"] = {\n \"locale\": \"en\",\n \"pluralRuleFunction\": function pluralRuleFunction(n, ord) {\n var s = String(n).split(\".\"),\n v0 = !s[1],\n t0 = Number(s[0]) == n,\n n10 = t0 && s[0].slice(-1),\n n100 = t0 && s[0].slice(-2);\n if (ord) return n10 == 1 && n100 != 11 ? \"one\" : n10 == 2 && n100 != 12 ? \"two\" : n10 == 3 && n100 != 13 ? \"few\" : \"other\";\n return n == 1 && v0 ? \"one\" : \"other\";\n }\n};","\"use strict\";\n/* jslint esnext: true */\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n\nvar core_1 = require(\"./core\");\n\nvar en_1 = require(\"./en\");\n\ncore_1.default.__addLocaleData(en_1.default);\n\ncore_1.default.defaultLocale = 'en';\nexports.default = core_1.default;","\"use strict\";\n/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* jslint esnext: true */\n\nvar intl_messageformat_1 = require(\"intl-messageformat\");\n\nvar diff_1 = require(\"./diff\");\n\nvar es5_1 = require(\"./es5\");\n\nexports.default = RelativeFormat; // -----------------------------------------------------------------------------\n\nvar FIELDS = ['second', 'second-short', 'minute', 'minute-short', 'hour', 'hour-short', 'day', 'day-short', 'month', 'month-short', 'year', 'year-short'];\nvar STYLES = ['best fit', 'numeric']; // -- RelativeFormat -----------------------------------------------------------\n\nfunction RelativeFormat(locales, options) {\n options = options || {}; // Make a copy of `locales` if it's an array, so that it doesn't change\n // since it's used lazily.\n\n if (es5_1.isArray(locales)) {\n locales = locales.concat();\n }\n\n es5_1.defineProperty(this, '_locale', {\n value: this._resolveLocale(locales)\n });\n es5_1.defineProperty(this, '_options', {\n value: {\n style: this._resolveStyle(options.style),\n units: this._isValidUnits(options.units) && options.units\n }\n });\n es5_1.defineProperty(this, '_locales', {\n value: locales\n });\n es5_1.defineProperty(this, '_fields', {\n value: this._findFields(this._locale)\n });\n es5_1.defineProperty(this, '_messages', {\n value: es5_1.objCreate(null)\n }); // \"Bind\" `format()` method to `this` so it can be passed by reference like\n // the other `Intl` APIs.\n\n var relativeFormat = this;\n\n this.format = function format(date, options) {\n return relativeFormat._format(date, options);\n };\n} // Define internal private properties for dealing with locale data.\n\n\nes5_1.defineProperty(RelativeFormat, '__localeData__', {\n value: es5_1.objCreate(null)\n});\nes5_1.defineProperty(RelativeFormat, '__addLocaleData', {\n value: function value() {\n for (var i = 0; i < arguments.length; i++) {\n var datum = arguments[i];\n\n if (!(datum && datum.locale)) {\n throw new Error('Locale data provided to IntlRelativeFormat is missing a ' + '`locale` property value');\n }\n\n RelativeFormat.__localeData__[datum.locale.toLowerCase()] = datum; // Add data to IntlMessageFormat.\n\n intl_messageformat_1.default.__addLocaleData(datum);\n }\n }\n}); // Define public `defaultLocale` property which can be set by the developer, or\n// it will be set when the first RelativeFormat instance is created by\n// leveraging the resolved locale from `Intl`.\n\nes5_1.defineProperty(RelativeFormat, 'defaultLocale', {\n enumerable: true,\n writable: true,\n value: undefined\n}); // Define public `thresholds` property which can be set by the developer, and\n// defaults to relative time thresholds from moment.js.\n\nes5_1.defineProperty(RelativeFormat, 'thresholds', {\n enumerable: true,\n value: {\n second: 45,\n 'second-short': 45,\n minute: 45,\n 'minute-short': 45,\n hour: 22,\n 'hour-short': 22,\n day: 26,\n 'day-short': 26,\n month: 11,\n 'month-short': 11 // months to year\n\n }\n});\n\nRelativeFormat.prototype.resolvedOptions = function () {\n return {\n locale: this._locale,\n style: this._options.style,\n units: this._options.units\n };\n};\n\nRelativeFormat.prototype._compileMessage = function (units) {\n // `this._locales` is the original set of locales the user specified to the\n // constructor, while `this._locale` is the resolved root locale.\n var locales = this._locales;\n var resolvedLocale = this._locale;\n var field = this._fields[units];\n var relativeTime = field.relativeTime;\n var future = '';\n var past = '';\n var i;\n\n for (i in relativeTime.future) {\n if (relativeTime.future.hasOwnProperty(i)) {\n future += ' ' + i + ' {' + relativeTime.future[i].replace('{0}', '#') + '}';\n }\n }\n\n for (i in relativeTime.past) {\n if (relativeTime.past.hasOwnProperty(i)) {\n past += ' ' + i + ' {' + relativeTime.past[i].replace('{0}', '#') + '}';\n }\n }\n\n var message = '{when, select, future {{0, plural, ' + future + '}}' + 'past {{0, plural, ' + past + '}}}'; // Create the synthetic IntlMessageFormat instance using the original\n // locales value specified by the user when constructing the the parent\n // IntlRelativeFormat instance.\n\n return new intl_messageformat_1.default(message, locales);\n};\n\nRelativeFormat.prototype._getMessage = function (units) {\n var messages = this._messages; // Create a new synthetic message based on the locale data from CLDR.\n\n if (!messages[units]) {\n messages[units] = this._compileMessage(units);\n }\n\n return messages[units];\n};\n\nRelativeFormat.prototype._getRelativeUnits = function (diff, units) {\n var field = this._fields[units];\n\n if (field.relative) {\n return field.relative[diff];\n }\n};\n\nRelativeFormat.prototype._findFields = function (locale) {\n var localeData = RelativeFormat.__localeData__;\n var data = localeData[locale.toLowerCase()]; // The locale data is de-duplicated, so we have to traverse the locale's\n // hierarchy until we find `fields` to return.\n\n while (data) {\n if (data.fields) {\n return data.fields;\n }\n\n data = data.parentLocale && localeData[data.parentLocale.toLowerCase()];\n }\n\n throw new Error('Locale data added to IntlRelativeFormat is missing `fields` for :' + locale);\n};\n\nRelativeFormat.prototype._format = function (date, options) {\n var now = options && options.now !== undefined ? options.now : es5_1.dateNow();\n\n if (date === undefined) {\n date = now;\n } // Determine if the `date` and optional `now` values are valid, and throw a\n // similar error to what `Intl.DateTimeFormat#format()` would throw.\n\n\n if (!isFinite(now)) {\n throw new RangeError('The `now` option provided to IntlRelativeFormat#format() is not ' + 'in valid range.');\n }\n\n if (!isFinite(date)) {\n throw new RangeError('The date value provided to IntlRelativeFormat#format() is not ' + 'in valid range.');\n }\n\n var diffReport = diff_1.default(now, date);\n\n var units = this._options.units || this._selectUnits(diffReport);\n\n var diffInUnits = diffReport[units];\n\n if (this._options.style !== 'numeric') {\n var relativeUnits = this._getRelativeUnits(diffInUnits, units);\n\n if (relativeUnits) {\n return relativeUnits;\n }\n }\n\n return this._getMessage(units).format({\n '0': Math.abs(diffInUnits),\n when: diffInUnits < 0 ? 'past' : 'future'\n });\n};\n\nRelativeFormat.prototype._isValidUnits = function (units) {\n if (!units || es5_1.arrIndexOf.call(FIELDS, units) >= 0) {\n return true;\n }\n\n if (typeof units === 'string') {\n var suggestion = /s$/.test(units) && units.substr(0, units.length - 1);\n\n if (suggestion && es5_1.arrIndexOf.call(FIELDS, suggestion) >= 0) {\n throw new Error('\"' + units + '\" is not a valid IntlRelativeFormat `units` ' + 'value, did you mean: ' + suggestion);\n }\n }\n\n throw new Error('\"' + units + '\" is not a valid IntlRelativeFormat `units` value, it ' + 'must be one of: \"' + FIELDS.join('\", \"') + '\"');\n};\n\nRelativeFormat.prototype._resolveLocale = function (locales) {\n if (typeof locales === 'string') {\n locales = [locales];\n } // Create a copy of the array so we can push on the default locale.\n\n\n locales = (locales || []).concat(RelativeFormat.defaultLocale);\n var localeData = RelativeFormat.__localeData__;\n var i, len, localeParts, data; // Using the set of locales + the default locale, we look for the first one\n // which that has been registered. When data does not exist for a locale, we\n // traverse its ancestors to find something that's been registered within\n // its hierarchy of locales. Since we lack the proper `parentLocale` data\n // here, we must take a naive approach to traversal.\n\n for (i = 0, len = locales.length; i < len; i += 1) {\n localeParts = locales[i].toLowerCase().split('-');\n\n while (localeParts.length) {\n data = localeData[localeParts.join('-')];\n\n if (data) {\n // Return the normalized locale string; e.g., we return \"en-US\",\n // instead of \"en-us\".\n return data.locale;\n }\n\n localeParts.pop();\n }\n }\n\n var defaultLocale = locales.pop();\n throw new Error('No locale data has been added to IntlRelativeFormat for: ' + locales.join(', ') + ', or the default locale: ' + defaultLocale);\n};\n\nRelativeFormat.prototype._resolveStyle = function (style) {\n // Default to \"best fit\" style.\n if (!style) {\n return STYLES[0];\n }\n\n if (es5_1.arrIndexOf.call(STYLES, style) >= 0) {\n return style;\n }\n\n throw new Error('\"' + style + '\" is not a valid IntlRelativeFormat `style` value, it ' + 'must be one of: \"' + STYLES.join('\", \"') + '\"');\n};\n\nRelativeFormat.prototype._selectUnits = function (diffReport) {\n var i, l, units;\n var fields = FIELDS.filter(function (field) {\n return field.indexOf('-short') < 1;\n });\n\n for (i = 0, l = fields.length; i < l; i += 1) {\n units = fields[i];\n\n if (Math.abs(diffReport[units]) < RelativeFormat.thresholds[units]) {\n break;\n }\n }\n\n return units;\n};","\"use strict\";\n/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* jslint esnext: true */\n\nvar round = Math.round;\n\nfunction daysToYears(days) {\n // 400 years have 146097 days (taking into account leap year rules)\n return days * 400 / 146097;\n} // Thanks to date-fns\n// https://github.com/date-fns/date-fns\n// MIT © Sasha Koss\n\n\nvar MILLISECONDS_IN_MINUTE = 60000;\nvar MILLISECONDS_IN_DAY = 86400000;\n\nfunction startOfDay(dirtyDate) {\n var date = new Date(dirtyDate);\n date.setHours(0, 0, 0, 0);\n return date;\n}\n\nfunction differenceInCalendarDays(dirtyDateLeft, dirtyDateRight) {\n var startOfDayLeft = startOfDay(dirtyDateLeft);\n var startOfDayRight = startOfDay(dirtyDateRight);\n var timestampLeft = startOfDayLeft.getTime() - startOfDayLeft.getTimezoneOffset() * MILLISECONDS_IN_MINUTE;\n var timestampRight = startOfDayRight.getTime() - startOfDayRight.getTimezoneOffset() * MILLISECONDS_IN_MINUTE; // Round the number of days to the nearest integer\n // because the number of milliseconds in a day is not constant\n // (e.g. it's different in the day of the daylight saving time clock shift)\n\n return Math.round((timestampLeft - timestampRight) / MILLISECONDS_IN_DAY);\n}\n\nfunction default_1(from, to) {\n // Convert to ms timestamps.\n from = +from;\n to = +to;\n var millisecond = round(to - from),\n second = round(millisecond / 1000),\n minute = round(second / 60),\n hour = round(minute / 60); // We expect a more precision in rounding when dealing with\n // days as it feels wrong when something happended 13 hours ago and\n // is regarded as \"yesterday\" even if the time was this morning.\n\n var day = differenceInCalendarDays(to, from);\n var week = round(day / 7);\n var rawYears = daysToYears(day),\n month = round(rawYears * 12),\n year = round(rawYears);\n return {\n millisecond: millisecond,\n second: second,\n 'second-short': second,\n minute: minute,\n 'minute-short': minute,\n hour: hour,\n 'hour-short': hour,\n day: day,\n 'day-short': day,\n week: week,\n 'week-short': week,\n month: month,\n 'month-short': month,\n year: year,\n 'year-short': year\n };\n}\n\nexports.default = default_1;","\"use strict\";\n/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* jslint esnext: true */\n// Purposely using the same implementation as the Intl.js `Intl` polyfill.\n// Copyright 2013 Andy Earnshaw, MIT License\n\nvar hop = Object.prototype.hasOwnProperty;\nvar toString = Object.prototype.toString;\n\nvar realDefineProp = function () {\n try {\n return !!Object.defineProperty({}, 'a', {});\n } catch (e) {\n return false;\n }\n}();\n\nvar es3 = !realDefineProp && !Object.prototype.__defineGetter__;\nvar defineProperty = realDefineProp ? Object.defineProperty : function (obj, name, desc) {\n if ('get' in desc && obj.__defineGetter__) {\n obj.__defineGetter__(name, desc.get);\n } else if (!hop.call(obj, name) || 'value' in desc) {\n obj[name] = desc.value;\n }\n};\nexports.defineProperty = defineProperty;\n\nvar objCreate = Object.create || function (proto, props) {\n var obj, k;\n\n function F() {}\n\n F.prototype = proto;\n obj = new F();\n\n for (k in props) {\n if (hop.call(props, k)) {\n defineProperty(obj, k, props[k]);\n }\n }\n\n return obj;\n};\n\nexports.objCreate = objCreate;\n\nvar arrIndexOf = Array.prototype.indexOf || function (search, fromIndex) {\n /*jshint validthis:true */\n var arr = this;\n\n if (!arr.length) {\n return -1;\n }\n\n for (var i = fromIndex || 0, max = arr.length; i < max; i++) {\n if (arr[i] === search) {\n return i;\n }\n }\n\n return -1;\n};\n\nexports.arrIndexOf = arrIndexOf;\n\nvar isArray = Array.isArray || function (obj) {\n return toString.call(obj) === '[object Array]';\n};\n\nexports.isArray = isArray;\n\nvar dateNow = Date.now || function () {\n return new Date().getTime();\n};\n\nexports.dateNow = dateNow;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\n/* @generated */\n\nexports.default = {\n \"locale\": \"en\",\n \"pluralRuleFunction\": function pluralRuleFunction(n, ord) {\n var s = String(n).split('.'),\n v0 = !s[1],\n t0 = Number(s[0]) == n,\n n10 = t0 && s[0].slice(-1),\n n100 = t0 && s[0].slice(-2);\n if (ord) return n10 == 1 && n100 != 11 ? 'one' : n10 == 2 && n100 != 12 ? 'two' : n10 == 3 && n100 != 13 ? 'few' : 'other';\n return n == 1 && v0 ? 'one' : 'other';\n },\n \"fields\": {\n \"year\": {\n \"displayName\": \"year\",\n \"relative\": {\n \"0\": \"this year\",\n \"1\": \"next year\",\n \"-1\": \"last year\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} year\",\n \"other\": \"in {0} years\"\n },\n \"past\": {\n \"one\": \"{0} year ago\",\n \"other\": \"{0} years ago\"\n }\n }\n },\n \"year-short\": {\n \"displayName\": \"yr.\",\n \"relative\": {\n \"0\": \"this yr.\",\n \"1\": \"next yr.\",\n \"-1\": \"last yr.\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} yr.\",\n \"other\": \"in {0} yr.\"\n },\n \"past\": {\n \"one\": \"{0} yr. ago\",\n \"other\": \"{0} yr. ago\"\n }\n }\n },\n \"month\": {\n \"displayName\": \"month\",\n \"relative\": {\n \"0\": \"this month\",\n \"1\": \"next month\",\n \"-1\": \"last month\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} month\",\n \"other\": \"in {0} months\"\n },\n \"past\": {\n \"one\": \"{0} month ago\",\n \"other\": \"{0} months ago\"\n }\n }\n },\n \"month-short\": {\n \"displayName\": \"mo.\",\n \"relative\": {\n \"0\": \"this mo.\",\n \"1\": \"next mo.\",\n \"-1\": \"last mo.\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} mo.\",\n \"other\": \"in {0} mo.\"\n },\n \"past\": {\n \"one\": \"{0} mo. ago\",\n \"other\": \"{0} mo. ago\"\n }\n }\n },\n \"week\": {\n \"displayName\": \"week\",\n \"relativePeriod\": \"the week of {0}\",\n \"relative\": {\n \"0\": \"this week\",\n \"1\": \"next week\",\n \"-1\": \"last week\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} week\",\n \"other\": \"in {0} weeks\"\n },\n \"past\": {\n \"one\": \"{0} week ago\",\n \"other\": \"{0} weeks ago\"\n }\n }\n },\n \"week-short\": {\n \"displayName\": \"wk.\",\n \"relativePeriod\": \"the week of {0}\",\n \"relative\": {\n \"0\": \"this wk.\",\n \"1\": \"next wk.\",\n \"-1\": \"last wk.\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} wk.\",\n \"other\": \"in {0} wk.\"\n },\n \"past\": {\n \"one\": \"{0} wk. ago\",\n \"other\": \"{0} wk. ago\"\n }\n }\n },\n \"day\": {\n \"displayName\": \"day\",\n \"relative\": {\n \"0\": \"today\",\n \"1\": \"tomorrow\",\n \"-1\": \"yesterday\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} day\",\n \"other\": \"in {0} days\"\n },\n \"past\": {\n \"one\": \"{0} day ago\",\n \"other\": \"{0} days ago\"\n }\n }\n },\n \"day-short\": {\n \"displayName\": \"day\",\n \"relative\": {\n \"0\": \"today\",\n \"1\": \"tomorrow\",\n \"-1\": \"yesterday\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} day\",\n \"other\": \"in {0} days\"\n },\n \"past\": {\n \"one\": \"{0} day ago\",\n \"other\": \"{0} days ago\"\n }\n }\n },\n \"hour\": {\n \"displayName\": \"hour\",\n \"relative\": {\n \"0\": \"this hour\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} hour\",\n \"other\": \"in {0} hours\"\n },\n \"past\": {\n \"one\": \"{0} hour ago\",\n \"other\": \"{0} hours ago\"\n }\n }\n },\n \"hour-short\": {\n \"displayName\": \"hr.\",\n \"relative\": {\n \"0\": \"this hour\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} hr.\",\n \"other\": \"in {0} hr.\"\n },\n \"past\": {\n \"one\": \"{0} hr. ago\",\n \"other\": \"{0} hr. ago\"\n }\n }\n },\n \"minute\": {\n \"displayName\": \"minute\",\n \"relative\": {\n \"0\": \"this minute\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} minute\",\n \"other\": \"in {0} minutes\"\n },\n \"past\": {\n \"one\": \"{0} minute ago\",\n \"other\": \"{0} minutes ago\"\n }\n }\n },\n \"minute-short\": {\n \"displayName\": \"min.\",\n \"relative\": {\n \"0\": \"this minute\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} min.\",\n \"other\": \"in {0} min.\"\n },\n \"past\": {\n \"one\": \"{0} min. ago\",\n \"other\": \"{0} min. ago\"\n }\n }\n },\n \"second\": {\n \"displayName\": \"second\",\n \"relative\": {\n \"0\": \"now\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} second\",\n \"other\": \"in {0} seconds\"\n },\n \"past\": {\n \"one\": \"{0} second ago\",\n \"other\": \"{0} seconds ago\"\n }\n }\n },\n \"second-short\": {\n \"displayName\": \"sec.\",\n \"relative\": {\n \"0\": \"now\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} sec.\",\n \"other\": \"in {0} sec.\"\n },\n \"past\": {\n \"one\": \"{0} sec. ago\",\n \"other\": \"{0} sec. ago\"\n }\n }\n }\n }\n};","/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\n\n/* jshint esnext: true */\n\"use strict\";\n\nvar src$es5$$ = require(\"./es5\");\n\nexports[\"default\"] = createFormatCache; // -----------------------------------------------------------------------------\n\nfunction createFormatCache(FormatConstructor) {\n var cache = src$es5$$.objCreate(null);\n return function () {\n var args = Array.prototype.slice.call(arguments);\n var cacheId = getCacheId(args);\n var format = cacheId && cache[cacheId];\n\n if (!format) {\n format = new (src$es5$$.bind.apply(FormatConstructor, [null].concat(args)))();\n\n if (cacheId) {\n cache[cacheId] = format;\n }\n }\n\n return format;\n };\n} // -- Utilities ----------------------------------------------------------------\n\n\nfunction getCacheId(inputs) {\n // When JSON is not available in the runtime, we will not create a cache id.\n if (typeof JSON === 'undefined') {\n return;\n }\n\n var cacheId = [];\n var i, len, input;\n\n for (i = 0, len = inputs.length; i < len; i += 1) {\n input = inputs[i];\n\n if (input && typeof input === 'object') {\n cacheId.push(orderedProps(input));\n } else {\n cacheId.push(input);\n }\n }\n\n return JSON.stringify(cacheId);\n}\n\nfunction orderedProps(obj) {\n var props = [],\n keys = [];\n var key, i, len, prop;\n\n for (key in obj) {\n if (obj.hasOwnProperty(key)) {\n keys.push(key);\n }\n }\n\n var orderedKeys = keys.sort();\n\n for (i = 0, len = orderedKeys.length; i < len; i += 1) {\n key = orderedKeys[i];\n prop = {};\n prop[key] = obj[key];\n props[i] = prop;\n }\n\n return props;\n}","/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\n\n/* jslint esnext: true */\n// Function.prototype.bind implementation from Mozilla Developer Network:\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind#Polyfill\n\"use strict\";\n\nvar bind = Function.prototype.bind || function (oThis) {\n if (typeof this !== 'function') {\n // closest thing possible to the ECMAScript 5\n // internal IsCallable function\n throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable');\n }\n\n var aArgs = Array.prototype.slice.call(arguments, 1),\n fToBind = this,\n fNOP = function fNOP() {},\n fBound = function fBound() {\n return fToBind.apply(this instanceof fNOP ? this : oThis, aArgs.concat(Array.prototype.slice.call(arguments)));\n };\n\n if (this.prototype) {\n // native functions don't have a prototype\n fNOP.prototype = this.prototype;\n }\n\n fBound.prototype = new fNOP();\n return fBound;\n}; // Purposely using the same implementation as the Intl.js `Intl` polyfill.\n// Copyright 2013 Andy Earnshaw, MIT License\n\n\nvar hop = Object.prototype.hasOwnProperty;\n\nvar realDefineProp = function () {\n try {\n return !!Object.defineProperty({}, 'a', {});\n } catch (e) {\n return false;\n }\n}();\n\nvar es3 = !realDefineProp && !Object.prototype.__defineGetter__;\nvar defineProperty = realDefineProp ? Object.defineProperty : function (obj, name, desc) {\n if ('get' in desc && obj.__defineGetter__) {\n obj.__defineGetter__(name, desc.get);\n } else if (!hop.call(obj, name) || 'value' in desc) {\n obj[name] = desc.value;\n }\n};\n\nvar objCreate = Object.create || function (proto, props) {\n var obj, k;\n\n function F() {}\n\n F.prototype = proto;\n obj = new F();\n\n for (k in props) {\n if (hop.call(props, k)) {\n defineProperty(obj, k, props[k]);\n }\n }\n\n return obj;\n};\n\nexports.bind = bind, exports.defineProperty = defineProperty, exports.objCreate = objCreate;","const element = document.getElementById('initial-state');\nconst initialState = element && function () {\n const result = JSON.parse(element.textContent);\n try {\n result.local_settings = JSON.parse(localStorage.getItem('mastodon-settings'));\n } catch (e) {\n result.local_settings = {};\n }\n return result;\n}();\n\nconst getMeta = (prop) => initialState && initialState.meta && initialState.meta[prop];\nconst getRight = (prop) => initialState && initialState.rights && initialState.rights[prop];\n\nexport const reduceMotion = getMeta('reduce_motion');\nexport const autoPlayGif = getMeta('auto_play_gif');\nexport const displaySensitiveMedia = getMeta('display_sensitive_media');\nexport const displayMedia = getMeta('display_media') || (getMeta('display_sensitive_media') ? 'show_all' : 'default');\nexport const unfollowModal = getMeta('unfollow_modal');\nexport const boostModal = getMeta('boost_modal');\nexport const favouriteModal = getMeta('favourite_modal');\nexport const deleteModal = getMeta('delete_modal');\nexport const me = getMeta('me');\nexport const searchEnabled = getMeta('search_enabled');\nexport const maxChars = getMeta('max_toot_chars') || 500;\nexport const pollLimits = (initialState && initialState.poll_limits);\nexport const invitesEnabled = getMeta('invites_enabled');\nexport const version = getMeta('version');\nexport const mascot = getMeta('mascot');\nexport const profile_directory = getMeta('profile_directory');\nexport const isStaff = getMeta('is_staff');\nexport const defaultContentType = getMeta('default_content_type');\nexport const forceSingleColumn = getMeta('advanced_layout') === false;\nexport const useBlurhash = getMeta('use_blurhash');\nexport const usePendingItems = getMeta('use_pending_items');\nexport const useSystemEmojiFont = getMeta('system_emoji_font');\nexport const showTrends = getMeta('trends');\n\nexport const deleteOthersNotice = getRight('delete_others_notice');\n\nexport default initialState;\n","export default function _assertThisInitialized(self) {\n if (self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n}","function isAbsolute(pathname) {\n return pathname.charAt(0) === '/';\n} // About 1.5x faster than the two-arg version of Array#splice()\n\n\nfunction spliceOne(list, index) {\n for (var i = index, k = i + 1, n = list.length; k < n; i += 1, k += 1) {\n list[i] = list[k];\n }\n\n list.pop();\n} // This implementation is based heavily on node's url.parse\n\n\nfunction resolvePathname(to, from) {\n if (from === undefined) from = '';\n var toParts = to && to.split('/') || [];\n var fromParts = from && from.split('/') || [];\n var isToAbs = to && isAbsolute(to);\n var isFromAbs = from && isAbsolute(from);\n var mustEndAbs = isToAbs || isFromAbs;\n\n if (to && isAbsolute(to)) {\n // to is absolute\n fromParts = toParts;\n } else if (toParts.length) {\n // to is relative, drop the filename\n fromParts.pop();\n fromParts = fromParts.concat(toParts);\n }\n\n if (!fromParts.length) return '/';\n var hasTrailingSlash;\n\n if (fromParts.length) {\n var last = fromParts[fromParts.length - 1];\n hasTrailingSlash = last === '.' || last === '..' || last === '';\n } else {\n hasTrailingSlash = false;\n }\n\n var up = 0;\n\n for (var i = fromParts.length; i >= 0; i--) {\n var part = fromParts[i];\n\n if (part === '.') {\n spliceOne(fromParts, i);\n } else if (part === '..') {\n spliceOne(fromParts, i);\n up++;\n } else if (up) {\n spliceOne(fromParts, i);\n up--;\n }\n }\n\n if (!mustEndAbs) for (; up--; up) {\n fromParts.unshift('..');\n }\n if (mustEndAbs && fromParts[0] !== '' && (!fromParts[0] || !isAbsolute(fromParts[0]))) fromParts.unshift('');\n var result = fromParts.join('/');\n if (hasTrailingSlash && result.substr(-1) !== '/') result += '/';\n return result;\n}\n\nexport default resolvePathname;","function valueOf(obj) {\n return obj.valueOf ? obj.valueOf() : Object.prototype.valueOf.call(obj);\n}\n\nfunction valueEqual(a, b) {\n // Test for strict equality first.\n if (a === b) return true; // Otherwise, if either of them == null they are not equal.\n\n if (a == null || b == null) return false;\n\n if (Array.isArray(a)) {\n return Array.isArray(b) && a.length === b.length && a.every(function (item, index) {\n return valueEqual(item, b[index]);\n });\n }\n\n if (typeof a === 'object' || typeof b === 'object') {\n var aValue = valueOf(a);\n var bValue = valueOf(b);\n if (aValue !== a || bValue !== b) return valueEqual(aValue, bValue);\n return Object.keys(Object.assign({}, a, b)).every(function (key) {\n return valueEqual(a[key], b[key]);\n });\n }\n\n return false;\n}\n\nexport default valueEqual;","var isProduction = process.env.NODE_ENV === 'production';\nvar prefix = 'Invariant failed';\n\nfunction invariant(condition, message) {\n if (condition) {\n return;\n }\n\n if (isProduction) {\n throw new Error(prefix);\n } else {\n throw new Error(prefix + \": \" + (message || ''));\n }\n}\n\nexport default invariant;","import _extends from '@babel/runtime/helpers/esm/extends';\nimport resolvePathname from 'resolve-pathname';\nimport valueEqual from 'value-equal';\nimport warning from 'tiny-warning';\nimport invariant from 'tiny-invariant';\n\nfunction addLeadingSlash(path) {\n return path.charAt(0) === '/' ? path : '/' + path;\n}\n\nfunction stripLeadingSlash(path) {\n return path.charAt(0) === '/' ? path.substr(1) : path;\n}\n\nfunction hasBasename(path, prefix) {\n return path.toLowerCase().indexOf(prefix.toLowerCase()) === 0 && '/?#'.indexOf(path.charAt(prefix.length)) !== -1;\n}\n\nfunction stripBasename(path, prefix) {\n return hasBasename(path, prefix) ? path.substr(prefix.length) : path;\n}\n\nfunction stripTrailingSlash(path) {\n return path.charAt(path.length - 1) === '/' ? path.slice(0, -1) : path;\n}\n\nfunction parsePath(path) {\n var pathname = path || '/';\n var search = '';\n var hash = '';\n var hashIndex = pathname.indexOf('#');\n\n if (hashIndex !== -1) {\n hash = pathname.substr(hashIndex);\n pathname = pathname.substr(0, hashIndex);\n }\n\n var searchIndex = pathname.indexOf('?');\n\n if (searchIndex !== -1) {\n search = pathname.substr(searchIndex);\n pathname = pathname.substr(0, searchIndex);\n }\n\n return {\n pathname: pathname,\n search: search === '?' ? '' : search,\n hash: hash === '#' ? '' : hash\n };\n}\n\nfunction createPath(location) {\n var pathname = location.pathname,\n search = location.search,\n hash = location.hash;\n var path = pathname || '/';\n if (search && search !== '?') path += search.charAt(0) === '?' ? search : \"?\" + search;\n if (hash && hash !== '#') path += hash.charAt(0) === '#' ? hash : \"#\" + hash;\n return path;\n}\n\nfunction createLocation(path, state, key, currentLocation) {\n var location;\n\n if (typeof path === 'string') {\n // Two-arg form: push(path, state)\n location = parsePath(path);\n location.state = state;\n } else {\n // One-arg form: push(location)\n location = _extends({}, path);\n if (location.pathname === undefined) location.pathname = '';\n\n if (location.search) {\n if (location.search.charAt(0) !== '?') location.search = '?' + location.search;\n } else {\n location.search = '';\n }\n\n if (location.hash) {\n if (location.hash.charAt(0) !== '#') location.hash = '#' + location.hash;\n } else {\n location.hash = '';\n }\n\n if (state !== undefined && location.state === undefined) location.state = state;\n }\n\n try {\n location.pathname = decodeURI(location.pathname);\n } catch (e) {\n if (e instanceof URIError) {\n throw new URIError('Pathname \"' + location.pathname + '\" could not be decoded. ' + 'This is likely caused by an invalid percent-encoding.');\n } else {\n throw e;\n }\n }\n\n if (key) location.key = key;\n\n if (currentLocation) {\n // Resolve incomplete/relative pathname relative to current location.\n if (!location.pathname) {\n location.pathname = currentLocation.pathname;\n } else if (location.pathname.charAt(0) !== '/') {\n location.pathname = resolvePathname(location.pathname, currentLocation.pathname);\n }\n } else {\n // When there is no prior location and pathname is empty, set it to /\n if (!location.pathname) {\n location.pathname = '/';\n }\n }\n\n return location;\n}\n\nfunction locationsAreEqual(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash && a.key === b.key && valueEqual(a.state, b.state);\n}\n\nfunction createTransitionManager() {\n var prompt = null;\n\n function setPrompt(nextPrompt) {\n process.env.NODE_ENV !== \"production\" ? warning(prompt == null, 'A history supports only one prompt at a time') : void 0;\n prompt = nextPrompt;\n return function () {\n if (prompt === nextPrompt) prompt = null;\n };\n }\n\n function confirmTransitionTo(location, action, getUserConfirmation, callback) {\n // TODO: If another transition starts while we're still confirming\n // the previous one, we may end up in a weird state. Figure out the\n // best way to handle this.\n if (prompt != null) {\n var result = typeof prompt === 'function' ? prompt(location, action) : prompt;\n\n if (typeof result === 'string') {\n if (typeof getUserConfirmation === 'function') {\n getUserConfirmation(result, callback);\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'A history needs a getUserConfirmation function in order to use a prompt message') : void 0;\n callback(true);\n }\n } else {\n // Return false from a transition hook to cancel the transition.\n callback(result !== false);\n }\n } else {\n callback(true);\n }\n }\n\n var listeners = [];\n\n function appendListener(fn) {\n var isActive = true;\n\n function listener() {\n if (isActive) fn.apply(void 0, arguments);\n }\n\n listeners.push(listener);\n return function () {\n isActive = false;\n listeners = listeners.filter(function (item) {\n return item !== listener;\n });\n };\n }\n\n function notifyListeners() {\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n listeners.forEach(function (listener) {\n return listener.apply(void 0, args);\n });\n }\n\n return {\n setPrompt: setPrompt,\n confirmTransitionTo: confirmTransitionTo,\n appendListener: appendListener,\n notifyListeners: notifyListeners\n };\n}\n\nvar canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n\nfunction getConfirmation(message, callback) {\n callback(window.confirm(message)); // eslint-disable-line no-alert\n}\n/**\n * Returns true if the HTML5 history API is supported. Taken from Modernizr.\n *\n * https://github.com/Modernizr/Modernizr/blob/master/LICENSE\n * https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n * changed to avoid false negatives for Windows Phones: https://github.com/reactjs/react-router/issues/586\n */\n\n\nfunction supportsHistory() {\n var ua = window.navigator.userAgent;\n if ((ua.indexOf('Android 2.') !== -1 || ua.indexOf('Android 4.0') !== -1) && ua.indexOf('Mobile Safari') !== -1 && ua.indexOf('Chrome') === -1 && ua.indexOf('Windows Phone') === -1) return false;\n return window.history && 'pushState' in window.history;\n}\n/**\n * Returns true if browser fires popstate on hash change.\n * IE10 and IE11 do not.\n */\n\n\nfunction supportsPopStateOnHashChange() {\n return window.navigator.userAgent.indexOf('Trident') === -1;\n}\n/**\n * Returns false if using go(n) with hash history causes a full page reload.\n */\n\n\nfunction supportsGoWithoutReloadUsingHash() {\n return window.navigator.userAgent.indexOf('Firefox') === -1;\n}\n/**\n * Returns true if a given popstate event is an extraneous WebKit event.\n * Accounts for the fact that Chrome on iOS fires real popstate events\n * containing undefined state when pressing the back button.\n */\n\n\nfunction isExtraneousPopstateEvent(event) {\n return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1;\n}\n\nvar PopStateEvent = 'popstate';\nvar HashChangeEvent = 'hashchange';\n\nfunction getHistoryState() {\n try {\n return window.history.state || {};\n } catch (e) {\n // IE 11 sometimes throws when accessing window.history.state\n // See https://github.com/ReactTraining/history/pull/289\n return {};\n }\n}\n/**\n * Creates a history object that uses the HTML5 history API including\n * pushState, replaceState, and the popstate event.\n */\n\n\nfunction createBrowserHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Browser history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canUseHistory = supportsHistory();\n var needsHashChangeListener = !supportsPopStateOnHashChange();\n var _props = props,\n _props$forceRefresh = _props.forceRefresh,\n forceRefresh = _props$forceRefresh === void 0 ? false : _props$forceRefresh,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n\n function getDOMLocation(historyState) {\n var _ref = historyState || {},\n key = _ref.key,\n state = _ref.state;\n\n var _window$location = window.location,\n pathname = _window$location.pathname,\n search = _window$location.search,\n hash = _window$location.hash;\n var path = pathname + search + hash;\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path, state, key);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function handlePopState(event) {\n // Ignore extraneous popstate events in WebKit.\n if (isExtraneousPopstateEvent(event)) return;\n handlePop(getDOMLocation(event.state));\n }\n\n function handleHashChange() {\n handlePop(getDOMLocation(getHistoryState()));\n }\n\n var forceNextPop = false;\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of keys we've seen in sessionStorage.\n // Instead, we just default to 0 for keys we don't know.\n\n var toIndex = allKeys.indexOf(toLocation.key);\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allKeys.indexOf(fromLocation.key);\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n }\n\n var initialLocation = getDOMLocation(getHistoryState());\n var allKeys = [initialLocation.key]; // Public interface\n\n function createHref(location) {\n return basename + createPath(location);\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.pushState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.href = href;\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n var nextKeys = allKeys.slice(0, prevIndex + 1);\n nextKeys.push(location.key);\n allKeys = nextKeys;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot push state in browsers that do not support HTML5 history') : void 0;\n window.location.href = href;\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var href = createHref(location);\n var key = location.key,\n state = location.state;\n\n if (canUseHistory) {\n globalHistory.replaceState({\n key: key,\n state: state\n }, null, href);\n\n if (forceRefresh) {\n window.location.replace(href);\n } else {\n var prevIndex = allKeys.indexOf(history.location.key);\n if (prevIndex !== -1) allKeys[prevIndex] = location.key;\n setState({\n action: action,\n location: location\n });\n }\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Browser history cannot replace state in browsers that do not support HTML5 history') : void 0;\n window.location.replace(href);\n }\n });\n }\n\n function go(n) {\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.addEventListener(HashChangeEvent, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(PopStateEvent, handlePopState);\n if (needsHashChangeListener) window.removeEventListener(HashChangeEvent, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nvar HashChangeEvent$1 = 'hashchange';\nvar HashPathCoders = {\n hashbang: {\n encodePath: function encodePath(path) {\n return path.charAt(0) === '!' ? path : '!/' + stripLeadingSlash(path);\n },\n decodePath: function decodePath(path) {\n return path.charAt(0) === '!' ? path.substr(1) : path;\n }\n },\n noslash: {\n encodePath: stripLeadingSlash,\n decodePath: addLeadingSlash\n },\n slash: {\n encodePath: addLeadingSlash,\n decodePath: addLeadingSlash\n }\n};\n\nfunction stripHash(url) {\n var hashIndex = url.indexOf('#');\n return hashIndex === -1 ? url : url.slice(0, hashIndex);\n}\n\nfunction getHashPath() {\n // We can't use window.location.hash here because it's not\n // consistent across browsers - Firefox will pre-decode it!\n var href = window.location.href;\n var hashIndex = href.indexOf('#');\n return hashIndex === -1 ? '' : href.substring(hashIndex + 1);\n}\n\nfunction pushHashPath(path) {\n window.location.hash = path;\n}\n\nfunction replaceHashPath(path) {\n window.location.replace(stripHash(window.location.href) + '#' + path);\n}\n\nfunction createHashHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n !canUseDOM ? process.env.NODE_ENV !== \"production\" ? invariant(false, 'Hash history needs a DOM') : invariant(false) : void 0;\n var globalHistory = window.history;\n var canGoWithoutReload = supportsGoWithoutReloadUsingHash();\n var _props = props,\n _props$getUserConfirm = _props.getUserConfirmation,\n getUserConfirmation = _props$getUserConfirm === void 0 ? getConfirmation : _props$getUserConfirm,\n _props$hashType = _props.hashType,\n hashType = _props$hashType === void 0 ? 'slash' : _props$hashType;\n var basename = props.basename ? stripTrailingSlash(addLeadingSlash(props.basename)) : '';\n var _HashPathCoders$hashT = HashPathCoders[hashType],\n encodePath = _HashPathCoders$hashT.encodePath,\n decodePath = _HashPathCoders$hashT.decodePath;\n\n function getDOMLocation() {\n var path = decodePath(getHashPath());\n process.env.NODE_ENV !== \"production\" ? warning(!basename || hasBasename(path, basename), 'You are attempting to use a basename on a page whose URL path does not begin ' + 'with the basename. Expected path \"' + path + '\" to begin with \"' + basename + '\".') : void 0;\n if (basename) path = stripBasename(path, basename);\n return createLocation(path);\n }\n\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = globalHistory.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n var forceNextPop = false;\n var ignorePath = null;\n\n function locationsAreEqual$$1(a, b) {\n return a.pathname === b.pathname && a.search === b.search && a.hash === b.hash;\n }\n\n function handleHashChange() {\n var path = getHashPath();\n var encodedPath = encodePath(path);\n\n if (path !== encodedPath) {\n // Ensure we always have a properly-encoded hash.\n replaceHashPath(encodedPath);\n } else {\n var location = getDOMLocation();\n var prevLocation = history.location;\n if (!forceNextPop && locationsAreEqual$$1(prevLocation, location)) return; // A hashchange doesn't always == location change.\n\n if (ignorePath === createPath(location)) return; // Ignore this change; we already setState in push/replace.\n\n ignorePath = null;\n handlePop(location);\n }\n }\n\n function handlePop(location) {\n if (forceNextPop) {\n forceNextPop = false;\n setState();\n } else {\n var action = 'POP';\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location\n });\n } else {\n revertPop(location);\n }\n });\n }\n }\n\n function revertPop(fromLocation) {\n var toLocation = history.location; // TODO: We could probably make this more reliable by\n // keeping a list of paths we've seen in sessionStorage.\n // Instead, we just default to 0 for paths we don't know.\n\n var toIndex = allPaths.lastIndexOf(createPath(toLocation));\n if (toIndex === -1) toIndex = 0;\n var fromIndex = allPaths.lastIndexOf(createPath(fromLocation));\n if (fromIndex === -1) fromIndex = 0;\n var delta = toIndex - fromIndex;\n\n if (delta) {\n forceNextPop = true;\n go(delta);\n }\n } // Ensure the hash is encoded properly before doing anything else.\n\n\n var path = getHashPath();\n var encodedPath = encodePath(path);\n if (path !== encodedPath) replaceHashPath(encodedPath);\n var initialLocation = getDOMLocation();\n var allPaths = [createPath(initialLocation)]; // Public interface\n\n function createHref(location) {\n var baseTag = document.querySelector('base');\n var href = '';\n\n if (baseTag && baseTag.getAttribute('href')) {\n href = stripHash(window.location.href);\n }\n\n return href + '#' + encodePath(basename + createPath(location));\n }\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot push state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a PUSH, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n pushHashPath(encodedPath);\n var prevIndex = allPaths.lastIndexOf(createPath(history.location));\n var nextPaths = allPaths.slice(0, prevIndex + 1);\n nextPaths.push(path);\n allPaths = nextPaths;\n setState({\n action: action,\n location: location\n });\n } else {\n process.env.NODE_ENV !== \"production\" ? warning(false, 'Hash history cannot PUSH the same path; a new entry will not be added to the history stack') : void 0;\n setState();\n }\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(state === undefined, 'Hash history cannot replace state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, undefined, undefined, history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var path = createPath(location);\n var encodedPath = encodePath(basename + path);\n var hashChanged = getHashPath() !== encodedPath;\n\n if (hashChanged) {\n // We cannot tell if a hashchange was caused by a REPLACE, so we'd\n // rather setState here and ignore the hashchange. The caveat here\n // is that other hash histories in the page will consider it a POP.\n ignorePath = path;\n replaceHashPath(encodedPath);\n }\n\n var prevIndex = allPaths.indexOf(createPath(history.location));\n if (prevIndex !== -1) allPaths[prevIndex] = path;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n process.env.NODE_ENV !== \"production\" ? warning(canGoWithoutReload, 'Hash history go(n) causes a full page reload in this browser') : void 0;\n globalHistory.go(n);\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n var listenerCount = 0;\n\n function checkDOMListeners(delta) {\n listenerCount += delta;\n\n if (listenerCount === 1 && delta === 1) {\n window.addEventListener(HashChangeEvent$1, handleHashChange);\n } else if (listenerCount === 0) {\n window.removeEventListener(HashChangeEvent$1, handleHashChange);\n }\n }\n\n var isBlocked = false;\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n var unblock = transitionManager.setPrompt(prompt);\n\n if (!isBlocked) {\n checkDOMListeners(1);\n isBlocked = true;\n }\n\n return function () {\n if (isBlocked) {\n isBlocked = false;\n checkDOMListeners(-1);\n }\n\n return unblock();\n };\n }\n\n function listen(listener) {\n var unlisten = transitionManager.appendListener(listener);\n checkDOMListeners(1);\n return function () {\n checkDOMListeners(-1);\n unlisten();\n };\n }\n\n var history = {\n length: globalHistory.length,\n action: 'POP',\n location: initialLocation,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n block: block,\n listen: listen\n };\n return history;\n}\n\nfunction clamp(n, lowerBound, upperBound) {\n return Math.min(Math.max(n, lowerBound), upperBound);\n}\n/**\n * Creates a history object that stores locations in memory.\n */\n\n\nfunction createMemoryHistory(props) {\n if (props === void 0) {\n props = {};\n }\n\n var _props = props,\n getUserConfirmation = _props.getUserConfirmation,\n _props$initialEntries = _props.initialEntries,\n initialEntries = _props$initialEntries === void 0 ? ['/'] : _props$initialEntries,\n _props$initialIndex = _props.initialIndex,\n initialIndex = _props$initialIndex === void 0 ? 0 : _props$initialIndex,\n _props$keyLength = _props.keyLength,\n keyLength = _props$keyLength === void 0 ? 6 : _props$keyLength;\n var transitionManager = createTransitionManager();\n\n function setState(nextState) {\n _extends(history, nextState);\n\n history.length = history.entries.length;\n transitionManager.notifyListeners(history.location, history.action);\n }\n\n function createKey() {\n return Math.random().toString(36).substr(2, keyLength);\n }\n\n var index = clamp(initialIndex, 0, initialEntries.length - 1);\n var entries = initialEntries.map(function (entry) {\n return typeof entry === 'string' ? createLocation(entry, undefined, createKey()) : createLocation(entry, undefined, entry.key || createKey());\n }); // Public interface\n\n var createHref = createPath;\n\n function push(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to push when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'PUSH';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n var prevIndex = history.index;\n var nextIndex = prevIndex + 1;\n var nextEntries = history.entries.slice(0);\n\n if (nextEntries.length > nextIndex) {\n nextEntries.splice(nextIndex, nextEntries.length - nextIndex, location);\n } else {\n nextEntries.push(location);\n }\n\n setState({\n action: action,\n location: location,\n index: nextIndex,\n entries: nextEntries\n });\n });\n }\n\n function replace(path, state) {\n process.env.NODE_ENV !== \"production\" ? warning(!(typeof path === 'object' && path.state !== undefined && state !== undefined), 'You should avoid providing a 2nd state argument to replace when the 1st ' + 'argument is a location-like object that already has state; it is ignored') : void 0;\n var action = 'REPLACE';\n var location = createLocation(path, state, createKey(), history.location);\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (!ok) return;\n history.entries[history.index] = location;\n setState({\n action: action,\n location: location\n });\n });\n }\n\n function go(n) {\n var nextIndex = clamp(history.index + n, 0, history.entries.length - 1);\n var action = 'POP';\n var location = history.entries[nextIndex];\n transitionManager.confirmTransitionTo(location, action, getUserConfirmation, function (ok) {\n if (ok) {\n setState({\n action: action,\n location: location,\n index: nextIndex\n });\n } else {\n // Mimic the behavior of DOM histories by\n // causing a render after a cancelled POP.\n setState();\n }\n });\n }\n\n function goBack() {\n go(-1);\n }\n\n function goForward() {\n go(1);\n }\n\n function canGo(n) {\n var nextIndex = history.index + n;\n return nextIndex >= 0 && nextIndex < history.entries.length;\n }\n\n function block(prompt) {\n if (prompt === void 0) {\n prompt = false;\n }\n\n return transitionManager.setPrompt(prompt);\n }\n\n function listen(listener) {\n return transitionManager.appendListener(listener);\n }\n\n var history = {\n length: entries.length,\n action: 'POP',\n location: entries[index],\n index: index,\n entries: entries,\n createHref: createHref,\n push: push,\n replace: replace,\n go: go,\n goBack: goBack,\n goForward: goForward,\n canGo: canGo,\n block: block,\n listen: listen\n };\n return history;\n}\n\nexport { createBrowserHistory, createHashHistory, createMemoryHistory, createLocation, locationsAreEqual, parsePath, createPath };","export default function ready(loaded) {\n if (['interactive', 'complete'].includes(document.readyState)) {\n loaded();\n } else {\n document.addEventListener('DOMContentLoaded', loaded);\n }\n}\n","// Convenience function to load polyfills and return a promise when it's done.\n// If there are no polyfills, then this is just Promise.resolve() which means\n// it will execute in the same tick of the event loop (i.e. near-instant).\n\nfunction importBasePolyfills() {\n return import(/* webpackChunkName: \"base_polyfills\" */ './base_polyfills');\n}\n\nfunction importExtraPolyfills() {\n return import(/* webpackChunkName: \"extra_polyfills\" */ './extra_polyfills');\n}\n\nfunction loadPolyfills() {\n const needsBasePolyfills = !(\n Array.prototype.includes &&\n HTMLCanvasElement.prototype.toBlob &&\n window.Intl &&\n Number.isNaN &&\n Object.assign &&\n Object.values &&\n window.Symbol\n );\n\n // Latest version of Firefox and Safari do not have IntersectionObserver.\n // Edge does not have requestIdleCallback and object-fit CSS property.\n // This avoids shipping them all the polyfills.\n const needsExtraPolyfills = !(\n window.IntersectionObserver &&\n window.IntersectionObserverEntry &&\n 'isIntersecting' in IntersectionObserverEntry.prototype &&\n window.requestIdleCallback &&\n 'object-fit' in (new Image()).style\n );\n\n return Promise.all([\n needsBasePolyfills && importBasePolyfills(),\n needsExtraPolyfills && importExtraPolyfills(),\n ]);\n}\n\nexport default loadPolyfills;\n","export default function _extends() {\n _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n };\n\n return _extends.apply(this, arguments);\n}","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n'use strict';\n/**\n * Use invariant() to assert state which your program assumes to be true.\n *\n * Provide sprintf-style format (only %s is supported) and arguments\n * to provide information about what broke and what you were\n * expecting.\n *\n * The invariant message will be stripped in production, but the invariant\n * will remain to ensure logic does not differ in production.\n */\n\nvar invariant = function invariant(condition, format, a, b, c, d, e, f) {\n if (process.env.NODE_ENV !== 'production') {\n if (format === undefined) {\n throw new Error('invariant requires an error message argument');\n }\n }\n\n if (!condition) {\n var error;\n\n if (format === undefined) {\n error = new Error('Minified exception occurred; use the non-minified dev environment ' + 'for the full error message and additional helpful warnings.');\n } else {\n var args = [a, b, c, d, e, f];\n var argIndex = 0;\n error = new Error(format.replace(/%s/g, function () {\n return args[argIndex++];\n }));\n error.name = 'Invariant Violation';\n }\n\n error.framesToPop = 1; // we don't care about invariant's own frame\n\n throw error;\n }\n};\n\nmodule.exports = invariant;","/* jshint node:true */\n'use strict';\n\nvar IntlMessageFormat = require('./lib/main')['default']; // Add all locale data to `IntlMessageFormat`. This module will be ignored when\n// bundling for the browser with Browserify/Webpack.\n\n\nrequire('./lib/locales'); // Re-export `IntlMessageFormat` as the CommonJS default exports with all the\n// locale data registered, and with English set as the default locale. Define\n// the `default` prop for use with other compiled ES6 Modules.\n\n\nexports = module.exports = IntlMessageFormat;\nexports['default'] = exports;","// ------------------------------------------\n// Rellax.js\n// Buttery smooth parallax library\n// Copyright (c) 2016 Moe Amaya (@moeamaya)\n// MIT license\n//\n// Thanks to Paraxify.js and Jaime Cabllero\n// for parallax concepts\n// ------------------------------------------\n(function (root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define([], factory);\n } else if (typeof module === 'object' && module.exports) {\n // Node. Does not work with strict CommonJS, but\n // only CommonJS-like environments that support module.exports,\n // like Node.\n module.exports = factory();\n } else {\n // Browser globals (root is window)\n root.Rellax = factory();\n }\n})(typeof window !== \"undefined\" ? window : global, function () {\n var Rellax = function Rellax(el, options) {\n \"use strict\";\n\n var self = Object.create(Rellax.prototype);\n var posY = 0;\n var screenY = 0;\n var posX = 0;\n var screenX = 0;\n var blocks = [];\n var pause = true; // check what requestAnimationFrame to use, and if\n // it's not supported, use the onscroll event\n\n var loop = window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || window.msRequestAnimationFrame || window.oRequestAnimationFrame || function (callback) {\n return setTimeout(callback, 1000 / 60);\n }; // store the id for later use\n\n\n var loopId = null; // Test via a getter in the options object to see if the passive property is accessed\n\n var supportsPassive = false;\n\n try {\n var opts = Object.defineProperty({}, 'passive', {\n get: function get() {\n supportsPassive = true;\n }\n });\n window.addEventListener(\"testPassive\", null, opts);\n window.removeEventListener(\"testPassive\", null, opts);\n } catch (e) {} // check what cancelAnimation method to use\n\n\n var clearLoop = window.cancelAnimationFrame || window.mozCancelAnimationFrame || clearTimeout; // check which transform property to use\n\n var transformProp = window.transformProp || function () {\n var testEl = document.createElement('div');\n\n if (testEl.style.transform === null) {\n var vendors = ['Webkit', 'Moz', 'ms'];\n\n for (var vendor in vendors) {\n if (testEl.style[vendors[vendor] + 'Transform'] !== undefined) {\n return vendors[vendor] + 'Transform';\n }\n }\n }\n\n return 'transform';\n }(); // Default Settings\n\n\n self.options = {\n speed: -2,\n center: false,\n wrapper: null,\n relativeToWrapper: false,\n round: true,\n vertical: true,\n horizontal: false,\n callback: function callback() {}\n }; // User defined options (might have more in the future)\n\n if (options) {\n Object.keys(options).forEach(function (key) {\n self.options[key] = options[key];\n });\n } // By default, rellax class\n\n\n if (!el) {\n el = '.rellax';\n } // check if el is a className or a node\n\n\n var elements = typeof el === 'string' ? document.querySelectorAll(el) : [el]; // Now query selector\n\n if (elements.length > 0) {\n self.elems = elements;\n } // The elements don't exist\n else {\n console.warn(\"Rellax: The elements you're trying to select don't exist.\");\n return;\n } // Has a wrapper and it exists\n\n\n if (self.options.wrapper) {\n if (!self.options.wrapper.nodeType) {\n var wrapper = document.querySelector(self.options.wrapper);\n\n if (wrapper) {\n self.options.wrapper = wrapper;\n } else {\n console.warn(\"Rellax: The wrapper you're trying to use doesn't exist.\");\n return;\n }\n }\n } // Get and cache initial position of all elements\n\n\n var cacheBlocks = function cacheBlocks() {\n for (var i = 0; i < self.elems.length; i++) {\n var block = createBlock(self.elems[i]);\n blocks.push(block);\n }\n }; // Let's kick this script off\n // Build array for cached element values\n\n\n var init = function init() {\n for (var i = 0; i < blocks.length; i++) {\n self.elems[i].style.cssText = blocks[i].style;\n }\n\n blocks = [];\n screenY = window.innerHeight;\n screenX = window.innerWidth;\n setPosition();\n cacheBlocks();\n animate(); // If paused, unpause and set listener for window resizing events\n\n if (pause) {\n window.addEventListener('resize', init);\n pause = false; // Start the loop\n\n update();\n }\n }; // We want to cache the parallax blocks'\n // values: base, top, height, speed\n // el: is dom object, return: el cache values\n\n\n var createBlock = function createBlock(el) {\n var dataPercentage = el.getAttribute('data-rellax-percentage');\n var dataSpeed = el.getAttribute('data-rellax-speed');\n var dataZindex = el.getAttribute('data-rellax-zindex') || 0;\n var dataMin = el.getAttribute('data-rellax-min');\n var dataMax = el.getAttribute('data-rellax-max'); // initializing at scrollY = 0 (top of browser), scrollX = 0 (left of browser)\n // ensures elements are positioned based on HTML layout.\n //\n // If the element has the percentage attribute, the posY and posX needs to be\n // the current scroll position's value, so that the elements are still positioned based on HTML layout\n\n var wrapperPosY = self.options.wrapper ? self.options.wrapper.scrollTop : window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop; // If the option relativeToWrapper is true, use the wrappers offset to top, subtracted from the current page scroll.\n\n if (self.options.relativeToWrapper) {\n var scrollPosY = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop;\n wrapperPosY = scrollPosY - self.options.wrapper.offsetTop;\n }\n\n var posY = self.options.vertical ? dataPercentage || self.options.center ? wrapperPosY : 0 : 0;\n var posX = self.options.horizontal ? dataPercentage || self.options.center ? self.options.wrapper ? self.options.wrapper.scrollLeft : window.pageXOffset || document.documentElement.scrollLeft || document.body.scrollLeft : 0 : 0;\n var blockTop = posY + el.getBoundingClientRect().top;\n var blockHeight = el.clientHeight || el.offsetHeight || el.scrollHeight;\n var blockLeft = posX + el.getBoundingClientRect().left;\n var blockWidth = el.clientWidth || el.offsetWidth || el.scrollWidth; // apparently parallax equation everyone uses\n\n var percentageY = dataPercentage ? dataPercentage : (posY - blockTop + screenY) / (blockHeight + screenY);\n var percentageX = dataPercentage ? dataPercentage : (posX - blockLeft + screenX) / (blockWidth + screenX);\n\n if (self.options.center) {\n percentageX = 0.5;\n percentageY = 0.5;\n } // Optional individual block speed as data attr, otherwise global speed\n\n\n var speed = dataSpeed ? dataSpeed : self.options.speed;\n var bases = updatePosition(percentageX, percentageY, speed); // ~~Store non-translate3d transforms~~\n // Store inline styles and extract transforms\n\n var style = el.style.cssText;\n var transform = ''; // Check if there's an inline styled transform\n\n var searchResult = /transform\\s*:/i.exec(style);\n\n if (searchResult) {\n // Get the index of the transform\n var index = searchResult.index; // Trim the style to the transform point and get the following semi-colon index\n\n var trimmedStyle = style.slice(index);\n var delimiter = trimmedStyle.indexOf(';'); // Remove \"transform\" string and save the attribute\n\n if (delimiter) {\n transform = \" \" + trimmedStyle.slice(11, delimiter).replace(/\\s/g, '');\n } else {\n transform = \" \" + trimmedStyle.slice(11).replace(/\\s/g, '');\n }\n }\n\n return {\n baseX: bases.x,\n baseY: bases.y,\n top: blockTop,\n left: blockLeft,\n height: blockHeight,\n width: blockWidth,\n speed: speed,\n style: style,\n transform: transform,\n zindex: dataZindex,\n min: dataMin,\n max: dataMax\n };\n }; // set scroll position (posY, posX)\n // side effect method is not ideal, but okay for now\n // returns true if the scroll changed, false if nothing happened\n\n\n var setPosition = function setPosition() {\n var oldY = posY;\n var oldX = posX;\n posY = self.options.wrapper ? self.options.wrapper.scrollTop : (document.documentElement || document.body.parentNode || document.body).scrollTop || window.pageYOffset;\n posX = self.options.wrapper ? self.options.wrapper.scrollLeft : (document.documentElement || document.body.parentNode || document.body).scrollLeft || window.pageXOffset; // If option relativeToWrapper is true, use relative wrapper value instead.\n\n if (self.options.relativeToWrapper) {\n var scrollPosY = (document.documentElement || document.body.parentNode || document.body).scrollTop || window.pageYOffset;\n posY = scrollPosY - self.options.wrapper.offsetTop;\n }\n\n if (oldY != posY && self.options.vertical) {\n // scroll changed, return true\n return true;\n }\n\n if (oldX != posX && self.options.horizontal) {\n // scroll changed, return true\n return true;\n } // scroll did not change\n\n\n return false;\n }; // Ahh a pure function, gets new transform value\n // based on scrollPosition and speed\n // Allow for decimal pixel values\n\n\n var updatePosition = function updatePosition(percentageX, percentageY, speed) {\n var result = {};\n var valueX = speed * (100 * (1 - percentageX));\n var valueY = speed * (100 * (1 - percentageY));\n result.x = self.options.round ? Math.round(valueX) : Math.round(valueX * 100) / 100;\n result.y = self.options.round ? Math.round(valueY) : Math.round(valueY * 100) / 100;\n return result;\n }; // Remove event listeners and loop again\n\n\n var deferredUpdate = function deferredUpdate() {\n window.removeEventListener('resize', deferredUpdate);\n window.removeEventListener('orientationchange', deferredUpdate);\n (self.options.wrapper ? self.options.wrapper : window).removeEventListener('scroll', deferredUpdate);\n (self.options.wrapper ? self.options.wrapper : document).removeEventListener('touchmove', deferredUpdate); // loop again\n\n loopId = loop(update);\n }; // Loop\n\n\n var update = function update() {\n if (setPosition() && pause === false) {\n animate(); // loop again\n\n loopId = loop(update);\n } else {\n loopId = null; // Don't animate until we get a position updating event\n\n window.addEventListener('resize', deferredUpdate);\n window.addEventListener('orientationchange', deferredUpdate);\n (self.options.wrapper ? self.options.wrapper : window).addEventListener('scroll', deferredUpdate, supportsPassive ? {\n passive: true\n } : false);\n (self.options.wrapper ? self.options.wrapper : document).addEventListener('touchmove', deferredUpdate, supportsPassive ? {\n passive: true\n } : false);\n }\n }; // Transform3d on parallax element\n\n\n var animate = function animate() {\n var positions;\n\n for (var i = 0; i < self.elems.length; i++) {\n var percentageY = (posY - blocks[i].top + screenY) / (blocks[i].height + screenY);\n var percentageX = (posX - blocks[i].left + screenX) / (blocks[i].width + screenX); // Subtracting initialize value, so element stays in same spot as HTML\n\n positions = updatePosition(percentageX, percentageY, blocks[i].speed); // - blocks[i].baseX;\n\n var positionY = positions.y - blocks[i].baseY;\n var positionX = positions.x - blocks[i].baseX; // The next two \"if\" blocks go like this:\n // Check if a limit is defined (first \"min\", then \"max\");\n // Check if we need to change the Y or the X\n // (Currently working only if just one of the axes is enabled)\n // Then, check if the new position is inside the allowed limit\n // If so, use new position. If not, set position to limit.\n // Check if a min limit is defined\n\n if (blocks[i].min !== null) {\n if (self.options.vertical && !self.options.horizontal) {\n positionY = positionY <= blocks[i].min ? blocks[i].min : positionY;\n }\n\n if (self.options.horizontal && !self.options.vertical) {\n positionX = positionX <= blocks[i].min ? blocks[i].min : positionX;\n }\n } // Check if a max limit is defined\n\n\n if (blocks[i].max !== null) {\n if (self.options.vertical && !self.options.horizontal) {\n positionY = positionY >= blocks[i].max ? blocks[i].max : positionY;\n }\n\n if (self.options.horizontal && !self.options.vertical) {\n positionX = positionX >= blocks[i].max ? blocks[i].max : positionX;\n }\n }\n\n var zindex = blocks[i].zindex; // Move that element\n // (Set the new translation and append initial inline transforms.)\n\n var translate = 'translate3d(' + (self.options.horizontal ? positionX : '0') + 'px,' + (self.options.vertical ? positionY : '0') + 'px,' + zindex + 'px) ' + blocks[i].transform;\n self.elems[i].style[transformProp] = translate;\n }\n\n self.options.callback(positions);\n };\n\n self.destroy = function () {\n for (var i = 0; i < self.elems.length; i++) {\n self.elems[i].style.cssText = blocks[i].style;\n } // Remove resize event listener if not pause, and pause\n\n\n if (!pause) {\n window.removeEventListener('resize', init);\n pause = true;\n } // Clear the animation loop to prevent possible memory leak\n\n\n clearLoop(loopId);\n loopId = null;\n }; // Init\n\n\n init(); // Allow to recalculate the initial values whenever we want\n\n self.refresh = init;\n return self;\n };\n\n return Rellax;\n});","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react.production.min.js');\n} else {\n module.exports = require('./cjs/react.development.js');\n}","'use strict';\n\nexports = module.exports = require('./lib/memoizer')['default'];\nexports['default'] = exports;","// taken from:\n// https://github.com/twitter/twemoji/blob/47732c7/twemoji-generator.js#L848-L866\nexports.unicodeToFilename = (str) => {\n let result = '';\n let charCode = 0;\n let p = 0;\n let i = 0;\n while (i < str.length) {\n charCode = str.charCodeAt(i++);\n if (p) {\n if (result.length > 0) {\n result += '-';\n }\n result += (0x10000 + ((p - 0xD800) << 10) + (charCode - 0xDC00)).toString(16);\n p = 0;\n } else if (0xD800 <= charCode && charCode <= 0xDBFF) {\n p = charCode;\n } else {\n if (result.length > 0) {\n result += '-';\n }\n result += charCode.toString(16);\n }\n }\n return result;\n};\n","/* jshint node:true */\n'use strict';\n\nvar IntlRelativeFormat = require('./lib/main')['default']; // Add all locale data to `IntlRelativeFormat`. This module will be ignored when\n// bundling for the browser with Browserify/Webpack.\n\n\nrequire('./lib/locales'); // Re-export `IntlRelativeFormat` as the CommonJS default exports with all the\n// locale data registered, and with English set as the default locale. Define\n// the `default` prop for use with other compiled ES6 Modules.\n\n\nexports = module.exports = IntlRelativeFormat;\nexports['default'] = exports;","'use strict';\n\nfunction checkDCE() {\n /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function') {\n return;\n }\n\n if (process.env.NODE_ENV !== 'production') {\n // This branch is unreachable because this function is only called\n // in production, but the condition is true only in development.\n // Therefore if the branch is still here, dead code elimination wasn't\n // properly applied.\n // Don't change the message. React DevTools relies on it. Also make sure\n // this message doesn't occur elsewhere in this function, or it will cause\n // a false positive.\n throw new Error('^_^');\n }\n\n try {\n // Verify that the code above has been dead code eliminated (DCE'd).\n __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n } catch (err) {\n // DevTools shouldn't crash React, no matter what.\n // We should still report in case we break this code.\n console.error(err);\n }\n}\n\nif (process.env.NODE_ENV === 'production') {\n // DCE check should happen before ReactDOM bundle executes so that\n // DevTools can report bad minification during injection.\n checkDCE();\n module.exports = require('./cjs/react-dom.production.min.js');\n} else {\n module.exports = require('./cjs/react-dom.development.js');\n}","// shim for using process in browser\nvar process = module.exports = {}; // cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\n\nfunction defaultClearTimeout() {\n throw new Error('clearTimeout has not been defined');\n}\n\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n})();\n\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n } // if setTimeout wasn't available but was latter defined\n\n\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n}\n\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n } // if clearTimeout wasn't available but was latter defined\n\n\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e) {\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e) {\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n}\n\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n\n draining = false;\n\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n var len = queue.length;\n\n while (len) {\n currentQueue = queue;\n queue = [];\n\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n\n queueIndex = -1;\n len = queue.length;\n }\n\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n\n queue.push(new Item(fun, args));\n\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n}; // v8 likes predictible objects\n\n\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\n\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\n\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\n\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) {\n return [];\n};\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () {\n return '/';\n};\n\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\n\nprocess.umask = function () {\n return 0;\n};","/**\n * Copyright (c) 2013-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nif (process.env.NODE_ENV !== 'production') {\n var ReactIs = require('react-is'); // By explicitly using `prop-types` you are opting into new development behavior.\n // http://fb.me/prop-types-in-prod\n\n\n var throwOnDirectAccess = true;\n module.exports = require('./factoryWithTypeCheckers')(ReactIs.isElement, throwOnDirectAccess);\n} else {\n // By explicitly using `prop-types` you are opting into new production behavior.\n // http://fb.me/prop-types-in-prod\n module.exports = require('./factoryWithThrowingShims')();\n}","var g; // This works in non-strict mode\n\ng = function () {\n return this;\n}();\n\ntry {\n // This works if eval is allowed (see CSP)\n g = g || new Function(\"return this\")();\n} catch (e) {\n // This works if the window reference is available\n if (typeof window === \"object\") g = window;\n} // g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\n\nmodule.exports = g;","'use strict';\n/**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n\nvar ReactIs = require('react-is');\n\nvar REACT_STATICS = {\n childContextTypes: true,\n contextType: true,\n contextTypes: true,\n defaultProps: true,\n displayName: true,\n getDefaultProps: true,\n getDerivedStateFromError: true,\n getDerivedStateFromProps: true,\n mixins: true,\n propTypes: true,\n type: true\n};\nvar KNOWN_STATICS = {\n name: true,\n length: true,\n prototype: true,\n caller: true,\n callee: true,\n arguments: true,\n arity: true\n};\nvar FORWARD_REF_STATICS = {\n '$$typeof': true,\n render: true,\n defaultProps: true,\n displayName: true,\n propTypes: true\n};\nvar MEMO_STATICS = {\n '$$typeof': true,\n compare: true,\n defaultProps: true,\n displayName: true,\n propTypes: true,\n type: true\n};\nvar TYPE_STATICS = {};\nTYPE_STATICS[ReactIs.ForwardRef] = FORWARD_REF_STATICS;\n\nfunction getStatics(component) {\n if (ReactIs.isMemo(component)) {\n return MEMO_STATICS;\n }\n\n return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;\n}\n\nvar defineProperty = Object.defineProperty;\nvar getOwnPropertyNames = Object.getOwnPropertyNames;\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;\nvar getPrototypeOf = Object.getPrototypeOf;\nvar objectPrototype = Object.prototype;\n\nfunction hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {\n if (typeof sourceComponent !== 'string') {\n // don't hoist over string (html) components\n if (objectPrototype) {\n var inheritedComponent = getPrototypeOf(sourceComponent);\n\n if (inheritedComponent && inheritedComponent !== objectPrototype) {\n hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);\n }\n }\n\n var keys = getOwnPropertyNames(sourceComponent);\n\n if (getOwnPropertySymbols) {\n keys = keys.concat(getOwnPropertySymbols(sourceComponent));\n }\n\n var targetStatics = getStatics(targetComponent);\n var sourceStatics = getStatics(sourceComponent);\n\n for (var i = 0; i < keys.length; ++i) {\n var key = keys[i];\n\n if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {\n var descriptor = getOwnPropertyDescriptor(sourceComponent, key);\n\n try {\n // Avoid failures from read-only properties\n defineProperty(targetComponent, key, descriptor);\n } catch (e) {}\n }\n }\n\n return targetComponent;\n }\n\n return targetComponent;\n}\n\nmodule.exports = hoistNonReactStatics;","import loadPolyfills from 'flavours/glitch/util/load_polyfills';\nimport ready from 'flavours/glitch/util/ready';\n\nfunction main() {\n const IntlMessageFormat = require('intl-messageformat').default;\n const { timeAgoString } = require('flavours/glitch/components/relative_timestamp');\n const { delegate } = require('rails-ujs');\n const emojify = require('flavours/glitch/util/emoji').default;\n const { getLocale } = require('locales');\n const { messages } = getLocale();\n const React = require('react');\n const ReactDOM = require('react-dom');\n const Rellax = require('rellax');\n const { createBrowserHistory } = require('history');\n\n const scrollToDetailedStatus = () => {\n const history = createBrowserHistory();\n const detailedStatuses = document.querySelectorAll('.public-layout .detailed-status');\n const location = history.location;\n\n if (detailedStatuses.length === 1 && (!location.state || !location.state.scrolledToDetailedStatus)) {\n detailedStatuses[0].scrollIntoView();\n history.replace(location.pathname, { ...location.state, scrolledToDetailedStatus: true });\n }\n };\n\n const getEmojiAnimationHandler = (swapTo) => {\n return ({ target }) => {\n target.src = target.getAttribute(swapTo);\n };\n };\n\n ready(() => {\n const locale = document.documentElement.lang;\n\n const dateTimeFormat = new Intl.DateTimeFormat(locale, {\n year: 'numeric',\n month: 'long',\n day: 'numeric',\n hour: 'numeric',\n minute: 'numeric',\n });\n\n [].forEach.call(document.querySelectorAll('.emojify'), (content) => {\n content.innerHTML = emojify(content.innerHTML);\n });\n\n [].forEach.call(document.querySelectorAll('time.formatted'), (content) => {\n const datetime = new Date(content.getAttribute('datetime'));\n const formattedDate = dateTimeFormat.format(datetime);\n\n content.title = formattedDate;\n content.textContent = formattedDate;\n });\n\n [].forEach.call(document.querySelectorAll('time.time-ago'), (content) => {\n const datetime = new Date(content.getAttribute('datetime'));\n const now = new Date();\n\n content.title = dateTimeFormat.format(datetime);\n content.textContent = timeAgoString({\n formatMessage: ({ id, defaultMessage }, values) => (new IntlMessageFormat(messages[id] || defaultMessage, locale)).format(values),\n formatDate: (date, options) => (new Intl.DateTimeFormat(locale, options)).format(date),\n }, datetime, now, now.getFullYear());\n });\n\n const reactComponents = document.querySelectorAll('[data-component]');\n if (reactComponents.length > 0) {\n import(/* webpackChunkName: \"containers/media_container\" */ 'flavours/glitch/containers/media_container')\n .then(({ default: MediaContainer }) => {\n [].forEach.call(reactComponents, (component) => {\n [].forEach.call(component.children, (child) => {\n component.removeChild(child);\n });\n });\n\n const content = document.createElement('div');\n\n ReactDOM.render(<MediaContainer locale={locale} components={reactComponents} />, content);\n document.body.appendChild(content);\n scrollToDetailedStatus();\n })\n .catch(error => {\n console.error(error);\n scrollToDetailedStatus();\n });\n } else {\n scrollToDetailedStatus();\n }\n\n const parallaxComponents = document.querySelectorAll('.parallax');\n\n if (parallaxComponents.length > 0 ) {\n new Rellax('.parallax', { speed: -1 });\n }\n\n if (document.body.classList.contains('with-modals')) {\n const scrollbarWidth = window.innerWidth - document.documentElement.clientWidth;\n const scrollbarWidthStyle = document.createElement('style');\n scrollbarWidthStyle.id = 'scrollbar-width';\n document.head.appendChild(scrollbarWidthStyle);\n scrollbarWidthStyle.sheet.insertRule(`body.with-modals--active { margin-right: ${scrollbarWidth}px; }`, 0);\n }\n\n delegate(document, '.custom-emoji', 'mouseover', getEmojiAnimationHandler('data-original'));\n delegate(document, '.custom-emoji', 'mouseout', getEmojiAnimationHandler('data-static'));\n\n delegate(document, '.blocks-table button.icon-button', 'click', function(e) {\n e.preventDefault();\n\n const classList = this.firstElementChild.classList;\n classList.toggle('fa-chevron-down');\n classList.toggle('fa-chevron-up');\n this.parentElement.parentElement.nextElementSibling.classList.toggle('hidden');\n });\n });\n\n delegate(document, '.sidebar__toggle__icon', 'click', () => {\n const target = document.querySelector('.sidebar ul');\n\n if (target.style.display === 'block') {\n target.style.display = 'none';\n } else {\n target.style.display = 'block';\n }\n });\n}\n\nloadPolyfills().then(main).catch(error => {\n console.error(error);\n});\n","/*\nUnobtrusive JavaScript\nhttps://github.com/rails/rails/blob/master/actionview/app/assets/javascripts\nReleased under the MIT license\n */\n(function () {\n var context = this;\n (function () {\n (function () {\n this.Rails = {\n linkClickSelector: 'a[data-confirm], a[data-method], a[data-remote]:not([disabled]), a[data-disable-with], a[data-disable]',\n buttonClickSelector: {\n selector: 'button[data-remote]:not([form]), button[data-confirm]:not([form])',\n exclude: 'form button'\n },\n inputChangeSelector: 'select[data-remote], input[data-remote], textarea[data-remote]',\n formSubmitSelector: 'form',\n formInputClickSelector: 'form input[type=submit], form input[type=image], form button[type=submit], form button:not([type]), input[type=submit][form], input[type=image][form], button[type=submit][form], button[form]:not([type])',\n formDisableSelector: 'input[data-disable-with]:enabled, button[data-disable-with]:enabled, textarea[data-disable-with]:enabled, input[data-disable]:enabled, button[data-disable]:enabled, textarea[data-disable]:enabled',\n formEnableSelector: 'input[data-disable-with]:disabled, button[data-disable-with]:disabled, textarea[data-disable-with]:disabled, input[data-disable]:disabled, button[data-disable]:disabled, textarea[data-disable]:disabled',\n fileInputSelector: 'input[name][type=file]:not([disabled])',\n linkDisableSelector: 'a[data-disable-with], a[data-disable]',\n buttonDisableSelector: 'button[data-remote][data-disable-with], button[data-remote][data-disable]'\n };\n }).call(this);\n }).call(context);\n var Rails = context.Rails;\n (function () {\n (function () {\n var nonce;\n nonce = null;\n\n Rails.loadCSPNonce = function () {\n var ref;\n return nonce = (ref = document.querySelector(\"meta[name=csp-nonce]\")) != null ? ref.content : void 0;\n };\n\n Rails.cspNonce = function () {\n return nonce != null ? nonce : Rails.loadCSPNonce();\n };\n }).call(this);\n (function () {\n var expando, m;\n m = Element.prototype.matches || Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector;\n\n Rails.matches = function (element, selector) {\n if (selector.exclude != null) {\n return m.call(element, selector.selector) && !m.call(element, selector.exclude);\n } else {\n return m.call(element, selector);\n }\n };\n\n expando = '_ujsData';\n\n Rails.getData = function (element, key) {\n var ref;\n return (ref = element[expando]) != null ? ref[key] : void 0;\n };\n\n Rails.setData = function (element, key, value) {\n if (element[expando] == null) {\n element[expando] = {};\n }\n\n return element[expando][key] = value;\n };\n\n Rails.$ = function (selector) {\n return Array.prototype.slice.call(document.querySelectorAll(selector));\n };\n }).call(this);\n (function () {\n var $, csrfParam, csrfToken;\n $ = Rails.$;\n\n csrfToken = Rails.csrfToken = function () {\n var meta;\n meta = document.querySelector('meta[name=csrf-token]');\n return meta && meta.content;\n };\n\n csrfParam = Rails.csrfParam = function () {\n var meta;\n meta = document.querySelector('meta[name=csrf-param]');\n return meta && meta.content;\n };\n\n Rails.CSRFProtection = function (xhr) {\n var token;\n token = csrfToken();\n\n if (token != null) {\n return xhr.setRequestHeader('X-CSRF-Token', token);\n }\n };\n\n Rails.refreshCSRFTokens = function () {\n var param, token;\n token = csrfToken();\n param = csrfParam();\n\n if (token != null && param != null) {\n return $('form input[name=\"' + param + '\"]').forEach(function (input) {\n return input.value = token;\n });\n }\n };\n }).call(this);\n (function () {\n var CustomEvent, fire, matches, preventDefault;\n matches = Rails.matches;\n CustomEvent = window.CustomEvent;\n\n if (typeof CustomEvent !== 'function') {\n CustomEvent = function CustomEvent(event, params) {\n var evt;\n evt = document.createEvent('CustomEvent');\n evt.initCustomEvent(event, params.bubbles, params.cancelable, params.detail);\n return evt;\n };\n\n CustomEvent.prototype = window.Event.prototype;\n preventDefault = CustomEvent.prototype.preventDefault;\n\n CustomEvent.prototype.preventDefault = function () {\n var result;\n result = preventDefault.call(this);\n\n if (this.cancelable && !this.defaultPrevented) {\n Object.defineProperty(this, 'defaultPrevented', {\n get: function get() {\n return true;\n }\n });\n }\n\n return result;\n };\n }\n\n fire = Rails.fire = function (obj, name, data) {\n var event;\n event = new CustomEvent(name, {\n bubbles: true,\n cancelable: true,\n detail: data\n });\n obj.dispatchEvent(event);\n return !event.defaultPrevented;\n };\n\n Rails.stopEverything = function (e) {\n fire(e.target, 'ujs:everythingStopped');\n e.preventDefault();\n e.stopPropagation();\n return e.stopImmediatePropagation();\n };\n\n Rails.delegate = function (element, selector, eventType, handler) {\n return element.addEventListener(eventType, function (e) {\n var target;\n target = e.target;\n\n while (!(!(target instanceof Element) || matches(target, selector))) {\n target = target.parentNode;\n }\n\n if (target instanceof Element && handler.call(target, e) === false) {\n e.preventDefault();\n return e.stopPropagation();\n }\n });\n };\n }).call(this);\n (function () {\n var AcceptHeaders, CSRFProtection, createXHR, cspNonce, fire, prepareOptions, processResponse;\n cspNonce = Rails.cspNonce, CSRFProtection = Rails.CSRFProtection, fire = Rails.fire;\n AcceptHeaders = {\n '*': '*/*',\n text: 'text/plain',\n html: 'text/html',\n xml: 'application/xml, text/xml',\n json: 'application/json, text/javascript',\n script: 'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript'\n };\n\n Rails.ajax = function (options) {\n var xhr;\n options = prepareOptions(options);\n xhr = createXHR(options, function () {\n var ref, response;\n response = processResponse((ref = xhr.response) != null ? ref : xhr.responseText, xhr.getResponseHeader('Content-Type'));\n\n if (Math.floor(xhr.status / 100) === 2) {\n if (typeof options.success === \"function\") {\n options.success(response, xhr.statusText, xhr);\n }\n } else {\n if (typeof options.error === \"function\") {\n options.error(response, xhr.statusText, xhr);\n }\n }\n\n return typeof options.complete === \"function\" ? options.complete(xhr, xhr.statusText) : void 0;\n });\n\n if (options.beforeSend != null && !options.beforeSend(xhr, options)) {\n return false;\n }\n\n if (xhr.readyState === XMLHttpRequest.OPENED) {\n return xhr.send(options.data);\n }\n };\n\n prepareOptions = function prepareOptions(options) {\n options.url = options.url || location.href;\n options.type = options.type.toUpperCase();\n\n if (options.type === 'GET' && options.data) {\n if (options.url.indexOf('?') < 0) {\n options.url += '?' + options.data;\n } else {\n options.url += '&' + options.data;\n }\n }\n\n if (AcceptHeaders[options.dataType] == null) {\n options.dataType = '*';\n }\n\n options.accept = AcceptHeaders[options.dataType];\n\n if (options.dataType !== '*') {\n options.accept += ', */*; q=0.01';\n }\n\n return options;\n };\n\n createXHR = function createXHR(options, done) {\n var xhr;\n xhr = new XMLHttpRequest();\n xhr.open(options.type, options.url, true);\n xhr.setRequestHeader('Accept', options.accept);\n\n if (typeof options.data === 'string') {\n xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded; charset=UTF-8');\n }\n\n if (!options.crossDomain) {\n xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest');\n }\n\n CSRFProtection(xhr);\n xhr.withCredentials = !!options.withCredentials;\n\n xhr.onreadystatechange = function () {\n if (xhr.readyState === XMLHttpRequest.DONE) {\n return done(xhr);\n }\n };\n\n return xhr;\n };\n\n processResponse = function processResponse(response, type) {\n var parser, script;\n\n if (typeof response === 'string' && typeof type === 'string') {\n if (type.match(/\\bjson\\b/)) {\n try {\n response = JSON.parse(response);\n } catch (error) {}\n } else if (type.match(/\\b(?:java|ecma)script\\b/)) {\n script = document.createElement('script');\n script.setAttribute('nonce', cspNonce());\n script.text = response;\n document.head.appendChild(script).parentNode.removeChild(script);\n } else if (type.match(/\\b(xml|html|svg)\\b/)) {\n parser = new DOMParser();\n type = type.replace(/;.+/, '');\n\n try {\n response = parser.parseFromString(response, type);\n } catch (error) {}\n }\n }\n\n return response;\n };\n\n Rails.href = function (element) {\n return element.href;\n };\n\n Rails.isCrossDomain = function (url) {\n var e, originAnchor, urlAnchor;\n originAnchor = document.createElement('a');\n originAnchor.href = location.href;\n urlAnchor = document.createElement('a');\n\n try {\n urlAnchor.href = url;\n return !((!urlAnchor.protocol || urlAnchor.protocol === ':') && !urlAnchor.host || originAnchor.protocol + '//' + originAnchor.host === urlAnchor.protocol + '//' + urlAnchor.host);\n } catch (error) {\n e = error;\n return true;\n }\n };\n }).call(this);\n (function () {\n var matches, toArray;\n matches = Rails.matches;\n\n toArray = function toArray(e) {\n return Array.prototype.slice.call(e);\n };\n\n Rails.serializeElement = function (element, additionalParam) {\n var inputs, params;\n inputs = [element];\n\n if (matches(element, 'form')) {\n inputs = toArray(element.elements);\n }\n\n params = [];\n inputs.forEach(function (input) {\n if (!input.name || input.disabled) {\n return;\n }\n\n if (matches(input, 'select')) {\n return toArray(input.options).forEach(function (option) {\n if (option.selected) {\n return params.push({\n name: input.name,\n value: option.value\n });\n }\n });\n } else if (input.checked || ['radio', 'checkbox', 'submit'].indexOf(input.type) === -1) {\n return params.push({\n name: input.name,\n value: input.value\n });\n }\n });\n\n if (additionalParam) {\n params.push(additionalParam);\n }\n\n return params.map(function (param) {\n if (param.name != null) {\n return encodeURIComponent(param.name) + \"=\" + encodeURIComponent(param.value);\n } else {\n return param;\n }\n }).join('&');\n };\n\n Rails.formElements = function (form, selector) {\n if (matches(form, 'form')) {\n return toArray(form.elements).filter(function (el) {\n return matches(el, selector);\n });\n } else {\n return toArray(form.querySelectorAll(selector));\n }\n };\n }).call(this);\n (function () {\n var allowAction, fire, stopEverything;\n fire = Rails.fire, stopEverything = Rails.stopEverything;\n\n Rails.handleConfirm = function (e) {\n if (!allowAction(this)) {\n return stopEverything(e);\n }\n };\n\n allowAction = function allowAction(element) {\n var answer, callback, message;\n message = element.getAttribute('data-confirm');\n\n if (!message) {\n return true;\n }\n\n answer = false;\n\n if (fire(element, 'confirm')) {\n try {\n answer = confirm(message);\n } catch (error) {}\n\n callback = fire(element, 'confirm:complete', [answer]);\n }\n\n return answer && callback;\n };\n }).call(this);\n (function () {\n var disableFormElement, disableFormElements, disableLinkElement, enableFormElement, enableFormElements, enableLinkElement, formElements, getData, matches, setData, stopEverything;\n matches = Rails.matches, getData = Rails.getData, setData = Rails.setData, stopEverything = Rails.stopEverything, formElements = Rails.formElements;\n\n Rails.handleDisabledElement = function (e) {\n var element;\n element = this;\n\n if (element.disabled) {\n return stopEverything(e);\n }\n };\n\n Rails.enableElement = function (e) {\n var element;\n element = e instanceof Event ? e.target : e;\n\n if (matches(element, Rails.linkDisableSelector)) {\n return enableLinkElement(element);\n } else if (matches(element, Rails.buttonDisableSelector) || matches(element, Rails.formEnableSelector)) {\n return enableFormElement(element);\n } else if (matches(element, Rails.formSubmitSelector)) {\n return enableFormElements(element);\n }\n };\n\n Rails.disableElement = function (e) {\n var element;\n element = e instanceof Event ? e.target : e;\n\n if (matches(element, Rails.linkDisableSelector)) {\n return disableLinkElement(element);\n } else if (matches(element, Rails.buttonDisableSelector) || matches(element, Rails.formDisableSelector)) {\n return disableFormElement(element);\n } else if (matches(element, Rails.formSubmitSelector)) {\n return disableFormElements(element);\n }\n };\n\n disableLinkElement = function disableLinkElement(element) {\n var replacement;\n replacement = element.getAttribute('data-disable-with');\n\n if (replacement != null) {\n setData(element, 'ujs:enable-with', element.innerHTML);\n element.innerHTML = replacement;\n }\n\n element.addEventListener('click', stopEverything);\n return setData(element, 'ujs:disabled', true);\n };\n\n enableLinkElement = function enableLinkElement(element) {\n var originalText;\n originalText = getData(element, 'ujs:enable-with');\n\n if (originalText != null) {\n element.innerHTML = originalText;\n setData(element, 'ujs:enable-with', null);\n }\n\n element.removeEventListener('click', stopEverything);\n return setData(element, 'ujs:disabled', null);\n };\n\n disableFormElements = function disableFormElements(form) {\n return formElements(form, Rails.formDisableSelector).forEach(disableFormElement);\n };\n\n disableFormElement = function disableFormElement(element) {\n var replacement;\n replacement = element.getAttribute('data-disable-with');\n\n if (replacement != null) {\n if (matches(element, 'button')) {\n setData(element, 'ujs:enable-with', element.innerHTML);\n element.innerHTML = replacement;\n } else {\n setData(element, 'ujs:enable-with', element.value);\n element.value = replacement;\n }\n }\n\n element.disabled = true;\n return setData(element, 'ujs:disabled', true);\n };\n\n enableFormElements = function enableFormElements(form) {\n return formElements(form, Rails.formEnableSelector).forEach(enableFormElement);\n };\n\n enableFormElement = function enableFormElement(element) {\n var originalText;\n originalText = getData(element, 'ujs:enable-with');\n\n if (originalText != null) {\n if (matches(element, 'button')) {\n element.innerHTML = originalText;\n } else {\n element.value = originalText;\n }\n\n setData(element, 'ujs:enable-with', null);\n }\n\n element.disabled = false;\n return setData(element, 'ujs:disabled', null);\n };\n }).call(this);\n (function () {\n var stopEverything;\n stopEverything = Rails.stopEverything;\n\n Rails.handleMethod = function (e) {\n var csrfParam, csrfToken, form, formContent, href, link, method;\n link = this;\n method = link.getAttribute('data-method');\n\n if (!method) {\n return;\n }\n\n href = Rails.href(link);\n csrfToken = Rails.csrfToken();\n csrfParam = Rails.csrfParam();\n form = document.createElement('form');\n formContent = \"<input name='_method' value='\" + method + \"' type='hidden' />\";\n\n if (csrfParam != null && csrfToken != null && !Rails.isCrossDomain(href)) {\n formContent += \"<input name='\" + csrfParam + \"' value='\" + csrfToken + \"' type='hidden' />\";\n }\n\n formContent += '<input type=\"submit\" />';\n form.method = 'post';\n form.action = href;\n form.target = link.target;\n form.innerHTML = formContent;\n form.style.display = 'none';\n document.body.appendChild(form);\n form.querySelector('[type=\"submit\"]').click();\n return stopEverything(e);\n };\n }).call(this);\n (function () {\n var ajax,\n fire,\n getData,\n isCrossDomain,\n isRemote,\n matches,\n serializeElement,\n setData,\n stopEverything,\n slice = [].slice;\n matches = Rails.matches, getData = Rails.getData, setData = Rails.setData, fire = Rails.fire, stopEverything = Rails.stopEverything, ajax = Rails.ajax, isCrossDomain = Rails.isCrossDomain, serializeElement = Rails.serializeElement;\n\n isRemote = function isRemote(element) {\n var value;\n value = element.getAttribute('data-remote');\n return value != null && value !== 'false';\n };\n\n Rails.handleRemote = function (e) {\n var button, data, dataType, element, method, url, withCredentials;\n element = this;\n\n if (!isRemote(element)) {\n return true;\n }\n\n if (!fire(element, 'ajax:before')) {\n fire(element, 'ajax:stopped');\n return false;\n }\n\n withCredentials = element.getAttribute('data-with-credentials');\n dataType = element.getAttribute('data-type') || 'script';\n\n if (matches(element, Rails.formSubmitSelector)) {\n button = getData(element, 'ujs:submit-button');\n method = getData(element, 'ujs:submit-button-formmethod') || element.method;\n url = getData(element, 'ujs:submit-button-formaction') || element.getAttribute('action') || location.href;\n\n if (method.toUpperCase() === 'GET') {\n url = url.replace(/\\?.*$/, '');\n }\n\n if (element.enctype === 'multipart/form-data') {\n data = new FormData(element);\n\n if (button != null) {\n data.append(button.name, button.value);\n }\n } else {\n data = serializeElement(element, button);\n }\n\n setData(element, 'ujs:submit-button', null);\n setData(element, 'ujs:submit-button-formmethod', null);\n setData(element, 'ujs:submit-button-formaction', null);\n } else if (matches(element, Rails.buttonClickSelector) || matches(element, Rails.inputChangeSelector)) {\n method = element.getAttribute('data-method');\n url = element.getAttribute('data-url');\n data = serializeElement(element, element.getAttribute('data-params'));\n } else {\n method = element.getAttribute('data-method');\n url = Rails.href(element);\n data = element.getAttribute('data-params');\n }\n\n ajax({\n type: method || 'GET',\n url: url,\n data: data,\n dataType: dataType,\n beforeSend: function beforeSend(xhr, options) {\n if (fire(element, 'ajax:beforeSend', [xhr, options])) {\n return fire(element, 'ajax:send', [xhr]);\n } else {\n fire(element, 'ajax:stopped');\n return false;\n }\n },\n success: function success() {\n var args;\n args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n return fire(element, 'ajax:success', args);\n },\n error: function error() {\n var args;\n args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n return fire(element, 'ajax:error', args);\n },\n complete: function complete() {\n var args;\n args = 1 <= arguments.length ? slice.call(arguments, 0) : [];\n return fire(element, 'ajax:complete', args);\n },\n crossDomain: isCrossDomain(url),\n withCredentials: withCredentials != null && withCredentials !== 'false'\n });\n return stopEverything(e);\n };\n\n Rails.formSubmitButtonClick = function (e) {\n var button, form;\n button = this;\n form = button.form;\n\n if (!form) {\n return;\n }\n\n if (button.name) {\n setData(form, 'ujs:submit-button', {\n name: button.name,\n value: button.value\n });\n }\n\n setData(form, 'ujs:formnovalidate-button', button.formNoValidate);\n setData(form, 'ujs:submit-button-formaction', button.getAttribute('formaction'));\n return setData(form, 'ujs:submit-button-formmethod', button.getAttribute('formmethod'));\n };\n\n Rails.preventInsignificantClick = function (e) {\n var data, insignificantMetaClick, link, metaClick, method, primaryMouseKey;\n link = this;\n method = (link.getAttribute('data-method') || 'GET').toUpperCase();\n data = link.getAttribute('data-params');\n metaClick = e.metaKey || e.ctrlKey;\n insignificantMetaClick = metaClick && method === 'GET' && !data;\n primaryMouseKey = e.button === 0;\n\n if (!primaryMouseKey || insignificantMetaClick) {\n return e.stopImmediatePropagation();\n }\n };\n }).call(this);\n (function () {\n var $, CSRFProtection, delegate, disableElement, enableElement, fire, formSubmitButtonClick, getData, handleConfirm, handleDisabledElement, handleMethod, handleRemote, loadCSPNonce, preventInsignificantClick, refreshCSRFTokens;\n fire = Rails.fire, delegate = Rails.delegate, getData = Rails.getData, $ = Rails.$, refreshCSRFTokens = Rails.refreshCSRFTokens, CSRFProtection = Rails.CSRFProtection, loadCSPNonce = Rails.loadCSPNonce, enableElement = Rails.enableElement, disableElement = Rails.disableElement, handleDisabledElement = Rails.handleDisabledElement, handleConfirm = Rails.handleConfirm, preventInsignificantClick = Rails.preventInsignificantClick, handleRemote = Rails.handleRemote, formSubmitButtonClick = Rails.formSubmitButtonClick, handleMethod = Rails.handleMethod;\n\n if (typeof jQuery !== \"undefined\" && jQuery !== null && jQuery.ajax != null) {\n if (jQuery.rails) {\n throw new Error('If you load both jquery_ujs and rails-ujs, use rails-ujs only.');\n }\n\n jQuery.rails = Rails;\n jQuery.ajaxPrefilter(function (options, originalOptions, xhr) {\n if (!options.crossDomain) {\n return CSRFProtection(xhr);\n }\n });\n }\n\n Rails.start = function () {\n if (window._rails_loaded) {\n throw new Error('rails-ujs has already been loaded!');\n }\n\n window.addEventListener('pageshow', function () {\n $(Rails.formEnableSelector).forEach(function (el) {\n if (getData(el, 'ujs:disabled')) {\n return enableElement(el);\n }\n });\n return $(Rails.linkDisableSelector).forEach(function (el) {\n if (getData(el, 'ujs:disabled')) {\n return enableElement(el);\n }\n });\n });\n delegate(document, Rails.linkDisableSelector, 'ajax:complete', enableElement);\n delegate(document, Rails.linkDisableSelector, 'ajax:stopped', enableElement);\n delegate(document, Rails.buttonDisableSelector, 'ajax:complete', enableElement);\n delegate(document, Rails.buttonDisableSelector, 'ajax:stopped', enableElement);\n delegate(document, Rails.linkClickSelector, 'click', preventInsignificantClick);\n delegate(document, Rails.linkClickSelector, 'click', handleDisabledElement);\n delegate(document, Rails.linkClickSelector, 'click', handleConfirm);\n delegate(document, Rails.linkClickSelector, 'click', disableElement);\n delegate(document, Rails.linkClickSelector, 'click', handleRemote);\n delegate(document, Rails.linkClickSelector, 'click', handleMethod);\n delegate(document, Rails.buttonClickSelector, 'click', preventInsignificantClick);\n delegate(document, Rails.buttonClickSelector, 'click', handleDisabledElement);\n delegate(document, Rails.buttonClickSelector, 'click', handleConfirm);\n delegate(document, Rails.buttonClickSelector, 'click', disableElement);\n delegate(document, Rails.buttonClickSelector, 'click', handleRemote);\n delegate(document, Rails.inputChangeSelector, 'change', handleDisabledElement);\n delegate(document, Rails.inputChangeSelector, 'change', handleConfirm);\n delegate(document, Rails.inputChangeSelector, 'change', handleRemote);\n delegate(document, Rails.formSubmitSelector, 'submit', handleDisabledElement);\n delegate(document, Rails.formSubmitSelector, 'submit', handleConfirm);\n delegate(document, Rails.formSubmitSelector, 'submit', handleRemote);\n delegate(document, Rails.formSubmitSelector, 'submit', function (e) {\n return setTimeout(function () {\n return disableElement(e);\n }, 13);\n });\n delegate(document, Rails.formSubmitSelector, 'ajax:send', disableElement);\n delegate(document, Rails.formSubmitSelector, 'ajax:complete', enableElement);\n delegate(document, Rails.formInputClickSelector, 'click', preventInsignificantClick);\n delegate(document, Rails.formInputClickSelector, 'click', handleDisabledElement);\n delegate(document, Rails.formInputClickSelector, 'click', handleConfirm);\n delegate(document, Rails.formInputClickSelector, 'click', formSubmitButtonClick);\n document.addEventListener('DOMContentLoaded', refreshCSRFTokens);\n document.addEventListener('DOMContentLoaded', loadCSPNonce);\n return window._rails_loaded = true;\n };\n\n if (window.Rails === Rails && fire(document, 'rails:attachBindings')) {\n Rails.start();\n }\n }).call(this);\n }).call(this);\n\n if (typeof module === \"object\" && module.exports) {\n module.exports = Rails;\n } else if (typeof define === \"function\" && define.amd) {\n define(Rails);\n }\n}).call(this);","/*\n * Copyright 2019, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\nimport allLocaleData from '../locale-data/index.js';\nimport IntlMessageFormat from 'intl-messageformat';\nimport IntlRelativeFormat from 'intl-relativeformat';\nimport PropTypes from 'prop-types';\nimport React, { Children, Component, createElement, isValidElement } from 'react';\nimport hoistNonReactStatics from 'hoist-non-react-statics';\nimport invariant from 'invariant';\nimport memoizeIntlConstructor from 'intl-format-cache'; // GENERATED FILE\n\nvar defaultLocaleData = {\n \"locale\": \"en\",\n \"pluralRuleFunction\": function pluralRuleFunction(n, ord) {\n var s = String(n).split(\".\"),\n v0 = !s[1],\n t0 = Number(s[0]) == n,\n n10 = t0 && s[0].slice(-1),\n n100 = t0 && s[0].slice(-2);\n if (ord) return n10 == 1 && n100 != 11 ? \"one\" : n10 == 2 && n100 != 12 ? \"two\" : n10 == 3 && n100 != 13 ? \"few\" : \"other\";\n return n == 1 && v0 ? \"one\" : \"other\";\n },\n \"fields\": {\n \"year\": {\n \"displayName\": \"year\",\n \"relative\": {\n \"0\": \"this year\",\n \"1\": \"next year\",\n \"-1\": \"last year\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} year\",\n \"other\": \"in {0} years\"\n },\n \"past\": {\n \"one\": \"{0} year ago\",\n \"other\": \"{0} years ago\"\n }\n }\n },\n \"year-short\": {\n \"displayName\": \"yr.\",\n \"relative\": {\n \"0\": \"this yr.\",\n \"1\": \"next yr.\",\n \"-1\": \"last yr.\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} yr.\",\n \"other\": \"in {0} yr.\"\n },\n \"past\": {\n \"one\": \"{0} yr. ago\",\n \"other\": \"{0} yr. ago\"\n }\n }\n },\n \"month\": {\n \"displayName\": \"month\",\n \"relative\": {\n \"0\": \"this month\",\n \"1\": \"next month\",\n \"-1\": \"last month\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} month\",\n \"other\": \"in {0} months\"\n },\n \"past\": {\n \"one\": \"{0} month ago\",\n \"other\": \"{0} months ago\"\n }\n }\n },\n \"month-short\": {\n \"displayName\": \"mo.\",\n \"relative\": {\n \"0\": \"this mo.\",\n \"1\": \"next mo.\",\n \"-1\": \"last mo.\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} mo.\",\n \"other\": \"in {0} mo.\"\n },\n \"past\": {\n \"one\": \"{0} mo. ago\",\n \"other\": \"{0} mo. ago\"\n }\n }\n },\n \"day\": {\n \"displayName\": \"day\",\n \"relative\": {\n \"0\": \"today\",\n \"1\": \"tomorrow\",\n \"-1\": \"yesterday\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} day\",\n \"other\": \"in {0} days\"\n },\n \"past\": {\n \"one\": \"{0} day ago\",\n \"other\": \"{0} days ago\"\n }\n }\n },\n \"day-short\": {\n \"displayName\": \"day\",\n \"relative\": {\n \"0\": \"today\",\n \"1\": \"tomorrow\",\n \"-1\": \"yesterday\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} day\",\n \"other\": \"in {0} days\"\n },\n \"past\": {\n \"one\": \"{0} day ago\",\n \"other\": \"{0} days ago\"\n }\n }\n },\n \"hour\": {\n \"displayName\": \"hour\",\n \"relative\": {\n \"0\": \"this hour\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} hour\",\n \"other\": \"in {0} hours\"\n },\n \"past\": {\n \"one\": \"{0} hour ago\",\n \"other\": \"{0} hours ago\"\n }\n }\n },\n \"hour-short\": {\n \"displayName\": \"hr.\",\n \"relative\": {\n \"0\": \"this hour\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} hr.\",\n \"other\": \"in {0} hr.\"\n },\n \"past\": {\n \"one\": \"{0} hr. ago\",\n \"other\": \"{0} hr. ago\"\n }\n }\n },\n \"minute\": {\n \"displayName\": \"minute\",\n \"relative\": {\n \"0\": \"this minute\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} minute\",\n \"other\": \"in {0} minutes\"\n },\n \"past\": {\n \"one\": \"{0} minute ago\",\n \"other\": \"{0} minutes ago\"\n }\n }\n },\n \"minute-short\": {\n \"displayName\": \"min.\",\n \"relative\": {\n \"0\": \"this minute\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} min.\",\n \"other\": \"in {0} min.\"\n },\n \"past\": {\n \"one\": \"{0} min. ago\",\n \"other\": \"{0} min. ago\"\n }\n }\n },\n \"second\": {\n \"displayName\": \"second\",\n \"relative\": {\n \"0\": \"now\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} second\",\n \"other\": \"in {0} seconds\"\n },\n \"past\": {\n \"one\": \"{0} second ago\",\n \"other\": \"{0} seconds ago\"\n }\n }\n },\n \"second-short\": {\n \"displayName\": \"sec.\",\n \"relative\": {\n \"0\": \"now\"\n },\n \"relativeTime\": {\n \"future\": {\n \"one\": \"in {0} sec.\",\n \"other\": \"in {0} sec.\"\n },\n \"past\": {\n \"one\": \"{0} sec. ago\",\n \"other\": \"{0} sec. ago\"\n }\n }\n }\n }\n};\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\nfunction addLocaleData() {\n var data = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var locales = Array.isArray(data) ? data : [data];\n locales.forEach(function (localeData) {\n if (localeData && localeData.locale) {\n IntlMessageFormat.__addLocaleData(localeData);\n\n IntlRelativeFormat.__addLocaleData(localeData);\n }\n });\n}\n\nfunction hasLocaleData(locale) {\n var localeParts = (locale || '').split('-');\n\n while (localeParts.length > 0) {\n if (hasIMFAndIRFLocaleData(localeParts.join('-'))) {\n return true;\n }\n\n localeParts.pop();\n }\n\n return false;\n}\n\nfunction hasIMFAndIRFLocaleData(locale) {\n var normalizedLocale = locale && locale.toLowerCase();\n return !!(IntlMessageFormat.__localeData__[normalizedLocale] && IntlRelativeFormat.__localeData__[normalizedLocale]);\n}\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n return typeof obj;\n} : function (obj) {\n return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\nvar asyncGenerator = function () {\n function AwaitValue(value) {\n this.value = value;\n }\n\n function AsyncGenerator(gen) {\n var front, back;\n\n function send(key, arg) {\n return new Promise(function (resolve, reject) {\n var request = {\n key: key,\n arg: arg,\n resolve: resolve,\n reject: reject,\n next: null\n };\n\n if (back) {\n back = back.next = request;\n } else {\n front = back = request;\n resume(key, arg);\n }\n });\n }\n\n function resume(key, arg) {\n try {\n var result = gen[key](arg);\n var value = result.value;\n\n if (value instanceof AwaitValue) {\n Promise.resolve(value.value).then(function (arg) {\n resume(\"next\", arg);\n }, function (arg) {\n resume(\"throw\", arg);\n });\n } else {\n settle(result.done ? \"return\" : \"normal\", result.value);\n }\n } catch (err) {\n settle(\"throw\", err);\n }\n }\n\n function settle(type, value) {\n switch (type) {\n case \"return\":\n front.resolve({\n value: value,\n done: true\n });\n break;\n\n case \"throw\":\n front.reject(value);\n break;\n\n default:\n front.resolve({\n value: value,\n done: false\n });\n break;\n }\n\n front = front.next;\n\n if (front) {\n resume(front.key, front.arg);\n } else {\n back = null;\n }\n }\n\n this._invoke = send;\n\n if (typeof gen.return !== \"function\") {\n this.return = undefined;\n }\n }\n\n if (typeof Symbol === \"function\" && Symbol.asyncIterator) {\n AsyncGenerator.prototype[Symbol.asyncIterator] = function () {\n return this;\n };\n }\n\n AsyncGenerator.prototype.next = function (arg) {\n return this._invoke(\"next\", arg);\n };\n\n AsyncGenerator.prototype.throw = function (arg) {\n return this._invoke(\"throw\", arg);\n };\n\n AsyncGenerator.prototype.return = function (arg) {\n return this._invoke(\"return\", arg);\n };\n\n return {\n wrap: function wrap(fn) {\n return function () {\n return new AsyncGenerator(fn.apply(this, arguments));\n };\n },\n await: function _await(value) {\n return new AwaitValue(value);\n }\n };\n}();\n\nvar classCallCheck = function classCallCheck(instance, Constructor) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\");\n }\n};\n\nvar createClass = function () {\n function defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var descriptor = props[i];\n descriptor.enumerable = descriptor.enumerable || false;\n descriptor.configurable = true;\n if (\"value\" in descriptor) descriptor.writable = true;\n Object.defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n return function (Constructor, protoProps, staticProps) {\n if (protoProps) defineProperties(Constructor.prototype, protoProps);\n if (staticProps) defineProperties(Constructor, staticProps);\n return Constructor;\n };\n}();\n\nvar defineProperty = function defineProperty(obj, key, value) {\n if (key in obj) {\n Object.defineProperty(obj, key, {\n value: value,\n enumerable: true,\n configurable: true,\n writable: true\n });\n } else {\n obj[key] = value;\n }\n\n return obj;\n};\n\nvar _extends = Object.assign || function (target) {\n for (var i = 1; i < arguments.length; i++) {\n var source = arguments[i];\n\n for (var key in source) {\n if (Object.prototype.hasOwnProperty.call(source, key)) {\n target[key] = source[key];\n }\n }\n }\n\n return target;\n};\n\nvar inherits = function inherits(subClass, superClass) {\n if (typeof superClass !== \"function\" && superClass !== null) {\n throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass);\n }\n\n subClass.prototype = Object.create(superClass && superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass;\n};\n\nvar objectWithoutProperties = function objectWithoutProperties(obj, keys) {\n var target = {};\n\n for (var i in obj) {\n if (keys.indexOf(i) >= 0) continue;\n if (!Object.prototype.hasOwnProperty.call(obj, i)) continue;\n target[i] = obj[i];\n }\n\n return target;\n};\n\nvar possibleConstructorReturn = function possibleConstructorReturn(self, call) {\n if (!self) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self;\n};\n\nvar toConsumableArray = function toConsumableArray(arr) {\n if (Array.isArray(arr)) {\n for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n } else {\n return Array.from(arr);\n }\n};\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\n\nvar bool = PropTypes.bool;\nvar number = PropTypes.number;\nvar string = PropTypes.string;\nvar func = PropTypes.func;\nvar object = PropTypes.object;\nvar oneOf = PropTypes.oneOf;\nvar shape = PropTypes.shape;\nvar any = PropTypes.any;\nvar oneOfType = PropTypes.oneOfType;\nvar localeMatcher = oneOf(['best fit', 'lookup']);\nvar narrowShortLong = oneOf(['narrow', 'short', 'long']);\nvar numeric2digit = oneOf(['numeric', '2-digit']);\nvar funcReq = func.isRequired;\nvar intlConfigPropTypes = {\n locale: string,\n timeZone: string,\n formats: object,\n messages: object,\n textComponent: any,\n defaultLocale: string,\n defaultFormats: object,\n onError: func\n};\nvar intlFormatPropTypes = {\n formatDate: funcReq,\n formatTime: funcReq,\n formatRelative: funcReq,\n formatNumber: funcReq,\n formatPlural: funcReq,\n formatMessage: funcReq,\n formatHTMLMessage: funcReq\n};\nvar intlShape = shape(_extends({}, intlConfigPropTypes, intlFormatPropTypes, {\n formatters: object,\n now: funcReq\n}));\nvar messageDescriptorPropTypes = {\n id: string.isRequired,\n description: oneOfType([string, object]),\n defaultMessage: string\n};\nvar dateTimeFormatPropTypes = {\n localeMatcher: localeMatcher,\n formatMatcher: oneOf(['basic', 'best fit']),\n timeZone: string,\n hour12: bool,\n weekday: narrowShortLong,\n era: narrowShortLong,\n year: numeric2digit,\n month: oneOf(['numeric', '2-digit', 'narrow', 'short', 'long']),\n day: numeric2digit,\n hour: numeric2digit,\n minute: numeric2digit,\n second: numeric2digit,\n timeZoneName: oneOf(['short', 'long'])\n};\nvar numberFormatPropTypes = {\n localeMatcher: localeMatcher,\n style: oneOf(['decimal', 'currency', 'percent']),\n currency: string,\n currencyDisplay: oneOf(['symbol', 'code', 'name']),\n useGrouping: bool,\n minimumIntegerDigits: number,\n minimumFractionDigits: number,\n maximumFractionDigits: number,\n minimumSignificantDigits: number,\n maximumSignificantDigits: number\n};\nvar relativeFormatPropTypes = {\n style: oneOf(['best fit', 'numeric']),\n units: oneOf(['second', 'minute', 'hour', 'day', 'month', 'year', 'second-short', 'minute-short', 'hour-short', 'day-short', 'month-short', 'year-short'])\n};\nvar pluralFormatPropTypes = {\n style: oneOf(['cardinal', 'ordinal'])\n};\n/*\nHTML escaping and shallow-equals implementations are the same as React's\n(on purpose.) Therefore, it has the following Copyright and Licensing:\n\nCopyright 2013-2014, Facebook, Inc.\nAll rights reserved.\n\nThis source code is licensed under the BSD-style license found in the LICENSE\nfile in the root directory of React's source tree.\n*/\n\nvar intlConfigPropNames = Object.keys(intlConfigPropTypes);\nvar ESCAPED_CHARS = {\n '&': '&amp;',\n '>': '&gt;',\n '<': '&lt;',\n '\"': '&quot;',\n \"'\": '&#x27;'\n};\nvar UNSAFE_CHARS_REGEX = /[&><\"']/g;\n\nfunction escape(str) {\n return ('' + str).replace(UNSAFE_CHARS_REGEX, function (match) {\n return ESCAPED_CHARS[match];\n });\n}\n\nfunction filterProps(props, whitelist) {\n var defaults$$1 = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n return whitelist.reduce(function (filtered, name) {\n if (props.hasOwnProperty(name)) {\n filtered[name] = props[name];\n } else if (defaults$$1.hasOwnProperty(name)) {\n filtered[name] = defaults$$1[name];\n }\n\n return filtered;\n }, {});\n}\n\nfunction invariantIntlContext() {\n var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n intl = _ref.intl;\n\n invariant(intl, '[React Intl] Could not find required `intl` object. ' + '<IntlProvider> needs to exist in the component ancestry.');\n}\n\nfunction shallowEquals(objA, objB) {\n if (objA === objB) {\n return true;\n }\n\n if ((typeof objA === 'undefined' ? 'undefined' : _typeof(objA)) !== 'object' || objA === null || (typeof objB === 'undefined' ? 'undefined' : _typeof(objB)) !== 'object' || objB === null) {\n return false;\n }\n\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n\n if (keysA.length !== keysB.length) {\n return false;\n } // Test for A's keys different from B.\n\n\n var bHasOwnProperty = Object.prototype.hasOwnProperty.bind(objB);\n\n for (var i = 0; i < keysA.length; i++) {\n if (!bHasOwnProperty(keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction shouldIntlComponentUpdate(_ref2, nextProps, nextState) {\n var props = _ref2.props,\n state = _ref2.state,\n _ref2$context = _ref2.context,\n context = _ref2$context === undefined ? {} : _ref2$context;\n var nextContext = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var _context$intl = context.intl,\n intl = _context$intl === undefined ? {} : _context$intl;\n var _nextContext$intl = nextContext.intl,\n nextIntl = _nextContext$intl === undefined ? {} : _nextContext$intl;\n return !shallowEquals(nextProps, props) || !shallowEquals(nextState, state) || !(nextIntl === intl || shallowEquals(filterProps(nextIntl, intlConfigPropNames), filterProps(intl, intlConfigPropNames)));\n}\n\nfunction createError(message, exception) {\n var eMsg = exception ? '\\n' + exception : '';\n return '[React Intl] ' + message + eMsg;\n}\n\nfunction defaultErrorHandler(error) {\n if (process.env.NODE_ENV !== 'production') {\n console.error(error);\n }\n}\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n// Inspired by react-redux's `connect()` HOC factory function implementation:\n// https://github.com/rackt/react-redux\n\n\nfunction getDisplayName(Component$$1) {\n return Component$$1.displayName || Component$$1.name || 'Component';\n}\n\nfunction injectIntl(WrappedComponent) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var _options$intlPropName = options.intlPropName,\n intlPropName = _options$intlPropName === undefined ? 'intl' : _options$intlPropName,\n _options$withRef = options.withRef,\n withRef = _options$withRef === undefined ? false : _options$withRef;\n\n var InjectIntl = function (_Component) {\n inherits(InjectIntl, _Component);\n\n function InjectIntl(props, context) {\n classCallCheck(this, InjectIntl);\n\n var _this = possibleConstructorReturn(this, (InjectIntl.__proto__ || Object.getPrototypeOf(InjectIntl)).call(this, props, context));\n\n invariantIntlContext(context);\n return _this;\n }\n\n createClass(InjectIntl, [{\n key: 'getWrappedInstance',\n value: function getWrappedInstance() {\n invariant(withRef, '[React Intl] To access the wrapped instance, ' + 'the `{withRef: true}` option must be set when calling: ' + '`injectIntl()`');\n return this._wrappedInstance;\n }\n }, {\n key: 'render',\n value: function render() {\n var _this2 = this;\n\n return React.createElement(WrappedComponent, _extends({}, this.props, defineProperty({}, intlPropName, this.context.intl), {\n ref: withRef ?\n /* istanbul ignore next */\n function (ref) {\n return _this2._wrappedInstance = ref;\n } : null\n }));\n }\n }]);\n return InjectIntl;\n }(Component);\n\n InjectIntl.displayName = 'InjectIntl(' + getDisplayName(WrappedComponent) + ')';\n InjectIntl.contextTypes = {\n intl: intlShape\n };\n InjectIntl.WrappedComponent = WrappedComponent;\n return hoistNonReactStatics(InjectIntl, WrappedComponent);\n}\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\n\nfunction defineMessages(messageDescriptors) {\n // This simply returns what's passed-in because it's meant to be a hook for\n // babel-plugin-react-intl.\n return messageDescriptors;\n}\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n// This is a \"hack\" until a proper `intl-pluralformat` package is created.\n\n\nfunction resolveLocale(locales) {\n // IntlMessageFormat#_resolveLocale() does not depend on `this`.\n return IntlMessageFormat.prototype._resolveLocale(locales);\n}\n\nfunction findPluralFunction(locale) {\n // IntlMessageFormat#_findPluralFunction() does not depend on `this`.\n return IntlMessageFormat.prototype._findPluralRuleFunction(locale);\n}\n\nvar IntlPluralFormat = function IntlPluralFormat(locales) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n classCallCheck(this, IntlPluralFormat);\n var useOrdinal = options.style === 'ordinal';\n var pluralFn = findPluralFunction(resolveLocale(locales));\n\n this.format = function (value) {\n return pluralFn(value, useOrdinal);\n };\n};\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\n\nvar DATE_TIME_FORMAT_OPTIONS = Object.keys(dateTimeFormatPropTypes);\nvar NUMBER_FORMAT_OPTIONS = Object.keys(numberFormatPropTypes);\nvar RELATIVE_FORMAT_OPTIONS = Object.keys(relativeFormatPropTypes);\nvar PLURAL_FORMAT_OPTIONS = Object.keys(pluralFormatPropTypes);\nvar RELATIVE_FORMAT_THRESHOLDS = {\n second: 60,\n // seconds to minute\n minute: 60,\n // minutes to hour\n hour: 24,\n // hours to day\n day: 30,\n // days to month\n month: 12\n};\n\nfunction updateRelativeFormatThresholds(newThresholds) {\n var thresholds = IntlRelativeFormat.thresholds;\n thresholds.second = newThresholds.second;\n thresholds.minute = newThresholds.minute;\n thresholds.hour = newThresholds.hour;\n thresholds.day = newThresholds.day;\n thresholds.month = newThresholds.month;\n thresholds['second-short'] = newThresholds['second-short'];\n thresholds['minute-short'] = newThresholds['minute-short'];\n thresholds['hour-short'] = newThresholds['hour-short'];\n thresholds['day-short'] = newThresholds['day-short'];\n thresholds['month-short'] = newThresholds['month-short'];\n}\n\nfunction getNamedFormat(formats, type, name, onError) {\n var format = formats && formats[type] && formats[type][name];\n\n if (format) {\n return format;\n }\n\n onError(createError('No ' + type + ' format named: ' + name));\n}\n\nfunction formatDate(config, state, value) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var locale = config.locale,\n formats = config.formats,\n timeZone = config.timeZone;\n var format = options.format;\n var onError = config.onError || defaultErrorHandler;\n var date = new Date(value);\n\n var defaults$$1 = _extends({}, timeZone && {\n timeZone: timeZone\n }, format && getNamedFormat(formats, 'date', format, onError));\n\n var filteredOptions = filterProps(options, DATE_TIME_FORMAT_OPTIONS, defaults$$1);\n\n try {\n return state.getDateTimeFormat(locale, filteredOptions).format(date);\n } catch (e) {\n onError(createError('Error formatting date.', e));\n }\n\n return String(date);\n}\n\nfunction formatTime(config, state, value) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var locale = config.locale,\n formats = config.formats,\n timeZone = config.timeZone;\n var format = options.format;\n var onError = config.onError || defaultErrorHandler;\n var date = new Date(value);\n\n var defaults$$1 = _extends({}, timeZone && {\n timeZone: timeZone\n }, format && getNamedFormat(formats, 'time', format, onError));\n\n var filteredOptions = filterProps(options, DATE_TIME_FORMAT_OPTIONS, defaults$$1);\n\n if (!filteredOptions.hour && !filteredOptions.minute && !filteredOptions.second) {\n // Add default formatting options if hour, minute, or second isn't defined.\n filteredOptions = _extends({}, filteredOptions, {\n hour: 'numeric',\n minute: 'numeric'\n });\n }\n\n try {\n return state.getDateTimeFormat(locale, filteredOptions).format(date);\n } catch (e) {\n onError(createError('Error formatting time.', e));\n }\n\n return String(date);\n}\n\nfunction formatRelative(config, state, value) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var locale = config.locale,\n formats = config.formats;\n var format = options.format;\n var onError = config.onError || defaultErrorHandler;\n var date = new Date(value);\n var now = new Date(options.now);\n var defaults$$1 = format && getNamedFormat(formats, 'relative', format, onError);\n var filteredOptions = filterProps(options, RELATIVE_FORMAT_OPTIONS, defaults$$1); // Capture the current threshold values, then temporarily override them with\n // specific values just for this render.\n\n var oldThresholds = _extends({}, IntlRelativeFormat.thresholds);\n\n updateRelativeFormatThresholds(RELATIVE_FORMAT_THRESHOLDS);\n\n try {\n return state.getRelativeFormat(locale, filteredOptions).format(date, {\n now: isFinite(now) ? now : state.now()\n });\n } catch (e) {\n onError(createError('Error formatting relative time.', e));\n } finally {\n updateRelativeFormatThresholds(oldThresholds);\n }\n\n return String(date);\n}\n\nfunction formatNumber(config, state, value) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var locale = config.locale,\n formats = config.formats;\n var format = options.format;\n var onError = config.onError || defaultErrorHandler;\n var defaults$$1 = format && getNamedFormat(formats, 'number', format, onError);\n var filteredOptions = filterProps(options, NUMBER_FORMAT_OPTIONS, defaults$$1);\n\n try {\n return state.getNumberFormat(locale, filteredOptions).format(value);\n } catch (e) {\n onError(createError('Error formatting number.', e));\n }\n\n return String(value);\n}\n\nfunction formatPlural(config, state, value) {\n var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var locale = config.locale;\n var filteredOptions = filterProps(options, PLURAL_FORMAT_OPTIONS);\n var onError = config.onError || defaultErrorHandler;\n\n try {\n return state.getPluralFormat(locale, filteredOptions).format(value);\n } catch (e) {\n onError(createError('Error formatting plural.', e));\n }\n\n return 'other';\n}\n\nfunction formatMessage(config, state) {\n var messageDescriptor = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var values = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n var locale = config.locale,\n formats = config.formats,\n messages = config.messages,\n defaultLocale = config.defaultLocale,\n defaultFormats = config.defaultFormats;\n var id = messageDescriptor.id,\n defaultMessage = messageDescriptor.defaultMessage; // Produce a better error if the user calls `intl.formatMessage(element)`\n\n if (process.env.NODE_ENV !== 'production') {\n invariant(!isValidElement(config), '[React Intl] Don\\'t pass React elements to ' + 'formatMessage(), pass `.props`.');\n } // `id` is a required field of a Message Descriptor.\n\n\n invariant(id, '[React Intl] An `id` must be provided to format a message.');\n var message = messages && messages[id];\n var hasValues = Object.keys(values).length > 0; // Avoid expensive message formatting for simple messages without values. In\n // development messages will always be formatted in case of missing values.\n\n if (!hasValues && process.env.NODE_ENV === 'production') {\n return message || defaultMessage || id;\n }\n\n var formattedMessage = void 0;\n var onError = config.onError || defaultErrorHandler;\n\n if (message) {\n try {\n var formatter = state.getMessageFormat(message, locale, formats);\n formattedMessage = formatter.format(values);\n } catch (e) {\n onError(createError('Error formatting message: \"' + id + '\" for locale: \"' + locale + '\"' + (defaultMessage ? ', using default message as fallback.' : ''), e));\n }\n } else {\n // This prevents warnings from littering the console in development\n // when no `messages` are passed into the <IntlProvider> for the\n // default locale, and a default message is in the source.\n if (!defaultMessage || locale && locale.toLowerCase() !== defaultLocale.toLowerCase()) {\n onError(createError('Missing message: \"' + id + '\" for locale: \"' + locale + '\"' + (defaultMessage ? ', using default message as fallback.' : '')));\n }\n }\n\n if (!formattedMessage && defaultMessage) {\n try {\n var _formatter = state.getMessageFormat(defaultMessage, defaultLocale, defaultFormats);\n\n formattedMessage = _formatter.format(values);\n } catch (e) {\n onError(createError('Error formatting the default message for: \"' + id + '\"', e));\n }\n }\n\n if (!formattedMessage) {\n onError(createError('Cannot format message: \"' + id + '\", ' + ('using message ' + (message || defaultMessage ? 'source' : 'id') + ' as fallback.')));\n }\n\n return formattedMessage || message || defaultMessage || id;\n}\n\nfunction formatHTMLMessage(config, state, messageDescriptor) {\n var rawValues = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {}; // Process all the values before they are used when formatting the ICU\n // Message string. Since the formatted message might be injected via\n // `innerHTML`, all String-based values need to be HTML-escaped.\n\n var escapedValues = Object.keys(rawValues).reduce(function (escaped, name) {\n var value = rawValues[name];\n escaped[name] = typeof value === 'string' ? escape(value) : value;\n return escaped;\n }, {});\n return formatMessage(config, state, messageDescriptor, escapedValues);\n}\n\nvar format = Object.freeze({\n formatDate: formatDate,\n formatTime: formatTime,\n formatRelative: formatRelative,\n formatNumber: formatNumber,\n formatPlural: formatPlural,\n formatMessage: formatMessage,\n formatHTMLMessage: formatHTMLMessage\n});\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\nvar intlConfigPropNames$1 = Object.keys(intlConfigPropTypes);\nvar intlFormatPropNames = Object.keys(intlFormatPropTypes); // These are not a static property on the `IntlProvider` class so the intl\n// config values can be inherited from an <IntlProvider> ancestor.\n\nvar defaultProps = {\n formats: {},\n messages: {},\n timeZone: null,\n textComponent: 'span',\n defaultLocale: 'en',\n defaultFormats: {},\n onError: defaultErrorHandler\n};\n\nvar IntlProvider = function (_Component) {\n inherits(IntlProvider, _Component);\n\n function IntlProvider(props) {\n var context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n classCallCheck(this, IntlProvider);\n\n var _this = possibleConstructorReturn(this, (IntlProvider.__proto__ || Object.getPrototypeOf(IntlProvider)).call(this, props, context));\n\n invariant(typeof Intl !== 'undefined', '[React Intl] The `Intl` APIs must be available in the runtime, ' + 'and do not appear to be built-in. An `Intl` polyfill should be loaded.\\n' + 'See: http://formatjs.io/guides/runtime-environments/');\n var intlContext = context.intl; // Used to stabilize time when performing an initial rendering so that\n // all relative times use the same reference \"now\" time.\n\n var initialNow = void 0;\n\n if (isFinite(props.initialNow)) {\n initialNow = Number(props.initialNow);\n } else {\n // When an `initialNow` isn't provided via `props`, look to see an\n // <IntlProvider> exists in the ancestry and call its `now()`\n // function to propagate its value for \"now\".\n initialNow = intlContext ? intlContext.now() : Date.now();\n } // Creating `Intl*` formatters is expensive. If there's a parent\n // `<IntlProvider>`, then its formatters will be used. Otherwise, this\n // memoize the `Intl*` constructors and cache them for the lifecycle of\n // this IntlProvider instance.\n\n\n var _ref = intlContext || {},\n _ref$formatters = _ref.formatters,\n formatters = _ref$formatters === undefined ? {\n getDateTimeFormat: memoizeIntlConstructor(Intl.DateTimeFormat),\n getNumberFormat: memoizeIntlConstructor(Intl.NumberFormat),\n getMessageFormat: memoizeIntlConstructor(IntlMessageFormat),\n getRelativeFormat: memoizeIntlConstructor(IntlRelativeFormat),\n getPluralFormat: memoizeIntlConstructor(IntlPluralFormat)\n } : _ref$formatters;\n\n _this.state = _extends({}, formatters, {\n // Wrapper to provide stable \"now\" time for initial render.\n now: function now() {\n return _this._didDisplay ? Date.now() : initialNow;\n }\n });\n return _this;\n }\n\n createClass(IntlProvider, [{\n key: 'getConfig',\n value: function getConfig() {\n var intlContext = this.context.intl; // Build a whitelisted config object from `props`, defaults, and\n // `context.intl`, if an <IntlProvider> exists in the ancestry.\n\n var config = filterProps(this.props, intlConfigPropNames$1, intlContext); // Apply default props. This must be applied last after the props have\n // been resolved and inherited from any <IntlProvider> in the ancestry.\n // This matches how React resolves `defaultProps`.\n\n for (var propName in defaultProps) {\n if (config[propName] === undefined) {\n config[propName] = defaultProps[propName];\n }\n }\n\n if (!hasLocaleData(config.locale)) {\n var _config = config,\n locale = _config.locale,\n defaultLocale = _config.defaultLocale,\n defaultFormats = _config.defaultFormats,\n onError = _config.onError;\n onError(createError('Missing locale data for locale: \"' + locale + '\". ' + ('Using default locale: \"' + defaultLocale + '\" as fallback.'))); // Since there's no registered locale data for `locale`, this will\n // fallback to the `defaultLocale` to make sure things can render.\n // The `messages` are overridden to the `defaultProps` empty object\n // to maintain referential equality across re-renders. It's assumed\n // each <FormattedMessage> contains a `defaultMessage` prop.\n\n config = _extends({}, config, {\n locale: defaultLocale,\n formats: defaultFormats,\n messages: defaultProps.messages\n });\n }\n\n return config;\n }\n }, {\n key: 'getBoundFormatFns',\n value: function getBoundFormatFns(config, state) {\n return intlFormatPropNames.reduce(function (boundFormatFns, name) {\n boundFormatFns[name] = format[name].bind(null, config, state);\n return boundFormatFns;\n }, {});\n }\n }, {\n key: 'getChildContext',\n value: function getChildContext() {\n var config = this.getConfig(); // Bind intl factories and current config to the format functions.\n\n var boundFormatFns = this.getBoundFormatFns(config, this.state);\n var _state = this.state,\n now = _state.now,\n formatters = objectWithoutProperties(_state, ['now']);\n return {\n intl: _extends({}, config, boundFormatFns, {\n formatters: formatters,\n now: now\n })\n };\n }\n }, {\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate() {\n for (var _len = arguments.length, next = Array(_len), _key = 0; _key < _len; _key++) {\n next[_key] = arguments[_key];\n }\n\n return shouldIntlComponentUpdate.apply(undefined, [this].concat(next));\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n this._didDisplay = true;\n }\n }, {\n key: 'render',\n value: function render() {\n return Children.only(this.props.children);\n }\n }]);\n return IntlProvider;\n}(Component);\n\nIntlProvider.displayName = 'IntlProvider';\nIntlProvider.contextTypes = {\n intl: intlShape\n};\nIntlProvider.childContextTypes = {\n intl: intlShape.isRequired\n};\nprocess.env.NODE_ENV !== \"production\" ? IntlProvider.propTypes = _extends({}, intlConfigPropTypes, {\n children: PropTypes.element.isRequired,\n initialNow: PropTypes.any\n}) : void 0;\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\nvar FormattedDate = function (_Component) {\n inherits(FormattedDate, _Component);\n\n function FormattedDate(props, context) {\n classCallCheck(this, FormattedDate);\n\n var _this = possibleConstructorReturn(this, (FormattedDate.__proto__ || Object.getPrototypeOf(FormattedDate)).call(this, props, context));\n\n invariantIntlContext(context);\n return _this;\n }\n\n createClass(FormattedDate, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate() {\n for (var _len = arguments.length, next = Array(_len), _key = 0; _key < _len; _key++) {\n next[_key] = arguments[_key];\n }\n\n return shouldIntlComponentUpdate.apply(undefined, [this].concat(next));\n }\n }, {\n key: 'render',\n value: function render() {\n var _context$intl = this.context.intl,\n formatDate = _context$intl.formatDate,\n Text = _context$intl.textComponent;\n var _props = this.props,\n value = _props.value,\n children = _props.children;\n var formattedDate = formatDate(value, this.props);\n\n if (typeof children === 'function') {\n return children(formattedDate);\n }\n\n return React.createElement(Text, null, formattedDate);\n }\n }]);\n return FormattedDate;\n}(Component);\n\nFormattedDate.displayName = 'FormattedDate';\nFormattedDate.contextTypes = {\n intl: intlShape\n};\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\nvar FormattedTime = function (_Component) {\n inherits(FormattedTime, _Component);\n\n function FormattedTime(props, context) {\n classCallCheck(this, FormattedTime);\n\n var _this = possibleConstructorReturn(this, (FormattedTime.__proto__ || Object.getPrototypeOf(FormattedTime)).call(this, props, context));\n\n invariantIntlContext(context);\n return _this;\n }\n\n createClass(FormattedTime, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate() {\n for (var _len = arguments.length, next = Array(_len), _key = 0; _key < _len; _key++) {\n next[_key] = arguments[_key];\n }\n\n return shouldIntlComponentUpdate.apply(undefined, [this].concat(next));\n }\n }, {\n key: 'render',\n value: function render() {\n var _context$intl = this.context.intl,\n formatTime = _context$intl.formatTime,\n Text = _context$intl.textComponent;\n var _props = this.props,\n value = _props.value,\n children = _props.children;\n var formattedTime = formatTime(value, this.props);\n\n if (typeof children === 'function') {\n return children(formattedTime);\n }\n\n return React.createElement(Text, null, formattedTime);\n }\n }]);\n return FormattedTime;\n}(Component);\n\nFormattedTime.displayName = 'FormattedTime';\nFormattedTime.contextTypes = {\n intl: intlShape\n};\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\nvar SECOND = 1000;\nvar MINUTE = 1000 * 60;\nvar HOUR = 1000 * 60 * 60;\nvar DAY = 1000 * 60 * 60 * 24; // The maximum timer delay value is a 32-bit signed integer.\n// See: https://mdn.io/setTimeout\n\nvar MAX_TIMER_DELAY = 2147483647;\n\nfunction selectUnits(delta) {\n var absDelta = Math.abs(delta);\n\n if (absDelta < MINUTE) {\n return 'second';\n }\n\n if (absDelta < HOUR) {\n return 'minute';\n }\n\n if (absDelta < DAY) {\n return 'hour';\n } // The maximum scheduled delay will be measured in days since the maximum\n // timer delay is less than the number of milliseconds in 25 days.\n\n\n return 'day';\n}\n\nfunction getUnitDelay(units) {\n switch (units) {\n case 'second':\n return SECOND;\n\n case 'minute':\n return MINUTE;\n\n case 'hour':\n return HOUR;\n\n case 'day':\n return DAY;\n\n default:\n return MAX_TIMER_DELAY;\n }\n}\n\nfunction isSameDate(a, b) {\n if (a === b) {\n return true;\n }\n\n var aTime = new Date(a).getTime();\n var bTime = new Date(b).getTime();\n return isFinite(aTime) && isFinite(bTime) && aTime === bTime;\n}\n\nvar FormattedRelative = function (_Component) {\n inherits(FormattedRelative, _Component);\n\n function FormattedRelative(props, context) {\n classCallCheck(this, FormattedRelative);\n\n var _this = possibleConstructorReturn(this, (FormattedRelative.__proto__ || Object.getPrototypeOf(FormattedRelative)).call(this, props, context));\n\n invariantIntlContext(context);\n var now = isFinite(props.initialNow) ? Number(props.initialNow) : context.intl.now(); // `now` is stored as state so that `render()` remains a function of\n // props + state, instead of accessing `Date.now()` inside `render()`.\n\n _this.state = {\n now: now\n };\n return _this;\n }\n\n createClass(FormattedRelative, [{\n key: 'scheduleNextUpdate',\n value: function scheduleNextUpdate(props, state) {\n var _this2 = this; // Cancel and pending update because we're scheduling a new update.\n\n\n clearTimeout(this._timer);\n var value = props.value,\n units = props.units,\n updateInterval = props.updateInterval;\n var time = new Date(value).getTime(); // If the `updateInterval` is falsy, including `0` or we don't have a\n // valid date, then auto updates have been turned off, so we bail and\n // skip scheduling an update.\n\n if (!updateInterval || !isFinite(time)) {\n return;\n }\n\n var delta = time - state.now;\n var unitDelay = getUnitDelay(units || selectUnits(delta));\n var unitRemainder = Math.abs(delta % unitDelay); // We want the largest possible timer delay which will still display\n // accurate information while reducing unnecessary re-renders. The delay\n // should be until the next \"interesting\" moment, like a tick from\n // \"1 minute ago\" to \"2 minutes ago\" when the delta is 120,000ms.\n\n var delay = delta < 0 ? Math.max(updateInterval, unitDelay - unitRemainder) : Math.max(updateInterval, unitRemainder);\n this._timer = setTimeout(function () {\n _this2.setState({\n now: _this2.context.intl.now()\n });\n }, delay);\n }\n }, {\n key: 'componentDidMount',\n value: function componentDidMount() {\n this.scheduleNextUpdate(this.props, this.state);\n }\n }, {\n key: 'componentWillReceiveProps',\n value: function componentWillReceiveProps(_ref) {\n var nextValue = _ref.value; // When the `props.value` date changes, `state.now` needs to be updated,\n // and the next update can be rescheduled.\n\n if (!isSameDate(nextValue, this.props.value)) {\n this.setState({\n now: this.context.intl.now()\n });\n }\n }\n }, {\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate() {\n for (var _len = arguments.length, next = Array(_len), _key = 0; _key < _len; _key++) {\n next[_key] = arguments[_key];\n }\n\n return shouldIntlComponentUpdate.apply(undefined, [this].concat(next));\n }\n }, {\n key: 'componentWillUpdate',\n value: function componentWillUpdate(nextProps, nextState) {\n this.scheduleNextUpdate(nextProps, nextState);\n }\n }, {\n key: 'componentWillUnmount',\n value: function componentWillUnmount() {\n clearTimeout(this._timer);\n }\n }, {\n key: 'render',\n value: function render() {\n var _context$intl = this.context.intl,\n formatRelative = _context$intl.formatRelative,\n Text = _context$intl.textComponent;\n var _props = this.props,\n value = _props.value,\n children = _props.children;\n var formattedRelative = formatRelative(value, _extends({}, this.props, this.state));\n\n if (typeof children === 'function') {\n return children(formattedRelative);\n }\n\n return React.createElement(Text, null, formattedRelative);\n }\n }]);\n return FormattedRelative;\n}(Component);\n\nFormattedRelative.displayName = 'FormattedRelative';\nFormattedRelative.contextTypes = {\n intl: intlShape\n};\nFormattedRelative.defaultProps = {\n updateInterval: 1000 * 10\n};\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\nvar FormattedNumber = function (_Component) {\n inherits(FormattedNumber, _Component);\n\n function FormattedNumber(props, context) {\n classCallCheck(this, FormattedNumber);\n\n var _this = possibleConstructorReturn(this, (FormattedNumber.__proto__ || Object.getPrototypeOf(FormattedNumber)).call(this, props, context));\n\n invariantIntlContext(context);\n return _this;\n }\n\n createClass(FormattedNumber, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate() {\n for (var _len = arguments.length, next = Array(_len), _key = 0; _key < _len; _key++) {\n next[_key] = arguments[_key];\n }\n\n return shouldIntlComponentUpdate.apply(undefined, [this].concat(next));\n }\n }, {\n key: 'render',\n value: function render() {\n var _context$intl = this.context.intl,\n formatNumber = _context$intl.formatNumber,\n Text = _context$intl.textComponent;\n var _props = this.props,\n value = _props.value,\n children = _props.children;\n var formattedNumber = formatNumber(value, this.props);\n\n if (typeof children === 'function') {\n return children(formattedNumber);\n }\n\n return React.createElement(Text, null, formattedNumber);\n }\n }]);\n return FormattedNumber;\n}(Component);\n\nFormattedNumber.displayName = 'FormattedNumber';\nFormattedNumber.contextTypes = {\n intl: intlShape\n};\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\nvar FormattedPlural = function (_Component) {\n inherits(FormattedPlural, _Component);\n\n function FormattedPlural(props, context) {\n classCallCheck(this, FormattedPlural);\n\n var _this = possibleConstructorReturn(this, (FormattedPlural.__proto__ || Object.getPrototypeOf(FormattedPlural)).call(this, props, context));\n\n invariantIntlContext(context);\n return _this;\n }\n\n createClass(FormattedPlural, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate() {\n for (var _len = arguments.length, next = Array(_len), _key = 0; _key < _len; _key++) {\n next[_key] = arguments[_key];\n }\n\n return shouldIntlComponentUpdate.apply(undefined, [this].concat(next));\n }\n }, {\n key: 'render',\n value: function render() {\n var _context$intl = this.context.intl,\n formatPlural = _context$intl.formatPlural,\n Text = _context$intl.textComponent;\n var _props = this.props,\n value = _props.value,\n other = _props.other,\n children = _props.children;\n var pluralCategory = formatPlural(value, this.props);\n var formattedPlural = this.props[pluralCategory] || other;\n\n if (typeof children === 'function') {\n return children(formattedPlural);\n }\n\n return React.createElement(Text, null, formattedPlural);\n }\n }]);\n return FormattedPlural;\n}(Component);\n\nFormattedPlural.displayName = 'FormattedPlural';\nFormattedPlural.contextTypes = {\n intl: intlShape\n};\nFormattedPlural.defaultProps = {\n style: 'cardinal'\n};\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\nvar defaultFormatMessage = function defaultFormatMessage(descriptor, values) {\n if (process.env.NODE_ENV !== 'production') {\n console.error('[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry. Using default message as fallback.');\n }\n\n return formatMessage({}, {\n getMessageFormat: memoizeIntlConstructor(IntlMessageFormat)\n }, descriptor, values);\n};\n\nvar FormattedMessage = function (_Component) {\n inherits(FormattedMessage, _Component);\n\n function FormattedMessage(props, context) {\n classCallCheck(this, FormattedMessage);\n\n var _this = possibleConstructorReturn(this, (FormattedMessage.__proto__ || Object.getPrototypeOf(FormattedMessage)).call(this, props, context));\n\n if (!props.defaultMessage) {\n invariantIntlContext(context);\n }\n\n return _this;\n }\n\n createClass(FormattedMessage, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps) {\n var values = this.props.values;\n var nextValues = nextProps.values;\n\n if (!shallowEquals(nextValues, values)) {\n return true;\n } // Since `values` has already been checked, we know they're not\n // different, so the current `values` are carried over so the shallow\n // equals comparison on the other props isn't affected by the `values`.\n\n\n var nextPropsToCheck = _extends({}, nextProps, {\n values: values\n });\n\n for (var _len = arguments.length, next = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n next[_key - 1] = arguments[_key];\n }\n\n return shouldIntlComponentUpdate.apply(undefined, [this, nextPropsToCheck].concat(next));\n }\n }, {\n key: 'render',\n value: function render() {\n var _ref = this.context.intl || {},\n _ref$formatMessage = _ref.formatMessage,\n formatMessage$$1 = _ref$formatMessage === undefined ? defaultFormatMessage : _ref$formatMessage,\n _ref$textComponent = _ref.textComponent,\n Text = _ref$textComponent === undefined ? 'span' : _ref$textComponent;\n\n var _props = this.props,\n id = _props.id,\n description = _props.description,\n defaultMessage = _props.defaultMessage,\n values = _props.values,\n _props$tagName = _props.tagName,\n Component$$1 = _props$tagName === undefined ? Text : _props$tagName,\n children = _props.children;\n var tokenDelimiter = void 0;\n var tokenizedValues = void 0;\n var elements = void 0;\n var hasValues = values && Object.keys(values).length > 0;\n\n if (hasValues) {\n // Creates a token with a random UID that should not be guessable or\n // conflict with other parts of the `message` string.\n var uid = Math.floor(Math.random() * 0x10000000000).toString(16);\n\n var generateToken = function () {\n var counter = 0;\n return function () {\n return 'ELEMENT-' + uid + '-' + (counter += 1);\n };\n }(); // Splitting with a delimiter to support IE8. When using a regex\n // with a capture group IE8 does not include the capture group in\n // the resulting array.\n\n\n tokenDelimiter = '@__' + uid + '__@';\n tokenizedValues = {};\n elements = {}; // Iterates over the `props` to keep track of any React Element\n // values so they can be represented by the `token` as a placeholder\n // when the `message` is formatted. This allows the formatted\n // message to then be broken-up into parts with references to the\n // React Elements inserted back in.\n\n Object.keys(values).forEach(function (name) {\n var value = values[name];\n\n if (isValidElement(value)) {\n var token = generateToken();\n tokenizedValues[name] = tokenDelimiter + token + tokenDelimiter;\n elements[token] = value;\n } else {\n tokenizedValues[name] = value;\n }\n });\n }\n\n var descriptor = {\n id: id,\n description: description,\n defaultMessage: defaultMessage\n };\n var formattedMessage = formatMessage$$1(descriptor, tokenizedValues || values);\n var nodes = void 0;\n var hasElements = elements && Object.keys(elements).length > 0;\n\n if (hasElements) {\n // Split the message into parts so the React Element values captured\n // above can be inserted back into the rendered message. This\n // approach allows messages to render with React Elements while\n // keeping React's virtual diffing working properly.\n nodes = formattedMessage.split(tokenDelimiter).filter(function (part) {\n return !!part;\n }).map(function (part) {\n return elements[part] || part;\n });\n } else {\n nodes = [formattedMessage];\n }\n\n if (typeof children === 'function') {\n return children.apply(undefined, toConsumableArray(nodes));\n } // Needs to use `createElement()` instead of JSX, otherwise React will\n // warn about a missing `key` prop with rich-text message formatting.\n\n\n return createElement.apply(undefined, [Component$$1, null].concat(toConsumableArray(nodes)));\n }\n }]);\n return FormattedMessage;\n}(Component);\n\nFormattedMessage.displayName = 'FormattedMessage';\nFormattedMessage.contextTypes = {\n intl: intlShape\n};\nFormattedMessage.defaultProps = {\n values: {}\n};\nprocess.env.NODE_ENV !== \"production\" ? FormattedMessage.propTypes = _extends({}, messageDescriptorPropTypes, {\n values: PropTypes.object,\n tagName: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n children: PropTypes.func\n}) : void 0;\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\nvar FormattedHTMLMessage = function (_Component) {\n inherits(FormattedHTMLMessage, _Component);\n\n function FormattedHTMLMessage(props, context) {\n classCallCheck(this, FormattedHTMLMessage);\n\n var _this = possibleConstructorReturn(this, (FormattedHTMLMessage.__proto__ || Object.getPrototypeOf(FormattedHTMLMessage)).call(this, props, context));\n\n invariantIntlContext(context);\n return _this;\n }\n\n createClass(FormattedHTMLMessage, [{\n key: 'shouldComponentUpdate',\n value: function shouldComponentUpdate(nextProps) {\n var values = this.props.values;\n var nextValues = nextProps.values;\n\n if (!shallowEquals(nextValues, values)) {\n return true;\n } // Since `values` has already been checked, we know they're not\n // different, so the current `values` are carried over so the shallow\n // equals comparison on the other props isn't affected by the `values`.\n\n\n var nextPropsToCheck = _extends({}, nextProps, {\n values: values\n });\n\n for (var _len = arguments.length, next = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n next[_key - 1] = arguments[_key];\n }\n\n return shouldIntlComponentUpdate.apply(undefined, [this, nextPropsToCheck].concat(next));\n }\n }, {\n key: 'render',\n value: function render() {\n var _context$intl = this.context.intl,\n formatHTMLMessage = _context$intl.formatHTMLMessage,\n Text = _context$intl.textComponent;\n var _props = this.props,\n id = _props.id,\n description = _props.description,\n defaultMessage = _props.defaultMessage,\n rawValues = _props.values,\n _props$tagName = _props.tagName,\n Component$$1 = _props$tagName === undefined ? Text : _props$tagName,\n children = _props.children;\n var descriptor = {\n id: id,\n description: description,\n defaultMessage: defaultMessage\n };\n var formattedHTMLMessage = formatHTMLMessage(descriptor, rawValues);\n\n if (typeof children === 'function') {\n return children(formattedHTMLMessage);\n } // Since the message presumably has HTML in it, we need to set\n // `innerHTML` in order for it to be rendered and not escaped by React.\n // To be safe, all string prop values were escaped when formatting the\n // message. It is assumed that the message is not UGC, and came from the\n // developer making it more like a template.\n //\n // Note: There's a perf impact of using this component since there's no\n // way for React to do its virtual DOM diffing.\n\n\n var html = {\n __html: formattedHTMLMessage\n };\n return React.createElement(Component$$1, {\n dangerouslySetInnerHTML: html\n });\n }\n }]);\n return FormattedHTMLMessage;\n}(Component);\n\nFormattedHTMLMessage.displayName = 'FormattedHTMLMessage';\nFormattedHTMLMessage.contextTypes = {\n intl: intlShape\n};\nFormattedHTMLMessage.defaultProps = {\n values: {}\n};\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\naddLocaleData(defaultLocaleData);\n/*\n * Copyright 2015, Yahoo Inc.\n * Copyrights licensed under the New BSD License.\n * See the accompanying LICENSE file for terms.\n */\n\naddLocaleData(allLocaleData);\nexport { addLocaleData, intlShape, injectIntl, defineMessages, IntlProvider, FormattedDate, FormattedTime, FormattedRelative, FormattedNumber, FormattedPlural, FormattedMessage, FormattedHTMLMessage };","import { autoPlayGif, useSystemEmojiFont } from 'flavours/glitch/util/initial_state';\nimport unicodeMapping from './emoji_unicode_mapping_light';\nimport Trie from 'substring-trie';\n\nconst trie = new Trie(Object.keys(unicodeMapping));\n\nconst assetHost = process.env.CDN_HOST || '';\n\nconst emojify = (str, customEmojis = {}) => {\n const tagCharsWithoutEmojis = '<&';\n const tagCharsWithEmojis = Object.keys(customEmojis).length ? '<&:' : '<&';\n let rtn = '', tagChars = tagCharsWithEmojis, invisible = 0;\n for (;;) {\n let match, i = 0, tag;\n while (i < str.length && (tag = tagChars.indexOf(str[i])) === -1 && (invisible || useSystemEmojiFont || !(match = trie.search(str.slice(i))))) {\n i += str.codePointAt(i) < 65536 ? 1 : 2;\n }\n let rend, replacement = '';\n if (i === str.length) {\n break;\n } else if (str[i] === ':') {\n if (!(() => {\n rend = str.indexOf(':', i + 1) + 1;\n if (!rend) return false; // no pair of ':'\n const lt = str.indexOf('<', i + 1);\n if (!(lt === -1 || lt >= rend)) return false; // tag appeared before closing ':'\n const shortname = str.slice(i, rend);\n // now got a replacee as ':shortname:'\n // if you want additional emoji handler, add statements below which set replacement and return true.\n if (shortname in customEmojis) {\n const filename = autoPlayGif ? customEmojis[shortname].url : customEmojis[shortname].static_url;\n replacement = `<img draggable=\"false\" class=\"emojione custom-emoji\" alt=\"${shortname}\" title=\"${shortname}\" src=\"${filename}\" data-original=\"${customEmojis[shortname].url}\" data-static=\"${customEmojis[shortname].static_url}\" />`;\n return true;\n }\n return false;\n })()) rend = ++i;\n } else if (tag >= 0) { // <, &\n rend = str.indexOf('>;'[tag], i + 1) + 1;\n if (!rend) {\n break;\n }\n if (tag === 0) {\n if (invisible) {\n if (str[i + 1] === '/') { // closing tag\n if (!--invisible) {\n tagChars = tagCharsWithEmojis;\n }\n } else if (str[rend - 2] !== '/') { // opening tag\n invisible++;\n }\n } else {\n if (str.startsWith('<span class=\"invisible\">', i)) {\n // avoid emojifying on invisible text\n invisible = 1;\n tagChars = tagCharsWithoutEmojis;\n }\n }\n }\n i = rend;\n } else if (!useSystemEmojiFont) { // matched to unicode emoji\n const { filename, shortCode } = unicodeMapping[match];\n const title = shortCode ? `:${shortCode}:` : '';\n replacement = `<img draggable=\"false\" class=\"emojione\" alt=\"${match}\" title=\"${title}\" src=\"${assetHost}/emoji/${filename}.svg\" />`;\n rend = i + match.length;\n // If the matched character was followed by VS15 (for selecting text presentation), skip it.\n if (str.codePointAt(rend) === 65038) {\n rend += 1;\n }\n }\n rtn += str.slice(0, i) + replacement;\n str = str.slice(rend);\n }\n return rtn + str;\n};\n\nexport default emojify;\nexport { unicodeMapping };\n\nexport const buildCustomEmojis = (customEmojis) => {\n const emojis = [];\n\n customEmojis.forEach(emoji => {\n const shortcode = emoji.get('shortcode');\n const url = autoPlayGif ? emoji.get('url') : emoji.get('static_url');\n const name = shortcode.replace(':', '');\n\n emojis.push({\n id: name,\n name,\n short_names: [name],\n text: '',\n emoticons: [],\n keywords: [name],\n imageUrl: url,\n custom: true,\n customCategory: emoji.get('category'),\n });\n });\n\n return emojis;\n};\n\nexport const categoriesFromEmojis = customEmojis => customEmojis.reduce((set, emoji) => set.add(emoji.get('category') ? `custom-${emoji.get('category')}` : 'custom'), new Set(['custom']));\n","export default function _inheritsLoose(subClass, superClass) {\n subClass.prototype = Object.create(superClass.prototype);\n subClass.prototype.constructor = subClass;\n subClass.__proto__ = superClass;\n}","'use strict';\n\nvar CODA_MARKER = '$$'; // marks the end of the string\n\nfunction MiniTrie(words) {\n this._dict = {};\n\n for (var i = 0, len = words.length; i < len; i++) {\n var word = words[i];\n var dict = this._dict;\n\n for (var j = 0, len2 = word.length; j < len2; j++) {\n var char = word.charAt(j);\n dict = dict[char] = dict[char] || {};\n }\n\n dict[CODA_MARKER] = true;\n }\n}\n\nMiniTrie.prototype.search = function (str) {\n var i = -1;\n var len = str.length;\n var stack = [this._dict];\n\n while (++i < len) {\n var dict = stack[i];\n var char = str.charAt(i);\n\n if (char in dict) {\n stack.push(dict[char]);\n } else {\n break;\n }\n }\n\n while (stack.length) {\n if (stack.pop()[CODA_MARKER]) {\n return str.substring(0, stack.length);\n }\n }\n};\n\nmodule.exports = MiniTrie;","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n module.exports = require('./cjs/react-is.production.min.js');\n} else {\n module.exports = require('./cjs/react-is.development.js');\n}","/*\nobject-assign\n(c) Sindre Sorhus\n@license MIT\n*/\n'use strict';\n/* eslint-disable no-unused-vars */\n\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\n\nfunction toObject(val) {\n if (val === null || val === undefined) {\n throw new TypeError('Object.assign cannot be called with null or undefined');\n }\n\n return Object(val);\n}\n\nfunction shouldUseNative() {\n try {\n if (!Object.assign) {\n return false;\n } // Detect buggy property enumeration order in older V8 versions.\n // https://bugs.chromium.org/p/v8/issues/detail?id=4118\n\n\n var test1 = new String('abc'); // eslint-disable-line no-new-wrappers\n\n test1[5] = 'de';\n\n if (Object.getOwnPropertyNames(test1)[0] === '5') {\n return false;\n } // https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\n\n var test2 = {};\n\n for (var i = 0; i < 10; i++) {\n test2['_' + String.fromCharCode(i)] = i;\n }\n\n var order2 = Object.getOwnPropertyNames(test2).map(function (n) {\n return test2[n];\n });\n\n if (order2.join('') !== '0123456789') {\n return false;\n } // https://bugs.chromium.org/p/v8/issues/detail?id=3056\n\n\n var test3 = {};\n 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\n test3[letter] = letter;\n });\n\n if (Object.keys(Object.assign({}, test3)).join('') !== 'abcdefghijklmnopqrst') {\n return false;\n }\n\n return true;\n } catch (err) {\n // We don't expect any of the above to throw, but better to be safe.\n return false;\n }\n}\n\nmodule.exports = shouldUseNative() ? Object.assign : function (target, source) {\n var from;\n var to = toObject(target);\n var symbols;\n\n for (var s = 1; s < arguments.length; s++) {\n from = Object(arguments[s]);\n\n for (var key in from) {\n if (hasOwnProperty.call(from, key)) {\n to[key] = from[key];\n }\n }\n\n if (getOwnPropertySymbols) {\n symbols = getOwnPropertySymbols(from);\n\n for (var i = 0; i < symbols.length; i++) {\n if (propIsEnumerable.call(from, symbols[i])) {\n to[symbols[i]] = from[symbols[i]];\n }\n }\n }\n }\n\n return to;\n};","/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n*/\n\n/* jslint esnext: true */\n\"use strict\";\n\nexports.extend = extend;\nvar hop = Object.prototype.hasOwnProperty;\n\nfunction extend(obj) {\n var sources = Array.prototype.slice.call(arguments, 1),\n i,\n len,\n source,\n key;\n\n for (i = 0, len = sources.length; i < len; i += 1) {\n source = sources[i];\n\n if (!source) {\n continue;\n }\n\n for (key in source) {\n if (hop.call(source, key)) {\n obj[key] = source[key];\n }\n }\n }\n\n return obj;\n}\n\nexports.hop = hop;","// A mapping of unicode strings to an object containing the filename\n// (i.e. the svg filename) and a shortCode intended to be shown\n// as a \"title\" attribute in an HTML element (aka tooltip).\n\nconst [\n shortCodesToEmojiData,\n skins, // eslint-disable-line no-unused-vars\n categories, // eslint-disable-line no-unused-vars\n short_names, // eslint-disable-line no-unused-vars\n emojisWithoutShortCodes,\n] = require('./emoji_compressed');\nconst { unicodeToFilename } = require('./unicode_to_filename');\n\n// decompress\nconst unicodeMapping = {};\n\nfunction processEmojiMapData(emojiMapData, shortCode) {\n let [ native, filename ] = emojiMapData;\n if (!filename) {\n // filename name can be derived from unicodeToFilename\n filename = unicodeToFilename(native);\n }\n unicodeMapping[native] = {\n shortCode: shortCode,\n filename: filename,\n };\n}\n\nObject.keys(shortCodesToEmojiData).forEach((shortCode) => {\n let [ filenameData ] = shortCodesToEmojiData[shortCode];\n filenameData.forEach(emojiMapData => processEmojiMapData(emojiMapData, shortCode));\n});\nemojisWithoutShortCodes.forEach(emojiMapData => processEmojiMapData(emojiMapData));\n\nmodule.exports = unicodeMapping;\n","import React from 'react';\nimport { injectIntl, defineMessages } from 'react-intl';\nimport PropTypes from 'prop-types';\n\nconst messages = defineMessages({\n just_now: { id: 'relative_time.just_now', defaultMessage: 'now' },\n seconds: { id: 'relative_time.seconds', defaultMessage: '{number}s' },\n minutes: { id: 'relative_time.minutes', defaultMessage: '{number}m' },\n hours: { id: 'relative_time.hours', defaultMessage: '{number}h' },\n days: { id: 'relative_time.days', defaultMessage: '{number}d' },\n moments_remaining: { id: 'time_remaining.moments', defaultMessage: 'Moments remaining' },\n seconds_remaining: { id: 'time_remaining.seconds', defaultMessage: '{number, plural, one {# second} other {# seconds}} left' },\n minutes_remaining: { id: 'time_remaining.minutes', defaultMessage: '{number, plural, one {# minute} other {# minutes}} left' },\n hours_remaining: { id: 'time_remaining.hours', defaultMessage: '{number, plural, one {# hour} other {# hours}} left' },\n days_remaining: { id: 'time_remaining.days', defaultMessage: '{number, plural, one {# day} other {# days}} left' },\n});\n\nconst dateFormatOptions = {\n hour12: false,\n year: 'numeric',\n month: 'short',\n day: '2-digit',\n hour: '2-digit',\n minute: '2-digit',\n};\n\nconst shortDateFormatOptions = {\n month: 'short',\n day: 'numeric',\n};\n\nconst SECOND = 1000;\nconst MINUTE = 1000 * 60;\nconst HOUR = 1000 * 60 * 60;\nconst DAY = 1000 * 60 * 60 * 24;\n\nconst MAX_DELAY = 2147483647;\n\nconst selectUnits = delta => {\n const absDelta = Math.abs(delta);\n\n if (absDelta < MINUTE) {\n return 'second';\n } else if (absDelta < HOUR) {\n return 'minute';\n } else if (absDelta < DAY) {\n return 'hour';\n }\n\n return 'day';\n};\n\nconst getUnitDelay = units => {\n switch (units) {\n case 'second':\n return SECOND;\n case 'minute':\n return MINUTE;\n case 'hour':\n return HOUR;\n case 'day':\n return DAY;\n default:\n return MAX_DELAY;\n }\n};\n\nexport const timeAgoString = (intl, date, now, year) => {\n const delta = now - date.getTime();\n\n let relativeTime;\n\n if (delta < 10 * SECOND) {\n relativeTime = intl.formatMessage(messages.just_now);\n } else if (delta < 7 * DAY) {\n if (delta < MINUTE) {\n relativeTime = intl.formatMessage(messages.seconds, { number: Math.floor(delta / SECOND) });\n } else if (delta < HOUR) {\n relativeTime = intl.formatMessage(messages.minutes, { number: Math.floor(delta / MINUTE) });\n } else if (delta < DAY) {\n relativeTime = intl.formatMessage(messages.hours, { number: Math.floor(delta / HOUR) });\n } else {\n relativeTime = intl.formatMessage(messages.days, { number: Math.floor(delta / DAY) });\n }\n } else if (date.getFullYear() === year) {\n relativeTime = intl.formatDate(date, shortDateFormatOptions);\n } else {\n relativeTime = intl.formatDate(date, { ...shortDateFormatOptions, year: 'numeric' });\n }\n\n return relativeTime;\n};\n\nconst timeRemainingString = (intl, date, now) => {\n const delta = date.getTime() - now;\n\n let relativeTime;\n\n if (delta < 10 * SECOND) {\n relativeTime = intl.formatMessage(messages.moments_remaining);\n } else if (delta < MINUTE) {\n relativeTime = intl.formatMessage(messages.seconds_remaining, { number: Math.floor(delta / SECOND) });\n } else if (delta < HOUR) {\n relativeTime = intl.formatMessage(messages.minutes_remaining, { number: Math.floor(delta / MINUTE) });\n } else if (delta < DAY) {\n relativeTime = intl.formatMessage(messages.hours_remaining, { number: Math.floor(delta / HOUR) });\n } else {\n relativeTime = intl.formatMessage(messages.days_remaining, { number: Math.floor(delta / DAY) });\n }\n\n return relativeTime;\n};\n\nexport default @injectIntl\nclass RelativeTimestamp extends React.Component {\n\n static propTypes = {\n intl: PropTypes.object.isRequired,\n timestamp: PropTypes.string.isRequired,\n year: PropTypes.number.isRequired,\n futureDate: PropTypes.bool,\n };\n\n state = {\n now: this.props.intl.now(),\n };\n\n static defaultProps = {\n year: (new Date()).getFullYear(),\n };\n\n shouldComponentUpdate (nextProps, nextState) {\n // As of right now the locale doesn't change without a new page load,\n // but we might as well check in case that ever changes.\n return this.props.timestamp !== nextProps.timestamp ||\n this.props.intl.locale !== nextProps.intl.locale ||\n this.state.now !== nextState.now;\n }\n\n componentWillReceiveProps (nextProps) {\n if (this.props.timestamp !== nextProps.timestamp) {\n this.setState({ now: this.props.intl.now() });\n }\n }\n\n componentDidMount () {\n this._scheduleNextUpdate(this.props, this.state);\n }\n\n componentWillUpdate (nextProps, nextState) {\n this._scheduleNextUpdate(nextProps, nextState);\n }\n\n componentWillUnmount () {\n clearTimeout(this._timer);\n }\n\n _scheduleNextUpdate (props, state) {\n clearTimeout(this._timer);\n\n const { timestamp } = props;\n const delta = (new Date(timestamp)).getTime() - state.now;\n const unitDelay = getUnitDelay(selectUnits(delta));\n const unitRemainder = Math.abs(delta % unitDelay);\n const updateInterval = 1000 * 10;\n const delay = delta < 0 ? Math.max(updateInterval, unitDelay - unitRemainder) : Math.max(updateInterval, unitRemainder);\n\n this._timer = setTimeout(() => {\n this.setState({ now: this.props.intl.now() });\n }, delay);\n }\n\n render () {\n const { timestamp, intl, year, futureDate } = this.props;\n\n const date = new Date(timestamp);\n const relativeTime = futureDate ? timeRemainingString(intl, date, this.state.now) : timeAgoString(intl, date, this.state.now, year);\n\n return (\n <time dateTime={timestamp} title={intl.formatDate(date, dateFormatOptions)}>\n {relativeTime}\n </time>\n );\n }\n\n}\n"],"sourceRoot":""}