1import { y as a } from "./chunk-xgti9j2t.js"; 2import { Pi as _, fi as e, gt as r, sr as h } from "./chunk-c97c17u8.js"; 3import { M as m } from "./chunk-l3jkbhly.js"; 4import { p as d } from "./chunk-k52vj1ic.js"; 5import { o as p } from "./chunk-l24fzhmb.js"; 6import { A as f } from "./chunk-jrtaqqwj.js"; 7import { o as k, t as l } from "./chunk-pesy0vb6.js"; 8import { D as v, o as C } from "./chunk-llc8ry2a.js"; 9import { ut as A } from "./chunk-fbjoug0d.js"; 10import { a as D } from "./chunk-ewplex8i.js"; 11import { n as b } from "./chunk-c18gpzrj.js"; 12import { r as g } from "./chunk-c9rg1mp5.js"; 13import { t as B } from "./chunk-kyqvtgtk.js"; 14import { X as S, Y as R, b as I, ft as O, gt as V, mt as w } from "./chunk-ldkhjowa.js"; 15import { d as F, p as L } from "./chunk-bhnvkbxx.js"; 16import { ot as M } from "./chunk-f2v2cgea.js"; 17import { c as X } from "./chunk-mnbyc2sm.js"; 18import { Dn as x, jr as y } from "./chunk-gacv0pfq.js"; 19import { t as E } from "./chunk-k4et3zlq.js"; 20import { i as G, p as J } from "./chunk-hul0ult7.js"; 21import { n as P } from "./chunk-lmnwxprc.js"; 22import { r as Y } from "./chunk-ilfhy0in.js"; 23import { n as q } from "./chunk-ohg30iel.js"; 24import { $ as K } from "./chunk-iuhjzybw.js"; 25import { t as N } from "./chunk-o4f8w5yc.js"; 26function H() { 27 return [O(s)]; 28} 29var c, s; 30function u() { 31 return (u = N((() => { 32 a(), _(), m(), d(), p(), f(), k(), v(), A(), D(), b(), g(), B(), C(), V(), L(), M(), R(), X(), y(), E(), J(), G(), P(), Y(), q(), K(), x(), c = (() => { 33 let t = class { 34 constructor() { 35 this.apiService = r(I), this.loaded = !1, this.countEvents = new h(null); 36 } 37 get count() { 38 return this.countEvents; 39 } 40 load() { 41 this.loaded || (this.loaded = !0, this.apiService.get("connectedaccounts/count").subscribe((i) => { 42 this.countEvents.next(i.count); 43 })); 44 } 45 }; 46 return t.ɵfac = function(n) { 47 return new (n || t)(); 48 }, t.ɵprov = e({ 49 token: t, 50 factory: t.ɵfac, 51 providedIn: "root" 52 }), t; 53 })(), s = (() => { 54 let t = class { 55 constructor() { 56 this.dslRecorderService = r(w), this.connectedAccountsService = r(c), this.user = r(F), this.count = null, this.loaded = !1; 57 let i = r(S); 58 this.connectedAccountsService.count.pipe(l()).subscribe((o) => { 59 this.count = o, i.invalidate(["connectedAccounts"]); 60 }); 61 } 62 getProviders() { 63 return { ConnectedAccounts: this.dslRecorderService.createRecordable("connectedAccounts").createProperty({ 64 name: "Count", 65 get: () => this.getCurrentValue(() => this.count ?? "__DSL_NOT_READY__"), 66 deps: ["connectedAccounts", "user.isAuthenticated"] 67 }) }; 68 } 69 getCurrentValue(i, o = 0) { 70 return this.user.isAuthenticated ? (this.loaded || (this.loaded = !0, this.connectedAccountsService.load()), i()) : o; 71 } 72 }; 73 return t.ɵfac = function(n) { 74 return new (n || t)(); 75 }, t.ɵprov = e({ 76 token: t, 77 factory: t.ɵfac 78 }), t; 79 })(); 80 })))(); 81} 82u(); 83export { H as provide }; 84 85//# sourceMappingURL=chunk-eo3b3bfh.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.