PageSourceSearch

https://www.oddset.de/ClientDist/browser/chunk-l5sknbkm.js

js oddset.de collected 2026-09-24 19:29:06 UTC 14,120 bytes, 303 lines download raw bytes

1import { n as p, t as k, y as B } from "./chunk-xgti9j2t.js";
2import { $ as T, $r as N, Aa as f, Ai as S, Ea as l, Hn as P, Kn as M, Li as C, Pi as R, Pt as d, Sa as c, Sr as y, Y as D, _r as L, fa as v, fi as W, fr as g, gt as _, sa as A, t as w, tn as x, to as F, z as K, zo as E } from "./chunk-c97c17u8.js";
3import { M as J } from "./chunk-l3jkbhly.js";
4import { p as G } from "./chunk-k52vj1ic.js";
5import { o as Y } from "./chunk-l24fzhmb.js";
6import { A as z } from "./chunk-jrtaqqwj.js";
7import { o as X, t as h } from "./chunk-pesy0vb6.js";
8import { D as V, o as H } from "./chunk-llc8ry2a.js";
9import { Tt as Q, ut as Z } from "./chunk-fbjoug0d.js";
10import { a as j } from "./chunk-ewplex8i.js";
11import { n as U } from "./chunk-c18gpzrj.js";
12import { r as q } from "./chunk-c9rg1mp5.js";
13import { t as $ } from "./chunk-kyqvtgtk.js";
14import { Y as tt, gt as it, y as nt } from "./chunk-ldkhjowa.js";
15import { p as rt } from "./chunk-bhnvkbxx.js";
16import { ot as st } from "./chunk-f2v2cgea.js";
17import { c as ot } from "./chunk-mnbyc2sm.js";
18import { Dn as et, Tt as at, jr as _t } from "./chunk-gacv0pfq.js";
19import { t as ct } from "./chunk-k4et3zlq.js";
20import { i as mt, p as ut } from "./chunk-hul0ult7.js";
21import { n as ht } from "./chunk-lmnwxprc.js";
22import { r as pt } from "./chunk-ilfhy0in.js";
23import { n as kt } from "./chunk-ohg30iel.js";
24import { $ as ft } from "./chunk-iuhjzybw.js";
25import { a as lt } from "./chunk-kanq2829.js";
26import { i as Ct } from "./chunk-lareec7a.js";
27import { n as dt } from "./chunk-im7lpx1v.js";
28import { bt as Dt, mn as vt } from "./chunk-l8i5rin8.js";
29import { a as gt, s as Et } from "./chunk-kdzbhsd4.js";
30import { c as bt } from "./chunk-k1jo4z3q.js";
31import { r as It } from "./chunk-n5f0it4j.js";
32import { t as Ot } from "./chunk-bt0uh5ix.js";
33import { t as Bt } from "./chunk-ga84h9wi.js";
34import { n as Tt } from "./chunk-bh3f6w1f.js";
35import { i as Nt } from "./chunk-i11ygqqd.js";
36import { $t as St, At as Pt, Ca as Mt, Cg as Rt, Cr as yt, Dt as Lt, En as Wt, Er as At, Fh as wt, Ia as xt, In as Ft, Kn as Kt, Mn as Jt, Ni as Gt, Or as Yt, Pa as zt, Qi as Xt, Ra as Vt, Sn as Ht, Ta as Qt, Ua as Zt, Va as jt, Vn as e, Wr as Ut, Zn as qt, _i as $t, _t as ti, am as ii, eh as ni, er as ri, fo as si, ga as oi, h as ei, io as ai, ir as _i, ja as ci, jn as mi, ka as ui, kh as hi, pa as pi, pt as ki, qn as fi, so as li, ti as Ci, ua as di, uo as Di, xr as vi, xt as gi } from "./chunk-fkxg6vdg.js";
37import { Qn as Ei } from "./chunk-hx2yplj1.js";
38import { t as bi } from "./chunk-nugu9zb5.js";
39import { n as Ii } from "./chunk-e9uiq43x.js";
40import { n as Oi } from "./chunk-j0f6jhv0.js";
41import { r as Bi } from "./chunk-jq0sl3ei.js";
42import { n as Ti } from "./chunk-ja26nt1r.js";
43import { n as Ni } from "./chunk-bd32vwah.js";
44import { n as Si } from "./chunk-fv4f1vyv.js";
45import { r as Pi } from "./chunk-ma4xjfxi.js";
46import { n as Mi } from "./chunk-izpvy78m.js";
47import { n as Ri } from "./chunk-gxir58f9.js";
48import { t as yi } from "./chunk-fhh8240b.js";
49import { t as Li } from "./chunk-b01d51e3.js";
50import { n as Wi } from "./chunk-dewcdrod.js";
51import { n as Ai, r as wi } from "./chunk-i434qwa7.js";
52import { n as xi } from "./chunk-cah7i2vq.js";
53import { _ as Fi } from "./chunk-bn4u8pyx.js";
54import { r as Ki } from "./chunk-dzpnbkxl.js";
55import { n as Ji } from "./chunk-h0nbovop.js";
56import { p as Gi } from "./chunk-ezzb0v9a.js";
57import { t as Yi } from "./chunk-i8x6no98.js";
58import { S as zi } from "./chunk-h0oizuwy.js";
59import { n as Xi } from "./chunk-jghe8g9z.js";
60import { t as Vi } from "./chunk-gg8tj736.js";
61import { E as Hi } from "./chunk-j81yotwo.js";
62import { E as Qi, _ as Zi } from "./chunk-m30wq4is.js";
63import { o as ji } from "./chunk-igo0cyu6.js";
64import { i as Ui, n as qi } from "./chunk-n2m7u3ae.js";
65import { n as $i } from "./chunk-eqk17yus.js";
66import { r as tn } from "./chunk-o2xnvp27.js";
67import { n as nn } from "./chunk-cjgg81p0.js";
68import { t as rn } from "./chunk-eg3yts4b.js";
69import { n as sn } from "./chunk-cl5g7q50.js";
70import { n as on } from "./chunk-nu8d10du.js";
71import { t as en } from "./chunk-k3vsusw7.js";
72import { n as an } from "./chunk-e2z1ouiv.js";
73import { c as _n } from "./chunk-mfhreur0.js";
74import { t as cn } from "./chunk-fvregxns.js";
75import { n as mn } from "./chunk-im83gcb3.js";
76import { i as un } from "./chunk-jla75xdn.js";
77import { n as hn } from "./chunk-d4necurt.js";
78import { o as pn } from "./chunk-e6qaxun5.js";
79import { n as kn } from "./chunk-ie480lkb.js";
80import { n as fn, t as ln } from "./chunk-eber62ai.js";
81import { i as Cn } from "./chunk-cfuo9w63.js";
82import { n as dn } from "./chunk-fu2bsotm.js";
83import { r as Dn } from "./chunk-b81t2lx1.js";
84import { t as vn } from "./chunk-fc584apf.js";
85import { a as gn } from "./chunk-ngql6ury.js";
86import { s as En } from "./chunk-mg5wz2d5.js";
87import { n as bn } from "./chunk-eo41jhpk.js";
88import { n as In } from "./chunk-de3osvzz.js";
89import { n as On } from "./chunk-i7ecc880.js";
90import { n as Bn } from "./chunk-lftrv4gu.js";
91import { u as Tn } from "./chunk-nzss4xkx.js";
92import { n as Nn } from "./chunk-lqsbxgbr.js";
93import { n as Sn } from "./chunk-odx1b4m8.js";
94import { n as Pn } from "./chunk-d58kw29g.js";
95import { l as Mn, n as Rn, o as yn } from "./chunk-jjdosnus.js";
96import { n as Ln } from "./chunk-kxcjo821.js";
97import { n as Wn } from "./chunk-hrrrn936.js";
98import { t as An } from "./chunk-nemq363r.js";
99import { t as wn } from "./chunk-i2ogy8gh.js";
100import { n as xn } from "./chunk-m1yc3ygr.js";
101import { i as Fn } from "./chunk-f0kmjl66.js";
102import { n as Kn } from "./chunk-h8xhwo8r.js";
103import { t as Jn } from "./chunk-eu7yohui.js";
104import { n as Gn } from "./chunk-k9dzgffd.js";
105import { o as Yn } from "./chunk-oinny59o.js";
106import { i as zn } from "./chunk-episksas.js";
107import { r as Xn } from "./chunk-m5tu8jb6.js";
108import { n as Vn } from "./chunk-cnqvjtxu.js";
109import { i as Hn } from "./chunk-ciieag2h.js";
110import { r as Qn } from "./chunk-egfe11mn.js";
111import { c as Zn, t as jn } from "./chunk-jugmidfp.js";
112import { r as Un } from "./chunk-by7nwdb5.js";
113import { t as qn } from "./chunk-gzydrmx8.js";
114import { a as $n } from "./chunk-gnjhgtot.js";
115import { n as tr } from "./chunk-iywf7sow.js";
116import { n as ir } from "./chunk-f003tdgn.js";
117import { t as nr } from "./chunk-hc6zu2lo.js";
118import { a as rr } from "./chunk-cz1jfnta.js";
119import { a as sr } from "./chunk-cnaothxw.js";
120import { n as or } from "./chunk-grg5g9c5.js";
121import { n as er, t as ar } from "./chunk-gm9h1o65.js";
122import { n as _r, t as cr } from "./chunk-ccqhrge1.js";
123import { t as mr } from "./chunk-kidi6db9.js";
124import { t as ur } from "./chunk-o4f8w5yc.js";
125function hr(i, a) {
126	if (i & 1 && (l(0, "div", 0), T(1), v()), i & 2) {
127		let t = c(2);
128		d(), A(t.title());
129	}
130}
131function pr(i, a) {
132	if (i & 1) {
133		let t = y();
134		D(0, hr, 2, 1, "div", 0), l(1, "ms-event-carousel", 1), w("isContentReady", function() {
135			return g(t), E(c().isContentReady.set(!0));
136		})("eventTileClicked", function(n) {
137			return g(t), E(c().eventTileClicked(n));
138		}), v();
139	}
140	if (i & 2) {
141		let t = c();
142		C(t.title() ? 0 : -1), d(), x("eventCarouselItems", t.eventCarouselItems());
143	}
144}
145function kr() {
146	return [at(I)];
147}
148var m, b, I;
149function O() {
150	return (O = ur((() => {
151		B(), R(), J(), G(), Y(), z(), X(), V(), Z(), j(), U(), q(), $(), H(), it(), rt(), st(), tt(), ot(), _t(), ct(), ut(), mt(), ht(), pt(), kt(), ft(), et(), Rt(), wt(), hi(), ni(), ii(), lt(), Ct(), si(), Di(), dt(), li(), ai(), Zt(), jt(), Vt(), vt(), xt(), zt(), ci(), ui(), Qt(), Mt(), oi(), pi(), di(), Xt(), Gt(), Et(), gt(), $t(), Ci(), Ut(), At(), yt(), vi(), bt(), _i(), ri(), qt(), fi(), Ft(), It(), Ot(), Bt(), Jt(), mi(), Wt(), Ht(), Tt(), Nt(), St(), Pt(), Lt(), gi(), ti(), ki(), ei(), Ei(), Oi(), Ii(), Ni(), bi(), Bi(), Si(), Ti(), Pi(), Ri(), Fi(), yi(), Li(), Wi(), wi(), xi(), ji(), qi(), $i(), tn(), Mi(), Ki(), Ji(), Gi(), nn(), rn(), Yi(), zi(), sn(), on(), en(), Xi(), Vi(), Hi(), Zi(), an(), _n(), cn(), mn(), un(), hn(), pn(), kn(), fn(), Cn(), dn(), Dn(), vn(), gn(), En(), bn(), In(), On(), Bn(), Tn(), Nn(), Sn(), Pn(), Mn(), Ln(), Wn(), An(), wn(), Fn(), Kn(), Jn(), Gn(), Yn(), zn(), xn(), Vn(), Hn(), Xn(), ir(), Qn(), Zn(), $n(), qn(), tr(), nr(), rr(), sr(), or(), mr(), Un(), er(), cr(), m = (function(i) {
152			return i.ScoreboardCarousel = "scoreboard carousel", i.SportEvents = "sport events", i;
153		})(m || {}), b = (() => {
154			let i = class extends yn {
155				constructor() {
156					super(...arguments), this.title = f(""), this.eventCarouselItems = f([]), this.fixtureFactory = _(Qi), this.apiService = _(jn), this.cdnCachingConfig = _(Dt), this.redirectHelper = _(Ai), this.gridSubscriptionService = _(_r), this.modularConfigAccessorService = _(ln), this.trackingService = _(Kt), this.urlHelper = _(Yt), this.timerService = _(nt), this.shouldIncludePayload = this.cdnCachingConfig.widgets.includes("ScoreboardCarousel");
157				}
158				eventTileClicked(t) {
159					this.trackScoreboardCarouselClick(t.eventCarouselItem, t.tileIndex), this.redirectHelper.goToPage(t.eventCarouselItem.eventLink);
160				}
161				ngOnDestroy() {
162					this.resetUIState();
163				}
164				onData(t, n) {
165					this.resetUIState();
166					let r = t?.carouselEvents?.length;
167					if (n) {
168						this.handleWidgetRefresh(t, r);
169						return;
170					}
171					r ? this.processCarouselResponse(t) : this.getData(n).pipe(h(this.destroyRef)).subscribe((s) => {
172						this.processCarouselResponse(s);
173					});
174				}
175				handleWidgetRefresh(t, n) {
176					t?.carouselEvents && n === t?.totalCount ? this.setWidgetData(t) : this.loadMore(!0, t);
177				}
178				processCarouselResponse(t) {
179					this.setWidgetData(t, !1), this.eventCarouselItems().length < t.totalCount && (this.cancelIdleCallback = this.timerService.scheduleIdleCallback(() => this.loadMore(!1, t)));
180				}
181				getDataContext() {
182					let t = super.getDataContext();
183					return this.shouldIncludePayload ? p(k({}, t), { shouldIncludePayload: this.shouldIncludePayload }) : t;
184				}
185				loadMore(t, n) {
186					let r = n?.carouselEvents?.length, s = t ? r ?? 0 : this.eventCarouselItems().length;
187					this.getData(t, s).pipe(L((o) => (o && (s += o.carouselEvents.length), s < o.totalCount ? this.getData(t, s) : K)), F((o, u) => ({
188						carouselEvents: [...o.carouselEvents, ...u.carouselEvents],
189						title: u.title ?? o.title,
190						totalCount: u.totalCount
191					}), t && r ? n : {
192						totalCount: 0,
193						carouselEvents: [],
194						title: ""
195					}), h(this.destroyRef)).subscribe((o) => this.setWidgetData(o, !t));
196				}
197				setWidgetData(t, n) {
198					if (!t.carouselEvents.length) {
199						n || (this.hasData = !1, this.setWidgetLoaded(), this.handleEmptyData());
200						return;
201					}
202					let r = t.carouselEvents.map((s) => {
203						let o = this.fixtureFactory.create(s.fixture);
204						return {
205							event: o,
206							eventLink: this.urlHelper.getEventUrl({
207								id: o.id,
208								name: o.name
209							}),
210							titleData: {
211								title: s.title,
212								titleIcon: s.titleIcon
213							}
214						};
215					});
216					n ? this.eventCarouselItems.update((s) => [...s, ...r]) : (this.eventCarouselItems.set(r), this.hasData = !0, this.title.set(t.title), this.setWidgetLoaded()), this.subscribeToEvents(r);
217				}
218				resetUIState() {
219					this.eventSubscriptions?.unsubscribe(), this.cancelIdleCallback?.();
220				}
221				subscribeToEvents(t) {
222					let n = t.map((r) => ({
223						event: r.event,
224						callback: (s) => this.updateEvent(s)
225					}));
226					n.length && (this.eventSubscriptions ? this.eventSubscriptions.add(this.gridSubscriptionService.subscribe(n)) : this.eventSubscriptions = this.gridSubscriptionService.subscribe(n));
227				}
228				updateEvent(t) {
229					let n = Ui(this.eventCarouselItems(), (r) => {
230						let s = r.findIndex((o) => o.event.id === t.id);
231						s !== -1 && (r[s].event = Q(t));
232					});
233					this.eventCarouselItems.set(n);
234				}
235				getData(t, n = 0) {
236					return this.apiService.getWidget(p(k({}, this.getDataContext()), { skip: n }), this.getRequestContext(), !t, !1).pipe(M(({ payload: r }) => r || {
237						carouselEvents: [],
238						totalCount: 0
239					}), h(this.destroyRef));
240				}
241				trackScoreboardCarouselClick(t, n) {
242					let { event: r, eventLink: s } = t, o = {
243						[e.COMPONENT_CATEGORY_EVENT]: m.ScoreboardCarousel,
244						[e.COMPONENT_LABEL_EVENT]: m.SportEvents,
245						[e.COMPONENT_ACTION_EVENT]: e.EVENT_CLICK,
246						[e.COMPONENT_EVENT_DETAILS]: r.name,
247						[e.COMPONENT_POSITION_EVENT]: this.title() || "not applicable",
248						[e.COMPONENT_LOCATION_EVENT]: this.modularConfigAccessorService.getPage(),
249						[e.COMPONENT_URL_CLICKED]: s,
250						[e.COMPONENT_CONTENT_POSITION]: n,
251						[e.SPORT_EVENT_ID]: r.id,
252						[e.SPORT_LEAGUE_ID]: r.league.id,
253						[e.SPORT_ID]: r.sport.id
254					};
255					this.trackingService.track(e.EVENT_TRACKING, o);
256				}
257			};
258			return i.ɵfac = (() => {
259				let a;
260				return function(t) {
261					return (a || (a = S(i)))(t || i);
262				};
263			})(), i.ɵcmp = P({
264				type: i,
265				selectors: [["ms-scoreboard-carousel-widget"]],
266				features: [N],
267				decls: 1,
268				vars: 1,
269				consts: [[1, "scoreboard-carousel-header"], [
270					3,
271					"isContentReady",
272					"eventTileClicked",
273					"eventCarouselItems"
274				]],
275				template: function(a, t) {
276					a & 1 && D(0, pr, 2, 2), a & 2 && C(t.eventCarouselItems().length ? 0 : -1);
277				},
278				dependencies: [ar],
279				styles: ["[_nghost-%COMP%]{--%NS%event-carousel-container-padding: 0}[_nghost-%COMP%]   .scoreboard-carousel-header[_ngcontent-%COMP%]{padding:11px 0;font-size:16px;font-weight:700}@media(min-width:1024px){[_nghost-%COMP%]   .scoreboard-carousel-header[_ngcontent-%COMP%]{color:var(--%NS%theme-body-txt)}}"]
280			}), i;
281		})(), I = (() => {
282			let i = class {
283				constructor() {
284					this.widgetRegistry = _(Rn);
285				}
286				onFeatureInit() {
287					this.widgetRegistry.registerLazy("ScoreboardCarousel", b);
288				}
289			};
290			return i.ɵfac = function(a) {
291				return new (a || i)();
292			}, i.ɵprov = W({
293				token: i,
294				factory: i.ɵfac,
295				providedIn: "root"
296			}), i;
297		})();
298	})))();
299}
300O();
301export { kr as provide };
302
303//# sourceMappingURL=chunk-l5sknbkm.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.