1 line
115 KiB
Plaintext
1 line
115 KiB
Plaintext
{"version":3,"file":"rx.compat.min.js","sources":["rx.compat.js"],"names":["undefined","checkGlobal","value","Object","cloneArray","arr","len","length","a","Array","i","tryCatcherGen","tryCatchTarget","apply","this","arguments","e","errorObj","thrower","makeStackTraceLong","error","observable","hasStacks","stack","indexOf","STACK_JUMP_SEPARATOR","stacks","o","source","unshift","concatedStacks","join","filterStackString","stackString","lines","split","desiredLines","line","isInternalFrame","isNodeFrame","push","stackLine","fileNameAndLineNumber","getFileNameAndLineNumber","fileName","lineNumber","rFileName","rStartingLine","rEndingLine","captureLine","Error","firstLine","attempt1","exec","Number","attempt2","attempt3","equalObjects","object","other","equalFunc","isLoose","stackA","stackB","objProps","keys","objLength","othProps","othLength","key","index","hasOwnProperty","call","skipCtor","result","objValue","othValue","objCtor","constructor","othCtor","equalByTag","tag","boolTag","dateTag","errorTag","name","message","numberTag","regexpTag","stringTag","isObjectLike","isLength","MAX_SAFE_INTEGER","isTypedArray","typedArrayTags","objToString","arraySome","array","predicate","equalArrays","arrLength","arrValue","baseIsEqualDeep","objIsArr","isArray","othIsArr","objTag","arrayTag","othTag","argsTag","objectTag","objIsObj","isHostObject","othIsObj","isSameTag","objIsWrapped","othIsWrapped","pop","baseIsEqual","isObject","arrayInitialize","count","factory","ScheduledDisposable","scheduler","disposable","isDisposed","scheduleItem","s","self","dispose","IndexedItem","id","IsDisposedDisposable","state","_s","StringIterable","StringIterator","_l","_i","ArrayIterable","_a","ArrayIterator","toLength","numberIsFinite","root","isFinite","getIterable","it","$iterator$","TypeError","sign","number","isNaN","Math","floor","abs","maxSafeInteger","observableOf","isScheduler","currentThreadScheduler","FromArrayObservable","RepeatSink","observer","parent","amb","p","c","falseFactory","argumentsToArray","args","emptyArrayFactory","asObservable","subscribe","toArray","x","notEmpty","repeat","@@iterator","next","done","arrayIndexOfComparer","item","comparer","HashSet","set","plucker","currentProp","transformForObserver","@@transducer/init","@@transducer/step","obs","input","onNext","@@transducer/result","onCompleted","objectTypes","function","freeExports","exports","nodeType","freeModule","module","freeGlobal","global","freeSelf","freeWindow","window","moduleExports","thisGlobal","Function","Rx","internals","config","Promise","helpers","noop","identity","defaultNow","Date","now","defaultComparer","y","isEqual","defaultSubComparer","defaultError","defaultKeySerializer","toString","err","isPromise","then","isFunction","isFn","tryCatch","fn","longStackSupport","prototype","arrayClass","funcClass","stringClass","forEach","callback","thisArg","T","k","O","kValue","boxedString","splitString","every","fun","thisp","map","filter","results","t","arg","searchElement","n","Infinity","max","propertyIsEnumerable","hasDontEnumBug","obj","prop","dontEnumsLength","dontEnums","create","Temp","hasOwn","Properties","Element","attachEvent","addEventListener","addMethod","Window","HTMLDocument","ready","interval","document","body","clearInterval","dispatchEvent","CustomEvent","type","listener","target","listeners","_c1_listeners","typeListeners","event","documentElement","scrollLeft","scrollTop","currentTarget","pageX","clientX","pageY","clientY","preventDefault","bubbledKeyCode","keyCode","ctrlKey","defaultPrevented","returnValue","modified","stopImmediatePropagation","immediatePropagation","cancelBubble","stopPropagation","relatedTarget","fromElement","srcElement","timeStamp","charCode","keyChar","String","fromCharCode","copiedEvent","typeListenerCache","typeListenersCache","concat","typeListener","ii","splice","detachEvent","fireEvent","setInterval","params","bubbles","cancelable","detail","createEvent","initCustomEvent","createEventObject","initEvent","EmptyError","ObjectDisposedError","ArgumentOutOfRangeError","NotSupportedError","NotImplementedError","notImplemented","notSupported","Symbol","iterator","Set","doneEnumerator","isIterable","isArrayLike","bindCallback","func","argCount","collection","funcTag","mapTag","setTag","weakMapTag","arrayBufferTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","objectProto","pow","inherits","slice","child","__","addProperties","sources","idx","ln","addRef","xs","r","AnonymousObservable","BinaryDisposable","getDisposable","CompositeDisposable","disposables","CompositeDisposablePrototype","add","remove","shouldDispose","currentDisposables","Disposable","action","disposableCreate","disposableEmpty","empty","isDisposable","d","checkDisposed","disposableFixup","_fixup","SingleAssignmentDisposable","current","setDisposable","old","SerialDisposable","first","second","_first","_second","old1","old2","NAryDisposable","_disposables","RefCountDisposable","InnerDisposable","isInnerDisposed","underlyingDisposable","isPrimaryDisposed","schedule","ScheduledItem","dueTime","invoke","invokeCore","compareTo","isCancelled","Scheduler","schedulerProto","scheduleFuture","dt","normalize","_scheduleFuture","timeSpan","normalizeTime","invokeRecImmediate","pair","innerAction","state2","scheduleWork","_","state3","isAdded","group","isDone","invokeRecDate","dueTime1","scheduleRecursive","scheduleRecursiveFuture","schedulePeriodic","period","catchError","handler","CatchScheduler","scheduleMethod","clearMethod","ImmediateScheduler","SchedulePeriodicRecursive","createTick","command","recurse","_period","_action","_state","_cancel","_scheduler","start","__super__","immediateScheduler","immediate","CurrentThreadScheduler","runTrampoline","queue","dequeue","si","enqueue","PriorityQueue","scheduleRequired","currentThread","localTimer","localSetTimeout","localClearTimeout","setTimeout","clearTimeout","WScript","time","Sleep","runTask","handle","currentlyRunning","task","tasksByHandle","postMessageSupported","postMessage","importScripts","isAsync","oldHandler","onmessage","nextHandle","reNative","RegExp","replace","setImmediate","test","process","nextTick","MSG_PREFIX","random","onGlobalPostMessage","data","substring","MessageChannel","channel","port1","port2","createElement","scriptElement","onreadystatechange","parentNode","removeChild","appendChild","DefaultScheduler","scheduleAction","ClearDisposable","_id","LocalClearDisposable","scheduleLongRunning","defaultScheduler","async","_handler","_recursiveOriginal","_recursiveWrapper","_wrap","_clone","res","_getRecursiveWrapper","wrapper","failed","state1","capacity","items","priorityProto","isHigherPriority","left","right","percolate","temp","heapify","peek","removeAt","Notification","_accept","onError","_acceptObserver","accept","observerOrOnNext","toObservable","notification","kind","OnNextNotification","OnErrorNotification","OnCompletedNotification","notificationCreateOnNext","createOnNext","notificationCreateOnError","createOnError","notificationCreateOnCompleted","createOnCompleted","Observer","toNotifier","asObserver","AnonymousObserver","checked","CheckedObserver","observerCreate","fromNotifier","cb","notifyOn","ObserveOnObserver","makeSafe","AnonymousSafeObserver","_onNext","_onError","_onCompleted","observableProto","AbstractObserver","isStopped","completed","fail","_observer","CheckedObserverPrototype","checkAccess","ScheduledObserver","isAcquired","hasFaulted","enqueueNext","enqueueError","enqueueCompleted","work","shift","ensureActive","isOwner","cancel","Observable","makeSubscribe","oldOnError","oldSubscribe","_subscribe","isObservable","oOrOnNext","subscribeOnNext","subscribeOnError","subscribeOnCompleted","ObservableBase","fixSubscriber","subscriber","ado","sub","subscribeCore","AutoDetachObserver","FlatMapObservable","selector","resultSelector","InnerObserver","_wrapResult","i2","observableFromPromise","from","Enumerable","ConcatEnumerableObservable","currentItem","currentValue","subscription","_recurse","CatchErrorObservable","lastError","RepeatEnumerable","v","RepeatEnumerator","l","enumerableRepeat","repeatCount","OfEnumerable","OfEnumerator","enumerableOf","of","ObserveOnObservable","observeOn","SubscribeOnObservable","m","subscribeOn","FromPromiseObservable","_p","scheduleNext","scheduleError","sad","fromPromise","promise","toPromise","promiseCtor","resolve","reject","ToArrayObservable","Defer","_f","observableThrow","EmptyObservable","defer","observableFactory","EmptySink","sink","run","EMPTY_OBSERVABLE","observableEmpty","FromObservable","iterable","_iterable","_fn","createScheduleMethod","list","charAt","observableFrom","mapFn","mapper","_args","observableFromArray","fromArray","GenerateObservable","cndFn","itrFn","resFn","_initialState","_cndFn","_itrFn","_resFn","newState","hasResult","generate","initialState","condition","iterate","NeverObservable","NEVER_OBSERVABLE","observableNever","never","ofWithScheduler","PairsObservable","_o","_keys","pairs","RangeObservable","rangeCount","loopRecursive","range","RepeatObservable","JustObservable","_value","ThrowObservable","just","_error","UsingObservable","obsFn","_obsFn","resource","using","resourceFactory","rightSource","leftSource","choiceL","choice","leftChoice","rightSubscription","choiceR","rightChoice","leftSubscription","leftSubscribe","rightSubscribe","acc","CatchObservable","d1","CatchObserver","handlerOrSecond","observableCatch","combineLatest","CombineLatestObservable","_params","_cb","subscriptions","hasValue","hasValueAll","values","CombineLatestObserver","notTheSame","j","observableConcat","ConcatObserver","ConcatObservable","_sources","concatAll","merge","MergeObservable","maxConcurrent","g","MergeObserver","q","activeCount","handleSubscribe","innerSource","maxConcurrentOrOther","observableMerge","mergeAll","MergeAllObservable","MergeAllObserver","CompositeError","errors","innerErrors","MergeDelayErrorObservable","MergeDelayErrorObserver","_group","setCompletion","inner","_inner","mergeDelayError","onErrorResumeNext","OnErrorResumeNextObservable","pos","OnErrorResumeNextObserver","cancellable","SkipUntilObservable","_open","SkipUntilSourceObserver","SkipUntilOtherObserver","_r","skipUntil","SwitchObservable","SwitchObserver","stopped","latest","hasLatest","switchLatest","TakeUntilObservable","TakeUntilObserver","takeUntil","WithLatestFromObservable","_ss","WithLatestFromOtherObserver","outerSad","WithLatestFromSourceObserver","allValues","withLatestFrom","ZipObservable","ZipObserver","_q","_d","shiftEach","queuedValues","zip","ZipIterableObservable","ZipIterableObserver","zipIterable","bufferWithCount","bufferCount","skip","windowWithCount","flatMap","DematerializeObservable","DematerializeObserver","dematerialize","DistinctUntilChangedObservable","keyFn","DistinctUntilChangedObserver","hasCurrentKey","currentKey","comparerEquals","distinctUntilChanged","TapObservable","_oN","_oE","_oC","tap","doAction","doOnNext","tapOnNext","doOnError","tapOnError","doOnCompleted","tapOnCompleted","FinallyObservable","FinallyDisposable","IgnoreElementsObservable","ignoreElements","MaterializeObservable","MaterializeObserver","materialize","retry","retryCount","RetryWhenObservable","createDisposable","notifier","_notifier","exceptions","Subject","handled","notificationDisposable","outer","exn","ex","retryWhen","RepeatWhenObservable","completions","repeatWhen","ScanObservable","accumulator","hasSeed","seed","ScanObserver","_hs","_ha","_hv","scan","SkipLastObservable","_c","SkipLastObserver","skipLast","startWith","TakeLastObserver","takeLast","TakeLastBufferObserver","takeLastBuffer","windowCount","createWindow","refCountDisposable","flatMapConcat","concatMap","concatMapObserver","selectConcatObserver","onNextFunc","onErrorFunc","onCompletedFunc","DefaultIfEmptyObserver","defaultIfEmpty","defaultValue","retValue","DistinctObservable","cmpFn","_keyFn","_cmpFn","DistinctObserver","_h","distinct","keySelector","MapObservable","innerMap","internalMap","select","selectorFn","pluck","selectMany","mergeMap","flatMapObserver","selectManyObserver","flatMapLatest","switchMap","SkipObservable","_count","SkipObserver","SkipWhileObservable","SkipWhileObserver","skipWhile","TakeObservable","TakeObserver","take","TakeWhileObservable","TakeWhileObserver","takeWhile","FilterObservable","innerPredicate","internalFilter","shouldYield","where","TransduceObserver","xform","_xform","transduce","transducer","__subscribe","AutoDetachObserverPrototype","InnerSubscription","observers","hasError","hasObservers","os","AnonymousSubject","AsyncSubject","define","amd"],"mappings":";CAEE,SAAUA,GAOV,QAASC,GAAYC,GACnB,MAAQA,IAASA,EAAMC,SAAWA,OAAUD,EAAQ,KA2CpD,QAASE,GAAWC,GAElB,IAAI,GADAC,GAAMD,EAAIE,OAAQC,EAAI,GAAIC,OAAMH,GAC5BI,EAAI,EAAOJ,EAAJI,EAASA,IAAOF,EAAEE,GAAKL,EAAIK,EAC1C,OAAOF,GAKX,QAASG,GAAcC,GACrB,MAAO,YACL,IACE,MAAOA,GAAeC,MAAMC,KAAMC,WAClC,MAAOC,GAEP,MADAC,IAASD,EAAIA,EACNC,KAUb,QAASC,GAAQF,GACf,KAAMA,GAYR,QAASG,GAAmBC,EAAOC,GAGjC,GAAIC,IACAD,EAAWE,OACM,gBAAVH,IACG,OAAVA,GACAA,EAAMG,OACwC,KAA9CH,EAAMG,MAAMC,QAAQC,IACtB,CAEA,IAAK,GADDC,MACKC,EAAIN,EAAcM,EAAGA,EAAIA,EAAEC,OAC9BD,EAAEJ,OACJG,EAAOG,QAAQF,EAAEJ,MAGrBG,GAAOG,QAAQT,EAAMG,MAErB,IAAIO,GAAiBJ,EAAOK,KAAK,KAAON,GAAuB,KAC/DL,GAAMG,MAAQS,EAAkBF,IAIpC,QAASE,GAAkBC,GAEzB,IAAK,GADDC,GAAQD,EAAYE,MAAM,MAAOC,KAC5B1B,EAAI,EAAGJ,EAAM4B,EAAM3B,OAAYD,EAAJI,EAASA,IAAK,CAChD,GAAI2B,GAAOH,EAAMxB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