Kargi-Sitesi/.angular/cache/18.2.11/babel-webpack/d6142af509d2cb2544f50bf767a5102eee1ef3bd432dc2d51e083221be00fece.json

1 line
3.3 KiB
JSON
Raw Normal View History

2024-10-31 19:07:58 +00:00
{"ast":null,"code":"import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function buffer(closingNotifier) {\n return function bufferOperatorFunction(source) {\n return source.lift(new BufferOperator(closingNotifier));\n };\n}\nclass BufferOperator {\n constructor(closingNotifier) {\n this.closingNotifier = closingNotifier;\n }\n call(subscriber, source) {\n return source.subscribe(new BufferSubscriber(subscriber, this.closingNotifier));\n }\n}\nclass BufferSubscriber extends SimpleOuterSubscriber {\n constructor(destination, closingNotifier) {\n super(destination);\n this.buffer = [];\n this.add(innerSubscribe(closingNotifier, new SimpleInnerSubscriber(this)));\n }\n _next(value) {\n this.buffer.push(value);\n }\n notifyNext() {\n const buffer = this.buffer;\n this.buffer = [];\n this.destination.next(buffer);\n }\n}","map":{"version":3,"names":["SimpleOuterSubscriber","innerSubscribe","SimpleInnerSubscriber","buffer","closingNotifier","bufferOperatorFunction","source","lift","BufferOperator","constructor","call","subscriber","subscribe","BufferSubscriber","destination","add","_next","value","push","notifyNext","next"],"sources":["/home/arctichawk1/Desktop/Projects/Public/Kargi-Sitesi/node_modules/rxjs/_esm2015/internal/operators/buffer.js"],"sourcesContent":["import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function buffer(closingNotifier) {\n return function bufferOperatorFunction(source) {\n return source.lift(new BufferOperator(closingNotifier));\n };\n}\nclass BufferOperator {\n constructor(closingNotifier) {\n this.closingNotifier = closingNotifier;\n }\n call(subscriber, source) {\n return source.subscribe(new BufferSubscriber(subscriber, this.closingNotifier));\n }\n}\nclass BufferSubscriber extends SimpleOuterSubscriber {\n constructor(destination, closingNotifier) {\n super(destination);\n this.buffer = [];\n this.add(innerSubscribe(closingNotifier, new SimpleInnerSubscriber(this)));\n }\n _next(value) {\n this.buffer.push(value);\n }\n notifyNext() {\n const buffer = this.buffer;\n this.buffer = [];\n this.destination.next(buffer);\n }\n}\n"],"mappings":"AAAA,SAASA,qBAAqB,EAAEC,cAAc,EAAEC,qBAAqB,QAAQ,mBAAmB;AAChG,OAAO,SAASC,MAAMA,CAACC,eAAe,EAAE;EACpC,OAAO,SAASC,sBAAsBA,CAACC,MAAM,EAAE;IAC3C,OAAOA,MAAM,CAACC,IAAI,CAAC,IAAIC,cAAc,CAACJ,eAAe,CAAC,CAAC;EAC3D,CAAC;AACL;AACA,MAAMI,cAAc,CAAC;EACjBC,WAAWA,CAACL,eAAe,EAAE;IACzB,IAAI,CAACA,eAAe,GAAGA,eAAe;EAC1C;EACAM,IAAIA,CAACC,UAAU,EAAEL,MAAM,EAAE;IACrB,OAAOA,MAAM,CAACM,SAAS,CAAC,IAAIC,gBAAgB,CAACF,UAAU,EAAE,IAAI,CAACP,eAAe,CAAC,CAAC;EACnF;AACJ;AACA,MAAMS,gBAAgB,SAASb,qBAAqB,CAAC;EACjDS,WAAWA,CAACK,WAAW,EAAEV,eAAe,EAAE;IACtC,KAAK,CAACU,WAAW,CAAC;IAClB,IAAI,CAACX,MAAM,GAAG,EAAE;IAChB,IAAI,CAACY,GAAG,CAACd,cAAc,CAACG,eAAe,EAAE,IAAIF,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC;EAC9E;EACAc,KAAKA,CAACC,KAAK,EAAE;IACT,IAAI,CAACd,MAAM,CAACe,IAAI,CAACD,KAAK,CAAC;EAC3B;EACAE,UAAUA,CAAA,EAAG;IACT,MAAMhB,MAAM,GAAG,IAAI,CAACA,MAAM;IAC1B,IAAI,CAACA,MAAM,GAAG,EAAE;IAChB,IAAI,CAACW,WAAW,CAACM,IAAI,CAACjB,MAAM,CAAC;EACjC;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}