1import { y as u } from "./chunk-xgti9j2t.js"; 2import { Pi as c, fi as a, gt as i, sr as d } from "./chunk-c97c17u8.js"; 3import { M as l } from "./chunk-l3jkbhly.js"; 4import { p as _ } from "./chunk-k52vj1ic.js"; 5import { o as p } from "./chunk-l24fzhmb.js"; 6import { A as C } from "./chunk-jrtaqqwj.js"; 7import { o as f, t as D } from "./chunk-pesy0vb6.js"; 8import { D as k, o as y } from "./chunk-llc8ry2a.js"; 9import { ut as P } from "./chunk-fbjoug0d.js"; 10import { a as g } from "./chunk-ewplex8i.js"; 11import { n as v } from "./chunk-c18gpzrj.js"; 12import { r as A } from "./chunk-c9rg1mp5.js"; 13import { t as V } from "./chunk-kyqvtgtk.js"; 14import { $ as B, X as M, Y as b, b as R, ft as S, gt as x, mt as I } from "./chunk-w0x32net.js"; 15import { d as n, p as L } from "./chunk-bhnvkbxx.js"; 16import { ot as w } from "./chunk-f2v2cgea.js"; 17import { c as O } from "./chunk-og5uebri.js"; 18import { Dn as U, jr as E } from "./chunk-go6pvd0a.js"; 19import { t as F } from "./chunk-k4et3zlq.js"; 20import { i as G, p as J } from "./chunk-hul0ult7.js"; 21import { n as T } from "./chunk-lmnwxprc.js"; 22import { r as X } from "./chunk-ilfhy0in.js"; 23import { n as q } from "./chunk-ohg30iel.js"; 24import { $ as W } from "./chunk-iuhjzybw.js"; 25import { t as Z } from "./chunk-o4f8w5yc.js"; 26function j() { 27 return [s, S(h)]; 28} 29var s, h; 30function m() { 31 return (m = Z((() => { 32 u(), c(), l(), _(), p(), C(), f(), k(), P(), g(), v(), A(), V(), y(), x(), L(), w(), b(), O(), E(), F(), J(), G(), T(), X(), q(), W(), U(), s = (() => { 33 let e = class { 34 constructor() { 35 this.apiService = i(R), this.user = i(n), this.mohDetailsEvents = new d(null); 36 } 37 get details() { 38 return this.mohDetailsEvents; 39 } 40 refresh(t = !0) { 41 this.loaded = !1, this.load(t); 42 } 43 load(t) { 44 this.user.isAuthenticated && !this.loaded && (this.loaded = !0, this.apiService.get("mohdetails", { cached: t }).subscribe((o) => this.mohDetailsEvents.next(o))); 45 } 46 }; 47 return e.UnauthMohDetails = { 48 comments: "", 49 countryCode: "", 50 exclDays: 0, 51 mohPrimaryProductCode: 0, 52 mohPrimaryReasonCode: 0, 53 mohPrimaryRiskBandCode: 0, 54 mohPrimaryToolCode: 0, 55 mohScore: 0, 56 processed: "", 57 vipUser: "" 58 }, e.ɵfac = function(r) { 59 return new (r || e)(); 60 }, e.ɵprov = a({ 61 token: e, 62 factory: e.ɵfac 63 }), e; 64 })(), h = (() => { 65 let e = class { 66 constructor() { 67 this.dslRecorderService = i(I), this.mohDetailsService = i(s), this.user = i(n), this.mohDetails = null, this.loaded = !1; 68 let t = i(M); 69 this.mohDetailsService.details.pipe(D()).subscribe((o) => { 70 this.mohDetails = o, t.invalidate(["mohDetails"]); 71 }); 72 } 73 getProviders() { 74 return { MohDetails: this.dslRecorderService.createRecordable("mohDetails").createProperty({ 75 name: "Comments", 76 get: () => this.getCurrentValue("comments"), 77 deps: ["mohDetails", "user.isAuthenticated"] 78 }).createProperty({ 79 name: "CountryCode", 80 get: () => this.getCurrentValue("countryCode"), 81 deps: ["mohDetails", "user.isAuthenticated"] 82 }).createProperty({ 83 name: "ExclDays", 84 get: () => this.getCurrentValue("exclDays"), 85 deps: ["mohDetails", "user.isAuthenticated"] 86 }).createProperty({ 87 name: "MohPrimaryProductCode", 88 get: () => this.getCurrentValue("mohPrimaryProductCode"), 89 deps: ["mohDetails", "user.isAuthenticated"] 90 }).createProperty({ 91 name: "MohPrimaryReasonCode", 92 get: () => this.getCurrentValue("mohPrimaryReasonCode"), 93 deps: ["mohDetails", "user.isAuthenticated"] 94 }).createProperty({ 95 name: "MohPrimaryRiskBandCode", 96 get: () => this.getCurrentValue("mohPrimaryRiskBandCode"), 97 deps: ["mohDetails", "user.isAuthenticated"] 98 }).createProperty({ 99 name: "MohPrimaryToolCode", 100 get: () => this.getCurrentValue("mohPrimaryToolCode"), 101 deps: ["mohDetails", "user.isAuthenticated"] 102 }).createProperty({ 103 name: "MohScore", 104 get: () => this.getCurrentValue("mohScore"), 105 deps: ["mohDetails", "user.isAuthenticated"] 106 }).createProperty({ 107 name: "Processed", 108 get: () => this.getCurrentValue("processed"), 109 deps: ["mohDetails", "user.isAuthenticated"] 110 }).createProperty({ 111 name: "VipUser", 112 get: () => this.getCurrentValue("vipUser"), 113 deps: ["mohDetails", "user.isAuthenticated"] 114 }) }; 115 } 116 getCurrentValue(t) { 117 return this.user.isAuthenticated ? (this.loaded || (this.loaded = !0, this.mohDetailsService.refresh()), this.mohDetails ? this.mohDetails[t] : B) : s.UnauthMohDetails[t]; 118 } 119 }; 120 return e.ɵfac = function(r) { 121 return new (r || e)(); 122 }, e.ɵprov = a({ 123 token: e, 124 factory: e.ɵfac 125 }), e; 126 })(); 127 })))(); 128} 129m(); 130export { j as provide }; 131 132//# sourceMappingURL=chunk-Dkpebhvrd.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.