Kargi-Sitesi/.angular/cache/16.2.16/babel-webpack/1de0a0e2896e43c19ef433fdc422035a11bb42f3d945055ccbe62331da04a939.json

1 line
4.5 KiB
JSON
Raw Normal View History

2024-10-31 19:07:58 +00:00
{"ast":null,"code":"import { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function catchError(selector) {\n return function catchErrorOperatorFunction(source) {\n const operator = new CatchOperator(selector);\n const caught = source.lift(operator);\n return operator.caught = caught;\n };\n}\nclass CatchOperator {\n constructor(selector) {\n this.selector = selector;\n }\n call(subscriber, source) {\n return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));\n }\n}\nclass CatchSubscriber extends SimpleOuterSubscriber {\n constructor(destination, selector, caught) {\n super(destination);\n this.selector = selector;\n this.caught = caught;\n }\n error(err) {\n if (!this.isStopped) {\n let result;\n try {\n result = this.selector(err, this.caught);\n } catch (err2) {\n super.error(err2);\n return;\n }\n this._unsubscribeAndRecycle();\n const innerSubscriber = new SimpleInnerSubscriber(this);\n this.add(innerSubscriber);\n const innerSubscription = innerSubscribe(result, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n this.add(innerSubscription);\n }\n }\n }\n}","map":{"version":3,"names":["SimpleOuterSubscriber","SimpleInnerSubscriber","innerSubscribe","catchError","selector","catchErrorOperatorFunction","source","operator","CatchOperator","caught","lift","constructor","call","subscriber","subscribe","CatchSubscriber","destination","error","err","isStopped","result","err2","_unsubscribeAndRecycle","innerSubscriber","add","innerSubscription"],"sources":["/home/arctichawk1/Desktop/Projects/Public/Kargi-Sitesi/node_modules/rxjs/_esm2015/internal/operators/catchError.js"],"sourcesContent":["import { SimpleOuterSubscriber, SimpleInnerSubscriber, innerSubscribe } from '../innerSubscribe';\nexport function catchError(selector) {\n return function catchErrorOperatorFunction(source) {\n const operator = new CatchOperator(selector);\n const caught = source.lift(operator);\n return (operator.caught = caught);\n };\n}\nclass CatchOperator {\n constructor(selector) {\n this.selector = selector;\n }\n call(subscriber, source) {\n return source.subscribe(new CatchSubscriber(subscriber, this.selector, this.caught));\n }\n}\nclass CatchSubscriber extends SimpleOuterSubscriber {\n constructor(destination, selector, caught) {\n super(destination);\n this.selector = selector;\n this.caught = caught;\n }\n error(err) {\n if (!this.isStopped) {\n let result;\n try {\n result = this.selector(err, this.caught);\n }\n catch (err2) {\n super.error(err2);\n return;\n }\n this._unsubscribeAndRecycle();\n const innerSubscriber = new SimpleInnerSubscriber(this);\n this.add(innerSubscriber);\n const innerSubscription = innerSubscribe(result, innerSubscriber);\n if (innerSubscription !== innerSubscriber) {\n this.add(innerSubscription);\n }\n }\n }\n}\n"],"mappings":"AAAA,SAASA,qBAAqB,EAAEC,qBAAqB,EAAEC,cAAc,QAAQ,mBAAmB;AAChG,OAAO,SAASC,UAAUA,CAACC,QAAQ,EAAE;EACjC,OAAO,SAASC,0BAA0BA,CAACC,MAAM,EAAE;IAC/C,MAAMC,QAAQ,GAAG,IAAIC,aAAa,CAACJ,QAAQ,CAAC;IAC5C,MAAMK,MAAM,GAAGH,MAAM,CAACI,IAAI,CAACH,QAAQ,CAAC;IACpC,OAAQA,QAAQ,CAACE,MAAM,GAAGA,MAAM;EACpC,CAAC;AACL;AACA,MAAMD,aAAa,CAAC;EAChBG,WAAWA,CAACP,QAAQ,EAAE;IAClB,IAAI,CAACA,QAAQ,GAAGA,QAAQ;EAC5B;EACAQ,IAAIA,CAACC,UAAU,EAAEP,MAAM,EAAE;IACrB,OAAOA,MAAM,CAACQ,SAAS,CAAC,IAAIC,eAAe,CAACF,UAAU,EAAE,IAAI,CAACT,QAAQ,EAAE,IAAI,CAACK,MAAM,CAAC,CAAC;EACxF;AACJ;AACA,MAAMM,eAAe,SAASf,qBAAqB,CAAC;EAChDW,WAAWA,CAACK,WAAW,EAAEZ,QAAQ,EAAEK,MAAM,EAAE;IACvC,KAAK,CAACO,WAAW,CAAC;IAClB,IAAI,CAACZ,QAAQ,GAAGA,QAAQ;IACxB,IAAI,CAACK,MAAM,GAAGA,MAAM;EACxB;EACAQ,KAAKA,CAACC,GAAG,EAAE;IACP,IAAI,CAAC,IAAI,CAACC,SAAS,EAAE;MACjB,IAAIC,MAAM;MACV,IAAI;Q