-
Notifications
You must be signed in to change notification settings - Fork 0
/
app.js.map
1 lines (1 loc) · 411 KB
/
app.js.map
1
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/mobx/lib/mobx.module.js","webpack:///./node_modules/seamless-scroll-polyfill/dist/cjs/Element.scrollIntoView.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/process/browser.js","webpack:///./src/languages sync nonrecursive .json$","webpack:///./node_modules/seamless-scroll-polyfill/dist/cjs/Element.scroll.js","webpack:///./node_modules/seamless-scroll-polyfill/dist/cjs/common.js","webpack:///./node_modules/preact/dist/preact.mjs","webpack:///./node_modules/preact-mobx-observer/dist/observer.esm.js","webpack:///./src/languages/index.js","webpack:///./src/store/preferences.js","webpack:///./src/router.js","webpack:///./src/store/appState.js","webpack:///./node_modules/@lrc-maker/lrc-parser/build/esm/lrc-parser.js","webpack:///./src/store/lrc.js","webpack:///./src/components/SVG.jsx","webpack:///./src/components/DownLoadButton.jsx","webpack:///./src/components/Editor.jsx","webpack:///./src/components/Preferences.jsx","webpack:///./src/components/LockNodeButton.jsx","webpack:///./src/components/Synchronizer.jsx","webpack:///./src/components/Content.jsx","webpack:///./src/components/NotFound.jsx","webpack:///./src/components/Audio.jsx","webpack:///./src/components/SpaceButton.jsx","webpack:///./src/components/Footer.jsx","webpack:///./src/components/Header.jsx","webpack:///./src/components/Loading.jsx","webpack:///./src/index.js","webpack:///./src/components/App.jsx"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","global","process","__webpack_exports__","Reaction$$1","observable$$1","computed$$1","autorun$$1","action$$1","configure$$1","toJS$$1","extendStatics","setPrototypeOf","__proto__","Array","b","__extends","__","this","constructor","__assign","assign","arguments","length","__read","iterator","e","ar","next","done","push","error","__spread","concat","OBFUSCATED_ERROR$$1","EMPTY_ARRAY$$1","freeze","EMPTY_OBJECT$$1","getGlobal$$1","window","getNextId$$1","globalState$$1","mobxGuid","fail$$1","message","invariant$$1","check","Error","once$$1","func","invoked","apply","noop$$1","isObject$$1","isPlainObject$$1","proto","getPrototypeOf","addHiddenProp$$1","propName","writable","configurable","addHiddenFinalProp$$1","createInstanceofPredicate$$1","clazz","x","isES6Map$$1","thing","undefined","Map","isES6Set$$1","Set","iteratorToArray$$1","it","res","primitiveSymbol$$1","toPrimitive","toPrimitive$$1","iteratorSymbol$$1","declareIterator$$1","prototType","iteratorFactory","makeIterable$$1","self","toStringTagSymbol$$1","Atom$$1","isPendingUnobservation","isBeingObserved","observers","observersIndexes","diffValue","lastAccessedBy","lowestObserverState","IDerivationState","NOT_TRACKING","onBecomeUnobserved","onBecomeObserved","reportObserved","reportObserved$$1","reportChanged","startBatch$$1","STALE","dependenciesState","UP_TO_DATE","isTracing","TraceMode$$1","NONE","logTraceInfo","onBecomeStale","propagateChanged$$1","endBatch$$1","toString","isAtom$$1","createAtom$$1","onBecomeObservedHandler","onBecomeUnobservedHandler","arg3","atom","interceptHook","arg2","onBecomeUnobserved$$1","identityComparer","a","comparer$$1","identity","structural","deepEqual$$1","default","isNaN","areBothNaN$$1","enumerableDescriptorCache","nonEnumerableDescriptorCache","initializeInstance$$1","target","__mobxDidRunLazyInitializers","decorators","__mobxDecorators","propertyCreator","prop","descriptor","decoratorTarget","decoratorArguments","createPropDecorator$$1","propertyInitiallyEnumerable","args","decorator","applyImmediately","inheritedDecorators","cache","set","createPropertyInitializerDescriptor","slice","deepEnhancer$$1","v","_","isObservable$$1","isArray","array","map","referenceEnhancer$$1","newValue","createDecoratorForEnhancer$$1","enhancer","propertyName","_decoratorTarget","decoratorArgs","defineObservableProperty$$1","initializer","env","defaultCreateObservableOptions$$1","deep","defaultDecorator","shallowCreateObservableOptions$$1","asCreateObservableOptions$$1","getEnhancerFromOptions","options","deepDecorator$$1","shallowDecorator","isObservableObject$$1","isObservableArray$$1","isObservableMap$$1","isObservableSet$$1","refDecorator$$1","refStructDecorator","oldValue","observableFactories","box","incorrectlyUsedAsDecorator","ObservableValue$$1","equals","shallowBox","initialValues","ObservableArray$$1","shallowArray","ObservableMap$$1","shallowMap","ObservableSet$$1","props","extendObservable$$1","shallowObject","ref","shallow","struct","methodName","keys","forEach","computedDecorator$$1","instance","get$$1","set$$1","adm","asObservableObject$$1","context","values","ComputedValue$$1","computedPropertyConfigs","getAdministrationForComputedPropOwner","read","write","generateComputedPropConfig$$1","defineComputedProperty$$1","computedStructDecorator","arg1","opts","createAction$$1","actionName","fn","executeAction$$1","isMobxAction","scope","runInfo","notifySpy","isSpyEnabled$$1","startTime","Date","now","flattendArgs","spyReportStart$$1","type","prevDerivation","untrackedStart$$1","prevAllowStateChanges","allowStateChangesStart$$1","startAction","shouldSupressReactionError","suppressReactionErrors","endAction","allowStateChangesEnd$$1","untrackedEnd$$1","spyReportEnd$$1","time","allowStateChanges$$1","prev","allowStateChanges","_super","_this","hasUnreportedChange","spyReport$$1","dehanceValue","dehancer","prepareNewValue","UNCHANGED","setNewValue","checkIfStateModificationsAreAllowed$$1","hasInterceptors$$1","change","interceptChange$$1","hasListeners$$1","notifyListeners$$1","intercept","handler","registerInterceptor$$1","observe","listener","fireImmediately","registerListener$$1","toJSON","valueOf","isObservableValue$$1","observing","newObserving","runId","unboundDepsCount","__mapid","CaughtException$$1","isComputing","isRunningSetter","derivation","setter","compareStructural","requiresReaction","keepAlive","POSSIBLY_STALE","propagateMaybeChanged$$1","inBatch","shouldCompute$$1","trackAndCompute","propagateChangeConfirmed$$1","warnAboutUntrackedRead","computeValue","result","isCaughtException$$1","cause","peek","wasSuspended","changed","track","computationDepth","trackDerivedFunction$$1","disableErrorBoundaries","suspend","clearObserving$$1","firstTime","prevValue","prevU","IDerivationState$$1","isComputedValue$$1","prevUntracked","obs","obj","changeDependenciesStateTo0$$1","hasObservers$$1","enforceActions","f","prevTracking","trackingDerivation","prevObserving","lowestNewObservingDerivationState","i0","dep","removeObserver$$1","addObserver$$1","bindDependencies","untracked$$1","MobXGlobals$$1","version","pendingUnobservations","pendingReactions","isRunningReactions","spyListeners","globalReactionErrorHandlers","computedRequiresReaction","canMergeGlobalState","isolateCalled","__mobxInstanceCount","__mobxGlobals","setTimeout","node","queueForUnobservation$$1","list","filler","pop","index","runReactions$$1","console","log","BREAK","lines","printDepTree","tree","depth","join","dependencies","child","nodeToDependencyTree","getAtom$$1","Function","replace","onInvalidate","errorHandler","isDisposed","_isScheduled","_isTrackPending","_isRunning","schedule","isScheduled","runReaction","reportExceptionInDerivation","notify","warn","dispose","getDisposer","$mobx","trace","enterBreakPoint","_i","getAtomFromArgs","LOG","trace$$1","MAX_REACTION_ITERATIONS","reactionScheduler","runReactionsHelper","allReactions","iterations","splice","remainingReactions","isReaction$$1","setReactionScheduler$$1","baseScheduler","event","listeners","spyReportStart","END_EVENT","spyReportEnd","dontReassignFields","namedActionDecorator$$1","initializer_1","actionFieldDecorator$$1","arg4","defineBoundAction$$1","view","reaction$$1","scheduler","delay","reactionRunner","onError","scheduler_1","createSchedulerFromOptions","isScheduled_1","bound","applyToInstance","run","hook","cb","orig","arrayBuffer","isolateGlobalState","ea","reserveArrayBuffer$$1","properties","getOwnPropertyDescriptor","resultDescriptor","item","indexOf","_isObservable","keys$$1","getKeys","_keys","defaultOptions","detectCycles","exportMapsAsObjects","recurseEverything","source","__alreadySeen","toJSHelper","has","res_1","toAdd","res_2","add","res_3","res_4","res_5","transaction$$1","thisArg","interceptable","interceptors","idx","listenable","changeListeners","ctor","safariPrototypeSetterInheritanceBug","OBSERVABLE_ARRAY_BUFFER_SIZE","StubArray$$1","isFrozen","ObservableArrayAdministration","owned","lastKnownLength","newV","oldV","dehanceValues","values$$1","added","addedCount","removed","removedCount","getArrayLength","setArrayLength","newLength","currentLength","newItems","spliceWithArray","updateArrayLength","oldLength","delta","deleteCount","Math","max","min","lengthDelta","spliceItemsIntoValues","notifyArraySplice","_a","notifyArrayChildUpdate","ENTRY_0","clear","arrays","toJS","find","predicate","fromIndex","findIndex","items","shift","unshift","reverse","clone","sort","compareFn","remove","move","toIndex","checkIndex","oldItems","impl","nextIndex","funcName","baseFunc","propNames","makeNonEnumerable$$1","createArrayEntryDescriptor","createArrayBufferItem","isObservableArrayAdministration","ObservableMapMarker","initialData","_data","_hasMap","merge","_has","_updateHasMapEntry","hasKey","_updateValue","_addValue","delete","entry","stringifyKey","entries","callback","other","_b","newKeys","filter","k","toPOJO","String","ObservableSetMarker","_atom","callbackFn","size","observableValues","ObservableObjectAdministration$$1","defaultEnhancer","owner","illegalAccess","observablePropertyConfigs","generateObservablePropConfig$$1","notifyPropertyAddition","isObservableObjectAdministration","anyThing","getAdministration$$1","eq","aStack","bStack","unwrap","className","areArrays","aCtor","bCtor","has$1","deepEq","__MOBX_DEVTOOLS_GLOBAL_HOOK__","injectMobx","spy","extras","getDebugName","Element_scroll_js_1","toPhysicalAlignment","axis","isHorizontalWritingMode","isFlippedBlocksMode","alignment","inline","block","alignNearest","scrollingEdgeStart","scrollingEdgeEnd","scrollingSize","scrollingBorderStart","scrollingBorderEnd","elementEdgeStart","elementEdgeEnd","elementSize","canOverflow","overflow","isScrollable","element","clientHeight","scrollHeight","clientWidth","scrollWidth","style","getComputedStyle","overflowY","overflowX","parentElement","parentNode","nodeType","Node","DOCUMENT_FRAGMENT_NODE","host","$original","elementScrollIntoView","ownerDocument","documentElement","contains","scrollingElement","document","frames","cursor","body","viewportWidth","visualViewport","width","innerWidth","viewportHeight","height","innerHeight","viewportX","scrollX","pageXOffset","viewportY","scrollY","pageYOffset","targetHeight","targetWidth","top","targetTop","right","targetRight","bottom","targetBottom","left","targetLeft","getBoundingClientRect","computedStyle","writingMode","webkitWritingMode","getPropertyValue","some","isFlippedBlocksWritingMode","alignX","alignY","targetBlock","targetInline","actions","frame","frameStyle","borderLeft","parseInt","borderLeftWidth","borderTop","borderTopWidth","borderRight","borderRightWidth","borderBottom","borderBottomWidth","blockScroll","inlineScroll","scrollbarWidth","offsetWidth","scrollbarHeight","offsetHeight","scrollLeft","scrollTop","elementScroll","polyfill","originalFunc","scrollIntoView","getOriginalFunc","Element","arg","TypeError","g","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","clearTimeout","currentQueue","queue","draining","queueIndex","cleanUpNextTick","drainQueue","timeout","len","marker","runClearTimeout","Item","noop","nextTick","title","browser","argv","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","binding","cwd","chdir","dir","umask","./en-US.json","./zh-CN.json","webpackContext","req","id","webpackContextResolve","code","resolve","common_js_1","scroll","scrollTo","y","originalBoundFunc","startX","startY","targetX","targetY","behavior","removeEventListener","cancelScroll","timeStamp","duration","rafId","method","timingFunc","cancelAnimationFrame","addEventListener","passive","step","arg0","performance","elapsed","cos","PI","currentX","currentY","requestAnimationFrame","VNode","preact_options","stack","EMPTY_CHILDREN","h","nodeName","attributes","lastSimple","simple","children","vnode","extend","applyRef","current","defer","Promise","then","IS_NON_DIMENSIONAL","enqueueRender","component","_dirty","debounceRendering","rerender","renderComponent","isNamedNode","normalizedNodeName","toLowerCase","getNodeProps","defaultProps","removeNode","removeChild","setAccessor","old","isSvg","cssText","test","innerHTML","__html","useCapture","substring","eventProxy","_listeners","removeAttribute","removeAttributeNS","setAttributeNS","setAttribute","mounts","diffLevel","isSvgMode","hydrating","flushMounts","afterMount","componentDidMount","diff","dom","mountAll","parent","componentRoot","ownerSVGElement","ret","idiff","appendChild","out","prevSvgMode","splitText","_component","nodeValue","createTextNode","replaceChild","recollectNodeTree","vnodeName","originalComponent","oldDom","isDirectOwner","_componentConstructor","isOwner","_parentComponent","setComponentProps","base","unmountComponent","createComponent","nextBase","buildComponentFromVNode","createElementNS","createElement","firstChild","fc","vchildren","nextSibling","isHydrating","j","vchild","originalChildren","childNodes","keyed","keyedLen","childrenLen","vlen","_child","__key","trim","insertBefore","innerDiffNode","dangerouslySetInnerHTML","attrs","diffAttributes","unmountOnly","removeChildren","lastChild","previousSibling","recyclerComponents","Ctor","inst","render","Component","doRender","state","renderMode","_disable","__ref","getDerivedStateFromProps","componentWillMount","componentWillReceiveProps","prevContext","prevProps","syncComponentUpdates","isChild","rendered","cbase","previousProps","previousState","prevState","previousContext","isUpdate","initialBase","initialChildComponent","skip","snapshot","shouldComponentUpdate","componentWillUpdate","getChildContext","getSnapshotBeforeUpdate","toUnmount","childComponent","childProps","baseParent","componentRef","componentDidUpdate","afterUpdate","_renderCallbacks","beforeUnmount","componentWillUnmount","inner","createRef","setState","forceUpdate","dist_preact","cloneElement","augment","origMethod","mobxReaction","observer","comp","componentClass","compName","displayName","mobx_module","origRender","renderResult","languages","ctx","reduce","require","preferences","_dec","action","_dec2","_dec3","_dec4","_dec5","_dec6","_dec7","_descriptor","_applyDecoratedDescriptor","_class","Preferences","i18n","lang","fixed_decimal","pow","fixed","storageName","_initializerDefineProperty","_descriptor2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","_descriptor7","themeColor","navigator","language","JSON","parse","localStorage","getItem","save","setItem","stringify","set_spaceStart","spaceStart","set_spaceEnd","spaceEnd","toggle_audio_player","builtInAudio","toggle_screen_button","screenButton","toggle_dark_mode","darkMode","add_fixed","minus_fixed","observable","computed","Router","router_descriptor","path","location","hash","editor","pref","synchronizer","router","appState","appState_dec","appState_descriptor","appState_applyDecoratedDescriptor","appState_class","[object Object]","appState_initializerDefineProperty","appState_descriptor2","appState_descriptor3","src","URL","revokeObjectURL","audioSrc","createObjectURL","currentTime_fixed","currentTime","_currentTime","toggle_lock","lock","storedFormaTter","convertTimeToTag","withBrackets","formatter","newFormatter","Intl","NumberFormat","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","getFormatter","mm","floor","padStart","ss","format","formatText","text","newText","repeat","trimStart","trimEnd","LRC","selectedIndex","_selectedIndex","lyric","highlightIndex","_highlightIndex","lrc_initializerDefineProperty","lrc_descriptor","lrc_descriptor2","lrc_descriptor3","lrc_descriptor4","info","lrcString","option","split","timeTag","infoTag","line","lastIndex","rTimeTag","exec","Number","parseFloat","rInfoTag","parser","info_set","info_delete","endOfLine","infos","from","Infinity","record","currentIndex","nextTime","lrc","autorun","audioTime","PlaySvg","fill","viewBox","xmlns","PauseSvg","VolumeSvg","MutedSvg","Replay5sSvg","Forward5sSvg","SettingsSvg","EditorSvg","SynchronizerSvg","DownloadSvg","UnlockSvg","LockSvg","LoadAudioSvg","LoadTextSvg","SelectAllSvg","DownLoadButton","super","DownLoadButton_descriptor","handleClick","href","Blob","download","onClick","Editor","textareaRef","updateInfo","parseText","uploadAudio","file","files","uploadText","fileReader","FileReader","onload","fileReaderEvent","lyricText","readAsText","selectAll","textarea","select","execCommand","accept","onChange","placeholder","onBlur","DownLoadButton_DownLoadButton","clearCache","onSpaceStartChange","ev","validity","valid","onSpaceEndChange","handleLanguageSelect","updateTime","date","UPDATE_TIME","DateTimeFormat","year","month","day","hour","minute","second","timeZoneName","hour12","selected","VERSION","BUILD_REVISION","class","htmlFor","required","checked","LockNodeButton","classNames","tabIndex","CurrentTimeTag","autoDispose","SynchronizerList","trackNode","disposers","includes","preventDefault","deleteTimestamp","metaKey","ctrlKey","sync","changeSelect","capture","dl","selectLine","dataset","lyricLine","pre_key","pre_time","lyricTimeTag","data-key","Synchronizer_CurrentTimeTag","Synchronizer","Synchronizer_SynchronizerList","LockNodeButton_LockNodeButton","Content","match","Editor_Editor","Preferences_Preferences","NotFound","Slider","onInput","percent","Audio","Audio_initializerDefineProperty","Audio_descriptor","Audio_descriptor2","Audio_descriptor3","Audio_descriptor4","Audio_descriptor5","Audio_descriptor6","audioRef","Audio_descriptor7","_descriptor8","_descriptor9","_descriptor10","onTimeUpdate","paused","syncTime","_descriptor11","replay5s","audio","forward5s","play","pause","togglePlayPause","handleTimeSelect","handlePlaybackRateChange","playbackRate","exp","handlePlaybackRateReset","handleVolumeChange","volume","muted","toggleMuted","sessionStorage","_playbackRate","playbackRate_exp","currentTime_int","timeToTag","timelineSection","controls","disabled","audioextraSection","toFixed","handlePlaybackRateChang","hidden","onLoadedMetadata","onPlay","onPause","onEnded","onVolumeChange","onRateChange","SpaceButton","Footer","rate","newRate","shiftKey","prompt","urlSearchParams","search","params","val","decodeURIComponent","SpaceButton_SpaceButton","Audio_Audio","Header","Loading","strProto","configure","classList","trimLeft","trimRight","loading","Header_Header","Content_Content","Footer_Footer","firstElementChild","stopPropagation","dataTransfer","dropEffect"],"mappings":"aACA,IAAAA,EAAA,GAGA,SAAAC,EAAAC,GAGA,GAAAF,EAAAE,GACA,OAAAF,EAAAE,GAAAC,QAGA,IAAAC,EAAAJ,EAAAE,GAAA,CACAG,EAAAH,EACAI,GAAA,EACAH,QAAA,IAUA,OANAI,EAAAL,GAAAM,KAAAJ,EAAAD,QAAAC,IAAAD,QAAAF,GAGAG,EAAAE,GAAA,EAGAF,EAAAD,QAKAF,EAAAQ,EAAAF,EAGAN,EAAAS,EAAAV,EAGAC,EAAAU,EAAA,SAAAR,EAAAS,EAAAC,GACAZ,EAAAa,EAAAX,EAAAS,IACAG,OAAAC,eAAAb,EAAAS,EAAA,CAA0CK,YAAA,EAAAC,IAAAL,KAK1CZ,EAAAkB,EAAA,SAAAhB,GACA,oBAAAiB,eAAAC,aACAN,OAAAC,eAAAb,EAAAiB,OAAAC,YAAA,CAAwDC,MAAA,WAExDP,OAAAC,eAAAb,EAAA,cAAiDmB,OAAA,KAQjDrB,EAAAsB,EAAA,SAAAD,EAAAE,GAEA,GADA,EAAAA,IAAAF,EAAArB,EAAAqB,IACA,EAAAE,EAAA,OAAAF,EACA,KAAAE,GAAA,iBAAAF,QAAAG,WAAA,OAAAH,EACA,IAAAI,EAAAX,OAAAY,OAAA,MAGA,GAFA1B,EAAAkB,EAAAO,GACAX,OAAAC,eAAAU,EAAA,WAAyCT,YAAA,EAAAK,UACzC,EAAAE,GAAA,iBAAAF,EAAA,QAAAM,KAAAN,EAAArB,EAAAU,EAAAe,EAAAE,EAAA,SAAAA,GAAgH,OAAAN,EAAAM,IAAqB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AAQ,OAAQ,MAK5Cwf,EAAO7G,EC7BY,EAAGue,aAClB/U,EAAAxJ,EAAA,QAAMtM,UAAU,OACZ8V,EAAAxJ,EAACwe,GAAD,MACCD,EAAU/U,EAAAxJ,EAACie,GAAD,MAAczU,EAAAxJ,EAACye,GAAD,MACzBjV,EAAAxJ,EAAC0e,GAAD,ODyBM,CAAEH,SAAS,IAAUznB,SAASG,KAAMH,SAASG,KAAK0nB,mBAEhE7nB,SAASG,KAAKgI,iBACV,WACChtB,IACGA,EAAE2sC,kBACF3sC,EAAEqmC,iBACFrmC,EAAE4sC,aAAaC,WAAa,QACrB,IAEX,GAGJhoB,SAASG,KAAKgI,iBACV,OACA0L,YAAQ14B,IACJA,EAAE2sC,kBACF3sC,EAAEqmC,iBACF,IAAIrD,EAAOhjC,EAAE4sC,aAAa3J,MAAM,GAChC,GAAID,EACA,GAAI,WAAWlT,KAAKkT,EAAK71B,MACrBgvB,GAASS,IAAMoG,OACZ,GAAI,UAAUlT,KAAKkT,EAAK71B,OAAS,oBAAoB2iB,KAAKkT,EAAKlmC,MAAO,CACzE,IAAIqmC,EAAa,IAAIC,WACrBD,EAAWE,OAAUC,KACjBxC,GAAItjC,MAAQ8lC,EAAgB58B,OAAOuK,OACnC4qB,SAASC,KAAOJ,GAAOK,OAAOH,OAElCuH,EAAWK,WAAWR,GAG9B,OAAO,KAEX","file":"app.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2);\n","/** MobX - (c) Michel Weststrate 2015, 2016 - MIT Licensed */\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nvar __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n};\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nfunction __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nfunction __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\n\nvar OBFUSCATED_ERROR$$1 = \"An invariant failed, however the error is obfuscated because this is an production build.\";\nvar EMPTY_ARRAY$$1 = [];\nObject.freeze(EMPTY_ARRAY$$1);\nvar EMPTY_OBJECT$$1 = {};\nObject.freeze(EMPTY_OBJECT$$1);\nfunction getGlobal$$1() {\n return typeof window !== \"undefined\" ? window : global;\n}\nfunction getNextId$$1() {\n return ++globalState$$1.mobxGuid;\n}\nfunction fail$$1(message) {\n invariant$$1(false, message);\n throw \"X\"; // unreachable\n}\nfunction invariant$$1(check, message) {\n if (!check)\n throw new Error(\"[mobx] \" + (message || OBFUSCATED_ERROR$$1));\n}\n/**\n * Prints a deprecation message, but only one time.\n * Returns false if the deprecated message was already printed before\n */\nvar deprecatedMessages = [];\nfunction deprecated$$1(msg, thing) {\n if (process.env.NODE_ENV === \"production\")\n return false;\n if (thing) {\n return deprecated$$1(\"'\" + msg + \"', use '\" + thing + \"' instead.\");\n }\n if (deprecatedMessages.indexOf(msg) !== -1)\n return false;\n deprecatedMessages.push(msg);\n console.error(\"[mobx] Deprecated: \" + msg);\n return true;\n}\n/**\n * Makes sure that the provided function is invoked at most once.\n */\nfunction once$$1(func) {\n var invoked = false;\n return function () {\n if (invoked)\n return;\n invoked = true;\n return func.apply(this, arguments);\n };\n}\nvar noop$$1 = function () { };\nfunction unique$$1(list) {\n var res = [];\n list.forEach(function (item) {\n if (res.indexOf(item) === -1)\n res.push(item);\n });\n return res;\n}\nfunction isObject$$1(value) {\n return value !== null && typeof value === \"object\";\n}\nfunction isPlainObject$$1(value) {\n if (value === null || typeof value !== \"object\")\n return false;\n var proto = Object.getPrototypeOf(value);\n return proto === Object.prototype || proto === null;\n}\nfunction makeNonEnumerable$$1(object, propNames) {\n for (var i = 0; i < propNames.length; i++) {\n addHiddenProp$$1(object, propNames[i], object[propNames[i]]);\n }\n}\nfunction addHiddenProp$$1(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: true,\n configurable: true,\n value: value\n });\n}\nfunction addHiddenFinalProp$$1(object, propName, value) {\n Object.defineProperty(object, propName, {\n enumerable: false,\n writable: false,\n configurable: true,\n value: value\n });\n}\nfunction isPropertyConfigurable$$1(object, prop) {\n var descriptor = Object.getOwnPropertyDescriptor(object, prop);\n return !descriptor || (descriptor.configurable !== false && descriptor.writable !== false);\n}\nfunction assertPropertyConfigurable$$1(object, prop) {\n if (process.env.NODE_ENV !== \"production\" && !isPropertyConfigurable$$1(object, prop))\n fail$$1(\"Cannot make property '\" + prop + \"' observable, it is not configurable and writable in the target object\");\n}\nfunction createInstanceofPredicate$$1(name, clazz) {\n var propName = \"isMobX\" + name;\n clazz.prototype[propName] = true;\n return function (x) {\n return isObject$$1(x) && x[propName] === true;\n };\n}\nfunction areBothNaN$$1(a, b) {\n return typeof a === \"number\" && typeof b === \"number\" && isNaN(a) && isNaN(b);\n}\n/**\n * Returns whether the argument is an array, disregarding observability.\n */\nfunction isArrayLike$$1(x) {\n return Array.isArray(x) || isObservableArray$$1(x);\n}\nfunction isES6Map$$1(thing) {\n if (getGlobal$$1().Map !== undefined && thing instanceof getGlobal$$1().Map)\n return true;\n return false;\n}\nfunction isES6Set$$1(thing) {\n return thing instanceof Set;\n}\nfunction getMapLikeKeys$$1(map) {\n if (isPlainObject$$1(map))\n return Object.keys(map);\n if (Array.isArray(map))\n return map.map(function (_a) {\n var _b = __read(_a, 1), key = _b[0];\n return key;\n });\n if (isES6Map$$1(map) || isObservableMap$$1(map))\n return iteratorToArray$$1(map.keys());\n return fail$$1(\"Cannot get keys from '\" + map + \"'\");\n}\n// use Array.from in Mobx 5\nfunction iteratorToArray$$1(it) {\n var res = [];\n while (true) {\n var r = it.next();\n if (r.done)\n break;\n res.push(r.value);\n }\n return res;\n}\nfunction primitiveSymbol$$1() {\n // es-disable-next-line\n return (typeof Symbol === \"function\" && Symbol.toPrimitive) || \"@@toPrimitive\";\n}\nfunction toPrimitive$$1(value) {\n return value === null ? null : typeof value === \"object\" ? \"\" + value : value;\n}\n\nfunction iteratorSymbol$$1() {\n return (typeof Symbol === \"function\" && Symbol.iterator) || \"@@iterator\";\n}\n\nfunction declareIterator$$1(prototType, iteratorFactory) {\n addHiddenFinalProp$$1(prototType, iteratorSymbol$$1(), iteratorFactory);\n}\nfunction makeIterable$$1(iterator) {\n iterator[iteratorSymbol$$1()] = self;\n return iterator;\n}\nfunction toStringTagSymbol$$1() {\n return (typeof Symbol === \"function\" && Symbol.toStringTag) || \"@@toStringTag\";\n}\nfunction self() {\n return this;\n}\n\n/**\n * Anything that can be used to _store_ state is an Atom in mobx. Atoms have two important jobs\n *\n * 1) detect when they are being _used_ and report this (using reportObserved). This allows mobx to make the connection between running functions and the data they used\n * 2) they should notify mobx whenever they have _changed_. This way mobx can re-run any functions (derivations) that are using this atom.\n */\nvar Atom$$1 = /** @class */ (function () {\n /**\n * Create a new atom. For debugging purposes it is recommended to give it a name.\n * The onBecomeObserved and onBecomeUnobserved callbacks can be used for resource management.\n */\n function Atom$$1(name) {\n if (name === void 0) { name = \"Atom@\" + getNextId$$1(); }\n this.name = name;\n this.isPendingUnobservation = false; // for effective unobserving. BaseAtom has true, for extra optimization, so its onBecomeUnobserved never gets called, because it's not needed\n this.isBeingObserved = false;\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.NOT_TRACKING;\n }\n Atom$$1.prototype.onBecomeUnobserved = function () {\n // noop\n };\n Atom$$1.prototype.onBecomeObserved = function () {\n /* noop */\n };\n /**\n * Invoke this method to notify mobx that your atom has been used somehow.\n * Returns true if there is currently a reactive context.\n */\n Atom$$1.prototype.reportObserved = function () {\n return reportObserved$$1(this);\n };\n /**\n * Invoke this method _after_ this method has changed to signal mobx that all its observers should invalidate.\n */\n Atom$$1.prototype.reportChanged = function () {\n startBatch$$1();\n propagateChanged$$1(this);\n endBatch$$1();\n };\n Atom$$1.prototype.toString = function () {\n return this.name;\n };\n return Atom$$1;\n}());\nvar isAtom$$1 = createInstanceofPredicate$$1(\"Atom\", Atom$$1);\nfunction createAtom$$1(name, onBecomeObservedHandler, onBecomeUnobservedHandler) {\n if (onBecomeObservedHandler === void 0) { onBecomeObservedHandler = noop$$1; }\n if (onBecomeUnobservedHandler === void 0) { onBecomeUnobservedHandler = noop$$1; }\n var atom = new Atom$$1(name);\n onBecomeObserved$$1(atom, onBecomeObservedHandler);\n onBecomeUnobserved$$1(atom, onBecomeUnobservedHandler);\n return atom;\n}\n\nfunction identityComparer(a, b) {\n return a === b;\n}\nfunction structuralComparer(a, b) {\n return deepEqual$$1(a, b);\n}\nfunction defaultComparer(a, b) {\n return areBothNaN$$1(a, b) || identityComparer(a, b);\n}\nvar comparer$$1 = {\n identity: identityComparer,\n structural: structuralComparer,\n default: defaultComparer\n};\n\nvar enumerableDescriptorCache = {};\nvar nonEnumerableDescriptorCache = {};\nfunction createPropertyInitializerDescriptor(prop, enumerable) {\n var cache = enumerable ? enumerableDescriptorCache : nonEnumerableDescriptorCache;\n return (cache[prop] ||\n (cache[prop] = {\n configurable: true,\n enumerable: enumerable,\n get: function () {\n initializeInstance$$1(this);\n return this[prop];\n },\n set: function (value) {\n initializeInstance$$1(this);\n this[prop] = value;\n }\n }));\n}\nfunction initializeInstance$$1(target) {\n if (target.__mobxDidRunLazyInitializers === true)\n return;\n var decorators = target.__mobxDecorators;\n if (decorators) {\n addHiddenProp$$1(target, \"__mobxDidRunLazyInitializers\", true);\n for (var key in decorators) {\n var d = decorators[key];\n d.propertyCreator(target, d.prop, d.descriptor, d.decoratorTarget, d.decoratorArguments);\n }\n }\n}\nfunction createPropDecorator$$1(propertyInitiallyEnumerable, propertyCreator) {\n return function decoratorFactory() {\n var decoratorArguments;\n var decorator = function decorate$$1(target, prop, descriptor, applyImmediately\n // This is a special parameter to signal the direct application of a decorator, allow extendObservable to skip the entire type decoration part,\n // as the instance to apply the decorator to equals the target\n ) {\n if (applyImmediately === true) {\n propertyCreator(target, prop, descriptor, target, decoratorArguments);\n return null;\n }\n if (process.env.NODE_ENV !== \"production\" && !quacksLikeADecorator$$1(arguments))\n fail$$1(\"This function is a decorator, but it wasn't invoked like a decorator\");\n if (!Object.prototype.hasOwnProperty.call(target, \"__mobxDecorators\")) {\n var inheritedDecorators = target.__mobxDecorators;\n addHiddenProp$$1(target, \"__mobxDecorators\", __assign({}, inheritedDecorators));\n }\n target.__mobxDecorators[prop] = {\n prop: prop,\n propertyCreator: propertyCreator,\n descriptor: descriptor,\n decoratorTarget: target,\n decoratorArguments: decoratorArguments\n };\n return createPropertyInitializerDescriptor(prop, propertyInitiallyEnumerable);\n };\n if (quacksLikeADecorator$$1(arguments)) {\n // @decorator\n decoratorArguments = EMPTY_ARRAY$$1;\n return decorator.apply(null, arguments);\n }\n else {\n // @decorator(args)\n decoratorArguments = Array.prototype.slice.call(arguments);\n return decorator;\n }\n };\n}\nfunction quacksLikeADecorator$$1(args) {\n return (((args.length === 2 || args.length === 3) && typeof args[1] === \"string\") ||\n (args.length === 4 && args[3] === true));\n}\n\nfunction deepEnhancer$$1(v, _, name) {\n // it is an observable already, done\n if (isObservable$$1(v))\n return v;\n // something that can be converted and mutated?\n if (Array.isArray(v))\n return observable$$1.array(v, { name: name });\n if (isPlainObject$$1(v))\n return observable$$1.object(v, undefined, { name: name });\n if (isES6Map$$1(v))\n return observable$$1.map(v, { name: name });\n if (isES6Set$$1(v))\n return observable$$1.set(v, { name: name });\n return v;\n}\nfunction shallowEnhancer$$1(v, _, name) {\n if (v === undefined || v === null)\n return v;\n if (isObservableObject$$1(v) || isObservableArray$$1(v) || isObservableMap$$1(v) || isObservableSet$$1(v))\n return v;\n if (Array.isArray(v))\n return observable$$1.array(v, { name: name, deep: false });\n if (isPlainObject$$1(v))\n return observable$$1.object(v, undefined, { name: name, deep: false });\n if (isES6Map$$1(v))\n return observable$$1.map(v, { name: name, deep: false });\n if (isES6Set$$1(v))\n return observable$$1.set(v, { name: name, deep: false });\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"The shallow modifier / decorator can only used in combination with arrays, objects, maps and sets\");\n}\nfunction referenceEnhancer$$1(newValue) {\n // never turn into an observable\n return newValue;\n}\nfunction refStructEnhancer$$1(v, oldValue, name) {\n if (process.env.NODE_ENV !== \"production\" && isObservable$$1(v))\n throw \"observable.struct should not be used with observable values\";\n if (deepEqual$$1(v, oldValue))\n return oldValue;\n return v;\n}\n\nfunction createDecoratorForEnhancer$$1(enhancer) {\n var decorator = createPropDecorator$$1(true, function (target, propertyName, descriptor, _decoratorTarget, decoratorArgs) {\n if (process.env.NODE_ENV !== \"production\") {\n invariant$$1(!descriptor || !descriptor.get, \"@observable cannot be used on getter (property \\\"\" + propertyName + \"\\\"), use @computed instead.\");\n }\n var initialValue = descriptor\n ? descriptor.initializer\n ? descriptor.initializer.call(target)\n : descriptor.value\n : undefined;\n defineObservableProperty$$1(target, propertyName, initialValue, enhancer);\n });\n var res = \n // Extra process checks, as this happens during module initialization\n typeof process !== \"undefined\" && process.env && process.env.NODE_ENV !== \"production\"\n ? function observableDecorator() {\n // This wrapper function is just to detect illegal decorator invocations, deprecate in a next version\n // and simply return the created prop decorator\n if (arguments.length < 2)\n return fail$$1(\"Incorrect decorator invocation. @observable decorator doesn't expect any arguments\");\n return decorator.apply(null, arguments);\n }\n : decorator;\n res.enhancer = enhancer;\n return res;\n}\n\n// Predefined bags of create observable options, to avoid allocating temporarily option objects\n// in the majority of cases\nvar defaultCreateObservableOptions$$1 = {\n deep: true,\n name: undefined,\n defaultDecorator: undefined\n};\nvar shallowCreateObservableOptions$$1 = {\n deep: false,\n name: undefined,\n defaultDecorator: undefined\n};\nObject.freeze(defaultCreateObservableOptions$$1);\nObject.freeze(shallowCreateObservableOptions$$1);\nfunction assertValidOption(key) {\n if (!/^(deep|name|equals|defaultDecorator)$/.test(key))\n fail$$1(\"invalid option for (extend)observable: \" + key);\n}\nfunction asCreateObservableOptions$$1(thing) {\n if (thing === null || thing === undefined)\n return defaultCreateObservableOptions$$1;\n if (typeof thing === \"string\")\n return { name: thing, deep: true };\n if (process.env.NODE_ENV !== \"production\") {\n if (typeof thing !== \"object\")\n return fail$$1(\"expected options object\");\n Object.keys(thing).forEach(assertValidOption);\n }\n return thing;\n}\nfunction getEnhancerFromOptions(options) {\n return options.defaultDecorator\n ? options.defaultDecorator.enhancer\n : options.deep === false\n ? referenceEnhancer$$1\n : deepEnhancer$$1;\n}\nvar deepDecorator$$1 = createDecoratorForEnhancer$$1(deepEnhancer$$1);\nvar shallowDecorator = createDecoratorForEnhancer$$1(shallowEnhancer$$1);\nvar refDecorator$$1 = createDecoratorForEnhancer$$1(referenceEnhancer$$1);\nvar refStructDecorator = createDecoratorForEnhancer$$1(refStructEnhancer$$1);\n/**\n * Turns an object, array or function into a reactive structure.\n * @param v the value which should become observable.\n */\nfunction createObservable(v, arg2, arg3) {\n // @observable someProp;\n if (typeof arguments[1] === \"string\") {\n return deepDecorator$$1.apply(null, arguments);\n }\n // it is an observable already, done\n if (isObservable$$1(v))\n return v;\n // something that can be converted and mutated?\n var res = isPlainObject$$1(v)\n ? observable$$1.object(v, arg2, arg3)\n : Array.isArray(v)\n ? observable$$1.array(v, arg2)\n : isES6Map$$1(v)\n ? observable$$1.map(v, arg2)\n : isES6Set$$1(v)\n ? observable$$1.set(v, arg2)\n : v;\n // this value could be converted to a new observable data structure, return it\n if (res !== v)\n return res;\n // otherwise, just box it\n fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"The provided value could not be converted into an observable. If you want just create an observable reference to the object use 'observable.box(value)'\");\n}\nvar observableFactories = {\n box: function (value, options) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"box\");\n var o = asCreateObservableOptions$$1(options);\n return new ObservableValue$$1(value, getEnhancerFromOptions(o), o.name, true, o.equals);\n },\n shallowBox: function (value, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowBox\");\n deprecated$$1(\"observable.shallowBox\", \"observable.box(value, { deep: false })\");\n return observable$$1.box(value, { name: name, deep: false });\n },\n array: function (initialValues, options) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"array\");\n var o = asCreateObservableOptions$$1(options);\n return new ObservableArray$$1(initialValues, getEnhancerFromOptions(o), o.name);\n },\n shallowArray: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowArray\");\n deprecated$$1(\"observable.shallowArray\", \"observable.array(values, { deep: false })\");\n return observable$$1.array(initialValues, { name: name, deep: false });\n },\n map: function (initialValues, options) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"map\");\n var o = asCreateObservableOptions$$1(options);\n return new ObservableMap$$1(initialValues, getEnhancerFromOptions(o), o.name);\n },\n shallowMap: function (initialValues, name) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"shallowMap\");\n deprecated$$1(\"observable.shallowMap\", \"observable.map(values, { deep: false })\");\n return observable$$1.map(initialValues, { name: name, deep: false });\n },\n set: function (initialValues, options) {\n if (arguments.length > 2)\n incorrectlyUsedAsDecorator(\"set\");\n var o = asCreateObservableOptions$$1(options);\n return new ObservableSet$$1(initialValues, getEnhancerFromOptions(o), o.name);\n },\n object: function (props, decorators, options) {\n if (typeof arguments[1] === \"string\")\n incorrectlyUsedAsDecorator(\"object\");\n var o = asCreateObservableOptions$$1(options);\n return extendObservable$$1({}, props, decorators, o);\n },\n shallowObject: function (props, name) {\n if (typeof arguments[1] === \"string\")\n incorrectlyUsedAsDecorator(\"shallowObject\");\n deprecated$$1(\"observable.shallowObject\", \"observable.object(values, {}, { deep: false })\");\n return observable$$1.object(props, {}, { name: name, deep: false });\n },\n ref: refDecorator$$1,\n shallow: shallowDecorator,\n deep: deepDecorator$$1,\n struct: refStructDecorator\n};\nvar observable$$1 = createObservable;\n// weird trick to keep our typings nicely with our funcs, and still extend the observable function\nObject.keys(observableFactories).forEach(function (name) { return (observable$$1[name] = observableFactories[name]); });\nfunction incorrectlyUsedAsDecorator(methodName) {\n fail$$1(\n // process.env.NODE_ENV !== \"production\" &&\n \"Expected one or two arguments to observable.\" + methodName + \". Did you accidentally try to use observable.\" + methodName + \" as decorator?\");\n}\n\nvar computedDecorator$$1 = createPropDecorator$$1(false, function (instance, propertyName, descriptor, decoratorTarget, decoratorArgs) {\n var get$$1 = descriptor.get, set$$1 = descriptor.set; // initialValue is the descriptor for get / set props\n // Optimization: faster on decorator target or instance? Assuming target\n // Optimization: find out if declaring on instance isn't just faster. (also makes the property descriptor simpler). But, more memory usage..\n // Forcing instance now, fixes hot reloadig issues on React Native:\n var options = decoratorArgs[0] || {};\n defineComputedProperty$$1(instance, propertyName, __assign({ get: get$$1, set: set$$1 }, options));\n});\nvar computedStructDecorator = computedDecorator$$1({ equals: comparer$$1.structural });\n/**\n * Decorator for class properties: @computed get value() { return expr; }.\n * For legacy purposes also invokable as ES5 observable created: `computed(() => expr)`;\n */\nvar computed$$1 = function computed$$1(arg1, arg2, arg3) {\n if (typeof arg2 === \"string\") {\n // @computed\n return computedDecorator$$1.apply(null, arguments);\n }\n if (arg1 !== null && typeof arg1 === \"object\" && arguments.length === 1) {\n // @computed({ options })\n return computedDecorator$$1.apply(null, arguments);\n }\n // computed(expr, options?)\n if (process.env.NODE_ENV !== \"production\") {\n invariant$$1(typeof arg1 === \"function\", \"First argument to `computed` should be an expression.\");\n invariant$$1(arguments.length < 3, \"Computed takes one or two arguments if used as function\");\n }\n var opts = typeof arg2 === \"object\" ? arg2 : {};\n opts.get = arg1;\n opts.set = typeof arg2 === \"function\" ? arg2 : opts.set;\n opts.name = opts.name || arg1.name || \"\"; /* for generated name */\n return new ComputedValue$$1(opts);\n};\ncomputed$$1.struct = computedStructDecorator;\n\nfunction createAction$$1(actionName, fn) {\n if (process.env.NODE_ENV !== \"production\") {\n invariant$$1(typeof fn === \"function\", \"`action` can only be invoked on functions\");\n if (typeof actionName !== \"string\" || !actionName)\n fail$$1(\"actions should have valid names, got: '\" + actionName + \"'\");\n }\n var res = function () {\n return executeAction$$1(actionName, fn, this, arguments);\n };\n res.isMobxAction = true;\n return res;\n}\nfunction executeAction$$1(actionName, fn, scope, args) {\n var runInfo = startAction(actionName, fn, scope, args);\n var shouldSupressReactionError = true;\n try {\n var res = fn.apply(scope, args);\n shouldSupressReactionError = false;\n return res;\n }\n finally {\n if (shouldSupressReactionError) {\n globalState$$1.suppressReactionErrors = shouldSupressReactionError;\n endAction(runInfo);\n globalState$$1.suppressReactionErrors = false;\n }\n else {\n endAction(runInfo);\n }\n }\n}\nfunction startAction(actionName, fn, scope, args) {\n var notifySpy = isSpyEnabled$$1() && !!actionName;\n var startTime = 0;\n if (notifySpy) {\n startTime = Date.now();\n var l = (args && args.length) || 0;\n var flattendArgs = new Array(l);\n if (l > 0)\n for (var i = 0; i < l; i++)\n flattendArgs[i] = args[i];\n spyReportStart$$1({\n type: \"action\",\n name: actionName,\n object: scope,\n arguments: flattendArgs\n });\n }\n var prevDerivation = untrackedStart$$1();\n startBatch$$1();\n var prevAllowStateChanges = allowStateChangesStart$$1(true);\n return {\n prevDerivation: prevDerivation,\n prevAllowStateChanges: prevAllowStateChanges,\n notifySpy: notifySpy,\n startTime: startTime\n };\n}\nfunction endAction(runInfo) {\n allowStateChangesEnd$$1(runInfo.prevAllowStateChanges);\n endBatch$$1();\n untrackedEnd$$1(runInfo.prevDerivation);\n if (runInfo.notifySpy)\n spyReportEnd$$1({ time: Date.now() - runInfo.startTime });\n}\nfunction allowStateChanges$$1(allowStateChanges$$1, func) {\n var prev = allowStateChangesStart$$1(allowStateChanges$$1);\n var res;\n try {\n res = func();\n }\n finally {\n allowStateChangesEnd$$1(prev);\n }\n return res;\n}\nfunction allowStateChangesStart$$1(allowStateChanges$$1) {\n var prev = globalState$$1.allowStateChanges;\n globalState$$1.allowStateChanges = allowStateChanges$$1;\n return prev;\n}\nfunction allowStateChangesEnd$$1(prev) {\n globalState$$1.allowStateChanges = prev;\n}\nfunction allowStateChangesInsideComputed$$1(func) {\n var prev = globalState$$1.computationDepth;\n globalState$$1.computationDepth = 0;\n var res;\n try {\n res = func();\n }\n finally {\n globalState$$1.computationDepth = prev;\n }\n return res;\n}\n\nvar ObservableValue$$1 = /** @class */ (function (_super) {\n __extends(ObservableValue$$1, _super);\n function ObservableValue$$1(value, enhancer, name, notifySpy, equals) {\n if (name === void 0) { name = \"ObservableValue@\" + getNextId$$1(); }\n if (notifySpy === void 0) { notifySpy = true; }\n if (equals === void 0) { equals = comparer$$1.default; }\n var _this = _super.call(this, name) || this;\n _this.enhancer = enhancer;\n _this.name = name;\n _this.equals = equals;\n _this.hasUnreportedChange = false;\n _this.value = enhancer(value, undefined, name);\n if (notifySpy && isSpyEnabled$$1()) {\n // only notify spy if this is a stand-alone observable\n spyReport$$1({ type: \"create\", name: _this.name, newValue: \"\" + _this.value });\n }\n return _this;\n }\n ObservableValue$$1.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined)\n return this.dehancer(value);\n return value;\n };\n ObservableValue$$1.prototype.set = function (newValue) {\n var oldValue = this.value;\n newValue = this.prepareNewValue(newValue);\n if (newValue !== globalState$$1.UNCHANGED) {\n var notifySpy = isSpyEnabled$$1();\n if (notifySpy) {\n spyReportStart$$1({\n type: \"update\",\n name: this.name,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n this.setNewValue(newValue);\n if (notifySpy)\n spyReportEnd$$1();\n }\n };\n ObservableValue$$1.prototype.prepareNewValue = function (newValue) {\n checkIfStateModificationsAreAllowed$$1(this);\n if (hasInterceptors$$1(this)) {\n var change = interceptChange$$1(this, {\n object: this,\n type: \"update\",\n newValue: newValue\n });\n if (!change)\n return globalState$$1.UNCHANGED;\n newValue = change.newValue;\n }\n // apply modifier\n newValue = this.enhancer(newValue, this.value, this.name);\n return this.equals(this.value, newValue) ? globalState$$1.UNCHANGED : newValue;\n };\n ObservableValue$$1.prototype.setNewValue = function (newValue) {\n var oldValue = this.value;\n this.value = newValue;\n this.reportChanged();\n if (hasListeners$$1(this)) {\n notifyListeners$$1(this, {\n type: \"update\",\n object: this,\n newValue: newValue,\n oldValue: oldValue\n });\n }\n };\n ObservableValue$$1.prototype.get = function () {\n this.reportObserved();\n return this.dehanceValue(this.value);\n };\n ObservableValue$$1.prototype.intercept = function (handler) {\n return registerInterceptor$$1(this, handler);\n };\n ObservableValue$$1.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately)\n listener({\n object: this,\n type: \"update\",\n newValue: this.value,\n oldValue: undefined\n });\n return registerListener$$1(this, listener);\n };\n ObservableValue$$1.prototype.toJSON = function () {\n return this.get();\n };\n ObservableValue$$1.prototype.toString = function () {\n return this.name + \"[\" + this.value + \"]\";\n };\n ObservableValue$$1.prototype.valueOf = function () {\n return toPrimitive$$1(this.get());\n };\n return ObservableValue$$1;\n}(Atom$$1));\nObservableValue$$1.prototype[primitiveSymbol$$1()] = ObservableValue$$1.prototype.valueOf;\nvar isObservableValue$$1 = createInstanceofPredicate$$1(\"ObservableValue\", ObservableValue$$1);\n\n/**\n * A node in the state dependency root that observes other nodes, and can be observed itself.\n *\n * ComputedValue will remember the result of the computation for the duration of the batch, or\n * while being observed.\n *\n * During this time it will recompute only when one of its direct dependencies changed,\n * but only when it is being accessed with `ComputedValue.get()`.\n *\n * Implementation description:\n * 1. First time it's being accessed it will compute and remember result\n * give back remembered result until 2. happens\n * 2. First time any deep dependency change, propagate POSSIBLY_STALE to all observers, wait for 3.\n * 3. When it's being accessed, recompute if any shallow dependency changed.\n * if result changed: propagate STALE to all observers, that were POSSIBLY_STALE from the last step.\n * go to step 2. either way\n *\n * If at any point it's outside batch and it isn't observed: reset everything and go to 1.\n */\nvar ComputedValue$$1 = /** @class */ (function () {\n /**\n * Create a new computed value based on a function expression.\n *\n * The `name` property is for debug purposes only.\n *\n * The `equals` property specifies the comparer function to use to determine if a newly produced\n * value differs from the previous value. Two comparers are provided in the library; `defaultComparer`\n * compares based on identity comparison (===), and `structualComparer` deeply compares the structure.\n * Structural comparison can be convenient if you always produce a new aggregated object and\n * don't want to notify observers if it is structurally the same.\n * This is useful for working with vectors, mouse coordinates etc.\n */\n function ComputedValue$$1(options) {\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = null; // during tracking it's an array with new observed observers\n this.isBeingObserved = false;\n this.isPendingUnobservation = false;\n this.observers = [];\n this.observersIndexes = {};\n this.diffValue = 0;\n this.runId = 0;\n this.lastAccessedBy = 0;\n this.lowestObserverState = IDerivationState.UP_TO_DATE;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId$$1();\n this.value = new CaughtException$$1(null);\n this.isComputing = false; // to check for cycles\n this.isRunningSetter = false;\n this.isTracing = TraceMode$$1.NONE;\n if (process.env.NODE_ENV !== \"production\" && !options.get)\n return fail$$1(\"missing option for computed: get\");\n this.derivation = options.get;\n this.name = options.name || \"ComputedValue@\" + getNextId$$1();\n if (options.set)\n this.setter = createAction$$1(this.name + \"-setter\", options.set);\n this.equals =\n options.equals ||\n (options.compareStructural || options.struct\n ? comparer$$1.structural\n : comparer$$1.default);\n this.scope = options.context;\n this.requiresReaction = !!options.requiresReaction;\n this.keepAlive = !!options.keepAlive;\n }\n ComputedValue$$1.prototype.onBecomeStale = function () {\n propagateMaybeChanged$$1(this);\n };\n ComputedValue$$1.prototype.onBecomeUnobserved = function () { };\n ComputedValue$$1.prototype.onBecomeObserved = function () { };\n /**\n * Returns the current value of this computed value.\n * Will evaluate its computation first if needed.\n */\n ComputedValue$$1.prototype.get = function () {\n if (this.isComputing)\n fail$$1(\"Cycle detected in computation \" + this.name + \": \" + this.derivation);\n if (globalState$$1.inBatch === 0 && this.observers.length === 0 && !this.keepAlive) {\n if (shouldCompute$$1(this)) {\n this.warnAboutUntrackedRead();\n startBatch$$1(); // See perf test 'computed memoization'\n this.value = this.computeValue(false);\n endBatch$$1();\n }\n }\n else {\n reportObserved$$1(this);\n if (shouldCompute$$1(this))\n if (this.trackAndCompute())\n propagateChangeConfirmed$$1(this);\n }\n var result = this.value;\n if (isCaughtException$$1(result))\n throw result.cause;\n return result;\n };\n ComputedValue$$1.prototype.peek = function () {\n var res = this.computeValue(false);\n if (isCaughtException$$1(res))\n throw res.cause;\n return res;\n };\n ComputedValue$$1.prototype.set = function (value) {\n if (this.setter) {\n invariant$$1(!this.isRunningSetter, \"The setter of computed value '\" + this.name + \"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?\");\n this.isRunningSetter = true;\n try {\n this.setter.call(this.scope, value);\n }\n finally {\n this.isRunningSetter = false;\n }\n }\n else\n invariant$$1(false, process.env.NODE_ENV !== \"production\" &&\n \"[ComputedValue '\" + this.name + \"'] It is not possible to assign a new value to a computed value.\");\n };\n ComputedValue$$1.prototype.trackAndCompute = function () {\n if (isSpyEnabled$$1()) {\n spyReport$$1({\n object: this.scope,\n type: \"compute\",\n name: this.name\n });\n }\n var oldValue = this.value;\n var wasSuspended = \n /* see #1208 */ this.dependenciesState === IDerivationState.NOT_TRACKING;\n var newValue = this.computeValue(true);\n var changed = wasSuspended ||\n isCaughtException$$1(oldValue) ||\n isCaughtException$$1(newValue) ||\n !this.equals(oldValue, newValue);\n if (changed) {\n this.value = newValue;\n }\n return changed;\n };\n ComputedValue$$1.prototype.computeValue = function (track) {\n this.isComputing = true;\n globalState$$1.computationDepth++;\n var res;\n if (track) {\n res = trackDerivedFunction$$1(this, this.derivation, this.scope);\n }\n else {\n if (globalState$$1.disableErrorBoundaries === true) {\n res = this.derivation.call(this.scope);\n }\n else {\n try {\n res = this.derivation.call(this.scope);\n }\n catch (e) {\n res = new CaughtException$$1(e);\n }\n }\n }\n globalState$$1.computationDepth--;\n this.isComputing = false;\n return res;\n };\n ComputedValue$$1.prototype.suspend = function () {\n if (!this.keepAlive) {\n clearObserving$$1(this);\n this.value = undefined; // don't hold on to computed value!\n }\n };\n ComputedValue$$1.prototype.observe = function (listener, fireImmediately) {\n var _this = this;\n var firstTime = true;\n var prevValue = undefined;\n return autorun$$1(function () {\n var newValue = _this.get();\n if (!firstTime || fireImmediately) {\n var prevU = untrackedStart$$1();\n listener({\n type: \"update\",\n object: _this,\n newValue: newValue,\n oldValue: prevValue\n });\n untrackedEnd$$1(prevU);\n }\n firstTime = false;\n prevValue = newValue;\n });\n };\n ComputedValue$$1.prototype.warnAboutUntrackedRead = function () {\n if (process.env.NODE_ENV === \"production\")\n return;\n if (this.requiresReaction === true) {\n fail$$1(\"[mobx] Computed value \" + this.name + \" is read outside a reactive context\");\n }\n if (this.isTracing !== TraceMode$$1.NONE) {\n console.log(\"[mobx.trace] '\" + this.name + \"' is being read outside a reactive context. Doing a full recompute\");\n }\n if (globalState$$1.computedRequiresReaction) {\n console.warn(\"[mobx] Computed value \" + this.name + \" is being read outside a reactive context. Doing a full recompute\");\n }\n };\n ComputedValue$$1.prototype.toJSON = function () {\n return this.get();\n };\n ComputedValue$$1.prototype.toString = function () {\n return this.name + \"[\" + this.derivation.toString() + \"]\";\n };\n ComputedValue$$1.prototype.valueOf = function () {\n return toPrimitive$$1(this.get());\n };\n return ComputedValue$$1;\n}());\nComputedValue$$1.prototype[primitiveSymbol$$1()] = ComputedValue$$1.prototype.valueOf;\nvar isComputedValue$$1 = createInstanceofPredicate$$1(\"ComputedValue\", ComputedValue$$1);\n\nvar IDerivationState;\n(function (IDerivationState$$1) {\n // before being run or (outside batch and not being observed)\n // at this point derivation is not holding any data about dependency tree\n IDerivationState$$1[IDerivationState$$1[\"NOT_TRACKING\"] = -1] = \"NOT_TRACKING\";\n // no shallow dependency changed since last computation\n // won't recalculate derivation\n // this is what makes mobx fast\n IDerivationState$$1[IDerivationState$$1[\"UP_TO_DATE\"] = 0] = \"UP_TO_DATE\";\n // some deep dependency changed, but don't know if shallow dependency changed\n // will require to check first if UP_TO_DATE or POSSIBLY_STALE\n // currently only ComputedValue will propagate POSSIBLY_STALE\n //\n // having this state is second big optimization:\n // don't have to recompute on every dependency change, but only when it's needed\n IDerivationState$$1[IDerivationState$$1[\"POSSIBLY_STALE\"] = 1] = \"POSSIBLY_STALE\";\n // A shallow dependency has changed since last computation and the derivation\n // will need to recompute when it's needed next.\n IDerivationState$$1[IDerivationState$$1[\"STALE\"] = 2] = \"STALE\";\n})(IDerivationState || (IDerivationState = {}));\nvar TraceMode$$1;\n(function (TraceMode$$1) {\n TraceMode$$1[TraceMode$$1[\"NONE\"] = 0] = \"NONE\";\n TraceMode$$1[TraceMode$$1[\"LOG\"] = 1] = \"LOG\";\n TraceMode$$1[TraceMode$$1[\"BREAK\"] = 2] = \"BREAK\";\n})(TraceMode$$1 || (TraceMode$$1 = {}));\nvar CaughtException$$1 = /** @class */ (function () {\n function CaughtException$$1(cause) {\n this.cause = cause;\n // Empty\n }\n return CaughtException$$1;\n}());\nfunction isCaughtException$$1(e) {\n return e instanceof CaughtException$$1;\n}\n/**\n * Finds out whether any dependency of the derivation has actually changed.\n * If dependenciesState is 1 then it will recalculate dependencies,\n * if any dependency changed it will propagate it by changing dependenciesState to 2.\n *\n * By iterating over the dependencies in the same order that they were reported and\n * stopping on the first change, all the recalculations are only called for ComputedValues\n * that will be tracked by derivation. That is because we assume that if the first x\n * dependencies of the derivation doesn't change then the derivation should run the same way\n * up until accessing x-th dependency.\n */\nfunction shouldCompute$$1(derivation) {\n switch (derivation.dependenciesState) {\n case IDerivationState.UP_TO_DATE:\n return false;\n case IDerivationState.NOT_TRACKING:\n case IDerivationState.STALE:\n return true;\n case IDerivationState.POSSIBLY_STALE: {\n var prevUntracked = untrackedStart$$1(); // no need for those computeds to be reported, they will be picked up in trackDerivedFunction.\n var obs = derivation.observing, l = obs.length;\n for (var i = 0; i < l; i++) {\n var obj = obs[i];\n if (isComputedValue$$1(obj)) {\n if (globalState$$1.disableErrorBoundaries) {\n obj.get();\n }\n else {\n try {\n obj.get();\n }\n catch (e) {\n // we are not interested in the value *or* exception at this moment, but if there is one, notify all\n untrackedEnd$$1(prevUntracked);\n return true;\n }\n }\n // if ComputedValue `obj` actually changed it will be computed and propagated to its observers.\n // and `derivation` is an observer of `obj`\n // invariantShouldCompute(derivation)\n if (derivation.dependenciesState === IDerivationState.STALE) {\n untrackedEnd$$1(prevUntracked);\n return true;\n }\n }\n }\n changeDependenciesStateTo0$$1(derivation);\n untrackedEnd$$1(prevUntracked);\n return false;\n }\n }\n}\n// function invariantShouldCompute(derivation: IDerivation) {\n// const newDepState = (derivation as any).dependenciesState\n// if (\n// process.env.NODE_ENV === \"production\" &&\n// (newDepState === IDerivationState.POSSIBLY_STALE ||\n// newDepState === IDerivationState.NOT_TRACKING)\n// )\n// fail(\"Illegal dependency state\")\n// }\nfunction isComputingDerivation$$1() {\n return globalState$$1.trackingDerivation !== null; // filter out actions inside computations\n}\nfunction checkIfStateModificationsAreAllowed$$1(atom) {\n var hasObservers$$1 = atom.observers.length > 0;\n // Should never be possible to change an observed observable from inside computed, see #798\n if (globalState$$1.computationDepth > 0 && hasObservers$$1)\n fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: \" + atom.name);\n // Should not be possible to change observed state outside strict mode, except during initialization, see #563\n if (!globalState$$1.allowStateChanges && (hasObservers$$1 || globalState$$1.enforceActions === \"strict\"))\n fail$$1(process.env.NODE_ENV !== \"production\" &&\n (globalState$$1.enforceActions\n ? \"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: \"\n : \"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: \") +\n atom.name);\n}\n/**\n * Executes the provided function `f` and tracks which observables are being accessed.\n * The tracking information is stored on the `derivation` object and the derivation is registered\n * as observer of any of the accessed observables.\n */\nfunction trackDerivedFunction$$1(derivation, f, context) {\n // pre allocate array allocation + room for variation in deps\n // array will be trimmed by bindDependencies\n changeDependenciesStateTo0$$1(derivation);\n derivation.newObserving = new Array(derivation.observing.length + 100);\n derivation.unboundDepsCount = 0;\n derivation.runId = ++globalState$$1.runId;\n var prevTracking = globalState$$1.trackingDerivation;\n globalState$$1.trackingDerivation = derivation;\n var result;\n if (globalState$$1.disableErrorBoundaries === true) {\n result = f.call(context);\n }\n else {\n try {\n result = f.call(context);\n }\n catch (e) {\n result = new CaughtException$$1(e);\n }\n }\n globalState$$1.trackingDerivation = prevTracking;\n bindDependencies(derivation);\n return result;\n}\n/**\n * diffs newObserving with observing.\n * update observing to be newObserving with unique observables\n * notify observers that become observed/unobserved\n */\nfunction bindDependencies(derivation) {\n // invariant(derivation.dependenciesState !== IDerivationState.NOT_TRACKING, \"INTERNAL ERROR bindDependencies expects derivation.dependenciesState !== -1\");\n var prevObserving = derivation.observing;\n var observing = (derivation.observing = derivation.newObserving);\n var lowestNewObservingDerivationState = IDerivationState.UP_TO_DATE;\n // Go through all new observables and check diffValue: (this list can contain duplicates):\n // 0: first occurrence, change to 1 and keep it\n // 1: extra occurrence, drop it\n var i0 = 0, l = derivation.unboundDepsCount;\n for (var i = 0; i < l; i++) {\n var dep = observing[i];\n if (dep.diffValue === 0) {\n dep.diffValue = 1;\n if (i0 !== i)\n observing[i0] = dep;\n i0++;\n }\n // Upcast is 'safe' here, because if dep is IObservable, `dependenciesState` will be undefined,\n // not hitting the condition\n if (dep.dependenciesState > lowestNewObservingDerivationState) {\n lowestNewObservingDerivationState = dep.dependenciesState;\n }\n }\n observing.length = i0;\n derivation.newObserving = null; // newObserving shouldn't be needed outside tracking (statement moved down to work around FF bug, see #614)\n // Go through all old observables and check diffValue: (it is unique after last bindDependencies)\n // 0: it's not in new observables, unobserve it\n // 1: it keeps being observed, don't want to notify it. change to 0\n l = prevObserving.length;\n while (l--) {\n var dep = prevObserving[l];\n if (dep.diffValue === 0) {\n removeObserver$$1(dep, derivation);\n }\n dep.diffValue = 0;\n }\n // Go through all new observables and check diffValue: (now it should be unique)\n // 0: it was set to 0 in last loop. don't need to do anything.\n // 1: it wasn't observed, let's observe it. set back to 0\n while (i0--) {\n var dep = observing[i0];\n if (dep.diffValue === 1) {\n dep.diffValue = 0;\n addObserver$$1(dep, derivation);\n }\n }\n // Some new observed derivations may become stale during this derivation computation\n // so they have had no chance to propagate staleness (#916)\n if (lowestNewObservingDerivationState !== IDerivationState.UP_TO_DATE) {\n derivation.dependenciesState = lowestNewObservingDerivationState;\n derivation.onBecomeStale();\n }\n}\nfunction clearObserving$$1(derivation) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR clearObserving should be called only inside batch\");\n var obs = derivation.observing;\n derivation.observing = [];\n var i = obs.length;\n while (i--)\n removeObserver$$1(obs[i], derivation);\n derivation.dependenciesState = IDerivationState.NOT_TRACKING;\n}\nfunction untracked$$1(action$$1) {\n var prev = untrackedStart$$1();\n var res = action$$1();\n untrackedEnd$$1(prev);\n return res;\n}\nfunction untrackedStart$$1() {\n var prev = globalState$$1.trackingDerivation;\n globalState$$1.trackingDerivation = null;\n return prev;\n}\nfunction untrackedEnd$$1(prev) {\n globalState$$1.trackingDerivation = prev;\n}\n/**\n * needed to keep `lowestObserverState` correct. when changing from (2 or 1) to 0\n *\n */\nfunction changeDependenciesStateTo0$$1(derivation) {\n if (derivation.dependenciesState === IDerivationState.UP_TO_DATE)\n return;\n derivation.dependenciesState = IDerivationState.UP_TO_DATE;\n var obs = derivation.observing;\n var i = obs.length;\n while (i--)\n obs[i].lowestObserverState = IDerivationState.UP_TO_DATE;\n}\n\n/**\n * These values will persist if global state is reset\n */\nvar persistentKeys = [\n \"mobxGuid\",\n \"spyListeners\",\n \"enforceActions\",\n \"computedRequiresReaction\",\n \"disableErrorBoundaries\",\n \"runId\",\n \"UNCHANGED\"\n];\nvar MobXGlobals$$1 = /** @class */ (function () {\n function MobXGlobals$$1() {\n /**\n * MobXGlobals version.\n * MobX compatiblity with other versions loaded in memory as long as this version matches.\n * It indicates that the global state still stores similar information\n *\n * N.B: this version is unrelated to the package version of MobX, and is only the version of the\n * internal state storage of MobX, and can be the same across many different package versions\n */\n this.version = 5;\n /**\n * globally unique token to signal unchanged\n */\n this.UNCHANGED = {};\n /**\n * Currently running derivation\n */\n this.trackingDerivation = null;\n /**\n * Are we running a computation currently? (not a reaction)\n */\n this.computationDepth = 0;\n /**\n * Each time a derivation is tracked, it is assigned a unique run-id\n */\n this.runId = 0;\n /**\n * 'guid' for general purpose. Will be persisted amongst resets.\n */\n this.mobxGuid = 0;\n /**\n * Are we in a batch block? (and how many of them)\n */\n this.inBatch = 0;\n /**\n * Observables that don't have observers anymore, and are about to be\n * suspended, unless somebody else accesses it in the same batch\n *\n * @type {IObservable[]}\n */\n this.pendingUnobservations = [];\n /**\n * List of scheduled, not yet executed, reactions.\n */\n this.pendingReactions = [];\n /**\n * Are we currently processing reactions?\n */\n this.isRunningReactions = false;\n /**\n * Is it allowed to change observables at this point?\n * In general, MobX doesn't allow that when running computations and React.render.\n * To ensure that those functions stay pure.\n */\n this.allowStateChanges = true;\n /**\n * If strict mode is enabled, state changes are by default not allowed\n */\n this.enforceActions = false;\n /**\n * Spy callbacks\n */\n this.spyListeners = [];\n /**\n * Globally attached error handlers that react specifically to errors in reactions\n */\n this.globalReactionErrorHandlers = [];\n /**\n * Warn if computed values are accessed outside a reactive context\n */\n this.computedRequiresReaction = false;\n /*\n * Don't catch and rethrow exceptions. This is useful for inspecting the state of\n * the stack when an exception occurs while debugging.\n */\n this.disableErrorBoundaries = false;\n /*\n * If true, we are already handling an exception in an action. Any errors in reactions should be supressed, as\n * they are not the cause, see: https://github.com/mobxjs/mobx/issues/1836\n */\n this.suppressReactionErrors = false;\n }\n return MobXGlobals$$1;\n}());\nvar canMergeGlobalState = true;\nvar isolateCalled = false;\nvar globalState$$1 = (function () {\n var global = getGlobal$$1();\n if (global.__mobxInstanceCount > 0 && !global.__mobxGlobals)\n canMergeGlobalState = false;\n if (global.__mobxGlobals && global.__mobxGlobals.version !== new MobXGlobals$$1().version)\n canMergeGlobalState = false;\n if (!canMergeGlobalState) {\n setTimeout(function () {\n if (!isolateCalled) {\n fail$$1(\"There are multiple, different versions of MobX active. Make sure MobX is loaded only once or use `configure({ isolateGlobalState: true })`\");\n }\n }, 1);\n return new MobXGlobals$$1();\n }\n else if (global.__mobxGlobals) {\n global.__mobxInstanceCount += 1;\n if (!global.__mobxGlobals.UNCHANGED)\n global.__mobxGlobals.UNCHANGED = {}; // make merge backward compatible\n return global.__mobxGlobals;\n }\n else {\n global.__mobxInstanceCount = 1;\n return (global.__mobxGlobals = new MobXGlobals$$1());\n }\n})();\nfunction isolateGlobalState$$1() {\n if (globalState$$1.pendingReactions.length ||\n globalState$$1.inBatch ||\n globalState$$1.isRunningReactions)\n fail$$1(\"isolateGlobalState should be called before MobX is running any reactions\");\n isolateCalled = true;\n if (canMergeGlobalState) {\n if (--getGlobal$$1().__mobxInstanceCount === 0)\n getGlobal$$1().__mobxGlobals = undefined;\n globalState$$1 = new MobXGlobals$$1();\n }\n}\nfunction getGlobalState$$1() {\n return globalState$$1;\n}\n/**\n * For testing purposes only; this will break the internal state of existing observables,\n * but can be used to get back at a stable state after throwing errors\n */\nfunction resetGlobalState$$1() {\n var defaultGlobals = new MobXGlobals$$1();\n for (var key in defaultGlobals)\n if (persistentKeys.indexOf(key) === -1)\n globalState$$1[key] = defaultGlobals[key];\n globalState$$1.allowStateChanges = !globalState$$1.enforceActions;\n}\n\nfunction hasObservers$$1(observable$$1) {\n return observable$$1.observers && observable$$1.observers.length > 0;\n}\nfunction getObservers$$1(observable$$1) {\n return observable$$1.observers;\n}\n// function invariantObservers(observable: IObservable) {\n// const list = observable.observers\n// const map = observable.observersIndexes\n// const l = list.length\n// for (let i = 0; i < l; i++) {\n// const id = list[i].__mapid\n// if (i) {\n// invariant(map[id] === i, \"INTERNAL ERROR maps derivation.__mapid to index in list\") // for performance\n// } else {\n// invariant(!(id in map), \"INTERNAL ERROR observer on index 0 shouldn't be held in map.\") // for performance\n// }\n// }\n// invariant(\n// list.length === 0 || Object.keys(map).length === list.length - 1,\n// \"INTERNAL ERROR there is no junk in map\"\n// )\n// }\nfunction addObserver$$1(observable$$1, node) {\n // invariant(node.dependenciesState !== -1, \"INTERNAL ERROR, can add only dependenciesState !== -1\");\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR add already added node\");\n // invariantObservers(observable);\n var l = observable$$1.observers.length;\n if (l) {\n // because object assignment is relatively expensive, let's not store data about index 0.\n observable$$1.observersIndexes[node.__mapid] = l;\n }\n observable$$1.observers[l] = node;\n if (observable$$1.lowestObserverState > node.dependenciesState)\n observable$$1.lowestObserverState = node.dependenciesState;\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR didn't add node\");\n}\nfunction removeObserver$$1(observable$$1, node) {\n // invariant(globalState.inBatch > 0, \"INTERNAL ERROR, remove should be called only inside batch\");\n // invariant(observable._observers.indexOf(node) !== -1, \"INTERNAL ERROR remove already removed node\");\n // invariantObservers(observable);\n if (observable$$1.observers.length === 1) {\n // deleting last observer\n observable$$1.observers.length = 0;\n queueForUnobservation$$1(observable$$1);\n }\n else {\n // deleting from _observersIndexes is straight forward, to delete from _observers, let's swap `node` with last element\n var list = observable$$1.observers;\n var map = observable$$1.observersIndexes;\n var filler = list.pop(); // get last element, which should fill the place of `node`, so the array doesn't have holes\n if (filler !== node) {\n // otherwise node was the last element, which already got removed from array\n var index = map[node.__mapid] || 0; // getting index of `node`. this is the only place we actually use map.\n if (index) {\n // map store all indexes but 0, see comment in `addObserver`\n map[filler.__mapid] = index;\n }\n else {\n delete map[filler.__mapid];\n }\n list[index] = filler;\n }\n delete map[node.__mapid];\n }\n // invariantObservers(observable);\n // invariant(observable._observers.indexOf(node) === -1, \"INTERNAL ERROR remove already removed node2\");\n}\nfunction queueForUnobservation$$1(observable$$1) {\n if (observable$$1.isPendingUnobservation === false) {\n // invariant(observable._observers.length === 0, \"INTERNAL ERROR, should only queue for unobservation unobserved observables\");\n observable$$1.isPendingUnobservation = true;\n globalState$$1.pendingUnobservations.push(observable$$1);\n }\n}\n/**\n * Batch starts a transaction, at least for purposes of memoizing ComputedValues when nothing else does.\n * During a batch `onBecomeUnobserved` will be called at most once per observable.\n * Avoids unnecessary recalculations.\n */\nfunction startBatch$$1() {\n globalState$$1.inBatch++;\n}\nfunction endBatch$$1() {\n if (--globalState$$1.inBatch === 0) {\n runReactions$$1();\n // the batch is actually about to finish, all unobserving should happen here.\n var list = globalState$$1.pendingUnobservations;\n for (var i = 0; i < list.length; i++) {\n var observable$$1 = list[i];\n observable$$1.isPendingUnobservation = false;\n if (observable$$1.observers.length === 0) {\n if (observable$$1.isBeingObserved) {\n // if this observable had reactive observers, trigger the hooks\n observable$$1.isBeingObserved = false;\n observable$$1.onBecomeUnobserved();\n }\n if (observable$$1 instanceof ComputedValue$$1) {\n // computed values are automatically teared down when the last observer leaves\n // this process happens recursively, this computed might be the last observabe of another, etc..\n observable$$1.suspend();\n }\n }\n }\n globalState$$1.pendingUnobservations = [];\n }\n}\nfunction reportObserved$$1(observable$$1) {\n var derivation = globalState$$1.trackingDerivation;\n if (derivation !== null) {\n /**\n * Simple optimization, give each derivation run an unique id (runId)\n * Check if last time this observable was accessed the same runId is used\n * if this is the case, the relation is already known\n */\n if (derivation.runId !== observable$$1.lastAccessedBy) {\n observable$$1.lastAccessedBy = derivation.runId;\n derivation.newObserving[derivation.unboundDepsCount++] = observable$$1;\n if (!observable$$1.isBeingObserved) {\n observable$$1.isBeingObserved = true;\n observable$$1.onBecomeObserved();\n }\n }\n return true;\n }\n else if (observable$$1.observers.length === 0 && globalState$$1.inBatch > 0) {\n queueForUnobservation$$1(observable$$1);\n }\n return false;\n}\n// function invariantLOS(observable: IObservable, msg: string) {\n// // it's expensive so better not run it in produciton. but temporarily helpful for testing\n// const min = getObservers(observable).reduce((a, b) => Math.min(a, b.dependenciesState), 2)\n// if (min >= observable.lowestObserverState) return // <- the only assumption about `lowestObserverState`\n// throw new Error(\n// \"lowestObserverState is wrong for \" +\n// msg +\n// \" because \" +\n// min +\n// \" < \" +\n// observable.lowestObserverState\n// )\n// }\n/**\n * NOTE: current propagation mechanism will in case of self reruning autoruns behave unexpectedly\n * It will propagate changes to observers from previous run\n * It's hard or maybe impossible (with reasonable perf) to get it right with current approach\n * Hopefully self reruning autoruns aren't a feature people should depend on\n * Also most basic use cases should be ok\n */\n// Called by Atom when its value changes\nfunction propagateChanged$$1(observable$$1) {\n // invariantLOS(observable, \"changed start\");\n if (observable$$1.lowestObserverState === IDerivationState.STALE)\n return;\n observable$$1.lowestObserverState = IDerivationState.STALE;\n var observers = observable$$1.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n if (d.isTracing !== TraceMode$$1.NONE) {\n logTraceInfo(d, observable$$1);\n }\n d.onBecomeStale();\n }\n d.dependenciesState = IDerivationState.STALE;\n }\n // invariantLOS(observable, \"changed end\");\n}\n// Called by ComputedValue when it recalculate and its value changed\nfunction propagateChangeConfirmed$$1(observable$$1) {\n // invariantLOS(observable, \"confirmed start\");\n if (observable$$1.lowestObserverState === IDerivationState.STALE)\n return;\n observable$$1.lowestObserverState = IDerivationState.STALE;\n var observers = observable$$1.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.POSSIBLY_STALE)\n d.dependenciesState = IDerivationState.STALE;\n else if (d.dependenciesState === IDerivationState.UP_TO_DATE // this happens during computing of `d`, just keep lowestObserverState up to date.\n )\n observable$$1.lowestObserverState = IDerivationState.UP_TO_DATE;\n }\n // invariantLOS(observable, \"confirmed end\");\n}\n// Used by computed when its dependency changed, but we don't wan't to immediately recompute.\nfunction propagateMaybeChanged$$1(observable$$1) {\n // invariantLOS(observable, \"maybe start\");\n if (observable$$1.lowestObserverState !== IDerivationState.UP_TO_DATE)\n return;\n observable$$1.lowestObserverState = IDerivationState.POSSIBLY_STALE;\n var observers = observable$$1.observers;\n var i = observers.length;\n while (i--) {\n var d = observers[i];\n if (d.dependenciesState === IDerivationState.UP_TO_DATE) {\n d.dependenciesState = IDerivationState.POSSIBLY_STALE;\n if (d.isTracing !== TraceMode$$1.NONE) {\n logTraceInfo(d, observable$$1);\n }\n d.onBecomeStale();\n }\n }\n // invariantLOS(observable, \"maybe end\");\n}\nfunction logTraceInfo(derivation, observable$$1) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' is invalidated due to a change in: '\" + observable$$1.name + \"'\");\n if (derivation.isTracing === TraceMode$$1.BREAK) {\n var lines = [];\n printDepTree(getDependencyTree$$1(derivation), lines, 1);\n // prettier-ignore\n new Function(\"debugger;\\n/*\\nTracing '\" + derivation.name + \"'\\n\\nYou are entering this break point because derivation '\" + derivation.name + \"' is being traced and '\" + observable$$1.name + \"' is now forcing it to update.\\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\\n\\n\" + (derivation instanceof ComputedValue$$1 ? derivation.derivation.toString().replace(/[*]\\//g, \"/\") : \"\") + \"\\n\\nThe dependencies for this derivation are:\\n\\n\" + lines.join(\"\\n\") + \"\\n*/\\n \")();\n }\n}\nfunction printDepTree(tree, lines, depth) {\n if (lines.length >= 1000) {\n lines.push(\"(and many more)\");\n return;\n }\n lines.push(\"\" + new Array(depth).join(\"\\t\") + tree.name); // MWE: not the fastest, but the easiest way :)\n if (tree.dependencies)\n tree.dependencies.forEach(function (child) { return printDepTree(child, lines, depth + 1); });\n}\n\nvar Reaction$$1 = /** @class */ (function () {\n function Reaction$$1(name, onInvalidate, errorHandler) {\n if (name === void 0) { name = \"Reaction@\" + getNextId$$1(); }\n this.name = name;\n this.onInvalidate = onInvalidate;\n this.errorHandler = errorHandler;\n this.observing = []; // nodes we are looking at. Our value depends on these nodes\n this.newObserving = [];\n this.dependenciesState = IDerivationState.NOT_TRACKING;\n this.diffValue = 0;\n this.runId = 0;\n this.unboundDepsCount = 0;\n this.__mapid = \"#\" + getNextId$$1();\n this.isDisposed = false;\n this._isScheduled = false;\n this._isTrackPending = false;\n this._isRunning = false;\n this.isTracing = TraceMode$$1.NONE;\n }\n Reaction$$1.prototype.onBecomeStale = function () {\n this.schedule();\n };\n Reaction$$1.prototype.schedule = function () {\n if (!this._isScheduled) {\n this._isScheduled = true;\n globalState$$1.pendingReactions.push(this);\n runReactions$$1();\n }\n };\n Reaction$$1.prototype.isScheduled = function () {\n return this._isScheduled;\n };\n /**\n * internal, use schedule() if you intend to kick off a reaction\n */\n Reaction$$1.prototype.runReaction = function () {\n if (!this.isDisposed) {\n startBatch$$1();\n this._isScheduled = false;\n if (shouldCompute$$1(this)) {\n this._isTrackPending = true;\n try {\n this.onInvalidate();\n if (this._isTrackPending && isSpyEnabled$$1()) {\n // onInvalidate didn't trigger track right away..\n spyReport$$1({\n name: this.name,\n type: \"scheduled-reaction\"\n });\n }\n }\n catch (e) {\n this.reportExceptionInDerivation(e);\n }\n }\n endBatch$$1();\n }\n };\n Reaction$$1.prototype.track = function (fn) {\n startBatch$$1();\n var notify = isSpyEnabled$$1();\n var startTime;\n if (notify) {\n startTime = Date.now();\n spyReportStart$$1({\n name: this.name,\n type: \"reaction\"\n });\n }\n this._isRunning = true;\n var result = trackDerivedFunction$$1(this, fn, undefined);\n this._isRunning = false;\n this._isTrackPending = false;\n if (this.isDisposed) {\n // disposed during last run. Clean up everything that was bound after the dispose call.\n clearObserving$$1(this);\n }\n if (isCaughtException$$1(result))\n this.reportExceptionInDerivation(result.cause);\n if (notify) {\n spyReportEnd$$1({\n time: Date.now() - startTime\n });\n }\n endBatch$$1();\n };\n Reaction$$1.prototype.reportExceptionInDerivation = function (error) {\n var _this = this;\n if (this.errorHandler) {\n this.errorHandler(error, this);\n return;\n }\n if (globalState$$1.disableErrorBoundaries)\n throw error;\n var message = \"[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '\" + this + \"'\";\n if (globalState$$1.suppressReactionErrors) {\n console.warn(\"[mobx] (error in reaction '\" + this.name + \"' suppressed, fix error of causing action below)\"); // prettier-ignore\n }\n else {\n console.error(message, error);\n /** If debugging brought you here, please, read the above message :-). Tnx! */\n }\n if (isSpyEnabled$$1()) {\n spyReport$$1({\n type: \"error\",\n name: this.name,\n message: message,\n error: \"\" + error\n });\n }\n globalState$$1.globalReactionErrorHandlers.forEach(function (f) { return f(error, _this); });\n };\n Reaction$$1.prototype.dispose = function () {\n if (!this.isDisposed) {\n this.isDisposed = true;\n if (!this._isRunning) {\n // if disposed while running, clean up later. Maybe not optimal, but rare case\n startBatch$$1();\n clearObserving$$1(this);\n endBatch$$1();\n }\n }\n };\n Reaction$$1.prototype.getDisposer = function () {\n var r = this.dispose.bind(this);\n r.$mobx = this;\n return r;\n };\n Reaction$$1.prototype.toString = function () {\n return \"Reaction[\" + this.name + \"]\";\n };\n Reaction$$1.prototype.trace = function (enterBreakPoint) {\n if (enterBreakPoint === void 0) { enterBreakPoint = false; }\n trace$$1(this, enterBreakPoint);\n };\n return Reaction$$1;\n}());\nfunction onReactionError$$1(handler) {\n globalState$$1.globalReactionErrorHandlers.push(handler);\n return function () {\n var idx = globalState$$1.globalReactionErrorHandlers.indexOf(handler);\n if (idx >= 0)\n globalState$$1.globalReactionErrorHandlers.splice(idx, 1);\n };\n}\n/**\n * Magic number alert!\n * Defines within how many times a reaction is allowed to re-trigger itself\n * until it is assumed that this is gonna be a never ending loop...\n */\nvar MAX_REACTION_ITERATIONS = 100;\nvar reactionScheduler = function (f) { return f(); };\nfunction runReactions$$1() {\n // Trampolining, if runReactions are already running, new reactions will be picked up\n if (globalState$$1.inBatch > 0 || globalState$$1.isRunningReactions)\n return;\n reactionScheduler(runReactionsHelper);\n}\nfunction runReactionsHelper() {\n globalState$$1.isRunningReactions = true;\n var allReactions = globalState$$1.pendingReactions;\n var iterations = 0;\n // While running reactions, new reactions might be triggered.\n // Hence we work with two variables and check whether\n // we converge to no remaining reactions after a while.\n while (allReactions.length > 0) {\n if (++iterations === MAX_REACTION_ITERATIONS) {\n console.error(\"Reaction doesn't converge to a stable state after \" + MAX_REACTION_ITERATIONS + \" iterations.\" +\n (\" Probably there is a cycle in the reactive function: \" + allReactions[0]));\n allReactions.splice(0); // clear reactions\n }\n var remainingReactions = allReactions.splice(0);\n for (var i = 0, l = remainingReactions.length; i < l; i++)\n remainingReactions[i].runReaction();\n }\n globalState$$1.isRunningReactions = false;\n}\nvar isReaction$$1 = createInstanceofPredicate$$1(\"Reaction\", Reaction$$1);\nfunction setReactionScheduler$$1(fn) {\n var baseScheduler = reactionScheduler;\n reactionScheduler = function (f) { return fn(function () { return baseScheduler(f); }); };\n}\n\nfunction isSpyEnabled$$1() {\n return !!globalState$$1.spyListeners.length;\n}\nfunction spyReport$$1(event) {\n if (!globalState$$1.spyListeners.length)\n return;\n var listeners = globalState$$1.spyListeners;\n for (var i = 0, l = listeners.length; i < l; i++)\n listeners[i](event);\n}\nfunction spyReportStart$$1(event) {\n var change = __assign({}, event, { spyReportStart: true });\n spyReport$$1(change);\n}\nvar END_EVENT = { spyReportEnd: true };\nfunction spyReportEnd$$1(change) {\n if (change)\n spyReport$$1(__assign({}, change, { spyReportEnd: true }));\n else\n spyReport$$1(END_EVENT);\n}\nfunction spy$$1(listener) {\n globalState$$1.spyListeners.push(listener);\n return once$$1(function () {\n globalState$$1.spyListeners = globalState$$1.spyListeners.filter(function (l) { return l !== listener; });\n });\n}\n\nfunction dontReassignFields() {\n fail$$1(process.env.NODE_ENV !== \"production\" && \"@action fields are not reassignable\");\n}\nfunction namedActionDecorator$$1(name) {\n return function (target, prop, descriptor) {\n if (descriptor) {\n if (process.env.NODE_ENV !== \"production\" && descriptor.get !== undefined) {\n return fail$$1(\"@action cannot be used with getters\");\n }\n // babel / typescript\n // @action method() { }\n if (descriptor.value) {\n // typescript\n return {\n value: createAction$$1(name, descriptor.value),\n enumerable: false,\n configurable: true,\n writable: true // for typescript, this must be writable, otherwise it cannot inherit :/ (see inheritable actions test)\n };\n }\n // babel only: @action method = () => {}\n var initializer_1 = descriptor.initializer;\n return {\n enumerable: false,\n configurable: true,\n writable: true,\n initializer: function () {\n // N.B: we can't immediately invoke initializer; this would be wrong\n return createAction$$1(name, initializer_1.call(this));\n }\n };\n }\n // bound instance methods\n return actionFieldDecorator$$1(name).apply(this, arguments);\n };\n}\nfunction actionFieldDecorator$$1(name) {\n // Simple property that writes on first invocation to the current instance\n return function (target, prop, descriptor) {\n Object.defineProperty(target, prop, {\n configurable: true,\n enumerable: false,\n get: function () {\n return undefined;\n },\n set: function (value) {\n addHiddenProp$$1(this, prop, action$$1(name, value));\n }\n });\n };\n}\nfunction boundActionDecorator$$1(target, propertyName, descriptor, applyToInstance) {\n if (applyToInstance === true) {\n defineBoundAction$$1(target, propertyName, descriptor.value);\n return null;\n }\n if (descriptor) {\n // if (descriptor.value)\n // Typescript / Babel: @action.bound method() { }\n // also: babel @action.bound method = () => {}\n return {\n configurable: true,\n enumerable: false,\n get: function () {\n defineBoundAction$$1(this, propertyName, descriptor.value || descriptor.initializer.call(this));\n return this[propertyName];\n },\n set: dontReassignFields\n };\n }\n // field decorator Typescript @action.bound method = () => {}\n return {\n enumerable: false,\n configurable: true,\n set: function (v) {\n defineBoundAction$$1(this, propertyName, v);\n },\n get: function () {\n return undefined;\n }\n };\n}\n\nvar action$$1 = function action$$1(arg1, arg2, arg3, arg4) {\n // action(fn() {})\n if (arguments.length === 1 && typeof arg1 === \"function\")\n return createAction$$1(arg1.name || \"<unnamed action>\", arg1);\n // action(\"name\", fn() {})\n if (arguments.length === 2 && typeof arg2 === \"function\")\n return createAction$$1(arg1, arg2);\n // @action(\"name\") fn() {}\n if (arguments.length === 1 && typeof arg1 === \"string\")\n return namedActionDecorator$$1(arg1);\n // @action fn() {}\n if (arg4 === true) {\n // apply to instance immediately\n arg1[arg2] = createAction$$1(arg1.name || arg2, arg3.value);\n }\n else {\n return namedActionDecorator$$1(arg2).apply(null, arguments);\n }\n};\naction$$1.bound = boundActionDecorator$$1;\nfunction runInAction$$1(arg1, arg2) {\n // TODO: deprecate?\n var actionName = typeof arg1 === \"string\" ? arg1 : arg1.name || \"<unnamed action>\";\n var fn = typeof arg1 === \"function\" ? arg1 : arg2;\n if (process.env.NODE_ENV !== \"production\") {\n invariant$$1(typeof fn === \"function\" && fn.length === 0, \"`runInAction` expects a function without arguments\");\n if (typeof actionName !== \"string\" || !actionName)\n fail$$1(\"actions should have valid names, got: '\" + actionName + \"'\");\n }\n return executeAction$$1(actionName, fn, this, undefined);\n}\nfunction isAction$$1(thing) {\n return typeof thing === \"function\" && thing.isMobxAction === true;\n}\nfunction defineBoundAction$$1(target, propertyName, fn) {\n addHiddenProp$$1(target, propertyName, createAction$$1(propertyName, fn.bind(target)));\n}\n\n/**\n * Creates a named reactive view and keeps it alive, so that the view is always\n * updated if one of the dependencies changes, even when the view is not further used by something else.\n * @param view The reactive view\n * @returns disposer function, which can be used to stop the view from being updated in the future.\n */\nfunction autorun$$1(view, opts) {\n if (opts === void 0) { opts = EMPTY_OBJECT$$1; }\n if (process.env.NODE_ENV !== \"production\") {\n invariant$$1(typeof view === \"function\", \"Autorun expects a function as first argument\");\n invariant$$1(isAction$$1(view) === false, \"Autorun does not accept actions since actions are untrackable\");\n }\n var name = (opts && opts.name) || view.name || \"Autorun@\" + getNextId$$1();\n var runSync = !opts.scheduler && !opts.delay;\n var reaction$$1;\n if (runSync) {\n // normal autorun\n reaction$$1 = new Reaction$$1(name, function () {\n this.track(reactionRunner);\n }, opts.onError);\n }\n else {\n var scheduler_1 = createSchedulerFromOptions(opts);\n // debounced autorun\n var isScheduled_1 = false;\n reaction$$1 = new Reaction$$1(name, function () {\n if (!isScheduled_1) {\n isScheduled_1 = true;\n scheduler_1(function () {\n isScheduled_1 = false;\n if (!reaction$$1.isDisposed)\n reaction$$1.track(reactionRunner);\n });\n }\n }, opts.onError);\n }\n function reactionRunner() {\n view(reaction$$1);\n }\n reaction$$1.schedule();\n return reaction$$1.getDisposer();\n}\nvar run = function (f) { return f(); };\nfunction createSchedulerFromOptions(opts) {\n return opts.scheduler\n ? opts.scheduler\n : opts.delay\n ? function (f) { return setTimeout(f, opts.delay); }\n : run;\n}\nfunction reaction$$1(expression, effect, opts) {\n if (opts === void 0) { opts = EMPTY_OBJECT$$1; }\n if (typeof opts === \"boolean\") {\n opts = { fireImmediately: opts };\n deprecated$$1(\"Using fireImmediately as argument is deprecated. Use '{ fireImmediately: true }' instead\");\n }\n if (process.env.NODE_ENV !== \"production\") {\n invariant$$1(typeof expression === \"function\", \"First argument to reaction should be a function\");\n invariant$$1(typeof opts === \"object\", \"Third argument of reactions should be an object\");\n }\n var name = opts.name || \"Reaction@\" + getNextId$$1();\n var effectAction = action$$1(name, opts.onError ? wrapErrorHandler(opts.onError, effect) : effect);\n var runSync = !opts.scheduler && !opts.delay;\n var scheduler = createSchedulerFromOptions(opts);\n var firstTime = true;\n var isScheduled = false;\n var value;\n var equals = opts.compareStructural\n ? comparer$$1.structural\n : opts.equals || comparer$$1.default;\n var r = new Reaction$$1(name, function () {\n if (firstTime || runSync) {\n reactionRunner();\n }\n else if (!isScheduled) {\n isScheduled = true;\n scheduler(reactionRunner);\n }\n }, opts.onError);\n function reactionRunner() {\n isScheduled = false; // Q: move into reaction runner?\n if (r.isDisposed)\n return;\n var changed = false;\n r.track(function () {\n var nextValue = expression(r);\n changed = firstTime || !equals(value, nextValue);\n value = nextValue;\n });\n if (firstTime && opts.fireImmediately)\n effectAction(value, r);\n if (!firstTime && changed === true)\n effectAction(value, r);\n if (firstTime)\n firstTime = false;\n }\n r.schedule();\n return r.getDisposer();\n}\nfunction wrapErrorHandler(errorHandler, baseFn) {\n return function () {\n try {\n return baseFn.apply(this, arguments);\n }\n catch (e) {\n errorHandler.call(this, e);\n }\n };\n}\n\nfunction onBecomeObserved$$1(thing, arg2, arg3) {\n return interceptHook(\"onBecomeObserved\", thing, arg2, arg3);\n}\nfunction onBecomeUnobserved$$1(thing, arg2, arg3) {\n return interceptHook(\"onBecomeUnobserved\", thing, arg2, arg3);\n}\nfunction interceptHook(hook, thing, arg2, arg3) {\n var atom = typeof arg2 === \"string\" ? getAtom$$1(thing, arg2) : getAtom$$1(thing);\n var cb = typeof arg2 === \"string\" ? arg3 : arg2;\n var orig = atom[hook];\n if (typeof orig !== \"function\")\n return fail$$1(process.env.NODE_ENV !== \"production\" && \"Not an atom that can be (un)observed\");\n atom[hook] = function () {\n orig.call(this);\n cb.call(this);\n };\n return function () {\n atom[hook] = orig;\n };\n}\n\nfunction configure$$1(options) {\n var enforceActions = options.enforceActions, computedRequiresReaction = options.computedRequiresReaction, disableErrorBoundaries = options.disableErrorBoundaries, arrayBuffer = options.arrayBuffer, reactionScheduler = options.reactionScheduler;\n if (options.isolateGlobalState === true) {\n isolateGlobalState$$1();\n }\n if (enforceActions !== undefined) {\n if (typeof enforceActions === \"boolean\" || enforceActions === \"strict\")\n deprecated$$1(\"Deprecated value for 'enforceActions', use 'false' => '\\\"never\\\"', 'true' => '\\\"observed\\\"', '\\\"strict\\\"' => \\\"'always'\\\" instead\");\n var ea = void 0;\n switch (enforceActions) {\n case true:\n case \"observed\":\n ea = true;\n break;\n case false:\n case \"never\":\n ea = false;\n break;\n case \"strict\":\n case \"always\":\n ea = \"strict\";\n break;\n default:\n fail$$1(\"Invalid value for 'enforceActions': '\" + enforceActions + \"', expected 'never', 'always' or 'observed'\");\n }\n globalState$$1.enforceActions = ea;\n globalState$$1.allowStateChanges = ea === true || ea === \"strict\" ? false : true;\n }\n if (computedRequiresReaction !== undefined) {\n globalState$$1.computedRequiresReaction = !!computedRequiresReaction;\n }\n if (disableErrorBoundaries !== undefined) {\n if (disableErrorBoundaries === true)\n console.warn(\"WARNING: Debug feature only. MobX will NOT recover from errors if this is on.\");\n globalState$$1.disableErrorBoundaries = !!disableErrorBoundaries;\n }\n if (typeof arrayBuffer === \"number\") {\n reserveArrayBuffer$$1(arrayBuffer);\n }\n if (reactionScheduler) {\n setReactionScheduler$$1(reactionScheduler);\n }\n}\n\nfunction decorate$$1(thing, decorators) {\n if (process.env.NODE_ENV !== \"production\" && !isPlainObject$$1(decorators))\n fail$$1(\"Decorators should be a key value map\");\n var target = typeof thing === \"function\" ? thing.prototype : thing;\n var _loop_1 = function (prop) {\n var propertyDecorators = decorators[prop];\n if (!Array.isArray(propertyDecorators)) {\n propertyDecorators = [propertyDecorators];\n }\n // prettier-ignore\n if (process.env.NODE_ENV !== \"production\" && !propertyDecorators.every(function (decorator) { return typeof decorator === \"function\"; }))\n fail$$1(\"Decorate: expected a decorator function or array of decorator functions for '\" + prop + \"'\");\n var descriptor = Object.getOwnPropertyDescriptor(target, prop);\n var newDescriptor = propertyDecorators.reduce(function (accDescriptor, decorator) { return decorator(target, prop, accDescriptor); }, descriptor);\n if (newDescriptor)\n Object.defineProperty(target, prop, newDescriptor);\n };\n for (var prop in decorators) {\n _loop_1(prop);\n }\n return thing;\n}\n\nfunction extendShallowObservable$$1(target, properties, decorators) {\n deprecated$$1(\"'extendShallowObservable' is deprecated, use 'extendObservable(target, props, { deep: false })' instead\");\n return extendObservable$$1(target, properties, decorators, shallowCreateObservableOptions$$1);\n}\nfunction extendObservable$$1(target, properties, decorators, options) {\n if (process.env.NODE_ENV !== \"production\") {\n invariant$$1(arguments.length >= 2 && arguments.length <= 4, \"'extendObservable' expected 2-4 arguments\");\n invariant$$1(typeof target === \"object\", \"'extendObservable' expects an object as first argument\");\n invariant$$1(!isObservableMap$$1(target), \"'extendObservable' should not be used on maps, use map.merge instead\");\n invariant$$1(!isObservable$$1(properties), \"Extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540\");\n if (decorators)\n for (var key in decorators)\n if (!(key in properties))\n fail$$1(\"Trying to declare a decorator for unspecified property '\" + key + \"'\");\n }\n options = asCreateObservableOptions$$1(options);\n var defaultDecorator = options.defaultDecorator || (options.deep === false ? refDecorator$$1 : deepDecorator$$1);\n initializeInstance$$1(target);\n asObservableObject$$1(target, options.name, defaultDecorator.enhancer); // make sure object is observable, even without initial props\n startBatch$$1();\n try {\n for (var key in properties) {\n var descriptor = Object.getOwnPropertyDescriptor(properties, key);\n if (process.env.NODE_ENV !== \"production\") {\n if (Object.getOwnPropertyDescriptor(target, key))\n fail$$1(\"'extendObservable' can only be used to introduce new properties. Use 'set' or 'decorate' instead. The property '\" + key + \"' already exists on '\" + target + \"'\");\n if (isComputed$$1(descriptor.value))\n fail$$1(\"Passing a 'computed' as initial property value is no longer supported by extendObservable. Use a getter or decorator instead\");\n }\n var decorator = decorators && key in decorators\n ? decorators[key]\n : descriptor.get\n ? computedDecorator$$1\n : defaultDecorator;\n if (process.env.NODE_ENV !== \"production\" && typeof decorator !== \"function\")\n return fail$$1(\"Not a valid decorator for '\" + key + \"', got: \" + decorator);\n var resultDescriptor = decorator(target, key, descriptor, true);\n if (resultDescriptor // otherwise, assume already applied, due to `applyToInstance`\n )\n Object.defineProperty(target, key, resultDescriptor);\n }\n }\n finally {\n endBatch$$1();\n }\n return target;\n}\n\nfunction getDependencyTree$$1(thing, property) {\n return nodeToDependencyTree(getAtom$$1(thing, property));\n}\nfunction nodeToDependencyTree(node) {\n var result = {\n name: node.name\n };\n if (node.observing && node.observing.length > 0)\n result.dependencies = unique$$1(node.observing).map(nodeToDependencyTree);\n return result;\n}\nfunction getObserverTree$$1(thing, property) {\n return nodeToObserverTree(getAtom$$1(thing, property));\n}\nfunction nodeToObserverTree(node) {\n var result = {\n name: node.name\n };\n if (hasObservers$$1(node))\n result.observers = getObservers$$1(node).map(nodeToObserverTree);\n return result;\n}\n\nvar generatorId = 0;\nfunction flow$$1(generator) {\n if (arguments.length !== 1)\n fail$$1(process.env.NODE_ENV && \"Flow expects one 1 argument and cannot be used as decorator\");\n var name = generator.name || \"<unnamed flow>\";\n // Implementation based on https://github.com/tj/co/blob/master/index.js\n return function () {\n var ctx = this;\n var args = arguments;\n var runId = ++generatorId;\n var gen = action$$1(name + \" - runid: \" + runId + \" - init\", generator).apply(ctx, args);\n var rejector;\n var pendingPromise = undefined;\n var res = new Promise(function (resolve, reject) {\n var stepId = 0;\n rejector = reject;\n function onFulfilled(res) {\n pendingPromise = undefined;\n var ret;\n try {\n ret = action$$1(name + \" - runid: \" + runId + \" - yield \" + stepId++, gen.next).call(gen, res);\n }\n catch (e) {\n return reject(e);\n }\n next(ret);\n }\n function onRejected(err) {\n pendingPromise = undefined;\n var ret;\n try {\n ret = action$$1(name + \" - runid: \" + runId + \" - yield \" + stepId++, gen.throw).call(gen, err);\n }\n catch (e) {\n return reject(e);\n }\n next(ret);\n }\n function next(ret) {\n if (ret && typeof ret.then === \"function\") {\n // an async iterator\n ret.then(next, reject);\n return;\n }\n if (ret.done)\n return resolve(ret.value);\n pendingPromise = Promise.resolve(ret.value);\n return pendingPromise.then(onFulfilled, onRejected);\n }\n onFulfilled(undefined); // kick off the process\n });\n res.cancel = action$$1(name + \" - runid: \" + runId + \" - cancel\", function () {\n try {\n if (pendingPromise)\n cancelPromise(pendingPromise);\n // Finally block can return (or yield) stuff..\n var res_1 = gen.return();\n // eat anything that promise would do, it's cancelled!\n var yieldedPromise = Promise.resolve(res_1.value);\n yieldedPromise.then(noop$$1, noop$$1);\n cancelPromise(yieldedPromise); // maybe it can be cancelled :)\n // reject our original promise\n rejector(new Error(\"FLOW_CANCELLED\"));\n }\n catch (e) {\n rejector(e); // there could be a throwing finally block\n }\n });\n return res;\n };\n}\nfunction cancelPromise(promise) {\n if (typeof promise.cancel === \"function\")\n promise.cancel();\n}\n\nfunction interceptReads$$1(thing, propOrHandler, handler) {\n var target;\n if (isObservableMap$$1(thing) || isObservableArray$$1(thing) || isObservableValue$$1(thing)) {\n target = getAdministration$$1(thing);\n }\n else if (isObservableObject$$1(thing)) {\n if (typeof propOrHandler !== \"string\")\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"InterceptReads can only be used with a specific property, not with an object in general\");\n target = getAdministration$$1(thing, propOrHandler);\n }\n else {\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"Expected observable map, object or array as first array\");\n }\n if (target.dehancer !== undefined)\n return fail$$1(process.env.NODE_ENV !== \"production\" && \"An intercept reader was already established\");\n target.dehancer = typeof propOrHandler === \"function\" ? propOrHandler : handler;\n return function () {\n target.dehancer = undefined;\n };\n}\n\nfunction intercept$$1(thing, propOrHandler, handler) {\n if (typeof handler === \"function\")\n return interceptProperty(thing, propOrHandler, handler);\n else\n return interceptInterceptable(thing, propOrHandler);\n}\nfunction interceptInterceptable(thing, handler) {\n return getAdministration$$1(thing).intercept(handler);\n}\nfunction interceptProperty(thing, property, handler) {\n return getAdministration$$1(thing, property).intercept(handler);\n}\n\nfunction _isComputed$$1(value, property) {\n if (value === null || value === undefined)\n return false;\n if (property !== undefined) {\n if (isObservableObject$$1(value) === false)\n return false;\n if (!value.$mobx.values[property])\n return false;\n var atom = getAtom$$1(value, property);\n return isComputedValue$$1(atom);\n }\n return isComputedValue$$1(value);\n}\nfunction isComputed$$1(value) {\n if (arguments.length > 1)\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"isComputed expects only 1 argument. Use isObservableProp to inspect the observability of a property\");\n return _isComputed$$1(value);\n}\nfunction isComputedProp$$1(value, propName) {\n if (typeof propName !== \"string\")\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"isComputed expected a property name as second argument\");\n return _isComputed$$1(value, propName);\n}\n\nfunction _isObservable(value, property) {\n if (value === null || value === undefined)\n return false;\n if (property !== undefined) {\n if (process.env.NODE_ENV !== \"production\" &&\n (isObservableMap$$1(value) || isObservableArray$$1(value)))\n return fail$$1(\"isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.\");\n if (isObservableObject$$1(value)) {\n var o = value.$mobx;\n return o.values && !!o.values[property];\n }\n return false;\n }\n // For first check, see #701\n return (isObservableObject$$1(value) ||\n !!value.$mobx ||\n isAtom$$1(value) ||\n isReaction$$1(value) ||\n isComputedValue$$1(value));\n}\nfunction isObservable$$1(value) {\n if (arguments.length !== 1)\n fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"isObservable expects only 1 argument. Use isObservableProp to inspect the observability of a property\");\n return _isObservable(value);\n}\nfunction isObservableProp$$1(value, propName) {\n if (typeof propName !== \"string\")\n return fail$$1(process.env.NODE_ENV !== \"production\" && \"expected a property name as second argument\");\n return _isObservable(value, propName);\n}\n\nfunction keys$$1(obj) {\n if (isObservableObject$$1(obj)) {\n return obj.$mobx.getKeys();\n }\n if (isObservableMap$$1(obj)) {\n return obj._keys.slice();\n }\n if (isObservableSet$$1(obj)) {\n return iteratorToArray$$1(obj.keys());\n }\n if (isObservableArray$$1(obj)) {\n return obj.map(function (_, index) { return index; });\n }\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"'keys()' can only be used on observable objects, arrays, sets and maps\");\n}\nfunction values$$1(obj) {\n if (isObservableObject$$1(obj)) {\n return keys$$1(obj).map(function (key) { return obj[key]; });\n }\n if (isObservableMap$$1(obj)) {\n return keys$$1(obj).map(function (key) { return obj.get(key); });\n }\n if (isObservableSet$$1(obj)) {\n return iteratorToArray$$1(obj.values());\n }\n if (isObservableArray$$1(obj)) {\n return obj.slice();\n }\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"'values()' can only be used on observable objects, arrays, sets and maps\");\n}\nfunction entries$$1(obj) {\n if (isObservableObject$$1(obj)) {\n return keys$$1(obj).map(function (key) { return [key, obj[key]]; });\n }\n if (isObservableMap$$1(obj)) {\n return keys$$1(obj).map(function (key) { return [key, obj.get(key)]; });\n }\n if (isObservableSet$$1(obj)) {\n return iteratorToArray$$1(obj.entries());\n }\n if (isObservableArray$$1(obj)) {\n return obj.map(function (key, index) { return [index, key]; });\n }\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"'entries()' can only be used on observable objects, arrays and maps\");\n}\nfunction set$$1(obj, key, value) {\n if (arguments.length === 2) {\n startBatch$$1();\n var values_1 = key;\n try {\n for (var key_1 in values_1)\n set$$1(obj, key_1, values_1[key_1]);\n }\n finally {\n endBatch$$1();\n }\n return;\n }\n if (isObservableObject$$1(obj)) {\n var adm = obj.$mobx;\n var existingObservable = adm.values[key];\n if (existingObservable) {\n adm.write(obj, key, value);\n }\n else {\n defineObservableProperty$$1(obj, key, value, adm.defaultEnhancer);\n }\n }\n else if (isObservableMap$$1(obj)) {\n obj.set(key, value);\n }\n else if (isObservableArray$$1(obj)) {\n if (typeof key !== \"number\")\n key = parseInt(key, 10);\n invariant$$1(key >= 0, \"Not a valid index: '\" + key + \"'\");\n startBatch$$1();\n if (key >= obj.length)\n obj.length = key + 1;\n obj[key] = value;\n endBatch$$1();\n }\n else {\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"'set()' can only be used on observable objects, arrays and maps\");\n }\n}\nfunction remove$$1(obj, key) {\n if (isObservableObject$$1(obj)) {\n \n obj.$mobx.remove(key);\n }\n else if (isObservableMap$$1(obj)) {\n obj.delete(key);\n }\n else if (isObservableSet$$1(obj)) {\n obj.delete(key);\n }\n else if (isObservableArray$$1(obj)) {\n if (typeof key !== \"number\")\n key = parseInt(key, 10);\n invariant$$1(key >= 0, \"Not a valid index: '\" + key + \"'\");\n obj.splice(key, 1);\n }\n else {\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"'remove()' can only be used on observable objects, arrays and maps\");\n }\n}\nfunction has$$1(obj, key) {\n if (isObservableObject$$1(obj)) {\n // return keys(obj).indexOf(key) >= 0\n var adm = getAdministration$$1(obj);\n adm.getKeys(); // make sure we get notified of key changes, but for performance, use the values map to look up existence\n return !!adm.values[key];\n }\n else if (isObservableMap$$1(obj)) {\n return obj.has(key);\n }\n else if (isObservableSet$$1(obj)) {\n return obj.has(key);\n }\n else if (isObservableArray$$1(obj)) {\n return key >= 0 && key < obj.length;\n }\n else {\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"'has()' can only be used on observable objects, arrays and maps\");\n }\n}\nfunction get$$1(obj, key) {\n if (!has$$1(obj, key))\n return undefined;\n if (isObservableObject$$1(obj)) {\n return obj[key];\n }\n else if (isObservableMap$$1(obj)) {\n return obj.get(key);\n }\n else if (isObservableArray$$1(obj)) {\n return obj[key];\n }\n else {\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"'get()' can only be used on observable objects, arrays and maps\");\n }\n}\n\nfunction observe$$1(thing, propOrCb, cbOrFire, fireImmediately) {\n if (typeof cbOrFire === \"function\")\n return observeObservableProperty(thing, propOrCb, cbOrFire, fireImmediately);\n else\n return observeObservable(thing, propOrCb, cbOrFire);\n}\nfunction observeObservable(thing, listener, fireImmediately) {\n return getAdministration$$1(thing).observe(listener, fireImmediately);\n}\nfunction observeObservableProperty(thing, property, listener, fireImmediately) {\n return getAdministration$$1(thing, property).observe(listener, fireImmediately);\n}\n\nvar defaultOptions = {\n detectCycles: true,\n exportMapsAsObjects: true,\n recurseEverything: false\n};\nfunction cache(map, key, value, options) {\n if (options.detectCycles)\n map.set(key, value);\n return value;\n}\nfunction toJSHelper(source, options, __alreadySeen) {\n if (!options.recurseEverything && !isObservable$$1(source))\n return source;\n if (typeof source !== \"object\")\n return source;\n // Directly return null if source is null\n if (source === null)\n return null;\n // Directly return the Date object itself if contained in the observable\n if (source instanceof Date)\n return source;\n if (isObservableValue$$1(source))\n return toJSHelper(source.get(), options, __alreadySeen);\n // make sure we track the keys of the object\n if (isObservable$$1(source))\n keys$$1(source);\n var detectCycles = options.detectCycles === true;\n if (detectCycles && source !== null && __alreadySeen.has(source)) {\n return __alreadySeen.get(source);\n }\n if (isObservableArray$$1(source) || Array.isArray(source)) {\n var res_1 = cache(__alreadySeen, source, [], options);\n var toAdd = source.map(function (value) { return toJSHelper(value, options, __alreadySeen); });\n res_1.length = toAdd.length;\n for (var i = 0, l = toAdd.length; i < l; i++)\n res_1[i] = toAdd[i];\n return res_1;\n }\n if (isObservableSet$$1(source) || Object.getPrototypeOf(source) === Set.prototype) {\n if (options.exportMapsAsObjects === false) {\n var res_2 = cache(__alreadySeen, source, new Set(), options);\n source.forEach(function (value) {\n res_2.add(toJSHelper(value, options, __alreadySeen));\n });\n return res_2;\n }\n else {\n var res_3 = cache(__alreadySeen, source, [], options);\n source.forEach(function (value) {\n res_3.push(toJSHelper(value, options, __alreadySeen));\n });\n return res_3;\n }\n }\n if (isObservableMap$$1(source) || Object.getPrototypeOf(source) === Map.prototype) {\n if (options.exportMapsAsObjects === false) {\n var res_4 = cache(__alreadySeen, source, new Map(), options);\n source.forEach(function (value, key) {\n res_4.set(key, toJSHelper(value, options, __alreadySeen));\n });\n return res_4;\n }\n else {\n var res_5 = cache(__alreadySeen, source, {}, options);\n source.forEach(function (value, key) {\n res_5[key] = toJSHelper(value, options, __alreadySeen);\n });\n return res_5;\n }\n }\n // Fallback to the situation that source is an ObservableObject or a plain object\n var res = cache(__alreadySeen, source, {}, options);\n for (var key in source) {\n res[key] = toJSHelper(source[key], options, __alreadySeen);\n }\n return res;\n}\nfunction toJS$$1(source, options) {\n // backward compatibility\n if (typeof options === \"boolean\")\n options = { detectCycles: options };\n if (!options)\n options = defaultOptions;\n options.detectCycles =\n options.detectCycles === undefined\n ? options.recurseEverything === true\n : options.detectCycles === true;\n var __alreadySeen;\n if (options.detectCycles)\n __alreadySeen = new Map();\n return toJSHelper(source, options, __alreadySeen);\n}\n\nfunction trace$$1() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var enterBreakPoint = false;\n if (typeof args[args.length - 1] === \"boolean\")\n enterBreakPoint = args.pop();\n var derivation = getAtomFromArgs(args);\n if (!derivation) {\n return fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly\");\n }\n if (derivation.isTracing === TraceMode$$1.NONE) {\n console.log(\"[mobx.trace] '\" + derivation.name + \"' tracing enabled\");\n }\n derivation.isTracing = enterBreakPoint ? TraceMode$$1.BREAK : TraceMode$$1.LOG;\n}\nfunction getAtomFromArgs(args) {\n switch (args.length) {\n case 0:\n return globalState$$1.trackingDerivation;\n case 1:\n return getAtom$$1(args[0]);\n case 2:\n return getAtom$$1(args[0], args[1]);\n }\n}\n\n/**\n * During a transaction no views are updated until the end of the transaction.\n * The transaction will be run synchronously nonetheless.\n *\n * @param action a function that updates some reactive state\n * @returns any value that was returned by the 'action' parameter.\n */\nfunction transaction$$1(action$$1, thisArg) {\n if (thisArg === void 0) { thisArg = undefined; }\n startBatch$$1();\n try {\n return action$$1.apply(thisArg);\n }\n finally {\n endBatch$$1();\n }\n}\n\nfunction when$$1(predicate, arg1, arg2) {\n if (arguments.length === 1 || (arg1 && typeof arg1 === \"object\"))\n return whenPromise(predicate, arg1);\n return _when(predicate, arg1, arg2 || {});\n}\nfunction _when(predicate, effect, opts) {\n var timeoutHandle;\n if (typeof opts.timeout === \"number\") {\n timeoutHandle = setTimeout(function () {\n if (!disposer.$mobx.isDisposed) {\n disposer();\n var error = new Error(\"WHEN_TIMEOUT\");\n if (opts.onError)\n opts.onError(error);\n else\n throw error;\n }\n }, opts.timeout);\n }\n opts.name = opts.name || \"When@\" + getNextId$$1();\n var effectAction = createAction$$1(opts.name + \"-effect\", effect);\n var disposer = autorun$$1(function (r) {\n if (predicate()) {\n r.dispose();\n if (timeoutHandle)\n clearTimeout(timeoutHandle);\n effectAction();\n }\n }, opts);\n return disposer;\n}\nfunction whenPromise(predicate, opts) {\n if (process.env.NODE_ENV !== \"production\" && opts && opts.onError)\n return fail$$1(\"the options 'onError' and 'promise' cannot be combined\");\n var cancel;\n var res = new Promise(function (resolve, reject) {\n var disposer = _when(predicate, resolve, __assign({}, opts, { onError: reject }));\n cancel = function () {\n disposer();\n reject(\"WHEN_CANCELLED\");\n };\n });\n res.cancel = cancel;\n return res;\n}\n\nfunction hasInterceptors$$1(interceptable) {\n return interceptable.interceptors !== undefined && interceptable.interceptors.length > 0;\n}\nfunction registerInterceptor$$1(interceptable, handler) {\n var interceptors = interceptable.interceptors || (interceptable.interceptors = []);\n interceptors.push(handler);\n return once$$1(function () {\n var idx = interceptors.indexOf(handler);\n if (idx !== -1)\n interceptors.splice(idx, 1);\n });\n}\nfunction interceptChange$$1(interceptable, change) {\n var prevU = untrackedStart$$1();\n try {\n var interceptors = interceptable.interceptors;\n if (interceptors)\n for (var i = 0, l = interceptors.length; i < l; i++) {\n change = interceptors[i](change);\n invariant$$1(!change || change.type, \"Intercept handlers should return nothing or a change object\");\n if (!change)\n break;\n }\n return change;\n }\n finally {\n untrackedEnd$$1(prevU);\n }\n}\n\nfunction hasListeners$$1(listenable) {\n return listenable.changeListeners !== undefined && listenable.changeListeners.length > 0;\n}\nfunction registerListener$$1(listenable, handler) {\n var listeners = listenable.changeListeners || (listenable.changeListeners = []);\n listeners.push(handler);\n return once$$1(function () {\n var idx = listeners.indexOf(handler);\n if (idx !== -1)\n listeners.splice(idx, 1);\n });\n}\nfunction notifyListeners$$1(listenable, change) {\n var prevU = untrackedStart$$1();\n var listeners = listenable.changeListeners;\n if (!listeners)\n return;\n listeners = listeners.slice();\n for (var i = 0, l = listeners.length; i < l; i++) {\n listeners[i](change);\n }\n untrackedEnd$$1(prevU);\n}\n\nvar MAX_SPLICE_SIZE = 10000; // See e.g. https://github.com/mobxjs/mobx/issues/859\n// Detects bug in safari 9.1.1 (or iOS 9 safari mobile). See #364\nvar safariPrototypeSetterInheritanceBug = (function () {\n var v = false;\n var p = {};\n Object.defineProperty(p, \"0\", {\n set: function () {\n v = true;\n }\n });\n Object.create(p)[\"0\"] = 1;\n return v === false;\n})();\n/**\n * This array buffer contains two lists of properties, so that all arrays\n * can recycle their property definitions, which significantly improves performance of creating\n * properties on the fly.\n */\nvar OBSERVABLE_ARRAY_BUFFER_SIZE = 0;\n// Typescript workaround to make sure ObservableArray extends Array\nvar StubArray$$1 = /** @class */ (function () {\n function StubArray$$1() {\n }\n return StubArray$$1;\n}());\nfunction inherit(ctor, proto) {\n if (typeof Object[\"setPrototypeOf\"] !== \"undefined\") {\n Object[\"setPrototypeOf\"](ctor.prototype, proto);\n }\n else if (typeof ctor.prototype.__proto__ !== \"undefined\") {\n ctor.prototype.__proto__ = proto;\n }\n else {\n ctor[\"prototype\"] = proto;\n }\n}\ninherit(StubArray$$1, Array.prototype);\n// Weex freeze Array.prototype\n// Make them writeable and configurable in prototype chain\n// https://github.com/alibaba/weex/pull/1529\nif (Object.isFrozen(Array)) {\n \n [\n \"constructor\",\n \"push\",\n \"shift\",\n \"concat\",\n \"pop\",\n \"unshift\",\n \"replace\",\n \"find\",\n \"findIndex\",\n \"splice\",\n \"reverse\",\n \"sort\"\n ].forEach(function (key) {\n Object.defineProperty(StubArray$$1.prototype, key, {\n configurable: true,\n writable: true,\n value: Array.prototype[key]\n });\n });\n}\nvar ObservableArrayAdministration = /** @class */ (function () {\n function ObservableArrayAdministration(name, enhancer, array, owned) {\n this.array = array;\n this.owned = owned;\n this.values = [];\n this.lastKnownLength = 0;\n this.atom = new Atom$$1(name || \"ObservableArray@\" + getNextId$$1());\n this.enhancer = function (newV, oldV) { return enhancer(newV, oldV, name + \"[..]\"); };\n }\n ObservableArrayAdministration.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined)\n return this.dehancer(value);\n return value;\n };\n ObservableArrayAdministration.prototype.dehanceValues = function (values$$1) {\n if (this.dehancer !== undefined && values$$1.length > 0)\n return values$$1.map(this.dehancer);\n return values$$1;\n };\n ObservableArrayAdministration.prototype.intercept = function (handler) {\n return registerInterceptor$$1(this, handler);\n };\n ObservableArrayAdministration.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) { fireImmediately = false; }\n if (fireImmediately) {\n listener({\n object: this.array,\n type: \"splice\",\n index: 0,\n added: this.values.slice(),\n addedCount: this.values.length,\n removed: [],\n removedCount: 0\n });\n }\n return registerListener$$1(this, listener);\n };\n ObservableArrayAdministration.prototype.getArrayLength = function () {\n this.atom.reportObserved();\n return this.values.length;\n };\n ObservableArrayAdministration.prototype.setArrayLength = function (newLength) {\n if (typeof newLength !== \"number\" || newLength < 0)\n throw new Error(\"[mobx.array] Out of range: \" + newLength);\n var currentLength = this.values.length;\n if (newLength === currentLength)\n return;\n else if (newLength > currentLength) {\n var newItems = new Array(newLength - currentLength);\n for (var i = 0; i < newLength - currentLength; i++)\n newItems[i] = undefined; // No Array.fill everywhere...\n this.spliceWithArray(currentLength, 0, newItems);\n }\n else\n this.spliceWithArray(newLength, currentLength - newLength);\n };\n // adds / removes the necessary numeric properties to this object\n ObservableArrayAdministration.prototype.updateArrayLength = function (oldLength, delta) {\n if (oldLength !== this.lastKnownLength)\n throw new Error(\"[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?\");\n this.lastKnownLength += delta;\n if (delta > 0 && oldLength + delta + 1 > OBSERVABLE_ARRAY_BUFFER_SIZE)\n reserveArrayBuffer$$1(oldLength + delta + 1);\n };\n ObservableArrayAdministration.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n var _this = this;\n checkIfStateModificationsAreAllowed$$1(this.atom);\n var length = this.values.length;\n if (index === undefined)\n index = 0;\n else if (index > length)\n index = length;\n else if (index < 0)\n index = Math.max(0, length + index);\n if (arguments.length === 1)\n deleteCount = length - index;\n else if (deleteCount === undefined || deleteCount === null)\n deleteCount = 0;\n else\n deleteCount = Math.max(0, Math.min(deleteCount, length - index));\n if (newItems === undefined)\n newItems = EMPTY_ARRAY$$1;\n if (hasInterceptors$$1(this)) {\n var change = interceptChange$$1(this, {\n object: this.array,\n type: \"splice\",\n index: index,\n removedCount: deleteCount,\n added: newItems\n });\n if (!change)\n return EMPTY_ARRAY$$1;\n deleteCount = change.removedCount;\n newItems = change.added;\n }\n newItems =\n newItems.length === 0 ? newItems : newItems.map(function (v) { return _this.enhancer(v, undefined); });\n var lengthDelta = newItems.length - deleteCount;\n this.updateArrayLength(length, lengthDelta); // create or remove new entries\n var res = this.spliceItemsIntoValues(index, deleteCount, newItems);\n if (deleteCount !== 0 || newItems.length !== 0)\n this.notifyArraySplice(index, newItems, res);\n return this.dehanceValues(res);\n };\n ObservableArrayAdministration.prototype.spliceItemsIntoValues = function (index, deleteCount, newItems) {\n var _a;\n if (newItems.length < MAX_SPLICE_SIZE) {\n return (_a = this.values).splice.apply(_a, __spread([index, deleteCount], newItems));\n }\n else {\n var res = this.values.slice(index, index + deleteCount);\n this.values = this.values\n .slice(0, index)\n .concat(newItems, this.values.slice(index + deleteCount));\n return res;\n }\n };\n ObservableArrayAdministration.prototype.notifyArrayChildUpdate = function (index, newValue, oldValue) {\n var notifySpy = !this.owned && isSpyEnabled$$1();\n var notify = hasListeners$$1(this);\n var change = notify || notifySpy\n ? {\n object: this.array,\n type: \"update\",\n index: index,\n newValue: newValue,\n oldValue: oldValue\n }\n : null;\n if (notifySpy)\n spyReportStart$$1(__assign({}, change, { name: this.atom.name }));\n this.atom.reportChanged();\n if (notify)\n notifyListeners$$1(this, change);\n if (notifySpy)\n spyReportEnd$$1();\n };\n ObservableArrayAdministration.prototype.notifyArraySplice = function (index, added, removed) {\n var notifySpy = !this.owned && isSpyEnabled$$1();\n var notify = hasListeners$$1(this);\n var change = notify || notifySpy\n ? {\n object: this.array,\n type: \"splice\",\n index: index,\n removed: removed,\n added: added,\n removedCount: removed.length,\n addedCount: added.length\n }\n : null;\n if (notifySpy)\n spyReportStart$$1(__assign({}, change, { name: this.atom.name }));\n this.atom.reportChanged();\n // conform: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/observe\n if (notify)\n notifyListeners$$1(this, change);\n if (notifySpy)\n spyReportEnd$$1();\n };\n return ObservableArrayAdministration;\n}());\nvar ObservableArray$$1 = /** @class */ (function (_super) {\n __extends(ObservableArray$$1, _super);\n function ObservableArray$$1(initialValues, enhancer, name, owned) {\n if (name === void 0) { name = \"ObservableArray@\" + getNextId$$1(); }\n if (owned === void 0) { owned = false; }\n var _this = _super.call(this) || this;\n var adm = new ObservableArrayAdministration(name, enhancer, _this, owned);\n addHiddenFinalProp$$1(_this, \"$mobx\", adm);\n if (initialValues && initialValues.length) {\n var prev = allowStateChangesStart$$1(true);\n _this.spliceWithArray(0, 0, initialValues);\n allowStateChangesEnd$$1(prev);\n }\n if (safariPrototypeSetterInheritanceBug) {\n // Seems that Safari won't use numeric prototype setter untill any * numeric property is\n // defined on the instance. After that it works fine, even if this property is deleted.\n Object.defineProperty(adm.array, \"0\", ENTRY_0);\n }\n return _this;\n }\n ObservableArray$$1.prototype.intercept = function (handler) {\n return this.$mobx.intercept(handler);\n };\n ObservableArray$$1.prototype.observe = function (listener, fireImmediately) {\n if (fireImmediately === void 0) { fireImmediately = false; }\n return this.$mobx.observe(listener, fireImmediately);\n };\n ObservableArray$$1.prototype.clear = function () {\n return this.splice(0);\n };\n ObservableArray$$1.prototype.concat = function () {\n var arrays = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n arrays[_i] = arguments[_i];\n }\n this.$mobx.atom.reportObserved();\n return Array.prototype.concat.apply(this.peek(), arrays.map(function (a) { return (isObservableArray$$1(a) ? a.peek() : a); }));\n };\n ObservableArray$$1.prototype.replace = function (newItems) {\n return this.$mobx.spliceWithArray(0, this.$mobx.values.length, newItems);\n };\n /**\n * Converts this array back to a (shallow) javascript structure.\n * For a deep clone use mobx.toJS\n */\n ObservableArray$$1.prototype.toJS = function () {\n return this.slice();\n };\n ObservableArray$$1.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toJS();\n };\n ObservableArray$$1.prototype.peek = function () {\n this.$mobx.atom.reportObserved();\n return this.$mobx.dehanceValues(this.$mobx.values);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/find\n ObservableArray$$1.prototype.find = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n if (arguments.length === 3)\n deprecated$$1(\"The array.find fromIndex argument to find will not be supported anymore in the next major\");\n var idx = this.findIndex.apply(this, arguments);\n return idx === -1 ? undefined : this.get(idx);\n };\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/findIndex\n ObservableArray$$1.prototype.findIndex = function (predicate, thisArg, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n if (arguments.length === 3)\n deprecated$$1(\"The array.findIndex fromIndex argument to find will not be supported anymore in the next major\");\n var items = this.peek(), l = items.length;\n for (var i = fromIndex; i < l; i++)\n if (predicate.call(thisArg, items[i], i, this))\n return i;\n return -1;\n };\n /*\n * functions that do alter the internal structure of the array, (based on lib.es6.d.ts)\n * since these functions alter the inner structure of the array, the have side effects.\n * Because the have side effects, they should not be used in computed function,\n * and for that reason the do not call dependencyState.notifyObserved\n */\n ObservableArray$$1.prototype.splice = function (index, deleteCount) {\n var newItems = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n newItems[_i - 2] = arguments[_i];\n }\n switch (arguments.length) {\n case 0:\n return [];\n case 1:\n return this.$mobx.spliceWithArray(index);\n case 2:\n return this.$mobx.spliceWithArray(index, deleteCount);\n }\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray$$1.prototype.spliceWithArray = function (index, deleteCount, newItems) {\n return this.$mobx.spliceWithArray(index, deleteCount, newItems);\n };\n ObservableArray$$1.prototype.push = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(adm.values.length, 0, items);\n return adm.values.length;\n };\n ObservableArray$$1.prototype.pop = function () {\n return this.splice(Math.max(this.$mobx.values.length - 1, 0), 1)[0];\n };\n ObservableArray$$1.prototype.shift = function () {\n return this.splice(0, 1)[0];\n };\n ObservableArray$$1.prototype.unshift = function () {\n var items = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n items[_i] = arguments[_i];\n }\n var adm = this.$mobx;\n adm.spliceWithArray(0, 0, items);\n return adm.values.length;\n };\n ObservableArray$$1.prototype.reverse = function () {\n // reverse by default mutates in place before returning the result\n // which makes it both a 'derivation' and a 'mutation'.\n // so we deviate from the default and just make it an dervitation\n var clone = this.slice();\n return clone.reverse.apply(clone, arguments);\n };\n ObservableArray$$1.prototype.sort = function (compareFn) {\n // sort by default mutates in place before returning the result\n // which goes against all good practices. Let's not change the array in place!\n var clone = this.slice();\n return clone.sort.apply(clone, arguments);\n };\n ObservableArray$$1.prototype.remove = function (value) {\n var idx = this.$mobx.dehanceValues(this.$mobx.values).indexOf(value);\n if (idx > -1) {\n this.splice(idx, 1);\n return true;\n }\n return false;\n };\n ObservableArray$$1.prototype.move = function (fromIndex, toIndex) {\n deprecated$$1(\"observableArray.move is deprecated, use .slice() & .replace() instead\");\n function checkIndex(index) {\n if (index < 0) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is negative\");\n }\n var length = this.$mobx.values.length;\n if (index >= length) {\n throw new Error(\"[mobx.array] Index out of bounds: \" + index + \" is not smaller than \" + length);\n }\n }\n checkIndex.call(this, fromIndex);\n checkIndex.call(this, toIndex);\n if (fromIndex === toIndex) {\n return;\n }\n var oldItems = this.$mobx.values;\n var newItems;\n if (fromIndex < toIndex) {\n newItems = __spread(oldItems.slice(0, fromIndex), oldItems.slice(fromIndex + 1, toIndex + 1), [\n oldItems[fromIndex]\n ], oldItems.slice(toIndex + 1));\n }\n else {\n // toIndex < fromIndex\n newItems = __spread(oldItems.slice(0, toIndex), [\n oldItems[fromIndex]\n ], oldItems.slice(toIndex, fromIndex), oldItems.slice(fromIndex + 1));\n }\n this.replace(newItems);\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray$$1.prototype.get = function (index) {\n var impl = this.$mobx;\n if (impl) {\n if (index < impl.values.length) {\n impl.atom.reportObserved();\n return impl.dehanceValue(impl.values[index]);\n }\n console.warn(\"[mobx.array] Attempt to read an array index (\" + index + \") that is out of bounds (\" + impl.values.length + \"). Please check length first. Out of bound indices will not be tracked by MobX\");\n }\n return undefined;\n };\n // See #734, in case property accessors are unreliable...\n ObservableArray$$1.prototype.set = function (index, newValue) {\n var adm = this.$mobx;\n var values$$1 = adm.values;\n if (index < values$$1.length) {\n // update at index in range\n checkIfStateModificationsAreAllowed$$1(adm.atom);\n var oldValue = values$$1[index];\n if (hasInterceptors$$1(adm)) {\n var change = interceptChange$$1(adm, {\n type: \"update\",\n object: this,\n index: index,\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n newValue = adm.enhancer(newValue, oldValue);\n var changed = newValue !== oldValue;\n if (changed) {\n values$$1[index] = newValue;\n adm.notifyArrayChildUpdate(index, newValue, oldValue);\n }\n }\n else if (index === values$$1.length) {\n // add a new item\n adm.spliceWithArray(index, 0, [newValue]);\n }\n else {\n // out of bounds\n throw new Error(\"[mobx.array] Index out of bounds, \" + index + \" is larger than \" + values$$1.length);\n }\n };\n return ObservableArray$$1;\n}(StubArray$$1));\ndeclareIterator$$1(ObservableArray$$1.prototype, function () {\n \n this.$mobx.atom.reportObserved();\n var self = this;\n var nextIndex = 0;\n return makeIterable$$1({\n next: function () {\n return nextIndex < self.length\n ? { value: self[nextIndex++], done: false }\n : { done: true, value: undefined };\n }\n });\n});\nObject.defineProperty(ObservableArray$$1.prototype, \"length\", {\n enumerable: false,\n configurable: true,\n get: function () {\n return this.$mobx.getArrayLength();\n },\n set: function (newLength) {\n this.$mobx.setArrayLength(newLength);\n }\n});\naddHiddenProp$$1(ObservableArray$$1.prototype, toStringTagSymbol$$1(), \"Array\");\n[\n \"every\",\n \"filter\",\n \"forEach\",\n \"indexOf\",\n \"join\",\n \"lastIndexOf\",\n \"map\",\n \"reduce\",\n \"reduceRight\",\n \"slice\",\n \"some\",\n \"toString\",\n \"toLocaleString\"\n].forEach(function (funcName) {\n var baseFunc = Array.prototype[funcName];\n invariant$$1(typeof baseFunc === \"function\", \"Base function not defined on Array prototype: '\" + funcName + \"'\");\n addHiddenProp$$1(ObservableArray$$1.prototype, funcName, function () {\n return baseFunc.apply(this.peek(), arguments);\n });\n});\n/**\n * We don't want those to show up in `for (const key in ar)` ...\n */\nmakeNonEnumerable$$1(ObservableArray$$1.prototype, [\n \"constructor\",\n \"intercept\",\n \"observe\",\n \"clear\",\n \"concat\",\n \"get\",\n \"replace\",\n \"toJS\",\n \"toJSON\",\n \"peek\",\n \"find\",\n \"findIndex\",\n \"splice\",\n \"spliceWithArray\",\n \"push\",\n \"pop\",\n \"set\",\n \"shift\",\n \"unshift\",\n \"reverse\",\n \"sort\",\n \"remove\",\n \"move\",\n \"toString\",\n \"toLocaleString\"\n]);\n// See #364\nvar ENTRY_0 = createArrayEntryDescriptor(0);\nfunction createArrayEntryDescriptor(index) {\n return {\n enumerable: false,\n configurable: false,\n get: function () {\n return this.get(index);\n },\n set: function (value) {\n this.set(index, value);\n }\n };\n}\nfunction createArrayBufferItem(index) {\n Object.defineProperty(ObservableArray$$1.prototype, \"\" + index, createArrayEntryDescriptor(index));\n}\nfunction reserveArrayBuffer$$1(max) {\n for (var index = OBSERVABLE_ARRAY_BUFFER_SIZE; index < max; index++)\n createArrayBufferItem(index);\n OBSERVABLE_ARRAY_BUFFER_SIZE = max;\n}\nreserveArrayBuffer$$1(1000);\nvar isObservableArrayAdministration = createInstanceofPredicate$$1(\"ObservableArrayAdministration\", ObservableArrayAdministration);\nfunction isObservableArray$$1(thing) {\n return isObject$$1(thing) && isObservableArrayAdministration(thing.$mobx);\n}\n\nvar ObservableMapMarker = {};\nvar ObservableMap$$1 = /** @class */ (function () {\n function ObservableMap$$1(initialData, enhancer, name) {\n if (enhancer === void 0) { enhancer = deepEnhancer$$1; }\n if (name === void 0) { name = \"ObservableMap@\" + getNextId$$1(); }\n this.enhancer = enhancer;\n this.name = name;\n this.$mobx = ObservableMapMarker;\n this._keys = new ObservableArray$$1(undefined, referenceEnhancer$$1, this.name + \".keys()\", true);\n if (typeof Map !== \"function\") {\n throw new Error(\"mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js\");\n }\n this._data = new Map();\n this._hasMap = new Map();\n this.merge(initialData);\n }\n ObservableMap$$1.prototype._has = function (key) {\n return this._data.has(key);\n };\n ObservableMap$$1.prototype.has = function (key) {\n if (this._hasMap.has(key))\n return this._hasMap.get(key).get();\n return this._updateHasMapEntry(key, false).get();\n };\n ObservableMap$$1.prototype.set = function (key, value) {\n var hasKey = this._has(key);\n if (hasInterceptors$$1(this)) {\n var change = interceptChange$$1(this, {\n type: hasKey ? \"update\" : \"add\",\n object: this,\n newValue: value,\n name: key\n });\n if (!change)\n return this;\n value = change.newValue;\n }\n if (hasKey) {\n this._updateValue(key, value);\n }\n else {\n this._addValue(key, value);\n }\n return this;\n };\n ObservableMap$$1.prototype.delete = function (key) {\n var _this = this;\n if (hasInterceptors$$1(this)) {\n var change = interceptChange$$1(this, {\n type: \"delete\",\n object: this,\n name: key\n });\n if (!change)\n return false;\n }\n if (this._has(key)) {\n var notifySpy = isSpyEnabled$$1();\n var notify = hasListeners$$1(this);\n var change = notify || notifySpy\n ? {\n type: \"delete\",\n object: this,\n oldValue: this._data.get(key).value,\n name: key\n }\n : null;\n if (notifySpy)\n spyReportStart$$1(__assign({}, change, { name: this.name, key: key }));\n transaction$$1(function () {\n _this._keys.remove(key);\n _this._updateHasMapEntry(key, false);\n var observable$$1 = _this._data.get(key);\n observable$$1.setNewValue(undefined);\n _this._data.delete(key);\n });\n if (notify)\n notifyListeners$$1(this, change);\n if (notifySpy)\n spyReportEnd$$1();\n return true;\n }\n return false;\n };\n ObservableMap$$1.prototype._updateHasMapEntry = function (key, value) {\n // optimization; don't fill the hasMap if we are not observing, or remove entry if there are no observers anymore\n var entry = this._hasMap.get(key);\n if (entry) {\n entry.setNewValue(value);\n }\n else {\n entry = new ObservableValue$$1(value, referenceEnhancer$$1, this.name + \".\" + stringifyKey(key) + \"?\", false);\n this._hasMap.set(key, entry);\n }\n return entry;\n };\n ObservableMap$$1.prototype._updateValue = function (key, newValue) {\n var observable$$1 = this._data.get(key);\n newValue = observable$$1.prepareNewValue(newValue);\n if (newValue !== globalState$$1.UNCHANGED) {\n var notifySpy = isSpyEnabled$$1();\n var notify = hasListeners$$1(this);\n var change = notify || notifySpy\n ? {\n type: \"update\",\n object: this,\n oldValue: observable$$1.value,\n name: key,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart$$1(__assign({}, change, { name: this.name, key: key }));\n observable$$1.setNewValue(newValue);\n if (notify)\n notifyListeners$$1(this, change);\n if (notifySpy)\n spyReportEnd$$1();\n }\n };\n ObservableMap$$1.prototype._addValue = function (key, newValue) {\n var _this = this;\n transaction$$1(function () {\n var observable$$1 = new ObservableValue$$1(newValue, _this.enhancer, _this.name + \".\" + stringifyKey(key), false);\n _this._data.set(key, observable$$1);\n newValue = observable$$1.value; // value might have been changed\n _this._updateHasMapEntry(key, true);\n _this._keys.push(key);\n });\n var notifySpy = isSpyEnabled$$1();\n var notify = hasListeners$$1(this);\n var change = notify || notifySpy\n ? {\n type: \"add\",\n object: this,\n name: key,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart$$1(__assign({}, change, { name: this.name, key: key }));\n if (notify)\n notifyListeners$$1(this, change);\n if (notifySpy)\n spyReportEnd$$1();\n };\n ObservableMap$$1.prototype.get = function (key) {\n if (this.has(key))\n return this.dehanceValue(this._data.get(key).get());\n return this.dehanceValue(undefined);\n };\n ObservableMap$$1.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) {\n return this.dehancer(value);\n }\n return value;\n };\n ObservableMap$$1.prototype.keys = function () {\n return this._keys[iteratorSymbol$$1()]();\n };\n ObservableMap$$1.prototype.values = function () {\n var self = this;\n var nextIndex = 0;\n return makeIterable$$1({\n next: function () {\n return nextIndex < self._keys.length\n ? { value: self.get(self._keys[nextIndex++]), done: false }\n : { value: undefined, done: true };\n }\n });\n };\n ObservableMap$$1.prototype.entries = function () {\n var self = this;\n var nextIndex = 0;\n return makeIterable$$1({\n next: function () {\n if (nextIndex < self._keys.length) {\n var key = self._keys[nextIndex++];\n return {\n value: [key, self.get(key)],\n done: false\n };\n }\n return { done: true };\n }\n });\n };\n ObservableMap$$1.prototype.forEach = function (callback, thisArg) {\n var _this = this;\n this._keys.forEach(function (key) { return callback.call(thisArg, _this.get(key), key, _this); });\n };\n /** Merge another object into this object, returns this. */\n ObservableMap$$1.prototype.merge = function (other) {\n var _this = this;\n if (isObservableMap$$1(other)) {\n other = other.toJS();\n }\n transaction$$1(function () {\n if (isPlainObject$$1(other))\n Object.keys(other).forEach(function (key) { return _this.set(key, other[key]); });\n else if (Array.isArray(other))\n other.forEach(function (_a) {\n var _b = __read(_a, 2), key = _b[0], value = _b[1];\n return _this.set(key, value);\n });\n else if (isES6Map$$1(other)) {\n if (other.constructor !== Map)\n fail$$1(\"Cannot initialize from classes that inherit from Map: \" + other.constructor.name); // prettier-ignore\n else\n other.forEach(function (value, key) { return _this.set(key, value); });\n }\n else if (other !== null && other !== undefined)\n fail$$1(\"Cannot initialize map from \" + other);\n });\n return this;\n };\n ObservableMap$$1.prototype.clear = function () {\n var _this = this;\n transaction$$1(function () {\n untracked$$1(function () {\n _this._keys.slice().forEach(function (key) { return _this.delete(key); });\n });\n });\n };\n ObservableMap$$1.prototype.replace = function (values$$1) {\n var _this = this;\n transaction$$1(function () {\n // grab all the keys that are present in the new map but not present in the current map\n // and delete them from the map, then merge the new map\n // this will cause reactions only on changed values\n var newKeys = getMapLikeKeys$$1(values$$1);\n var oldKeys = _this._keys;\n var missingKeys = oldKeys.filter(function (k) { return newKeys.indexOf(k) === -1; });\n missingKeys.forEach(function (k) { return _this.delete(k); });\n _this.merge(values$$1);\n });\n return this;\n };\n Object.defineProperty(ObservableMap$$1.prototype, \"size\", {\n get: function () {\n return this._keys.length;\n },\n enumerable: true,\n configurable: true\n });\n /**\n * Returns a plain object that represents this map.\n * Note that all the keys being stringified.\n * If there are duplicating keys after converting them to strings, behaviour is undetermined.\n */\n ObservableMap$$1.prototype.toPOJO = function () {\n var _this = this;\n var res = {};\n this._keys.forEach(function (key) { return (res[typeof key === \"symbol\" ? key : stringifyKey(key)] = _this.get(key)); });\n return res;\n };\n /**\n * Returns a shallow non observable object clone of this map.\n * Note that the values migth still be observable. For a deep clone use mobx.toJS.\n */\n ObservableMap$$1.prototype.toJS = function () {\n var _this = this;\n var res = new Map();\n this._keys.forEach(function (key) { return res.set(key, _this.get(key)); });\n return res;\n };\n ObservableMap$$1.prototype.toJSON = function () {\n // Used by JSON.stringify\n return this.toPOJO();\n };\n ObservableMap$$1.prototype.toString = function () {\n var _this = this;\n return (this.name +\n \"[{ \" +\n this._keys.map(function (key) { return stringifyKey(key) + \": \" + (\"\" + _this.get(key)); }).join(\", \") +\n \" }]\");\n };\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableMap$$1.prototype.observe = function (listener, fireImmediately) {\n process.env.NODE_ENV !== \"production\" &&\n invariant$$1(fireImmediately !== true, \"`observe` doesn't support fireImmediately=true in combination with maps.\");\n return registerListener$$1(this, listener);\n };\n ObservableMap$$1.prototype.intercept = function (handler) {\n return registerInterceptor$$1(this, handler);\n };\n return ObservableMap$$1;\n}());\nfunction stringifyKey(key) {\n if (key && key.toString)\n return key.toString();\n else\n return new String(key).toString();\n}\ndeclareIterator$$1(ObservableMap$$1.prototype, function () {\n return this.entries();\n});\naddHiddenFinalProp$$1(ObservableMap$$1.prototype, toStringTagSymbol$$1(), \"Map\");\n/* 'var' fixes small-build issue */\nvar isObservableMap$$1 = createInstanceofPredicate$$1(\"ObservableMap\", ObservableMap$$1);\n\nvar ObservableSetMarker = {};\nvar ObservableSet$$1 = /** @class */ (function () {\n function ObservableSet$$1(initialData, enhancer, name) {\n if (enhancer === void 0) { enhancer = deepEnhancer$$1; }\n if (name === void 0) { name = \"ObservableSet@\" + getNextId$$1(); }\n this.name = name;\n this.$mobx = ObservableSetMarker;\n this._data = new Set();\n this._atom = createAtom$$1(this.name);\n if (typeof Set !== \"function\") {\n throw new Error(\"mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js\");\n }\n this.enhancer = function (newV, oldV) { return enhancer(newV, oldV, name); };\n if (initialData) {\n this.replace(initialData);\n }\n }\n ObservableSet$$1.prototype.dehanceValue = function (value) {\n if (this.dehancer !== undefined) {\n return this.dehancer(value);\n }\n return value;\n };\n ObservableSet$$1.prototype.clear = function () {\n var _this = this;\n transaction$$1(function () {\n untracked$$1(function () {\n _this._data.forEach(function (value) {\n _this.delete(value);\n });\n });\n });\n };\n ObservableSet$$1.prototype.forEach = function (callbackFn, thisArg) {\n var _this = this;\n this._data.forEach(function (value) {\n callbackFn.call(thisArg, value, value, _this);\n });\n };\n Object.defineProperty(ObservableSet$$1.prototype, \"size\", {\n get: function () {\n this._atom.reportObserved();\n return this._data.size;\n },\n enumerable: true,\n configurable: true\n });\n ObservableSet$$1.prototype.add = function (value) {\n var _this = this;\n checkIfStateModificationsAreAllowed$$1(this._atom);\n if (hasInterceptors$$1(this)) {\n var change = interceptChange$$1(this, {\n type: \"add\",\n object: this,\n newValue: value\n });\n if (!change)\n return this;\n // TODO: ideally, value = change.value would be done here, so that values can be\n // changed by interceptor. Same applies for other Set and Map api's.\n }\n if (!this.has(value)) {\n transaction$$1(function () {\n _this._data.add(_this.enhancer(value, undefined));\n _this._atom.reportChanged();\n });\n var notifySpy = isSpyEnabled$$1();\n var notify = hasListeners$$1(this);\n var change = notify || notifySpy\n ? {\n type: \"add\",\n object: this,\n newValue: value\n }\n : null;\n if (notifySpy && process.env.NODE_ENV !== \"production\")\n spyReportStart$$1(change);\n if (notify)\n notifyListeners$$1(this, change);\n if (notifySpy && process.env.NODE_ENV !== \"production\")\n spyReportEnd$$1();\n }\n return this;\n };\n ObservableSet$$1.prototype.delete = function (value) {\n var _this = this;\n if (hasInterceptors$$1(this)) {\n var change = interceptChange$$1(this, {\n type: \"delete\",\n object: this,\n oldValue: value\n });\n if (!change)\n return false;\n }\n if (this.has(value)) {\n var notifySpy = isSpyEnabled$$1();\n var notify = hasListeners$$1(this);\n var change = notify || notifySpy\n ? {\n type: \"delete\",\n object: this,\n oldValue: value\n }\n : null;\n if (notifySpy && process.env.NODE_ENV !== \"production\")\n spyReportStart$$1(__assign({}, change, { name: this.name }));\n transaction$$1(function () {\n _this._atom.reportChanged();\n _this._data.delete(value);\n });\n if (notify)\n notifyListeners$$1(this, change);\n if (notifySpy && process.env.NODE_ENV !== \"production\")\n spyReportEnd$$1();\n return true;\n }\n return false;\n };\n ObservableSet$$1.prototype.has = function (value) {\n this._atom.reportObserved();\n return this._data.has(this.dehanceValue(value));\n };\n ObservableSet$$1.prototype.entries = function () {\n var nextIndex = 0;\n var keys$$1 = iteratorToArray$$1(this.keys());\n var values$$1 = iteratorToArray$$1(this.values());\n return makeIterable$$1({\n next: function () {\n var index = nextIndex;\n nextIndex += 1;\n return index < values$$1.length\n ? { value: [keys$$1[index], values$$1[index]], done: false }\n : { done: true };\n }\n });\n };\n ObservableSet$$1.prototype.keys = function () {\n return this.values();\n };\n ObservableSet$$1.prototype.values = function () {\n this._atom.reportObserved();\n var self = this;\n var nextIndex = 0;\n var observableValues;\n if (this._data.values !== undefined) {\n observableValues = iteratorToArray$$1(this._data.values());\n }\n else {\n // There is no values function in IE11\n observableValues = [];\n this._data.forEach(function (e) { return observableValues.push(e); });\n }\n return makeIterable$$1({\n next: function () {\n return nextIndex < observableValues.length\n ? { value: self.dehanceValue(observableValues[nextIndex++]), done: false }\n : { done: true };\n }\n });\n };\n ObservableSet$$1.prototype.replace = function (other) {\n var _this = this;\n if (isObservableSet$$1(other)) {\n other = other.toJS();\n }\n transaction$$1(function () {\n if (Array.isArray(other)) {\n _this.clear();\n other.forEach(function (value) { return _this.add(value); });\n }\n else if (isES6Set$$1(other)) {\n _this.clear();\n other.forEach(function (value) { return _this.add(value); });\n }\n else if (other !== null && other !== undefined) {\n fail$$1(\"Cannot initialize set from \" + other);\n }\n });\n return this;\n };\n ObservableSet$$1.prototype.observe = function (listener, fireImmediately) {\n // TODO 'fireImmediately' can be true?\n process.env.NODE_ENV !== \"production\" &&\n invariant$$1(fireImmediately !== true, \"`observe` doesn't support fireImmediately=true in combination with sets.\");\n return registerListener$$1(this, listener);\n };\n ObservableSet$$1.prototype.intercept = function (handler) {\n return registerInterceptor$$1(this, handler);\n };\n ObservableSet$$1.prototype.toJS = function () {\n return new Set(this);\n };\n ObservableSet$$1.prototype.toString = function () {\n return this.name + \"[ \" + iteratorToArray$$1(this.keys()).join(\", \") + \" ]\";\n };\n return ObservableSet$$1;\n}());\ndeclareIterator$$1(ObservableSet$$1.prototype, function () {\n return this.values();\n});\naddHiddenFinalProp$$1(ObservableSet$$1.prototype, toStringTagSymbol$$1(), \"Set\");\nvar isObservableSet$$1 = createInstanceofPredicate$$1(\"ObservableSet\", ObservableSet$$1);\n\nvar ObservableObjectAdministration$$1 = /** @class */ (function () {\n function ObservableObjectAdministration$$1(target, name, defaultEnhancer) {\n this.target = target;\n this.name = name;\n this.defaultEnhancer = defaultEnhancer;\n this.values = {};\n }\n ObservableObjectAdministration$$1.prototype.read = function (owner, key) {\n if (process.env.NODE_ENV === \"production\" && this.target !== owner) {\n this.illegalAccess(owner, key);\n if (!this.values[key])\n return undefined;\n }\n return this.values[key].get();\n };\n ObservableObjectAdministration$$1.prototype.write = function (owner, key, newValue) {\n var instance = this.target;\n if (process.env.NODE_ENV === \"production\" && instance !== owner) {\n this.illegalAccess(owner, key);\n }\n var observable$$1 = this.values[key];\n if (observable$$1 instanceof ComputedValue$$1) {\n observable$$1.set(newValue);\n return;\n }\n // intercept\n if (hasInterceptors$$1(this)) {\n var change = interceptChange$$1(this, {\n type: \"update\",\n object: instance,\n name: key,\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n newValue = observable$$1.prepareNewValue(newValue);\n // notify spy & observers\n if (newValue !== globalState$$1.UNCHANGED) {\n var notify = hasListeners$$1(this);\n var notifySpy = isSpyEnabled$$1();\n var change = notify || notifySpy\n ? {\n type: \"update\",\n object: instance,\n oldValue: observable$$1.value,\n name: key,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart$$1(__assign({}, change, { name: this.name, key: key }));\n observable$$1.setNewValue(newValue);\n if (notify)\n notifyListeners$$1(this, change);\n if (notifySpy)\n spyReportEnd$$1();\n }\n };\n ObservableObjectAdministration$$1.prototype.remove = function (key) {\n if (!this.values[key])\n return;\n var target = this.target;\n if (hasInterceptors$$1(this)) {\n var change = interceptChange$$1(this, {\n object: target,\n name: key,\n type: \"remove\"\n });\n if (!change)\n return;\n }\n try {\n startBatch$$1();\n var notify = hasListeners$$1(this);\n var notifySpy = isSpyEnabled$$1();\n var oldValue = this.values[key].get();\n if (this.keys)\n this.keys.remove(key);\n delete this.values[key];\n delete this.target[key];\n var change = notify || notifySpy\n ? {\n type: \"remove\",\n object: target,\n oldValue: oldValue,\n name: key\n }\n : null;\n if (notifySpy)\n spyReportStart$$1(__assign({}, change, { name: this.name, key: key }));\n if (notify)\n notifyListeners$$1(this, change);\n if (notifySpy)\n spyReportEnd$$1();\n }\n finally {\n endBatch$$1();\n }\n };\n ObservableObjectAdministration$$1.prototype.illegalAccess = function (owner, propName) {\n /**\n * This happens if a property is accessed through the prototype chain, but the property was\n * declared directly as own property on the prototype.\n *\n * E.g.:\n * class A {\n * }\n * extendObservable(A.prototype, { x: 1 })\n *\n * classB extens A {\n * }\n * console.log(new B().x)\n *\n * It is unclear whether the property should be considered 'static' or inherited.\n * Either use `console.log(A.x)`\n * or: decorate(A, { x: observable })\n *\n * When using decorate, the property will always be redeclared as own property on the actual instance\n */\n console.warn(\"Property '\" + propName + \"' of '\" + owner + \"' was accessed through the prototype chain. Use 'decorate' instead to declare the prop or access it statically through it's owner\");\n };\n /**\n * Observes this object. Triggers for the events 'add', 'update' and 'delete'.\n * See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/observe\n * for callback details\n */\n ObservableObjectAdministration$$1.prototype.observe = function (callback, fireImmediately) {\n process.env.NODE_ENV !== \"production\" &&\n invariant$$1(fireImmediately !== true, \"`observe` doesn't support the fire immediately property for observable objects.\");\n return registerListener$$1(this, callback);\n };\n ObservableObjectAdministration$$1.prototype.intercept = function (handler) {\n return registerInterceptor$$1(this, handler);\n };\n ObservableObjectAdministration$$1.prototype.getKeys = function () {\n var _this = this;\n if (this.keys === undefined) {\n this.keys = (new ObservableArray$$1(Object.keys(this.values).filter(function (key) { return _this.values[key] instanceof ObservableValue$$1; }), referenceEnhancer$$1, \"keys(\" + this.name + \")\", true));\n }\n return this.keys.slice();\n };\n return ObservableObjectAdministration$$1;\n}());\nfunction asObservableObject$$1(target, name, defaultEnhancer) {\n if (name === void 0) { name = \"\"; }\n if (defaultEnhancer === void 0) { defaultEnhancer = deepEnhancer$$1; }\n var adm = target.$mobx;\n if (adm)\n return adm;\n process.env.NODE_ENV !== \"production\" &&\n invariant$$1(Object.isExtensible(target), \"Cannot make the designated object observable; it is not extensible\");\n if (!isPlainObject$$1(target))\n name = (target.constructor.name || \"ObservableObject\") + \"@\" + getNextId$$1();\n if (!name)\n name = \"ObservableObject@\" + getNextId$$1();\n adm = new ObservableObjectAdministration$$1(target, name, defaultEnhancer);\n addHiddenFinalProp$$1(target, \"$mobx\", adm);\n return adm;\n}\nfunction defineObservableProperty$$1(target, propName, newValue, enhancer) {\n var adm = asObservableObject$$1(target);\n assertPropertyConfigurable$$1(target, propName);\n if (hasInterceptors$$1(adm)) {\n var change = interceptChange$$1(adm, {\n object: target,\n name: propName,\n type: \"add\",\n newValue: newValue\n });\n if (!change)\n return;\n newValue = change.newValue;\n }\n var observable$$1 = (adm.values[propName] = new ObservableValue$$1(newValue, enhancer, adm.name + \".\" + propName, false));\n newValue = observable$$1.value; // observableValue might have changed it\n Object.defineProperty(target, propName, generateObservablePropConfig$$1(propName));\n if (adm.keys)\n adm.keys.push(propName);\n notifyPropertyAddition(adm, target, propName, newValue);\n}\nfunction defineComputedProperty$$1(target, // which objects holds the observable and provides `this` context?\npropName, options) {\n var adm = asObservableObject$$1(target);\n options.name = adm.name + \".\" + propName;\n options.context = target;\n adm.values[propName] = new ComputedValue$$1(options);\n Object.defineProperty(target, propName, generateComputedPropConfig$$1(propName));\n}\nvar observablePropertyConfigs = Object.create(null);\nvar computedPropertyConfigs = Object.create(null);\nfunction generateObservablePropConfig$$1(propName) {\n return (observablePropertyConfigs[propName] ||\n (observablePropertyConfigs[propName] = {\n configurable: true,\n enumerable: true,\n get: function () {\n return this.$mobx.read(this, propName);\n },\n set: function (v) {\n this.$mobx.write(this, propName, v);\n }\n }));\n}\nfunction getAdministrationForComputedPropOwner(owner) {\n var adm = owner.$mobx;\n if (!adm) {\n // because computed props are declared on proty,\n // the current instance might not have been initialized yet\n initializeInstance$$1(owner);\n return owner.$mobx;\n }\n return adm;\n}\nfunction generateComputedPropConfig$$1(propName) {\n return (computedPropertyConfigs[propName] ||\n (computedPropertyConfigs[propName] = {\n configurable: false,\n enumerable: false,\n get: function () {\n return getAdministrationForComputedPropOwner(this).read(this, propName);\n },\n set: function (v) {\n getAdministrationForComputedPropOwner(this).write(this, propName, v);\n }\n }));\n}\nfunction notifyPropertyAddition(adm, object, key, newValue) {\n var notify = hasListeners$$1(adm);\n var notifySpy = isSpyEnabled$$1();\n var change = notify || notifySpy\n ? {\n type: \"add\",\n object: object,\n name: key,\n newValue: newValue\n }\n : null;\n if (notifySpy)\n spyReportStart$$1(__assign({}, change, { name: adm.name, key: key }));\n if (notify)\n notifyListeners$$1(adm, change);\n if (notifySpy)\n spyReportEnd$$1();\n}\nvar isObservableObjectAdministration = createInstanceofPredicate$$1(\"ObservableObjectAdministration\", ObservableObjectAdministration$$1);\nfunction isObservableObject$$1(thing) {\n if (isObject$$1(thing)) {\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n initializeInstance$$1(thing);\n return isObservableObjectAdministration(thing.$mobx);\n }\n return false;\n}\n\nfunction getAtom$$1(thing, property) {\n if (typeof thing === \"object\" && thing !== null) {\n if (isObservableArray$$1(thing)) {\n if (property !== undefined)\n fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"It is not possible to get index atoms from arrays\");\n return thing.$mobx.atom;\n }\n if (isObservableSet$$1(thing)) {\n return thing.$mobx;\n }\n if (isObservableMap$$1(thing)) {\n var anyThing = thing;\n if (property === undefined)\n return getAtom$$1(anyThing._keys);\n var observable$$1 = anyThing._data.get(property) || anyThing._hasMap.get(property);\n if (!observable$$1)\n fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"the entry '\" + property + \"' does not exist in the observable map '\" + getDebugName$$1(thing) + \"'\");\n return observable$$1;\n }\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n initializeInstance$$1(thing);\n if (property && !thing.$mobx)\n thing[property]; // See #1072\n if (isObservableObject$$1(thing)) {\n if (!property)\n return fail$$1(process.env.NODE_ENV !== \"production\" && \"please specify a property\");\n var observable$$1 = thing.$mobx.values[property];\n if (!observable$$1)\n fail$$1(process.env.NODE_ENV !== \"production\" &&\n \"no observable property '\" + property + \"' found on the observable object '\" + getDebugName$$1(thing) + \"'\");\n return observable$$1;\n }\n if (isAtom$$1(thing) || isComputedValue$$1(thing) || isReaction$$1(thing)) {\n return thing;\n }\n }\n else if (typeof thing === \"function\") {\n if (isReaction$$1(thing.$mobx)) {\n // disposer function\n return thing.$mobx;\n }\n }\n return fail$$1(process.env.NODE_ENV !== \"production\" && \"Cannot obtain atom from \" + thing);\n}\nfunction getAdministration$$1(thing, property) {\n if (!thing)\n fail$$1(\"Expecting some object\");\n if (property !== undefined)\n return getAdministration$$1(getAtom$$1(thing, property));\n if (isAtom$$1(thing) || isComputedValue$$1(thing) || isReaction$$1(thing))\n return thing;\n if (isObservableMap$$1(thing) || isObservableSet$$1(thing))\n return thing;\n // Initializers run lazily when transpiling to babel, so make sure they are run...\n initializeInstance$$1(thing);\n if (thing.$mobx)\n return thing.$mobx;\n fail$$1(process.env.NODE_ENV !== \"production\" && \"Cannot obtain administration from \" + thing);\n}\nfunction getDebugName$$1(thing, property) {\n var named;\n if (property !== undefined)\n named = getAtom$$1(thing, property);\n else if (isObservableObject$$1(thing) || isObservableMap$$1(thing) || isObservableSet$$1(thing))\n named = getAdministration$$1(thing);\n else\n named = getAtom$$1(thing); // valid for arrays as well\n return named.name;\n}\n\nvar toString = Object.prototype.toString;\nfunction deepEqual$$1(a, b) {\n return eq(a, b);\n}\n// Copied from https://github.com/jashkenas/underscore/blob/5c237a7c682fb68fd5378203f0bf22dce1624854/underscore.js#L1186-L1289\n// Internal recursive comparison function for `isEqual`.\nfunction eq(a, b, aStack, bStack) {\n // Identical objects are equal. `0 === -0`, but they aren't identical.\n // See the [Harmony `egal` proposal](http://wiki.ecmascript.org/doku.php?id=harmony:egal).\n if (a === b)\n return a !== 0 || 1 / a === 1 / b;\n // `null` or `undefined` only equal to itself (strict comparison).\n if (a == null || b == null)\n return false;\n // `NaN`s are equivalent, but non-reflexive.\n if (a !== a)\n return b !== b;\n // Exhaust primitive checks\n var type = typeof a;\n if (type !== \"function\" && type !== \"object\" && typeof b != \"object\")\n return false;\n return deepEq(a, b, aStack, bStack);\n}\n// Internal recursive comparison function for `isEqual`.\nfunction deepEq(a, b, aStack, bStack) {\n // Unwrap any wrapped objects.\n a = unwrap(a);\n b = unwrap(b);\n // Compare `[[Class]]` names.\n var className = toString.call(a);\n if (className !== toString.call(b))\n return false;\n switch (className) {\n // Strings, numbers, regular expressions, dates, and booleans are compared by value.\n case \"[object RegExp]\":\n // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n case \"[object String]\":\n // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n // equivalent to `new String(\"5\")`.\n return \"\" + a === \"\" + b;\n case \"[object Number]\":\n // `NaN`s are equivalent, but non-reflexive.\n // Object(NaN) is equivalent to NaN.\n if (+a !== +a)\n return +b !== +b;\n // An `egal` comparison is performed for other numeric values.\n return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n case \"[object Date]\":\n case \"[object Boolean]\":\n // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n // millisecond representations. Note that invalid dates with millisecond representations\n // of `NaN` are not equivalent.\n return +a === +b;\n case \"[object Symbol]\":\n return (\n // eslint-disable-next-line\n typeof Symbol !== \"undefined\" && Symbol.valueOf.call(a) === Symbol.valueOf.call(b));\n }\n var areArrays = className === \"[object Array]\";\n if (!areArrays) {\n if (typeof a != \"object\" || typeof b != \"object\")\n return false;\n // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n // from different frames are.\n var aCtor = a.constructor, bCtor = b.constructor;\n if (aCtor !== bCtor &&\n !(typeof aCtor === \"function\" &&\n aCtor instanceof aCtor &&\n typeof bCtor === \"function\" &&\n bCtor instanceof bCtor) &&\n (\"constructor\" in a && \"constructor\" in b)) {\n return false;\n }\n }\n // Assume equality for cyclic structures. The algorithm for detecting cyclic\n // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n // Initializing stack of traversed objects.\n // It's done here since we only need them for objects and arrays comparison.\n aStack = aStack || [];\n bStack = bStack || [];\n var length = aStack.length;\n while (length--) {\n // Linear search. Performance is inversely proportional to the number of\n // unique nested structures.\n if (aStack[length] === a)\n return bStack[length] === b;\n }\n // Add the first object to the stack of traversed objects.\n aStack.push(a);\n bStack.push(b);\n // Recursively compare objects and arrays.\n if (areArrays) {\n // Compare array lengths to determine if a deep comparison is necessary.\n length = a.length;\n if (length !== b.length)\n return false;\n // Deep compare the contents, ignoring non-numeric properties.\n while (length--) {\n if (!eq(a[length], b[length], aStack, bStack))\n return false;\n }\n }\n else {\n // Deep compare objects.\n var keys$$1 = Object.keys(a);\n var key = void 0;\n length = keys$$1.length;\n // Ensure that both objects contain the same number of properties before comparing deep equality.\n if (Object.keys(b).length !== length)\n return false;\n while (length--) {\n // Deep compare each member\n key = keys$$1[length];\n if (!(has$1(b, key) && eq(a[key], b[key], aStack, bStack)))\n return false;\n }\n }\n // Remove the first object from the stack of traversed objects.\n aStack.pop();\n bStack.pop();\n return true;\n}\nfunction unwrap(a) {\n if (isObservableArray$$1(a))\n return a.peek();\n if (isES6Map$$1(a) || isObservableMap$$1(a))\n return iteratorToArray$$1(a.entries());\n if (isES6Set$$1(a) || isObservableSet$$1(a))\n return iteratorToArray$$1(a.entries());\n return a;\n}\nfunction has$1(a, key) {\n return Object.prototype.hasOwnProperty.call(a, key);\n}\n\n/*\nThe only reason for this file to exist is pure horror:\nWithout it rollup can make the bundling fail at any point in time; when it rolls up the files in the wrong order\nit will cause undefined errors (for example because super classes or local variables not being hosted).\nWith this file that will still happen,\nbut at least in this file we can magically reorder the imports with trial and error until the build succeeds again.\n*/\n\n/**\n * (c) Michel Weststrate 2015 - 2019\n * MIT Licensed\n *\n * Welcome to the mobx sources! To get an global overview of how MobX internally works,\n * this is a good place to start:\n * https://medium.com/@mweststrate/becoming-fully-reactive-an-in-depth-explanation-of-mobservable-55995262a254#.xvbh6qd74\n *\n * Source folders:\n * ===============\n *\n * - api/ Most of the public static methods exposed by the module can be found here.\n * - core/ Implementation of the MobX algorithm; atoms, derivations, reactions, dependency trees, optimizations. Cool stuff can be found here.\n * - types/ All the magic that is need to have observable objects, arrays and values is in this folder. Including the modifiers like `asFlat`.\n * - utils/ Utility stuff.\n *\n */\ntry {\n // define process.env if needed\n // if this is not a production build in the first place\n // (in which case the expression below would be substituted with 'production')\n // tslint:disable-next-line\n process.env.NODE_ENV;\n}\ncatch (e) {\n var g = typeof window !== \"undefined\" ? window : global;\n if (typeof process === \"undefined\")\n g.process = {};\n g.process.env = {};\n}\n\n(function () {\n function testCodeMinification() { }\n if (testCodeMinification.name !== \"testCodeMinification\" &&\n process.env.NODE_ENV !== \"production\" &&\n process.env.IGNORE_MOBX_MINIFY_WARNING !== \"true\") {\n console.warn(\n // Template literal(backtick) is used for fix issue with rollup-plugin-commonjs https://github.com/rollup/rollup-plugin-commonjs/issues/344\n \"[mobx] you are running a minified build, but 'process.env.NODE_ENV' was not set to 'production' in your bundler. This results in an unnecessarily large and slow bundle\");\n }\n})();\n// forward compatibility with mobx, so that packages can easily support mobx 4 & 5\nvar $mobx = \"$mobx\";\n// Devtools support\nif (typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ === \"object\") {\n // See: https://github.com/andykog/mobx-devtools/\n __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({\n spy: spy$$1,\n extras: {\n getDebugName: getDebugName$$1\n },\n $mobx: $mobx\n });\n}\n// TODO: remove in some future build\nif (process.env.NODE_ENV !== \"production\" &&\n typeof module !== \"undefined\" &&\n typeof module.exports !== \"undefined\") {\n var warnedAboutDefaultExport_1 = false;\n Object.defineProperty(module.exports, \"default\", {\n enumerable: false,\n get: function () {\n if (!warnedAboutDefaultExport_1) {\n warnedAboutDefaultExport_1 = true;\n console.warn(\"The MobX package does not have a default export. Use 'import { thing } from \\\"mobx\\\"' (recommended) or 'import * as mobx from \\\"mobx\\\"' instead.\\\"\");\n }\n return undefined;\n }\n });\n [\n \"extras\",\n \"Atom\",\n \"BaseAtom\",\n \"asFlat\",\n \"asMap\",\n \"asReference\",\n \"asStructure\",\n \"autorunAsync\",\n \"createTranformer\",\n \"expr\",\n \"isModifierDescriptor\",\n \"isStrictModeEnabled\",\n \"map\",\n \"useStrict\",\n \"whyRun\"\n ].forEach(function (prop) {\n Object.defineProperty(module.exports, prop, {\n enumerable: false,\n get: function () {\n fail$$1(\"'\" + prop + \"' is no longer part of the public MobX api. Please consult the changelog to find out where this functionality went\");\n },\n set: function () { }\n });\n });\n}\n\nexport { $mobx, Reaction$$1 as Reaction, untracked$$1 as untracked, IDerivationState, createAtom$$1 as createAtom, spy$$1 as spy, comparer$$1 as comparer, isObservableObject$$1 as isObservableObject, isObservableValue$$1 as isBoxedObservable, isObservableArray$$1 as isObservableArray, ObservableMap$$1 as ObservableMap, isObservableMap$$1 as isObservableMap, ObservableSet$$1 as ObservableSet, isObservableSet$$1 as isObservableSet, transaction$$1 as transaction, observable$$1 as observable, computed$$1 as computed, isObservable$$1 as isObservable, isObservableProp$$1 as isObservableProp, isComputed$$1 as isComputed, isComputedProp$$1 as isComputedProp, extendObservable$$1 as extendObservable, extendShallowObservable$$1 as extendShallowObservable, observe$$1 as observe, intercept$$1 as intercept, autorun$$1 as autorun, reaction$$1 as reaction, when$$1 as when, action$$1 as action, isAction$$1 as isAction, runInAction$$1 as runInAction, keys$$1 as keys, values$$1 as values, entries$$1 as entries, set$$1 as set, remove$$1 as remove, has$$1 as has, get$$1 as get, decorate$$1 as decorate, configure$$1 as configure, onBecomeObserved$$1 as onBecomeObserved, onBecomeUnobserved$$1 as onBecomeUnobserved, flow$$1 as flow, toJS$$1 as toJS, trace$$1 as trace, getDependencyTree$$1 as getDependencyTree, getObserverTree$$1 as getObserverTree, resetGlobalState$$1 as _resetGlobalState, getGlobalState$$1 as _getGlobalState, getDebugName$$1 as getDebugName, getAtom$$1 as getAtom, getAdministration$$1 as _getAdministration, allowStateChanges$$1 as _allowStateChanges, allowStateChangesInsideComputed$$1 as _allowStateChangesInsideComputed, isArrayLike$$1 as isArrayLike, isComputingDerivation$$1 as _isComputingDerivation, onReactionError$$1 as onReactionError, interceptReads$$1 as _interceptReads };\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst Element_scroll_js_1 = require(\"./Element.scroll.js\");\n// tslint:disable-next-line: max-line-length\n// https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/dom/element.cc?l=647-681&rcl=02a6466f4efa021e4e198f373eccda3cfc56142b\nconst toPhysicalAlignment = (options, axis, isHorizontalWritingMode, isFlippedBlocksMode) => {\n const alignment = (axis === 0 /* HorizontalScroll */ && isHorizontalWritingMode) ||\n (axis === 1 /* VerticalScroll */ && !isHorizontalWritingMode)\n ? options.inline\n : options.block;\n if (alignment === \"center\") {\n return 1 /* AlignCenterAlways */;\n }\n if (alignment === \"nearest\") {\n return 0 /* AlignToEdgeIfNeeded */;\n }\n if (alignment === \"start\") {\n return axis === 0 /* HorizontalScroll */\n ? isFlippedBlocksMode\n ? 5 /* AlignRightAlways */\n : 4 /* AlignLeftAlways */\n : 2 /* AlignTopAlways */;\n }\n if (alignment === \"end\") {\n return axis === 0 /* HorizontalScroll */\n ? isFlippedBlocksMode\n ? 4 /* AlignLeftAlways */\n : 5 /* AlignRightAlways */\n : 3 /* AlignBottomAlways */;\n }\n // Default values\n if (isHorizontalWritingMode) {\n return axis === 0 /* HorizontalScroll */\n ? 0 /* AlignToEdgeIfNeeded */\n : 2 /* AlignTopAlways */;\n }\n return axis === 0 /* HorizontalScroll */\n ? 4 /* AlignLeftAlways */\n : 0 /* AlignToEdgeIfNeeded */;\n};\n// code from stipsan/compute-scroll-into-view\n// https://github.com/stipsan/compute-scroll-into-view/blob/5396c6b78af5d0bbce11a7c4e93cc3146546fcd3/src/index.ts\n/**\n * Find out which edge to align against when logical scroll position is \"nearest\"\n * Interesting fact: \"nearest\" works similarily to \"if-needed\", if the element is fully visible it will not scroll it\n *\n * Legends:\n * ┌────────┐ ┏ ━ ━ ━ ┓\n * │ target │ frame\n * └────────┘ ┗ ━ ━ ━ ┛\n */\nfunction alignNearest(scrollingEdgeStart, scrollingEdgeEnd, scrollingSize, scrollingBorderStart, scrollingBorderEnd, elementEdgeStart, elementEdgeEnd, elementSize) {\n /**\n * If element edge A and element edge B are both outside scrolling box edge A and scrolling box edge B\n *\n * ┌──┐\n * ┏━│━━│━┓\n * │ │\n * ┃ │ │ ┃ do nothing\n * │ │\n * ┗━│━━│━┛\n * └──┘\n *\n * If element edge C and element edge D are both outside scrolling box edge C and scrolling box edge D\n *\n * ┏ ━ ━ ━ ━ ┓\n * ┌───────────┐\n * │┃ ┃│ do nothing\n * └───────────┘\n * ┗ ━ ━ ━ ━ ┛\n */\n if ((elementEdgeStart < scrollingEdgeStart && elementEdgeEnd > scrollingEdgeEnd) ||\n (elementEdgeStart > scrollingEdgeStart && elementEdgeEnd < scrollingEdgeEnd)) {\n return 0;\n }\n /**\n * If element edge A is outside scrolling box edge A and element height is less than scrolling box height\n *\n * ┌──┐\n * ┏━│━━│━┓ ┏━┌━━┐━┓\n * └──┘ │ │\n * from ┃ ┃ to ┃ └──┘ ┃\n *\n * ┗━ ━━ ━┛ ┗━ ━━ ━┛\n *\n * If element edge B is outside scrolling box edge B and element height is greater than scrolling box height\n *\n * ┏━ ━━ ━┓ ┏━┌━━┐━┓\n * │ │\n * from ┃ ┌──┐ ┃ to ┃ │ │ ┃\n * │ │ │ │\n * ┗━│━━│━┛ ┗━│━━│━┛\n * │ │ └──┘\n * │ │\n * └──┘\n *\n * If element edge C is outside scrolling box edge C and element width is less than scrolling box width\n *\n * from to\n * ┏ ━ ━ ━ ━ ┓ ┏ ━ ━ ━ ━ ┓\n * ┌───┐ ┌───┐\n * │ ┃ │ ┃ ┃ │ ┃\n * └───┘ └───┘\n * ┗ ━ ━ ━ ━ ┛ ┗ ━ ━ ━ ━ ┛\n *\n * If element edge D is outside scrolling box edge D and element width is greater than scrolling box width\n *\n * from to\n * ┏ ━ ━ ━ ━ ┓ ┏ ━ ━ ━ ━ ┓\n * ┌───────────┐ ┌───────────┐\n * ┃ │ ┃ │ ┃ ┃ │\n * └───────────┘ └───────────┘\n * ┗ ━ ━ ━ ━ ┛ ┗ ━ ━ ━ ━ ┛\n */\n if ((elementEdgeStart <= scrollingEdgeStart && elementSize <= scrollingSize) ||\n (elementEdgeEnd >= scrollingEdgeEnd && elementSize >= scrollingSize)) {\n return elementEdgeStart - scrollingEdgeStart - scrollingBorderStart;\n }\n /**\n * If element edge B is outside scrolling box edge B and element height is less than scrolling box height\n *\n * ┏━ ━━ ━┓ ┏━ ━━ ━┓\n *\n * from ┃ ┃ to ┃ ┌──┐ ┃\n * ┌──┐ │ │\n * ┗━│━━│━┛ ┗━└━━┘━┛\n * └──┘\n *\n * If element edge A is outside scrolling box edge A and element height is greater than scrolling box height\n *\n * ┌──┐\n * │ │\n * │ │ ┌──┐\n * ┏━│━━│━┓ ┏━│━━│━┓\n * │ │ │ │\n * from ┃ └──┘ ┃ to ┃ │ │ ┃\n * │ │\n * ┗━ ━━ ━┛ ┗━└━━┘━┛\n *\n * If element edge C is outside scrolling box edge C and element width is greater than scrolling box width\n *\n * from to\n * ┏ ━ ━ ━ ━ ┓ ┏ ━ ━ ━ ━ ┓\n * ┌───────────┐ ┌───────────┐\n * │ ┃ │ ┃ │ ┃ ┃\n * └───────────┘ └───────────┘\n * ┗ ━ ━ ━ ━ ┛ ┗ ━ ━ ━ ━ ┛\n *\n * If element edge D is outside scrolling box edge D and element width is less than scrolling box width\n *\n * from to\n * ┏ ━ ━ ━ ━ ┓ ┏ ━ ━ ━ ━ ┓\n * ┌───┐ ┌───┐\n * ┃ │ ┃ │ ┃ │ ┃\n * └───┘ └───┘\n * ┗ ━ ━ ━ ━ ┛ ┗ ━ ━ ━ ━ ┛\n *\n */\n if ((elementEdgeEnd > scrollingEdgeEnd && elementSize < scrollingSize) ||\n (elementEdgeStart < scrollingEdgeStart && elementSize > scrollingSize)) {\n return elementEdgeEnd - scrollingEdgeEnd + scrollingBorderEnd;\n }\n return 0;\n}\nconst canOverflow = (overflow) => {\n return overflow !== \"visible\" && overflow !== \"clip\";\n};\nconst isScrollable = (element) => {\n if (element.clientHeight < element.scrollHeight || element.clientWidth < element.scrollWidth) {\n const style = getComputedStyle(element);\n return canOverflow(style.overflowY) || canOverflow(style.overflowX);\n }\n return false;\n};\nconst parentElement = (element) => {\n const parentNode = element.parentNode;\n return (parentNode &&\n (parentNode.nodeType === Node.DOCUMENT_FRAGMENT_NODE\n ? parentNode.host\n : parentNode));\n};\nexports.elementScrollIntoView = (element, options) => {\n if (!element.ownerDocument.documentElement.contains(element)) {\n return;\n }\n // On Chrome and Firefox, document.scrollingElement will return the <html> element.\n // Safari, document.scrollingElement will return the <body> element.\n // On Edge, document.scrollingElement will return the <body> element.\n // IE11 does not support document.scrollingElement, but you can assume its <html>.\n // Used to handle the top most element that can be scrolled\n const scrollingElement = document.scrollingElement || document.documentElement;\n // Collect all the scrolling boxes, as defined in the spec: https://drafts.csswg.org/cssom-view/#scrolling-box\n const frames = [];\n for (let cursor = parentElement(element); cursor !== null; cursor = parentElement(cursor)) {\n // Stop when we reach the viewport\n if (cursor === scrollingElement) {\n frames.push(cursor);\n break;\n }\n // Skip document.body if it's not the scrollingElement and documentElement isn't independently scrollable\n if (cursor === document.body && isScrollable(cursor) && !isScrollable(document.documentElement)) {\n continue;\n }\n // Now we check if the element is scrollable,\n // this code only runs if the loop haven't already hit the viewport or a custom boundary\n if (isScrollable(cursor)) {\n frames.push(cursor);\n }\n }\n // Support pinch-zooming properly, making sure elements scroll into the visual viewport\n // Browsers that don't support visualViewport\n // will report the layout viewport dimensions on document.documentElement.clientWidth/Height\n // and viewport dimensions on window.innerWidth/Height\n // https://www.quirksmode.org/mobile/viewports2.html\n // https://bokand.github.io/viewport/index.html\n const viewportWidth = window.visualViewport ? window.visualViewport.width : innerWidth;\n const viewportHeight = window.visualViewport ? window.visualViewport.height : innerHeight;\n // Newer browsers supports scroll[X|Y], page[X|Y]Offset is\n const viewportX = window.scrollX || window.pageXOffset;\n const viewportY = window.scrollY || window.pageYOffset;\n const { height: targetHeight, width: targetWidth, top: targetTop, right: targetRight, bottom: targetBottom, left: targetLeft, } = element.getBoundingClientRect();\n const computedStyle = getComputedStyle(element);\n const writingMode = computedStyle.writingMode ||\n computedStyle.webkitWritingMode ||\n computedStyle.getPropertyValue(\"-ms-writing-mode\") ||\n \"horizontal-tb\";\n const isHorizontalWritingMode = [\"horizontal-tb\", \"lr\", \"lr-tb\", \"rl\"].some((mode) => mode === writingMode);\n const isFlippedBlocksWritingMode = [\"vertical-rl\", \"tb-rl\"].some((mode) => mode === writingMode);\n const alignX = toPhysicalAlignment(options, 0 /* HorizontalScroll */, isHorizontalWritingMode, isFlippedBlocksWritingMode);\n const alignY = toPhysicalAlignment(options, 1 /* VerticalScroll */, isHorizontalWritingMode, isFlippedBlocksWritingMode);\n let targetBlock = (() => {\n switch (alignY) {\n case 2 /* AlignTopAlways */:\n case 0 /* AlignToEdgeIfNeeded */:\n return targetTop;\n case 3 /* AlignBottomAlways */:\n return targetBottom;\n // case ScrollAlignment.AlignCenterAlways:\n default:\n return targetTop + targetHeight / 2;\n }\n })();\n let targetInline = (() => {\n switch (alignX) {\n case 1 /* AlignCenterAlways */:\n return targetLeft + targetWidth / 2;\n case 5 /* AlignRightAlways */:\n return targetRight;\n // case ScrollAlignment.AlignLeftAlways:\n // case ScrollAlignment.AlignToEdgeIfNeeded:\n default:\n return targetLeft;\n }\n })();\n const actions = [];\n for (const frame of frames) {\n const { height, width, top, right, bottom, left } = frame.getBoundingClientRect();\n const frameStyle = getComputedStyle(frame);\n const borderLeft = parseInt(frameStyle.borderLeftWidth, 10);\n const borderTop = parseInt(frameStyle.borderTopWidth, 10);\n const borderRight = parseInt(frameStyle.borderRightWidth, 10);\n const borderBottom = parseInt(frameStyle.borderBottomWidth, 10);\n let blockScroll = 0;\n let inlineScroll = 0;\n // The property existance checks for offfset[Width|Height] is because only HTMLElement objects have them,\n // but any Element might pass by here\n // @TODO find out if the \"as HTMLElement\" overrides can be dropped\n const scrollbarWidth = \"offsetWidth\" in frame\n ? frame.offsetWidth - frame.clientWidth - borderLeft - borderRight\n : 0;\n const scrollbarHeight = \"offsetHeight\" in frame\n ? frame.offsetHeight - frame.clientHeight - borderTop - borderBottom\n : 0;\n if (scrollingElement === frame) {\n // Handle viewport logic (document.documentElement or document.body)\n switch (alignY) {\n case 2 /* AlignTopAlways */: {\n blockScroll = targetBlock;\n break;\n }\n case 3 /* AlignBottomAlways */: {\n blockScroll = targetBlock - viewportHeight;\n break;\n }\n case 1 /* AlignCenterAlways */: {\n blockScroll = targetBlock - viewportHeight / 2;\n break;\n }\n case 0 /* AlignToEdgeIfNeeded */: {\n blockScroll = alignNearest(viewportY, viewportY + viewportHeight, viewportHeight, borderTop, borderBottom, viewportY + targetBlock, viewportY + targetBlock + targetHeight, targetHeight);\n break;\n }\n }\n switch (alignX) {\n case 4 /* AlignLeftAlways */: {\n inlineScroll = targetInline;\n break;\n }\n case 5 /* AlignRightAlways */: {\n inlineScroll = targetInline - viewportWidth;\n break;\n }\n case 1 /* AlignCenterAlways */: {\n inlineScroll = targetInline - viewportWidth / 2;\n break;\n }\n case 0 /* AlignToEdgeIfNeeded */: {\n inlineScroll = alignNearest(viewportX, viewportX + viewportWidth, viewportWidth, borderLeft, borderRight, viewportX + targetInline, viewportX + targetInline + targetWidth, targetWidth);\n break;\n }\n }\n // Apply scroll position offsets and ensure they are within bounds\n blockScroll = Math.max(0, blockScroll + viewportY);\n inlineScroll = Math.max(0, inlineScroll + viewportX);\n }\n else {\n // Handle each scrolling frame that might exist between the target and the viewport\n switch (alignY) {\n case 2 /* AlignTopAlways */: {\n blockScroll = targetBlock - top - borderTop;\n break;\n }\n case 3 /* AlignBottomAlways */: {\n blockScroll = targetBlock - bottom + borderBottom + scrollbarHeight;\n break;\n }\n case 1 /* AlignCenterAlways */: {\n blockScroll = targetBlock - (top + height / 2) + scrollbarHeight / 2;\n break;\n }\n case 0 /* AlignToEdgeIfNeeded */: {\n blockScroll = alignNearest(top, bottom, height, borderTop, borderBottom + scrollbarHeight, targetBlock, targetBlock + targetHeight, targetHeight);\n break;\n }\n }\n switch (alignX) {\n case 4 /* AlignLeftAlways */: {\n inlineScroll = targetInline - left - borderLeft;\n break;\n }\n case 5 /* AlignRightAlways */: {\n inlineScroll = targetInline - right + borderRight + scrollbarWidth;\n break;\n }\n case 1 /* AlignCenterAlways */: {\n inlineScroll = targetInline - (left + width / 2) + scrollbarWidth / 2;\n break;\n }\n case 0 /* AlignToEdgeIfNeeded */: {\n inlineScroll = alignNearest(left, right, width, borderLeft, borderRight + scrollbarWidth, targetInline, targetInline + targetWidth, targetWidth);\n break;\n }\n }\n const { scrollLeft, scrollTop } = frame;\n // Ensure scroll coordinates are not out of bounds while applying scroll offsets\n blockScroll = Math.max(0, Math.min(scrollTop + blockScroll, frame.scrollHeight - height + scrollbarHeight));\n inlineScroll = Math.max(0, Math.min(scrollLeft + inlineScroll, frame.scrollWidth - width + scrollbarWidth));\n // Cache the offset so that parent frames can scroll this into view correctly\n targetBlock += scrollTop - blockScroll;\n targetInline += scrollLeft - inlineScroll;\n }\n actions.push(() => Element_scroll_js_1.elementScroll(frame, Object.assign({}, options, { top: blockScroll, left: inlineScroll })));\n }\n actions.forEach((run) => run());\n};\nlet $original;\nconst getOriginalFunc = () => {\n if ($original === undefined) {\n $original = document.documentElement.scrollIntoView;\n }\n return $original;\n};\nexports.polyfill = (options) => {\n const originalFunc = getOriginalFunc();\n Element.prototype.scrollIntoView = function scrollIntoView(arg) {\n if (typeof arg === \"boolean\") {\n return originalFunc.call(this, arg);\n }\n if (Object(arg) !== arg) {\n throw new TypeError(\"Failed to execute 'scrollIntoView' on 'Element': parameter 1 ('options') is not an object.\");\n }\n return exports.elementScrollIntoView(this, Object.assign({}, arg, options));\n };\n};\n//# sourceMappingURL=Element.scrollIntoView.js.map","var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\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\nmodule.exports = g;\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\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 try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\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\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\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\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","var map = {\n\t\"./en-US.json\": 6,\n\t\"./zh-CN.json\": 7\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 5;","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst common_js_1 = require(\"./common.js\");\nlet $original;\nexports.getOriginalFunc = () => {\n if ($original === undefined) {\n $original =\n Element.prototype.scroll ||\n Element.prototype.scrollTo ||\n function (x, y) {\n this.scrollLeft = x;\n this.scrollTop = y;\n };\n }\n return $original;\n};\nexports.elementScroll = (element, options) => {\n const originalBoundFunc = exports.getOriginalFunc().bind(element);\n if (options.left === undefined && options.top === undefined) {\n return;\n }\n const startX = element.scrollLeft;\n const startY = element.scrollTop;\n const { left: targetX = startX, top: targetY = startY } = options;\n if (options.behavior !== \"smooth\") {\n return originalBoundFunc(targetX, targetY);\n }\n const removeEventListener = () => {\n window.removeEventListener(\"wheel\", cancelScroll);\n window.removeEventListener(\"touchmove\", cancelScroll);\n };\n const context = {\n timeStamp: common_js_1.now(),\n duration: options.duration,\n startX,\n startY,\n targetX,\n targetY,\n rafId: 0,\n method: originalBoundFunc,\n timingFunc: options.timingFunc,\n callback: removeEventListener,\n };\n const cancelScroll = () => {\n cancelAnimationFrame(context.rafId);\n removeEventListener();\n };\n window.addEventListener(\"wheel\", cancelScroll, {\n passive: true,\n once: true,\n });\n window.addEventListener(\"touchmove\", cancelScroll, {\n passive: true,\n once: true,\n });\n common_js_1.step(context);\n};\nexports.polyfill = (options) => {\n const originalFunc = exports.getOriginalFunc();\n Element.prototype.scroll = function scroll() {\n const [arg0 = 0, arg1 = 0] = arguments;\n if (typeof arg0 === \"number\" && typeof arg1 === \"number\") {\n return originalFunc.call(this, arg0, arg1);\n }\n if (Object(arg0) !== arg0) {\n throw new TypeError(\"Failed to execute 'scroll' on 'Element': parameter 1 ('options') is not an object.\");\n }\n return exports.elementScroll(this, Object.assign({}, arg0, options));\n };\n};\n//# sourceMappingURL=Element.scroll.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst ease = (k) => {\n return 0.5 * (1 - Math.cos(Math.PI * k));\n};\nconst DURATION = 500;\nexports.now = () => (performance || Date).now();\nexports.step = (context) => {\n const currentTime = exports.now();\n const elapsed = (currentTime - context.timeStamp) / (context.duration || DURATION);\n if (elapsed > 1) {\n context.method(context.targetX, context.targetY);\n context.callback();\n return;\n }\n const value = (context.timingFunc || ease)(elapsed);\n const currentX = context.startX + (context.targetX - context.startX) * value;\n const currentY = context.startY + (context.targetY - context.startY) * value;\n context.method(currentX, currentY);\n context.rafId = requestAnimationFrame(() => {\n exports.step(context);\n });\n};\n//# sourceMappingURL=common.js.map","var VNode = function VNode() {};\n\nvar options = {};\n\nvar stack = [];\n\nvar EMPTY_CHILDREN = [];\n\nfunction h(nodeName, attributes) {\n\tvar children = EMPTY_CHILDREN,\n\t lastSimple,\n\t child,\n\t simple,\n\t i;\n\tfor (i = arguments.length; i-- > 2;) {\n\t\tstack.push(arguments[i]);\n\t}\n\tif (attributes && attributes.children != null) {\n\t\tif (!stack.length) stack.push(attributes.children);\n\t\tdelete attributes.children;\n\t}\n\twhile (stack.length) {\n\t\tif ((child = stack.pop()) && child.pop !== undefined) {\n\t\t\tfor (i = child.length; i--;) {\n\t\t\t\tstack.push(child[i]);\n\t\t\t}\n\t\t} else {\n\t\t\tif (typeof child === 'boolean') child = null;\n\n\t\t\tif (simple = typeof nodeName !== 'function') {\n\t\t\t\tif (child == null) child = '';else if (typeof child === 'number') child = String(child);else if (typeof child !== 'string') simple = false;\n\t\t\t}\n\n\t\t\tif (simple && lastSimple) {\n\t\t\t\tchildren[children.length - 1] += child;\n\t\t\t} else if (children === EMPTY_CHILDREN) {\n\t\t\t\tchildren = [child];\n\t\t\t} else {\n\t\t\t\tchildren.push(child);\n\t\t\t}\n\n\t\t\tlastSimple = simple;\n\t\t}\n\t}\n\n\tvar p = new VNode();\n\tp.nodeName = nodeName;\n\tp.children = children;\n\tp.attributes = attributes == null ? undefined : attributes;\n\tp.key = attributes == null ? undefined : attributes.key;\n\n\tif (options.vnode !== undefined) options.vnode(p);\n\n\treturn p;\n}\n\nfunction extend(obj, props) {\n for (var i in props) {\n obj[i] = props[i];\n }return obj;\n}\n\nfunction applyRef(ref, value) {\n if (ref != null) {\n if (typeof ref == 'function') ref(value);else ref.current = value;\n }\n}\n\nvar defer = typeof Promise == 'function' ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;\n\nfunction cloneElement(vnode, props) {\n return h(vnode.nodeName, extend(extend({}, vnode.attributes), props), arguments.length > 2 ? [].slice.call(arguments, 2) : vnode.children);\n}\n\nvar IS_NON_DIMENSIONAL = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i;\n\nvar items = [];\n\nfunction enqueueRender(component) {\n\tif (!component._dirty && (component._dirty = true) && items.push(component) == 1) {\n\t\t(options.debounceRendering || defer)(rerender);\n\t}\n}\n\nfunction rerender() {\n\tvar p;\n\twhile (p = items.pop()) {\n\t\tif (p._dirty) renderComponent(p);\n\t}\n}\n\nfunction isSameNodeType(node, vnode, hydrating) {\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\treturn node.splitText !== undefined;\n\t}\n\tif (typeof vnode.nodeName === 'string') {\n\t\treturn !node._componentConstructor && isNamedNode(node, vnode.nodeName);\n\t}\n\treturn hydrating || node._componentConstructor === vnode.nodeName;\n}\n\nfunction isNamedNode(node, nodeName) {\n\treturn node.normalizedNodeName === nodeName || node.nodeName.toLowerCase() === nodeName.toLowerCase();\n}\n\nfunction getNodeProps(vnode) {\n\tvar props = extend({}, vnode.attributes);\n\tprops.children = vnode.children;\n\n\tvar defaultProps = vnode.nodeName.defaultProps;\n\tif (defaultProps !== undefined) {\n\t\tfor (var i in defaultProps) {\n\t\t\tif (props[i] === undefined) {\n\t\t\t\tprops[i] = defaultProps[i];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn props;\n}\n\nfunction createNode(nodeName, isSvg) {\n\tvar node = isSvg ? document.createElementNS('http://www.w3.org/2000/svg', nodeName) : document.createElement(nodeName);\n\tnode.normalizedNodeName = nodeName;\n\treturn node;\n}\n\nfunction removeNode(node) {\n\tvar parentNode = node.parentNode;\n\tif (parentNode) parentNode.removeChild(node);\n}\n\nfunction setAccessor(node, name, old, value, isSvg) {\n\tif (name === 'className') name = 'class';\n\n\tif (name === 'key') {} else if (name === 'ref') {\n\t\tapplyRef(old, null);\n\t\tapplyRef(value, node);\n\t} else if (name === 'class' && !isSvg) {\n\t\tnode.className = value || '';\n\t} else if (name === 'style') {\n\t\tif (!value || typeof value === 'string' || typeof old === 'string') {\n\t\t\tnode.style.cssText = value || '';\n\t\t}\n\t\tif (value && typeof value === 'object') {\n\t\t\tif (typeof old !== 'string') {\n\t\t\t\tfor (var i in old) {\n\t\t\t\t\tif (!(i in value)) node.style[i] = '';\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor (var i in value) {\n\t\t\t\tnode.style[i] = typeof value[i] === 'number' && IS_NON_DIMENSIONAL.test(i) === false ? value[i] + 'px' : value[i];\n\t\t\t}\n\t\t}\n\t} else if (name === 'dangerouslySetInnerHTML') {\n\t\tif (value) node.innerHTML = value.__html || '';\n\t} else if (name[0] == 'o' && name[1] == 'n') {\n\t\tvar useCapture = name !== (name = name.replace(/Capture$/, ''));\n\t\tname = name.toLowerCase().substring(2);\n\t\tif (value) {\n\t\t\tif (!old) node.addEventListener(name, eventProxy, useCapture);\n\t\t} else {\n\t\t\tnode.removeEventListener(name, eventProxy, useCapture);\n\t\t}\n\t\t(node._listeners || (node._listeners = {}))[name] = value;\n\t} else if (name !== 'list' && name !== 'type' && !isSvg && name in node) {\n\t\ttry {\n\t\t\tnode[name] = value == null ? '' : value;\n\t\t} catch (e) {}\n\t\tif ((value == null || value === false) && name != 'spellcheck') node.removeAttribute(name);\n\t} else {\n\t\tvar ns = isSvg && name !== (name = name.replace(/^xlink:?/, ''));\n\n\t\tif (value == null || value === false) {\n\t\t\tif (ns) node.removeAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase());else node.removeAttribute(name);\n\t\t} else if (typeof value !== 'function') {\n\t\t\tif (ns) node.setAttributeNS('http://www.w3.org/1999/xlink', name.toLowerCase(), value);else node.setAttribute(name, value);\n\t\t}\n\t}\n}\n\nfunction eventProxy(e) {\n\treturn this._listeners[e.type](options.event && options.event(e) || e);\n}\n\nvar mounts = [];\n\nvar diffLevel = 0;\n\nvar isSvgMode = false;\n\nvar hydrating = false;\n\nfunction flushMounts() {\n\tvar c;\n\twhile (c = mounts.shift()) {\n\t\tif (options.afterMount) options.afterMount(c);\n\t\tif (c.componentDidMount) c.componentDidMount();\n\t}\n}\n\nfunction diff(dom, vnode, context, mountAll, parent, componentRoot) {\n\tif (!diffLevel++) {\n\t\tisSvgMode = parent != null && parent.ownerSVGElement !== undefined;\n\n\t\thydrating = dom != null && !('__preactattr_' in dom);\n\t}\n\n\tvar ret = idiff(dom, vnode, context, mountAll, componentRoot);\n\n\tif (parent && ret.parentNode !== parent) parent.appendChild(ret);\n\n\tif (! --diffLevel) {\n\t\thydrating = false;\n\n\t\tif (!componentRoot) flushMounts();\n\t}\n\n\treturn ret;\n}\n\nfunction idiff(dom, vnode, context, mountAll, componentRoot) {\n\tvar out = dom,\n\t prevSvgMode = isSvgMode;\n\n\tif (vnode == null || typeof vnode === 'boolean') vnode = '';\n\n\tif (typeof vnode === 'string' || typeof vnode === 'number') {\n\t\tif (dom && dom.splitText !== undefined && dom.parentNode && (!dom._component || componentRoot)) {\n\t\t\tif (dom.nodeValue != vnode) {\n\t\t\t\tdom.nodeValue = vnode;\n\t\t\t}\n\t\t} else {\n\t\t\tout = document.createTextNode(vnode);\n\t\t\tif (dom) {\n\t\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\t\t\t\trecollectNodeTree(dom, true);\n\t\t\t}\n\t\t}\n\n\t\tout['__preactattr_'] = true;\n\n\t\treturn out;\n\t}\n\n\tvar vnodeName = vnode.nodeName;\n\tif (typeof vnodeName === 'function') {\n\t\treturn buildComponentFromVNode(dom, vnode, context, mountAll);\n\t}\n\n\tisSvgMode = vnodeName === 'svg' ? true : vnodeName === 'foreignObject' ? false : isSvgMode;\n\n\tvnodeName = String(vnodeName);\n\tif (!dom || !isNamedNode(dom, vnodeName)) {\n\t\tout = createNode(vnodeName, isSvgMode);\n\n\t\tif (dom) {\n\t\t\twhile (dom.firstChild) {\n\t\t\t\tout.appendChild(dom.firstChild);\n\t\t\t}\n\t\t\tif (dom.parentNode) dom.parentNode.replaceChild(out, dom);\n\n\t\t\trecollectNodeTree(dom, true);\n\t\t}\n\t}\n\n\tvar fc = out.firstChild,\n\t props = out['__preactattr_'],\n\t vchildren = vnode.children;\n\n\tif (props == null) {\n\t\tprops = out['__preactattr_'] = {};\n\t\tfor (var a = out.attributes, i = a.length; i--;) {\n\t\t\tprops[a[i].name] = a[i].value;\n\t\t}\n\t}\n\n\tif (!hydrating && vchildren && vchildren.length === 1 && typeof vchildren[0] === 'string' && fc != null && fc.splitText !== undefined && fc.nextSibling == null) {\n\t\tif (fc.nodeValue != vchildren[0]) {\n\t\t\tfc.nodeValue = vchildren[0];\n\t\t}\n\t} else if (vchildren && vchildren.length || fc != null) {\n\t\t\tinnerDiffNode(out, vchildren, context, mountAll, hydrating || props.dangerouslySetInnerHTML != null);\n\t\t}\n\n\tdiffAttributes(out, vnode.attributes, props);\n\n\tisSvgMode = prevSvgMode;\n\n\treturn out;\n}\n\nfunction innerDiffNode(dom, vchildren, context, mountAll, isHydrating) {\n\tvar originalChildren = dom.childNodes,\n\t children = [],\n\t keyed = {},\n\t keyedLen = 0,\n\t min = 0,\n\t len = originalChildren.length,\n\t childrenLen = 0,\n\t vlen = vchildren ? vchildren.length : 0,\n\t j,\n\t c,\n\t f,\n\t vchild,\n\t child;\n\n\tif (len !== 0) {\n\t\tfor (var i = 0; i < len; i++) {\n\t\t\tvar _child = originalChildren[i],\n\t\t\t props = _child['__preactattr_'],\n\t\t\t key = vlen && props ? _child._component ? _child._component.__key : props.key : null;\n\t\t\tif (key != null) {\n\t\t\t\tkeyedLen++;\n\t\t\t\tkeyed[key] = _child;\n\t\t\t} else if (props || (_child.splitText !== undefined ? isHydrating ? _child.nodeValue.trim() : true : isHydrating)) {\n\t\t\t\tchildren[childrenLen++] = _child;\n\t\t\t}\n\t\t}\n\t}\n\n\tif (vlen !== 0) {\n\t\tfor (var i = 0; i < vlen; i++) {\n\t\t\tvchild = vchildren[i];\n\t\t\tchild = null;\n\n\t\t\tvar key = vchild.key;\n\t\t\tif (key != null) {\n\t\t\t\tif (keyedLen && keyed[key] !== undefined) {\n\t\t\t\t\tchild = keyed[key];\n\t\t\t\t\tkeyed[key] = undefined;\n\t\t\t\t\tkeyedLen--;\n\t\t\t\t}\n\t\t\t} else if (min < childrenLen) {\n\t\t\t\t\tfor (j = min; j < childrenLen; j++) {\n\t\t\t\t\t\tif (children[j] !== undefined && isSameNodeType(c = children[j], vchild, isHydrating)) {\n\t\t\t\t\t\t\tchild = c;\n\t\t\t\t\t\t\tchildren[j] = undefined;\n\t\t\t\t\t\t\tif (j === childrenLen - 1) childrenLen--;\n\t\t\t\t\t\t\tif (j === min) min++;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\tchild = idiff(child, vchild, context, mountAll);\n\n\t\t\tf = originalChildren[i];\n\t\t\tif (child && child !== dom && child !== f) {\n\t\t\t\tif (f == null) {\n\t\t\t\t\tdom.appendChild(child);\n\t\t\t\t} else if (child === f.nextSibling) {\n\t\t\t\t\tremoveNode(f);\n\t\t\t\t} else {\n\t\t\t\t\tdom.insertBefore(child, f);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tif (keyedLen) {\n\t\tfor (var i in keyed) {\n\t\t\tif (keyed[i] !== undefined) recollectNodeTree(keyed[i], false);\n\t\t}\n\t}\n\n\twhile (min <= childrenLen) {\n\t\tif ((child = children[childrenLen--]) !== undefined) recollectNodeTree(child, false);\n\t}\n}\n\nfunction recollectNodeTree(node, unmountOnly) {\n\tvar component = node._component;\n\tif (component) {\n\t\tunmountComponent(component);\n\t} else {\n\t\tif (node['__preactattr_'] != null) applyRef(node['__preactattr_'].ref, null);\n\n\t\tif (unmountOnly === false || node['__preactattr_'] == null) {\n\t\t\tremoveNode(node);\n\t\t}\n\n\t\tremoveChildren(node);\n\t}\n}\n\nfunction removeChildren(node) {\n\tnode = node.lastChild;\n\twhile (node) {\n\t\tvar next = node.previousSibling;\n\t\trecollectNodeTree(node, true);\n\t\tnode = next;\n\t}\n}\n\nfunction diffAttributes(dom, attrs, old) {\n\tvar name;\n\n\tfor (name in old) {\n\t\tif (!(attrs && attrs[name] != null) && old[name] != null) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = undefined, isSvgMode);\n\t\t}\n\t}\n\n\tfor (name in attrs) {\n\t\tif (name !== 'children' && name !== 'innerHTML' && (!(name in old) || attrs[name] !== (name === 'value' || name === 'checked' ? dom[name] : old[name]))) {\n\t\t\tsetAccessor(dom, name, old[name], old[name] = attrs[name], isSvgMode);\n\t\t}\n\t}\n}\n\nvar recyclerComponents = [];\n\nfunction createComponent(Ctor, props, context) {\n\tvar inst,\n\t i = recyclerComponents.length;\n\n\tif (Ctor.prototype && Ctor.prototype.render) {\n\t\tinst = new Ctor(props, context);\n\t\tComponent.call(inst, props, context);\n\t} else {\n\t\tinst = new Component(props, context);\n\t\tinst.constructor = Ctor;\n\t\tinst.render = doRender;\n\t}\n\n\twhile (i--) {\n\t\tif (recyclerComponents[i].constructor === Ctor) {\n\t\t\tinst.nextBase = recyclerComponents[i].nextBase;\n\t\t\trecyclerComponents.splice(i, 1);\n\t\t\treturn inst;\n\t\t}\n\t}\n\n\treturn inst;\n}\n\nfunction doRender(props, state, context) {\n\treturn this.constructor(props, context);\n}\n\nfunction setComponentProps(component, props, renderMode, context, mountAll) {\n\tif (component._disable) return;\n\tcomponent._disable = true;\n\n\tcomponent.__ref = props.ref;\n\tcomponent.__key = props.key;\n\tdelete props.ref;\n\tdelete props.key;\n\n\tif (typeof component.constructor.getDerivedStateFromProps === 'undefined') {\n\t\tif (!component.base || mountAll) {\n\t\t\tif (component.componentWillMount) component.componentWillMount();\n\t\t} else if (component.componentWillReceiveProps) {\n\t\t\tcomponent.componentWillReceiveProps(props, context);\n\t\t}\n\t}\n\n\tif (context && context !== component.context) {\n\t\tif (!component.prevContext) component.prevContext = component.context;\n\t\tcomponent.context = context;\n\t}\n\n\tif (!component.prevProps) component.prevProps = component.props;\n\tcomponent.props = props;\n\n\tcomponent._disable = false;\n\n\tif (renderMode !== 0) {\n\t\tif (renderMode === 1 || options.syncComponentUpdates !== false || !component.base) {\n\t\t\trenderComponent(component, 1, mountAll);\n\t\t} else {\n\t\t\tenqueueRender(component);\n\t\t}\n\t}\n\n\tapplyRef(component.__ref, component);\n}\n\nfunction renderComponent(component, renderMode, mountAll, isChild) {\n\tif (component._disable) return;\n\n\tvar props = component.props,\n\t state = component.state,\n\t context = component.context,\n\t previousProps = component.prevProps || props,\n\t previousState = component.prevState || state,\n\t previousContext = component.prevContext || context,\n\t isUpdate = component.base,\n\t nextBase = component.nextBase,\n\t initialBase = isUpdate || nextBase,\n\t initialChildComponent = component._component,\n\t skip = false,\n\t snapshot = previousContext,\n\t rendered,\n\t inst,\n\t cbase;\n\n\tif (component.constructor.getDerivedStateFromProps) {\n\t\tstate = extend(extend({}, state), component.constructor.getDerivedStateFromProps(props, state));\n\t\tcomponent.state = state;\n\t}\n\n\tif (isUpdate) {\n\t\tcomponent.props = previousProps;\n\t\tcomponent.state = previousState;\n\t\tcomponent.context = previousContext;\n\t\tif (renderMode !== 2 && component.shouldComponentUpdate && component.shouldComponentUpdate(props, state, context) === false) {\n\t\t\tskip = true;\n\t\t} else if (component.componentWillUpdate) {\n\t\t\tcomponent.componentWillUpdate(props, state, context);\n\t\t}\n\t\tcomponent.props = props;\n\t\tcomponent.state = state;\n\t\tcomponent.context = context;\n\t}\n\n\tcomponent.prevProps = component.prevState = component.prevContext = component.nextBase = null;\n\tcomponent._dirty = false;\n\n\tif (!skip) {\n\t\trendered = component.render(props, state, context);\n\n\t\tif (component.getChildContext) {\n\t\t\tcontext = extend(extend({}, context), component.getChildContext());\n\t\t}\n\n\t\tif (isUpdate && component.getSnapshotBeforeUpdate) {\n\t\t\tsnapshot = component.getSnapshotBeforeUpdate(previousProps, previousState);\n\t\t}\n\n\t\tvar childComponent = rendered && rendered.nodeName,\n\t\t toUnmount,\n\t\t base;\n\n\t\tif (typeof childComponent === 'function') {\n\n\t\t\tvar childProps = getNodeProps(rendered);\n\t\t\tinst = initialChildComponent;\n\n\t\t\tif (inst && inst.constructor === childComponent && childProps.key == inst.__key) {\n\t\t\t\tsetComponentProps(inst, childProps, 1, context, false);\n\t\t\t} else {\n\t\t\t\ttoUnmount = inst;\n\n\t\t\t\tcomponent._component = inst = createComponent(childComponent, childProps, context);\n\t\t\t\tinst.nextBase = inst.nextBase || nextBase;\n\t\t\t\tinst._parentComponent = component;\n\t\t\t\tsetComponentProps(inst, childProps, 0, context, false);\n\t\t\t\trenderComponent(inst, 1, mountAll, true);\n\t\t\t}\n\n\t\t\tbase = inst.base;\n\t\t} else {\n\t\t\tcbase = initialBase;\n\n\t\t\ttoUnmount = initialChildComponent;\n\t\t\tif (toUnmount) {\n\t\t\t\tcbase = component._component = null;\n\t\t\t}\n\n\t\t\tif (initialBase || renderMode === 1) {\n\t\t\t\tif (cbase) cbase._component = null;\n\t\t\t\tbase = diff(cbase, rendered, context, mountAll || !isUpdate, initialBase && initialBase.parentNode, true);\n\t\t\t}\n\t\t}\n\n\t\tif (initialBase && base !== initialBase && inst !== initialChildComponent) {\n\t\t\tvar baseParent = initialBase.parentNode;\n\t\t\tif (baseParent && base !== baseParent) {\n\t\t\t\tbaseParent.replaceChild(base, initialBase);\n\n\t\t\t\tif (!toUnmount) {\n\t\t\t\t\tinitialBase._component = null;\n\t\t\t\t\trecollectNodeTree(initialBase, false);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif (toUnmount) {\n\t\t\tunmountComponent(toUnmount);\n\t\t}\n\n\t\tcomponent.base = base;\n\t\tif (base && !isChild) {\n\t\t\tvar componentRef = component,\n\t\t\t t = component;\n\t\t\twhile (t = t._parentComponent) {\n\t\t\t\t(componentRef = t).base = base;\n\t\t\t}\n\t\t\tbase._component = componentRef;\n\t\t\tbase._componentConstructor = componentRef.constructor;\n\t\t}\n\t}\n\n\tif (!isUpdate || mountAll) {\n\t\tmounts.push(component);\n\t} else if (!skip) {\n\n\t\tif (component.componentDidUpdate) {\n\t\t\tcomponent.componentDidUpdate(previousProps, previousState, snapshot);\n\t\t}\n\t\tif (options.afterUpdate) options.afterUpdate(component);\n\t}\n\n\twhile (component._renderCallbacks.length) {\n\t\tcomponent._renderCallbacks.pop().call(component);\n\t}if (!diffLevel && !isChild) flushMounts();\n}\n\nfunction buildComponentFromVNode(dom, vnode, context, mountAll) {\n\tvar c = dom && dom._component,\n\t originalComponent = c,\n\t oldDom = dom,\n\t isDirectOwner = c && dom._componentConstructor === vnode.nodeName,\n\t isOwner = isDirectOwner,\n\t props = getNodeProps(vnode);\n\twhile (c && !isOwner && (c = c._parentComponent)) {\n\t\tisOwner = c.constructor === vnode.nodeName;\n\t}\n\n\tif (c && isOwner && (!mountAll || c._component)) {\n\t\tsetComponentProps(c, props, 3, context, mountAll);\n\t\tdom = c.base;\n\t} else {\n\t\tif (originalComponent && !isDirectOwner) {\n\t\t\tunmountComponent(originalComponent);\n\t\t\tdom = oldDom = null;\n\t\t}\n\n\t\tc = createComponent(vnode.nodeName, props, context);\n\t\tif (dom && !c.nextBase) {\n\t\t\tc.nextBase = dom;\n\n\t\t\toldDom = null;\n\t\t}\n\t\tsetComponentProps(c, props, 1, context, mountAll);\n\t\tdom = c.base;\n\n\t\tif (oldDom && dom !== oldDom) {\n\t\t\toldDom._component = null;\n\t\t\trecollectNodeTree(oldDom, false);\n\t\t}\n\t}\n\n\treturn dom;\n}\n\nfunction unmountComponent(component) {\n\tif (options.beforeUnmount) options.beforeUnmount(component);\n\n\tvar base = component.base;\n\n\tcomponent._disable = true;\n\n\tif (component.componentWillUnmount) component.componentWillUnmount();\n\n\tcomponent.base = null;\n\n\tvar inner = component._component;\n\tif (inner) {\n\t\tunmountComponent(inner);\n\t} else if (base) {\n\t\tif (base['__preactattr_'] != null) applyRef(base['__preactattr_'].ref, null);\n\n\t\tcomponent.nextBase = base;\n\n\t\tremoveNode(base);\n\t\trecyclerComponents.push(component);\n\n\t\tremoveChildren(base);\n\t}\n\n\tapplyRef(component.__ref, null);\n}\n\nfunction Component(props, context) {\n\tthis._dirty = true;\n\n\tthis.context = context;\n\n\tthis.props = props;\n\n\tthis.state = this.state || {};\n\n\tthis._renderCallbacks = [];\n}\n\nextend(Component.prototype, {\n\tsetState: function setState(state, callback) {\n\t\tif (!this.prevState) this.prevState = this.state;\n\t\tthis.state = extend(extend({}, this.state), typeof state === 'function' ? state(this.state, this.props) : state);\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\tenqueueRender(this);\n\t},\n\tforceUpdate: function forceUpdate(callback) {\n\t\tif (callback) this._renderCallbacks.push(callback);\n\t\trenderComponent(this, 2);\n\t},\n\trender: function render() {}\n});\n\nfunction render(vnode, parent, merge) {\n return diff(merge, vnode, {}, false, parent, false);\n}\n\nfunction createRef() {\n\treturn {};\n}\n\nvar preact = {\n\th: h,\n\tcreateElement: h,\n\tcloneElement: cloneElement,\n\tcreateRef: createRef,\n\tComponent: Component,\n\trender: render,\n\trerender: rerender,\n\toptions: options\n};\n\nexport default preact;\nexport { h, h as createElement, cloneElement, createRef, Component, render, rerender, options };\n//# sourceMappingURL=preact.mjs.map\n","import { Reaction } from 'mobx';\n\nconst augment = (object, key, func) => {\r\n const origMethod = object[key];\r\n object[key] = function () {\r\n func.apply(this, arguments);\r\n if (origMethod) {\r\n return origMethod.apply(this, arguments);\r\n }\r\n };\r\n};\r\nconst mobxReaction = Symbol(\"mobxReaction\");\r\nconst observer = (comp) => {\r\n const componentClass = comp;\r\n augment(componentClass.prototype, \"componentWillMount\", function () {\r\n const compName = this.constructor.displayName || this.constructor.name;\r\n this[mobxReaction] = new Reaction(`${compName}.render()`, () => this.setState({}));\r\n });\r\n augment(componentClass.prototype, \"componentWillUnmount\", function () {\r\n this[mobxReaction].dispose();\r\n this[mobxReaction] = null;\r\n });\r\n const origRender = componentClass.prototype.render;\r\n componentClass.prototype.render = function (props, state, context) {\r\n let renderResult;\r\n this[mobxReaction].track(() => {\r\n renderResult = origRender.call(this, props, state, context);\r\n });\r\n return renderResult;\r\n };\r\n};\n\nexport { observer };\n//# sourceMappingURL=observer.esm.js.map\n","/**\n * Created by 阿卡琳 on 22/11/2017.\n */\n\"use strict\";\n\nlet languages;\n\nif (__SSR__) {\n languages = { \"en-US\": require(\"./en-US.json\") };\n} else {\n languages = ((ctx) =>\n ctx.keys().reduce((result, key) => {\n // key == \"./en-US.json\"\n result[key.slice(2, -5)] = ctx(key);\n return result;\n }, {}))(require.context(\".\", false, /.json$/));\n}\n\nexport { languages };\n","/**\n * Created by 阿卡琳 on 18/06/2017.\n */\n\"use strict\";\nimport { action, computed, observable, toJS } from \"mobx\";\nimport { languages } from \"../languages/index.js\";\n\nexport const preferences = new (class Preferences {\n @observable fixed = 3;\n @observable spaceStart = 1;\n @observable spaceEnd = -1;\n @observable builtInAudio = false;\n @observable screenButton = false;\n @observable darkMode = false;\n @observable lang = \"en-US\";\n\n themeColor = \"#f58ea8\";\n\n @computed\n get i18n() {\n return languages[this.lang] || languages[\"en-US\"];\n }\n\n @computed\n get fixed_decimal() {\n return Math.pow(10, this.fixed);\n }\n\n static get storageName() {\n return \"lrc-maker-preferences\";\n }\n\n constructor() {\n try {\n this.lang = ((lang) => (lang in languages ? lang : \"en-US\"))(navigator.language);\n\n const p = JSON.parse(localStorage.getItem(Preferences.storageName));\n for (let [key, value] of Object.entries(p)) {\n if (key in this) {\n this[key] = value;\n }\n }\n } catch (e) {}\n }\n\n save() {\n try {\n localStorage.setItem(Preferences.storageName, JSON.stringify(toJS(this, false)));\n } catch (e) {}\n }\n\n /** @param {number} value */\n @action.bound\n set_spaceStart(value) {\n this.spaceStart = value;\n this.save();\n }\n\n /** @param {number} value */\n @action.bound\n set_spaceEnd(value) {\n this.spaceEnd = value;\n this.save();\n }\n\n @action.bound\n toggle_audio_player() {\n this.builtInAudio = !this.builtInAudio;\n this.save();\n }\n\n @action.bound\n toggle_screen_button() {\n this.screenButton = !this.screenButton;\n this.save();\n }\n\n @action.bound\n toggle_dark_mode() {\n this.darkMode = !this.darkMode;\n this.save();\n }\n\n @action.bound\n add_fixed() {\n if (this.fixed < 3) {\n this.fixed += 1;\n this.save();\n }\n }\n\n @action.bound\n minus_fixed() {\n if (this.fixed > 0) {\n this.fixed -= 1;\n this.save();\n }\n }\n\n set language(value) {\n this.lang = value;\n this.save();\n }\n\n @computed\n get language() {\n return this.lang;\n }\n})();\n","/**\n * Created by 阿卡琳 on 16/06/2017.\n */\n\"use strict\";\nimport { action, observable } from \"mobx\";\nimport { preferences as pref } from \"./store/preferences\";\n\nclass Router {\n @observable path = \"\";\n\n constructor() {\n if (typeof window !== \"undefined\") {\n this.path = location.hash;\n addEventListener(\"hashchange\", action(() => (this.path = location.hash)));\n }\n }\n\n static get editor() {\n return {\n name: pref.i18n[\"app\"][\"edit\"],\n path: \"#/\",\n title: pref.i18n[\"app\"][\"editor-tip\"]\n };\n }\n static get synchronizer() {\n return {\n name: pref.i18n[\"app\"][\"synchronize\"],\n path: \"#/synchronizer/\",\n title: pref.i18n[\"app\"][\"synchronizer-tip\"]\n };\n }\n static get preferences() {\n return {\n name: pref.i18n[\"app\"][\"preferences\"],\n path: \"#/preferences/\",\n title: pref.i18n[\"app\"][\"preferences-tip\"]\n };\n }\n}\n\nconst router = new Router();\nexport { router, Router };\n","/**\n * Created by 阿卡琳 on 18/06/2017.\n */\n\"use strict\";\nimport { action, computed, observable } from \"mobx\";\nimport { preferences } from \"./preferences.js\";\n\nexport const appState = new (class AppState {\n @observable audioSrc = false;\n @observable _currentTime = 0;\n @observable lock = false;\n\n set src(value) {\n if (typeof value === \"string\") {\n URL.revokeObjectURL(this.audioSrc);\n this.audioSrc = value;\n } else {\n setTimeout(\n action(() => {\n URL.revokeObjectURL(this.audioSrc);\n this.audioSrc = URL.createObjectURL(value);\n }),\n 0\n );\n }\n }\n\n @computed\n get src() {\n return this.audioSrc;\n }\n\n @computed\n get currentTime_fixed() {\n return ~~(this.currentTime * preferences.fixed_decimal) / preferences.fixed_decimal;\n }\n\n set currentTime(value) {\n this._currentTime = value;\n }\n\n @computed\n get currentTime() {\n return this._currentTime;\n }\n\n @action.bound\n toggle_lock() {\n this.lock = !this.lock;\n }\n})();\n","export const parser = (lrcString, option = {}) => {\n const { trimStart = false, trimEnd = false } = option;\n const lines = lrcString.split(/\\r\\n|\\n|\\r/);\n const timeTag = /\\[\\s*(\\d{1,3}):(\\d{1,2}(?:[:.]\\d{1,3})?)\\s*]/g;\n const infoTag = /\\[\\s*(\\w{1,6})\\s*:(.*?)]/;\n const info = new Map();\n const lyric = [];\n for (const line of lines) {\n if (line[0] !== \"[\") {\n lyric.push({\n text: line,\n });\n continue;\n }\n timeTag.lastIndex = 0;\n const rTimeTag = timeTag.exec(line);\n if (rTimeTag !== null) {\n const mm = Number.parseInt(rTimeTag[1], 10);\n const ss = Number.parseFloat(rTimeTag[2].replace(\":\", \".\"));\n const text = line.slice(timeTag.lastIndex);\n lyric.push({\n time: mm * 60 + ss,\n text,\n });\n continue;\n }\n const rInfoTag = infoTag.exec(line);\n if (rInfoTag !== null) {\n const value = rInfoTag[2].trim();\n if (value === \"\") {\n continue;\n }\n info.set(rInfoTag[1], value);\n continue;\n }\n lyric.push({\n text: line,\n });\n }\n if (trimStart || trimEnd) {\n lyric.forEach((line) => {\n if (trimStart) {\n line.text = line.text.trimStart();\n }\n if (trimEnd) {\n line.text = line.text.trimEnd();\n }\n });\n }\n return { info, lyric };\n};\nconst storedFormaTter = new Map();\nconst getFormatter = (fixed) => {\n if (storedFormaTter.has(fixed)) {\n return storedFormaTter.get(fixed);\n }\n else {\n const newFormatter = new Intl.NumberFormat(\"en\", {\n minimumIntegerDigits: 2,\n minimumFractionDigits: fixed,\n maximumFractionDigits: fixed,\n });\n storedFormaTter.set(fixed, newFormatter);\n return newFormatter;\n }\n};\nexport const convertTimeToTag = (time, fixed, withBrackets = true) => {\n if (time === undefined) {\n return \"\";\n }\n const formatter = getFormatter(fixed);\n const mm = Math.floor(time / 60)\n .toString()\n .padStart(2, \"0\");\n const ss = formatter.format(time % 60);\n return withBrackets ? `[${mm}:${ss}]` : `${mm}:${ss}`;\n};\nexport const formatText = (text, spaceStart, spaceEnd) => {\n let newText = text;\n if (spaceStart >= 0) {\n newText = \" \".repeat(spaceStart) + newText.trimStart();\n }\n if (spaceEnd >= 0) {\n newText = newText.trimEnd() + \" \".repeat(spaceEnd);\n }\n return newText;\n};\nexport const stringify = (state, option) => {\n const { spaceStart, spaceEnd, fixed, endOfLine = \"\\r\\n\" } = option;\n const infos = Array.from(state.info.entries()).map(([name, value]) => {\n return `[${name}: ${value}]`;\n });\n const lines = state.lyric.map((line) => {\n if (line.time === undefined) {\n return line.text;\n }\n const text = formatText(line.text, spaceStart, spaceEnd);\n return `${convertTimeToTag(line.time, fixed)}${text}`;\n });\n return infos.concat(lines).join(endOfLine);\n};\n//# sourceMappingURL=lrc-parser.js.map","/**\n * Created by 阿卡琳 on 18/06/2017.\n */\n\"use strict\";\nimport { parser, stringify } from \"@lrc-maker/lrc-parser\";\nimport { action, autorun, computed, observable } from \"mobx\";\nimport { appState } from \"./appState.js\";\nimport { preferences } from \"./preferences.js\";\n\nclass LRC {\n /** @type {import(\"mobx\").ObservableMap<string, string>} */\n @observable info = new Map();\n\n /**\n * @typedef ILyric\n * @type {object} ILyric\n * @property {number?} time\n * @property {string} text\n */\n\n /** @type {import(\"mobx\").IObservableArray<ILyric>} */\n @observable lyric = [];\n\n @observable _selectedIndex = 0;\n @observable _highlightIndex = -Infinity;\n\n @computed\n get selectedIndex() {\n return this._selectedIndex;\n }\n\n set selectedIndex(index) {\n if (isNaN(index) || index < 0) {\n index = 0;\n }\n if (index > this.lyric.length - 1) {\n index = this.lyric.length - 1;\n }\n this._selectedIndex = index;\n }\n\n @computed\n get highlightIndex() {\n return this._highlightIndex;\n }\n\n set highlightIndex(index) {\n this._highlightIndex = index;\n }\n\n static get storageName() {\n return \"lrc-maker-lyric\";\n }\n\n constructor() {\n try {\n this.value = localStorage.getItem(LRC.storageName);\n } catch (e) {}\n }\n\n save = () => {\n try {\n localStorage.setItem(LRC.storageName, this.value);\n } catch (e) {}\n };\n\n set value(text) {\n const { lyric, info } = parser(text, {\n trimStart: preferences.spaceStart !== -1,\n trimEnd: preferences.spaceEnd !== -1\n });\n\n this.lyric.replace(lyric);\n this.info.replace(info);\n\n this.selectedIndex += 0;\n }\n\n @action.bound\n info_set(name, value) {\n this.info.set(name, value);\n }\n\n @action.bound\n info_delete(name) {\n this.info.delete(name);\n }\n\n @computed\n get value() {\n return stringify(this, preferences);\n }\n}\n\nconst record = {\n currentTime: Infinity,\n currentIndex: Infinity,\n nextTime: -Infinity,\n nextIndex: -Infinity\n};\n\nexport const lrc = new LRC();\n\nautorun(() => {\n const audioTime = appState.currentTime;\n const lyric = lrc.lyric;\n\n if (audioTime >= record.currentTime && audioTime < record.nextTime) {\n return;\n }\n\n Object.assign(\n record,\n lyric.reduce(\n (p, c, i) => {\n if (c.time) {\n if (c.time < p.nextTime && c.time > audioTime) {\n p.nextTime = c.time;\n p.nextIndex = i;\n }\n if (c.time > p.currentTime && c.time <= audioTime) {\n p.currentTime = c.time;\n p.currentIndex = i;\n }\n }\n return p;\n },\n {\n currentTime: -Infinity,\n currentIndex: -Infinity,\n nextTime: Infinity,\n nextIndex: Infinity\n }\n )\n );\n\n lrc.highlightIndex = record.currentIndex;\n});\n","/**\n * Created by 阿卡琳 on 26/06/2017.\n */\n\"use strict\";\nimport preact from \"preact\";\n\nexport const PlaySvg = () => (\n <svg fill=\"#5a5a5a\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M8 5v14l11-7z\" />\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n </svg>\n);\n\nexport const PauseSvg = () => (\n <svg fill=\"#5a5a5a\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M6 19h4V5H6v14zm8-14v14h4V5h-4z\" />\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n </svg>\n);\n\nexport const VolumeSvg = () => (\n <svg fill=\"#5a5a5a\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z\" />\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n </svg>\n);\n\nexport const MutedSvg = () => (\n <svg fill=\"#5a5a5a\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z\" />\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n </svg>\n);\n\nexport const Replay5sSvg = () => (\n <svg fill=\"#5a5a5a\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M12 5V1L7 6l5 5V7c3.3 0 6 2.7 6 6s-2.7 6-6 6-6-2.7-6-6H4c0 4.4 3.6 8 8 8s8-3.6 8-8-3.6-8-8-8zm-1.3 8.9l.2-2.2h2.4v.7h-1.7l-.1.9s.1 0 .1-.1.1 0 .1-.1.1 0 .2 0h.2c.2 0 .4 0 .5.1s.3.2.4.3.2.3.3.5.1.4.1.6c0 .2 0 .4-.1.5s-.1.3-.3.5-.3.2-.4.3-.4.1-.6.1c-.2 0-.4 0-.5-.1s-.3-.1-.5-.2-.2-.2-.3-.4-.1-.3-.1-.5h.8c0 .2.1.3.2.4s.2.1.4.1c.1 0 .2 0 .3-.1l.2-.2s.1-.2.1-.3v-.6l-.1-.2-.2-.2s-.2-.1-.3-.1h-.2s-.1 0-.2.1-.1 0-.1.1-.1.1-.1.1h-.7z\" />\n </svg>\n);\n\nexport const Forward5sSvg = () => (\n <svg fill=\"#5a5a5a\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M4 13c0 4.4 3.6 8 8 8s8-3.6 8-8h-2c0 3.3-2.7 6-6 6s-6-2.7-6-6 2.7-6 6-6v4l5-5-5-5v4c-4.4 0-8 3.6-8 8zm6.7.9l.2-2.2h2.4v.7h-1.7l-.1.9s.1 0 .1-.1.1 0 .1-.1.1 0 .2 0h.2c.2 0 .4 0 .5.1s.3.2.4.3.2.3.3.5.1.4.1.6c0 .2 0 .4-.1.5s-.1.3-.3.5-.3.2-.5.3-.4.1-.6.1c-.2 0-.4 0-.5-.1s-.3-.1-.5-.2-.2-.2-.3-.4-.1-.3-.1-.5h.8c0 .2.1.3.2.4s.2.1.4.1c.1 0 .2 0 .3-.1l.2-.2s.1-.2.1-.3v-.6l-.1-.2-.2-.2s-.2-.1-.3-.1h-.2s-.1 0-.2.1-.1 0-.1.1-.1.1-.1.1h-.6z\" />\n </svg>\n);\n\nexport const SettingsSvg = () => (\n <svg height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M19.43 12.98c.04-.32.07-.64.07-.98s-.03-.66-.07-.98l2.11-1.65c.19-.15.24-.42.12-.64l-2-3.46c-.12-.22-.39-.3-.61-.22l-2.49 1c-.52-.4-1.08-.73-1.69-.98l-.38-2.65A.488.488 0 0 0 14 2h-4c-.25 0-.46.18-.49.42l-.38 2.65c-.61.25-1.17.59-1.69.98l-2.49-1c-.23-.09-.49 0-.61.22l-2 3.46c-.13.22-.07.49.12.64l2.11 1.65c-.04.32-.07.65-.07.98s.03.66.07.98l-2.11 1.65c-.19.15-.24.42-.12.64l2 3.46c.12.22.39.3.61.22l2.49-1c.52.4 1.08.73 1.69.98l.38 2.65c.03.24.24.42.49.42h4c.25 0 .46-.18.49-.42l.38-2.65c.61-.25 1.17-.59 1.69-.98l2.49 1c.23.09.49 0 .61-.22l2-3.46c.12-.22.07-.49-.12-.64l-2.11-1.65zM12 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z\" />\n </svg>\n);\n\nexport const EditorSvg = () => (\n <svg height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z\" />\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n </svg>\n);\n\nexport const SynchronizerSvg = () => (\n <svg height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M15 6H3v2h12V6zm0 4H3v2h12v-2zM3 16h8v-2H3v2zM17 6v8.18c-.31-.11-.65-.18-1-.18-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3V8h3V6h-5z\" />\n </svg>\n);\n\nexport const DownloadSvg = () => (\n <svg height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z\" />\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n </svg>\n);\n\nexport const UnlockSvg = () => (\n <svg height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M12 17c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm6-9h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6h1.9c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm0 12H6V10h12v10z\" />\n </svg>\n);\n\nexport const LockSvg = () => (\n <svg height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z\" />\n </svg>\n);\n\nexport const LoadAudioSvg = () => (\n <svg fill=\"#000000\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M12 3v10.55c-.59-.34-1.27-.55-2-.55-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4V7h4V3h-6z\" />\n <path d=\"M19.00,15.50l0,-2.99l-1.49,0l0,2.99l-2.99,0l0,1.49l2.99,0l0,2.99l1.49,0l0,-2.99l2.99,0l0,-1.49l-2.99,0Z\" />\n </svg>\n);\n\nexport const LoadTextSvg = () => (\n <svg fill=\"#000000\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 14h-3v3h-2v-3H8v-2h3v-3h2v3h3v2zm-3-7V3.5L18.5 9H13z\" />\n </svg>\n);\n\nexport const SelectAllSvg = () => (\n <svg fill=\"#000000\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\">\n <path d=\"M0 0h24v24H0z\" fill=\"none\" />\n <path d=\"M3 5h2V3c-1.1 0-2 .9-2 2zm0 8h2v-2H3v2zm4 8h2v-2H7v2zM3 9h2V7H3v2zm10-6h-2v2h2V3zm6 0v2h2c0-1.1-.9-2-2-2zM5 21v-2H3c0 1.1.9 2 2 2zm-2-4h2v-2H3v2zM9 3H7v2h2V3zm2 18h2v-2h-2v2zm8-8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2zm0-12h2V7h-2v2zm0 8h2v-2h-2v2zm-4 4h2v-2h-2v2zm0-16h2V3h-2v2zM7 17h10V7H7v10zm2-8h6v6H9V9z\" />\n </svg>\n);\n","/**\n * Created by 阿卡琳 on 27/06/2017.\n */\n\"use strict\";\nimport { action, observable } from \"mobx\";\nimport preact, { Component } from \"preact\";\nimport { observer } from \"preact-mobx-observer\";\nimport { lrc } from \"../store/lrc.js\";\nimport { DownloadSvg } from \"./SVG.jsx\";\n\n@observer\nclass DownLoadButton extends Component {\n @observable href = false;\n\n lrcString = \"\";\n\n @action.bound\n handleClick() {\n let lrcString = lrc.value;\n if (this.lrcString != lrcString) {\n this.lrcString = lrcString;\n URL.revokeObjectURL(this.href);\n this.href = URL.createObjectURL(new Blob([lrcString], { type: \"text/plain;charset=UTF-8\" }));\n }\n }\n\n render() {\n return (\n <a\n className=\"download iconbutton\"\n download={(lrc.info.get(\"ti\") || new Date()) + \".lrc\"}\n href={this.href}\n onClick={this.handleClick}\n >\n <DownloadSvg />\n </a>\n );\n }\n}\n\nexport { DownLoadButton };\n","/**\n * Created by 阿卡琳 on 15/06/2017.\n */\n\"use strict\";\nimport preact, { Component, createRef } from \"preact\";\nimport { observer } from \"preact-mobx-observer\";\nimport { appState } from \"../store/appState.js\";\nimport { lrc } from \"../store/lrc.js\";\nimport { preferences as pref } from \"../store/preferences.js\";\nimport { DownLoadButton } from \"./DownLoadButton.jsx\";\nimport { LoadAudioSvg, LoadTextSvg, SelectAllSvg } from \"./SVG.jsx\";\n\n@observer\nclass Editor extends Component {\n constructor(props) {\n super(props);\n }\n\n textareaRef = createRef();\n\n get textarea() {\n return this.textareaRef.current;\n }\n\n componentWillUnmount() {\n lrc.info_set(\"tool\", \"歌词滚动姬 (lrc-maker.github.io)\");\n }\n\n updateInfo = (e) => {\n let value = e.target.value;\n let name = e.target.name;\n if (value.length === 0) {\n lrc.info_delete(name, value);\n } else {\n lrc.info_set(name, value);\n }\n };\n\n parseText = (e) => {\n lrc.value = e.target.value;\n };\n\n uploadAudio = (e) => {\n let file = e.target.files[0];\n if (file) {\n appState.src = file;\n }\n };\n\n uploadText = (e) => {\n let file = e.target.files[0];\n if (file) {\n const fileReader = new FileReader();\n fileReader.onload = (fileReaderEvent) => {\n let lyricText = fileReaderEvent.target.result;\n lrc.value = lyricText;\n };\n fileReader.readAsText(file);\n }\n };\n\n selectAll = () => {\n this.textarea.select();\n document.execCommand(\"copy\");\n };\n\n render() {\n return (\n <div className=\"editor\">\n <section className=\"editor-tool-bar\">\n <label className=\"editor-button\">\n <LoadAudioSvg />\n <span className=\"option\">{pref.i18n[\"lrc\"][\"load-audio\"]}</span>\n <input type=\"file\" accept=\"audio/*\" onChange={this.uploadAudio} />\n </label>\n <label className=\"editor-button\">\n <LoadTextSvg />\n <span className=\"option\">{pref.i18n[\"lrc\"][\"load-text\"]}</span>\n <input type=\"file\" accept=\"text/*, .txt, .lrc\" onChange={this.uploadText} />\n </label>\n <span onClick={this.selectAll} className=\"editor-button\">\n <SelectAllSvg />\n <span className=\"option\">{pref.i18n[\"lrc\"][\"select-all\"]}</span>\n </span>\n </section>\n <section className=\"lrc-info-section\">\n <section className=\"lrc-info-input-section\">\n <span>{pref.i18n[\"lrc\"][\"title\"]}</span>\n <input placeholder=\"ti\" name=\"ti\" onBlur={this.updateInfo} value={lrc.info.get(\"ti\")} />\n </section>\n <section className=\"lrc-info-input-section\">\n <span>{pref.i18n[\"lrc\"][\"artist\"]}</span>\n <input placeholder=\"ar\" name=\"ar\" onBlur={this.updateInfo} value={lrc.info.get(\"ar\")} />\n </section>\n <section className=\"lrc-info-input-section\">\n <span>{pref.i18n[\"lrc\"][\"album\"]}</span>\n <input placeholder=\"al\" name=\"al\" onBlur={this.updateInfo} value={lrc.info.get(\"al\")} />\n </section>\n </section>\n <section className=\"lrc-textarea-section\">\n <textarea\n className=\"app-textarea\"\n placeholder=\"text\"\n onBlur={this.parseText}\n value={lrc.value}\n ref={this.textareaRef}\n />\n </section>\n <div className=\"extra_button_group\">\n <DownLoadButton />\n </div>\n </div>\n );\n }\n}\nexport { Editor };\n","/**\n * Created by 阿卡琳 on 15/06/2017.\n */\n\"use strict\";\nimport { computed } from \"mobx\";\nimport preact, { Component } from \"preact\";\nimport { observer } from \"preact-mobx-observer\";\nimport { languages } from \"../languages/index.js\";\nimport { preferences as pref } from \"../store/preferences.js\";\n\n@observer\nclass Preferences extends Component {\n /** @type {(ev: JSX.EventHandler<Event>) => void} */\n handleLanguageSelect(ev) {\n /** @type {HTMLSelectElement} */\n const target = ev.target;\n pref.language = target.value;\n }\n\n clearCache = () => {\n localStorage.clear();\n };\n\n /** @type {(ev: JSX.EventHandler<Event>) => void} */\n onSpaceStartChange = (ev) => {\n /** @type {HTMLInputElement} */\n const target = ev.target;\n if (target.validity.valid) {\n pref.set_spaceStart(Number.parseInt(target.value, 10));\n } else {\n target.value = pref.spaceStart;\n }\n };\n\n /** @type {(ev: JSX.EventHandler<Event>) => void} */\n onSpaceEndChange = (ev) => {\n /** @type {HTMLInputElement} */\n const target = ev.target;\n if (target.validity.valid) {\n pref.set_spaceEnd(Number.parseInt(target.value, 10));\n } else {\n target.value = pref.spaceEnd;\n }\n };\n\n @computed\n get updateTime() {\n const date = new Date(UPDATE_TIME);\n const options = {\n year: \"numeric\",\n month: \"short\",\n day: \"numeric\",\n hour: \"numeric\",\n minute: \"numeric\",\n second: \"numeric\",\n timeZoneName: \"short\",\n hour12: false\n };\n return new Intl.DateTimeFormat(pref.lang, options).format(date);\n }\n\n render() {\n return (\n <div className=\"preferences\">\n <section>\n <div className=\"section-group\">\n <div>{pref.i18n[\"preferences\"][\"language\"]}</div>\n <div className=\"lang-select\">\n <select onChange={this.handleLanguageSelect}>\n {Object.entries(languages).map(([key, value]) => (\n <option key={key} value={key} selected={pref.language === key}>\n {value[\"language-name\"]}\n </option>\n ))}\n </select>\n </div>\n </div>\n </section>\n <section>\n <div className=\"section-group\">\n <div>{pref.i18n[\"preferences\"][\"version\"]}</div>\n <div className=\"select-all\">{VERSION}</div>\n </div>\n </section>\n <section>\n <div className=\"section-group\">\n <div>{pref.i18n[\"preferences\"][\"update-time\"]}</div>\n <div>{this.updateTime}</div>\n </div>\n </section>\n <section>\n <div className=\"section-group\">\n <div>{pref.i18n[\"preferences\"][\"hash\"]}</div>\n <div className=\"select-all\">{BUILD_REVISION}</div>\n </div>\n </section>\n <section>\n <div className=\"section-group\">\n <div>{pref.i18n[\"preferences\"][\"github-repo\"]}</div>\n <a href=\"https://github.com/magic-akari/lrc-maker\" target=\"_blank\">\n Github\n </a>\n </div>\n </section>\n <section>\n <div className=\"section-group\">\n <div>{pref.i18n[\"preferences\"][\"help\"]}</div>\n <a href=\"https://github.com/magic-akari/lrc-maker/wiki\" target=\"_blank\">\n Github Wiki\n </a>\n </div>\n </section>\n <section>\n <div className=\"section-group\">\n <div>{pref.i18n[\"preferences\"][\"time-tag-decimals\"]}</div>\n <div class=\"stepper\">\n <button class=\"addOnLeft\" onClick={pref.minus_fixed}>\n -\n </button>\n <input type=\"text\" value={pref.fixed} />\n <button class=\"addOnRight\" onClick={pref.add_fixed}>\n +\n </button>\n </div>\n </div>\n </section>\n <section>\n <label className=\"section-group\">\n <label htmlFor=\"space-start\">{pref.i18n[\"preferences\"][\"left-space\"]}</label>\n <input\n name=\"spaceStart\"\n id=\"space-start\"\n required={true}\n min=\"-1\"\n type=\"number\"\n step=\"1\"\n value={pref.spaceStart}\n onChange={this.onSpaceStartChange}\n />\n </label>\n </section>\n <section>\n <label className=\"section-group\">\n <label htmlFor=\"space-end\">{pref.i18n[\"preferences\"][\"right-space\"]}</label>\n <input\n name=\"spaceEnd\"\n id=\"space-end\"\n required={true}\n min=\"-1\"\n type=\"number\"\n step=\"1\"\n value={pref.spaceEnd}\n onChange={this.onSpaceEndChange}\n />\n </label>\n </section>\n <section>\n <label className=\"section-group\">\n <div>{pref.i18n[\"preferences\"][\"built-in-audio\"]}</div>\n <label class=\"label-switch\">\n <input type=\"checkbox\" checked={pref.builtInAudio} onChange={pref.toggle_audio_player} />\n <div class=\"checkbox\" />\n </label>\n </label>\n </section>\n <section>\n <label className=\"section-group\">\n <div>{pref.i18n[\"preferences\"][\"space-button-on-screen\"]}</div>\n <label class=\"label-switch\">\n <input type=\"checkbox\" checked={pref.screenButton} onChange={pref.toggle_screen_button} />\n <div class=\"checkbox\" />\n </label>\n </label>\n </section>\n <section>\n <label className=\"section-group\">\n <div>{pref.i18n[\"preferences\"][\"dark-mode\"]}</div>\n <label class=\"label-switch\">\n <input type=\"checkbox\" checked={pref.darkMode} onChange={pref.toggle_dark_mode} />\n <div class=\"checkbox\" />\n </label>\n </label>\n </section>\n <section>\n <div className=\"section-group\">\n <button onClick={this.clearCache}>{pref.i18n[\"preferences\"][\"clear-cache\"]}</button>\n </div>\n </section>\n </div>\n );\n }\n}\nexport { Preferences };\n","/**\n * Created by 阿卡琳 on 27/06/2017.\n */\n\"use strict\";\nimport preact, { Component } from \"preact\";\nimport { observer } from \"preact-mobx-observer\";\nimport { appState } from \"../store/appState.js\";\nimport { LockSvg, UnlockSvg } from \"./SVG.jsx\";\n\n@observer\nclass LockNodeButton extends Component {\n render() {\n let classNames = [\"locknodebutton\", \"iconbutton\"];\n if (appState.lock) classNames.push(\"locked\");\n return (\n <button tabIndex=\"-1\" className={classNames.join(\" \")} onClick={appState.toggle_lock}>\n {appState.lock ? <LockSvg /> : <UnlockSvg />}\n </button>\n );\n }\n}\n\nexport { LockNodeButton };\n","/**\n * Created by 阿卡琳 on 15/06/2017.\n */\n\"use strict\";\nimport { convertTimeToTag, formatText } from \"@lrc-maker/lrc-parser\";\nimport { action, autorun, computed } from \"mobx\";\nimport preact, { Component } from \"preact\";\nimport { observer } from \"preact-mobx-observer\";\nimport { elementScrollIntoView } from \"seamless-scroll-polyfill\";\nimport { appState } from \"../store/appState.js\";\nimport { lrc } from \"../store/lrc.js\";\nimport { preferences } from \"../store/preferences.js\";\nimport { DownLoadButton } from \"./DownLoadButton.jsx\";\nimport { LockNodeButton } from \"./LockNodeButton.jsx\";\n\n@observer\nclass CurrentTimeTag extends Component {\n render() {\n return (\n <span className=\"current-time-tag\">\n {convertTimeToTag(appState.currentTime_fixed, preferences.fixed) + \"\\u27A4\"}\n </span>\n );\n }\n}\n\nconst autoDispose = (type, listener, options) => {\n document.addEventListener(type, listener, options);\n return () => document.removeEventListener(type, listener, options);\n};\n\n@observer\nclass SynchronizerList extends Component {\n @computed\n get trackNode() {\n const index = appState.lock ? lrc.highlightIndex : lrc.selectedIndex;\n return this.base.children[index];\n }\n\n constructor(props) {\n super(props);\n }\n\n componentDidMount() {\n const scrollIntoView =\n \"scrollBehavior\" in document.documentElement.style\n ? (element, options) => element.scrollIntoView(options)\n : elementScrollIntoView;\n this.disposers = [\n autorun(() => {\n if (this.trackNode) {\n scrollIntoView(this.trackNode, {\n behavior: \"smooth\",\n block: \"center\",\n inline: \"nearest\"\n });\n }\n }),\n autoDispose(\n \"keydown\",\n (e) => {\n if ([\"Backspace\", \"Delete\"].includes(e.code) || [\"Backspace\", \"Delete\", \"Del\"].includes(e.key)) {\n e.preventDefault();\n this.deleteTimestamp();\n return;\n }\n if (e.metaKey === true || e.ctrlKey === true) {\n return;\n }\n if (e.code === \"Space\" || e.key === \" \" || e.key === \"Spacebar\") {\n e.preventDefault();\n\n sync();\n } else if (\n [\"ArrowUp\", \"KeyW\", \"KeyJ\"].includes(e.code) ||\n [\"ArrowUp\", \"Up\", \"W\", \"w\", \"J\", \"j\"].includes(e.key)\n ) {\n e.preventDefault();\n\n this.changeSelect(-1);\n } else if (\n [\"ArrowDown\", \"KeyS\", \"KeyK\"].includes(e.code) ||\n [\"ArrowDown\", \"Down\", \"S\", \"s\", \"K\", \"k\"].includes(e.key)\n ) {\n e.preventDefault();\n\n this.changeSelect(1);\n } else if (e.code === \"Home\" || e.key === \"Home\") {\n e.preventDefault();\n\n this.changeSelect(-1e3);\n } else if (e.code === \"End\" || e.key === \"End\") {\n e.preventDefault();\n\n this.changeSelect(1e3);\n } else if (e.code === \"PageUp\" || e.key === \"PageUp\") {\n e.preventDefault();\n\n this.changeSelect(-10);\n } else if (e.code === \"PageDown\" || e.key === \"PageDown\") {\n e.preventDefault();\n\n this.changeSelect(10);\n }\n },\n { capture: true }\n )\n ];\n }\n\n componentWillUnmount() {\n this.disposers.forEach((d) => d());\n }\n\n @action\n deleteTimestamp() {\n let selectedIndex = lrc.selectedIndex;\n lrc.lyric[selectedIndex].time = undefined;\n }\n\n @action\n changeSelect(dl) {\n lrc.selectedIndex += dl;\n }\n\n @action.bound\n selectLine(e) {\n let { key } = e.target.dataset;\n if (key) {\n lrc.selectedIndex = Number(key);\n } else return true;\n }\n\n render() {\n return (\n <ul className={\"lyric-list\"} onClick={this.selectLine}>\n {lrc.lyric.map((lyricLine, index) => {\n const className = [\"lyric-line\"];\n /**\n * index == data-key\n */\n if (index === lrc.highlightIndex) {\n className.push(\"highlight\");\n }\n if (index === lrc.selectedIndex) {\n className.push(\"select\");\n }\n let pre_key = Math.max(index - 1, 0);\n let pre_time = lrc.lyric[pre_key].time;\n if (pre_time && pre_time > lyricLine.time) {\n className.push(\"error\");\n }\n\n const time = lyricLine.time;\n\n const lyricTimeTag =\n time === undefined ? null : (\n <span className=\"lyric-time\">{convertTimeToTag(time, preferences.fixed)}</span>\n );\n\n return (\n <li className={className.join(\" \")} data-key={index} key={index}>\n {index == lrc.selectedIndex ? <CurrentTimeTag /> : null}\n <p className=\"lyric\">\n {lyricTimeTag}\n <span class=\"lyric-text\">\n {formatText(lyricLine.text, preferences.spaceStart, preferences.spaceEnd)}\n </span>\n </p>\n </li>\n );\n })}\n </ul>\n );\n }\n}\n\nconst sync = action(() => {\n if (lrc.lyric.length > 0) {\n let selectedIndex = lrc.selectedIndex;\n lrc.lyric[selectedIndex].time = appState.currentTime;\n lrc.selectedIndex += 1;\n }\n});\n\nconst Synchronizer = () => (\n <div className=\"synchronizer\">\n <SynchronizerList />\n <div className=\"extra_button_group\">\n <LockNodeButton />\n <DownLoadButton />\n </div>\n </div>\n);\n\nexport { Synchronizer, sync };\n","/**\n * Created by 阿卡琳 on 16/06/2017.\n */\n\"use strict\";\nimport preact, { Component } from \"preact\";\nimport { observer } from \"preact-mobx-observer\";\nimport { router, Router } from \"../router.js\";\nimport { Editor } from \"./Editor.jsx\";\nimport { NotFound } from \"./NotFound.jsx\";\nimport { Preferences } from \"./Preferences.jsx\";\nimport { Synchronizer } from \"./Synchronizer.jsx\";\n\n@observer\nclass Content extends Component {\n match() {\n switch (router.path) {\n case \"\":\n case Router.editor.path:\n return <Editor />;\n case Router.synchronizer.path:\n return <Synchronizer />;\n case Router.preferences.path:\n return <Preferences />;\n }\n return NotFound();\n }\n\n render() {\n return <div className=\"app-content\">{this.match()}</div>;\n }\n}\n\nexport { Content };\n","/**\n * Created by 阿卡琳 on 15/06/2017.\n */\n\"use strict\";\nimport preact from \"preact\";\n\nexport const NotFound = () => (\n <div className=\"not_found\">\n <header>404</header>\n <p>您要找的页面因为存在感太低而消失。</p>\n <p>The page you were looking for has gone.</p>\n <p>アッカリ~ン</p>\n </div>\n);\n","/**\n * Created by 阿卡琳 on 21/06/2017.\n */\n\"use strict\";\nimport { action, computed, observable } from \"mobx\";\nimport preact, { Component, createRef } from \"preact\";\nimport { observer } from \"preact-mobx-observer\";\nimport { Forward5sSvg, MutedSvg, PauseSvg, PlaySvg, Replay5sSvg, VolumeSvg } from \"./SVG.jsx\";\n\nconst Slider = ({ min, max, step, value, onInput, className }) => {\n const total = max - min || 1;\n const percent = (value - min) / total;\n return (\n <div className={`slider ${className}-slider`}>\n <progress min={0} max={1} value={percent} />\n <input\n type=\"range\"\n tabIndex={-1}\n className={className}\n min={min}\n max={max}\n step={step}\n value={value}\n onInput={onInput}\n onChange={onInput}\n />\n </div>\n );\n};\n\n@observer\nclass Audio extends Component {\n @observable duration = 0;\n\n /**\n * 内部使用的真实值\n * @type {number}\n * @private\n */\n @observable _currentTime = 0;\n @observable paused = true;\n @observable volume = 1;\n @observable _playbackRate = 1;\n @observable muted = false;\n\n audioRef = createRef();\n get audio() {\n return this.audioRef.current;\n }\n\n handler = 0;\n\n componentDidMount() {\n this.audio.volume = parseFloat(sessionStorage.getItem(\"lrc-maker-volume\")) || 1;\n this.playbackRate = parseFloat(sessionStorage.getItem(\"lrc-maker-playbackRate\")) || 1;\n this.audio.muted = sessionStorage.getItem(\"lrc-maker-muted\") == \"true\";\n\n window.addEventListener(\"beforeunload\", () => {\n sessionStorage.setItem(\"lrc-maker-volume\", this.volume);\n sessionStorage.setItem(\"lrc-maker-playbackRate\", this._playbackRate);\n sessionStorage.setItem(\"lrc-maker-muted\", this.muted);\n });\n }\n\n // HACK: trigger this.audio.onTimeUpdate\n set currentTime(value) {\n this.audio.currentTime = value;\n }\n\n get currentTime() {\n return this._currentTime;\n }\n\n set playbackRate(value) {\n this.audio.playbackRate = value;\n }\n\n get playbackRate() {\n return this._playbackRate;\n }\n\n set playbackRate_exp(value) {\n this.playbackRate = Math.exp(value);\n }\n\n @computed\n get playbackRate_exp() {\n return Math.log(this.playbackRate);\n }\n\n @computed\n get currentTime_int() {\n return ~~this.currentTime;\n }\n\n @action.bound\n syncTime() {\n this._currentTime = this.audio.currentTime;\n\n // HACK: trigger the onTimeUpdate\n this.props.onTimeUpdate({ target: this });\n\n if (!this.paused) this.handler = requestAnimationFrame(this.syncTime);\n }\n\n static timeToTag(time) {\n let m = ~~(time / 60);\n m = (\"\" + m).padStart(2, \"0\");\n let s = ~~(time % 60);\n s = (\"\" + s).padStart(2, \"0\");\n return `${m}:${s}`;\n }\n\n @computed\n get timeTag() {\n return (\n <span>\n {Audio.timeToTag(this.currentTime_int)}\n {this.duration === 0 ? null : \" / \" + Audio.timeToTag(this.duration)}\n </span>\n );\n }\n\n @action\n onLoadedMetadata = (e) => {\n this.duration = e.target.duration;\n this.paused = e.target.paused;\n };\n\n @action\n onPlay = (e) => {\n this.paused = e.target.paused;\n this.syncTime();\n };\n\n @action\n onPause = (e) => {\n this.paused = e.target.paused;\n cancelAnimationFrame(this.handler);\n };\n\n @action\n onVolumeChange = (e) => {\n this.volume = e.target.volume;\n this.muted = e.target.muted;\n };\n\n onTimeUpdate = () => {\n if (this.paused) {\n this.syncTime();\n }\n };\n\n @action\n onRateChange = (e) => {\n this._playbackRate = e.target.playbackRate;\n };\n\n replay5s = () => {\n this.audio.currentTime -= 5;\n };\n\n forward5s = () => {\n this.audio.currentTime += 5;\n };\n\n play = () => {\n this.audio.play();\n };\n\n pause = () => {\n this.audio.pause();\n };\n\n togglePlayPause = () => {\n this.paused ? this.play() : this.pause();\n };\n\n handleTimeSelect = (e) => {\n this.audio.currentTime = e.target.value;\n };\n\n handlePlaybackRateChange = (e) => {\n this.audio.playbackRate = Math.exp(e.target.value);\n };\n\n handlePlaybackRateReset = () => {\n this.audio.playbackRate = 1;\n };\n\n handleVolumeChange = (e) => {\n const volume = e.target.value;\n this.audio.muted = volume === 0;\n this.audio.volume = volume;\n };\n\n toggleMuted = () => {\n this.audio.muted = !this.audio.muted;\n };\n\n get timelineSection() {\n if (this.props.controls) {\n return null;\n }\n return (\n <section className={\"time-line-section\" + (this.paused ? \"\" : \" playing\")}>\n <button tabIndex=\"-1\" className=\"replay5s\" onClick={this.replay5s} disabled={this.currentTime_int <= 0}>\n <Replay5sSvg />\n </button>\n <button tabIndex=\"-1\" disabled={!this.duration} onClick={this.togglePlayPause}>\n {this.paused ? <PlaySvg /> : <PauseSvg />}\n </button>\n <button\n tabIndex=\"-1\"\n className=\"forward5s\"\n onClick={this.forward5s}\n disabled={this.currentTime_int >= this.duration}\n >\n <Forward5sSvg />\n </button>\n {this.timeTag}\n <Slider\n min={0}\n max={this.duration}\n step=\"1\"\n value={this.currentTime_int}\n onInput={this.handleTimeSelect}\n className=\"time-line\"\n />\n </section>\n );\n }\n\n get audioextraSection() {\n if (this.props.controls) {\n return null;\n }\n return (\n <section className=\"audio-extra-section\">\n <button tabIndex=\"-1\" onClick={this.handlePlaybackRateReset}>\n {\"X \"}\n {this.playbackRate.toFixed(2)}\n </button>\n <Slider\n className=\"playbackrate\"\n min={-1}\n max={1}\n step=\"any\"\n value={this.playbackRate_exp}\n onInput={this.handlePlaybackRateChang}\n />\n <button tabIndex=\"-1\" onClick={this.toggleMuted}>\n {this.muted || this.volume === 0 ? <MutedSvg /> : <VolumeSvg />}\n </button>\n <Slider\n min={0}\n max={1}\n step=\"any\"\n value={this.muted ? 0 : this.volume}\n onInput={this.handleVolumeChange}\n className=\"volume-slider\"\n />\n </section>\n );\n }\n\n render() {\n return (\n <div className={this.props.className}>\n <audio\n hidden={!this.props.controls}\n controls={this.props.controls}\n src={this.props.src}\n ref={this.audioRef}\n onLoadedMetadata={this.onLoadedMetadata}\n onPlay={this.onPlay}\n onPause={this.onPause}\n onEnded={this.onPause}\n onTimeUpdate={this.onTimeUpdate}\n onVolumeChange={this.onVolumeChange}\n onRateChange={this.onRateChange}\n />\n {this.timelineSection}\n {this.audioextraSection}\n </div>\n );\n }\n}\n\nexport { Audio };\n","/**\n * Created by 阿卡琳 on 27/06/2017.\n */\n\"use strict\";\nimport preact, { Component } from \"preact\";\nimport { observer } from \"preact-mobx-observer\";\nimport { router, Router } from \"../router.js\";\nimport { preferences } from \"../store/preferences.js\";\nimport { sync } from \"./Synchronizer.jsx\";\n\n@observer\nclass SpaceButton extends Component {\n render() {\n return preferences.screenButton && router.path === Router.synchronizer.path ? (\n <button onClick={sync} className=\"space_button\">\n space\n </button>\n ) : null;\n }\n}\n\nexport { SpaceButton };\n","/**\n * Created by 阿卡琳 on 15/06/2017.\n */\n\"use strict\";\nimport preact, { Component } from \"preact\";\nimport { observer } from \"preact-mobx-observer\";\nimport { appState } from \"../store/appState.js\";\nimport { lrc } from \"../store/lrc.js\";\nimport { preferences } from \"../store/preferences.js\";\nimport { Audio } from \"./Audio.jsx\";\nimport { SpaceButton } from \"./SpaceButton.jsx\";\n\n@observer\nclass Footer extends Component {\n componentDidMount() {\n document.addEventListener(\n \"visibilitychange\",\n () => {\n if (document.hidden) {\n this.audio.pause();\n lrc.save();\n }\n },\n false\n );\n\n window.addEventListener(\"beforeunload\", () => {\n lrc.save();\n });\n\n document.addEventListener(\n \"keydown\",\n (e) => {\n if ([\"text\", \"textarea\"].includes(e.target.type)) {\n return;\n }\n\n if (e.metaKey === true || e.ctrlKey === true) {\n if ([\"ArrowUp\", \"KeyJ\"].includes(e.code) || [\"ArrowUp\", \"Up\", \"J\", \"j\"].includes(e.key)) {\n e.preventDefault();\n\n const rate = this.audio.playbackRate;\n const newRate = Math.exp(Math.min(Math.log(rate) + 0.2, 1));\n\n this.audio.playbackRate = newRate;\n } else if (\n [\"ArrowDown\", \"KeyK\"].includes(e.code) ||\n [\"ArrowDown\", \"Down\", \"K\", \"k\"].includes(e.key)\n ) {\n e.preventDefault();\n\n const rate = this.audio.playbackRate;\n const newRate = Math.exp(Math.max(Math.log(rate) - 0.2, -1));\n\n this.audio.playbackRate = newRate;\n } else if (e.code === \"Enter\" || e.key === \"Enter\") {\n e.preventDefault();\n\n this.audio.paused ? this.audio.play() : this.audio.pause();\n } else if (e.shiftKey === true && (e.code === \"KeyP\" || e.key === \"P\" || e.key === \"p\")) {\n e.preventDefault();\n\n let src = prompt(\"Input the audio source url.\", appState.src);\n if (src) {\n appState.src = src;\n }\n }\n } else {\n if ([\"ArrowLeft\", \"KeyA\"].includes(e.code) || [\"ArrowLeft\", \"Left\", \"A\", \"a\"].includes(e.key)) {\n e.preventDefault();\n\n this.audio.currentTime -= 5;\n } else if (\n [\"ArrowRight\", \"KeyD\"].includes(e.code) ||\n [\"ArrowRight\", \"Right\", \"D\", \"d\"].includes(e.key)\n ) {\n e.preventDefault();\n\n this.audio.currentTime += 5;\n } else if (e.code === \"KeyR\" || e.key === \"R\" || e.key === \"r\") {\n e.preventDefault();\n\n this.audio.playbackRate = 1;\n }\n }\n },\n { capture: true }\n );\n\n let urlSearchParams = location.search\n .slice(1)\n .split(\"&\")\n .reduce((params, hash) => {\n let [key, val] = hash.split(\"=\");\n return Object.assign(params, { [key]: decodeURIComponent(val) });\n }, {});\n\n if (urlSearchParams.audioSrc !== undefined) {\n appState.src = urlSearchParams.audioSrc;\n }\n }\n\n render() {\n return (\n <footer className=\"app-footer\">\n <SpaceButton />\n <Audio\n className=\"app-audio\"\n controls={preferences.builtInAudio}\n ref={(audio) => {\n this.audio = audio;\n }}\n src={appState.src}\n onTimeUpdate={(e) => {\n appState.currentTime = e.target.currentTime;\n }}\n />\n </footer>\n );\n }\n}\nexport { Footer };\n","/**\n * Created by 阿卡琳 on 14/06/2017.\n */\n\"use strict\";\nimport preact, { Component } from \"preact\";\nimport { observer } from \"preact-mobx-observer\";\nimport { router, Router } from \"../router.js\";\nimport { lrc } from \"../store/lrc.js\";\nimport { preferences } from \"../store/preferences.js\";\nimport { EditorSvg, SettingsSvg, SynchronizerSvg } from \"./SVG.jsx\";\n\n@observer\nclass Header extends Component {\n render() {\n return (\n <header className=\"app-header\">\n <div className=\"wrapper\">\n <span className=\"app-title\">{preferences.i18n[\"app\"][\"name\"]}</span>\n <nav className=\"app-nav\">\n <a\n href={Router.editor.path}\n className={(() => {\n if (router.path === Router.editor.path) {\n return \"active\";\n }\n if (router.path === Router.synchronizer.path && lrc.lyric.length === 0) {\n return \"showtip\";\n }\n })()}\n title={Router.editor.title}\n >\n <EditorSvg />\n <span className=\"option\">{Router.editor.name}</span>\n </a>\n <a\n href={Router.synchronizer.path}\n className={router.path === Router.synchronizer.path ? \"active\" : \"\"}\n title={Router.synchronizer.title}\n >\n <SynchronizerSvg />\n <span className=\"option\">{Router.synchronizer.name}</span>\n </a>\n <a\n href={Router.preferences.path}\n className={router.path === Router.preferences.path ? \"active\" : \"\"}\n title={Router.preferences.title}\n >\n <SettingsSvg />\n <span className=\"option\">{Router.preferences.name}</span>\n </a>\n </nav>\n </div>\n </header>\n );\n }\n}\nexport { Header };\n","/**\n * Created by 阿卡琳 on 15/06/2017.\n */\n\"use strict\";\nimport preact from \"preact\";\n\nexport const Loading = () => (\n <div className=\"loading-page\">\n <p>\n Loading\n <span className=\"dot\">...</span>\n </p>\n <div className=\"loading\" />\n </div>\n);\n","/**\n * Created by 阿卡琳 on 14/06/2017.\n */\n\"use strict\";\nimport { action, autorun, configure } from \"mobx\";\nimport { h, render } from \"preact\";\nimport { App } from \"./components/App.jsx\";\nimport { Router } from \"./router.js\";\nimport { appState } from \"./store/appState.js\";\nimport { lrc } from \"./store/lrc.js\";\nimport { preferences } from \"./store/preferences.js\";\n\nconfigure({ enforceActions: \"always\" });\nautorun(() => (document.title = preferences.i18n[\"app\"][\"fullname\"]));\nautorun(() => {\n if (preferences.darkMode) {\n document.documentElement.classList.add(\"dark\");\n } else {\n document.documentElement.classList.remove(\"dark\");\n }\n});\n\n((strProto) => {\n if (!strProto.trimStart) {\n strProto.trimStart =\n strProto.trimLeft ||\n function() {\n return this.replace(/^\\s+/, \"\");\n };\n }\n\n if (!strProto.trimEnd) {\n strProto.trimEnd =\n strProto.trimRight ||\n function() {\n return this.replace(/\\s+$/, \"\");\n };\n }\n})(String.prototype);\n\nrender(h(App, { loading: false }), document.body, document.body.firstElementChild);\n\ndocument.body.addEventListener(\n \"dragover\",\n (e) => {\n e.stopPropagation();\n e.preventDefault();\n e.dataTransfer.dropEffect = \"copy\";\n return false;\n },\n false\n);\n\ndocument.body.addEventListener(\n \"drop\",\n action((e) => {\n e.stopPropagation();\n e.preventDefault();\n let file = e.dataTransfer.files[0];\n if (file) {\n if (/^audio\\//.test(file.type)) {\n appState.src = file;\n } else if (/^text\\//.test(file.type) || /(?:\\.lrc|\\.txt)$/i.test(file.name)) {\n let fileReader = new FileReader();\n fileReader.onload = (fileReaderEvent) => {\n lrc.value = fileReaderEvent.target.result;\n location.hash = Router.editor.path;\n };\n fileReader.readAsText(file);\n }\n }\n return false;\n }),\n false\n);\n","/**\n * Created by 阿卡琳 on 14/06/2017.\n */\n\"use strict\";\n\nimport preact from \"preact\";\nimport { Content } from \"./Content.jsx\";\nimport { Footer } from \"./Footer.jsx\";\nimport { Header } from \"./Header.jsx\";\nimport { Loading } from \"./Loading.jsx\";\n\nexport const App = ({ loading }) => (\n <main className=\"app\">\n <Header />\n {loading ? <Loading /> : <Content />}\n <Footer />\n </main>\n);\n"],"sourceRoot":""}