1import { y as Q } from "./chunk-xgti9j2t.js"; 2import { $ as k, $r as j, Ai as q, Ao as tt, Bi as et, Cr as nt, Ea as g, Et as it, Hn as y, Li as v, Mr as ot, No as rt, Pi as st, Pt as c, Rn as I, Sa as s, Sn as h, Sr as P, Ui as b, Xa as C, Y as m, Yn as D, Zt as at, aa as N, bi as ct, f as gt, fa as u, fi as R, fr as l, go as ut, gt as a, h as A, l as _t, ri as B, ro as ft, sa as E, st as S, t as d, tn as f, wa as F, zo as O } from "./chunk-c97c17u8.js"; 3import { C as vt, M as ht, j as mt } from "./chunk-l3jkbhly.js"; 4import { p as Ct } from "./chunk-k52vj1ic.js"; 5import { o as lt } from "./chunk-l24fzhmb.js"; 6import { A as Ot } from "./chunk-jrtaqqwj.js"; 7import { o as Mt, t as w } from "./chunk-pesy0vb6.js"; 8import { D as pt, o as Pt } from "./chunk-llc8ry2a.js"; 9import { ut as dt } from "./chunk-fbjoug0d.js"; 10import { a as wt } from "./chunk-ewplex8i.js"; 11import { n as kt, r as bt } from "./chunk-c18gpzrj.js"; 12import { r as Nt } from "./chunk-c9rg1mp5.js"; 13import { t as Et } from "./chunk-kyqvtgtk.js"; 14import { Y as St, gt as Tt } from "./chunk-ldkhjowa.js"; 15import { p as xt } from "./chunk-bhnvkbxx.js"; 16import { ot as yt } from "./chunk-f2v2cgea.js"; 17import { c as It } from "./chunk-mnbyc2sm.js"; 18import { Dn as Dt, Tt as Rt, ct as At, jr as Bt } from "./chunk-gacv0pfq.js"; 19import { t as Ft } from "./chunk-k4et3zlq.js"; 20import { i as Lt, p as Vt } from "./chunk-hul0ult7.js"; 21import { n as Ht } from "./chunk-lmnwxprc.js"; 22import { r as Kt } from "./chunk-ilfhy0in.js"; 23import { n as $t } from "./chunk-ohg30iel.js"; 24import { $ as Gt } from "./chunk-iuhjzybw.js"; 25import { a as Jt } from "./chunk-kanq2829.js"; 26import { i as Yt } from "./chunk-lareec7a.js"; 27import { n as zt } from "./chunk-im7lpx1v.js"; 28import { h as L, mn as Wt, sn as Ut } from "./chunk-l8i5rin8.js"; 29import { s as Zt } from "./chunk-kdzbhsd4.js"; 30import { c as Xt } from "./chunk-k1jo4z3q.js"; 31import { r as Qt, t as jt } from "./chunk-n5f0it4j.js"; 32import { t as qt } from "./chunk-bt0uh5ix.js"; 33import { t as te } from "./chunk-ga84h9wi.js"; 34import { n as ee } from "./chunk-bh3f6w1f.js"; 35import { i as ne } from "./chunk-i11ygqqd.js"; 36import { Ca as ie, Cg as oe, Cr as re, En as se, Er as ae, Fh as ce, Hn as ge, Ia as ue, In as _e, Kn as fe, La as ve, Mn as he, Mr as M, Ni as me, Or as V, Pa as Ce, Qi as le, Ra as Oe, Sn as Me, Ta as pe, Ua as Pe, Uh as de, Va as we, Vn as r, Wr as ke, Zn as be, _i as Ne, _t as Ee, am as Se, eh as Te, ei as H, er as xe, fo as ye, ir as Ie, ja as De, jn as Re, ka as Ae, kh as Be, pa as Fe, pt as Le, qn as Ve, so as He, sr as Ke, ti as $e, ua as Ge, uo as Je, wt as Ye, xr as ze, xt as We } from "./chunk-fkxg6vdg.js"; 37import { Qn as Ue, Vr as Ze, ji as Xe } from "./chunk-hx2yplj1.js"; 38import { t as Qe } from "./chunk-nugu9zb5.js"; 39import { n as je } from "./chunk-j0f6jhv0.js"; 40import { r as qe } from "./chunk-jq0sl3ei.js"; 41import { n as tn } from "./chunk-ja26nt1r.js"; 42import { n as en } from "./chunk-fv4f1vyv.js"; 43import { r as nn } from "./chunk-ma4xjfxi.js"; 44import { n as on } from "./chunk-izpvy78m.js"; 45import { n as rn } from "./chunk-gxir58f9.js"; 46import { t as sn } from "./chunk-fhh8240b.js"; 47import { t as an } from "./chunk-b01d51e3.js"; 48import { n as cn } from "./chunk-dewcdrod.js"; 49import { n as K, r as gn } from "./chunk-i434qwa7.js"; 50import { n as un } from "./chunk-cah7i2vq.js"; 51import { _ as _n } from "./chunk-bn4u8pyx.js"; 52import { r as fn } from "./chunk-dzpnbkxl.js"; 53import { n as vn } from "./chunk-h0nbovop.js"; 54import { p as hn } from "./chunk-ezzb0v9a.js"; 55import { t as mn } from "./chunk-i8x6no98.js"; 56import { S as Cn } from "./chunk-h0oizuwy.js"; 57import { n as ln } from "./chunk-jghe8g9z.js"; 58import { t as On } from "./chunk-gg8tj736.js"; 59import { E as Mn } from "./chunk-j81yotwo.js"; 60import { E as pn, _ as Pn } from "./chunk-m30wq4is.js"; 61import { o as dn } from "./chunk-igo0cyu6.js"; 62import { n as wn } from "./chunk-h3amq0jm.js"; 63import { n as kn } from "./chunk-ic8zjxxr.js"; 64import { n as bn } from "./chunk-n2m7u3ae.js"; 65import { n as Nn } from "./chunk-eqk17yus.js"; 66import { r as En } from "./chunk-o2xnvp27.js"; 67import { n as Sn } from "./chunk-cjgg81p0.js"; 68import { t as Tn } from "./chunk-eg3yts4b.js"; 69import { n as xn, t as yn } from "./chunk-buifgpxj.js"; 70import { a as In, l as Dn } from "./chunk-lrtbycou.js"; 71import { n as Rn, t as An } from "./chunk-e2z1ouiv.js"; 72import { n as Bn } from "./chunk-im83gcb3.js"; 73import { n as Fn } from "./chunk-d4necurt.js"; 74import { o as Ln } from "./chunk-e6qaxun5.js"; 75import { n as Vn, t as Hn } from "./chunk-ie480lkb.js"; 76import { n as Kn } from "./chunk-eber62ai.js"; 77import { i as $n } from "./chunk-cfuo9w63.js"; 78import { n as Gn, t as Jn } from "./chunk-fu2bsotm.js"; 79import { n as Yn } from "./chunk-i7ecc880.js"; 80import { n as zn } from "./chunk-lftrv4gu.js"; 81import { f as T, n as $, o as Wn, t as G, u as Un } from "./chunk-nzss4xkx.js"; 82import { t as Zn } from "./chunk-bf8bcr56.js"; 83import { i as Xn } from "./chunk-f1g91xxu.js"; 84import { n as Qn } from "./chunk-lqsbxgbr.js"; 85import { n as jn } from "./chunk-odx1b4m8.js"; 86import { n as qn, t as ti } from "./chunk-d58kw29g.js"; 87import { n as ei, t as ni } from "./chunk-ovwvomd6.js"; 88import { l as ii, n as oi, o as ri } from "./chunk-jjdosnus.js"; 89import { n as si } from "./chunk-kxcjo821.js"; 90import { n as ai } from "./chunk-hrrrn936.js"; 91import { n as ci } from "./chunk-dxmxb2ms.js"; 92import { t as gi } from "./chunk-nemq363r.js"; 93import { t as ui } from "./chunk-i2ogy8gh.js"; 94import { n as _i } from "./chunk-m1yc3ygr.js"; 95import { i as fi, s as vi } from "./chunk-f0kmjl66.js"; 96import { n as hi } from "./chunk-k9dzgffd.js"; 97import { o as mi } from "./chunk-oinny59o.js"; 98import { i as Ci } from "./chunk-episksas.js"; 99import { r as li } from "./chunk-m5tu8jb6.js"; 100import { n as Oi } from "./chunk-cnqvjtxu.js"; 101import { i as Mi } from "./chunk-ciieag2h.js"; 102import { a as pi, t as Pi } from "./chunk-gnjhgtot.js"; 103import { n as di } from "./chunk-f003tdgn.js"; 104import { t as wi } from "./chunk-hc6zu2lo.js"; 105import { a as ki } from "./chunk-cz1jfnta.js"; 106import { a as bi, n as Ni } from "./chunk-cnaothxw.js"; 107import { n as Ei, t as Si } from "./chunk-lm5xfu0q.js"; 108import { t as Ti } from "./chunk-kidi6db9.js"; 109import { i as xi, n as yi, r as Ii } from "./chunk-fdr86mny.js"; 110import { t as Di } from "./chunk-o4f8w5yc.js"; 111function Ri(e, i) { 112 if (e & 1 && h(0, "vn-icon", 16), e & 2) { 113 let t = s(2).$implicit; 114 f("name", S("sports-", t.sport.id)); 115 } 116} 117function Ai(e, i) { 118 if (e & 1 && m(0, Ri, 1, 2, "vn-icon", 16), e & 2) { 119 let t = s().$implicit; 120 v(t.sport.id ? 0 : -1); 121 } 122} 123function Bi(e, i) { 124 if (e & 1 && h(0, "ms-competition-logo", 6), e & 2) { 125 let t = s().$implicit; 126 f("fallbackIcon", S("sports-", t.sport.id))("sportId", t.sport.id)("leagueId", t.itemId)("imageProfile", t.imageProfile); 127 } 128} 129function Fi(e, i) { 130 e & 1 && h(0, "ms-promotion-badge"); 131} 132function Li(e, i) { 133 if (e & 1) { 134 let t = P(); 135 g(0, "div", 19), d("click", function(n) { 136 l(t); 137 let o = s(2), _ = o.$implicit, p = o.$index; 138 return O(s(2).remove(_, n, p)); 139 }), h(1, "vn-icon", 20), u(); 140 } 141} 142function Vi(e, i) { 143 e & 1 && (g(0, "div", 18), h(1, "vn-icon", 21), u()); 144} 145function Hi(e, i) { 146 if (e & 1 && (g(0, "div", 15), m(1, Li, 2, 0, "div", 17)(2, Vi, 2, 0, "div", 18), u()), e & 2) { 147 let t = s(3); 148 c(), v(t.showRemove || t.swipeCountRemove ? 1 : t.swipeCountRemove ? -1 : 2); 149 } 150} 151function Ki(e, i) { 152 if (e & 1) { 153 let t = P(); 154 g(0, "div", 5), d("click", function(n) { 155 let o = l(t), _ = o.$implicit, p = o.$index; 156 return O(s(2).goToEvents(n, _, p)); 157 }), g(1, "div"), m(2, Ai, 1, 1)(3, Bi, 1, 5, "ms-competition-logo", 6), g(4, "div", 7)(5, "ms-inline-tooltip", 8)(6, "div", 9, 0), h(8, "span", 10), u()(), g(9, "div", 11), h(10, "div", 12), m(11, Fi, 1, 0, "ms-promotion-badge"), u()()(), g(12, "div", 13), h(13, "div", 14), m(14, Hi, 3, 1, "div", 15), u()(); 158 } 159 if (e & 2) { 160 let t = i.$implicit, n = s(2); 161 C("col-6", n.responsive)("col-sm-4", n.responsive)("col-lg-2", n.responsive), c(), I(S("favourites-left ", t.region?.name ? "add-info" : "no-info")), C("noOffers", t.count === 0), c(), v(t.type !== n.favouritesLeagueType ? 2 : 3), c(6), f("innerHtml", t.name, b), c(2), f("innerHtml", t.region?.name, b), c(), v(t.type === n.favouritesLeagueType && n.promotedCompetitionIdsMap[t.itemId] ? 11 : -1), c(), C("swipe-count-remove", n.swipeCountRemove), c(), C("loader", t.count === void 0)("noOffers", t.count === 0)("right-offset", !n.showRight || n.swipeCountRemove), f("innerHtml", t.count, b), c(), v(n.showRight ? 14 : -1); 162 } 163} 164function $i(e, i) { 165 if (e & 1) { 166 let t = P(); 167 g(0, "a", 22), d("click", function() { 168 return l(t), O(s(2).showAllClicked()); 169 }), g(1, "div", 23)(2, "div", 7)(3, "div", 9)(4, "span"), k(5), B(6, "uppercase"), u()()()(), g(7, "div", 13)(8, "div", 24), h(9, "vn-icon", 25), u()()(); 170 } 171 if (e & 2) { 172 let t = s(2); 173 C("col-6", t.responsive)("col-sm-4", t.responsive)("col-lg-2", t.responsive), f("href", t.url, gt), c(5
173), E(F(6, 8, t.sitecore.favouritesMessages.ViewMore)); 174 } 175} 176function Gi(e, i) { 177 if (e & 1) { 178 let t = P(); 179 g(0, "div", 2), d("swiperight", function() { 180 return l(t), O(s().goBack()); 181 }), A(1, Ki, 15, 25, "div", 3, J), m(3, $i, 10, 10, "a", 4), u(); 182 } 183 if (e & 2) { 184 let t = s(); 185 C("list", t.responsive)("row", t.responsive), c(), D(t.favourites), c(2), v(t.showAll ? 3 : -1); 186 } 187} 188function Ji(e, i) { 189 if (e & 1 && h(0, "ms-scoreboard", 8), e & 2) { 190 let t = s().$implicit; 191 f("scoreboard", t.scoreboard)("sport", t.sport.id); 192 } 193} 194function Yi(e, i) { 195 if (e & 1) { 196 let t = P(); 197 g(0, "div", 5)(1, "div", 6)(2, "ms-tree-event-detail", 7), d("click", function() { 198 let n = l(t), o = n.$implicit, _ = n.$index; 199 return O(s(2).goToEvent(o, _)); 200 }), u(), m(3, Ji, 1, 2, "ms-scoreboard", 8), u()(); 201 } 202 if (e & 2) { 203 let t = i.$implicit, n = i.$index, o = i.$count, _ = s(2), p = ct(2); 204 C("favourites-last", n === o - 1 && !_.favourites.length), f("msSwipeActions", p)("swipeContext", t), c(2), f("event", t)("hideFavouriteIcon", !0), c(), v(t.scoreboard.started ? 3 : -1); 205 } 206} 207function zi(e, i) { 208 if (e & 1) { 209 let t = P(); 210 g(0, "ms-favourites-list", 9), d("itemClick", function(n) { 211 return l(t), O(s(2).listItemClicked(n)); 212 })("itemRemove", function(n) { 213 return l(t), O(s(2).listItemRemoved(n)); 214 })("showAllClick", function() { 215 return l(t), O(s(2).listShowAllClicked()); 216 }), u(); 217 } 218 if (e & 2) { 219 let t = s(2); 220 f("favourites", t.favourites)("responsive", t.responsive)("showAll", t.showAll)("showRemove", !t.mobile)("showRight", !t.mobile)("swipeCountRemove", !t.mobile); 221 } 222} 223function Wi(e, i) { 224 if (e & 1 && (g(0, "ds-card", 1)(1, "div", 2), k(2), u(), A(3, Yi, 4, 7, "div", 3, z), m(5, zi, 1, 6, "ms-favourites-list", 4), u()), e & 2) { 225 let t = s(); 226 f("border", !1)("elevated", !0)("msSwipeContainer", t.swipeEnabled)("themeBorder", t.themeborder)("themeBorderRadius", t.themeBorderRadius)("themeCardElevated", t.themeElevated), c(2), E(t.sitecore.favouritesMessages.WidgetTitle), c(), D(t.events), c(2), v(t.favourites.length ? 5 : -1); 227 } 228} 229function Ui(e, i) { 230 if (e & 1 && h(0, "ms-favourites-entrypoint", 10), e & 2) { 231 let t = s().$implicit, n = s(); 232 f("favouritesHandler", "star")("favouriteData", n.getFavouriteEventData(t)); 233 } 234} 235function Zi(e, i) { 236 if (e & 1 && (ut(0), B(1, "async"), m(2, Ui, 1, 2, "ms-favourites-entrypoint", 10), g(3, "div", 11), k(4), u()), e & 2) { 237 let t = s(), n = F(1, 2, t.favouritesEllipsisEnabled$); 238 c(2), v(n ? -1 : 2), c(2), E(t.sitecore.favouritesMessages.RemoveFavourite); 239 } 240} 241var J, Y, x, z, W, U, Z; 242function X() { 243 return (X = Di((() => { 244 Q(), st(), ht(), Ct(), lt(), Ot(), Mt(), pt(), dt(), wt(), kt(), Nt(), Et(), Pt(), Tt(), xt(), yt(), St(), It(), Bt(), Ft(), Vt(), Lt(), Ht(), Kt(), $t(), Gt(), Dt(), oe(), de(), ce(), Be(), Te(), Se(), Jt(), Yt(), ye(), Je(), zt(), He(), Pe(), we(), Oe(), Wt(), ue(), Ce(), De(), Ae(), pe(), ie(), Fe(), Ge(), le(), me(), Zt(), Ne(), $e(), ke(), ae(), re(), ze(), Xt(), Ke(), Ie(), xe(), be(), Ve(), _e(), Qt(), qt(), te(), he(), Re(), se(), Me(), ee(), ne(), Ye(), We(), Ee(), Le(), Ue(), je(), Qe(), qe(), en(), tn(), nn(), rn(), _n(), sn(), an(), cn(), gn(), un(), dn(), wn(), kn(), bn(), Nn(), En(), on(), fn(), vn(), hn(), Sn(), Tn(), xn(), Dn(), mn(), Cn(), ln(), On(), Mn(), Pn(), Rn(), Bn(), Fn(), Ln(), Vn(), Kn(), $n(), Gn(), Yn(), zn(), Un(), Zn(), Xn(), Qn(), jn(), qn(), ei(), ii(), si(), ai(), ci(), gi(), ui(), fi(), hi(), mi(), Ci(), _i(), Oi(), Mi(), li(), di(), pi(), Ei(), wi(), ki(), bi(), Ti(), Ii(), J = (e, i) => i.id, Y = (() => { 245 let e = class { 246 constructor() { 247 this.favouriteService = a($), this.sitecore = a(L), this.redirectHelper = a(K), this.urlHelper = a(V), this.crmPromotionProvider = a(In), this.source = "FavouritesPage", this.showAll = !1, this.responsive = !1, this.showRemove = !0, this.showRight = !0, this.swipeCountRemove = !1, this.itemClick = N(), this.itemRemove = N(), this.showAllClick = N(), this.default = !1, this.promotedCompetitionIdsMap = {}, this.favouritesLeagueType = T.League, this.destroyRef = a(_t), this.url = this.urlHelper.getFavouriteUrl(); 248 } 249 ngOnInit() { 250 this.crmPromotionProvider.promotionsMap$.pipe(w(this.destroyRef)).subscribe((t) => this.promotionMapChanged(t)), this.init(); 251 } 252 ngOnChanges(t) { 253 t && t.favourites && this.init(); 254 } 255 remove(t, n, o) { 256 n.stopPropagation(), this.favouriteService.remove(t).pipe(et(() => {
257 this.favouriteService.notify(Ze(this.sitecore.favouritesMessages.RemoveSuccess, { name: t.name }), "success"), this.itemRemove.emit({ 258 favourite: t, 259 index: o 260 }); 261 }), ot(() => (this.favouriteService.notify(this.sitecore.favouritesMessages.SystemError), rt(void 0))), w(this.destroyRef)).subscribe(); 262 } 263 init() { 264 this.default = this.favouriteService.isDefault; 265 } 266 goToEvents(t, n, o) { 267 if (t.stopPropagation(), !n.count || G(n)) return; 268 this.itemClick.emit({ 269 favourite: n, 270 index: o 271 }); 272 let _ = n.type === T.League ? M.Competitions : M.Players; 273 this.redirectHelper.goToFavouriteWithUrlParam(_); 274 } 275 goBack() { 276 this.redirectHelper.goBack(); 277 } 278 showAllClicked() { 279 this.showAllClick.emit(); 280 } 281 promotionMapChanged(t) { 282 this.promotedCompetitionIdsMap = t.competitions; 283 } 284 }; 285 return e.ɵfac = function(i) { 286 return new (i || e)(); 287 }, e.ɵcmp = y({ 288 type: e, 289 selectors: [["ms-favourites-list"]], 290 inputs: { 291 favourites: "favourites", 292 source: "source", 293 showAll: "showAll", 294 responsive: "responsive", 295 showRemove: "showRemove", 296 showRight: "showRight", 297 swipeCountRemove: "swipeCountRemove" 298 }, 299 outputs: { 300 itemClick: "itemClick", 301 itemRemove: "itemRemove", 302 showAllClick: "showAllClick" 303 }, 304 features: [nt], 305 decls: 1, 306 vars: 1, 307 consts: [ 308 ["tooltipContent", ""], 309 [ 310 1, 311 "favourites", 312 3, 313 "list", 314 "row" 315 ], 316 [ 317 1, 318 "favourites", 319 3, 320 "swiperight" 321 ], 322 [ 323 1, 324 "favourites-item", 325 3, 326 "col-6", 327 "col-sm-4", 328 "col-lg-2" 329 ], 330 [ 331 1, 332 "favourites-item", 333 3, 334 "col-6", 335 "col-sm-4", 336 "col-lg-2", 337 "href" 338 ], 339 [ 340 1, 341 "favourites-item", 342 3, 343 "click" 344 ], 345 [ 346 3, 347 "fallbackIcon", 348 "sportId", 349 "leagueId", 350 "imageProfile" 351 ], 352 [1, "favourites-item-details"], 353 ["arrowPosition", "middle"], 354 [1, "favourite-name"], 355 [3, "innerHtml"], 356 [1, "badges-wrapper"], 357 [ 358 1, 359 "additional-info", 360 3, 361 "innerHtml" 362 ], 363 [1, "favourites-right"], 364 [ 365 1, 366 "favs-count", 367 3, 368 "innerHtml" 369 ], 370 [1, "right-button"], 371 [ 372 "size", 373 "16", 374 1, 375 "favorite-left-icon", 376 3, 377 "name" 378 ], 379 [1, "remove-favourite-btn"], 380 [1, "right-icon"], 381 [ 382 1, 383 "remove-favourite-btn", 384 3, 385 "click" 386 ], 387 [ 388 "name", 389 "theme-ex", 390 "size", 391 "12" 392 ], 393 [ 394 "name", 395 "theme-right", 396 "size", 397 "12" 398 ], 399 [ 400 1, 401 "favourites-item", 402 3, 403 "click", 404 "href" 405 ], 406 [ 407 1, 408 "favourites-left", 409 "no-info" 410 ], 411 [ 412 1, 413 "right-button", 414 "all-favourites" 415 ], 416 [ 417 "name", 418 "theme-right", 419 "size", 420 "12", 421 1, 422 "show-all-right-btn" 423 ] 424 ], 425 template: function(i, t) { 426 i & 1 && m(0, Gi, 4, 5, "div", 1), i & 2 && v(t.favourites.length ? 0 : -1); 427 }, 428 dependencies: [ 429 Hn, 430 Pi, 431 yn, 432 jt, 433 mt 434 ], 435 styles: [".favourites[_ngcontent-%COMP%]{background-color:var(--%NS%favourite-card-background);color:var(--%NS%theme-body);-webkit-overflow-scrolling:none}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]{overflow:hidden;border-bottom:1px solid var(--%NS%favourite-divider-color);height:var(--%NS%favourite-item-height);display:flex;justify-content:space-between}@media(hover:hover)and (pointer:fine){.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]:hover{cursor:pointer;background:var(--%NS%favourite-bgcolor-hover)}}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]:last-child{border-bottom:0}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .live[_ngcontent-%COMP%]{color:var(--%NS%favourite-live-color)}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%]{line-height:normal;height:var(--%NS%favourite-item-height);overflow:hidden;display:flex;margin-left:12px;margin-right:.75em}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] > .vn-icon[_ngcontent-%COMP%]{display:flex;align-items:center}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%], .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] > .vn-icon[_ngcontent-%COMP%]{padding-right:.4em;line-height:var(--%NS%favourite-item-height)}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left.no-info[_ngcontent-%COMP%]{line-height:var(--%NS%favourite-item-height)}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .sports-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;margin-right:9px;width:16px}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left.add-info[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .favourite-name[_ng
435content-%COMP%]{padding-top:.625em}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-width:0}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .favourite-name[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;font-weight:700}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .additional-info[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;font-size:.8em;max-width:unset}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .competition-logo-container[_ngcontent-%COMP%]{display:flex;align-items:center;padding-right:.4em;margin-right:.15em}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .competition-logo-container[_ngcontent-%COMP%] .competition-logo[_ngcontent-%COMP%]{width:1.375em;position:relative;right:.2rem}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%], .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] > .vn-icon[_ngcontent-%COMP%], .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .competition-logo[_ngcontent-%COMP%]{margin-right:.15em}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .favorite-left-icon[_ngcontent-%COMP%]{display:inline;margin-right:8px}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%]:not(.noOffers) .favourites-item-details[_ngcontent-%COMP%]{color:var(--%NS%favourite-card-color)}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .noOffers[_ngcontent-%COMP%]{opacity:.5}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%]{display:flex;height:var(--%NS%favourite-item-height);position:relative}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .right-icon[_ngcontent-%COMP%], .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .remove-favourite-btn[_ngcontent-%COMP%]{color:var(--%NS%favourite-right-button-color)}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .right-icon[_ngcontent-%COMP%] .vn-icon[_ngcontent-%COMP%], .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .remove-favourite-btn[_ngcontent-%COMP%] .vn-icon[_ngcontent-%COMP%]{margin:14px 0;display:flex}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .remove-favourite-btn[_ngcontent-%COMP%]{height:auto}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .remove-favourite-btn[_ngcontent-%COMP%] .vn-icon[_ngcontent-%COMP%]{margin-right:12px}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .right-icon[_ngcontent-%COMP%]{display:none}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .show-all-right-btn[_ngcontent-%COMP%]{margin:14px}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button.all-favourites[_ngcontent-%COMP%]{display:flex;align-items:center}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .favs-count[_ngcontent-%COMP%]{color:var(--%NS%favourite-favs-count-color);font-size:var(--%NS%favourite-count-font-size);line-height:calc(var(--%NS%favourite-item-height) / var(--%NS%favourite-count-font-size))}.favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-offset[_ngcontent-%COMP%]{margin-right:1em}.favourites[_ngcontent-%COMP%] .favourites-info[_ngcontent-%COMP%]{cursor:pointer}.favourites[_ngcontent-%COMP%] .badges-wrapper[_ngcontent-%COMP%] ms-inline-tooltip[_ngcontent-%COMP%]{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.favourites[_ngcontent-%COMP%] .badges-wrapper[_ngcontent-%COMP%] ms-promotion-badge[_ngcontent-%COMP%]{line-height:1}.favourites[_ngcontent-%COMP%] .no-info[_ngcontent-%COMP%] ms-promotion-badge[_ngcontent-%COMP%] .badge-icon[_ngcontent-%COMP%]{top:auto}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%]{display:block}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]{height:var(--%NS%favourite-widget-item-height)}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%]{height:var(--%NS%favourite-widget-item-height);margin-right:.75em;margin-left:0;padding-left:12px}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{line-height:var(--%NS%favourite-widget-item-height)}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left.no-info[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left.no-info[_ngcontent-%COMP%]{line-height:var(--%NS%favourite-widget-item-height)}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left.add-info[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .favourite-name[_ng
435content-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left.add-info[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .favourite-name[_ngcontent-%COMP%]{padding-top:.25em}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%]{padding-top:.125em}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .favourite-name[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .favourite-name[_ngcontent-%COMP%]{font-size:.875em;color:var(--%NS%favourite-name-color);font-weight:400}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .additional-info[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .additional-info[_ngcontent-%COMP%]{font-size:.688em;color:var(--%NS%favourite-card-info-color)}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%]{height:var(--%NS%favourite-widget-item-height)}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .favs-count[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .favs-count[_ngcontent-%COMP%]{font-size:.75em}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .remove-favourite-btn[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .remove-favourite-btn[_ngcontent-%COMP%]{display:none}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .right-icon[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .right-icon[_ngcontent-%COMP%]{display:inline}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]:hover .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .remove-favourite-btn[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]:hover .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .remove-favourite-btn[_ngcontent-%COMP%]{display:inline}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]:hover .favourites-right[_ngcontent-%COMP%] .right-icon[_ngcontent-%COMP%]:not(.all-favourites), .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]:hover .favourites-right[_ngcontent-%COMP%] .right-icon[_ngcontent-%COMP%]:not(.all-favourites){display:none}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .swipe-count-remove[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .remove-favourite-btn[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .swipe-count-remove[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .remove-favourite-btn[_ngcontent-%COMP%]{display:none}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .swipe-count-remove[_ngcontent-%COMP%] .favs-count[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .swipe-count-remove[_ngcontent-%COMP%] .favs-count[_ngcontent-%COMP%]{display:inline}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]:hover .swipe-count-remove[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .remove-favourite-btn[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]:hover .swipe-count-remove[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .remove-favourite-btn[_ngcontent-%COMP%]{display:inline}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]:hover .swipe-count-remove[_ngcontent-%COMP%] .favs-count[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]:hover .swipe-count-remove[_ngcontent-%COMP%] .favs-count[_ngcontent-%COMP%]{display:none}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-info[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-info[_ngcontent-%COMP%]{display:none}.favourites-widget[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .badges-wrapper[_ngcontent-%COMP%] ms-promotion-badge[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .badges-wrapper[_ngcontent-%COMP%] ms-promotion-badge[_ngcontent-%COMP%]{margin-top:-.1em}.favourites-widget[_nghost-%COMP%] .favourites.row[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%], .favourites-widget [_nghost-%COMP%] .favourites.row[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]{border-right:1px solid var(--%NS%favourite-widget-border)}.epcot-enabled[_nghost-%COMP%] .favourites-left[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .favourites-left[_ngcontent-%COMP%]{padding-left:16px}.epcot-enabled[_nghost-%COMP%] .favourites-left[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .favourites-left[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{padding-right:12px;margin-right:0}.epcot-enabled[_nghost-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%]{padding-top:3px;padding-bottom:4px;height:41px}.epcot-enabled[_nghost-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .favourite-name[_ng
435content-%COMP%], .epcot-enabled [_nghost-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .favourite-name[_ngcontent-%COMP%]{padding-top:0;line-height:17px}.epcot-enabled[_nghost-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .badges-wrapper[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .favourites-left[_ngcontent-%COMP%] .favourites-item-details[_ngcontent-%COMP%] .badges-wrapper[_ngcontent-%COMP%]{line-height:17px}.epcot-enabled[_nghost-%COMP%] .favourites-right[_ngcontent-%COMP%] .favs-count[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .favourites-right[_ngcontent-%COMP%] .favs-count[_ngcontent-%COMP%]{margin-right:16px}.epcot-enabled[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]:not(:last-child), .epcot-enabled [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid var(--%NS%epcot-grid-border-color)}.epcot-enabled[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-left[_ngcontent-%COMP%]{padding-left:16px}.epcot-enabled[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-offset[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-offset[_ngcontent-%COMP%]{margin-right:16px}.epcot-enabled[_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .theme-ex[_ngcontent-%COMP%]:before, .epcot-enabled [_nghost-%COMP%] .favourites[_ngcontent-%COMP%] .favourites-item[_ngcontent-%COMP%] .favourites-right[_ngcontent-%COMP%] .right-button[_ngcontent-%COMP%] .theme-ex[_ngcontent-%COMP%]:before{padding-right:16px}"], 436 changeDetection: 1 437 }), e; 438 })(), x = (() => { 439 let e = class { 440 constructor() { 441 this.trackingService = a(fe); 442 } 443 trackItemClick(t, n, o) { 444 let _ = { 445 [M.Competitions]: "my competitions",
446 [M.Players]: "my teams/players", 447 [M.Events]: "my events" 448 }; 449 this.trackingService.track(r.EVENT_TRACKING, { 450 [r.COMPONENT_CATEGORY_EVENT]: "Favorites Module", 451 [r.COMPONENT_LABEL_EVENT]: "Module navigation", 452 [r.COMPONENT_ACTION_EVENT]: "Click", 453 [r.COMPONENT_POSITION_EVENT]: "My Competitions", 454 [r.COMPONENT_LOCATION_EVENT]: "Favorites Module", 455 [r.COMPONENT_EVENT_DETAILS]: _[n] ?? "not applicable", 456 [r.COMPONENT_URL_CLICKED]: t, 457 [r.COMPONENT_CONTENT_POSITION]: o.toString() 458 }); 459 } 460 trackItemRemove(t) { 461 this.trackingService.track(r.EVENT_TRACKING, { 462 [r.COMPONENT_CATEGORY_EVENT]: "Favorites Module", 463 [r.COMPONENT_LABEL_EVENT]: "Module navigation", 464 [r.COMPONENT_ACTION_EVENT]: "Click", 465 [r.COMPONENT_POSITION_EVENT]: "My Competitions", 466 [r.COMPONENT_LOCATION_EVENT]: "Favorites Module", 467 [r.COMPONENT_EVENT_DETAILS]: "Remove", 468 [r.COMPONENT_URL_CLICKED]: ge, 469 [r.COMPONENT_CONTENT_POSITION]: t.toString() 470 }); 471 } 472 trackShowAll(t) { 473 this.trackingService.track(r.EVENT_TRACKING, { 474 [r.COMPONENT_CATEGORY_EVENT]: "Favorites Module", 475 [r.COMPONENT_LABEL_EVENT]: "Module navigation", 476 [r.COMPONENT_ACTION_EVENT]: "Click", 477 [r.COMPONENT_POSITION_EVENT]: "My Competitions", 478 [r.COMPONENT_LOCATION_EVENT]: "Favorites Module", 479 [r.COMPONENT_EVENT_DETAILS]: "See All", 480 [r.COMPONENT_URL_CLICKED]: t 481 }); 482 } 483 }; 484 return e.ɵfac = function(i) { 485 return new (i || e)(); 486 }, e.ɵprov = R({ 487 token: e, 488 factory: e.ɵfac, 489 providedIn: "root" 490 }), e; 491 })(), z = (e, i) => i.id, W = (() => { 492 let e = class extends ri { 493 constructor() { 494 super(...arguments), this.sitecore = a(L), this.favouritesService = a($), this.liveFavouriteService = a(ni), this.userService = a(ve), this.favouritesConfig = a(Ut), this.fixtureFactory = a(pn), this.redirectHelperService = a(K), this.subscriptionService = a(ti), this.mediaObserver = a(At), this.trackingService = a(x), this.urlHelper = a(V), this.device = a(bt), this.className = "favourites-widget list list-card", this.isInitialSetWidgetLoad = !0, this.favourites = [], this.events = [], this.showAll = !1, this.swipeEnabled = !1, this.favouritesEllipsisEnabled$ = a(An).getFeatureFlagValueBehindMasterFlags$(H.IsFavouritesEllipsisEnabled, !1, [H.EnableFavouritesReDesignMasterFlag]), this.themeBorderRadius = { 495 "sportingbet-br": { hasRadius: !0 }, 496 "betboo-br": { hasRadius: !0 }, 497 "gamebookers-2": { hasRadius: !0 }, 498 "sports-interaction": { hasRadius: !0 }, 499 "sports-interaction-2": { hasRadius: !0 } 500 }, this.themeElevated = { 501 "sportingbet-br": { isElevated: !1 }, 502 "betboo-br": { isElevated: !1 } 503 }, this.themeborder = { "gamebookers-2": { hasBorder: !0 } }, this.liveChanged = () => { 504 this.events = [], this.unsubscribe(); 505 let t = this.liveFavouriteService.fixtures.map((n) => { 506 let o = this.fixtureFactory.create(n); 507 return this.events.push(o), { event: o }; 508 }); 509 this.events.sort((n, o) => n.startDate > o.startDate ? 1 : -1), this.subscription = this.subscriptionService.subscribe(t), this.hasData = !!this.favourites?.length || !!this.events?.length, this.setWidgetLoaded(), this.isInitialSetWidgetLoad = !1; 510 }, this.favouritesChanged = (t) => { 511 this.favourites = this.refineFavourites(t.favourites), this.liveFavouriteService.refresh("None"), this.hasData = !!this.favourites?.length || !!this.events?.length, this.setWidgetLoaded(), this.isInitialSetWidgetLoad = !1; 512 }, this.swipeChanged = () => { 513 this.swipeEnabled = this.liveFavouriteService.isSwipeFavouriteEnabled(); 514 }; 515 } 516 get responsive() { 517 return this.config.location !== "Left"; 518 } 519 ngOnInit() { 520 this.mobile = this.device.isMobile, this.favouritesService.change.pipe(w(this.destroyRef)).subscribe(this.favouritesChanged), this.favouritesConfig.isLiveWidgetFavouritesEnabled && this.liveFavouriteService.change.pipe(w(this.destroyRef)).subscribe(this.liveChanged), this.favouritesConfig.isFavouriteSwipeEnabled && (this.swipeChanged(), this.mediaObserver.observe().pipe(at(), w(this.destroyRef)).subscribe(this.swipeChanged)); 521 } 522 onData() { 523 this.isInitialSetWidgetLoad || this.setWidgetLoaded(); 524 } 525 ngOnDestroy() { 526 this.unsubscribe(); 527 } 528 goToEvent(t, n) { 529 let o = this.urlHelper.getEventUrl(t); 530 this.trackingService.trackItemClick(o, M.Events, n), this.redirectHelperService.goToEvent(t); 531 } 532 listItemClicked({ favourite: t, index: n }) { 533 let o = t.type === T.League ? M.Competitions : M.Players, _ = this.urlHelper.getFavouriteUrlByUrlParam(o), p = this.events.length + n; 534 this.trackingService.trackItemClick(_, o, p); 535 } 536 listItemRemoved({ index: t }) { 537 this.trackingService.trackItemRemove(t); 538 } 539 listShowAllClicked() { 540 let t = this.urlHelper.getFavouriteUrl(); 541 this.trackingService.trackShowAll(t); 542 } 543 refineFavourites(t) { 544 this.showAll = !1; 545 let n = 2 * this.favouritesConfig.maxWidgetFavourites; 546 return t = t.filter((o) => o.count > 0 && !G(o)), n && t.length > n && (t = t.slice(0, n - 1), this.showAll = !0), t; 547 } 548 getFavouriteEventData(t) { 549 return Wn(t); 550 } 551 unsubscribe() { 552 this.subscription?.unsubscribe(); 553 } 554 }; 555 return e.ɵfac = (() => { 556 let i; 557 return function(t) { 558 return (i || (i = q(e)))(t || e); 559 }; 560 })(), e.ɵcmp = y({ 561 type: e, 562 selectors: [["ms-favourites-widget"]], 563 hostVars: 4, 564 hostBindings: function(i, t) {
565 i & 2 && (I(t.className), C("favourites-responsive", t.responsive)); 566 }, 567 features: [it([x]), j], 568 decls: 3, 569 vars: 1, 570 consts: [ 571 ["swipeTemplate", ""], 572 [ 573 "msThemedCard", 574 "", 575 3, 576 "border", 577 "elevated", 578 "msSwipeContainer", 579 "themeBorder", 580 "themeBorderRadius", 581 "themeCardElevated" 582 ], 583 [ 584 1, 585 "item-header", 586 "col-12" 587 ], 588 [ 589 1, 590 "favourites-wrapper", 591 3, 592 "favourites-last", 593 "msSwipeActions", 594 "swipeContext" 595 ], 596 [ 597 "source", 598 "Modular", 599 3, 600 "favourites", 601 "responsive", 602 "showAll", 603 "showRemove", 604 "showRight", 605 "swipeCountRemove" 606 ], 607 [ 608 1, 609 "favourites-wrapper", 610 3, 611 "msSwipeActions", 612 "swipeContext" 613 ], 614 [1, "grid-info-wrapper"], 615 [ 616 3, 617 "click", 618 "event", 619 "hideFavouriteIcon" 620 ], 621 [ 622 3, 623 "scoreboard", 624 "sport" 625 ], 626 [ 627 "source", 628 "Modular", 629 3, 630 "itemClick", 631 "itemRemove", 632 "showAllClick", 633 "favourites", 634 "responsive", 635 "showAll", 636 "showRemove", 637 "showRight", 638 "swipeCountRemove" 639 ], 640 [ 641 3, 642 "favouritesHandler", 643 "favouriteData" 644 ], 645 [1, "swipe-message"] 646 ], 647 template: function(i, t) { 648 i & 1 && (m(0, Wi, 6, 8, "ds-card", 1), ft(1, Zi, 5, 4, "ng-template", null, 0, tt)), i & 2 && v(t.userService.isAuthenticated && t.favouritesConfig.isFavouritesEnabled && (t.favourites.length || t.events.length) ? 0 : -1); 649 }, 650 dependencies: [ 651 Xe, 652 Jn, 653 Y, 654 vi, 655 Ni, 656 xi, 657 yi, 658 Si, 659 vt 660 ], 661 styles: [".favourites-widget[_ngcontent-%COMP%]{width:100%;border-radius:var(--%NS%favourite-border-radius)}.favourites-widget.favourites-responsive[_ngcontent-%COMP%]{display:flex;flex-flow:row;flex-wrap:wrap}.favourites-wrapper[_ngcontent-%COMP%]{position:relative}.favourites-wrapper[_ngcontent-%COMP%] .grid-info-wrapper[_ngcontent-%COMP%]{padding:.3rem .7rem;height:67px;border-bottom:1px solid var(--%NS%favourite-widget-grid-info-border);background-color:var(--%NS%favourite-card-background);cursor:pointer}@media(hover:hover)and (pointer:fine){.favourites-wrapper[_ngcontent-%COMP%] .grid-info-wrapper[_ngcontent-%COMP%]:hover{background:var(--%NS%favourite-bgcolor-hover)}}.favourites-wrapper[_ngcontent-%COMP%] .grid-info-wrapper[_ngcontent-%COMP%] .participants-pair-game[_ngcontent-%COMP%], .favourites-wrapper[_ngcontent-%COMP%] .grid-info-wrapper[_ngcontent-%COMP%] .participants-tournament-game[_ngcontent-%COMP%], .favourites-wrapper[_ngcontent-%COMP%] .grid-info-wrapper[_ngcontent-%COMP%] .participants-combi-game[_ngcontent-%COMP%], .favourites-wrapper[_ngcontent-%COMP%] .grid-info-wrapper[_ngcontent-%COMP%] .tree-event-info[_ngcontent-%COMP%]{padding-top:.3em}.favourites-wrapper[_ngcontent-%COMP%] .favourite[_ngcontent-%COMP%]:after{content:\"\";position:absolute;inset:0}.favourites-wrapper[_ngcontent-%COMP%] .swipe-actions[_ngcontent-%COMP%]{align-items:center;display:flex;flex-direction:column;justify-content:center;padding-left:.7rem;padding-right:.7rem;border-style:solid;border-color:var(--%NS%favourite-widget-grid-info-border);border-width:0 1px 1px 0;top:0;bottom:0;height:auto}.favourites-wrapper[_ngcontent-%COMP%] .swipe-actions[_ngcontent-%COMP%] .swipe-message[_ngcontent-%COMP%]{font-size:.5625em;text-align:center}.favourites-wrapper.favourites-last[_ngcontent-%COMP%] .swipe-actions[_ngcontent-%COMP%], .favourites-wrapper.favourites-last[_ngcontent-%COMP%] .grid-info-wrapper[_ngcontent-%COMP%]{border-bottom:0}.epcot-enabled[_nghost-%COMP%] .item-header[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .item-header[_ngcontent-%COMP%]{padding-left:16px!important;padding-right:var(--%NS%epcot-favourites-widget-padding-right);background-color:var(--%NS%epcot-favourites-widget-header-bg)}.epcot-enabled[_nghost-%COMP%] .grid-info-wrapper[_ngcontent-%COMP%], .epcot-enabled [_nghost-%COMP%] .grid-info-wrapper[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px;border-bottom:1px solid var(--%NS%epcot-favorites-widget-grid-border)}.epcot-enabled[_nghost-%COMP%] .grid-info-wrapper .tree-event-info, .epcot-enabled [_nghost-%COMP%] .grid-info-wrapper .tree-event-info{align-items:center}.epcot-enabled[_nghost-%COMP%] .favourites-wrapper[_ngcontent-%COMP%] .tree-event-info .live-icon:before, .epcot-enabled [_nghost-%COMP%] .favourites-wrapper[_ngcontent-%COMP%] .tree-event-info .live-icon:before{margin-bottom:var(--%NS%epcot-favourites-live-icon-margin-bottom)}"], 662 changeDetection: 1 663 }), e; 664 })(), U = (() => { 665 let e = class { 666 constructor() { 667 this.registry = a(oi); 668 } 669 onFeatureInit() { 670 this.registry.registerLazy("Favourites", W); 671 } 672 }; 673 return e.ɵfac = function(i) { 674 return new (i || e)(); 675 }, e.ɵprov = R({ 676 token: e, 677 factory: e.ɵfac, 678 providedIn: "root" 679 }), e; 680 })(), Z = () => Rt(U); 681 })))(); 682} 683X(); 684export { Z as provide }; 685 686//# sourceMappingURL=chunk-l21lf6f3.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.