Kargi-Sitesi/.angular/cache/16.2.16/babel-webpack/328027f8bebe6a632564eff23946901f55afa4ebb4a09fc4868cc4c676b3c4c7.json

1 line
No EOL
3.5 KiB
JSON

{"ast":null,"code":"import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function exhaust() {\n return source => source.lift(new SwitchFirstOperator());\n}\nclass SwitchFirstOperator {\n call(subscriber, source) {\n return source.subscribe(new SwitchFirstSubscriber(subscriber));\n }\n}\nclass SwitchFirstSubscriber extends SimpleOuterSubscriber {\n constructor(destination) {\n super(destination);\n this.hasCompleted = false;\n this.hasSubscription = false;\n }\n _next(value) {\n if (!this.hasSubscription) {\n this.hasSubscription = true;\n this.add(innerSubscribe(value, new SimpleInnerSubscriber(this)));\n }\n }\n _complete() {\n this.hasCompleted = true;\n if (!this.hasSubscription) {\n this.destination.complete();\n }\n }\n notifyComplete() {\n this.hasSubscription = false;\n if (this.hasCompleted) {\n this.destination.complete();\n }\n }\n}","map":{"version":3,"names":["SimpleOuterSubscriber","innerSubscribe","SimpleInnerSubscriber","exhaust","source","lift","SwitchFirstOperator","call","subscriber","subscribe","SwitchFirstSubscriber","constructor","destination","hasCompleted","hasSubscription","_next","value","add","_complete","complete","notifyComplete"],"sources":["/home/arctichawk1/Desktop/Projects/Public/Kargi-Sitesi/node_modules/rxjs/_esm2015/internal/operators/exhaust.js"],"sourcesContent":["import { SimpleOuterSubscriber, innerSubscribe, SimpleInnerSubscriber } from '../innerSubscribe';\nexport function exhaust() {\n return (source) => source.lift(new SwitchFirstOperator());\n}\nclass SwitchFirstOperator {\n call(subscriber, source) {\n return source.subscribe(new SwitchFirstSubscriber(subscriber));\n }\n}\nclass SwitchFirstSubscriber extends SimpleOuterSubscriber {\n constructor(destination) {\n super(destination);\n this.hasCompleted = false;\n this.hasSubscription = false;\n }\n _next(value) {\n if (!this.hasSubscription) {\n this.hasSubscription = true;\n this.add(innerSubscribe(value, new SimpleInnerSubscriber(this)));\n }\n }\n _complete() {\n this.hasCompleted = true;\n if (!this.hasSubscription) {\n this.destination.complete();\n }\n }\n notifyComplete() {\n this.hasSubscription = false;\n if (this.hasCompleted) {\n this.destination.complete();\n }\n }\n}\n"],"mappings":"AAAA,SAASA,qBAAqB,EAAEC,cAAc,EAAEC,qBAAqB,QAAQ,mBAAmB;AAChG,OAAO,SAASC,OAAOA,CAAA,EAAG;EACtB,OAAQC,MAAM,IAAKA,MAAM,CAACC,IAAI,CAAC,IAAIC,mBAAmB,CAAC,CAAC,CAAC;AAC7D;AACA,MAAMA,mBAAmB,CAAC;EACtBC,IAAIA,CAACC,UAAU,EAAEJ,MAAM,EAAE;IACrB,OAAOA,MAAM,CAACK,SAAS,CAAC,IAAIC,qBAAqB,CAACF,UAAU,CAAC,CAAC;EAClE;AACJ;AACA,MAAME,qBAAqB,SAASV,qBAAqB,CAAC;EACtDW,WAAWA,CAACC,WAAW,EAAE;IACrB,KAAK,CAACA,WAAW,CAAC;IAClB,IAAI,CAACC,YAAY,GAAG,KAAK;IACzB,IAAI,CAACC,eAAe,GAAG,KAAK;EAChC;EACAC,KAAKA,CAACC,KAAK,EAAE;IACT,IAAI,CAAC,IAAI,CAACF,eAAe,EAAE;MACvB,IAAI,CAACA,eAAe,GAAG,IAAI;MAC3B,IAAI,CAACG,GAAG,CAAChB,cAAc,CAACe,KAAK,EAAE,IAAId,qBAAqB,CAAC,IAAI,CAAC,CAAC,CAAC;IACpE;EACJ;EACAgB,SAASA,CAAA,EAAG;IACR,IAAI,CAACL,YAAY,GAAG,IAAI;IACxB,IAAI,CAAC,IAAI,CAACC,eAAe,EAAE;MACvB,IAAI,CAACF,WAAW,CAACO,QAAQ,CAAC,CAAC;IAC/B;EACJ;EACAC,cAAcA,CAAA,EAAG;IACb,IAAI,CAACN,eAAe,GAAG,KAAK;IAC5B,IAAI,IAAI,CAACD,YAAY,EAAE;MACnB,IAAI,CAACD,WAAW,CAACO,QAAQ,CAAC,CAAC;IAC/B;EACJ;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}