1import { y as T } from "./chunk-xgti9j2t.js"; 2import { $ as p, Aa as g, Ea as o, Hn as E, Li as b, Pi as F, Pt as i, Sa as c, Sn as d, Sr as _, Xa as z, Y as k, fa as l, fi as M, fr as m, gt as a, oi as u, t as f, tn as r, zo as h } from "./chunk-c97c17u8.js"; 3import { M as B } from "./chunk-l3jkbhly.js"; 4import { p as I } from "./chunk-k52vj1ic.js"; 5import { o as P } from "./chunk-l24fzhmb.js"; 6import { A as L } from "./chunk-jrtaqqwj.js"; 7import { o as A } from "./chunk-pesy0vb6.js"; 8import { D as H, o as O } from "./chunk-llc8ry2a.js"; 9import { ut as W } from "./chunk-fbjoug0d.js"; 10import { a as q } from "./chunk-ewplex8i.js"; 11import { n as Q, r as j } from "./chunk-c18gpzrj.js"; 12import { r as G } from "./chunk-c9rg1mp5.js"; 13import { t as R } from "./chunk-kyqvtgtk.js"; 14import { Q as J, Y as V, at as w, et as $, gt as X, it as Y } from "./chunk-w0x32net.js"; 15import { p as Z } from "./chunk-bhnvkbxx.js"; 16import { ot as K } from "./chunk-f2v2cgea.js"; 17import { a as U, c as tt, r as nt } from "./chunk-og5uebri.js"; 18import { Dn as it, Mr as et, dr as at, jr as ot } from "./chunk-go6pvd0a.js"; 19import { t as rt } from "./chunk-k4et3zlq.js"; 20import { i as st, p as ct } from "./chunk-hul0ult7.js"; 21import { n as lt, r as pt } from "./chunk-lmnwxprc.js"; 22import { r as mt } from "./chunk-ilfhy0in.js"; 23import { n as ut } from "./chunk-ohg30iel.js"; 24import { $ as ft } from "./chunk-iuhjzybw.js"; 25import { r as ht } from "./chunk-i1knml6i.js"; 26import { t as dt } from "./chunk-bt0uh5ix.js"; 27import { n as gt } from "./chunk-bh3f6w1f.js"; 28import { i as bt, o as _t } from "./chunk-eoj30x9t.js"; 29import { A as kt, L as wt, j as vt, q as yt } from "./chunk-g8mtbi19.js"; 30import { $n as St, Jt as Dt, _i as xt, xn as Nt } from "./chunk-iq8thase.js"; 31import { n as Ct, t as Tt } from "./chunk-n6ga05uu.js"; 32import { t as Et } from "./chunk-o4f8w5yc.js"; 33function Ft(n, N) { 34 if (n & 1) { 35 let t = _(); 36 o(0, "div", 5)(1, "button", 8), f("click", function() { 37 return m(t), h(c().finalizeworkflow("goback")); 38 }), p(2), l(), o(3, "button", 9), f("click", function() { 39 return m(t), h(c().finalizeworkflow()); 40 }), p(4), l()(); 41 } 42 if (n & 2) { 43 let t = c(); 44 i(), r("disabled", t.wait()), i(), u(" ", t.wait() ? t.commonMessages.PleaseWait : t.initData.playToFitContent.messages.backBtn, " "), i(), r("disabled", t.wait()), i(), u(" ", t.wait() ? t.commonMessages.PleaseWait : t.initData.playToFitContent.messages.ContinueBtn, " "); 45 } 46} 47function zt(n, N) { 48 if (n & 1) { 49 let t = _(); 50 o(0, "div", 6)(1, "button", 10), f("click", function() { 51 return m(t), h(c().finalizeworkflow()); 52 }), p(2), l(), o(3, "button", 11), f("click", function() { 53 return m(t), h(c().finalizeworkflow("goback")); 54 }), p(4), l()(); 55 } 56 if (n & 2) { 57 let t = c(); 58 i(), r("disabled", t.wait()), i(), u(" ", t.wait() ? t.commonMessages.PleaseWait : t.initData.playToFitContent.messages.ContinueBtn, " "), i(), r("disabled", t.wait()), i(), u(" ", t.wait() ? t.commonMessages.PleaseWait : t.initData.playToFitContent.messages.backBtn, " "); 59 } 60} 61var v, y, S, D; 62function x() { 63 return (x = Et((() => { 64 T(), F(), B(), I(), P(), L(), A(), H(), W(), q(), Q(), G(), R(), O(), X(), Z(), K(), V(), tt(), ot(), rt(), ct(), st(), lt(), mt(), ut(), ft(), it(), ht(), dt(), gt(), bt(), yt(), wt(), kt(), St(), Tt(), v = (() => { 65 class n { 66 commonMessages = a(at); 67 routeData = a(Nt); 68 device = a(j); 69 navigationService = a(J); 70 trackingService = a(U); 71 auth = a(nt); 72 workFlow = a(_t); 73 loginStore = a(Y); 74 messageQueue = a($); 75 initData; 76 isMobile = g(!1); 77 wait = g(!1); 78 ngOnInit() { 79 this.isMobile.set(this.device.isMobilePhone), this.initData = this.routeData.getInitData(), this.eventTracking("load", "not applicable", "fit to play interceptor", "contentView"); 80 } 81 finalizeworkflow(t = "continue") { 82 this.messageQueue.clear(), this.wait.set(!0), this.eventTracking("click", "fit to play overlay", t === "continue" ? "continue" : "go back", "Event.Tracking"); 83 let e = [{ 84 key: "PLAYER_ACTION", 85 value: t === "continue" ? "YesContinue" : "GoBack" 86 }, {
87 key: "SEQ_ID", 88 value: this.loginStore.PostLoginValues?.seqId 89 }]; 90 this.workFlow.finalizeWithDataHandle(e).then((s) => { 91 t === "continue" && !s?.loginError ? (s.loginRedirectInfo?.goTo(), this.eventTracking("submit", "fit to play overlay", "success", "Event.Tracking")) : t === "goback" && s?.loginError?.errorCode === "101" ? (this.messageQueue.clear(), this.auth.logout({ redirectAfterLogout: !0 }).then(() => { 92 this.navigationService.goToLastKnownProduct(); 93 })) : s?.loginError?.errorCode === "-1" ? (this.messageQueue.addError(this.initData.playToFitContent.messages.error, w.Single), this.wait.set(!1)) : (this.messageQueue.addError(this.commonMessages.TechnicalError, w.Single), this.wait.set(!1)); 94 }); 95 } 96 eventTracking(t, e, s, C) { 97 this.trackingService.triggerEvent(C, { 98 "component.CategoryEvent": "fit to play", 99 "component.LabelEvent": "fit to play overlay", 100 "component.ActionEvent": t, 101 "component.PositionEvent": "not applicable", 102 "component.LocationEvent": e, 103 "component.EventDetails": s, 104 "component.UrlClicked": "not applicable" 105 }); 106 } 107 static ɵfac = function(t) { 108 return new (t || n)(); 109 }; 110 static ɵcmp = E({ 111 type: n, 112 selectors: [["pt-fit-to-play"]], 113 decls: 10, 114 vars: 8, 115 consts: [ 116 [ 117 3, 118 "content", 119 "disableClose" 120 ], 121 [ 122 "id", 123 "fittoplay", 124 1, 125 "portal-page-2" 126 ], 127 [ 128 1, 129 "width-restricted-small", 130 "portal-page" 131 ], 132 [3, "vnDynamicHtml"], 133 [1, "form-element"], 134 [ 135 1, 136 "d-flex", 137 "w-100", 138 "justify-content-center" 139 ], 140 [1, "mt-3"], 141 [ 142 1, 143 "mb-3", 144 "mt-3", 145 "text-center", 146 3, 147 "vnDynamicHtml" 148 ], 149 [ 150 "ds-button", 151 "", 152 "variant", 153 "outline", 154 "kind", 155 "tertiary", 156 1, 157 "w-25", 158 3, 159 "click", 160 "disabled" 161 ], 162 [ 163 "ds-button", 164 "", 165 "kind", 166 "primary", 167 1, 168 "w-25", 169 "ml-2", 170 3, 171 "click", 172 "disabled" 173 ], 174 [ 175 "ds-button", 176 "", 177 "kind", 178 "primary", 179 1, 180 "w-100", 181 3, 182 "click", 183 "disabled" 184 ], 185 [ 186 "ds-button", 187 "", 188 "variant", 189 "outline", 190 "kind", 191 "tertiary", 192 1, 193 "w-100", 194 "mt-3", 195 3, 196 "click", 197 "disabled" 198 ] 199 ], 200 template: function(t, e) { 201 t & 1 && (o(0, "lh-cross-product-layout"), d(1, "lh-header-bar", 0), o(2, "div", 1)(3, "div", 2), d(4, "vn-message-panel")(5, "div", 3), o(6, "div", 4), k(7, Ft, 5, 4, "div", 5), k(8, zt, 5, 4, "div", 6), l()(), d(9, "div", 7), l()()), t & 2 && (i(), r("content", e.initData.playToFitContent == null ? null : e.initData.playToFitContent.title)("disableClose", !0), i(), z("text-align-buttons", e.isMobile()), i(3), r("vnDynamicHtml", e.initData.playToFitContent == null ? null : e.initData.playToFitContent.text), i(2), b(e.isMobile() ? -1 : 7), i(), b(e.isMobile() ? 8 : -1), i(), r("vnDynamicHtml", e.initData.playToFitContent == null ? null : e.initData.playToFitContent.messages.footer)); 202 }, 203 dependencies: [ 204 xt, 205 vt, 206 Dt, 207 et, 208 pt 209 ], 210 styles: [`@charset "UTF-8";.mat-accordion-responsible{--%NS%mat-accordion-responsible-img-width: 102px;--%NS%mat-accordion-responsible-img-height: 64px;--%NS%mat-accordion-responsible-hide-toggle-w-and-h: 48px;--%NS%mat-expansion-panel-content-sublist-nav-font-size: var(--%NS%theme-txt-sm-font-size);--%NS%mat-expansion-panel-content-list-nav-txt-font-size: var(--%NS%theme-txt-md-font-size);--%NS%mat-expansion-panel-content-list-nav-txt-align-line-height: 20px;--%NS%mat-expansion-panel-content-theme-right-font-size: var(--%NS%theme-txt-2xs-font-size);--%NS%mat-expansion-panel-content-arrow-bold-font-size: var(--%NS%theme-txt-md-font-size);--%NS%mat-expansion-panel-content-arrow-bold-w-and-height: 14px;--%NS%mat-expansion-panel-content-list-nav-min-height: 64px;--%NS%mat-expansion-panel-content-list-nav-max-height: 82px;--%NS%mat-expansion-panel-content-list-nav-border-bottom-color: #f3f4f5;
210--%NS%gambling-controls-panel-header-color: var(--%NS%theme-gray-tint);--%NS%mat-expansion-panel-content-list-nav-border-bottom: 0}pt-focus-contact-page{--%NS%new-contact-page-option-card-border-color: #efeff3;--%NS%new-contact-page-help-search-area-searchbox-bg: var(--%NS%theme-body-bg);--%NS%new-contact-page-help-search-input-border-color: #bfbfbf;--%NS%new-contact-page-wrapper-user-menu-bg: var(--%NS%theme-body-bg);--%NS%new-contact-page-help-search-results-border-color: #bfbfbf;--%NS%new-contact-page-wrapper-user-menu-item-color: #efeff3;--%NS%new-contact-page-borderline-new-border-color: #efeff3;--%NS%new-contact-page-chathistorycard-border-color: #c1c1c1;--%NS%new-contact-page-contact-optionsnewux-option-card-border-color: #ececec;--%NS%new-contact-page-wrapper-heading-font-size: 20px;--%NS%new-contact-page-wrapper-heading-font-weight: 700;--%NS%new-contact-page-breadcrumb-item-font-size: calc(var(--%NS%site-spacer) - 2px)}pt-fit-to-play lh-header-bar .header-ctrl-wrapper .justify-content-between{justify-content:start!important}pt-fit-to-play lh-header-bar .header-ctrl-wrapper .header-ctrl .header-ctrl-l{display:none!important}pt-fit-to-play #fittoplay{padding-left:16px;padding-right:16px}pt-fit-to-play .text-align-buttons{justify-content:space-between!important} 211`], 212 encapsulation: 2 213 }); 214 } 215 return n; 216 })(), y = (() => { 217 class n { 218 api = a(Ct); 219 getInitData() { 220 return this.api.get("FittoPlay/GetInitData"); 221 } 222 static ɵfac = function(t) { 223 return new (t || n)(); 224 }; 225 static ɵprov = M({ 226 token: n, 227 factory: n.ɵfac, 228 providedIn: "root" 229 }); 230 } 231 return n; 232 })(), S = () => a(y).getInitData(), D = [{ 233 path: "", 234 component: v, 235 resolve: { initData: S }, 236 data: { workflowType: 157 } 237 }]; 238 })))(); 239} 240x(); 241export { D as FitToPlayRoutes }; 242 243//# sourceMappingURL=chunk-Do0j93wu3.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.