PageSourceSearch

https://www.il.betmgm.com/ClientDist/browser/chunk-w0x32net.js

js betmgm.com collected 2026-09-24 09:02:01 UTC 131,255 bytes, 2,909 lines download raw bytes

1import { d as c, f as I, g as R, m as C, n as O, p as B, t as A, y as Vr } from "./chunk-xgti9j2t.js";
2import { Aa as Vt, Ai as Ve, Fn as zt, G as $, Gt as ve, Jr as Y, Kn as Bt, L as zr, Mr as Br, Ni as $r, No as ze, Nr as Hr, Pi as $t, Pn as Ht, Ro as x, To as jt, W as jr, Wa as Wr, Yr as Kr, Zt as Yr, fi as E, fo as Zr, gn as Jr, gt as h, in as Wt, it as Qr, kr as ie, l as se, la as ne, ma as qr, na as Xr, ni as Be, nt as $e, oo as Se, p as Kt, ra as ei, so as ti, sr as Ee, tt as Yt, un as ri, wr as ae, wt as ii } from "./chunk-c97c17u8.js";
3import { A as si, l as ni, m as ai, p as oi, s as Zt } from "./chunk-jrtaqqwj.js";
4import { o as li, r as ci, t as U } from "./chunk-pesy0vb6.js";
5import { D as ui, a as He, f as hi, i as di, n as pi, o as gi, s as fi, t as _i } from "./chunk-llc8ry2a.js";
6import { $ as Jt, D as Q, Dt as oe, H as Qt, d as le, j as q, pt as mi, ut as vi, x as Si } from "./chunk-fbjoug0d.js";
7import { r as Ei, t as ce } from "./chunk-c9rg1mp5.js";
8import { n as ye, t as yi } from "./chunk-kyqvtgtk.js";
9import { d as be, h as bi, p as Ai } from "./chunk-bhnvkbxx.js";
10import { A as qt, Ct as wi, Dt as Ti, F as Ae, H as Xt, J as Ni, L as er, M as ki, Q as Ii, R as tr, St as Ci, T as Ri, Tt as rr, V as ir, W as Oi, X as Li, Z as sr, _t as Pi, a as ue, b as je, bt as We, c as xi, dt as Ke, ft as nr, j as Di, jt as we, kt as Ui, n as Te, ot as Mi, q as Gi, rt as Fi, t as Vi, w as zi, wt as Bi, z as $i } from "./chunk-f2v2cgea.js";
11import { i as Hi, r as ji } from "./chunk-dlppig9b.js";
12import { t as ar } from "./chunk-o4f8w5yc.js";
13function or() {
14	return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (e) => {
15		let n = Math.random() * 16 | 0;
16		return (e === "x" ? n : n & 3 | 8).toString(16);
17	});
18}
19var lr, Ye;
20function Ze() {
21	return (Ze = ar((() => {
22		$t(), lr = /^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/, Ye = (() => {
23			let e = class {
24				generateGuid() {
25					return or();
26				}
27				format(r, ...t) {
28					if (r === void 0) return r;
29					let i = r;
30					for (let s = 0; s < t.length; s++) {
31						let a = t[s] !== void 0 ? t[s] : "";
32						i = i.replace(new RegExp("\\{" + s + "\\}", "gim"), a);
33					}
34					return i;
35				}
36				isEmail(r) {
37					return lr.test(r);
38				}
39				extend(r, t) {
40					let i = {};
41					for (let s in r) i[s] = r[s];
42					for (let s in t) i.hasOwnProperty(s) || (i[s] = t[s]);
43					return i;
44				}
45				static indexableTypeContainsKey(r, t) {
46					for (let i in r) if (r[i] === t) return !0;
47					return !1;
48				}
49				static strictSanitize(r) {
50					if (typeof r == "string") return r.replace(/[^\w\s.,:;@%&()\-+=]/g, "");
51					if (Array.isArray(r)) return r.map(this.strictSanitize);
52					if (r && typeof r == "object") {
53						let t = {};
54						for (let i in r) t[i] = this.strictSanitize(r[i]);
55						return t;
56					}
57					return r;
58				}
59				static isBooleanValue(r) {
60					return typeof r == "boolean" || r === null || r === void 0 || jr(r) && typeof r() == "boolean";
61				}
62			};
63			return e.ɵfac = function(n) {
64				return new (n || e)();
65			}, e.ɵprov = E({
66				token: e,
67				factory: e.ɵfac,
68				providedIn: "root"
69			}), e;
70		})();
71	})))();
72}
73function Wi(e, n) {
74	return e[n] != null;
75}
76function Ki(e) {
77	let n = /* @__PURE__ */ new WeakMap();
78	return {
79		getProps: r,
80		setProps: t
81	};
82	function r(i) {
83		let s = e(i), a = n.get(i), o;
84		return a !== void 0 ? o = a : (o = {}, Object.entries(s).forEach(([l, d]) => {
85			Wi(i, l) ? o[l] = i[l] : o[l] = d;
86		}), n.set(i, o)), o;
87	}
88	function t(i, s) {
89		let a = r(i);
90		return Object.entries(s).forEach(([o, l]) => {
91			a[o] = l;
92		}), n.set(i, a), a;
93	}
94}
95function Yi() {
96	return {
97		remove: e,
98		add: n,
99		isCoalescing: r
100	};
101	function e(t) {
102		let i = X.getProps(t).numCoalescingSubscribers - 1;
103		X.setProps(t, { numCoalescingSubscribers: i >= 0 ? i : 0 });
104	}
105	function n(t) {
106		let i = X.getProps(t).numCoalescingSubscribers + 1;
107		X.setProps(t, { numCoalescingSubscribers: i });
108	}
109	function r(t) {
110		return X.getProps(t).numCoalescingSubscribers > 0;
111	}
112}
113function Zi(e, n) {
114	let r = n || {};
115	return (t) => {
116		return new ie((s) => {
117			let a = new Kt();
118			return a.add(t.subscribe(i(s, a))), a;
119		});
120		function i(s, a) {
121			let o, l, d = () => {
122				o && (de.remove(r), de.isCoalescing(r) || s.next(l));
123			};
124			return {
125				complete: () => {
126					d(), s.complete();
127				},
128				error: (g) => s.error(g),
129				next: (g) => {
130					l = g, o || (de.add(r), o = e.subscribe({
131						error: (b) => s.error(b),
132						next: () => {
133							d(), o?.unsubscribe(), o = void 0;
134						},
135						complete: () => {
136							d(), o = void 0;
137						}
138					}), a.add(new Kt(() => {
139						d(), o?.unsubscribe(), o = void 0;
140					}
140)));
141				}
142			};
143		}
144	};
145}
146function he(e, n) {
147	return typeof e == "string" && (n = e, e = ei), e["__zone_symbol__" + String(n)] || e[n];
148}
149function Ji(e, n) {
150	n?.injector || zr(ci);
151	let r = n?.injector ?? h(jt), t = new Se(1), i = Jr(() => {
152		let s;
153		try {
154			s = e();
155		} catch (a) {
156			Ht(() => t.error(a));
157			return;
158		}
159		Ht(() => t.next(s));
160	}, {
161		injector: r,
162		manualCleanup: !0
163	});
164	return r.get(se).onDestroy(() => {
165		i.destroy(), t.complete();
166	}), t.asObservable();
167}
168function Qi(e, n = 0) {
169	return he("setTimeout")(e, n);
170}
171function qi(e) {
172	he("clearTimeout")(e);
173}
174function Xi(e) {
175	return [e, {
176		provide: ut,
177		multi: !0,
178		useExisting: e
179	}];
180}
181function es(e) {
182	return [e, {
183		provide: ht,
184		multi: !0,
185		useExisting: e
186	}];
187}
188function cr(e) {
189	return typeof e == "string" && e.startsWith(pt);
190}
191function ur(e, n, r, t) {
192	e[n] = r.substring(pt.length), t.dslFields.push(n);
193}
194function Ne(e, n, r) {
195	return Array.isArray(e) ? (r.isArray = !0, r.hasCondition = !1, r.isProxy = !1, os(e, n, r)) : (r.isArray = !1, ts(e, n, r), rs(e, n, r), is(e, n, r), ss(e, n, r) || !!r.dslFields.length || r.hasCondition);
196}
197function ts(e, n, r) {
198	if (!n.proxyFieldKey) {
199		r.isProxy = !1;
200		return;
201	}
202	r.isProxy = !!e[n.proxyFieldKey];
203}
204function rs(e, n, r) {
205	if (!n.conditionFieldKey) {
206		r.hasCondition = !1;
207		return;
208	}
209	let t = e[n.conditionFieldKey];
210	r.hasCondition = !!t && typeof t == "string";
211}
212function is(e, n, r) {
213	if (n.dslFieldKeys) for (let t of n.dslFieldKeys) {
214		let i = e[t];
215		cr(i) && ur(e, t, i, r);
216	}
217}
218function ss(e, n, r) {
219	for (let t in n.childSchemas) {
220		let i = e[t];
221		if (!i) continue;
222		let s = n.childSchemas[t];
223		if (!s) continue;
224		let a = new ee();
225		(s === "recursive" ? ns(i, n, a) : as(i, s, a)) && (r.items || (r.items = {}), r.items[t] = a);
226	}
227	return r.items && Object.keys(r.items).length > 0 ? !0 : (r.items = null, !1);
228}
229function ns(e, n, r) {
230	return Ne(e, n, r);
231}
232function as(e, n, r) {
233	return Ne(e, n, r);
234}
235function os(e, n, r) {
236	return !e || e.length <= 0 ? (r.items = null, !1) : (r.items = e.reduce((t, i, s) => {
237		let a = new ee();
238		if (!Ne(i, n, a)) return t;
239		let o = t ?? {};
240		return o[s] = a, o;
241	}, null), !!r.items && Object.keys(r.items).length > 0);
242}
243function ls(e, n) {
244	let r = new ee();
245	return n ? (Ne(e, n, r), r) : (hr(e, r), r);
246}
247function hr(e, n) {
248	n.hasCondition = !!e.condition, n.isArray = Array.isArray(e), n.isProxy = !!e.isProxy;
249	let r = !1;
250	return Jt(e, (t, i) => {
251		cr(t) ? ur(e, i, t, n) : t instanceof Object && (n.items = O(A({}, n.items), { [i]: new ee() }), hr(t, n.items[i]) ? r = !0 : delete n.items[i]);
252	}), r || (n.items = null), n.hasCondition || n.isProxy || n.isArray || n.dslFields.length || r;
253}
254function cs(e) {
255	if (e === "true") return !0;
256	if (e === "false") return !1;
257}
258function dr(e) {
259	return typeof e == "string" ? JSON.parse(e) : e;
260}
261function us(e) {
262	return typeof e > "u" ? null : e;
263}
264function hs(e, n = 0) {
265	let r = Math.round(e);
266	return Number.isNaN(r) ? n : r;
267}
268function ds(e, n) {
269	return e && e.replace(/__(.*?)__/g, (r, t) => n[t] ?? r);
270}
271function pr(e) {
272	try {
273		return decodeURIComponent(e);
274	} catch {
275		return e;
276	}
277}
278function ps(e) {
279	try {
280		return JSON.parse(e);
281	} catch {
282		return e;
283	}
284}
285function gs(e) {
286	return e.get(ft);
287}
288function fs(e) {
289	return e.get(fe);
290}
291function gr(e, n) {
292	let r = e[n + "Storage"];
293	try {
294		return r.setItem("__test", "data"), r.removeItem("__test"), new Ir(r);
295	} catch {
296		return new Cr();
297	}
298}
299function _s(e, n) {
300	return n.isSingleDomainApp ? e.get(_e) : {};
301}
302function fr(e, n) {
303	let r = 0, t = [], i, s = !0, a = 0, o = [], l = n, { stop: d } = je(e, "message", ({ data: v }) => {
304		if (v.type !== "wrote" || v.streamId !== l) return;
305		let y = o[0];
306		y && (y.id === v.id ? (o.shift(), r += v.additionalBytesCount, t.push(v.result), i = v.trailer, y.writeCallback ? y.writeCallback(v.result.byteLength) : y.finishCallback && y.finishCallback()) : y.id < v.id && d());
307	});
308	function g() {
309		let v = t.length === 0 ? /* @__PURE__ */ new Uint8Array(0) : Gi(t.concat(i)), y = {
310			rawBytesCount: r,
311			output: v,
312			outputBytesCount: v.byteLength,
313			encoding: "deflate"
314		};
315		return r = 0, t = [], y;
316	}
317	function b() {
318		s || (e.postMessage({
319			action: "reset",
320			streamId: n
321		}), s = !0);
322	}
323	return {
324		isAsync: !0,
325		get isEmpty() {
326			return s;
327		},
328		write(v, y) {
329			e.postMessage({
330				action: "write",
331				id: a,
332				data: v,
333				streamId: n
334			}), o.push({
335				id: a,
336				writeCallback: y,
337				data: v
338			}), s = !1, a += 1;
339		},
340		finish(v) {
341			b(), o.length ? (o.forEach((y) => {
342				delete y.writeCallback;
343			}), o[o.length - 1].finishCallback = () => v(g())) : v(g());
344		},
345		finishSync() {
346			b();
347			let v = o.map((y) => y.data).join("");
348			return o.length = 0, O(A({}, g()), { pendingData: v });
349		},
350		estimateEncodedBytesCount(v) {
351			return v.length / 8;
352		},
353		stop() {
354			d();
355		}
356	};
357}
358function Je({ configuredUrl: e, error: n, source: r, scriptType: t }) {
359	if (we.error(`${r} failed to start: an error occurred while initializing the ${t}:`, n), n instanceof Event || n instanceof Error && ms(n.message)) {
360		let i;
361		e ? i = `Please make sure the ${t} URL ${e} is correct and CSP is correctly configured.` : i = "Please make sure CSP is correctly configured.", we.error(`${i} See documentation at ${Ii}/integrations/content_security_policy_logs/#use-csp-with-real-user-monitoring-and-session-replay`);
362	} else t === "worker" && er(n);
363}
364function ms(e) {
365	return e.includes("Content Security Policy") || e.includes("requires 'TrustedScriptURL'");
366}
367function vs(e) {
368	return new Worker(e.workerUrl || URL.createObjectURL(new Blob(["(()=>{function t(t){if(1===t.length)return t[0];const e=t.reduce((t,e)=>t+e.length,0),a=new Uint8Array(e);let n=0;for(const e of t)a.set(e,n),n+=e.length;return a}function e(t){for(var e=t.length;--e>=0;)t[e]=0}var a=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),n=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),r=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),i=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),s=Array(576);e(s);var h=Array(60);e(h);var l=Array(512);e(l);var _=Array(256);e(_);var o=Array(29);e(o);var d,u,f,c=Array(30);function p(t,e,a,n,r){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=n,this.max_length=r,this.has_stree=t?.length}function g(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}e(c);var v=function(t){return t<256?l[t]:l[256+(t>>>7)]},w=function(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},m=function(t,e,a){t.bi_valid>16-a?(t.bi_buf|=e<<t.bi_valid&65535,w(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=a)},b=function(t,e,a){m(t,a[2*e],a[2*e+1])},y=function(t,e){var a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},z=function(t,e,a){var n,r,i=Array(16),s=0;for(n=1;n<=15;n++)i[n]=s=s+a[n-1]<<1;for(r=0;r<=e;r++){var h=t[2*r+1];0!==h&&(t[2*r]=y(i[h]++,h))}},k=function(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0},x=function(t){t.bi_valid>8?w(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},A=function(t,e,a,n){var r=2*e,i=2*a;return t[r]<t[i]||t[r]===t[i]&&n[e]<=n[a]},U=function(t,e,a){for(var n=t.heap[a],r=a<<1;r<=t.heap_len&&(r<t.heap_len&&A(e,t.heap[r+1],t.heap[r],t.depth)&&r++,!A(e,n,t.heap[r],t.depth));)t.heap[a]=t.heap[r],a=r,r<<=1;t.heap[a]=n},B=function(t,e,r){var i,s,h,l,d=0;if(0!==t.last_lit)do{i=t.pending_buf[t.d_buf+2*d]<<8|t.pending_buf[t.d_buf+2*d+1],s=t.pending_buf[t.l_buf+d],d++,0===i?b(t,s,e):(h=_[s],b(t,h+256+1,e),0!==(l=a[h])&&(s-=o[h],m(t,s,l)),i--,h=v(i),b(t,h,r),0!==(l=n[h])&&(i-=c[h],m(t,i,l)))}while(d<t.last_lit);b(t,256,e)},I=function(t,e){var a,n,r,i=e.dyn_tree,s=e.stat_desc.static_tree,h=e.stat_desc.has_stree,l=e.stat_desc.elems,_=-1;for(t.heap_len=0,t.heap_max=573,a=0;a<l;a++)0!==i[2*a]?(t.heap[++t.heap_len]=_=a,t.depth[a]=0):i[2*a+1]=0;for(;t.heap_len<2;)i[2*(r=t.heap[++t.heap_len]=_<2?++_:0)]=1,t.depth[r]=0,t.opt_len--,h&&(t.static_len-=s[2*r+1]);for(e.max_code=_,a=t.heap_len>>1;a>=1;a--)U(t,i,a);r=l;do{a=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,i,1),n=t.heap[1],t.heap[--t.heap_max]=a,t.heap[--t.heap_max]=n,i[2*r]=i[2*a]+i[2*n],t.depth[r]=(t.depth[a]>=t.depth[n]?t.depth[a]:t.depth[n])+1,i[2*a+1]=i[2*n+1]=r,t.heap[1]=r++,U(t,i,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var a,n,r,i,s,h,l=e.dyn_tree,_=e.max_code,o=e.stat_desc.static_tree,d=e.stat_desc.has_stree,u=e.stat_desc.extra_bits,f=e.stat_desc.extra_base,c=e.stat_desc.max_length,p=0;for(i=0;i<=15;i++)t.bl_count[i]=0;for(l[2*t.heap[t.heap_max]+1]=0,a=t.heap_max+1;a<573;a++)(i=l[2*l[2*(n=t.heap[a])+1]+1]+1)>c&&(i=c,p++),l[2*n+1]=i,n>_||(t.bl_count[i]++,s=0,n>=f&&(s=u[n-f]),h=l[2*n],t.opt_len+=h*(i+s),d&&(t.static_len+=h*(o[2*n+1]+s)));if(0!==p){do{for(i=c-1;0===t.bl_count[i];)i--;t.bl_count[i]--,t.bl_count[i+1]+=2,t.bl_count[c]--,p-=2}while(p>0);for(i=c;0!==i;i--)for(n=t.bl_count[i];0!==n;
368)(r=t.heap[--a])>_||(l[2*r+1]!==i&&(t.opt_len+=(i-l[2*r+1])*l[2*r],l[2*r+1]=i),n--)}}(t,e),z(i,_,t.bl_count)},E=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),e[2*(a+1)+1]=65535,n=0;n<=a;n++)r=s,s=e[2*(n+1)+1],++h<l&&r===s||(h<_?t.bl_tree[2*r]+=h:0!==r?(r!==i&&t.bl_tree[2*r]++,t.bl_tree[32]++):h<=10?t.bl_tree[34]++:t.bl_tree[36]++,h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4))},D=function(t,e,a){var n,r,i=-1,s=e[1],h=0,l=7,_=4;for(0===s&&(l=138,_=3),n=0;n<=a;n++)if(r=s,s=e[2*(n+1)+1],!(++h<l&&r===s)){if(h<_)do{b(t,r,t.bl_tree)}while(0!==--h);else 0!==r?(r!==i&&(b(t,r,t.bl_tree),h--),b(t,16,t.bl_tree),m(t,h-3,2)):h<=10?(b(t,17,t.bl_tree),m(t,h-3,3)):(b(t,18,t.bl_tree),m(t,h-11,7));h=0,i=r,0===s?(l=138,_=3):r===s?(l=6,_=3):(l=7,_=4)}},M=!1,j=function(t,e,a,n){m(t,0+(n?1:0),3),function(t,e,a){x(t),w(t,a),w(t,~a),t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a}(t,e,a)},C=j,L=function(t,e,a,n){for(var r=65535&t,i=t>>>16&65535,s=0;0!==a;){a-=s=a>2e3?2e3:a;do{i=i+(r=r+e[n++]|0)|0}while(--s);r%=65521,i%=65521}return r|i<<16},S=new Uint32Array(function(){for(var t,e=[],a=0;a<256;a++){t=a;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e}()),O=function(t,e,a,n){var r=S,i=n+a;t^=-1;for(var s=n;s<i;s++)t=t>>>8^r[255&(t^e[s])];return-1^t},T={2:\"need dictionary\",1:\"stream end\",0:\"\",\"-1\":\"file error\",\"-2\":\"stream error\",\"-3\":\"data error\",\"-4\":\"insufficient memory\",\"-5\":\"buffer error\",\"-6\":\"incompatible version\"},q=C,F=function(t,e,a){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&a,t.last_lit++,0===e?t.dyn_ltree[2*a]++:(t.matches++,e--,t.dyn_ltree[2*(_[a]+256+1)]++,t.dyn_dtree[2*v(e)]++),t.last_lit===t.lit_bufsize-1},G=-2,H=258,J=262,K=103,N=113,P=666,Q=function(t,e){return t.msg=T[e],e},R=function(t){return(t<<1)-(t>4?9:0)},V=function(t){for(var e=t.length;--e>=0;)t[e]=0},W=function(t,e,a){return(e<<t.hash_shift^a)&t.hash_mask},X=function(t){var e=t.state,a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},Y=function(t,e){(function(t,e,a,n){var r,l,_=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,a=4093624447;for(e=0;e<=31;e++,a>>>=1)if(1&a&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),I(t,t.l_desc),I(t,t.d_desc),_=function(t){var e;for(E(t,t.dyn_ltree,t.l_desc.max_code),E(t,t.dyn_dtree,t.d_desc.max_code),I(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*i[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),r=t.opt_len+3+7>>>3,(l=t.static_len+3+7>>>3)<=r&&(r=l)):r=l=a+5,a+4<=r&&-1!==e?j(t,e,a,n):4===t.strategy||l===r?(m(t,2+(n?1:0),3),B(t,s,h)):(m(t,4+(n?1:0),3),function(t,e,a,n){var r;for(m(t,e-257,5),m(t,a-1,5),m(t,n-4,4),r=0;r<n;r++)m(t,t.bl_tree[2*i[r]+1],3);D(t,t.dyn_ltree,e-1),D(t,t.dyn_dtree,a-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,_+1),B(t,t.dyn_ltree,t.dyn_dtree)),k(t),n&&x(t)})(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,X(t.strm)},Z=function(t,e){t.pending_buf[t.pending++]=e},$=function(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},tt=function(t,e,a,n){var r=t.avail_in;return r>n&&(r=n),0===r?0:(t.avail_in-=r,e.set(t.input.subarray(t.next_in,t.next_in+r),a),1===t.state.wrap?t.adler=L(t.adler,e,r,a):2===t.state.wrap&&(t.adler=O(t.adler,e,r,a)),t.next_in+=r,t.total_in+=r,r)},et=function(t,e){var a,n,r=t.max_chain_length,i=t.strstart,s=t.prev_length,h=t.nice_match,l=t.strstart>t.w_size-J?t.strstart-(t.w_size-J):0,_=t.window,o=t.w_mask,d=t.prev,u=t.strstart+H,f=_[i+s-1],c=_[i+s];t.prev_length>=t.good_match&&(r>>=2),h>t.lookahead&&(h=t.lookahead);do{if(_[(a=e)+s]===c&&_[a+s-1]===f&&_[a]===_[i]&&_[++a]===_[i+1]){i+=2,a++;do{}while(_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&_[++i]===_[++a]&&i<u);if(n=H-(u-i),i=u-H,n>s){if(t.match_start=e,s=n,n>=h)break;f=_[i+s-1],c=_[i+s]}}}while((e=d[e&o])>l&&0!==--r);return s<=t.lookahead?s:t.lookahead},at=function(t){var e,a,n,r,i,s=t.w_size;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=s+(s-J)){t.window.set(t.window.subarray(s,s+s),0),t.match_start-=s,t.strstart-=s,t.block_start-=s,e=a=t.hash_size;do{n=t.head[--e],t.head[e]=n>=s?n-s:0}while(--a);e=a=s;do{n=t.prev[--e],t.prev[e]=n>=s?n-s:0}while(--a);r+=s}if(0===t.strm.avail_in)break;if(a=tt(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=a,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=W(t,t.ins_h,t.window[i+1]
368);t.insert&&(t.ins_h=W(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<J&&0!==t.strm.avail_in)},nt=function(t,e){for(var a,n;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a)),t.match_length>=3)if(n=F(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!==--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=W(t,t.ins_h,t.window[t.strstart+1]);else n=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(n&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2},rt=function(t,e){for(var a,n,r;;){if(t.lookahead<J){if(at(t),t.lookahead<J&&0===e)return 1;if(0===t.lookahead)break}if(a=0,t.lookahead>=3&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length<t.max_lazy_match&&t.strstart-a<=t.w_size-J&&(t.match_length=et(t,a),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-3,n=F(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=r&&(t.ins_h=W(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!==--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,n&&(Y(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((n=F(t,0,t.window[t.strstart-1]))&&Y(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(n=F(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2};function it(t,e,a,n,r){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=n,this.func=r}var st=[new it(0,0,0,0,function(t,e){var a=65535;for(a>t.pending_buf_size-5&&(a=t.pending_buf_size-5);;){if(t.lookahead<=1){if(at(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+a;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,Y(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-J&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(Y(t,!1),t.strm.avail_out),1)}),new it(4,4,8,4,nt),new it(4,5,16,8,nt),new it(4,6,32,32,nt),new it(4,4,16,16,rt),new it(8,16,32,32,rt),new it(8,16,128,128,rt),new it(8,32,128,256,rt),new it(32,128,258,1024,rt),new it(32,258,258,4096,rt)];function ht(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),V(this.dyn_ltree),V(this.dyn_dtree),V(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),V(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),V(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}for(var lt=function(t){var e,i=function(t){if(!t?.state)return Q(t,G);t.total_in=t.total_out=0,t.data_type=2;var e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:N,t.adler=2===e.wrap?0:1,e.last_flush=0,function(t){M||(function(){var t,e,i,g,v,w=Array(16);for(i=0,g=0;g<28;g++)for(o[g]=i,t=0;t<1<<a[g];t++)_[i++]=g;for(_[i-1]=g,v=0,g=0;g<16;g++)for(c[g]=v,t=0;t<1<<n[g];t++)l[v++]=g;for(v>>=7;g<30;g++)for(c[g]=v<<7,t=0;t<1<<n[g]-7;t++)l[256+v++]=g;for(e=0;e<=15;e++)w[e]=0;for(t=0;t<=143;)s[2*t+1]=8,t++,w[8]++;for(;t<=255;)s[2*t+1]=9,t++,w[9]++;for(;t<=279;)s[2*t+1]=7,t++,w[7]++;for(;t<=287;)s[2*t+1]=8,t++,w[8]++;for(z(s,287,w),t=0;t<30;t++)h[2*t+1]=5,h[2*t]=y(t,5);d=new p(s,a,257,286,15),u=new p(h,n,0,30,15),f=new p([],r,0,19,7)}(),M=!0),t.l_desc=new g(t.dyn_ltree,d),t.d_desc=new g(t.dyn_dtree,u),t.bl_desc=new g(t.bl_tree,f),t.bi_buf=0,t.bi_valid=0,k(t)}(e),0}(t);return 0===i&&((e=t.state).window_size=2*e.w_size,V(e.head),e.max_lazy_match=st[e.level].max_lazy,e.good_match=st[e.level].good_length,e.nice_match=st[e.level].nice_length,e.max_chain_length=st[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),i},_t=function(t,e){var a,n;if(!t?.state||e>5||e<0)return t?Q(t,G):G;var r=t.state;if(!t.output||!t.input&&0!==t.avail_in||r.status===P&&4!==e)return Q(t,0===t.avail_out?-5:G);r.strm=t;var i=r.last_flush;if(r.last_flush=e,42===r.status)if(2===r.wrap)t.adler=0,Z(r,31),Z(r,139),Z(r,8),r.gzhead?(Z(r,(r.gzhead.text?1:0)+(r.gzhead.hcrc?2:0)+(r.gzhead.extra?4:0)+(r.gzhead.name?8:0)+(r.gzhead.comment?16:0)),Z(r,255&r.gzhead.time),Z(r,r.gzhead.time>>8&255),Z(r,r.gzhead.time>>16&255),Z(r,r.gzhead.time>>24&255),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,255&r.gzhead.os),r.gzhead.extra?.length&&(Z(r,255&r.gzhead.extra.length),Z(r,r.gzhead.extra.length>>8&255)),r.gzhead.hcrc&&(t.adler=O(t.adler,r.pending_buf,r.pending,0)),r.gzindex=0,r.status=69):(Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,0),Z(r,9===r.level?2:r.strategy>=2||r.level<2?4:0),Z(r,3),r.status=N);else{var h=8+(r.w_bits-8<<4)<<8;h|=(r.strategy>
vendor: 5,923 bytes, line 368
368=2||r.level<2?0:r.level<6?1:6===r.level?2:3)<<6,0!==r.strstart&&(h|=32),h+=31-h%31,r.status=N,$(r,h),0!==r.strstart&&($(r,t.adler>>>16),$(r,65535&t.adler)),t.adler=1}if(69===r.status)if(r.gzhead.extra){for(a=r.pending;r.gzindex<(65535&r.gzhead.extra.length)&&(r.pending!==r.pending_buf_size||(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending!==r.pending_buf_size));)Z(r,255&r.gzhead.extra[r.gzindex]),r.gzindex++;r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),r.gzindex===r.gzhead.extra.length&&(r.gzindex=0,r.status=73)}else r.status=73;if(73===r.status)if(r.gzhead.name){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.name.length?255&r.gzhead.name.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.gzindex=0,r.status=91)}else r.status=91;if(91===r.status)if(r.gzhead.comment){a=r.pending;do{if(r.pending===r.pending_buf_size&&(r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),X(t),a=r.pending,r.pending===r.pending_buf_size)){n=1;break}n=r.gzindex<r.gzhead.comment.length?255&r.gzhead.comment.charCodeAt(r.gzindex++):0,Z(r,n)}while(0!==n);r.gzhead.hcrc&&r.pending>a&&(t.adler=O(t.adler,r.pending_buf,r.pending-a,a)),0===n&&(r.status=K)}else r.status=K;if(r.status===K&&(r.gzhead.hcrc?(r.pending+2>r.pending_buf_size&&X(t),r.pending+2<=r.pending_buf_size&&(Z(r,255&t.adler),Z(r,t.adler>>8&255),t.adler=0,r.status=N)):r.status=N),0!==r.pending){if(X(t),0===t.avail_out)return r.last_flush=-1,0}else if(0===t.avail_in&&R(e)<=R(i)&&4!==e)return Q(t,-5);if(r.status===P&&0!==t.avail_in)return Q(t,-5);if(0!==t.avail_in||0!==r.lookahead||0!==e&&r.status!==P){var l=2===r.strategy?function(t,e){for(var a;;){if(0===t.lookahead&&(at(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):3===r.strategy?function(t,e){for(var a,n,r,i,s=t.window;;){if(t.lookahead<=H){if(at(t),t.lookahead<=H&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=s[r=t.strstart-1])===s[++r]&&n===s[++r]&&n===s[++r]){i=t.strstart+H;do{}while(n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&n===s[++r]&&r<i);t.match_length=H-(i-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=F(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=F(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(Y(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(Y(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(Y(t,!1),0===t.strm.avail_out)?1:2}(r,e):st[r.level].func(r,e);if(3!==l&&4!==l||(r.status=P),1===l||3===l)return 0===t.avail_out&&(r.last_flush=-1),0;if(2===l&&(1===e?function(t){m(t,2,3),b(t,256,s),function(t){16===t.bi_valid?(w(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}(r):5!==e&&(q(r,0,0,!1),3===e&&(V(r.head),0===r.lookahead&&(r.strstart=0,r.block_start=0,r.insert=0))),X(t),0===t.avail_out))return r.last_flush=-1,0}return 4!==e?0:r.wrap<=0?1:(2===r.wrap?(Z(r,255&t.adler),Z(r,t.adler>>8&255),Z(r,t.adler>>16&255),Z(r,t.adler>>24&255),Z(r,255&t.total_in),Z(r,t.total_in>>8&255),Z(r,t.total_in>>16&255),Z(r,t.total_in>>24&255)):($(r,t.adler>>>16),$(r,65535&t.adler)),X(t),r.wrap>0&&(r.wrap=-r.wrap),0!==r.pending?0:1)},ot=function(t){if(!t?.state)return G;var e=t.state.status;return 42!==e&&69!==e&&73!==e&&91!==e&&e!==K&&e!==N&&e!==P?Q(t,G):(t.state=null,e===N?Q(t,-3):0)},dt=new Uint8Array(256),ut=0;ut<256;ut++)dt[ut]=ut>=252?6:ut>=248?5:ut>=240?4:ut>=224?3:ut>=192?2:1;dt[254]=dt[254]=1;var ft=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=\"\",this.state=null,this.data_type=2,this.adler=0},ct=Object.prototype.toString;function pt(){this.options={level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0};var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg=\"\",this.ended=!1,this.chunks=[],this.strm=new ft,this.strm.avail_out=0;var e,a,n=function(t,e,a,n,r,i){if(!t)return G;var s=1;if(-1===e&&(e=6),n<0?(s=0,n=-n):n>15&&(s=2,n-=16),r<1||r>9||8!==a||n<8||n>15||e<0||e>9||i<0||i>4)return Q(t,G);8===n&&(n=9);var h=new ht;return t.state=h,h.strm=t,h.wrap=s,h.gzhead=null,h.w_bits=n,h.w_size=1<<h.w_bits,h.w_mask=h.w_size-1,h.hash_bits=r+7,h.hash_size=1<<h.hash_bits,h.hash_mask=h.hash_size-1,h.hash_shift=~~((h.hash_bits+3-1)/3),h.window=new Uint8Array(2*h.w_size),h.head=new Uint16Array(h.hash_size),h.prev=new Uint16Array(h.w_size),h.lit_bufsize=1<<r+6,h.pending_buf_size=4*h.lit_bufsize,h.pending_buf=new Uint8Array(h.pending_buf_size),h.d_buf=1*h.lit_bufsize,h.l_buf=3*h.lit_bufsize,h.level=e,h.strategy=i,h.method=a,lt(t)}(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(0!==n)throw Error(T[n]);if(t.header&&(e=this.strm,a=t.header,e?.state&&(2!==e.state.wrap||(e.state.gzhead=a))),t.dictionary){var r;if(r=\"[object ArrayBuffer]\"===ct.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,0!==(n=function(t,e){var a=e.length;if(!t?.state)return G;var n=t.state,r=n.wrap;if(2===r||1===r&&42!==n.status||n.lookahead)return G;if(1===r&&(t.adler=L(t.adler,e,a,0)),n.wrap=0,a>=n.w_size){0===r&&(V(n.head),n.strstart=0,n.block_start=0,n.insert=0);var i=new Uint8Array(n.w_size);
368i.set(e.subarray(a-n.w_size,a),0),e=i,a=n.w_size}var s=t.avail_in,h=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,at(n);n.lookahead>=3;){var _=n.strstart,o=n.lookahead-2;do{n.ins_h=W(n,n.ins_h,n.window[_+3-1]),n.prev[_&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=_,_++}while(--o);n.strstart=_,n.lookahead=2,at(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=h,t.input=l,t.avail_in=s,n.wrap=r,0}(this.strm,r)))throw Error(T[n]);this._dict_set=!0}}function gt(t,e,a){try{t.postMessage({type:\"errored\",error:e,streamId:a})}catch{t.postMessage({type:\"errored\",error:e+\"\",streamId:a})}}function vt(t){const e=t.strm.adler;return new Uint8Array([3,0,e>>>24&255,e>>>16&255,e>>>8&255,255&e])}pt.prototype.push=function(t,e){var a,n,r=this.strm,i=this.options.chunkSize;if(this.ended)return!1;for(n=e===~~e?e:!0===e?4:0,\"[object ArrayBuffer]\"===ct.call(t)?r.input=new Uint8Array(t):r.input=t,r.next_in=0,r.avail_in=r.input.length;;)if(0===r.avail_out&&(r.output=new Uint8Array(i),r.next_out=0,r.avail_out=i),(2===n||3===n)&&r.avail_out<=6)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else{if(1===(a=_t(r,n)))return r.next_out>0&&this.onData(r.output.subarray(0,r.next_out)),a=ot(this.strm),this.onEnd(a),this.ended=!0,0===a;if(0!==r.avail_out){if(n>0&&r.next_out>0)this.onData(r.output.subarray(0,r.next_out)),r.avail_out=0;else if(0===r.avail_in)break}else this.onData(r.output)}return!0},pt.prototype.onData=function(t){this.chunks.push(t)},pt.prototype.onEnd=function(t){0===t&&(this.result=function(t){for(var e=0,a=0,n=t.length;a<n;a++)e+=t[a].length;for(var r=new Uint8Array(e),i=0,s=0,h=t.length;i<h;i++){var l=t[i];r.set(l,s),s+=l.length}return r}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},function(e=self){try{const a=new Map;e.addEventListener(\"message\",n=>{try{const r=function(e,a){switch(a.action){case\"init\":return{type:\"initialized\",version:\"7.9.0\"};case\"write\":{let n=e.get(a.streamId);n||(n=new pt,e.set(a.streamId,n));const r=n.chunks.length,i=(new TextEncoder).encode(a.data);return n.push(i,2),{type:\"wrote\",id:a.id,streamId:a.streamId,result:t(n.chunks.slice(r)),trailer:vt(n),additionalBytesCount:i.length}}case\"reset\":e.delete(a.streamId)}}(a,n.data);r&&e.postMessage(r)}catch(t){gt(e,t,n.data&&\"streamId\"in n.data?n.data.streamId:void 0)}})}catch(t){gt(e,t)}}()})();"])));
369}
370function _r(e, n, r) {
371	switch (w.status === 0 && Ss(e, n), w.status) {
372		case 1: return w.initializationFailureCallbacks.push(r), w.worker;
373		case 3: return w.worker;
374	}
375}
376function mr() {
377	return w.status;
378}
379function Ss(e, n) {
380	try {
381		let r = vs(e), { stop: t } = je(r, "error", (s) => {
382			Qe(e, n, s);
383		}), { stop: i } = je(r, "message", ({ data: s }) => {
384			s.type === "errored" ? Qe(e, n, s.error, s.streamId) : s.type === "initialized" && ys(s.version);
385		});
386		r.postMessage({ action: "init" }), xi(() => Es(n), Rr), w = {
387			status: 1,
388			worker: r,
389			stop: () => {
390				t(), i();
391			},
392			initializationFailureCallbacks: []
393		};
394	} catch (r) {
395		Qe(e, n, r);
396	}
397}
398function Es(e) {
399	w.status === 1 && (we.error(`${e} failed to start: a timeout occurred while initializing the Worker`), w.initializationFailureCallbacks.forEach((n) => n()), w = { status: 2 });
400}
401function ys(e) {
402	w.status === 1 && (w = {
403		status: 3,
404		worker: w.worker,
405		stop: w.stop,
406		version: e
407	});
408}
409function Qe(e, n, r, t) {
410	w.status === 1 || w.status === 0 ? (Je({
411		configuredUrl: e.workerUrl,
412		error: r,
413		source: n,
414		scriptType: "worker"
415	}), w.status === 1 && w.initializationFailureCallbacks.forEach((i) => i()), w = { status: 2 }) : er(r, {
416		worker_version: w.status === 3 && w.version,
417		stream_id: t
418	});
419}
420function bs(e, n, r, t) {
421	let i = n.findTrackedSession(), s = As(e, i, t);
422	return Li(e, {
423		viewContext: r.findView(),
424		errorType: s,
425		session: i
426	});
427}
428function As(e, n, r) {
429	if (!n) return "rum-not-tracked";
430	if (ir(n, e) === We.OFF) return "incorrect-session-plan";
431	if (!r) return "replay-not-started";
432}
433function ws(e, n) {
434	if (!e.metricsEnabled) return { stop: ue };
435	let r, t, i, { unsubscribe: s } = n.subscribe((a) => {
436		switch (a.type) {
437			case "start":
438				r = {
439					forced: a.forced,
440					timestamp: Ae()
441				}, t = void 0, i = void 0;
442				break;
443			case "document-ready":
444				r && (t = Ke(r.timestamp, Ae()));
445				break;
446			case "recorder-settled":
447				r && (i = Ke(r.timestamp, Ae()));
448				break;
449			case "aborted":
450			case "deflate-encoder-load-failed":
451			case "recorder-load-failed":
452			case "succeeded": s(), r && Bi($i.RECORDER_INIT_METRICS_TELEMETRY_NAME, { metrics: Ts(r.forced, i, Ke(r.timestamp, Ae()), a.type, t) });
453		}
454	});
455	return { stop: s };
456}
457function Ts(e, n, r, t, i) {
458	return {
459		forced: e,
460		loadRecorderModuleDuration: n,
461		recorderInitDuration: r,
462		result: t,
463		waitForDocReadyDuration: i
464	};
465}
466function Ns() {
467	return R(this, null, function* () {
468		try {
469			return yield ks();
470		} catch (e) {
471			Je({
472				error: e,
473				source: "Recorder",
474				scriptType: "module"
475			});
476		}
477	});
478}
479function ks() {
480	return R(this, null, function* () {
481		return (yield import("./chunk-wb6r62hsc.js")).startRecording;
482	});
483}
484function Is(e, n, r, t, i, s) {
485	let a = 0, o;
486	n.subscribe(Xt.SESSION_EXPIRED, () => {
487		(a === 2 || a === 3) && (b(), a = 1);
488	}), n.subscribe(Xt.SESSION_RENEWED, () => {
489		a === 1 && g();
490	});
491	let l = new Fi();
492	ws(s, l);
493	let d = (v) => R(null, null, function* () {
494		l.notify({
495			type: "start",
496			forced: v
497		});
498		let [y] = yield Promise.all([vr(l, { type: "recorder-settled" }, Ns()), vr(l, { type: "document-ready" }, Ni("interactive"))]);
499		if (a !== 2) {
500			l.notify({ type: "aborted" });
501			return;
502		}
503		if (!y) {
504			a = 0, l.notify({ type: "recorder-load-failed" });
505			return;
506		}
507		let f = i();
508		if (!f) {
509			a = 0, l.notify({ type: "deflate-encoder-load-failed" });
510			return;
511		}
512		({stop: o} = y(n, e, r, t, f, s)), a = 3, l.notify({ type: "succeeded" });
513	});
514	function g(v) {
515		let y = r.findTrackedSession(), f = y ? ir(y, e) : void 0;
516		if (!Cs(f, v)) {
517			a = 1;
518			return;
519		}
520		if (Rs(a)) return;
521		a = 2;
522		let T = Os(f, v) || !1;
523		d(T).catch(tr), T && r.updateSessionState({ forcedReplay: "1" });
524	}
525	function b() {
526		a === 3 && o?.(), a = 0;
527	}
528	return {
529		start: g,
530		stop: b,
531		getSessionReplayLink() {
532			return bs(e, r, t, a !== 0);
533		},
534		isRecording: () => a === 3
535	};
536}
537function Cs(e, n) {
538	return e !== void 0 && (e !== We.OFF || n?.force);
539}
540function Rs(e) {
541	return e === 2 || e === 3;
542}
543function Os(e, n) {
544	return n && n.force && e === We.OFF;
545}
546function vr(e, n, r) {
547	return R(this, null, function* () {
548		try {
549			return yield r;
550		} finally {
551			e.notify(n);
552		}
553	});
554}
555function Ls() {
556	let e = 0;
557	return {
558		strategy: {
559			start() {
560				e = 1;
561			},
562			stop() {
563				e = 2;
564			},
565			isRecording: () => !1,
566			getSessionReplayLink: ue
567		},
568		shouldStartImmediately(n) {
569			return e === 1 || e === 0 && !n.startSessionReplayRecordingManually;
570		}
571	};
572}
573function Ps() {
574	if (sr() && !nr(rr.RECORDS)) return {
575		start: ue,
576		stop: ue,
577		getReplayStats: () => {},
578		onRumStart: ue,
579		isRecording: () => !1,
580		getSessionReplayLink: () => {}
581	};
582	let { strategy: e, shouldStartImmediately: n } = Ls();
583	return {
584		start: (t) => e.start(t),
585		stop: () => e.stop(),
586		getSessionReplayLink: () => e.getSessionReplayLink(),
587		onRumStart: r,
588		isRecording: () => mr() === 3 && e.isRecording(),
589		getReplayStats: (t) => mr() === 3 ? ji(t) : void 0
590	};
591	function r(t, i, s, a, o, l) {
592		let d;
593		function g() {
594			return d || (o ??= _r(i, "Datadog Session Replay", () => e.stop()), o && (d = fr(o, Pi.REPLAY))), d;
595		}
596		e = Is(i, t, s, a, g, l), n(i) && e.start();
597	}
598}
599function xs() {
600	return qt.Profiler !== void 0;
601}
602function Ds(e) {
603	let n = { status: "starting" };
604	return e.assemble.register(({ eventType: r }) => r !== Te.VIEW && r !== Te.LONG_TASK && r !== Te.ACTION && r !== Te.VITAL ? Vi : {
605		type: r,
606		_dd: { profiling: n }
607	}), {
608		get: () => n,
609		set: (r) => {
610			n = r;
611		}
612	};
613}
614function Us() {
615	return R(this, null, function* () {
616		try {
617			return yield Ms();
618		} catch (e) {
619			Je({
620				error: e,
621				source: "Profiler",
622				scriptType: "module"
623			});
624		}
625	});
626}
627function Ms() {
628	return R(this, null, function* () {
629		return (yield import("./chunk-Codv0bh37.js")).createRumProfiler;
630	});
631}
632function Gs() {
633	let e;
634	function n(r, t, i, s, a, o) {
635		let l = s.findTrackedSession();
636		if (!l || !Fs(i, l)) return;
637		let d = Ds(t);
638		if (!xs()) {
639			d.set({
640				status: "error",
641				error_reason: "not-supported-by-browser"
642			});
643			return;
644		}
645		Us().then((g) => {
646			if (!g) {
647				d.set({
648					status: "error",
649					error_reason: "failed-to-lazy-load"
650				});
651				return;
652			}
653			e = g(i, r, s, d, o, a, void 0), e.start();
654		}).catch(tr);
655	}
656	return {
657		onRumStart: n,
658		stop: () => {
659			e?.stop();
660		}
661	};
662}
663function Fs(e, n) {
664	return sr() ? nr(rr.PROFILES) : zi(n.id, Di(e.sessionSampleRate, e.profilingSampleRate));
665}
666function Vs(e = {}) {
667	return {
668		name: "angular",
669		onInit({ publicApi: n, initConfiguration: r }) {
670			Le = n, Pe = e;
671			for (let t of It) t(Pe, Le);
672			e.router && (r.trackViewsManually = !0);
673		},
674		onRumStart({ addError: n }) {
675			if (kt = n, n) for (let r of Ct) r(n);
676		},
677		getConfigurationTelemetry() {
678			let n = Ri("angular", Kr.major);
679			return {
680				router: !!e.router,
681				integrations: Ti(n, e.router && "angular-router")
682			};
683		}
684	};
685}
686function zs(e) {
687	Pe && Le ? e(Pe, Le) : It.push(e);
688}
689function Bs(e) {
690	kt ? e(kt) : Ct.push(e);
691}
692function $s(e, n) {
693	zs((r, t) => {
694		if (!r.router) {
695			we.warn("`router: true` is missing from the angular plugin configuration, the view will not be tracked.");
696			return;
697		}
698		let i = Hs(e);
699		t.startView({
700			name: i,
701			url: n
702		});
703	});
704}
705function Hs(e) {
706	let n = [], r = e;
707	for (; r;) {
708		let t = r.routeConfig?.path;
709		if (t === "**") {
710			for (let i of r.url) n.push(i.path);
711			break;
712		}
713		t && n.push(t), r = r.children.find((i) => i.outlet === Or);
714	}
715	return `/${n.join("/")}`;
716}
717function js() {
718	return Xr([{
719		provide: ti,
720		multi: !0,
721		useFactory: () => {
722			let e = h(Zt);
723			return () => {
724				let n;
725				e.events.pipe(x((r) => r instanceof ai)).subscribe((r) => {
726					if (!r.shouldActivate) return;
727					let t = r.urlAfterRedirects, i = t.replace(/[?#].*$/, "");
728					if (i === n) return;
729					n = i;
730					let s = r.state.root;
731					$s(s, t);
732				});
733			};
734		}
735	}]);
736}
737function Ws(e) {
738	let n = ki("angular error"), r = Ui();
739	Bs((t) => {
740		wi(() => {
741			t({
742				error: e,
743				handlingStack: n,
744				startClocks: r,
745				context: O(A({}, typeof e == "object" && e !== null ? e.dd_context : void 0), { framework: "angular" })
746			});
747		});
748	});
749}
750function Ks(e) {
751	return e.get(De);
752}
753function Ys(e) {
754	return e.createForProduct(Ue, {
755		product: q.SF,
756		area: null,
757		forwardProductApiRequestHeader: !0
758	});
759}
760function Zs(e) {
761	return e.get(Me);
762}
763var qe, Xe, et, tt, Z, rt, de, X, Sr, it, Er, yr, st, H, D, ke, M, br, Ar, wr, nt, pe, j, at, ot, Tr, Nr, G, F, ee, lt, ct, ut, ht, dt, pt, gt, te, Ie, k, ft, _t, mt, vt, St, kr, W, Et, ge, fe, Ce, Ir, Cr, yt, bt, Re, Oe, At, J, V, wt, Tt, _e, Rr, w, Nt, Le, Pe, kt, It, Ct, Or, Rt, Lr, Pr, Ot, xr, xe, Lt, De, Pt, xt, z, Ue, Me, Ge, Dt, Ut, Dr, Mt, Gt, Ur, Fe, Mr, Gr;
764function Fr() {
765	return (Fr = ar((() => {
766		Vr(), $t(), si(), li(), ui(), vi(), Ei(), yi(), gi(), Ze(), Ai(), Hi(), Mi(), qe = (function(e) {
767			return e.ACCOUNT_MENU_HEADER_ANCHOR = "ACCOUNT_MENU_HEADER_ANCHOR", e.ACCOUNT_MENU_SLIDER_ANCHOR = "ACCOUNT_MENU_SLIDER_ANCHOR", e.ACCOUNT_MENU_TASKS_ANCHOR = "ACCOUNT_MENU_TASKS_ANCHOR", e.AUTH_HEADER_SECTION = "AUTH_HEADER_SECTION", e.AVATAR_HEADER_ANCHOR = "AVATAR_HEADER_ANCHOR", e.BALANCE_HEADER_ANCHOR = "BALANCE_HEADER_ANCHOR", e.DEPOSIT_BUTTON_ANCHOR = "DEPOSIT_BUTTON_ANCHOR", e.HEADER_SLOT = "HEADER_SLOT", e.MAIN_SLOT = "MAIN_SLOT", e.NAV_LAYOUT_CONTAINER = "NAV_LAYOUT_CONTAINER", e.QUICK_DEPOSIT_WRAPPER = "QUICKDEPOSIT_WRAPPER", e.TERMINAL_BALANCE_HEADER_ANCHOR = "TERMINAL_BALANCE_HEADER_ANCHOR", e;
768		})(qe || {}), Xe = (function(e) {
769			return e.WindowEvent = "windowEvent", e.ApiRequest = "apiRequest", e.Initial = "initial", e;
770		})(Xe || {}), et = (function(e) {
771			return e.Disable = "Disable", e;
772		})(et || {}), tt = (function(e) {
773			return e.ClockShowTimes = "clockShowTimes", e.LugasTimestamp = "lugasTimestamp", e.PlayBreakType = "playBreakType", e.SeonSessionKey = "seon_session_key", e.Tracking = "tracking", e.VnProductMenuReturnUrl = "vn.ProductMenuReturnUrl", e.WrapperEmulatorSettings = "wrapper_emulator.settings", e.ErrorLogTime = "error-log-time", e.MaintenancePingInterval = "maintenance-ping-interval", e.MaintenanceContent = "maintenance-content", e.MaintenanceInterceptorCodes = "maintenance-status-codes", e.MaintenanceEnabled = "maintenance-enabled", e;
774		})(tt || {}), Z = (function(e) {
775			return e.MessageQueue = "message-queue", e.RouteScrollInfo = "route-scroll-info", e.IsBalanceVisible = "isBalanceVisible", e;
776		})(Z || {}), rt = (function(e) {
777			return e.GtSm = "gt-sm", e;
778		})(rt || {}), de = Yi(), X = Ki((e) => ({ numCoalescingSubscribers: 0 })), qr(he("Promise").resolve()), Sr = he("Promise"), it = "window" in globalThis && typeof window.requestIdleCallback == "function", Er = it ? window.requestIdleCallback : (e, n) => Qi(e, n?.timeout ?? 0), yr = it ? window.cancelIdleCallback : (e) => qi(e), st = (() => {
779			let e = class {
780				constructor() {
781					this.zone = h(Yt);
782				}
783				scheduleIdleCallback(r, t = 0, i) {
784					let s = Er(r, { timeout: t });
785					return () => yr(s);
786				}
787				setIntervalOutsideAngularZone(r, t = 0, i) {
788					let s;
789					return this.zone.runOutsideAngular(() => {
790						s = setInterval(() => {
791							r();
792						}, t);
793					}), s;
794				}
795				setTimeoutOutsideAngularZone(r, t = 0, i) {
796					let s;
797					return this.zone.runOutsideAngular(() => {
798						s = setTimeout(() => {
799							r();
800						}, t);
801					}), s;
802				}
803				setInterval(r, t = 0, i) {
804					return setInterval(() => r(), t);
805				}
806				setTimeout(r, t = 0, i) {
807					return setTimeout(() => r(), t);
808				}
809				clearInterval(r) {
810					clearInterval(r);
811				}
812				clearTimeout(r) {
813					clearTimeout(r);
814				}
815				requestAnimationFrame(r, t) {
816					return requestAnimationFrame(r);
817				}
818				cancelAnimationFrame(r) {
819					cancelAnimationFrame(r);
820				}
821			};
822			return e.ɵfac = function(n) {
823				return new (n || e)();
824			}, e.ɵprov = E({
825				token: e,
826				factory: e.ɵfac,
827				providedIn: "root"
828			}), e;
829		}
829)(), H = (function(e) {
830			return e.Error = "Error", e.Warning = "Warn", e.Info = "Info", e.Trace = "Trace", e;
831		})(H || {}), D = {
832			Debug: "Debug",
833			Info: "Info",
834			Warn: "Warn",
835			Error: "Error"
836		}, ke = class Ft {
837			constructor() {
838				this.occurrences = 1;
839			}
840			static fromArgs(n, r, t) {
841				let i = new Ft();
842				return i.time = Date.now(), i.message = n, i.type = r, i.product = t, i;
843			}
844			static fromError(n, r) {
845				let t = new Ft();
846				return t.time = Date.now(), t.message = n.message, t.name = n.name, t.description = n.description, t.stack = n.stack, t.stacktrace = n.stacktrace, t.sourceURL = n.sourceURL, t.line = n.line, t.number = n.number, t.lineNumber = n.lineNumber, t.columnNumber = n.columnNumber, t.fileName = n.fileName, t.type = H.Error, t.product = r, n.arguments instanceof Array ? t.arguments = n.arguments.toString() : t.arguments = n.arguments, typeof n.toSource == "function" && (t.source = n.toSource()), t;
847			}
848		}, M = /* @__PURE__ */ new Uint32Array(65536), br = (e, n) => {
849			let r = e.length, t = n.length, i = 1 << r - 1, s = -1, a = 0, o = r, l = r;
850			for (; l--;) M[e.charCodeAt(l)] |= 1 << l;
851			for (l = 0; l < t; l++) {
852				let d = M[n.charCodeAt(l)], g = d | a;
853				d |= (d & s) + s ^ s, a |= ~(d | s), s &= d, a & i && o++, s & i && o--, a = a << 1 | 1, s = s << 1 | ~(g | a), a &= g;
854			}
855			for (l = r; l--;) M[e.charCodeAt(l)] = 0;
856			return o;
857		}, Ar = (e, n) => {
858			let r = n.length, t = e.length, i = [], s = [], a = Math.ceil(r / 32), o = Math.ceil(t / 32);
859			for (let f = 0; f < a; f++) s[f] = -1, i[f] = 0;
860			let l = 0;
861			for (; l < o - 1; l++) {
862				let f = 0, T = -1, S = l * 32, u = Math.min(32, t) + S;
863				for (let p = S; p < u; p++) M[e.charCodeAt(p)] |= 1 << p;
864				for (let p = 0; p < r; p++) {
865					let m = M[n.charCodeAt(p)], _ = s[p / 32 | 0] >>> p & 1, N = i[p / 32 | 0] >>> p & 1, L = m | f, re = ((m | N) & T) + T ^ T | m | N, K = f | ~(re | T), me = T & re;
866					K >>> 31 ^ _ && (s[p / 32 | 0] ^= 1 << p), me >>> 31 ^ N && (i[p / 32 | 0] ^= 1 << p), K = K << 1 | _, me = me << 1 | N, T = me | ~(L | K), f = K & L;
867				}
868				for (let p = S; p < u; p++) M[e.charCodeAt(p)] = 0;
869			}
870			let d = 0, g = -1, b = l * 32, v = Math.min(32, t - b) + b;
871			for (let f = b; f < v; f++) M[e.charCodeAt(f)] |= 1 << f;
872			let y = t;
873			for (let f = 0; f < r; f++) {
874				let T = M[n.charCodeAt(f)], S = s[f / 32 | 0] >>> f & 1, u = i[f / 32 | 0] >>> f & 1, p = T | d, m = ((T | u) & g) + g ^ g | T | u, _ = d | ~(m | g), N = g & m;
875				y += _ >>> t - 1 & 1, y -= N >>> t - 1 & 1, _ >>> 31 ^ S && (s[f / 32 | 0] ^= 1 << f), N >>> 31 ^ u && (i[f / 32 | 0] ^= 1 << f), _ = _ << 1 | S, N = N << 1 | u, g = N | ~(p | _), d = _ & p;
876			}
877			for (let f = b; f < v; f++) M[e.charCodeAt(f)] = 0;
878			return y;
879		}, wr = (e, n) => {
880			if (e.length < n.length) {
881				let r = n;
882				n = e, e = r;
883			}
884			return n.length === 0 ? e.length : e.length <= 32 ? br(e, n) : Ar(e, n);
885		}, nt = (() => {
886			let e = class P {
887				constructor() {
888					this.queue = [];
889				}
890				static configure(r) {
891					this.DebounceInterval = r.debounceInterval ?? this.DebounceInterval, this.MaxErrorsPerBatch = r.maxErrorsPerBatch ?? this.MaxErrorsPerBatch, this.IsEnabled = r.isEnabled, this.url = r.url, this.disableLogLevels = r.disableLogLevels ?? this.disableLogLevels, this.currentHostProduct = r.hostProduct;
892				}
893				logError(r, t) {
894					if (!P.IsEnabled) return;
895					let i = r != null && typeof r == "object" ? ke.fromError(r, P.currentHostProduct) : ke.fromArgs(r, H.Error, P.currentHostProduct);
896					if (t && (i.message = `${t} - ${i.message}`), this.shouldDisableLog(i.message, H.Error)) return;
897					let s = this.queue.find((a) => a.message !== i.message ? !1 : i.stack ? a.stack ? wr(a.stack, i.stack) / Math.max(a.stack.length, i.stack.length) * 100 < 20 : !1 : !a.stack);
898					s ? s.occurrences += 1 : (this.queue.push(i), this.sendLogs());
899				}
900				log(r, t) {
901					P.IsEnabled && !this.shouldDisableLog(r, t) && (this.queue.push(ke.fromArgs(r, t, P.currentHostProduct)), this.sendLogs());
902				}
903				sendLogsWithBeacon() {
904					if (this.queue.length) {
905						let r = new Blob([JSON.stringify(this.queue.slice(0, P.MaxErrorsPerBatch))], { type: "application/json" });
906						navigator.sendBeacon(P.url, r), this.queue = [];
907					}
908				}
909				sendLogs() {
910					this.timeoutId ??= setTimeout(() => {
911						let r = JSON.stringify(this.queue.slice(0, P.MaxErrorsPerBatch));
912						fetch(P.url, {
913							method: "POST",
914							body: r,
915							headers: { "content-type": "application/json" },
916							credentials: "include",
917							keepalive: !0
918						}).catch(() => {}).then(() => {
919							this.timeoutId = null;
920						}), this.queue = [];
921					}, P.DebounceInterval);
922				}
923				shouldDisableLog(r, t) {
924					let i = t.toLowerCase();
925					if (i in P.disableLogLevels) {
926						let s = P.disableLogLevels[i];
927						return s === null || s instanceof RegExp && s.test(r);
928					}
929					return !1;
930				}
931			};
932			return e.DebounceInterval = 2e3, e.MaxErrorsPerBatch = 10, e.IsEnabled = !0, e.url = "", e.disableLogLevels = {}, e;
933		})(), pe = new nt(), j = (() => {
934			let e = class {
935				constructor() {
936					this.page = h(ye);
937				}
938				debug(r, ...t) {
939					if (this.isEnabledClient(D.Debug)) {
940						let i = this.sanitizeMessage(r);
941						console.debug(i, ...t);
942					}
943				}
944				info(r, ...t) {
945					if (this.isEnabledClient(D.Info)) {
946						let i = this.sanitizeMessage(r);
947						console.info(i, ...t);
948					}
949				}
950				warn(r, ...t) {
951					if (this.isEnabledClient(D.Warn)) {
952						let i = this.sanitizeMessage(r);
953						console.warn(i, ...t);
954					}
955				}
956				error(r, ...t) {
957					if (this.isEnabledClient(D.Error)) {
958						let i = this.sanitizeMessage(r);
959						console.error(i, ...t);
960					}
961				}
962				errorRemote(r, t) {
963					if (this.isEnabledRemote(D.Error)) {
964						let i = this.sanitizeMessage(r);
965						this.error(i, t), pe.logError(t, i);
966					}
967				}
968				warnRemote(r) {
969					if (this.isEnabledRemote(D.Warn)) {
970						let t = this.sanitizeMessage(r);
971						pe.log(t, H.Warning);
972					}
973				}
974				infoRemote(r) {
975					if (this.isEnabledRemote(D.Info)) {
976						let t = this.sanitizeMessage(r);
977						pe.log(t, H.Info);
978					}
979				}
980				sanitizeMessage(r) {
981					if (r) {
982						let t = /* @__PURE__ */ new RegExp(/password:[^,}\n]*([,}]?)/gi);
983						return r.replace(t, (i, s) => s === "," ? "" : s);
984					}
985					return r;
986				}
987				isEnabledRemote(r) {
988					return r === D.Error || r === D.Warn || r === D.Info || !this.page.isProduction || this.page.isInternal;
989				}
990				isEnabledClient(r) {
991					return this.page.logging?.enabledClientLogLevels?.indexOf(r) > -1;
992				}
993			};
994			return e.ɵfac = function(n) {
995				return new (n || e)();
996			}, e.ɵprov = E({
997				token: e,
998				factory: e.ɵfac,
999				providedIn: "root"
1000			}), e;
1001		})(), at = (() => {
1002			let e = class {
1003				constructor() {
1004					this.injector = h(jt), this.productService = h(ce);
1005				}
1006				get(r, t) {
1007					let i;
1008					return this.productService.current.isHost || (i = this.productService.current.injector.get(r, void 0)), i || this.injector.get(r, t);
1009				}
1010				getMultiple(r) {
1011					let t = this.injector.get(r, []);
1012					if (this.productService.current.isHost) return t;
1013					let i = this.productService.current.injector.get(r, []);
1014					return t.concat(i);
1015				}
1016			};
1017			return e.ɵfac = function(n) {
1018				return new (n || e)();
1019			}, e.ɵprov = E({
1020				token: e,
1021				factory: e.ɵfac,
1022				providedIn: "root"
1023			}), e;
1024		})(), ot = (() => {
1025			let e = class {
1026				constructor() {
1027					this.watch = {}, this.isStable = !0, this.flushScheduled = !1, this.cache = /* @__PURE__ */ new Map(), this.invalidateEvents = new $(), this.stableEvents = new $(), this.invalidated = /* @__PURE__ */ new Set();
1028				}
1029				get invalidation() {
1030					return this.invalidateEvents;
1031				}
1032				whenStable() {
1033					return this.isStable ? ze(void 0) : this.stableEvents.pipe(Wt());
1034				}
1035				get(r) {
1036					return this.cache.get(r);
1037				}
1038				set(r, t, i, s) {
1039					let a = {
1040						result: t,
1041						dependencies: i,
1042						notReady: s
1043					};
1044					this.cache.set(r, a), i.forEach((o) => this.watch[o] = ~~this.watch[o] + 1);
1045				}
1046				invalidate(r) {
1047					r = r.filter((t) => this.watch[t]), r.length && (this.isStable = !1, this.cache.forEach((t, i) => {
1048						for (let s of r) if (t.dependencies.has(s)) {
1049							t.dependencies.forEach((a) => {
1050								this.watch[a] && this.watch[a]--;
1051							}), this.cache.delete(i), this.invalidated.add(s);
1052							break;
1053						}
1054					}), this.scheduleFlush());
1055				}
1056				scheduleFlush() {
1057					this.flushScheduled || (this.flushScheduled = !0, queueMicrotask(() => this.flush()));
1058				}
1059				flush() {
1060					this.flushScheduled = !1;
1061					let r = new Set(this.invalidated);
1062					this.invalidated.clear(), this.isStable = !0, this.invalidateEvents.next(r), this.stableEvents.next();
1063				}
1064			};
1065			return e.ɵfac = function(n) {
1066				return new (n || e)();
1067			}, e.ɵprov = E({
1068				token: e,
1069				factory: e.ɵfac,
1070				providedIn: "root"
1071			}), e;
1072		})(), Tr = class {
1073			constructor(e) {
1074				this.type = e, this.config = /* @__PURE__ */ new Map();
1075			}
1076			createSimpleProperty(e, n, r) {
1077				return this.config.set(r, {
1078					type: F.Property,
1079					fn: () => e[n] ?? "",
1080					dependenciesFactory: this.createDependenciesFactory(void 0, `${this.type}.${n.toString()}`)
1081				}), this;
1082			}
1083			createProperty(e) {
1084				return this.config.set(e.name, {
1085					type: F.Property,
1086					fn: e.get,
1087					dependenciesFactory: this.createDependenciesFactory(e.deps, `${this.type}.${e.name}`)
1088				}), this;
1089			}
1090			createFunction(e) {
1091				return this.config.set(e.name, {
1092					type: F.Function,
1093					fn: e.get,
1094					dependenciesFactory: this.createDependenciesFactory(e.deps, `${this.type}.${e.name}`)
1095				}), this;
1096			}
1097			createAction(e) {
1098				return this.config.set(e.name, {
1099					type: F.Action,
1100					fn: e.fn,
1101					dependenciesFactory: () => []
1102				}), this;
1103			}
1104			createDependenciesFactory(e, n) {
1105				let r = (i) => typeof i == "string" ? {
1106					key: i,
1107					args: 0
1108				} : i, t = e ? e instanceof Function ? [] : Array.isArray(e) ? e.map(r) : [{
1109					key: e,
1110					args: 0
1111				}] : [{
1112					key: n,
1113					args: 0
1114				}];
1115				return e instanceof Function ? e : (...i) => t.map((s) => {
1116					let a = s.key;
1117					for (let o = 0; o < s.args; o++) a += s.argsToLowerCase ? `.${i[o]}`.toLowerCase() : `.${i[o]}`;
1118					return a;
1119				});
1120			}
1121		}, Nr = class {
1122			constructor() {
1123				this.deps = /* @__PURE__ */ new Set();
1124			}
1125		}, G = (function(e) {
1126			return e[e.Expression = 0] = "Expression", e[e.Action = 1] = "Action", e;
1127		})(G || {}), F = (function(e) {
1128			return e[e.Property = 0] = "Property", e[e.Function = 1] = "Function", e[e.Action = 2] = "Action", e;
1129		})(F || {}), ee = class {
1130			constructor() {
1131				this.items = {}, this.dslFields = [];
1132			}
1133		}, lt = "__DSL_NOT_READY__", ct = (() => {
1134			let e = class {
1135				constructor() {
1136					this.log = h(j);
1137				}
1138				createRecordable(r) {
1139					return new Proxy(new Tr(r), { get: (t, i) => {
1140						if (i in t) return t[i];
1141						if (!this.recording) throw new Error("Recordable member requested when not recording.");
1142						let s = t.config.get(i);
1143						if (!s) throw new Error(`${i} is not defined on the recordable.`);
1144						switch (s.type) {
1145							case F.Property: return this.handleProperty(s);
1146							case F.Function:
1147							case F.Action: return this.createFunctionProxy(s, t.providerName, i);
1148						}
1149					} });
1150				}
1151				beginRecording() {
1152					this.recording = new Nr();
1153				}
1154				endRecording() {
1155					if (!this.recording) throw new Error("Recording wasn't started");
1156					let r = this.recording;
1157					return this.recording = null, r;
1158				}
1159				handleProperty(r) {
1160					return r.dependenciesFactory().forEach((t) => this.recording?.deps.add(t)), this.executeProvider(() => r.fn());
1161				}
1162				createFunctionProxy(r, t, i) {
1163					return new Proxy(r.fn, { apply: (s, a, o) => {
1164						r.dependenciesFactory(...o).forEach((d) => this.recording?.deps.add(d));
1165						let l = this.executeProvider(() => s.apply(a, o));
1166						if (r.type === F.Action) {
1167							let d = o.map((g) => typeof g == "string" ? `'${g}'` : g).join(", ");
1168							this.log.debug(`DSL action: ${t}.${i}(${d})`);
1169						}
1170						return l;
1171					} });
1172				}
1173				executeProvider(r) {
1174					let t = r();
1175					if (t === "__DSL_NOT_READY__") throw new Error(lt);
1176					return t;
1177				}
1178			};
1179			return e.ɵfac = function(n) {
1180				return new (n || e)();
1181			}, e.ɵprov = E({
1182				token: e,
1183				factory: e.ɵfac,
1184				providedIn: "root"
1185			}), e;
1186		})(), ut = new ve("dsl-values-provider-token"), ht = new ve("lazy-dsl-values-provider-token"), dt = (() => {
1187			let e = class {
1188				constructor() {
1189					this.dslRecorderService = h(ct), this.dslCacheService = h(ot), this.productInjector = h(at), this.productService = h(ce), this.userService = h(be), this.log = h(j), this.destroyRef = h(se), this.context = {}, this.changeEvents = new $(), this._notRegisteredRecordables = [], this._defaultValuesNotReadyDslProviders = {}, this.dslCacheService.invalidation.pipe(U(this.destroyRef)).subscribe((r) => this.changeEvents.next(r)), this.productService.productChanged.pipe(U(this.destroyRef)).subscribe(() => this.getContext());
1190				}
1191				get change() {
1192					return this.changeEvents;
1193				}
1194				get notRegisteredRecordables() {
1195					return this._notRegisteredRecordables;
1196				}
1197				whenStable() {
1198					return this.dslCacheService.whenStable();
1199				}
1200				run(r, t = G.Expression) {
1201					let i = {
1202						result: void 0,
1203						deps: /* @__PURE__ */ new Set()
1204					};
1205					if (!r) return i = {
1206						result: !0,
1207						deps: /* @__PURE__ */ new Set()
1208					}, i;
1209					if (t === G.Expression) {
1210						let l = this.dslCacheService.get(r);
1211						if (l) return this.log.debug(`eval DSL ${r} to ${l.result} (cached)`), i = {
1212							result: l.result,
1213							deps: l.dependencies,
1214							notReady: l.notReady
1215						}, i;
1216					}
1217					this.dslRecorderService.beginRecording();
1218					let s = this.getContext(), a = this._notRegisteredRecordables.filter((l) => r.match(l.propertyRegex));
1219					if (i.notReady = !1, this.userService.isAuthenticated && a.length > 0) i.notReady = !0, i.error = /* @__PURE__ */ new Error(`Expression contains DSL providers not yet registered: ${a.map((l) => l.expression).join(",")}.`);
1220					else try {
1221						let l = this.buildFunction(r, t, a);
1222						i.result = l.call(null, s);
1223					} catch (l) {
1224						l.message === "__DSL_NOT_READY__" ? i.notReady = !0 : (i.error = l, this.log.errorRemote(`Error occurred when evaluating DSL '${r}'`, l));
1225					}
1226					let o = this.dslRecorderService.endRecording();
1227					return i.deps = o.deps, a.forEach((l) => {
1228						let d = l.expression.split(".")[1]?.toLowerCase();
1229						d && i.deps.add(d);
1230					}), this.log.debug(`eval DSL ${r} to ${i.result}`), this.dslCacheService.set(r, i.result, i.deps, i.notReady), i;
1231				}
1232				registerDefaultValuesNotReadyDslProviders(r) {
1233					this._defaultValuesNotReadyDslProviders = A(A({}, this._defaultValuesNotReadyDslProviders), r), this._notRegisteredRecordables.push(...Object.keys(r).map((t) => ({
1234						expression: t,
1235						functionRegex: new RegExp(`${t}\\s*\\([^()]*\\)`, "ig"),
1236						propertyRegex: new RegExp(`\\b${t}\\b`, "ig")
1237					})));
1238				}
1239				addToContext(r) {
1240					if (r?.length > 0) {
1241						let t = r.reduce((i, s) => this.enrichContext(i, s), {});
1242						Object.keys(t).forEach((i) => this.lazyProviderReady(i)), this.context = Object.assign(this.context, t);
1243					}
1244				}
1245				getContext() {
1246					let r = this.productInjector.getMultiple(ut).reduce((t, i) => this.enrichContext(t, i), {});
1247					return this.context = Object.assign(this.context, r), this.context;
1248				}
1249				enrichContext(r, t) {
1250					let i = t.getProviders();
1251					for (let s in i) i[s] && (i[s].providerName = s);
1252					return Object.assign(r, i);
1253				}
1254				buildFunction(r, t, i) {
1255					let s, a = r;
1256					switch (i.length > 0 && (i.forEach((o) => {
1257						let l = this._defaultValuesNotReadyDslProviders[o.expression]?.toString() ?? "\"\"";
1258						a = a.replace(o.functionRegex, l), a = a.replace(o.propertyRegex, l);
1259					}), a = a.replace(/--/g, "- -")), t) {
1260						case G.Expression:
1261							s = `return (${a});`;
1262							break;
1263						case G.Action:
1264							s = a;
1265							break;
1266						default: throw new Error();
1267					}
1268					return new Function("c", `"use strict"; ${s}`);
1269				}
1270				lazyProviderReady(r) {
1271					this._notRegisteredRecordables = this.notRegisteredRecordables.filter((t) => !t.expression.toLowerCase().startsWith(`c.${r.toLowerCase()}.`)), this.dslCacheService.invalidate([r.toLowerCase()]);
1272				}
1273			};
1274			return e.ɵfac = function(n) {
1275				return new (n || e)();
1276			}, e.ɵprov = E({
1277				token: e,
1278				factory: e.ɵfac,
1279				providedIn: "root"
1280			}), e;
1281		})(), pt = "dsl:///", gt = (() => {
1282			let e = class {
1283				constructor() {
1284					this.dslEnvService = h(dt), this.destroyRef = h(se);
1285				}
1286				evaluateContent(r, t) {
1287					return r = Qt(r), new ie((i) => {
1288						this.dslEnvService.whenStable().pipe(U(this.destroyRef)).subscribe(() => {
1289							if (!r) {
1290								i.next(r);
1291								return;
1292							}
1293							let s = ls(r, t), a = /* @__PURE__ */ new Set(), o = () => {
1294								let l = /* @__PURE__ */ new Set();
1295								s.hasCondition && !this.evalExpression(r.condition, l) ? i.next({}) : s.items ? i.next(this.evaluateDsl(r, s, l)) : i.next(r), a = l;
1296							};
1297							o(), i.add(this.dslEnvService.change.pipe(U(this.destroyRef), x((l) => this.shouldReevaluate(a, l))).subscribe(() => o()));
1298						});
1299					}).pipe(Yr((i, s) => JSON.stringify(i) === JSON.stringify(s)));
1300				}
1301				evaluateExpression(r) {
1302					return new ie((t) => {
1303						this.dslEnvService.whenStable().pipe(U(this.destroyRef)).subscribe(() => {
1304							let i = /* @__PURE__ */ new Set(), s = () => {
1305								let a = /* @__PURE__ */ new Set(), o = this.evalWithFullResult(r, G.Expression, a);
1306								o.notReady || t.next(o.result), i = a;
1307							};
1308							s(), t.add(this.dslEnvService.change.pipe(U(this.destroyRef), x((a) => this.shouldReevaluate(i, a))).subscribe(() => s()));
1309						});
1310					});
1311				}
1312				executeAction(r) {
1313					return new ie((t) => {
1314						this.dslEnvService.whenStable().pipe(U(this.destroyRef)).subscribe(() => {
1315							let i = /* @__PURE__ */ new Set(), s = () => {
1316								let a = /* @__PURE__ */ new Set(), o = this.evalWithFullResult(r, G.Action, a);
1317								o.notReady || t.next(o.result), i = a;
1318							};
1319							s(), t.add(this.dslEnvService.change.pipe(U(this.destroyRef), x((a) => this.shouldReevaluate(i, a))).subscribe(() => s()));
1320						});
1321					});
1322				}
1323				evaluateDsl(r, t, i) {
1324					let s = Qt(r);
1325					return t.isProxy && ([s, t] = this.evalProxy(s, t, i), !s) ? null : (t.isArray ? s = this.evalArray(s, t, i) : (this.evalPlaceholders(s, t, i), this.evalRecursive(s, t, i)), s);
1326				}
1327				evalRecursive(r, t, i) {
1328					Jt(t.items, (s, a) => {
1329						if (s.isProxy && ([r[a], s] = this.evalProxy(r[a], s, i), !r[a
1329])) {
1330							delete r[a];
1331							return;
1332						}
1333						s.hasCondition && !this.evalExpression(r[a].condition, i) ? delete r[a] : (this.evalPlaceholders(r[a], s, i), s.items && (s.isArray ? r[a] = this.evalArray(r[a], s, i) : this.evalRecursive(r[a], s, i)));
1334					});
1335				}
1336				evalArray(r, t, i) {
1337					let s = [];
1338					return r.forEach((a, o) => {
1339						let l = t.items[o];
1340						if (!l) s.push(a);
1341						else {
1342							if (l.isProxy && ([a, l] = this.evalProxy(a, l, i), !a)) return;
1343							(!l.hasCondition || this.evalExpression(a.condition, i)) && (this.evalPlaceholders(a, l, i), s.push(a), l.items && this.evalRecursive(a, l, i));
1344						}
1345					}), s;
1346				}
1347				evalProxy(r, t, i) {
1348					for (let s = 0; s < r.rules.length; s++) {
1349						let a = r.rules[s];
1350						if (this.evalExpression(a.condition, i)) {
1351							let o = t.items.rules.items[s], l = o == null || o.items == null ? new ee() : o.items.document;
1352							return l.isProxy ? this.evalProxy(a.document, l, i) : [a.document, l];
1353						}
1354					}
1355					return [null, null];
1356				}
1357				evalPlaceholders(r, t, i) {
1358					t.dslFields.forEach((s) => {
1359						r[s] = this.evalExpression(r[s], i);
1360					});
1361				}
1362				evalExpression(r, t) {
1363					return this.evalWithFullResult(r, G.Expression, t).result;
1364				}
1365				evalWithFullResult(r, t, i) {
1366					let s = this.dslEnvService.run(r, t);
1367					return i && s.deps.forEach((a) => i.add(a)), s;
1368				}
1369				shouldReevaluate(r, t) {
1370					t.size < r.size && ([r, t] = [t, r]);
1371					for (let i of Array.from(r)) if (t.has(i)) return !0;
1372					return !1;
1373				}
1374			};
1375			return e.ɵfac = function(n) {
1376				return new (n || e)();
1377			}, e.ɵprov = E({
1378				token: e,
1379				factory: e.ɵfac,
1380				providedIn: "root"
1381			}), e;
1382		})(), te = (function(e) {
1383			return e.AccountMenuToggle = "ACCOUNT_MENU_TOGGLE", e.ChatUpdate = "CHAT_UPDATE", e.ConfirmPopupLeaveButton = "ConfirmPopupLeaveButton", e.DepositSuccessQD = "depositSuccessQD", e.FeatureEnabledStatus = "FeatureEnabledStatus", e.FooterLoaded = "FooterLoaded", e.FooterSlotLoaded = "FooterSlotLoaded", e.GridConnectLogin = "GridConnectLogin", e.InboxClose = "InboxClose", e.InboxOpen = "InboxOpen", e.LoginDialogClose = "LOGIN_DIALOG_CLOSE", e.LoginGoogleAnalyticsTracking = "LOGIN_GOOGLE_ANALYTICS_TRACKING", e.OpenOnboardingTour = "OPEN_ONBOARDING_TOUR", e.PlayBreak = "PLAY_BREAK", e.ProductMenuToggle = "PRODUCT_MENU_TOGGLE", e.ProductMenuScrollStrategyUpdate = "PRODUCT_MENU_SCROLL_STRATEGY_UPDATE", e.ResetTerminal = "RESET_TERMINAL", e.SessionContinue = "SESSION_CONTINUE", e.ToastrClosed = "ToastrClosed", e.TriggerAnimation = "TriggerAnimation", e.ValueTicket = "VALUETICKET", e.EVENT_SENT_TO_NATIVE = "EVENT_SENT_TO_NATIVE", e.EVENT_SENT_TO_PLAYTECH = "EVENT_SENT_TO_PLAYTECH", e.RefreshCrmOffers = "REFRESH_CRM_OFFERS", e.GestureAnimationStart = "GESTURE_ANIMATION_START", e.GestureAnimationEnd = "GESTURE_ANIMATION_END", e.DeleteSuperCookiePostLogin = "DELETE_SUPER_COOKIE_POST_LOGIN", e.DepositSuccessEvent = "DEPOSIT_SUCCESS_EVENT", e;
1384		})(te || {}), Ie = (() => {
1385			let e = class {
1386				constructor() {
1387					this.event = Vt(null), this.sourceSubject = new $(), this.sourceBehaviorSubject = new Ee(null), this.sourceReplaySubject = new Se(), this.sourceSubject.subscribe((r) => {
1388						this.sourceBehaviorSubject.next(r), this.sourceReplaySubject.next(r);
1389					});
1390				}
1391				get events() {
1392					return this.sourceBehaviorSubject.pipe(x((r) => r !== null));
1393				}
1394				get newEvents() {
1395					return this.sourceSubject.pipe(x((r) => r !== null));
1396				}
1397				get allEvents() {
1398					return this.sourceReplaySubject.pipe(x((r) => r !== null), ii((r) => JSON.stringify(r)));
1399				}
1400				raise(r) {
1401					this.event.set(r), this.sourceSubject.next(r);
1402				}
1403			};
1404			return e.ɵfac = function(n) {
1405				return new (n || e)();
1406			}, e.ɵprov = E({
1407				token: e,
1408				factory: e.ɵfac,
1409				providedIn: "root"
1410			}), e;
1411		})(), k = (function(e) {
1412			return e.AbSocialLog = "ab-social-log", e.AccountMenuDrawer = "vn-am-drawer", e.ActivityPopupClosed = "activitypopupclosed", e.AdditionalPostLoginOptions = "additional-ccb-post-login-options", e.AseLoyalty = "vn-ase-loyalty", e.AmHiddenNudges = "am-hidden-nudges", e.AmHiddenTasks = "am-hidden-tasks", e.AppleUser = "apple-user", e.AppVersion = "appVersion", e.ClsdL = "clsd-l", e.ClsdP = "clsd-p", e.ClsdS = "clsd-s", e.DarkMode = "dark-mode", e.DepositTooltip = "depositTooltip", e.DepositTooltipDismissed = "depositTooltipDismissed", e.DeviceDetails = "deviceDetails", e.DeviceId = "deviceId", e.DisplayedInterceptors = "DisplayedInterceptors", e.Dpto = "dpto", e.EntryUrl = "entryUrl", e.EntryUrlReferrer = "entryUrlReferrer", e.EuConsent = "euconsent", e.GdAccepted = "gdAccepted", e.GdReturnPath = "gdReturnPath", e.GeoLocation = "geolocation", e.GoogleAnalytics = "_ga", e.GoogleTrackingConsent = "OptanonConsent", e.HintQueue = "hq", e.IdTokenHint = "
1412id_token_hint", e.IsLanguageChangedCookieName = "isLanguageChanged", e.LastCoolOffProduct = "lastCoolOffProduct", e.LastKnownProduct = "lastKnownProduct", e.LastVisitor = "lastVisitor", e.LdExperiment = "vn-ld-exp", e.LoginHint = "login_hint", e.LoginType = "loginType", e.LoyaltyModeValues = "vn-lm", e.MmcoreBwinvar = "mmcore.bwinvar", e.MobileLoginPostLoginValues = "mobileLogin.PostLoginValues", e.NewVisitorPageOpted = "vn-nv-opted", e.Nonce = "nonce", e.OnBtt = "onbtt", e.PfU = "pf-u", e.PreviousPageUrl = "vn-previousPageUrl", e.RedirectMsgShown = "redirectMsgShown", e.RedirexOriginal = "redirex-original", e.RmH = "rm-h", e.RmI = "rm-i", e.RmLp = "rm-lp", e.RmOnDocRequest = "rm-on-document-request", e.Rurl = "rurl", e.SessionLimits = "sessionlimits", e.SevenRedirect = "seven-redirect", e.ShopId = "shop_id", e.ShowChangeLabelSuccess = "showChangeLabelSuccess", e.SkipUserLanguage = "skipUserLanguage", e.SmartBannerShown = "vn_smart_banner_shown", e.SsoToken = "ssoToken", e.StandaloneOverride = "StandaloneOverride", e.StateChanged = "vn-labelchanged", e.SuperCookie = "superCookie", e.TerminalId = "terminal_id", e.ThirdPartyTracker = "thirdPartyTracker", e.ToastrQueue = "tq", e.ToastShownInStates = "toastShownInStates", e.TrackerId = "trackerId", e.TrackingAffiliate = "trackingAffiliate", e.UnsupportedBrowserLanguage = "unsupportedBrowserLanguage", e.UserSummary = "usersummary", e.VnAuth = "vnauth", e.VnGeolocationTracking = "vn-geolocation-tracking", e.VnClientId = "vnCid", e.VnGoogleAnalyticsClientId = "vn_ga_client_id", e.VnGoogleAnalyticsSessionId = "vn_ga_session_id", e.VnSessionId = "vnSession", e.VnLdSession = "vn-ld-session", e.VnLogin = "vn-login", e.VnMenuReturnUrl = "vn.MenuReturnUrl", e.VnOlc = "vn-olc", e.VnOtc = "vn-otc", e.VnOtd = "vn-otd", e.VnOtslc = "vn-otslc", e.VnPasskeySupported = "vn_is_passkey_supported", e.VnLoginCount = "vn-login-count", e.VnWorkflowUrl = "vn-wf-url", e;
1413		})(k || {}), ne(), ft = (() => {
1414			var e = class {};
1415			let n = (e.ɵfac = function(r) {
1416				return new (r || e)();
1417			}, e.ɵprov = E({
1418				token: e,
1419				factory: function(r) {
1420					let t = null;
1421					return r ? t = new r() : t = gs(Y(le)), t;
1422				},
1423				providedIn: "root"
1424			}), e);
1425			return n = ae([oe({
1426				key: "vnTopLevelDomainCookies",
1427				product: q.SF
1428			})], n), n;
1429		})(), _t = (() => {
1430			let e = class {
1431				get options() {
1432					return this._options;
1433				}
1434				constructor() {
1435					let r = h(ye);
1436					this._options = {
1437						path: "/",
1438						domain: r.domain,
1439						sameSite: r.cookies.sameSiteMode,
1440						secure: r.cookies.secure,
1441						httpOnly: !1
1442					};
1443				}
1444			};
1445			return e.ɵfac = function(n) {
1446				return new (n || e)();
1447			}, e.ɵprov = E({
1448				token: e,
1449				factory: e.ɵfac,
1450				providedIn: "root"
1451			}), e;
1452		})(), mt = "&", vt = "=", St = "|", kr = new Date(2150, 11, 11), W = (() => {
1453			var e, n;
1454			let r = class {
1455				constructor() {
1456					I(this, e), I(this, n), this.cookieOptionsProvider = h(_t), this.log = h(j), this.topLevelDomainCookiesConfig = h(ft), B(this, e, h(zt)), B(this, n, h(Q));
1457					let i = this.cookieOptionsProvider;
1458					this.defaultOptions = i.options;
1459				}
1460				get(i) {
1461					return this.readCookie(i);
1462				}
1463				getObject(i) {
1464					let s = this.readCookie(i);
1465					return s && ps(s);
1466				}
1467				getAll() {
1468					return this.loadCookies(), Object.assign({}, this.cookies);
1469				}
1470				put(i, s, a) {
1471					this.writeCookie(i, s, a);
1472				}
1473				putObject(i, s, a) {
1474					this.writeCookie(i, JSON.stringify(s), a);
1475				}
1476				putRaw(i, s, a) {
1477					this.writeCookie(i, s, Object.assign(a || {}, { storeUnencoded: !0 }));
1478				}
1479				remove(i, s) {
1480					this.writeCookie(i, void 0, s);
1481				}
1482				removeAll(i) {
1483					this.loadCookies(), Object.keys(this.cookies).forEach((s) => {
1484						this.remove(s, i);
1485					});
1486				}
1487				addToQueryCollection(i, s, a, o) {
1488					let l = this.readAllValues(i), d = l.get(s);
1489					d ? d.push(a) : l.set(s, [a]), this.writeAllValues(i, l, o);
1490				}
1491				getQueryCollection(i, s) {
1492					return this.readAllValues(i).get(s) || [];
1493				}
1494				writeCookie(i, s, a) {
1495					this.topLevelDomainCookiesConfig.setCookieDomain.cookies.indexOf(i) !== -1 && (a || (a = {}), a.domain = this.topLevelDomainCookiesConfig.setCookieDomain.domain);
1496					let o = a = Object.assign({}, this.defaultOptions, a), l = o.expires;
1497					s ?? (l = "Thu, 01 Jan 1970 00:00:00 GMT", s = ""), typeof l == "string" && (l = new Date(l)), o.storeUnencoded || (s = encodeURIComponent(s), i = encodeURIComponent(i));
1498					let d = i + "=" + s;
1499					d += o.path ? ";path=" + o.path : "", d += o.domain ? ";domain=" + o.domain : "", d += l ? ";expires=" + l.toUTCString() : "", d += o.secure ? ";secure" : "", d += o.sameSite && o.sameSite !== "Unspecified" ? ";SameSite=" + a.sameSite : "", d += o.httpOnly ? ";HttpOnly" : "";
1500					let g = d.length + 1;
1501					g > 4096 && this.log.warn(`Cookie '${i}' possibly not set or overflowed because it was too large (${g} > 4096 bytes)!`), c(this, e).cookie = d;
1502				}
1503				readCookie(i) {
1504					return this.loadCookies(), this.cookies[i];
1505				}
1506				loadCookies() {
1507					let i = c(this, e).cookie;
1508					if (this.cookieString !== i) {
1509						this.cookieString = i, this.cookies = {};
1510						let s = i.split("; ");
1511						for (let a = 0; a < s.length; a++) {
1512							let o = s[a], l = o.indexOf("=");
1513							if (l > 0) {
1514								let d = pr(o.substring(0, l));
1515								this.cookies[d] ?? (this.cookies[d] = pr(o.substring(l + 1)));
1516							}
1517						}
1518					}
1519				}
1520				readAllValues(i) {
1521					let s = this.get(i) || "", a = /* @__PURE__ */ new Map();
1522					if (s) for (let o of s.split(mt)) {
1523						let l = o.indexOf(vt), d = o.substring(0, l), g = o.substring(l + 1).split(St).map((b) => decodeURIComponent(b));
1524						a.set(d, g);
1525					}
1526					return a;
1527				}
1528				writeAllValues(i, s, a) {
1529					let o = [];
1530					s.forEach((l, d) => {
1531						let g = l.map((b) => encodeURIComponent(b)).join(St);
1532						o.push(d + vt + g);
1533					}), this.putRaw(i, o.join(mt), a);
1534				}
1535				getCookieUpdates() {
1536					return this.cookieUpdates$ ? this.cookieUpdates$ : (this.cookieUpdates$ = this.createCookieUpdatesObservable().pipe(ri(c(this, e).cookie), $r({
1537						bufferSize: 1,
1538						refCount: !0
1539					})), this.cookieUpdates$);
1540				}
1541				createCookieUpdatesObservable() {
1542					return "cookieStore" in c(this, n) ? new ie((i) => {
1543						let s = () => i.next(c(this, e).cookie);
1544						return cookieStore.addEventListener("change", s), () => cookieStore.removeEventListener("change", s);
1545					}) : Qr;
1546				}
1547			};
1548			return e = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r.ɵfac = function(t) {
1549				return new (t || r)();
1550			}, r.ɵprov = E({
1551				token: r,
1552				factory: r.ɵfac,
1553				providedIn: "root"
1554			}), r;
1555		})(), Et = (() => {
1556			let e = class {
1557				constructor() {
1558					this.prefix = "mobileLogin.", this.delayPostLoginCCBCookieName = "vn-delayPostLoginCCB", this.loginStartTime = null, this.cookieService = h(W);
1559				}
1560				get LastVisitor() {
1561					return this.getValue("LastVisitor");
1562				}
1563				set LastVisitor(r) {
1564					let t = this.getExpiration(1);
1565					this.setValue("LastVisitor", r, { expires: t });
1566				}
1567				get LoginType() {
1568					return this.getValue("LoginType");
1569				}
1570				set LoginType(r) {
1571					this.setValue("LoginType", r);
1572				}
1573				get LastAttemptedVisitor() {
1574					return this.getValue("LastAttemptedVisitor");
1575				}
1576				set LastAttemptedVisitor(r) {
1577					this.setValue("LastAttemptedVisitor", r);
1578				}
1579				get PostLoginCcbEventDelayEnabled() {
1580					return this.getValue(this.delayPostLoginCCBCookieName) === "1";
1581				}
1582				enablePostLoginCcbDelay() {
1583					this.setValue(this.delayPostLoginCCBCookieName, "1");
1584				}
1585				disablePostLoginCcbDelay() {
1586					this.setValue(this.delayPostLoginCCBCookieName, null);
1587				}
1588				get PostLoginValues() {
1589					return this.getValue("PostLoginValues");
1590				}
1591				set PostLoginValues(r) {
1592					this.setValue("PostLoginValues", r);
1593				}
1594				get ReturnUrlFromLogin() {
1595					return this.getValue("ReturnUrlFromLogin");
1596				}
1597				set ReturnUrlFromLogin(r) {
1598					this.setValue("ReturnUrlFromLogin", r);
1599				}
1600				get SelectedTab() {
1601					return this.getValue("SelectedTab");
1602				}
1603				set SelectedTab(r) {
1604					let t = this.getExpiration(10);
1605					this.setValue("SelectedTab", r, { expires: t });
1606				}
1607				setHadInterceptor() {
1608					this.setValue("HadInterceptor", !0);
1609				}
1610				getHadInterceptor() {
1611					return !!this.getValue("HadInterceptor");
1612				}
1613				clearHadInterceptor() {
1614					this.setValue("HadInterceptor", null);
1615				}
1616				getValue(r) {
1617					let t = this.cookieService.get(this.getKey(r));
1618					return t && JSON.parse(t);
1619				}
1620				setValue(r, t, i) {
1621					t == null ? this.cookieService.remove(this.getKey(r)) : this.cookieService.put(this.getKey(r), JSON.stringify(t), i);
1622				}
1623				getKey(r) {
1624					return this.prefix + r;
1625				}
1626				getExpiration(r) {
1627					let t = /* @__PURE__ */ new Date();
1628					return t.setFullYear(t.getFullYear() + r), t;
1629				}
1630			};
1631			return e.ɵfac = function(n) {
1632				return new (n || e)();
1633			}, e.ɵprov = E({
1634				token: e,
1635				factory: e.ɵfac,
1636				providedIn: "root"
1637			}), e;
1638		})(), ge = (function(e) {
1639			return e.APPFOREGROUND = "APP_FOREGRND", e.APPINITIALIZED = "APP_INITIALIZED", e.AUTH_STATUS = "AUTH_STATUS", e.BALANCE_TRANSFER = "BALANCE_TRANSFER", e.CCBINITIALIZED = "CCB_INITIALIZED", e.DEVICEDETAILS = "DEVICE_DETAILS", e.FEATURE_LOADED = "FEATURE_LOADED", e.FINGERPRINT = "FINGERPRINT", e.FINGERPRINTSCANNER = "FINGERPRINT_SCANNER", e.GAMING_DECLARATION_ACCEPTED = "GAMING_DECLARATION_ACCEPTED", e.GEO_LOCATION_POSITION = "GEO_LOCATION_POSITION", e.GET_AUTH_STATUS = "GET_AUTH_STATUS", e.GETBALANCE = "GET_BALANCE", e.GET_APPLICATION_SETTINGS = "GET_APPLICATION_SETTINGS", e.GET_GEO_LOCATION_POSITION = "GET_GEO_LOCATION_POSITION", e.HapticFeedback = "HapticFeedback", e.INBOXCLOSED = "INBOX_CLOSED", e.IsLoggedIn = "IS_LOGGED_IN", e.LANGUAGEUPDATED = "LanguageUpdated", e.LOCATION = "Location", e.LOCATION_CHANGE = "LOCATION_CHANGE", e.LOGIN = "LOGIN", e.LOGINFAILED = "LOGIN_FAILED", e.LOGINPREFILL = "LOGIN_PREFILL", e.LOGINSCREENACTIVE = "Login_Screen_Active", e.LOGIN_INTERCEPTOR = "LOGIN_INTERCEPTOR", e.LOGIN_USERNAME_PREFILL = "LOGIN_USERNAME_PREFILL", e.LOGOUT = "LOGOUT", e.LOYALTY_MODE_ENABLED = "LOYALTY_MODE_ENABLED", e.MASTER_ACCOUNT_DETAILS = "MASTER_ACCOUNT_DETAILS", e.MENUCLOSED = "MENU_CLOSED", e.MENU_ITEM_NAVIGATION = "MENU_ITEM_NAVIGATION", e.NAVIGATETO = "NAVIGATE_TO", e.NotificationCount = "NOTIFICATION_COUNT", e.OPENLOGINDIALOG = "OPEN_LOGIN_DIALOG", e.OPENREGISTRATIONSCREEN = "openRegistrationScreen", e.OPEN_CHAT = "OPEN_CHAT", e.OPEN_LOGIN_SCREEN = "OPEN_LOGIN_SCREEN", e.OSPrimerSelected = "OSPrimerSelected", e.PAGECLOSED = "PAGE_CLOSED", e.POSTLOGIN = "POST_LOGIN", e.PRELOGIN = "PRE_LOGIN", e.REMEMBER_ME_CLOSE = "REMEMBER_ME_CLOSE", e.REMEMBER_ME_LOGIN_FAILED = "REMEMBER_ME_LOGIN_FAILED", e.REMOVECOOKIE = "REMOVE_COOKIE", e.RETRIEVE_POST_LOGIN = "RETRIEVE_POST_LOGIN", e.SENSITIVEPAGE = "SensitivePage", e.SESSION_NOTIFICATION = "SESSION_NOTIFICATION", e.SESSION_NOTIFICATION_CONTINUE = "SESSION_NOTIFICATION_CONTINUE", e.SET_APPLICATION_SETTINGS = "SET_APPLICATION_SETTINGS", e.SHARE = "SHARE", e.SSO_LOGIN = "SSO_LOGIN", e.TRACKDEVICEIDFA = "TRACK_DEVICE_IDFA", e.TRIGGER_GEO_LOCATION = "TRIGGER_GEO_LOCATION", e.UPDATEBALANCE = "UPDATE_BALANCE", e.UPDATE_APPLICATION_SETTINGS = "UPDATE_APPLICATION_SETTINGS", e.USERBALANCE = "UserBalance", e.enableOSPrimer = "enableOSPrimer", e.DEPOSIT_TO_ONLINE_DISABLED = "DEPOSIT_TO_ONLINE_DISABLED", e.DEPOSIT_TO_ONLINE_SUCCESS = "DEPOSIT_TO_ONLINE_SUCCESS", e.BARCODESCANNED = "BARCODESCANNED", e.DEPOSIT_LIMIT_EXCEEDED = "DEPOSIT_LIMIT_EXCEEDED", e.DEVICE_FAILURE = "DEVICE_FAILURE", e.DEVICE_FIXED = "DEVICE_FIXED", e.EVENT_CAPTURE = "EVENT_CAPTURE", e.LARGE_CASH_INSERT = "LARGE_CASH_INSERT", e.NFCCARDSCANNED = "NFCCARDSCANNED", e.NFC_SCAN_FAILED = "NFC_SCAN_FAILED", e.RESET_TERMINAL = "RESET_TERMINAL", e.SCAN_VT_COMPLETE = "SCAN_VT_COMPLETE", e.SCAN_VT_ERROR = "SCAN_VT_ERROR", e.SESSION_ALERT = "SESSION_ALERT", e.SESSION_CONTINUE = "SESSION_CONTINUE", e.SESSION_EXIT = "SESSION_EXIT", e.ON_PAGE_HIDDEN = "ON_PAGE_HIDDEN", e.ON_PAGE_UNLOAD = "ON_PAGE_UNLOAD", e.O
1639N_PAGE_VISIBLE = "ON_PAGE_VISIBLE", e.PRODUCT_CHANGED = "PRODUCT_CHANGED", e.EXIT_LOYALTY_MODE = "EXIT_LOYALTY_MODE", e.ISPASSKEYENABLED = "IS_PASSKEY_ENABLED", e.PASSKEYENABLEDSTATUS = "PASSKEY_ENABLED_STATUS", e.PASSKEYINITREGISTRATION = "PASSKEY_INIT_REGISTRATION", e.PASSKEYREGISTRATIONRESPONSE = "PASSKEY_REGISTRATION_RESPONSE", e.PASSKEYINITLOGIN = "PASSKEY_INIT_LOGIN", e.PASSKEYLOGINRESPONSE = "PASSKEY_LOGIN_RESPONSE", e.PASSKEYREMOVEDEVICE = "PASSKEY_REMOVE_DEVICE", e.PASSKEYFAILED = "PASSKEY_FAILED", e.PASSKEYREGSTATUS = "PASSKEY_REGISTRATION_STATUS", e.PASSKEYLOGINSTATUS = "PASSKEY_LOGIN_STATUS", e.PASSKEYLOGINTIMEOUT = "PASSKEYLOGINTIMEOUT", e.PASSKEYREGTIMEOUT = "PASSKEYREGISTRATIONTIMEOUT", e.GETSEONSESSION = "GET_SEON_SESSION", e.SEONSESSIONRESPONSE = "SEON_SESSION_RESPONSE", e.PROVE_SILENT_AUTH_INITIATE = "PROVE_SILENT_AUTH_INITIATE", e.PROVE_INSTANT_LINK_INITIATED = "PROVE_INSTANT_LINK_INITIATED", e.PROVE_INSTANT_LINK_OPENED = "PROVE_INSTANT_LINK_OPENED", e.PROVE_SILENT_AUTH_VERIFIED = "PROVE_SILENT_AUTH_VERIFIED", e;
1640		})(ge || {}), ne(), fe = (() => {
1641			var e = class {};
1642			let n = (e.ɵfac = function(r) {
1643				return new (r || e)();
1644			}, e.ɵprov = E({
1645				token: e,
1646				factory: function(r) {
1647					let t = null;
1648					return r ? t = new r() : t = fs(Y(le)), t;
1649				},
1650				providedIn: "root"
1651			}), e);
1652			return n = ae([oe({
1653				key: "vnNativeApp",
1654				product: q.SF
1655			})], n), n;
1656		})(), Ce = (() => {
1657			var e, n;
1658			let r = class {
1659				constructor() {
1660					I(this, e), I(this, n), B(this, e, h(Q)), this.config = h(fe), this.logger = h(j), this.utils = h(Ye), this.zone = h(Yt), this.eventsService = h(Ie), this.urlService = h(He), B(this, n, h(hi)), this.nativeEvents = new $(), this.nativeEventsMap = /* @__PURE__ */ new Map(), this.tracingBlacklistPattern = new RegExp(this.config.tracingBlacklistPattern ?? "(?!)"), this.twaPort = void 0, this.twaEventQueue = null, this.$twaCCBInitialized = new Ee(!1), c(this, n).isBrowser && this.initTwaCommunication();
1661				}
1662				get context() {
1663					return c(this, e).self !== c(this, e).top ? "iframe" : "default";
1664				}
1665				get isNative() {
1666					return this.config.isNative;
1667				}
1668				get isNativeApp() {
1669					return this.config.isNativeApp;
1670				}
1671				get isNativeWrapper() {
1672					return this.config.isNativeWrapper;
1673				}
1674				get isNativeWrapperODR() {
1675					return this.config.isNativeWrapper && this.config.applicationName.toLowerCase().includes("odr");
1676				}
1677				get isNativeWrapperTwa() {
1678					return this.config.isNativeWrapper && this.config.applicationName.toLowerCase().endsWith("twa");
1679				}
1680				get isNativeSevenApp() {
1681					return this.config.isNativeApp && this.config.applicationName.toLowerCase() === "sevenapp";
1682				}
1683				get linksAllowedInSameTab() {
1684					return this.config.linksAllowedInSameTab ?? [];
1685				}
1686				get isDownloadClient() {
1687					return this.config.isDownloadClient;
1688				}
1689				get isDownloadClientApp() {
1690					return this.config.isDownloadClientApp;
1691				}
1692				get isDownloadClientWrapper() {
1693					return this.config.isDownloadClientWrapper;
1694				}
1695				get isTerminal() {
1696					return this.config.isTerminal;
1697				}
1698				get product() {
1699					return this.config.product;
1700				}
1701				get applicationName() {
1702					return this.config.applicationName;
1703				}
1704				get nativeScheme() {
1705					return c(this, e).__NativeSchemeOverride ?? "bwin://";
1706				}
1707				get playtechNativeScheme() {
1708					return "htcmd:";
1709				}
1710				get nativeMode() {
1711					return this.config.nativeMode;
1712				}
1713				get htcmdSchemeEnabled() {
1714					return this.config.htcmdSchemeEnabled;
1715				}
1716				get htcmdSendAfterLoginEnabled() {
1717					return this.config.htcmdSendAfterLogin;
1718				}
1719				get sendPageClosedEvent() {
1720					return this.config.sendPageClosedEvent;
1721				}
1722				get eventsFromNative() {
1723					return Wr(...Array.from(this.nativeEventsMap.values()), this.nativeEvents);
1724				}
1725				get liveEventsFromNative() {
1726					return this.nativeEvents.asObservable();
1727				}
1728				sendToNative(i) {
1729					if (c(this, n).isBrowser) {
1730						let s = "Sending CCB via ";
1731						if (this.config.disabledEvents.includes(i.eventName)) {
1732							this.logEvent(i, "Not sending disabled CCB", "", !1);
1733							return;
1734						}
1735						let a = c(this, e);
1736						i = O(A({}, i), { id: this.utils.generateGuid() }), this.isNativeWrapperTwa && (this.logEvent(i, s, "sendToTwa"), this.sendToTwa(i)), a.messageToZendesk && (this.logEvent(i, s, "messageToZendesk", !1), a.messageToZendesk(i)), a.messageToAbTest && (this.logEvent(i, s, "messageToAbTest", !1), a.messageToAbTest(i));
1737						try {
1738							a.messageToNative ? (this.logEvent(i, s, "messageToNative"), a.messageToNative(i)) : a.external?.NativeDispatch ? (this.logEvent(i, s, "external.NativeDispatch"), a.external.NativeDispatch(i.eventName, JSON.stringify(i.parameters))) : a.webkit?.messageHandlers?.observer?.postMessage && (this.logEvent(i, s, "webkit.messageHandlers.observer.postMessage"), a.webkit.messageHandlers.observer.postMessage(i.eventName, JSON.stringify(i.parameters)));
1739						} catch {
1740							this.logger.warnRemote("Failed to send CCB event.");
1741						}
1742						this.eventsService.raise({
1743							eventName: te.EVENT_SENT_TO_NATIVE,
1744							data: {
1745								eventName: i.eventName,
1746								parameters: i.parameters
1747							}
1748						});
1749					}
1750				}
1751				sendToPlaytech(i) {
1752					let s = "Sending CCB via ";
1753					if (this.config.disabledEvents.includes(i.message)) {
1754						this.logEvent(i, "Not sending disabled CCB for playtech", "", !1);
1755						return;
1756					}
1757					let a = c(this, e);
1758					a.messageToNative ? (this.logEvent(i, s, "messageToNative"), a.messageToNative(i)) : a.external?.NativeDispatch ? (this.logEvent(i, s, "external.NativeDispatch"), a.external.NativeDispatch(i.message, JSON.stringify(i.data))) : a.webkit?.messageHandlers?.observer?.postMessage && (this.logEvent(i, s, "webkit.messageHandlers.observer.postMessage"), a.webkit.messageHandlers.observer.postMessage(i.message, JSON.stringify(i.data))), this.eventsService.raise({
1759						eventName: te.EVENT_SENT_TO_PLAYTECH,
1760						data: {
1761							eventName: i.message,
1762							parameters: i.data
1763						}
1764					});
1765				}
1766				onReceivedEventFromNative(i) {
1767					this.zone.runOutsideAngular(() => {
1768						let s = dr(i);
1769						this.nativeEventsMap.has(s.eventName) || this.nativeEventsMap.set(s.eventName, new Se(1)), this.nativeEventsMap.get(s.eventName).next(s), this.nativeEvents.next(s), this.logEvent(s, "Received CCB");
1770					});
1771				}
1772				initTwaCommunication() {
1773					this.twaMessageHandler = (i) => {
1774						if (i.origin.startsWith("android-app://") && !i.data && i.ports.length > 0) {
1775							try {
1776								if (!this.urlService.parse(i.origin.replace("android-app://", "")).isSameTopDomain) {
1777									this.logger.infoRemote(`[TWA] Handshake origin is not same top domain \u2014 ignoring. origin: '${i.origin}'`);
1778									return;
1779								}
1780							} catch (s) {
1781								this.logger.errorRemote("[TWA] Error parsing event origin", s);
1782								return;
1783							}
1784							this.twaPort = i.ports[0], this.twaPort && (this.twaPort.onmessage = (s) => {
1785								this.onReceivedEventFromNative(s.data);
1786							}, this.$twaCCBInitialized.next(!0), this.logger.infoRemote("[TWA] Handshake message received — channel is ready.")), c(this, e).removeEventListener("message", this.twaMessageHandler);
1787						}
1788					}, c(this, e).addEventListener("message", this.twaMessageHandler);
1789				}
1790				sendToTwa(i) {
1791					let s = JSON.stringify(i);
1792					if (this.twaPort) {
1793						this.twaPort.postMessage(s);
1794						return;
1795					}
1796					this.twaEventQueue || (this.twaEventQueue = [], this.setupTwaQueueSubscription()), this.twaEventQueue.push(s);
1797				}
1798				setupTwaQueueSubscription() {
1799					this.$twaCCBInitialized.pipe(Hr(2e4), x(Boolean), Be(1), Br(() => (this.twaEventQueue = null, c(this, e).removeEventListener("message", this.twaMessageHandler), ze(!1)))).subscribe(() => {
1800						if (this.twaEventQueue) {
1801							let i = this.twaPort;
1802							i ? this.twaEventQueue.forEach((s) => {
1803								i.postMessage(s);
1804							}) : this.logger.error("TWA port unexpectedly undefined when processing queue."), this.twaEventQueue = null;
1805						}
1806					});
1807				}
1808				logEvent(i, s, a = "", o = !0) {
1809					let l = `${s}${a}: `;
1810					if (this.config.enableCCBDebug && this.logger.info(l, i), this.config.enableCCBTracing && o && !this.tracingBlacklistPattern.test(i?.eventName)) {
1811						let d = l + JSON.stringify(i, (g, b) => g.toLowerCase().indexOf("password") !== -1 ? "***" : g.toLowerCase() === "supercookie" && typeof b == "string" ? b.replace(/.(?=.{4})/g, "*") : b);
1812						this.logger.infoRemote(d);
1813					}
1814				}
1815			};
1816			return e = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r.ɵfac = function(t) {
1817				return new (t || r)();
1818			}, r.ɵprov = E({
1819				token: r,
1820				factory: r.ɵfac,
1821				providedIn: "root"
1822			}), r;
1823		})(), Ir = class {
1824			constructor(e) {
1825				this.storage = e;
1826			}
1827			set(e, n) {
1828				this.storage.setItem(e, n);
1829			}
1830			get(e) {
1831				return this.storage.getItem(e);
1832			}
1833			delete(e) {
1834				this.storage.removeItem(e);
1835			}
1836			keys() {
1837				return Object.keys(this.storage);
1838			}
1839		}, Cr = class {
1840			constructor() {
1841				this.storage = {};
1842			}
1843			set(e, n) {
1844				this.storage[e] = n;
1845			}
1846			get(e) {
1847				return us(this.storage[e]);
1848			}
1849			delete(e) {
1850				delete this.storage[e];
1851			}
1852			keys() {
1853				return Object.keys(this.storage);
1854			}
1855		}, yt = new ve("vn-store-prefix"), bt = class {
1856			constructor(e, n) {
1857				this.backend = e, this.prefix = n;
1858			}
1859			get(e) {
1860				let n = this.backend.get(this.prefix + e);
1861				return n ? JSON.parse(n) : null;
1862			}
1863			set(e, n) {
1864				n == null ? this.backend.delete(this.prefix + e) : this.backend.set(this.prefix + e, JSON.stringify(n));
1865			}
1866			keys() {
1867				return this.backend.keys().filter((e) => e.startsWith(this.prefix)).map((e) => e.substring(this.prefix.length));
1868			}
1869			remove(e) {
1870				this.backend.delete(this.prefix + e);
1871			}
1872		}, Re = (() => {
1873			let e = class extends bt {
1874				constructor() {
1875					let r = h(Q), t = h(yt);
1876					super(gr(r, "session"), t);
1877				}
1878			};
1879			return e.ɵfac = function(n) {
1880				return new (n || e)();
1881			}, e.ɵprov = E({
1882				token: e,
1883				factory: e.ɵfac,
1884				providedIn: "root"
1885			}), e;
1886		})(), Oe = class {
1887			constructor() {
1888				this.loaded = new Ee(!1);
1889			}
1890			get isReady() {
1891				return this._isReady;
1892			}
1893			get inner() {
1894				if (!this._inner) throw new Error("Trying to access lazy provider member before they are initialized. Subscribe to whenReady to fix this issue.");
1895				return this._inner;
1896			}
1897			get whenReady() {
1898				return this.loaded.pipe(Wt((e) => e), Bt(() => {}));
1899			}
1900			set(e) {
1901				this._inner = e, this._isReady = !0, this.loaded.next(!0);
1902			}
1903		}, At = (() => {
1904			let e = class extends Oe {
1905				get headerComponentRect() {
1906					return this.inner.headerComponentRect.asReadonly();
1907				}
1908				get headerElementRect() {
1909					return this.inner.headerElementRect.asReadonly();
1910				}
1911				get hasHeaderElement() {
1912					return this.inner.hasHeaderElement;
1913				}
1914				get display() {
1915					return this.inner.display;
1916				}
1917				getHeaderHeight() {
1918					return this.inner.getHeaderHeight();
1919				}
1920				highlightProduct(r) {
1921					this.inner.highlightProduct(r);
1922				}
1923				setHeaderComponent(r, t) {
1924					this.inner.setHeaderComponent(r, t);
1925				}
1926				getHeaderComponent(r) {
1927					return this.inner.getHeaderComponent(r);
1928				}
1929				setItemCounter(r, t, i) {
1930					this.inner.setItemCounter(r, t, i);
1931				}
1932				show(r) {
1933					this.inner.show(r);
1934				}
1935				hide() {
1936					this.inner.hide();
1937				}
1938				itemDisabled(r) {
1939					return this.inner.itemDisabled(r);
1940				}
1941			};
1942			return e.ɵfac = (() => {
1943				let n;
1944				return function(r) {
1945					return (n || (n = Ve(e)))(r || e);
1946				};
1947			})(), e.ɵprov = E({
1948				token: e,
1949				factory: e.ɵfac,
1950				providedIn: "root"
1951			}), e;
1952		})(), J = (function(e) {
1953			return e.Default = "Default", e.Information = "Information", e.Warning = "Warning", e.Error = "Error", e.Success = "Success", e.Announcement = "Announcement", e;
1954		})(J || {}), V = (function(e) {
1955			return e.Single = "Single", e.TempData = "TempData", e;
1956		})(V || {}), wt = (function(e) {
1957			return e.AutoLogin = "autologin", e.BackToApp = "backtoapp", e.GamingDeclaration = "gaming-declaration", e.Inbox = "INBOX", e.Login = "login", e.LoginMessages = "login-messages", e.SessionInfo = "sessioninfo", e.ManagePasskeys = "managepasskeys", e.Passkey = "passkey", e.PasskeyInterceptor = "passkeyInterceptor", e;
1958		})(wt || {}), Tt = (() => {
1959			var e;
1960			let n = class {
1961				constructor() {
1962					I(this, e), this.messages = Vt([]), this.sessionStoreService = h(Re), B(this, e, h(Q)), this.messageList = [];
1963				}
1964				add(t, i = J.Default, s = V.Single, a = "") {
1965					if (t === null) throw new Error("Attempt to add an empty message");
1966					let o;
1967					return typeof t == "object" ? o = t : o = {
1968						html: t,
1969						type: i,
1970						lifetime: s,
1971						scope: a
1972					}, o.scope = o.scope ?? "", this.messages.update(() => [...this.messageList, o]), this.messageList.push(o), o;
1973				}
1974				addError(t, i = V.Single, s = "") {
1975					return this.add(t, J.Error, i, s);
1976				}
1977				addInfo(t, i = V.Single, s = "") {
1978					return this.add(t, J.Information, i, s);
1979				}
1980				addSuccess(t, i = V.Single, s = "") {
1981					return this.add(t, J.Success, i, s);
1982				}
1983				addMultiple(t) {
1984					if (!t || !Array.isArray(t)) throw new Error("Attempt to add an multiple messages - input is invalid (undefined or not an array)");
1985					t.forEach((i) => this.add(i));
1986				}
1987				count(t) {
1988					return t === void 0 ? this.messageList.length : this.messageList.filter((i) => i.scope === t).length;
1989				}
1990				remove(t) {
1991					if (typeof t == "function") this.messageList = this.messageList.filter((i) => !t(i));
1992					else {
1993						let i = this.messageList.indexOf(t);
1994						this.messageList.splice(i, 1);
1995					}
1996					this.messages.set(this.messageList);
1997				}
1998				clear(t) {
1999					if (t?.clearPersistent) if (t?.scope === void 0) {
2000						let i = new URLSearchParams(c(this, e).location.search).get("type");
2001						this.remove((s) => s.name !== i);
2002					} else this.remove((i) => i.scope === (t?.scope ?? ""));
2003					else this.messageList = this.messageList.filter((i) => i.lifetime !== V.Single), this.touchTempData(t?.scope);
2004					t?.clearStoredMessages && this.sessionStoreService.remove(Z.MessageQueue), this.messages.set(this.messageList);
2005				}
2006				changeScope(t, i) {
2007					this.messageList.filter((s) => s.scope === t).forEach((s) => s.scope = i), this.messages.set(this.messageList);
2008				}
2009				storeMessages(t) {
2010					this.touchTempData(t), this.sessionStoreService.set(Z.MessageQueue, this.messageList);
2011				}
2012				restoreMessages() {
2013					this.clear({ clearPersistent: !0 });
2014					let t = this.sessionStoreService.get(Z.MessageQueue);
2015					t && (this.addMultiple(t), this.sessionStoreService.remove(Z.MessageQueue));
2016				}
2017				touchTempData(t) {
2018					(t === void 0 ? this.messageList : this.messageList.filter((i) => i.scope === (t || ""))).forEach((i) => {
2019						i.lifetime === V.TempData && (i.lifetime = V.Single);
2020					}), this.messages.set(this.messageList);
2021				}
2022			};
2023			return e = /* @__PURE__ */ new WeakMap(), n.ɵfac = function(r) {
2024				return new (r || n)();
2025			}, n.ɵprov = E({
2026				token: n,
2027				factory: n.ɵfac,
2028				providedIn: "root"
2029			}), n;
2030		})(), ne(), _e = (() => {
2031			var e = class {};
2032			let n = (e.ɵfac = function(r) {
2033				return new (r || e)();
2034			}, e.ɵprov = E({
2035				token: e,
2036				factory: function(r) {
2037					let t = null;
2038					return r ? t = new r() : t = _s(Y(le), Y(ce)), t;
2039				},
2040				providedIn: "root"
2041			}), e);
2042			return n = ae([oe({
2043				key: "haDatadog",
2044				product: q.HOST
2045			})], n), n;
2046		})(), Rr = 3e4, w = { status: 0 }, Nt = Ci(Ps(), Gs(), {
2047			startDeflateWorker: _r,
2048			createDeflateEncoder: fr,
2049			sdkName: "rum"
2050		}), Oi(qt, "DD_RUM", Nt), It = [], Ct = [], Or = "primary", Rt = "DD_RUM_ACTIVE", Lr = "DD_RUM_CONTEXT", Pr = "unassigned", Ot = (() => {
2051			var e;
2052			let n = class {
2053				constructor() {
2054					I(this, e), this.userService = h(be), this.cookieService = h(W), this.clientConfig = h(mi), this.datadogRumConfig = h(_e), this.dslService = h(gt), this.logger = h(j), this.destroyRef = h(se), B(this, e, h(Q)), this.initialized = !1, this.defaultConfig = { version: this.cookieService.get("c-a-v") || c(this, e).VERSION || "unknown" }, this._sdkInitialized$ = new Se(1), this.sdk = null;
2055				}
2056				get sdkInitialized$() {
2057					return this._sdkInitialized$.pipe(Be(1));
2058				}
2059				get datadogRumSdk() {
2060					return this.initialized ? this.sdk : null;
2061				}
2062				init() {
2063					return R(this, null, function* () {
2064						if (!this.initialized) try {
2065							let t = this.datadogRumConfig.cdnScriptEnabled ? yield this.resolveCdnSdk() : Nt;
2066							if (!t) return;
2067							if (this.sdk = t, this.datadogRumConfig.cdnScriptEnabled) {
2068								this.initialized = !0, yield this.evaluateAndSetGlobalContextProperties(), this.setUserContext(), this._sdkInitialized$.next();
2069								return;
2070							}
2071							this.datadogRumConfig.initOptions.allowedTracingUrls && (this.datadogRumConfig.initOptions.allowedTracingUrls = this.datadogRumConfig.initOptions.allowedTracingUrls.map((s) => this.parseValue(s.toString())));
2072							let i = Object.assign({}, this.defaultConfig, this.datadogRumConfig.initOptions);
2073							yield this.evaluateAndSetGlobalContextProperties(), this.setUserContext(), t.init(O(A({}, i), {
2074								plugins: [...i.plugins ?? [], Vs({ router: this.datadogRumConfig.routerTrackingEnabled })],
2075								beforeSend: (s, a) => {
2076									s.context = s.context || {};
2077									for (let { key: o, value: l } of this.globalContext ?? []) o in s.context || (s.context[o] = l);
2078								}
2079							})), this.initialized = !0, this._sdkInitialized$.next();
2080						} catch (t) {
2081							this.logger.errorRemote("Error initializing Datadog RUM", t);
2082						}
2083					});
2084				}
2085				resolveCdnSdk() {
2086					return R(this, null, function* () {
2087						let t = this.readCdnSdk();
2088						if (!t) return this.logger.errorRemote("Datadog CDN script enabled but DD_RUM is not present", /* @__PURE__ */ new Error("DD_RUM not present")), null;
2089						if (typeof t.getInitConfiguration != "function") {
2090							let i = t;
2091							yield new Promise((s) => i.onReady(() => s())), t = this.readCdnSdk();
2092						}
2093						return t?.getInitConfiguration?.() ? t : (this.logger.errorRemote(`Datadog CDN script enabled but no initialized RUM instance was found \u2014 window.${Rt} is missing, so the rendered CDN script is likely outdated`, /* @__PURE__ */ new Error("DD_RUM not initialized")), null);
2094					});
2095				}
2096				readCdnSdk() {
2097					return c(this, e)[Rt] ?? c(this, e).DD_RUM;
2098				}
2099				publishContextToCdnBridge(t) {
2100					if (!this.datadogRumConfig.cdnScriptEnabled) return;
2101					let i = c(this, e)[Lr];
2102					if (i) for (let { key: s, value: a } of t) i[s] = a;
2103				}
2104				evaluateAndSetGlobalContextProperties() {
2105					return R(this, null, function* () {
2106						try {
2107							let t = [], i = Object.entries(this.datadogRumConfig.globalContextProperties ?? {});
2108							if (i.length) try {
2109								let s = i.map(([a, o]) => this.dslService.evaluateExpression(o).pipe(Be(1), Bt((l) => ({
2110									key: a,
2111									value: l
2112								}))));
2113								t.push(...yield $e(Zr(s)));
2114							} catch (s) {
2115								this.logger.errorRemote("Error evaluating Datadog RUM global context properties", s);
2116							}
2117							t.push({
2118								key: "rolloutTier",
2119								value: this.clientConfig.vnPage?.rolloutTier ?? Pr
2120							}), this.globalContext = t;
2121							for (let { key: s, value: a } of t) this.sdk?.setGlobalContextProperty(s, a);
2122							this.publishContextToCdnBridge(t);
2123						} catch (t) {
2124							this.logger.errorRemote("Error setting Datadog RUM global context properties", t);
2125						}
2126					});
2127				}
2128				setUserContext() {
2129					let t = this.clientConfig[Si]?.correlationId;
2130					this.sdk?.setUser({ id: t }), this.userService.isAuthenticated && this.sdk?.setUserProperty("name", this.userService.id), this.userService.events.pipe(x((i) => i instanceof bi), U(this.destroyRef)).subscribe(() => {
2131						this.sdk?.setUserProperty("name", this.userService.id);
2132					});
2133				}
2134				isRegexString(t) {
2135					return /^\/.*\/[gimsuy]*$/.test(t);
2136				}
2137				isFunctionString(t) {
2138					return /^\s*(function|\(.*\)\s*=>)/.test(t);
2139				}
2140				parseValue(t) {
2141					if (this.isRegexString(t)) try {
2142						let i = t.split("/"), s = i.slice(1, -1).join("/"), a = i[i.length - 1];
2143						return new RegExp(s, a);
2144					} catch (i) {
2145						return this.logger.errorRemote(`Error parsing regex string from value: ${t}`, i), t;
2146					}
2147					return this.isFunctionString(t) ? new Function("return " + t)() : t;
2148				}
2149			};
2150			return e = /* @__PURE__ */ new WeakMap(), n.ɵfac = function(r) {
2151				return new (r || n)();
2152			}, n.ɵprov = E({
2153				token: n,
2154				factory: n.ɵfac,
2155				providedIn: "root"
2156			}), n;
2157		})(), xr = 256, xe = "ddj:", Lt = (() => {
2158			var e, n, r, t, i, s, a, o, l, d, g, b, v, y, f;
2159			let T = class {
2160				constructor() {
2161					I(this, l), I(this, e, h(Ot)), I(this, n, h(_e)), I(this, r, h(j)), I(this, t, h(se)), I(this, i, h(Re)), I(this, s, /* @__P
2161URE__ */ new Map()), I(this, a, []), I(this, o, !1), c(this, n).journeyTrackingEnabled && (C(this, l, y).call(this), c(this, e).sdkInitialized$.pipe(U(c(this, t))).subscribe(() => {
2162						B(this, o, !0), C(this, l, v).call(this);
2163					}));
2164				}
2165				startJourney(u, p) {
2166					if (!C(this, l, d).call(this, u)) return;
2167					let m = C(this, l, b).call(this, p), _ = performance.now();
2168					if (c(this, s).has(u)) {
2169						if (c(this, s).get(u).rehydrated) return;
2170						c(this, r).warn(`DdJourney: "${u}" restarted while still active`), this.abandonJourney(u);
2171					}
2172					c(this, s).set(u, {
2173						name: u,
2174						startTime: _,
2175						startedAtMs: Date.now(),
2176						lastStepName: null,
2177						lastStepTime: _,
2178						context: m
2179					}), c(this, o) ? c(this, e).datadogRumSdk?.startFeatureOperation(u, { context: m }) : c(this, a).push({
2180						type: "start",
2181						name: u,
2182						startTime: _,
2183						context: m
2184					});
2185				}
2186				step(u, p, m) {
2187					let _ = C(this, l, g).call(this, u);
2188					if (!_) return;
2189					let N = performance.now(), L = Math.round(N - _.startTime), re = A(A({}, _.context), C(this, l, b).call(this, m));
2190					_.lastStepName = p, _.lastStepTime = N;
2191					let K = O(A({}, re), {
2192						journey: u,
2193						duration_ms: L
2194					});
2195					c(this, o) ? c(this, e).datadogRumSdk?.addAction(p, K) : c(this, a).push({
2196						type: "step",
2197						name: u,
2198						stepName: p,
2199						elapsed: L,
2200						context: re
2201					});
2202				}
2203				completeJourney(u, p) {
2204					let m = C(this, l, g).call(this, u);
2205					if (!m) return;
2206					let _ = Math.round(performance.now() - m.startTime), N = C(this, l, b).call(this, p), L = O(A(A({}, m.context), N), { duration_ms: _ });
2207					c(this, s).delete(u), C(this, l, f).call(this, u), c(this, o) ? (c(this, e).datadogRumSdk?.addAction(`${u}.completed`, L), c(this, e).datadogRumSdk?.succeedFeatureOperation(u, { context: L })) : c(this, a).push({
2208						type: "complete",
2209						name: u,
2210						elapsed: _,
2211						context: L
2212					});
2213				}
2214				failJourney(u, p) {
2215					let m = C(this, l, g).call(this, u);
2216					if (!m) return;
2217					let _ = Math.round(performance.now() - m.startTime), N = C(this, l, b).call(this, p), L = O(A(A({}, m.context), N), { duration_ms: _ });
2218					c(this, s).delete(u), C(this, l, f).call(this, u), c(this, o) ? (c(this, e).datadogRumSdk?.addAction(`${u}.failed`, L), c(this, e).datadogRumSdk?.failFeatureOperation(u, "error", { context: L })) : c(this, a).push({
2219						type: "fail",
2220						name: u,
2221						elapsed: _,
2222						context: L,
2223						failureReason: "error"
2224					});
2225				}
2226				trackEvent(u, p) {
2227					if (!C(this, l, d).call(this, u)) return;
2228					let m = C(this, l, b).call(this, p);
2229					c(this, o) ? c(this, e).datadogRumSdk?.addAction(u, m) : c(this, a).push({
2230						type: "event",
2231						name: u,
2232						context: m
2233					});
2234				}
2235				abandonJourney(u) {
2236					let p = C(this, l, g).call(this, u);
2237					if (!p) return;
2238					let m = Math.round(performance.now() - p.startTime);
2239					c(this, s).delete(u), C(this, l, f).call(this, u);
2240					let _ = O(A({}, p.context), {
2241						duration_ms: m,
2242						last_step: p.lastStepName ?? "none"
2243					});
2244					c(this, o) ? (c(this, e).datadogRumSdk?.addAction(`${u}.abandoned`, _), c(this, e).datadogRumSdk?.failFeatureOperation(u, "abandoned", { context: _ })) : c(this, a).push({
2245						type: "abandon",
2246						name: u,
2247						elapsed: m,
2248						lastStep: p.lastStepName
2249					});
2250				}
2251				hasPersistedJourney(u) {
2252					return c(this, s).get(u)?.rehydrated === !0;
2253				}
2254				persistForNavigation(u) {
2255					let p = c(this, s).get(u);
2256					if (!p) {
2257						c(this, r).warn(`DdJourney: cannot persist "${u}" \u2014 not active`);
2258						return;
2259					}
2260					p.rehydrated = !0;
2261					let m = {
2262						name: p.name,
2263						startedAtMs: p.startedAtMs,
2264						lastStepName: p.lastStepName,
2265						context: p.context
2266					};
2267					c(this, i).set(`${xe}${u}`, m);
2268				}
2269			};
2270			return e = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new WeakMap(), t = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), l = /* @__PURE__ */ new WeakSet(), d = function(S) {
2271				return !(!c(this, n).journeyTrackingEnabled || c(this, n).journeyTrackingAllowedJourneys && !c(this, n).journeyTrackingAllowedJourneys.includes(S));
2272			}, g = function(S) {
2273				if (c(this, n).journeyTrackingEnabled) return c(this, s).get(S);
2274			}, b = function(S) {
2275				if (!S) return;
2276				let u = {}, p = 0;
2277				for (let [m, _] of Object.entries(S)) {
2278					if (typeof _ == "object" && _ !== null || typeof _ == "string" && _.length > xr) continue;
2279					let N = m.length + String(_ ?? "").length;
2280					if (p + N > c(this, n).journeyTrackingMaxContextBytes) break;
2281					p += N, u[m] = _;
2282				}
2283				return Object.keys(u).length > 0 ? u : void 0;
2284			}, v = function() {
2285				let S = c(this, e).datadogRumSdk;
2286				if (S) {
2287					for (let u of c(this, a)) switch (u.type) {
2288						case "start":
2289							S.startFeatureOperation(u.name, { context: u.context });
2290							break;
2291						case "step":
2292							S.addAction(u.stepName, O(A({}, u.context), {
2293								journey: u.name,
2294								duration_ms: u.elapsed
2295							}));
2296							break;
2297						case "complete":
2298							S.addAction(`${u.name}.completed`, O(A({}, u.context), { duration_ms: u.elapsed })), S.succeedFeatureOperation(u.name, { context: O(A({}, u.context), { duration_ms: u.elapsed }) });
2299							break;
2300						case "fail":
2301							S.addAction(`${u.name}.failed`, O(A({}, u.context), { duration_ms: u.elapsed })), S.failFeatureOperation(u.name, u.failureReason, { context: O(A({}, u.context), { duration_ms: u.elapsed }) });
2302							break;
2303						case "abandon":
2304							S.addAction(`${u.name}.abandoned`, {
2305								duration_ms: u.elapsed,
2306								last_step: u.lastStep ?? "none"
2307							}), S.failFeatureOperation(u.name, "abandoned", { context: {
2308								duration_ms: u.elapsed,
2309								last_step: u.lastStep ?? "none"
2310							} });
2311							break;
2312						case "event": S.addAction(u.name, u.context);
2313					}
2314					c(this, a).length = 0;
2315				}
2316			}, y = function() {
2317				let S = c(this, i).keys().filter((u) => u.startsWith(xe));
2318				for (let u of S) {
2319					let p = c(this, i).get(u);
2320					if (!p) continue;
2321					let m = Date.now() - p.startedAtMs, _ = performance.now() - m;
2322					c(this, s).set(p.name, {
2323						name: p.name,
2324						startTime: _,
2325						startedAtMs: p.startedAtMs,
2326						lastStepName: p.lastStepName,
2327						lastStepTime: _,
2328						context: p.context,
2329						rehydrated: !0
2330					});
2331				}
2332			}, f = function(S) {
2333				c(this, i).remove(`${xe}${S}`);
2334			}, T.ɵfac = function(S) {
2335				return new (S || T)();
2336			}, T.ɵprov = E({
2337				token: T,
2338				factory: T.ɵfac,
2339				providedIn: "root"
2340			}), T;
2341		})(), ne(), De = (() => {
2342			var e = class {};
2343			let n = (e.ɵfac = function(r) {
2344				return new (r || e)();
2345			}, e.ɵprov = E({
2346				token: e,
2347				factory: function(r) {
2348					let t = null;
2349					return r ? t = new r() : t = Ks(Y(le)), t;
2350				},
2351				providedIn: "root"
2352			}), e);
2353			return n = ae([oe({
2354				key: "vnLastKnownProduct",
2355				product: q.SF
2356			})], n), n;
2357		})(), Pt = (() => {
2358			let e = class {
2359				constructor() {
2360					this.UNKNOWN = "unknown", this.updateEvents = new $(), this.cookie = h(W), this.config = h(De), this.productService = h(ce), this.urlService = h(He);
2361				}
2362				get update() {
2363					return this.updateEvents;
2364				}
2365				add(r) {
2366					let t = /* @__PURE__ */ new Date();
2367					t.setDate(t.getDate() + 30), this.cookie.putObject(k.LastKnownProduct, r, { expires: t }), this.updateEvents.next(r);
2368				}
2369				get() {
2370					return this.cookie.getObject(k.LastKnownProduct) || {
2371						name: this.UNKNOWN,
2372						url: this.productService.isSingleDomainApp ? this.urlService.current().baseUrl() : this.config.url,
2373						previous: this.UNKNOWN,
2374						platformProductId: ""
2375					};
2376				}
2377			};
2378			return e.ɵfac = function(n) {
2379				return new (n || e)();
2380			}, e.ɵprov = E({
2381				token: e,
2382				factory: e.ɵfac,
2383				providedIn: "root"
2384			}), e;
2385		})(), xt = (() => {
2386			let e = class extends Oe {
2387				get balanceProperties() {
2388					return this.inner.balanceProperties;
2389				}
2390				get balanceInfo() {
2391					return this.inner.balanceInfo();
2392				}
2393				refresh(r = !0) {
2394					this.inner.refresh(r);
2395				}
2396			};
2397			return e.ɵfac = (() => {
2398				let n;
2399				return function(r) {
2400					return (n || (n = Ve(e)))(r || e);
2401				};
2402			})(), e.ɵprov = E({
2403				token: e,
2404				factory: e.ɵfac,
2405				providedIn: "root"
2406			}), e;
2407		})(), z = (function(e) {
2408			return e.Currency = "currency", e.TierCode = "tierCode", e.VipLevel = "vipLevel", e.IsPartiallyRegistered = "ispartiallyregistered", e.SessionToken = "sessiontoken", e.UserToken = "usertoken", e.Email = "email", e.DateOfBirth = "dateofbirth", e.GivenName = "givenname", e.Surname = "surname", e.SecondSurname = "secondsurname", e;
2409		})(z || {}), Ue = (() => {
2410			let e = class extends fi {};
2411			return e.ɵfac = (() => {
2412				let n;
2413				return function(r) {
2414					return (n || (n = Ve(e)))(r || e);
2415				};
2416			})(), e.ɵprov = E({
2417				token: e,
2418				factory: function(n) {
2419					let r = null;
2420					return n ? r = new n() : r = Ys(Y(pi)), r;
2421				},
2422				providedIn: "root"
2423			}), e;
2424		})(), ne(), Me = (() => {
2425			var e = class {};
2426			let n = (e.ɵfac = function(r) {
2427				return new (r || e)();
2428			}, e.ɵprov = E({
2429				token: e,
2430				factory: function(r) {
2431					let t = null;
2432					return r ? t = new r() : t = Zs(Y(le)), t;
2433				},
2434				providedIn: "root"
2435			}), e);
2436			return n = ae([oe({
2437				key: "vnRememberMe",
2438				product: q.SF
2439			})], n), n;
2440		})(), Ge = {
2441			keepalive: !0,
2442			prefix: ""
2443		}, Dt = (() => {
2444			let e = class {
2445				constructor() {
2446					this.retryNotifier = null, this.rememberMeConfig = h(Me), this.cookieService = h(W), this.page = h(ye), this.sharedFeaturesApiService = h(Ue);
2447				}
2448				get url() {
2449					return `auth/rememberme?culture=${this.page.lang}`;
2450				}
2451				tokenExists() {
2452					return this.rememberMeConfig.isEnabled ? !!this.cookieService.get(k.RmI) : !1;
2453				}
2454				rememberMeEnabledInPast() {
2455					return this.rememberMeConfig.isEnabled ? !!this.cookieService.get(k.RmH) : !1;
2456				}
2457				authTokenExists() {
2458					return !!this.cookieService.get(k.VnAuth);
2459				}
2460				setupTokenAfterLogin() {
2461					return this.rememberMeConfig.isEnabled ? this.sharedFeaturesApiService.put(this.url, null, Ge) : ze();
2462				}
2463				login(r) {
2464					return this.sharedFeaturesApiService.post(this.url, r, Ge);
2465				}
2466				logout() {
2467					return this.sharedFeaturesApiService.delete(this.url, null, Ge);
2468				}
2469			};
2470			return e.ɵfac = function(n) {
2471				return new (n || e)();
2472			}, e.ɵprov = E({
2473				token: e,
2474				factory: e.ɵfac,
2475				providedIn: "root"
2476			}), e;
2477		})(), Ut = (() => {
2478			let e = class {
2479				constructor() {
2480					this.balancePropertiesCoreService = h(xt), this.userService = h(be), this.rememberMeService = h(Dt), this.cookieService = h(W), this.nativeAppService = h(Ce), this.eventsService = h(Ie);
2481				}
2482				sendPostLoginEvent(r, t) {
2483					return R(this, null, function* () {
2484						yield $e(this.balancePropertiesCoreService.whenReady);
2485						let i = {
2486							accountBalance: this.userService.isAuthenticated ? this.balancePropertiesCoreService.balanceInfo?.accountBalance : 0,
2487							accountCurrency: this.userService.currency,
2488							accountId: this.userService.accountId,
2489							language: this.userService.lang,
2490							sessionToken: this.userService.claims.get(z.SessionToken),
2491							ssoToken: this.userService.ssoToken,
2492							countryCode: this.userService.country,
2493							nameIdentifier: this.userService.id,
2494							userToken: this.userService.claims.get(z.UserToken),
2495							timeStamp: (/* @__PURE__ */ new Date()).valueOf(),
2496							screenName: this.userService.screenname,
2497							workflowType: this.userService.workflowType,
2498							email: this.userService.claims.get(z.Email),
2499							birthDate: this.userService.claims.get(z.DateOfBirth),
2500							userName: this.userService.username,
2501							firstName: this.userService.claims.get(z.GivenName),
2502							lastName: this.userService.claims.get(z.Surname),
2503							secondLastName: this.userService.claims.get(z.SecondSurname),
2504							postLoginValues: r ?? {},
2505							superCookie: this.cookieService.get(k.SuperCookie) || "",
2506							lastLoginTime: this.userService.lastLoginTime,
2507							rememberMeEnabled: this.rememberMeService.tokenExists()
2508						};
2509						this.nativeAppService.sendToNative({
2510							eventName: ge.POSTLOGIN,
2511							parameters: Object.assign(i, t ?? {})
2512						}), this.eventsService.raise({ eventName: te.DeleteSuperCookiePostLogin });
2513					});
2514				}
2515			};
2516			return e.ɵfac = function(n) {
2517				return new (n || e)();
2518			}, e.ɵprov = E({
2519				token: e,
2520				factory: e.ɵfac,
2521				providedIn: "root"
2522			}), e;
2523		})(), Dr = class {
2524			constructor(e) {
2525				this.searchParams = e;
2526			}
2527			clone() {
2528				return new _i(this.searchParams.toString());
2529			}
2530			has(e) {
2531				return this.searchParams.has(e);
2532			}
2533			get(e) {
2534				return this.searchParams.get(e);
2535			}
2536			getAll(e) {
2537				return this.searchParams.getAll(e);
2538			}
2539			keys() {
2540				return this.searchParams.keys();
2541			}
2542			toString() {
2543				return this.searchParams.toString();
2544			}
2545		}, Mt = class {
2546			get protocol() {
2547				return this.parsedUrl.protocol;
2548			}
2549			get search() {
2550				return this.immutableSearchParams;
2551			}
2552			get hash() {
2553				return this.parsedUrl.hash;
2554			}
2555			get hostname() {
2556				return this.parsedUrl.hostname;
2557			}
2558			get port() {
2559				return this.parsedUrl.port;
2560			}
2561			get pathname() {
2562				return this.parsedUrl.pathname;
2563			}
2564			get isSameHost() {
2565				return this.parsedUrl.isSameHost;
2566			}
2567			get isSameTopDomain() {
2568				return this.parsedUrl.isSameTopDomain;
2569			}
2570			get culture() {
2571				return this.parsedUrl.culture;
2572			}
2573			constructor(e) {
2574				this.parsedUrl = e, this.immutableSearchParams = new Dr(this.parsedUrl.search);
2575			}
2576			path() {
2577				return this.pathname;
2578			}
2579			url() {
2580				return this.cachedUrl || (this.cachedUrl = this.parsedUrl.url()), this.cachedUrl;
2581			}
2582			baseUrl() {
2583				return this.cachedBaseUrl || (this.cachedBaseUrl = this.parsedUrl.baseUrl()), this.cachedBaseUrl;
2584			}
2585			host() {
2586				return this.cachedHost || (this.cachedHost = this.parsedUrl.host()), this.cachedHost;
2587			}
2588			absUrl() {
2589				return this.cachedAbsUrl || (this.cachedAbsUrl = this.parsedUrl.absUrl()), this.cachedAbsUrl;
2590			}
2591			clone() {
2592				return this.parsedUrl.clone();
2593			}
2594		}, Gt = new ve("navigation-flush-provider"), Ur = { ForcedReload: "navigation.forced_reload" }, Fe = "overlay", Mr = 5e3, Gr = (() => {
2595			var e;
2596			let n = class {
2597				constructor() {
2598					I(this, e), this.routeDataOptions = new Ee(null), this.locationChanges = new $(), this.attemptedNavigations = new $(), B(this, e, h(Q)), this._doc = h(zt), this.urlService = h(He), this.page = h(ye), this.user = h(be), this.nativeAppService = h(Ce), this.nativeAppConfig = h(fe), this.router = h(Zt), this.messageQueueService = h(Tt), this.loadingIndicatorService = h(di), this.lastKnownProductService = h(Pt), this.cookieService = h(W), this.timerService = h(st), this.flushProvi
2598ders = h(Gt, { optional: !0 }), this.headerService = h(At), this.loginStoreService = h(Et), this.postLoginService = h(Ut), this.ddJourney = h(Lt), this.productService = h(ce), this.locationChange.pipe(x((t) => t.previousUrl !== t.nextUrl)).subscribe((t) => {
2599						this.previousLocation = t.previousUrl, this.nativeAppService.sendToNative({
2600							eventName: ge.LOCATION_CHANGE,
2601							parameters: t
2602						});
2603					}), this.forceFullPageReload = this.page.forceFullPageReloadPattern ? new RegExp(this.page.forceFullPageReloadPattern) : null;
2604				}
2605				get location() {
2606					let t = c(this, e).location.href;
2607					return this.cachedLocationHref !== t && (this.cachedParsedUrl = new Mt(this.urlService.parse(t)), this.cachedLocationHref = t), this.cachedParsedUrl;
2608				}
2609				get previousUrl() {
2610					return this.previousLocation;
2611				}
2612				get routeData() {
2613					return this.routeDataOptions;
2614				}
2615				get locationChange() {
2616					return this.locationChanges;
2617				}
2618				get attemptedNavigation() {
2619					return this.attemptedNavigations;
2620				}
2621				get isOverlayActive() {
2622					return this.router.url.includes(`(${Fe}:`);
2623				}
2624				goTo(t, i) {
2625					return R(this, null, function* () {
2626						let s = O(A({}, i), { showSpinnerForExternalNavigation: !0 }), a = typeof t == "string" ? this.urlService.parse(t) : t;
2627						if (this.lastUrl && this.handleQueryParams(a, s), this.addGaTracking(a), this.handleReferrer(a, s), this.handleMessageQueue(s), this.handleCultureChange(a, s), this.attemptedNavigations.next(a), a.protocol === "htcmd") return c(this, e).location.href = decodeURIComponent(`${a.protocol}:${a.url().substring(1)}`), new Promise(() => {});
2628						let o = this.getForceReloadReason(a, s);
2629						return o ? (yield this.trackForcedReload(o, a), yield this.flushBeforeFullPageNavigation(), this.performFullPageNavigation(a, s)) : this.performClientSideNavigation(a, s);
2630					});
2631				}
2632				goToOverlayOutlet(t, i, s) {
2633					let a = {
2634						skipPrimaryOutletGuardsAndResolvers: !0,
2635						skipTransition: !1,
2636						isBackNavigation: t === null
2637					}, o = this.router.serializeUrl(this.router.createUrlTree([{ outlets: { [Fe]: t } }])), l = s ? `${o}${s}` : o;
2638					return this.router.navigateByUrl(l, { info: A(A({}, a), i) });
2639				}
2640				closeOverlayOutlet(t) {
2641					return this.goToOverlayOutlet(null, t);
2642				}
2643				goToNativeApp(t) {
2644					if (this.nativeAppService.isNativeSevenApp) {
2645						let i = this.cookieService.get(k.SevenRedirect);
2646						i && this.goTo(i);
2647					} else this.messageQueueService.count() > 0 ? this.goTo("/{culture}/nativeapp/backtoapp", t) : this.buildNativeUrl().then((i) => {
2648						let s = this.shouldSendPostLogin();
2649						this.navigateToNativeApp(i, s, t);
2650					});
2651				}
2652				sendCloseCommand() {
2653					c(this, e).location.href = this.nativeAppService.playtechNativeScheme + "close";
2654				}
2655				goToLastKnownProduct(t) {
2656					this.handleGoToLastKnownProduct(t, !1);
2657				}
2658				goToLastKnownProductAsync(t) {
2659					return R(this, null, function* () {
2660						yield this.handleGoToLastKnownProduct(t, !0);
2661					});
2662				}
2663				goToReturnUrl() {
2664					let t = this.cookieService.get(k.Rurl);
2665					t ? this.goTo(t, { isBackNavigation: !0 }) : this.goToLastKnownProduct();
2666				}
2667				storeReturnUrl() {
2668					let t = ["rurl", "ReturnUrl"].map((i) => {
2669						let s = this.location.search.get(i);
2670						return s ? decodeURIComponent(s) : null;
2671					}).find((i) => i != null);
2672					t && !t.match(/(javascript|src|onerror|<|>)/g) && this.cookieService.put(k.Rurl, t);
2673				}
2674				init() {
2675					this.lastUrl = this.location.absUrl(), this.router.events.pipe(x((t) => t instanceof ni)).subscribe((t) => {
2676						let i = this.getRouteData(t.state.root);
2677						this.routeDataOptions.next(i);
2678					}), this.router.events.pipe(x((t) => t instanceof oi)).subscribe((t) => {
2679						let i = this.location.absUrl();
2680						this.locationChanges.next({
2681							id: t.id,
2682							previousUrl: this.lastUrl,
2683							nextUrl: i
2684						}), this.lastUrl = i;
2685					});
2686				}
2687				getRouteData(t, i = {}) {
2688					return t.children.length ? t.children.reduce((s, a) => Object.assign(s, this.getRouteData(a, s)), i) : t.data;
2689				}
2690				handleQueryParams(t, i) {
2691					let s = this.urlService.parse(this.lastUrl).search;
2692					switch (i.queryParamsHandling) {
2693						case "merge":
2694							s.keys().forEach((a) => {
2695								t.search.has(a) || t.search.append(a, s.get(a));
2696							});
2697							break;
2698						case "preserve": t.search = s;
2699					}
2700				}
2701				handleReferrer(t, i) {
2702					i.appendReferrer && (typeof i.appendReferrer == "string" ? t.appendReferrer({ url: i.appendReferrer }) : t.appendReferrer({ absolute: !0 }));
2703				}
2704				handleMessageQueue(t) {
2705					t.storeMessageQueue && this.messageQueueService.storeMessages();
2706				}
2707				handleCultureChange(t, i) {
2708					i.culture && t.culture != null && i.culture !== t.culture && t.changeCulture(i.culture);
2709				}
2710				getForceReloadReason(t, i) {
2711					let s = t.culture ?? this.page.lang;
2712					return t.isSameHost ? s ? s !== this.page.lang ? "culture_change" : this.forceFullPageReload?.test(t.path()) ? "pattern_match" : i.forceReload ? "explicit_force_reload" : null : "missing_culture" : "cross_host";
2713				}
2714				trackForcedReload(t, i) {
2715					let s = this.urlService.current();
2716					return this.ddJourney.trackEvent(Ur.ForcedReload, {
2717						reason: t,
2718						target_path: i.path(),
2719						from_path: s.path(),
2720						current_domain: s.hostname,
2721						target_domain: i.hostname,
2722						same_host: i.isSameHost,
2723						product: this.productService.current.name,
2724						is_native: this.nativeAppService.isNative,
2725						is_authenticated: this.user.isAuthenticated
2726					}), new Promise((a) => this.timerService.setTimeout(a, 0));
2727				}
2728				flushBeforeFullPageNavigation() {
2729					return R(this, null, function* () {
2730						if (!this.flushProviders) return;
2731						let t = Promise.allSettled(this.flushProviders.map((s) => s.flush())), i = new Promise((s) => this.timerService.setTimeout(s, Mr));
2732						yield Promise.race([t, i]);
2733					});
2734				}
2735				performFullPageNavigation(t, i) {
2736					let s = () => {
2737						let a = i.forceReloadTarget ? c(this, e)[i.forceReloadTarget] : c(this, e);
2738						a && (i.replace ? a.location.replace(t.absUrl()) : a.location.href = t.absUrl());
2739					};
2740					if (i.showSpinnerForExternalNavigation && !t.isSameHost) {
2741						let a = this.loadingIndicatorService.start({
2742							blockScrolling: !0,
2743							delay: this.page.loadingIndicator.externalNavigationDelay
2744						});
2745						this.timerService.setTimeout(() => a.done(), 5e3);
2746					}
2747					return s(), new Promise(() => {});
2748				}
2749				performClientSideNavigation(t, i) {
2750					return R(this, null, function* () {
2751						let s = {
2752							isBackNavigation: !!i.isBackNavigation,
2753							skipAuthOverlayRedirect: !!i.skipAuthOverlayRedirect,
2754							skipPrimaryOutletGuardsAndResolvers: !!i.skipPrimaryOutletGuardsAndResolvers,
2755							skipTransition: !!i.skipTransition
2756						};
2757						yield this.router.navigateByUrl(t.url(), {
2758							replaceUrl: !!i.replace,
2759							skipLocationChange: !!i.skipLocationChange,
2760							info: s
2761						}), t.hash && (this._doc.getElementById(t.hash)?.scrollIntoView(), yield $e(this.headerService.whenReady), c(this, e).scrollTo(0, c(this, e).scrollY - this.headerService.getHeaderHeight())), i.storeMessageQueue && this.messageQueueService.restoreMessages();
2762					});
2763				}
2764				buildNativeUrl() {
2765					return new Promise((t) => {
2766						let i = this.nativeAppService.nativeScheme;
2767						if (!this.nativeAppService.htcmdSchemeEnabled) {
2768							this.user.isAuthenticated ? i += `${this.user.username}/${this.user.ssoToken}` : i += "noSso";
2769							let s = this.cookieService.get(k.SuperCookie);
2770							return s ? i += `/${s}` : i += this.buildPartnerSessionUrl(), t(i);
2771						}
2772						if (!this.user.id) return t(i);
2773						if (this.nativeAppService.htcmdSendAfterLoginEnabled !== !1) {
2774							i = this.nativeAppService.playtechNativeScheme;
2775							let s = this.cookieService.getObject(k.MobileLoginPostLoginValues);
2776							i += `login?username=${this.user.id}&password=${s?.tempPartnerToken ?? ""}&type=4`, t(i);
2777						} else t(i);
2778					});
2779				}
2780				buildPartnerSessionUrl() {
2781					if (this.nativeAppConfig.partnerSessionIdSupported) {
2782						let t = this.cookieService.get(k.MobileLoginPostLoginValues), i = t ? JSON.parse(t) : {};
2783						return i?.partnerSessionUid ? `/noSuperCookie/${i.partnerSessionUid}` : "/noSuperCookie/noPartnerSessionId";
2784					}
2785					return "";
2786				}
2787				shouldSendPostLogin() {
2788					return this.user.isAuthenticated && (this.nativeAppConfig.sendPostLoginOnGoToNative ?? !1);
2789				}
2790				navigateToNativeApp(t, i, s) {
2791					if (s?.replace) c(this, e).location.replace(t);
2792					else if (!i) c(this, e).location.href = t;
2793					else {
2794						let a = this.loginStoreService.PostLoginValues ?? {}, o = this.cookieService.getObject(k.AdditionalPostLoginOptions) ?? {};
2795						this.postLoginService.sendPostLoginEvent(a, o);
2796					}
2797				}
2798				handleGoToLastKnownProduct(t, i) {
2799					return R(this, null, function* () {
2800						let s = A(A({}, {
2801							isBackNavigation: !0,
2802							forceHistoryBack: !1,
2803							forceReload: !1
2804						}), t);
2805						if (this.nativeAppService.isNativeSevenApp || s.forceHistoryBack && c(this, e).history.length && this.previousLocation) c(this, e).history.back();
2806						else {
2807							let a = this.lastKnownProductService.get(), o = this.urlService.parse(a.url), l = {
2808								forceReload: s.forceReload,
2809								culture: s.culture || this.page.lang,
2810								isBackNavigation: !!s.isBackNavigation
2811							};
2812							i === !0 ? yield this.goTo(o, l) : this.goTo(o, l);
2813						}
2814					});
2815				}
2816				addGaTracking(t) {
2817					let i = this.page.singleSignOnDomains.some((a) => t.hostname.endsWith(a)), s = this.urlService.current().host();
2818					if (i && t.hostname != s || this.nativeAppService.htcmdSchemeEnabled) {
2819						let a = `${this.urlService.current().host()}/${this.urlService.current().culture}`;
2820						t.search.append("parentURL", a);
2821						let o = this.getGaVisitId();
2822						o != "" && o != null && t.search.append("gavisitid", o), this.user.isAuthenticated && this.user.ssoToken && t.search.append("_sso", this.user.ssoToken);
2823						let l = this.checkGaVersion();
2824						l === 3 && this.handleGa3(t), l === 4 && this.isApplicableG4() && this.handleGa4(t);
2825					}
2826				}
2827				checkGaVersion() {
2828					let t = 0;
2829					try {
2830						c(this, e).google_tag_data.gl.decorators.length > 0 ? t = 4 : c(this, e).ga && (t = 3);
2831					} catch {
2832						t = 0;
2833					}
2834					return t;
2835				}
2836				getGa3LinkerParameter() {
2837					try {
2838						let t = c(this, e);
2839						if (t.location.hostname) {
2840							let i = this.page.crossDomainRegExG4;
2841							if (t.location.hostname.match(i)) return t.ga.getAll()[0].get("linkerParam");
2842						}
2843					} catch {
2844						return null;
2845					}
2846				}
2847				isApplicableG4() {
2848					try {
2849						let t = !1;
2850						if (c(this, e).location.hostname) {
2851							let i = this.page.crossDomainRegExG4;
2852							t = !!c(this, e).location.hostname.match(i);
2853						}
2854						return t;
2855					} catch {
2856						return !1;
2857					}
2858				}
2859				getValuesFromGa4(t) {
2860					try {
2861						let i = c(this, e).ga.getAll()[0].get("linkerParam"), s = c(this, e).google_tag_data.gl.decorators[0].callback(), a = s._ga;
2862						s = JSON.stringify(s);
2863						let o = s.split("_ga")[2].split(".")[3];
2864						switch (t) {
2865							case "id": return a;
2866							case "session": return o;
2867							case "linker": return i.replace("_ga=", "");
2868							default: return null;
2869						}
2870					} catch {
2871						return null;
2872					}
2873				}
2874				handleGa3(t) {
2875					let i = this.getGa3LinkerParameter();
2876					i != null && i != "" && t.search.append("_ga", i);
2877				}
2878				handleGa4(t) {
2879					let i = this.getValuesFromGa4("linker"), s = this.getValuesFromGa4("id"), a = this.getValuesFromGa4("session"), o = this.formatGAClientID(s);
2880					i != null && i != "" && t.search.append("_ga", i), o != null && t.search.append("gaclientID", o), a != null && t.search.append("gasessionID", a);
2881				}
2882				formatGAClientID(t) {
2883					if (t) {
2884						let i = t.split(".");
2885						return i.length >= 3 ? i.slice(2).join(".") : t;
2886					}
2887					return "";
2888				}
2889				getGaVisitId() {
2890					if (c(this, e).ga?.getAll && typeof c(this, e).ga.getAll == "function" && c(this, e).ga.getAll()[0]) {
2891						let t = c(this, e).ga.getAll()[0].get("clientId");
2892						return this.formatGAClientID(t);
2893					}
2894					return this.cookieService.get(k.GoogleAnalytics) || "";
2895				}
2896			};
2897			return e = /* @__PURE__ */ new WeakMap(), n.ɵfac = function(r) {
2898				return new (r || n)();
2899			}, n.ɵprov = E({
2900				token: n,
2901				factory: n.ɵfac,
2902				providedIn: "root"
2903			}), n;
2904		})();
2905	})))();
2906}
2907export { lt as $, Me as A, H as B, Dt as C, Pt as D, G as E, _t as F, hs as G, pe as H, Z as I, At as J, Re as K, Ie as L, Zi as M, W as N, Mt as O, dt as P, Gr as Q, Oe as R, _e as S, Ut as T, yt as U, bt as V, z as W, ot as X, Fr as Y, Fe as Z, he as _, or as _t, Xi as a, V as at, Ue as b, qe as c, De as ct, at as d, fe as dt, Tt as et, Ot as f, es as ft, Ws as g, Ze as gt, dr as h, Ye as ht, Lt as i, Et as it, tt as j, Gt as k, ge as l, Xe as lt, Sr as m, ct as mt, gt as n, ds as nt, Ji as o, te as ot, ht as p, j as pt, cs as q, de as r, gr as rt, xt as s, js as st, nt as t, wt as tt, J as u, kr as ut, rt as v, k as w, et as x, st as y, Ce as z };
2908
2909//# sourceMappingURL=chunk-w0x32net.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.