1 line
2.6 KiB
JSON
1 line
2.6 KiB
JSON
![]() |
{"ast":null,"code":"import { createOperatorSubscriber } from './OperatorSubscriber';\nexport function scanInternals(accumulator, seed, hasSeed, emitOnNext, emitBeforeComplete) {\n return function (source, subscriber) {\n var hasState = hasSeed;\n var state = seed;\n var index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n var i = index++;\n state = hasState ? accumulator(state, value, i) : (hasState = true, value);\n emitOnNext && subscriber.next(state);\n }, emitBeforeComplete && function () {\n hasState && subscriber.next(state);\n subscriber.complete();\n }));\n };\n}\n//# sourceMappingURL=scanInternals.js.map","map":{"version":3,"names":["createOperatorSubscriber","scanInternals","accumulator","seed","hasSeed","emitOnNext","emitBeforeComplete","source","subscriber","hasState","state","index","subscribe","value","i","next","complete"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/scanInternals.js"],"sourcesContent":["import { createOperatorSubscriber } from './OperatorSubscriber';\nexport function scanInternals(accumulator, seed, hasSeed, emitOnNext, emitBeforeComplete) {\n return function (source, subscriber) {\n var hasState = hasSeed;\n var state = seed;\n var index = 0;\n source.subscribe(createOperatorSubscriber(subscriber, function (value) {\n var i = index++;\n state = hasState\n ?\n accumulator(state, value, i)\n :\n ((hasState = true), value);\n emitOnNext && subscriber.next(state);\n }, emitBeforeComplete &&\n (function () {\n hasState && subscriber.next(state);\n subscriber.complete();\n })));\n };\n}\n//# sourceMappingURL=scanInternals.js.map"],"mappings":"AAAA,SAASA,wBAAwB,QAAQ,sBAAsB;AAC/D,OAAO,SAASC,aAAaA,CAACC,WAAW,EAAEC,IAAI,EAAEC,OAAO,EAAEC,UAAU,EAAEC,kBAAkB,EAAE;EACtF,OAAO,UAAUC,MAAM,EAAEC,UAAU,EAAE;IACjC,IAAIC,QAAQ,GAAGL,OAAO;IACtB,IAAIM,KAAK,GAAGP,IAAI;IAChB,IAAIQ,KAAK,GAAG,CAAC;IACbJ,MAAM,CAACK,SAAS,CAACZ,wBAAwB,CAACQ,UAAU,EAAE,UAAUK,KAAK,EAAE;MACnE,IAAIC,CAAC,GAAGH,KAAK,EAAE;MACfD,KAAK,GAAGD,QAAQ,GAERP,WAAW,CAACQ,KAAK,EAAEG,KAAK,EAAEC,CAAC,CAAC,IAE1BL,QAAQ,GAAG,IAAI,EAAGI,KAAK,CAAC;MAClCR,UAAU,IAAIG,UAAU,CAACO,IAAI,CAACL,KAAK,CAAC;IACxC,CAAC,EAAEJ,kBAAkB,IAChB,YAAY;MACTG,QAAQ,IAAID,UAAU,CAACO,IAAI,CAACL,KAAK,CAAC;MAClCF,UAAU,CAACQ,QAAQ,CAAC,CAAC;IACzB,CAAE,CAAC,CAAC;EACZ,CAAC;AACL;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|