1import { g as L, y as T } from "./chunk-xgti9j2t.js"; 2import { $ as C, Ai as M, Ea as c, Ei as y, Hn as F, Jr as $, Li as u, Pi as j, Pt as s, Sa as p, Sn as _, Sr as D, To as g, Ui as d, Y as m, fa as v, fi as k, fr as w, gt as o, la as q, nt as J, oi as A, ri as r, t as B, tn as l, wa as S, wr as P, xi as z, zo as E } from "./chunk-c97c17u8.js"; 3import { M as G } from "./chunk-l3jkbhly.js"; 4import { p as X } from "./chunk-k52vj1ic.js"; 5import { o as W } from "./chunk-l24fzhmb.js"; 6import { A as Y } from "./chunk-jrtaqqwj.js"; 7import { o as K } from "./chunk-pesy0vb6.js"; 8import { D as V, o as Q } from "./chunk-llc8ry2a.js"; 9import { j as Z, ut as U } from "./chunk-fbjoug0d.js"; 10import { a as tt } from "./chunk-ewplex8i.js"; 11import { n as nt } from "./chunk-c18gpzrj.js"; 12import { r as it } from "./chunk-c9rg1mp5.js"; 13import { t as et } from "./chunk-kyqvtgtk.js"; 14import { Y as st, gt as ot, l as I, z as rt } from "./chunk-w0x32net.js"; 15import { p as at } from "./chunk-bhnvkbxx.js"; 16import { ot as ct } from "./chunk-f2v2cgea.js"; 17import { c as ut } from "./chunk-og5uebri.js"; 18import { Dn as pt, jr as _t, l as mt, mn as lt } from "./chunk-go6pvd0a.js"; 19import { n as ft, t as ht } from "./chunk-k4et3zlq.js"; 20import { i as dt, p as vt } from "./chunk-hul0ult7.js"; 21import { n as kt } from "./chunk-lmnwxprc.js"; 22import { n as St, r as bt, t as Ct } from "./chunk-ilfhy0in.js"; 23import { n as yt, r as Dt } from "./chunk-ohg30iel.js"; 24import { $ as gt, E as wt, st as N, ut as At } from "./chunk-iuhjzybw.js"; 25import { r as Bt } from "./chunk-i1knml6i.js"; 26import { r as Et, t as It } from "./chunk-bt0uh5ix.js"; 27import { n as Nt } from "./chunk-bh3f6w1f.js"; 28import { i as xt } from "./chunk-eoj30x9t.js"; 29import { n as Ht, t as Ot } from "./chunk-bwsrvyqb.js"; 30import { A as Rt, L as Lt, M as Tt, l as Mt, lt as Ft, o as $t, q as jt, r as qt } from "./chunk-g8mtbi19.js"; 31import { $n as Jt } from "./chunk-iq8thase.js"; 32import { t as Pt } from "./chunk-o4f8w5yc.js"; 33function zt(t) { 34 return t.get(f); 35} 36function Gt(t, n) { 37 if (t & 1 && (_(0, "div", 6), r(1, "vnCurrency"), r(2, "format"), r(3, "trustAsHtml"), _(4, "div", 7), r(5, "trustAsHtml")), t & 2) { 38 let i = n, e = p(2); 39 l("innerHtml", S(3, 8, y(2, 5, i.depositAmount, y(1, 2, e.depositSessionEvent().cumulativeAmount, e.depositSessionEvent().currency))), d), s(4), l("innerHtml", S(5, 10, i.text), d); 40 } 41} 42function Xt(t, n) { 43 if (t & 1) { 44 let i = D(); 45 c(0, "button", 8), B("click", function() { 46 return w(i), E(p(2).continueSession()); 47 }), C(1), v(); 48 } 49 t & 2 && (s(), A(" ", n.text, " ")); 50} 51function Wt(t, n) { 52 if (t & 1) { 53 let i = D(); 54 c(0, "button", 9), B("click", function() { 55 return w(i), E(p(2).finishSession()); 56 }), C(1), v(); 57 } 58 t & 2 && (s(), A(" ", n.text, " ")); 59} 60function Yt(t, n) { 61 if (t & 1 && (_(0, "vn-header-bar", 0), c(1, "div", 1), _(2, "div", 2), r(3, "trustAsHtml"), m(4, Gt, 6, 12), c(5, "div", 3), m(6, Xt, 2, 1, "button", 4), m(7, Wt, 2, 1, "button", 5), v()()), t & 2) { 62 let i, e, a, h = n, b = p(); 63 l("showBack", !1)("showClose", !1)("title", h.title), s(2), l("innerHtml", S(3, 7, h.text), d), s(2), u((i = h.messages) ? 4 : -1, i), s(2), u((e = b.depositSessionConfig.continueSessionButton) ? 6 : -1, e), s(), u((a = b.depositSessionConfig.finishButton) ? 7 : -1, a); 64 } 65} 66function Kt() { 67 return [lt(O)]; 68} 69var f, x, H, O; 70function R() { 71 return (R = Pt((() => { 72 T(), j(), G(), X(), W(), Y(), K(), V(), U(), tt(), nt(), it(), et(), Q(), ot(), at(), ct(), st(), ut(), _t(), ht(), vt(), dt(), kt(), bt(), yt(), gt(), pt(), Bt(), It(), Nt(), xt(), Ot(), Ft(), jt(), Lt(), Rt(), Mt(), $t(), Jt(), q(), f = (() => { 73 var t = class extends St {}; 74 let n = (t.ɵfac = (() => { 75 let i; 76 return function(e) { 77 return (i || (i = M(t)))(e || t); 78 }; 79 })(), t.ɵprov = k({ 80 token: t, 81 factory: function(i) { 82 let e = null; 83 return i ? e = new i() : e = zt($(Ct)), e; 84 }, 85 providedIn: "root" 86 }), t); 87 return n = P([ft({ 88 key: "vnDepositSession", 89 product: Z.SF 90 })], n), n; 91 })(), x = (() => { 92 let t = class { 93 constructor() { 94 this.depositSessionEvent = z.required(), this.depositSessionConfig = o(f), this.nativeAppService = o(rt), this.overlayRef = o(N); 95 } 96 continueSession() { 97 this.nativeAppService.sendToNative({ eventName: I.SESSION_CONTINUE }), this.overlayRef.detach(); 98 } 99 finishSession() { 100 this.nativeAppService.sendToNative({ eventName: I.SESSION_EXIT }), this.overlayRef.detach(); 101 } 102 }; 103 return t.ɵfac = function(n) { 104 return new (n || t)(); 105 }, t.ɵcmp = F({ 106 type: t, 107 selectors: [["vn-deposit-session-overlay"]], 108 inputs: { depositSessionEvent: [1, "depositSessionEvent"] }, 109 decls: 1, 110 vars: 1, 111 consts: [ 112 [ 113 1, 114 "vn-deposit-session-panel__header", 115 3, 116 "showBack", 117 "showClose", 118 "title" 119 ], 120 [ 121 1, 122 "vn-deposit-session-panel__container", 123 "overlay-content", 124 "text-center" 125 ], 126 [ 127 1, 128 "vn-deposit-session-panel__sub-title", 129 3, 130 "innerHtml" 131 ], 132 [ 133 1, 134 "form-element", 135 "btn-container", 136 "d-flex", 137 "flex-column", 138 "vn-deposit-session-panel__btn-container" 139 ], 140 [ 141 1, 142 "btn", 143 "btn-primary", 144 "btn-lg" 145 ], 146 [ 147 1, 148 "btn", 149 "btn-light", 150 "btn-lg", 151 "btn-outline-primary" 152 ], 153 [ 154 1, 155 "vn-deposit-session-panel__deposit-amount", 156 3, 157 "innerHtml" 158 ], 159 [ 160 1, 161 "vn-deposit-session-panel__text", 162 3, 163 "innerHtml" 164 ], 165 [ 166 1, 167 "btn", 168 "btn-primary", 169 "btn-lg", 170 3, 171 "click" 172 ], 173 [ 174 1, 175 "btn", 176 "btn-light", 177 "btn-lg", 178 "btn-outline-primary", 179 3, 180 "click" 181 ] 182 ], 183 template: function(n, i) { 184 if (n & 1 && m(0, Yt, 8, 9), n & 2) { 185 let e; 186 u((e = i.depositSessionConfig.content) ? 0 : -1, e); 187 } 188 }, 189 dependencies: [ 190 wt, 191 Tt, 192 Dt, 193 Ht, 194 qt 195 ], 196 encapsulation: 2 197 }), t; 198 }
198)(), H = (() => { 199 let t = class { 200 constructor() { 201 this.injector = o(g), this.overlay = o(Et); 202 } 203 show(i) { 204 if (this.currentRef) return; 205 let e = this.overlay.create({ panelClass: ["vn-deposit-session-panel", "vn-dialog-container"] }); 206 e.detachments().subscribe(() => { 207 this.overlay.dispose(e), this.currentRef = null; 208 }); 209 let a = new At(x, null, g.create({ 210 providers: [{ 211 provide: N, 212 useValue: e 213 }], 214 parent: this.injector 215 })); 216 e.attach(a).setInput("depositSessionEvent", i), this.currentRef = e; 217 } 218 }; 219 return t.ɵfac = function(n) { 220 return new (n || t)(); 221 }, t.ɵprov = k({ 222 token: t, 223 factory: t.ɵfac, 224 providedIn: "root" 225 }), t; 226 })(), O = (() => { 227 let t = class { 228 constructor() { 229 this.depositSessionConfig = o(f), this.depositSessionOverlayService = o(H); 230 } 231 process(i) { 232 return L(this, null, function* () { 233 i.type !== mt.Native || !i.data || (yield J(this.depositSessionConfig.whenReady), this.depositSessionOverlayService.show(i.data)); 234 }); 235 } 236 }; 237 return t.ɵfac = function(n) { 238 return new (n || t)(); 239 }, t.ɵprov = k({ 240 token: t, 241 factory: t.ɵfac 242 }), t; 243 })(); 244 })))(); 245} 246R(); 247export { Kt as provide }; 248 249//# sourceMappingURL=chunk-mg9lxfn6.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.