1import { y as m } from "./chunk-xgti9j2t.js"; 2import { G as d, Pi as p, fi as r, gt as s, l as _, sr as f } from "./chunk-c97c17u8.js"; 3import { M as l } from "./chunk-l3jkbhly.js"; 4import { p as S } from "./chunk-k52vj1ic.js"; 5import { o as k } from "./chunk-l24fzhmb.js"; 6import { A as C } from "./chunk-jrtaqqwj.js"; 7import { o as v, t as a } from "./chunk-pesy0vb6.js"; 8import { D as U, o as g } from "./chunk-llc8ry2a.js"; 9import { ut as b } from "./chunk-fbjoug0d.js"; 10import { a as A } from "./chunk-ewplex8i.js"; 11import { n as D } from "./chunk-c18gpzrj.js"; 12import { r as B } from "./chunk-c9rg1mp5.js"; 13import { t as R } from "./chunk-kyqvtgtk.js"; 14import { $ as I, X as F, Y as P, b as w, ft as L, gt as V, mt as W } from "./chunk-w0x32net.js"; 15import { d as u, p as y } from "./chunk-bhnvkbxx.js"; 16import { ot as G } from "./chunk-f2v2cgea.js"; 17import { c as M } from "./chunk-og5uebri.js"; 18import { Dn as O, jr as j } from "./chunk-go6pvd0a.js"; 19import { t as x } from "./chunk-k4et3zlq.js"; 20import { i as J, p as X } from "./chunk-hul0ult7.js"; 21import { n as q } from "./chunk-lmnwxprc.js"; 22import { r as E } from "./chunk-ilfhy0in.js"; 23import { n as N } from "./chunk-ohg30iel.js"; 24import { $ as Y } from "./chunk-iuhjzybw.js"; 25import { t as z } from "./chunk-o4f8w5yc.js"; 26function H() { 27 return [L(c)]; 28} 29var o, c; 30function h() { 31 return (h = z((() => { 32 m(), p(), l(), S(), k(), C(), v(), U(), b(), A(), D(), B(), R(), g(), V(), y(), G(), P(), M(), j(), x(), X(), J(), q(), E(), N(), Y(), O(), o = (() => { 33 let i = class { 34 constructor() { 35 this.apiService = s(w), this.user = s(u), this.destroyRef = s(_), this.unAuthStatus = { 36 pendingWith: "", 37 isPending: !1 38 }, this.documentUplaodStatusEvents = new f(null), this.refreshSubject = new d(), this.refreshSubject.pipe(a(this.destroyRef)).subscribe((t) => { 39 this.load(t); 40 }); 41 } 42 get documentUplaodStatus() { 43 return this.documentUplaodStatusEvents; 44 } 45 refresh(t) { 46 this.refreshSubject.next(t); 47 } 48 load(t) { 49 this.user.isAuthenticated && this.apiService.get("documentUploadStatus", { 50 useCase: t.useCase, 51 cached: !!t.cached 52 }).subscribe((e) => { 53 this.documentUplaodStatusEvents.next({ 54 documentUploadStatus: e, 55 useCase: t.useCase 56 }); 57 }); 58 } 59 }; 60 return i.ɵfac = function(n) { 61 return new (n || i)(); 62 }, i.ɵprov = r({ 63 token: i, 64 factory: i.ɵfac, 65 providedIn: "root" 66 }), i; 67 })(), c = (() => { 68 let i = class { 69 constructor() { 70 this.dslRecorderService = s(W), this.dslCacheService = s(F), this.documentUploadStatusService = s(o), this.user = s(u), this.documentUploadStatus = {}; 71 let t = this.dslCacheService; 72 this.documentUploadStatusService.documentUplaodStatus.pipe(a()).subscribe((e) => { 73 e && (this.documentUploadStatus[e?.useCase] = e?.documentUploadStatus, t.invalidate(["documentUploadStatus"])); 74 }); 75 } 76 getProviders() { 77 return { DocumentUploadStatus: this.dslRecorderService.createRecordable("documentUploadStatus").createFunction({ 78 name: "IsPending", 79 get: (t) => this.getCurrentValue(t, "isPending"), 80 deps: ["documentUploadStatus", "user.isAuthenticated"] 81 }).createFunction({ 82 name: "PendingWith", 83 get: (t) => this.getCurrentValue(t, "pendingWith"), 84 deps: ["documentUploadStatus", "user.isAuthenticated"] 85 }) }; 86 } 87 getCurrentValue(t, e) { 88 return this.user.isAuthenticated ? (this.documentUploadStatus[t] || this.documentUploadStatusService.refresh({ 89 cached: !0, 90 useCase: t 91 }), this.documentUploadStatus[t] ? this.documentUploadStatus[t][e] : I) : this.documentUploadStatusService.unAuthStatus[e]; 92 } 93 }; 94 return i.ɵfac = function(n) { 95 return new (n || i)(); 96 }, i.ɵprov = r({ 97 token: i, 98 factory: i.ɵfac 99 }), i; 100 })(); 101 })))(); 102} 103h(); 104export { H as provide }; 105 106//# sourceMappingURL=chunk-jvbzlxxf.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.