ng-implementation/implem/.angular/cache/20.1.4/babel-webpack/dc2c8adf9913ec27d226a36055868762.json
2025-08-19 12:05:42 +02:00

1 line
No EOL
2.9 KiB
JSON

{"ast":null,"code":"import { async } from '../scheduler/async';\nimport { isValidDate } from '../util/isDate';\nimport { timeout } from './timeout';\nexport function timeoutWith(due, withObservable, scheduler) {\n var first;\n var each;\n var _with;\n scheduler = scheduler !== null && scheduler !== void 0 ? scheduler : async;\n if (isValidDate(due)) {\n first = due;\n } else if (typeof due === 'number') {\n each = due;\n }\n if (withObservable) {\n _with = function () {\n return withObservable;\n };\n } else {\n throw new TypeError('No observable provided to switch to');\n }\n if (first == null && each == null) {\n throw new TypeError('No timeout provided.');\n }\n return timeout({\n first: first,\n each: each,\n scheduler: scheduler,\n with: _with\n });\n}\n//# sourceMappingURL=timeoutWith.js.map","map":{"version":3,"names":["async","isValidDate","timeout","timeoutWith","due","withObservable","scheduler","first","each","_with","TypeError","with"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/node_modules/rxjs/dist/esm5/internal/operators/timeoutWith.js"],"sourcesContent":["import { async } from '../scheduler/async';\nimport { isValidDate } from '../util/isDate';\nimport { timeout } from './timeout';\nexport function timeoutWith(due, withObservable, scheduler) {\n var first;\n var each;\n var _with;\n scheduler = scheduler !== null && scheduler !== void 0 ? scheduler : async;\n if (isValidDate(due)) {\n first = due;\n }\n else if (typeof due === 'number') {\n each = due;\n }\n if (withObservable) {\n _with = function () { return withObservable; };\n }\n else {\n throw new TypeError('No observable provided to switch to');\n }\n if (first == null && each == null) {\n throw new TypeError('No timeout provided.');\n }\n return timeout({\n first: first,\n each: each,\n scheduler: scheduler,\n with: _with,\n });\n}\n//# sourceMappingURL=timeoutWith.js.map"],"mappings":"AAAA,SAASA,KAAK,QAAQ,oBAAoB;AAC1C,SAASC,WAAW,QAAQ,gBAAgB;AAC5C,SAASC,OAAO,QAAQ,WAAW;AACnC,OAAO,SAASC,WAAWA,CAACC,GAAG,EAAEC,cAAc,EAAEC,SAAS,EAAE;EACxD,IAAIC,KAAK;EACT,IAAIC,IAAI;EACR,IAAIC,KAAK;EACTH,SAAS,GAAGA,SAAS,KAAK,IAAI,IAAIA,SAAS,KAAK,KAAK,CAAC,GAAGA,SAAS,GAAGN,KAAK;EAC1E,IAAIC,WAAW,CAACG,GAAG,CAAC,EAAE;IAClBG,KAAK,GAAGH,GAAG;EACf,CAAC,MACI,IAAI,OAAOA,GAAG,KAAK,QAAQ,EAAE;IAC9BI,IAAI,GAAGJ,GAAG;EACd;EACA,IAAIC,cAAc,EAAE;IAChBI,KAAK,GAAG,SAAAA,CAAA,EAAY;MAAE,OAAOJ,cAAc;IAAE,CAAC;EAClD,CAAC,MACI;IACD,MAAM,IAAIK,SAAS,CAAC,qCAAqC,CAAC;EAC9D;EACA,IAAIH,KAAK,IAAI,IAAI,IAAIC,IAAI,IAAI,IAAI,EAAE;IAC/B,MAAM,IAAIE,SAAS,CAAC,sBAAsB,CAAC;EAC/C;EACA,OAAOR,OAAO,CAAC;IACXK,KAAK,EAAEA,KAAK;IACZC,IAAI,EAAEA,IAAI;IACVF,SAAS,EAAEA,SAAS;IACpBK,IAAI,EAAEF;EACV,CAAC,CAAC;AACN;AACA","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}