/*! For license information please see main.7398a38f2c7d6f0a2ba9.js.LICENSE.txt */
(self.webpackChunkserver_side_rendering=self.webpackChunkserver_side_rendering||[]).push([[179],{98255:e=>{function t(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}t.keys=()=>[],t.resolve=t,t.id=98255,e.exports=t},3317:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(64762);i.__exportStar(n(54134),t),i.__exportStar(n(87683),t),i.__exportStar(n(58199),t),i.__exportStar(n(63747),t),i.__exportStar(n(62579),t),i.__exportStar(n(42071),t)},87683:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CmRequestStruct=void 0;const i=n(65015);t.CmRequestStruct=i.object({url:i.string(),body:i.optional(i.any()),headers:i.optional(i.any()),reportProgress:i.optional(i.boolean()),withCredentials:i.optional(i.boolean()),responseType:i.optional(i.string()),method:i.enums(["GET","POST","PUT","PATCH","DELETE","OPTIONS"]),params:i.optional(i.any()),urlWithParams:i.optional(i.string())})},58199:(e,t)=>{"use strict";function n(e,t){const n={method:e.method,mode:t?"cors":"same-origin",cache:"no-store",credentials:e.withCredentials?"same-origin":"omit",headers:i(e.headers||{}),referrerPolicy:"strict-origin"};return e.body?Object.assign(Object.assign({},n),{body:"string"==typeof e.body?e.body:JSON.stringify(e.body)}):n}function i(e){const t=new Headers;for(const[n,i]of Object.entries(e))t.append(n,i.toString());return t.append("Content-Type","application/json"),t.append("Accept","application/json, text/plain, */*"),t}Object.defineProperty(t,"__esModule",{value:!0}),t.parseBody=t.buildRequestInit=t.parseRequest=void 0,t.parseRequest=function(e,t=!1){return new Request(e.urlWithParams||e.url,n(e,t))},t.buildRequestInit=n,t.parseBody=function(e,t){return t?e.has("content-type")?"text/plain"===e.get("content-type")?t:JSON.parse(t):function(e){try{return JSON.parse(e)}catch(t){return e}}(t):{}}},54134:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},42071:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CrossMessaging=void 0;const i=n(63747);t.CrossMessaging=class{constructor(e){this.DEFAULT_FILENAME="receiver.html",this.MAX_HANDSHAKE_ATTEMPTS=5,this.HANDSHAKE_INTERVAL=500,this.handshakeFinished=!1,this.container=e||document.body}init(e){return this.parent=new i.ParentClient,this.createChild(e).then((t=>Promise.race([this.parent.init(e,t),this.startHandshake(e,t)]).finally((()=>this.handshakeFinished=!0))))}request(e){return this.parent.sendRequest(e)}executePendingRequests(){return this.parent.executeStoredRequests()}createChild(e){return new Promise((t=>{const n=document.createElement("iframe");n.src=this.getIframeSrc(e),n.style.display="none",n.setAttribute("sandbox","allow-same-origin allow-scripts"),n.onload=()=>t(n.contentWindow),this.container.appendChild(n)}))}startHandshake(e,t){return new Promise(((n,i)=>{let r=0;const o=()=>{this.handshakeFinished||(r===this.MAX_HANDSHAKE_ATTEMPTS?i():(r++,t.postMessage("handshake",e.domain)),setTimeout(o,this.HANDSHAKE_INTERVAL))};o()}))}getIframeSrc(e){const{domain:t,pathSegments:n,filename:i=this.DEFAULT_FILENAME}=e;return`${t}/${n.join("/")}/${i}`}}},62579:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChildClient=void 0;const i=n(58199);t.ChildClient=class{init(){const e=this.getDomain(location.hostname),t=i=>{this.getDomain(i.origin)===e&&"handshake"===i.data&&(window.removeEventListener("message",t),window.addEventListener("message",n),parent.postMessage("handshake",i.origin))},n=t=>{this.getDomain(t.origin)===e&&t.data.id&&this.fetchDataForEvent(t,this.sendRequest)};window.addEventListener("message",t)}fetchDataForEvent(e,t){return fetch(i.parseRequest(e.data.request)).then((n=>t(e,n))).catch((t=>{console.log(t),this.sendError(e,t)}))}sendError(e,t){const n={id:e.data.id,response:{ok:!1,status:500,message:"Internal Server Error",headers:{},body:"An error occurred while processing the request.",url:""},error:{message:t.message}};parent.postMessage(n,e.origin)}sendRequest(e,t){t.text().then((n=>{const r=(e=>JSON.parse(JSON.stringify(e)))({id:e.data.id,response:{ok:t.ok||!1,status:t.status,message:t.statusText,headers:Array.from(t.headers.entries()).reduce(((e,[t,n])=>Object.assign(Object.assign({},e),{[t]:n})),{}),body:i.parseBody(t.headers,n),url:t.url}});parent.postMessage(r,e.origin)}))}getDomain(e){const t=e.replace(/^(https?:\/\/)?/,""),[n]=t.split(":");return n[0].split(".").every((e=>{const t=Number(e);return!isNaN(t)&&t>=0&&t<=255}))?n:n.split(".").slice(-2).join(".")}}},63747:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParentClient=void 0;const i=n(87683),r=n(58199),o=n(65015);t.ParentClient=class{constructor(){this.target_domain="",this.container=document.body,this.requestsStack={},this.handshakeFinished=!1,this.storedRequests=[]}init(e,t){return new Promise((n=>{this.target_domain=e.domain,this.child=t;const i=e=>{e.origin===this.target_domain&&"handshake"===e.data&&(window.removeEventListener("message",i),window.addEventListener("message",r),this.handshakeFinished=!0,this.executeStoredRequests(),n())},r=e=>{const t=e.data.id;e.origin!==this.target_domain||!t||t&&!this.requestsStack[t]||this.resolveEventRequest(e)};window.addEventListener("message",i)}))}sendRequest(e){try{o.assert(e,i.CmRequestStruct)}catch(e){return Promise.reject("Request not allowed")}return this.sendPostMessage(e)}sendPostMessage(e){const t=this.createRequestForIframe(e);return this.handshakeFinished?this.executeRequest(t.request):this.storedRequests.push(t.request),t.messagePromise}executeStoredRequests(){this.storedRequests.forEach((e=>{this.handshakeFinished?this.executeRequest(e):this.executeRequestByCors(e)}))}executeRequest(e){this.child.postMessage(e,this.target_domain)}executeRequestByCors(e){this.fetchData(e,this.resolveRequest.bind(this))}fetchData(e,t){return fetch(r.parseRequest(e.request,!0)).then((n=>{n.text().then((i=>{const o={ok:n.ok||!1,status:n.status,message:n.statusText,headers:n.headers,body:r.parseBody(n.headers,i),url:n.url};t(e.id,o)}))})).catch((e=>{console.log(e)}))}createRequestForIframe(e){const t=Math.floor(1e5*Math.random()),n={id:t,request:e};let i;const r=new Promise(((e,t)=>{i={resolve:e,error:t}}));return this.requestsStack[t]=i,{request:n,messagePromise:r}}resolveEventRequest(e){const{id:t,response:n}=e.data;this.resolveRequest(t,n)}resolveRequest(e,t){t.ok?this.requestsStack[e].resolve(t):this.requestsStack[e].error(t),delete this.requestsStack[e]}}},79427:(e,t,n)=>{"use strict";function i(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))}n.d(t,{n7:()=>v,Qs:()=>L}),Object.create,Object.create;var r=n(57826);function o(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;const a={},s={};let c=!1;function l(e){return o(this,void 0,void 0,(function*(){return e.remoteEntry&&(yield(t=e.remoteEntry,i=e.remoteName,new Promise(((e,r)=>{if(a[t])return void e();const l=document.createElement("script");l.src=t,l.onerror=r,l.onload=()=>{!function(e){o(this,void 0,void 0,(function*(){const t=window[e];return s[e]||(c||(yield n.I("default"),c=!0),yield t.init(n.S.default),s[e]=!0),t}))}(i),a[t]=!0,e()},document.body.appendChild(l)})))),yield function(e,t){return o(this,void 0,void 0,(function*(){const n=window[e];return(yield n.get(t))()}))}(e.remoteName,e.exposedModule);var t,i}))}var d=n(97509),u=(n(4309),n(73753));const p=["mfeOutlet"];class h{constructor(e){this.mfeManifestService=e,this.loadingPromises={}}loadMfeModule(e,t){return i(this,void 0,void 0,(function*(){const n=yield this.mfeManifestService.getMfeMetadata(e),i=yield this.mfeManifestService.getModuleMetadata(e,t);return this.loadingPromises[e]&&(yield this.loadingPromises[e]),this.loadingPromises[e]=l({remoteEntry:n.entrypoint,remoteName:n.name,exposedModule:i.name}),this.loadingPromises[e]}))}loadMfeItem(e,t,n){return i(this,void 0,void 0,(function*(){const i=yield this.mfeManifestService.getItemMetadata(e,t,n);return(yield this.loadMfeModule(e,t))[i.name]}))}}class m{constructor(e){this.mfeManifestClient=e}getMfeManifest(){return i(this,void 0,void 0,(function*(){return this.mfeManifestClient.getMfeManifest()}))}getMfeMetadata(e){return i(this,void 0,void 0,(function*(){const t=(yield this.getMfeManifest()).microFrontends.find((t=>t.name===e));if(!t)throw new Error(`Microfrontend '${e}' does not exist in manifest`);return t}))}getModuleMetadata(e,t){return i(this,void 0,void 0,(function*(){const n=yield this.getMfeMetadata(e);let i;if(t){if(i=n.modules.find((e=>e.name===t)),!i)throw new Error(`Module '${t}' does not exist in microfrontend '${e}'`)}else{if(1!==n.modules.length)throw new Error(`No default module for microfrontend '${e}'`);i=n.modules[0]}return i}))}getItemMetadata(e,t,n){var r,o;return i(this,void 0,void 0,(function*(){const i=yield this.getModuleMetadata(e,t);let a;if(n){if(a=null===(o=i.items)||void 0===o?void 0:o.find((e=>e.name===n)),!a)throw new Error(`Item '${n}' does not exist in module '${i.name}' in microfrontend '${e}'`)}else{if(1!==(null===(r=i.items)||void 0===r?void 0:r.length))throw new Error(`No default item for module '${i.name}' in microfrontend '${e}'`);a=i.items[0]}return a}))}}let f=(()=>{class e{constructor(e,t){this.mfeLoaderService=e,this.mfeManifestService=t}ngOnChanges(e){return i(this,void 0,void 0,(function*(){!this.componentRef&&e.mfeName&&(this.hideHostComponent(!0),this.module=yield this.mfeLoaderService.loadMfeModule(this.mfeName,this.moduleName),this.componentMetadata=yield this.mfeManifestService.getItemMetadata(this.mfeName,this.moduleName,this.componentName),this.moduleRef=yield this.compileModule(),this.componentRef=yield this.createComponent(),this.componentInstance=this.componentRef.instance,this.hideHostComponent(!1)),this.componentInstance&&(e.props&&this.setProps(this.componentInstance,this.props),e.callbacks&&(e.callbacks.firstChange||this.cleanCallbacks(),this.setCallbacks(this.componentInstance,this.callbacks)),this.componentInstance.ngOnChanges&&this.componentInstance.ngOnChanges(e),this.componentRef.injector.get(r.ChangeDetectorRef).markForCheck())}))}ngOnDestroy(){this.cleanCallbacks()}getExportedType(e){const t=this.module[e];if(!t){const t=`Available exports: ${Object.keys(this.module)}`;throw new Error(`[MfeOutletAngularComponent] '${e}' does not exist in the remote object. ${t}`)}return t}hideHostComponent(e){var t;(null===(t=this.componentHost)||void 0===t?void 0:t.nativeElement)&&(e?(0,d.setStyleProperty)(this.componentHost.nativeElement,"display","none"):(0,d.removeStyleProperty)(this.componentHost.nativeElement,"display"))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](h),r["ɵɵdirectiveInject"](m))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,viewQuery:function(e,t){if(1&e&&r["ɵɵviewQuery"](p,7,r.ViewContainerRef),2&e){let e;r["ɵɵqueryRefresh"](e=r["ɵɵloadQuery"]())&&(t.viewContainer=e.first)}},inputs:{mfeName:"mfeName",moduleName:"moduleName",componentName:"componentName",props:"props",callbacks:"callbacks",theme:"theme"},features:[r["ɵɵNgOnChangesFeature"]]}),e})();"undefined"==typeof ngDevMode||ngDevMode;const g={};let v=(()=>{class e extends f{constructor(e,t,n,i,r,o){super(e,t),this.mfeLoaderService=e,this.mfeManifestService=t,this.injector=n,this.cfr=i,this.elementRef=r,this.compiler=o,this.callbackSubscriptions=[],this.componentHost=(0,d.ngOwnComponent)(r.nativeElement)}compileModule(){return i(this,void 0,void 0,(function*(){let e;if(this.componentMetadata.module)if(g[this.componentMetadata.module])e=g[this.componentMetadata.module];else{const t=this.getExportedType(this.componentMetadata.module);e=(yield this.compiler.compileModuleAsync(t)).create(this.injector),g[this.componentMetadata.module]=e}return e}))}createComponent(){var e;return i(this,void 0,void 0,(function*(){const t=this.getExportedType(this.componentMetadata.name),n=this.cfr.resolveComponentFactory(t);return yield this.addInlineThemeStyle(t),this.viewContainer.createComponent(n,void 0,(null===(e=this.moduleRef)||void 0===e?void 0:e.injector)||this.injector,void 0,this.moduleRef)}))}setProps(e,t){for(const n in t)e[n]=t[n]}setCallbacks(e,t){for(const n in t)if(e[n]){const i=e[n].subscribe(t[n]);this.callbackSubscriptions.push(i)}else console.warn("[MfeOutletAngularComponent]",`Output '${n}' does not exist in component '${this.componentMetadata.name}' of microfrontend '${this.mfeName}'`)}cleanCallbacks(){this.callbackSubscriptions.forEach((e=>e.unsubscribe())),this.callbackSubscriptions=[]}addInlineThemeStyle(e){var t;return i(this,void 0,void 0,(function*(){if(this.theme&&this.componentMetadata.themes){const n=this.getExportedType(this.componentMetadata.themes);if(Object.keys(n).includes(this.theme)){const i=n[this.theme],o=null===(t=yield i())||void 0===t?void 0:t.default;if("string"==typeof o){const t=e[r["ɵNG_COMP_DEF"]];t.styles=[o,...t.styles]}}}}))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](h),r["ɵɵdirectiveInject"](m),r["ɵɵdirectiveInject"](r.Injector),r["ɵɵdirectiveInject"](r.ComponentFactoryResolver),r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.Compiler))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bbk-mfe-outlet-angular"]],features:[r["ɵɵInheritDefinitionFeature"]],decls:2,vars:0,consts:[["mfeOutlet",""]],template:function(e,t){1&e&&r["ɵɵelementContainer"](0,null,0)},encapsulation:2}),e})();"undefined"==typeof ngDevMode||ngDevMode;let b,y=(()=>{class e{constructor(e){this.mfeLoaderService=e}buildRoutes(e){return e.map((e=>this.mapChildrenRoute(e)))}mapChildrenRoute(e){var t,n;if(null===(t=e.microFrontend)||void 0===t?void 0:t.mfeName){const{mfeName:t,moduleName:n,itemName:i}=e.microFrontend;e.loadChildren=()=>this.mfeLoaderService.loadMfeItem(t,n,i)}return(null===(n=e.children)||void 0===n?void 0:n.length)&&(e.children=e.children.map((e=>this.mapChildrenRoute(e)))),delete e.microFrontend,e}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](h))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode;class S{constructor(e,t){this.manifestUrl=e,this.loadStrategy=t,"preload"===t&&this.getMfeManifest()}getMfeManifest(){return i(this,void 0,void 0,(function*(){return this.mfeManifestPromise||(this.mfeManifestPromise=fetch(this.manifestUrl).then((e=>e.json()))),this.mfeManifestPromise}))}}const C=e=>{if(!e.fetchUrl)throw new Error("No fetchUrl provided to instantiate MfeManifestFetchClient");return new S(e.fetchUrl,e.fetchStrategy)};function x(e){return e.shared?(b||(b=C(e)),b):C(e)}class I{constructor(e,t){this.globalref=e,this.globalrefKey=t,this.mfeManifest=e[t]}getMfeManifest(){return Promise.resolve(this.mfeManifest)}}let w;const E=(e,t)=>{if(!e||!t)throw new Error("No globalref or globalrefKey provided to instantiate MfeManifestGlobalrefClient");return new I(e,t)};function T(e){return e.shared?(w||(w=E(e.globalref,e.globalrefKey)),w):E(e.globalref,e.globalrefKey)}let P;const A=e=>new m(e);function _(e,t){return e.shared?(P||(P=A(t)),P):A(t)}let M;const O=e=>new h(e);function k(e,t){return e.shared?(M||(M=O(t)),M):O(t)}function j(e,t,n){var i;let r=null==n?void 0:n.config;return(null===(i=e.routes)||void 0===i?void 0:i.length)&&(r=t.buildRoutes(e.routes)),()=>{n&&r&&n.resetConfig(r)}}const N=new r.InjectionToken("MfeManifestClient"),D=new r.InjectionToken("MFE_TOOLS_CONFIG");let L=(()=>{class e{static configure(t){const n=[{provide:D,useValue:t}];return t.fetchUrl?n.push({provide:N,useFactory:x,deps:[D]}):t.globalref&&t.globalrefKey&&n.push({provide:N,useFactory:T,deps:[D]}),n.push({provide:m,useFactory:_,deps:[D,N]},{provide:h,useFactory:k,deps:[D,m]},{provide:r.APP_INITIALIZER,useFactory:j,deps:[D,y,[new r.Optional,u.Router]],multi:!0}),{ngModule:e,providers:n}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({}),e})();"undefined"==typeof ngDevMode||ngDevMode},56020:(e,t,n)=>{"use strict";n.d(t,{m:()=>c});var i=n(6856),r=n(4060),o=n(84704),a=n(1457),s=n(57826);let c=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({imports:[[i.CommonModule,r.P,o.a,a.n]]}),e})()},1457:(e,t,n)=>{"use strict";n.d(t,{n:()=>s});var i=n(6856),r=n(91184),o=n(84704),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[i.CommonModule,r.nA,o.a]]}),e})()},82314:(e,t,n)=>{"use strict";n.d(t,{a:()=>a,f:()=>o}),n(23550);var i=n(88323),r=n(57826);const o="/services/sports/bet/betslip";let a=(()=>{class e{constructor(e){this.storageService=e}intercept(e,t){if(e.url.includes(o)){const n=this.storageService.get("sessionId");if(n){const i=e.clone({setHeaders:{"X-SESSION-ID":`Bearer ${n}`}});return t.handle(i)}}return t.handle(e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.n))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},15511:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});let i=(()=>{class e{}return e.DECIMAL="DECIMAL",e.AMERICAN="AMERICAN",e.FRACTIONAL="FRACTIONAL",e.MALAY="MALAY",e.HONGKONG="HONGKONG",e.INDONESIAN="INDONESIAN",e})()},65629:(e,t,n)=>{"use strict";n.d(t,{F:()=>c});var i=n(23550),r=n(4309),o=n(30173),a=n(42998),s=n(57826);let c=(()=>{class e{constructor(e,t){this.http=e,this.deviceService=t,this.sportsConfigPath="/services/sports/config/site"}getMarketFilters(){return this.loadConfig().pipe((0,a.map)((t=>t[e.marketFiltersKey])),(0,a.shareReplay)(1))}getMainConfig(){return this.loadConfig().pipe((0,a.map)((t=>t[e.mainConfigKey])),(0,a.shareReplay)(1))}getSportConfig(){return this.loadConfig().pipe((0,a.map)((t=>t[e.orderingKey])),(0,a.shareReplay)(1))}getPlayerPropsLeagueMapping(){return this.loadConfig().pipe((0,a.map)((t=>t[e.playerPropsLeagueMappingKey])),(0,a.map)((e=>e)),(0,a.shareReplay)(1))}getExpandedLeaguesConfig(){const t=this.deviceService.isMobile()?"mobile":"desktop";return this.getMainConfig().pipe((0,a.map)((n=>({homeAllPrematchSportsCollapsed:!!n.homeAllPrematchSportsCollapsed,expandedLeagues:n[e.expandedLeagues][t]}))),(0,a.catchError)((()=>(0,r.of)({}))),(0,a.shareReplay)(1))}getProfileConfig(){return this.loadConfig().pipe((0,a.map)((e=>this.profileConfigMapping(e))),(0,a.shareReplay)(1))}loadConfig(){return this.$sportsConfig||(this.$sportsConfig=this.http.get(this.sportsConfigPath).pipe((0,a.shareReplay)(1))),this.$sportsConfig}profileConfigMapping(t){return{lnGrp:t[e.lineGroupKey],oddsFormat:t[e.oddsFormatKey],oddsFormats:t[e.oddsFormatsKey]||[]}}}return e.orderingKey="sports_list",e.mainConfigKey="main_config",e.expandedLeagues="expandedLeagues",e.marketFiltersKey="market_filters",e.trendingCompetitionsKey="trending_competitions",e.lineGroupKey="ln_grp",e.oddsFormatKey="odds_format",e.oddsFormatsKey="odds_formats",e.playerPropsLeagueMappingKey="player_props_leagues_mapping",e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.HttpClient),s["ɵɵinject"](o.U))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},77558:(e,t,n)=>{"use strict";n.d(t,{o:()=>c});var i=n(64762),r=n(82846),o=n(91184),a=n(32711),s=n(57826);class c{constructor(e){this.cookieStorageService=e,this.isEnabled=!0,this.cookieName="sp_bridge_events_disabled",this.cookieStorageService&&(this.isEnabled="true"!==this.cookieStorageService.get(this.cookieName))}setEventsForSites(e){this.isEnabled?this.data=(0,a.ZN)(e):console.log("BridgeSiteEventsStore:Disabled")}}c.ɵfac=function(e){return new(e||c)(s["ɵɵinject"](r.G,8))},c.ɵprov=s["ɵɵdefineInjectable"]({token:c,factory:c.ɵfac}),(0,i.__decorate)([o.LO,(0,i.__metadata)("design:type",Array)],c.prototype,"data",void 0),(0,i.__decorate)([o.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[Array]),(0,i.__metadata)("design:returntype",void 0)],c.prototype,"setEventsForSites",null)},5693:(e,t,n)=>{"use strict";n.d(t,{H:()=>f});var i=n(64762),r=n(4309),o=n(42998),a=n(23550),s=n(35294),c=n(55640),l=n(82846),d=n(15511),u=n(65629),p=n(91184),h=n(32711),m=n(57826);class f{constructor(e,t,n,i,r){this.http=e,this.storageService=t,this.cookieStorageService=n,this.sportsConfigService=i,this.appStateStore=r,this.configProfilePath="/services/sports/profile",this.xSessionIdHeader="X-SESSION-ID",this.sessionIdKey="sessionId",this.initOddsFormat(),this.reactToLoginStateChange()}setOddsFormat(e){this.cookieStorageService.set(f.oddsFormatCookie,e.toString()),this.oddsFormat=e.toString()}getProfile(){if(!this.profile$){const e=this.cookieStorageService.get(f.lnGrpCookie),t=this.cookieStorageService.get(f.oddsFormatCookie);this.profile$=this.sportsConfigService.getProfileConfig().pipe((0,o.tap)((n=>{e&&t?(this.initOddsFormat(),this.setDefaultLineGroup(n.lnGrp)):this.setConfig(n)})),(0,o.map)((()=>!0)),(0,o.shareReplay)(1))}return this.profile$}getLineGroup(){return this.cookieStorageService.get(f.lnGrpCookie)}getDefaultLineGroup(){return this.defaultLineGroup||this.getLineGroup()}setLineGroup(e){this.cookieStorageService.set(f.lnGrpCookie,e)}saveOddsFormat(e){if(e===this.oddsFormat)return;const t=this.storageService.get(this.sessionIdKey);if(t){const n=(new a.HttpHeaders).set(this.xSessionIdHeader,t),i=`${this.configProfilePath}/${f.oddsFormatCookie}/${e.toString().toLowerCase()}`;this.http.post(i,null,{headers:n}).pipe((0,o.catchError)((()=>(0,r.of)(null)))).subscribe()}this.setOddsFormat(e)}flushCache(){this.profile$=void 0}reactToLoginStateChange(){(0,h.U5)((()=>this.appStateStore.loginState),(()=>{this.flushCache(),this.getProfile().subscribe()}))}initOddsFormat(){const e=this.cookieStorageService.get(f.oddsFormatCookie);this.oddsFormat=e||d.f.DECIMAL}setConfig(e){this.setDefaultLineGroup(e.lnGrp),this.cookieStorageService.set(f.lnGrpCookie,e.lnGrp),this.setOddsFormat(e.oddsFormat)}setDefaultLineGroup(e){this.defaultLineGroup=e}}f.oddsFormatCookie="odds_format",f.lnGrpCookie="ln_grp",f.ɵfac=function(e){return new(e||f)(m["ɵɵinject"](a.HttpClient),m["ɵɵinject"](c.z),m["ɵɵinject"](l.G),m["ɵɵinject"](u.F),m["ɵɵinject"](s.X))},f.ɵprov=m["ɵɵdefineInjectable"]({token:f,factory:f.ɵfac}),(0,i.__decorate)([p.LO,(0,i.__metadata)("design:type",String)],f.prototype,"oddsFormat",void 0),(0,i.__decorate)([p.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[d.f]),(0,i.__metadata)("design:returntype",void 0)],f.prototype,"setOddsFormat",null),(0,i.__decorate)([p.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],f.prototype,"initOddsFormat",null)},11072:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});let i=(()=>{class e{}return e.HOME="home",e.LIVE="live",e.EVENT_PATH="eventpath",e.EVENT="event",e.NEXT_RACES="nextraces",e.TRACK="track",e.RACE="race",e})()},56945:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var i=n(64762),r=n(11072),o=n(91184),a=n(57826);class s{constructor(){this.isLeaf=!1,this.pathData={},this.defaultData={isSportsPage:!1,isLivePage:!1,isEventPathPage:!1,isEventPage:!1}}get isSportsPage(){return this.pathData.isSportsPage}get isLivePage(){return this.pathData.isLivePage}get isEventPathPage(){return this.pathData.isEventPathPage}get isEventPage(){return this.pathData.isEventPage}get isHeadless(){return this.pathData.isHeadless}set isHeadless(e){this.pathData.isHeadless=e}get isHorses(){return!![r.G.NEXT_RACES,r.G.RACE,r.G.TRACK].find((e=>this.pageType===e))}getCurrentPageType(){return this.isSportsPage?r.G.HOME:this.isLivePage?r.G.LIVE:this.isEventPathPage?r.G.EVENT_PATH:this.isEventPage?r.G.EVENT:void 0}set data(e){Object.assign(this.pathData,this.defaultData,e)}}s.ɵfac=function(e){return new(e||s)},s.ɵprov=a["ɵɵdefineInjectable"]({token:s,factory:s.ɵfac,providedIn:"root"}),(0,i.__decorate)([o.LO,(0,i.__metadata)("design:type",String)],s.prototype,"id",void 0)},48755:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(81243),r=n(65629),o=n(42998),a=n(57826);let s=(()=>{class e{constructor(e,t){this.urlService=e,this.sportsConfigService=t,this.sportacusEnabledPaths=[]}isSportacusPage(){return this.initializeSportacusEnabledPaths(),this.sportacusEnabledPaths.some((e=>this.urlService.getPath().includes(e)))}initializeSportacusEnabledPaths(){this.subscription||(this.subscription=this.sportsConfigService.getMainConfig().pipe((0,o.take)(1)).pipe((0,o.filter)((e=>e))).subscribe((e=>{var t;return this.sportacusEnabledPaths=null!==(t=e.sportacusEnabledPaths)&&void 0!==t?t:[]})))}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.j),a["ɵɵinject"](r.F))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},84570:(e,t,n)=>{"use strict";n.d(t,{f:()=>o});var i=n(57826),r=n(7773);let o=(()=>{class e{static forRoot(){return{ngModule:e,providers:[r.m]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})()},7773:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});var i=n(82846);class r{constructor(){this.start=performance.now()}stop(){return Math.round(performance.now()-this.start)}}var o=n(57826);let a=(()=>{class e{constructor(e){this.cookieStorageService=e,this.isActive=!1,this.isRenderActive=!1,this.cookieName="sp_app_log",this.cookieNameRender="sp_app_log_render",this.times=new Map,this.isActive="true"===this.cookieStorageService.get(this.cookieName),this.isRenderActive="true"===this.cookieStorageService.get(this.cookieNameRender)}log(...e){this.isActive&&console.log(...e)}error(...e){this.isActive&&console.error(...e)}time(e){this.isActive&&this.times.set(e,new r)}timeEnd(e,t=!0){if(this.times.has(e)){const n=`${e} in ${this.times.get(e).stop()} ms`;return t&&this.log(n),this.times.delete(e),n}}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.G))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},70220:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});const i="horses"},23166:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var i=n(34580),r=n(57826);let o=(()=>{class e extends i.a{canActivate(e,t){return this.additionalQueryParams={owapp:!0,utm_source:"OW",utm_medium:"app"},super.canActivate(e,t)}}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},17040:(e,t,n)=>{"use strict";n.d(t,{S:()=>c});var i=n(81899),r=n(89647),o=n(64174),a=n(7773),s=n(57826);let c=(()=>{class e{constructor(e,t,n,i){this.windowService=e,this.owAppSessionService=t,this.sessionService=n,this.logService=i}resolve(){this.owAppSessionService.getUrl().subscribe((e=>{this.logService.log(`OneworksAppSessionResolver: ${e}`),this.sessionService.clearSession(),this.windowService.location().href=e}),(e=>{console.error(`OneworksAppSessionResolver: ${e}`),this.sessionService.clearSession()}))}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.u),s["ɵɵinject"](r.r),s["ɵɵinject"](o.m),s["ɵɵinject"](a.m))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},89647:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});var i=n(4309),r=n(42998),o=n(23550),a=n(57826);let s=(()=>{class e{constructor(e){this.http=e}getUrl(){return this.http.post(e.SESSION_URL,{},{withCredentials:!0}).pipe((0,r.map)((({url:e})=>e)),(0,r.catchError)((e=>(console.error(e),(0,i.empty)()))))}}return e.SESSION_URL="/services/sports/oneworks/v1/appsession",e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](o.HttpClient))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},29138:(e,t,n)=>{"use strict";n.d(t,{T:()=>i});const i="sports"},52236:(e,t,n)=>{"use strict";n.d(t,{L:()=>p});var i=n(57826),r=n(16434),o=n(32711),a=n(6856),s=n(20843);const c=function(e){return{"inline-selector":e}};function l(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"bx-dropdown",1),i["ɵɵlistener"]("change",(function(t){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().changeOddsFormat(t.value)})),i["ɵɵtext"](1,"\n"),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](7,c,e.inline))("type",e.dropdownType)("prefixIconClass",e.prefixIconClass)("options",e.oddsFormats)("arrowUpIconClass",e.arrowUpIconClass)("arrowDownIconClass",e.arrowDownIconClass)("selectedValue",e.selectedFormat)}}const d="icon-arrow-down",u="icon-arrow-up";let p=(()=>{class e{constructor(e,t){this.cd=e,this.oddsSelectorService=t,this.inline=!1,this.oddsFormats=[]}ngOnInit(){this.setOddsSelectorConfiguration(),this.reactionDisposer=(0,o.U5)((()=>this.oddsSelectorService.selectedOddFormat),(()=>this.refreshSelectedOddFormat())),this.oddsFormatsSubscription=this.oddsSelectorService.getOddsFormats().subscribe((e=>{this.oddsFormats=e,this.refreshSelectedOddFormat(),this.cd.detectChanges()}))}refreshSelectedOddFormat(){this.selectedFormat=this.oddsSelectorService.selectedOddFormat}ngOnDestroy(){this.oddsFormatsSubscription.unsubscribe(),this.reactionDisposer()}changeOddsFormat(e){this.oddsSelectorService.saveOddsFormat(e)}setOddsSelectorConfiguration(){this.inline?(this.dropdownType="small",this.prefixIconClass="",this.arrowUpIconClass=u,this.arrowDownIconClass=d):(this.dropdownType="button",this.prefixIconClass="icon icon-odds-selector",this.arrowUpIconClass=d,this.arrowDownIconClass=u)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ChangeDetectorRef),i["ɵɵdirectiveInject"](r.E))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["sp-odds-format-selector"]],inputs:{inline:"inline"},decls:2,vars:1,consts:[["showArrowIcon","false","valueProperty","value","displayProperty","label",3,"ngClass","type","prefixIconClass","options","arrowUpIconClass","arrowDownIconClass","selectedValue","change",4,"ngIf"],["showArrowIcon","false","valueProperty","value","displayProperty","label",3,"ngClass","type","prefixIconClass","options","arrowUpIconClass","arrowDownIconClass","selectedValue","change"]],template:function(e,t){1&e&&(i["ɵɵtemplate"](0,l,2,9,"bx-dropdown",0),i["ɵɵtext"](1,"\n")),2&e&&i["ɵɵproperty"]("ngIf",t.selectedFormat)},directives:[a.NgIf,s.J,a.NgClass],encapsulation:2,changeDetection:0}),e})()},30199:(e,t,n)=>{"use strict";n.d(t,{c:()=>s});var i=n(57826),r=n(70570),o=n(6856),a=n(16434);let s=(()=>{class e{static forRoot(){return{ngModule:e,providers:[a.E]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[o.CommonModule,r.k]]}),e})()},16434:(e,t,n)=>{"use strict";n.d(t,{E:()=>h});var i=n(64762),r=n(4309),o=n(42998),a=n(12596),s=n(65629),c=n(5693),l=n(35294),d=n(32711),u=n(91184),p=n(57826);class h{constructor(e,t,n,i){this.appStateStore=e,this.translateService=t,this.profileService=n,this.sportsConfigService=i,this.loginState$=new r.BehaviorSubject(!1),this.reactToLoginStateChange()}getOddsFormats(){if(!this.oddsFormats$){const e=this.sportsConfigService.getProfileConfig(),t=this.translateService.loadTranslations(h.translationCategory).pipe((0,o.filter)((e=>Object.keys(e).length>0)));this.oddsFormats$=(0,r.combineLatest)(e,t,this.loginState$.asObservable()).pipe((0,o.map)((([e,t])=>this.oddsFormatsMapping(e,t))),(0,o.shareReplay)(1))}return this.oddsFormats$}get selectedOddFormat(){return this.profileService.oddsFormat}saveOddsFormat(e){this.profileService.saveOddsFormat(e)}reactToLoginStateChange(){(0,d.U5)((()=>this.appStateStore.loginState),(e=>this.loginState$.next(e)))}oddsFormatsMapping(e,t){return e.oddsFormats.map((e=>{const n=`${h.translationCategory}.${e.toLowerCase()}`;return{value:e,label:t[n]}}))}}h.translationCategory="spOddsFormats",h.ɵfac=function(e){return new(e||h)(p["ɵɵinject"](l.X),p["ɵɵinject"](a.s),p["ɵɵinject"](c.H),p["ɵɵinject"](s.F))},h.ɵprov=p["ɵɵdefineInjectable"]({token:h,factory:h.ɵfac}),(0,i.__decorate)([u.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],h.prototype,"selectedOddFormat",null)},77247:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(57826);const r=new i.InjectionToken("REQUEST");new i.InjectionToken("RESPONSE")},1459:(e,t,n)=>{"use strict";n(35697),n(44049);var i=n(4309),r=n(42998),o=function(){function e(e){this._message="Invalid key: "+e}return e.prototype.toString=function(){return this._message},e}(),a=function(){function e(e){void 0===e&&(e=null),this._subscriptionMap=new Map,this._subscriptionList=[],this._preSubscriptionList=[],this._preSubscriptionMap=new Map,this._tryRegisterNgOnDestroyHook(e)}return e.prototype.collect=function(){var e=this;return this._trackSubscription({isPreSubscriptionInProgress:function(t){var n=t.preSubscription;return e._preSubscriptionList.includes(n)},onPreSubscription:function(t){var n=t.preSubscription;return e._preSubscriptionList.push(n)},onSubscription:function(t){var n=t.preSubscription,i=t.subscription;e._subscriptionList.push(i),e._preSubscriptionList=e._preSubscriptionList.filter((function(e){return e!==n}))}})},e.prototype.collectByKey=function(e){var t=this;if("string"!=typeof e||""===e)throw new o(e);return this._trackSubscription({isPreSubscriptionInProgress:function(n){var i=n.preSubscription;return t._preSubscriptionMap.get(e)===i},onPreSubscription:function(n){var i=n.preSubscription;return t._preSubscriptionMap.set(e,i)},onSubscription:function(n){n.preSubscription;var i=n.subscription,r=t._subscriptionMap.get(e);null!=r&&r.unsubscribe(),t._subscriptionMap.set(e,i),t._preSubscriptionMap.delete(e)}})},e.prototype.unsubscribe=function(){this._subscriptionList.concat(Array.from(this._subscriptionMap.values())).forEach((function(e){return e.unsubscribe()})),this._preSubscriptionList=[],this._subscriptionList=[],this._subscriptionMap.clear()},e.prototype._tryRegisterNgOnDestroyHook=function(e){var t=e;if(null!=t){var n=t.__proto__;if(t.ɵscavenger=this,!n.ɵscavengerWasHere){var i=function(e){return function(){this.ɵscavenger.unsubscribe(),e&&e.bind(this)()}},r=e.constructor["ɵcmp"];null!=r?r.onDestroy=i(r.onDestroy):n.ngOnDestroy=i(n.ngOnDestroy),n.ɵscavengerWasHere=!0}}},e.prototype._trackSubscription=function(e){var t=e.isPreSubscriptionInProgress,n=e.onPreSubscription,o=e.onSubscription;return function(e){return new i.Observable((function(i){var a=i;n({preSubscription:a});var s=e.pipe(r.takeWhile((function(){return null!=s||t({preSubscription:a})}))).subscribe(i);return o({preSubscription:a,subscription:s}),s}))}},e}();t.u8=a},88856:(e,t,n)=>{"use strict";var i=n(57826),r=n(40475),o=n(15982),a=n(42775),s=n(57826);t.wR={provide:r.NG_VALUE_ACCESSOR,useExisting:i.forwardRef((function(){return c})),multi:!0};var c=function(){function e(e,t,n){var i;this._renderer=e,this._elementRef=t,this._compositionMode=n,this.textMaskConfig={mask:[],guide:!0,placeholderChar:"_",pipe:void 0,keepCharPositions:!1},this.onChange=function(e){},this.onTouched=function(){},this._composing=!1,null==this._compositionMode&&(this._compositionMode=(i=o.ɵgetDOM()?o.ɵgetDOM().getUserAgent():"",!/android (\d+)/.test(i.toLowerCase())))}return e.prototype.ngOnChanges=function(e){this._setupMask(!0),void 0!==this.textMaskInputElement&&this.textMaskInputElement.update(this.inputElement.value)},e.prototype.writeValue=function(e){this._setupMask();var t=null==e?"":e;this._renderer.setProperty(this.inputElement,"value",t),void 0!==this.textMaskInputElement&&this.textMaskInputElement.update(e)},e.prototype.registerOnChange=function(e){this.onChange=e},e.prototype.registerOnTouched=function(e){this.onTouched=e},e.prototype.setDisabledState=function(e){this._renderer.setProperty(this._elementRef.nativeElement,"disabled",e)},e.prototype._handleInput=function(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&(this._setupMask(),void 0!==this.textMaskInputElement&&(this.textMaskInputElement.update(e),e=this.inputElement.value,this.onChange(e)))},e.prototype._setupMask=function(e){void 0===e&&(e=!1),this.inputElement||("INPUT"===this._elementRef.nativeElement.tagName.toUpperCase()?this.inputElement=this._elementRef.nativeElement:this.inputElement=this._elementRef.nativeElement.getElementsByTagName("INPUT")[0]),this.inputElement&&e&&(this.textMaskInputElement=a.createTextMaskInputElement(Object.assign({inputElement:this.inputElement},this.textMaskConfig)))},e.prototype._compositionStart=function(){this._composing=!0},e.prototype._compositionEnd=function(e){this._composing=!1,this._compositionMode&&this._handleInput(e)},e.ctorParameters=function(){return[{type:i.Renderer2},{type:i.ElementRef},{type:void 0,decorators:[{type:i.Optional},{type:i.Inject,args:[r.COMPOSITION_BUFFER_MODE]}]}]},e.propDecorators={textMaskConfig:[{type:i.Input,args:["textMask"]}]},e.ɵfac=function(t){return new(t||e)(s.ɵɵdirectiveInject(s.Renderer2),s.ɵɵdirectiveInject(s.ElementRef),s.ɵɵdirectiveInject(r.COMPOSITION_BUFFER_MODE,8))},e.ɵdir=s.ɵɵdefineDirective({type:e,selectors:[["","textMask",""]],hostBindings:function(e,t){1&e&&s.ɵɵlistener("input",(function(e){return t._handleInput(e.target.value)}))("blur",(function(){return t.onTouched()}))("compositionstart",(function(){return t._compositionStart()}))("compositionend",(function(e){return t._compositionEnd(e.target.value)}))},inputs:{textMaskConfig:["textMask","textMaskConfig"]},exportAs:["textMask"],features:[s.ɵɵProvidersFeature([t.wR]),s.ɵɵNgOnChangesFeature]}),"undefined"==typeof ngDevMode||ngDevMode,e}();t.hd=c;var l=function(){function e(){}return e.ctorParameters=function(){return[]},e.ɵfac=function(t){return new(t||e)},e.ɵmod=s.ɵɵdefineNgModule({type:e}),e.ɵinj=s.ɵɵdefineInjector({}),"undefined"==typeof ngDevMode||ngDevMode,("undefined"==typeof ngJitMode||ngJitMode)&&s.ɵɵsetNgModuleScope(e,{declarations:[c],exports:[c]}),e}();t.QA=l,n(42775).conformToMask},93883:(e,t,n)=>{"use strict";n.d(t,{AS:()=>s,Lq:()=>h,PP:()=>a,Rc:()=>p,db:()=>c,eA:()=>i,ht:()=>l,kU:()=>r,mU:()=>o,sc:()=>d,tx:()=>u});const i="site.config.affiliate.check-referring-site.enabled",r="/become-an-affiliate",o="referring-site-domain",a="referring-site-name",s="affiliates",c="refSiteToken",l="myafftoken",d="extcmpid",u="affid",p="ref",h="lang"},95539:(e,t,n)=>{"use strict";n.d(t,{G:()=>c,U:()=>s});var i=n(86594),r=n(57826),o=n(6856);const a=["*"],s="aff-link";let c=(()=>{class e{constructor(e){this.linkProcessor=e}set originalLinkTarget(e){this.processedLinkTarget$=this.linkProcessor.process(e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](i.J))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["aff-link"]],inputs:{originalLinkTarget:["href","originalLinkTarget"]},ngContentSelectors:a,decls:7,vars:3,template:function(e,t){1&e&&(r["ɵɵprojectionDef"](),r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"a"),r["ɵɵpipe"](2,"async"),r["ɵɵtext"](3,"\n            "),r["ɵɵprojection"](4),r["ɵɵtext"](5,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵattribute"]("href",r["ɵɵpipeBind1"](2,1,t.processedLinkTarget$),r["ɵɵsanitizeUrl"]))},pipes:[o.AsyncPipe],encapsulation:2}),e})()},86594:(e,t,n)=>{"use strict";n.d(t,{J:()=>u});var i=n(6856),r=n(57826),o=n(55640),a=n(48108),s=n(45965),c=n(42998),l=n(93883),d=n(92116);let u=(()=>{class e{constructor(e,t,n,i){this.browserStorageService=e,this.siteConfigService=t,this.languageService=n,this.platformId=i}process(t){let n=new URL(t);const r=(this.siteConfigService.getSiteConfigProp(l.AS)||{})[l.db];if(e.addQueryParam(n,l.Rc,r),(0,i.isPlatformBrowser)(this.platformId)){const t=this.browserStorageService.get(d.EI);e.addQueryParam(n,l.ht,t)}return this.languageService.getLanguage().pipe((0,c.map)((t=>(e.addQueryParam(n,l.Lq,t),n.toString()))))}static addQueryParam(e,t,n){n&&e.searchParams.set(t,n)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](o.z),r["ɵɵinject"](s.r),r["ɵɵinject"](a.T),r["ɵɵinject"](r.PLATFORM_ID))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},99860:(e,t,n)=>{"use strict";n.d(t,{G:()=>m});var i=n(6856),r=n(73753),o=n(46333),a=n(79346),s=n(50536),c=n(13192),l=n(5711),d=n(45335),u=n(86594),p=n(95539),h=n(57826);let m=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=h["ɵɵdefineNgModule"]({type:e,bootstrap:[p.G]}),e.ɵinj=h["ɵɵdefineInjector"]({providers:[c.Cw,l.a,d.X,u.J],imports:[[i.CommonModule,r.RouterModule,o.d,a.C,s.j]]}),e})()},45335:(e,t,n)=>{"use strict";n.d(t,{X:()=>d});var i=n(73753),r=n(82846),o=n(45965),a=n(42998),s=n(93883),c=n(13192),l=n(57826);let d=(()=>{class e{constructor(e,t,n,i){this.affiliateService=e,this.router=t,this.siteConfig=n,this.cookieStorageService=i}canActivate(e,t){if(this.affiliateService.processAffiliateTokenAndRedirection(),this.siteConfig.evalFeature(s.eA)){if(e.queryParams&&e.queryParams.ref)return this.affiliateService.getBrandInfoFromToken().pipe((0,a.map)((e=>0!==Object.keys(e).length||this.navigateToInvalidReferringToken())));if(!this.cookieStorageService.get(s.PP)||!this.cookieStorageService.get(s.mU))return this.navigateToInvalidReferringToken()}return!0}navigateToInvalidReferringToken(){return this.router.navigateByUrl(s.kU),!1}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](c.Cw),l["ɵɵinject"](i.Router),l["ɵɵinject"](o.r),l["ɵɵinject"](r.G))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},5711:(e,t,n)=>{"use strict";n.d(t,{a:()=>a}),n(73753);var i=n(4309),r=n(13192),o=n(57826);let a=(()=>{class e{constructor(e){this.affiliateService=e}resolve(e,t){let n=this.affiliateService.processAffiliateTokenAndRedirection();return(0,i.of)(n)}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](r.Cw))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},13192:(e,t,n)=>{"use strict";n.d(t,{Cw:()=>S});var i=n(42998),r=n(6856),o=n(23550),a=n(57826),s=n(55640),c=n(82846),l=n(81899),d=n(45965),u=n(4309),p=n(93883),h=n(92116);const m="utm_source",f="utm_medium",g="utm_campaign",v="utm_term",b="utm_content",y="utm_brand";class S{constructor(e,t,n,i,r,o){this.browserStorageService=e,this.windowService=t,this.cookieStorageService=n,this.http=i,this.siteConfigService=r,this.platformId=o}processAffiliateTokenAndRedirection(){let e,t,n=new Map;if((0,r.isPlatformBrowser)(this.platformId)){const i=new URLSearchParams(this.windowService.location().search);if(e=i.get(p.ht)||i.get(h.Rv),t=i.get(p.tx),n.set(m,i.get(m)),n.set(f,i.get(f)),n.set(g,i.get(g)),n.set(v,i.get(v)),n.set(b,i.get(b)),n.set(y,i.get(y)),e){let t=i.get(p.sc);this.storeSharingMethod(t),this.storeAffiliateToken(e)}t&&this.storeAffiliateId(t),this.storeUtmValues(n)}return null!=e}getBrandInfoFromToken(){const e=this.getUrlSearchParams().get(p.Rc);return e?this.handleBackendResponse(this.brandInfoRequest(e)):(0,u.of)({})}removeAffiliateReferringCookies(){this.siteConfigService.evalFeature(p.eA)&&(this.cookieStorageService.remove(p.mU),this.cookieStorageService.remove(p.PP))}getUrlSearchParams(){return(0,r.isPlatformBrowser)(this.platformId)?new URLSearchParams(this.windowService.location().search):new URLSearchParams}brandInfoRequest(e){let t,n=(0,r.isPlatformBrowser)(this.platformId)?this.windowService.document().referrer:"";return n&&(t=new o.HttpHeaders({"X-REFERRER":n})),this.http.get(this.buildGetBrandInfoUrl(e),{withCredentials:!0,headers:t})}handleBackendResponse(e){return e.pipe((0,i.catchError)((e=>(0,u.of)({}))))}buildGetBrandInfoUrl(e){return S.GET_BRAND_INFO_URL+e}storeAffiliateToken(e){this.browserStorageService.set(h.EI,e),this.browserStorageService.set(h.zc,String(Date.now()))}storeSharingMethod(e){e?this.browserStorageService.set(h.jj,e):this.browserStorageService.remove(h.jj)}storeAffiliateId(e){this.browserStorageService.set(h.F$,e),this.browserStorageService.set(h.HM,h.as),this.cookieStorageService.set(p.tx,e,"/",void 0,!1,40)}storeUtmValues(e){e.forEach(((e,t)=>{e&&this.browserStorageService.setWithExpiration(t,e,40)}))}}S.BASE_URL="/services/affiliate/v1",S.GET_BRAND_INFO_URL=`${S.BASE_URL}/token/`,S.ɵfac=function(e){return new(e||S)(a["ɵɵinject"](s.z),a["ɵɵinject"](l.u),a["ɵɵinject"](c.G),a["ɵɵinject"](o.HttpClient),a["ɵɵinject"](d.r),a["ɵɵinject"](a.PLATFORM_ID))},S.ɵprov=a["ɵɵdefineInjectable"]({token:S,factory:S.ɵfac})},92116:(e,t,n)=>{"use strict";n.d(t,{AB:()=>p,EI:()=>o,F$:()=>d,HM:()=>s,Rv:()=>u,as:()=>i,g3:()=>r,jj:()=>c,ln:()=>l,wF:()=>h,zc:()=>a});const i="AFFILIATE",r="PROFILE",o="REFERRAL_AFFILIATE",a="REFERRAL_AFFILIATE_TIMESTAMP",s="REFERRAL_AFFILIATE_TYPE",c="SHARING_METHOD",l="WORD_OF_MOUTH",d="AFFILIATE_ID",u="referral",p="site.config.raf.enabled",h="404"},63800:(e,t,n)=>{"use strict";n.d(t,{y:()=>c});var i=n(50536),r=n(17443),o=n(79346),a=n(94224),s=n(57826);let c=(()=>{class e{static forRoot(){return{ngModule:e,providers:[a.G]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({imports:[[i.j,r.S,o.C]]}),e})()},94224:(e,t,n)=>{"use strict";n.d(t,{G:()=>d});var i=n(23550),r=n(48108),o=n(45965),a=n(92947),s=n(4309),c=n(42998),l=n(57826);let d=(()=>{class e{constructor(e,t,n,i){this.http=e,this.languageService=t,this.profileService=n,this.siteConfigService=i,this.cashierCustomMessages=new s.ReplaySubject(1)}loadCashierCustomMessages(){(0,s.forkJoin)([this.languageService.getLanguage().pipe((0,c.first)()),this.profileService.getProfileDetailsPlayer().pipe((0,c.first)())]).subscribe((([e,t])=>{this.http.get("/services/routing/config/messages",this.options(e,t)).subscribe((e=>{this.cashierCustomMessages.next(e)}),(()=>{this.cashierCustomMessages.next([])}),(()=>{this.cashierCustomMessages.complete()}))}))}getCashierCustomMessages(){return this.cashierCustomMessages}options(e,t){let n=this.getUrlPrefix();return{params:{...n&&{context:n},language:e,region:this.composeRegion(t.address),brand:this.getBrandCode(t.brandCode)},withCredentials:!0}}composeRegion(e){return e.subdivision?e.countryCode+" "+e.subdivision:e.countryCode}getBrandCode(e){return e||this.siteConfigService.getSiteConfigProp("brandCode")}getUrlPrefix(){return this.siteConfigService.getSiteConfigProp("urlPrefix")}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](i.HttpClient),l["ɵɵinject"](r.T),l["ɵɵinject"](a.H),l["ɵɵinject"](o.r))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},4363:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.messageOverlay=!1,this.forceUpdate=!1,this.additionalClasses=[],this.headerLevel2=!0,this.forceShowCloseButton=!1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},16339:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});const i="password-reset-request"},39597:(e,t,n)=>{"use strict";n.d(t,{e:()=>s,i:()=>c});var i=n(23550),r=n(42998),o=n(4309),a=n(57826);let s=(()=>{class e{constructor(e){this.http=e,this.activationEvent$=new o.Subject}activateAccount(t){if(!t.registrationToken){const e=new i.HttpErrorResponse({error:"Bad Request: Registration token is missing.",status:400,statusText:"Bad Request"});return(0,o.throwError)(e)}return this.http.post(e.signUpActivateUrl,t).pipe((0,r.catchError)((e=>(0,o.throwError)(e))))}getActivateAccountEvent(){return this.activationEvent$}publishActivateAccountEvent(e){this.activationEvent$.next(e)}publishRegistrationToken(e){this.registrationToken=e}getRegistrationToken(){return this.registrationToken}}return e.signUpActivateUrl="/services/signup-service/v1/invitation/signup",e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.HttpClient))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();class c{constructor(e){this.sessionId=e}}},73475:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.messageOverlay=!1,this.joinNowStyleClass="",this.headerLevel2=!0}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},71063:(e,t,n)=>{"use strict";n.d(t,{r6:()=>h});var i=n(82846),r=n(45965),o=n(4309),a=n(42998),s=n(66900),c=n(23550),l=n(57826);let d=(()=>{class e{constructor(e){this.httpClient=e}post(e,t,n,i){return this.httpClient.post(e,t,{headers:n}).pipe((0,a.catchError)((r=>{const a=r.error;if(401===r.status&&("mfa_required:SMS"===a.errorCode||"mfa_required:PIN_CODE"===a.errorCode)){let r=a.errorCode.split(":")[1];return n.get("X-CAPTCHA-TOKEN")&&(n=new c.HttpHeaders),n=n.append("X-CAPTCHA-ENFORCEMENT-OPERATION",i).append("X-CAPTCHA-ENFORCEMENT-METHOD",r),delete t.captchaToken,this.performCaptchaRequest(e,t,n)}return(0,o.throwError)(r)})))}performCaptchaRequest(e,t,n){return this.httpClient.post(e,t,{headers:n})}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](c.HttpClient))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();class u{}class p{}let h=(()=>{class e{constructor(e,t,n,i){this.captchaHttpService=e,this.cookieService=t,this.prepopulateService=n,this.siteConfigService=i,this.requiredActionFullfilled$=new o.Subject,this.loginEvent=new o.Subject,this.joinedEvent=new o.Subject}login(t,n,i,r){if(!this.loginRequest){const s=i?`${e.loginUrl}/${i}`:e.loginUrl,l=n?new c.HttpHeaders({"X-CAPTCHA-TOKEN":n}):void 0;this.loginRequest=this.captchaHttpService.post(s,t,l,"login").pipe((0,a.map)((e=>{if(this.loginRequest=null,i&&this.requiredActionFullfilled$.next(),this.prepopulateService.isActive){const{rememberMe:e}=t;!0===e?this.prepopulateService.setPokerBridgeCredentials({username:t.username,password:t.password}):!1===e&&this.prepopulateService.clearPokerBridgeCredentials()}return this.onLoginSetCookies(e,r)})),(0,a.catchError)((e=>(this.loginRequest=null,(0,o.throwError)(e)))),(0,a.share)())}return this.loginRequest}onLoginSetCookies(e,t){return e.loginFromDifferentCountry&&!t&&this.cookieService.set("Country",e.userCountry),this.cookieService.get("JOINED")||this.cookieService.set("JOINED","true"),this.cookieService.get("url-prefix")||this.cookieService.set("url-prefix","/"+this.siteConfigService.getSiteConfigProp("urlPrefix")),this.createHashCookieAudiences(e.externalAttributes),this.sendJoinedEvent(),this.addSportsCookies(e.externalAttributes),e}createHashCookieAudiences(e){e&&e.audiencesHash&&this.cookieService.set("audiences",e.audiencesHash)}getRequiredActionFulfilled(){return this.requiredActionFullfilled$}addSportsCookies(t){Object.keys(t||{}).forEach((n=>{if(n.startsWith(e.sportsCookiePrefix)){const i=n.replace(e.sportsCookiePrefix+".","");this.cookieService.set(i,t[n])}}))}sendLoginEvent(){this.loginEvent.next(new u)}sendJoinedEvent(){this.joinedEvent.next(new p)}loadLoginFormModel(){return(0,o.of)({id:"login",modelType:"formgroup",elements:{username:{id:"username",modelType:"input",type:"email",focused:!0,validators:{required:null,maxLength:100}},password:{id:"password",modelType:"input",type:"password",validators:{required:null,maxLength:64}}}})}}return e.loginUrl="/services/login-service/v1/login",e.sportsCookiePrefix="sports.cookie",e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](d),l["ɵɵinject"](i.G),l["ɵɵinject"](s.d),l["ɵɵinject"](r.r))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},76460:(e,t,n)=>{"use strict";n.d(t,{y:()=>c});var i=n(71063),r=n(66900),o=n(43431),a=n(53609),s=n(57826);let c=(()=>{class e{static forRoot(){return{ngModule:e,providers:[i.r6,r.d,o.u,a.D]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({}),e})()},66900:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var i=n(57826),r=n(6856),o=n(81899);let a=(()=>{class e{constructor(e,t){this.windowService=e,this.platformId=t,this.setPokerBridgeCredentials=e=>{this.isActive&&this.wnd.pokerCredentialsManager.setCredentials(e.username,e.password)},this.getPokerBridgeCredentials=()=>this.isActive?this.wnd.pokerCredentialsManager.getCredentials():void 0,this.clearPokerBridgeCredentials=()=>{this.isActive&&this.wnd.pokerCredentialsManager.clearCredentials()}}get wnd(){return(0,r.isPlatformBrowser)(this.platformId)?this.windowService.window():void 0}get isActive(){return!(!this.wnd||!this.wnd.pokerCredentialsManager)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](o.u),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},58892:(e,t,n)=>{"use strict";n.d(t,{I:()=>a});var i=n(37424),r=n(42974),o=n(57826);let a=(()=>{class e{static forRoot(){return{ngModule:e,providers:[i.P]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({imports:[[r.n]]}),e})()},37424:(e,t,n)=>{"use strict";n.d(t,{P:()=>u});var i=n(23550),r=n(64174),o=n(82846),a=n(24144),s=n(4309),c=n(42998),l=n(57826);class d{constructor(){this.sessionExpired=!1}}let u=(()=>{class e{constructor(e,t,n,i){this.http=e,this.sessionService=t,this.cookieService=n,this.reactiveChatService=i,this.logoutUrl="/api/v1/logout",this.logoutEvent=new s.Subject}logout(e){return this.removeAudienceCookie(),this.reactiveChatService.closeChat(),this.sessionService.isAuthenticated()?e?(this.sessionService.clearSession(),this.logoutEvent.next({sessionExpired:!0}),s.EMPTY):this.http.post(this.logoutUrl,{},{withCredentials:!0}).pipe((0,c.map)((e=>{this.sessionService.clearSession(),this.logoutEvent.next(new d)}))):s.EMPTY}removeAudienceCookie(){this.cookieService.get("audiences")&&this.cookieService.remove("audiences")}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](i.HttpClient),l["ɵɵinject"](r.m),l["ɵɵinject"](o.G),l["ɵɵinject"](a.R))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},56159:(e,t,n)=>{"use strict";n.d(t,{Ix:()=>i.I,PO:()=>r.P});var i=n(58892),r=n(37424)},2470:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var i=n(95556),r=n(23550),o=n(4309),a=n(57826);let s=(()=>{class e{constructor(e,t){this.http=e,this.sessionService=t,this.paymentProfileInfoSubject=new o.ReplaySubject(1)}loadPaymentProfileInfo(){const e="/services/payment/profiles/"+this.sessionService.session+"/info";this.http.get(e,{withCredentials:!0}).subscribe((e=>{this.paymentProfileInfoSubject.next(e)}),(e=>{this.paymentProfileInfoSubject.error(e)}),(()=>{this.paymentProfileInfoSubject.complete()}))}getPaymentProfileInfo(){return this.paymentProfileInfoSubject.asObservable()}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](r.HttpClient),a["ɵɵinject"](i.mj))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},46268:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});const i="phone-number-reset-request"},89986:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var i=n(47913),r=n(57826);let o=(()=>{class e extends i.M{}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},47913:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.headerLevel2=!0}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},33098:(e,t,n)=>{"use strict";n.d(t,{S:()=>i,d:()=>r});const i="pin-code-reset-request",r="reset-pin/:token"},36211:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var i=n(47913),r=n(57826);let o=(()=>{class e extends i.M{}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},14089:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.messageOverlay=!1,this.hideNotificationIfNoError=!1,this.additionalClasses=[]}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},7114:(e,t,n)=>{"use strict";n.d(t,{T:()=>o});var i=n(45965),r=n(57826);let o=(()=>{class e{constructor(e){this.siteConfigService=e}canActivate(){return!!this.siteConfigService.getSiteConfigProp("twoFactorAuthenticatorEnabled")}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.r))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},84115:(e,t,n)=>{"use strict";n.d(t,{q:()=>d});var i=n(43431),r=n(55640),o=n(82846),a=n(4309),s=n(42998),c=n(84042),l=n(57826);let d=(()=>{class e{constructor(e,t,n,i){this.cookieStorageService=e,this.audienceService=t,this.cmsFeatureFlagService=n,this.browserStorageService=i,this.POLLING_TIME=36e5,this.EXPIRATION_OFFSET=5e3,this.AUDIENCES_COOKIE="audiences",this.STORED_AUDIENCES_HASH_KEY="audiencesHash"}initPoll(e){const t=this.existingHashAudienceDidNotExpire();t&&(0,a.timer)(t.expiration).pipe((0,s.takeWhile)((()=>this.cmsFeatureFlagService.isFeatureEnabled(i.u.MARKETING_AUDIENCES))),(0,s.flatMap)((()=>this.getHashObservable(e)))).subscribe((e=>this.updateHashCookieAudiences(e))),this.hashPollingSubscription&&!this.hashPollingSubscription.closed||(this.hashPollingSubscription=(0,a.interval)(this.POLLING_TIME).pipe((0,s.startWith)(0),(0,s.takeWhile)((()=>this.cmsFeatureFlagService.isFeatureEnabled(i.u.MARKETING_AUDIENCES))),(0,s.flatMap)((()=>this.getHashObservable(e)))).subscribe((e=>this.updateHashCookieAudiences(e))))}getHashObservable(e){const t=this.getLastHashStored();return!t||this.isHashExpired(t)?this.getNewHash(e):(0,a.of)(t.hash)}existingHashAudienceDidNotExpire(){const e=this.getLastHashStored();return e&&!this.isHashExpired(e)?e:void 0}endPoll(){this.hashPollingSubscription&&this.hashPollingSubscription.unsubscribe(),this.removeCookieValue()}setLastHashStored(e){const t={expiration:Date.now()+this.POLLING_TIME-this.EXPIRATION_OFFSET,hash:e};this.browserStorageService.set(this.STORED_AUDIENCES_HASH_KEY,JSON.stringify(t))}getLastHashStored(){const e=this.browserStorageService.get(this.STORED_AUDIENCES_HASH_KEY);return e?JSON.parse(e):void 0}getNewHash(e){return this.audienceService.getHash(e).pipe((0,s.tap)((e=>this.setLastHashStored(e))))}isHashExpired(e){return e.expiration<Date.now()}updateHashCookieAudiences(e){e?this.cookieStorageService.get(this.AUDIENCES_COOKIE)!=e&&this.setCookieValue(e):this.removeCookieValue()}setCookieValue(e){this.cookieStorageService.set(this.AUDIENCES_COOKIE,e)}removeCookieValue(){this.cookieStorageService.get(this.AUDIENCES_COOKIE)&&this.cookieStorageService.remove(this.AUDIENCES_COOKIE)}}return e.FILTER_PARAM="filter",e.AUDIENCE_IDS_PARAM="audienceIds",e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](o.G),l["ɵɵinject"](c.S),l["ɵɵinject"](i.u),l["ɵɵinject"](r.z))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},84042:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var i=n(23550),r=n(4309),o=n(42998),a=n(57826);let s=(()=>{class e{constructor(e){this.http=e}getHash(t){return this.http.get(`/services/audience-resolver/v1/profiles/${t}/hash`).pipe((0,o.map)((t=>t.audiencesHash?t.audiencesHash:e.EMPTY_VALUE)),(0,o.catchError)((()=>(0,r.of)(e.EMPTY_VALUE))))}}return e.EMPTY_VALUE="",e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.HttpClient))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},57156:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});class i{constructor(e,t,n){this.templateRef=e,this.viewContainer=t,this.sessionService=n,this.hasView=!1}setVisible(e){e&&!this.hasView?(this.viewContainer.createEmbeddedView(this.templateRef),this.hasView=!0):!e&&this.hasView&&(this.viewContainer.clear(),this.hasView=!1)}onInit(){this.sessionSubscription=this.sessionService.sessionObserver.subscribe((e=>this.onSessionChanged(e)))}onDestroy(){this.sessionSubscription&&this.sessionSubscription.unsubscribe()}}},42974:(e,t,n)=>{"use strict";n.d(t,{n:()=>u});var i=n(6856),r=n(46333),o=n(56614),a=n(64174),s=n(84042),c=n(84115),l=n(29967),d=n(57826);let u=(()=>{class e{static forRoot(){return{ngModule:e,providers:[a.m,s.S,c.q]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=d["ɵɵdefineNgModule"]({type:e}),e.ɵinj=d["ɵɵdefineInjector"]({imports:[[i.CommonModule,r.d,l.j,o.F]]}),e})()},96532:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var i=n(57826),r=n(57156),o=n(64174);let a=(()=>{class e extends r.x{constructor(e,t,n){super(e,t,n)}ngOnInit(){super.onInit()}ngOnDestroy(){super.onDestroy()}onSessionChanged(e){this.setVisible(!e.isAuthenticated)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.TemplateRef),i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](o.m))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxHideAuth",""]],features:[i["ɵɵInheritDefinitionFeature"]]}),e})()},64174:(e,t,n)=>{"use strict";n.d(t,{m:()=>m});var i=n(6856),r=n(57826),o=n(55640),a=n(82846),s=n(49379),c=n(36957),l=n(81899),d=n(35294),u=n(4309),p=n(84115);class h{constructor(e){this.isAuthenticated=e}}let m=(()=>{class e{constructor(t,n,r,o,a,s,c,l){this.platformId=t,this.storageService=n,this.routesToolsService=r,this.cookieStorageService=o,this.win=a,this.store=s,this.hostnameService=c,this.audiencePollingService=l,this.obtainParentDomain=()=>{let e=this.hostnameService.hostname;return e=e.substr(e.indexOf(".")+1),e.substr(e.indexOf(".")+1)},this.unauthorizedEvent=new u.Subject,this.sessionObserver=new u.BehaviorSubject(new h(this.isAuthenticated())),this.sessionObserver.subscribe((n=>{if(n.isAuthenticated&&(0,i.isPlatformBrowser)(t)&&this.audiencePollingService.initPoll(this.session),(0,i.isPlatformBrowser)(this.platformId)){this.store.setLoginState(n.isAuthenticated);const t=this.win&&"function"==typeof this.win.location?this.win.location().search:"",i=this.routesToolsService.getUrlQueryParam(t,e.ORIGIN_URL_KEY);n.isAuthenticated&&i&&this.redirectToURL(i)}}))}set session(t){t!=this.session&&(this.storageService.set(e.SESSIONID_KEY,t),this.cookieStorageService.set(e.SESSIONID_COOKIE,t,"/",void 0,!0),this.sessionObserver.next(new h(!0)))}get session(){return this.cookieStorageService.get(e.SESSIONID_COOKIE)||this.storageService.get(e.SESSIONID_KEY)}isAuthenticated(){return!!this.session}clearSession(){this.isAuthenticated()&&(this.storageService.remove(e.SESSIONID_KEY),this.storageService.remove(e.CUSTOMERID_KEY),this.cookieStorageService.remove(e.SESSIONID_COOKIE,"/"),this.cookieStorageService.remove(e.SESSIONID_COOKIE,"/",this.obtainParentDomain()),this.sessionObserver.next(new h(!1)),this.audiencePollingService.endPoll())}redirectToURL(e){this.win.location().href=e}}return e.SESSIONID_KEY="sessionId",e.CUSTOMERID_KEY="customerId",e.SESSIONID_COOKIE="sid",e.ORIGIN_URL_KEY="originURL",e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](r.PLATFORM_ID),r["ɵɵinject"](o.z),r["ɵɵinject"](c.T),r["ɵɵinject"](a.G),r["ɵɵinject"](l.u),r["ɵɵinject"](d.X),r["ɵɵinject"](s.M),r["ɵɵinject"](p.q))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},86655:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var i=n(57826),r=n(57156),o=n(64174);let a=(()=>{class e extends r.x{constructor(e,t,n){super(e,t,n)}ngOnInit(){super.onInit()}ngOnDestroy(){super.onDestroy()}onSessionChanged(e){this.setVisible(e.isAuthenticated)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.TemplateRef),i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](o.m))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxShowAuth",""]],features:[i["ɵɵInheritDefinitionFeature"]]}),e})()},58132:(e,t,n)=>{"use strict";n.d(t,{Y:()=>s});var i=n(6856),r=(n(23550),n(57826)),o=n(4309),a=n(64174);let s=(()=>{class e{constructor(e,t){this.sessionService=e,this.platformId=t}intercept(t,n){if((0,i.isPlatformBrowser)(this.platformId)&&-1!==t.url.indexOf(e.SESSION_ID_PLACEHOLDER)){if(!this.sessionService.isAuthenticated())return(0,o.empty)();let n=t.url.replace(e.SESSION_ID_PLACEHOLDER,this.sessionService.session);t=t.clone({url:n})}return n.handle(t)}}return e.SESSION_ID_PLACEHOLDER="<sessionId>",e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](a.m),r["ɵɵinject"](r.PLATFORM_ID))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},95556:(e,t,n)=>{"use strict";n.d(t,{mj:()=>r.m,ny:()=>i.n}),n(86655),n(96532);var i=n(42974),r=n(64174)},45455:(e,t,n)=>{"use strict";n.d(t,{LN:()=>o,Yu:()=>s,h0:()=>a});var i=n(81731),r=n(57826);let o=(()=>{class e{static getLoyaltyFlags(){return[e.FIXED_TIER_POINTS,e.FIXED_REWARD_POINTS,e.BASED_ON_DEPOSIT_TIER_POINTS,e.BASED_ON_DEPOSIT_REWARD_POINTS]}}return e.FIXED_AMOUNT_FUNDS="FIXED_AMOUNT_FUNDS",e.PERCENTAGE_AMOUNT_FUNDS="PERCENTAGE_AMOUNT_FUNDS",e.CASH_FUNDS="CASH_FUNDS",e.FIXED_TIER_POINTS="FIXED_TIER_POINTS",e.FIXED_REWARD_POINTS="FIXED_REWARD_POINTS",e.BASED_ON_DEPOSIT_TIER_POINTS="BASED_ON_DEPOSIT_TIER_POINTS",e.BASED_ON_DEPOSIT_REWARD_POINTS="BASED_ON_DEPOSIT_REWARD_POINTS",e.CRYPTO="CRYPTO",e.TOURNAMENT_TICKET="TOURNAMENT_TICKET",e.FREE_GAMES="FREE_GAMES",e})(),a=(()=>{class e{}return e.REMOVE_LOYALTY_REWARDS={filter:e=>e.filter((e=>!o.getLoyaltyFlags().includes(e)))},e})(),s=(()=>{class e{getBonusRewardsFlags(e,t,n){let i=[];return this.hasFunds(e,t)&&this.isFixedAmount(e,t)&&i.push(o.FIXED_AMOUNT_FUNDS),this.hasFunds(e,t)&&!this.isFixedAmount(e,t)&&i.push(o.PERCENTAGE_AMOUNT_FUNDS),this.hasCashFunds(e,t)&&i.push(o.CASH_FUNDS),this.hasFixedTierPoints(e)&&i.push(o.FIXED_TIER_POINTS),this.hasFixedRewardPoints(e)&&i.push(o.FIXED_REWARD_POINTS),this.hasBasedOnDepositTierPoints(e,t)&&i.push(o.BASED_ON_DEPOSIT_TIER_POINTS),this.hasBasedOnDepositRewardPoints(e,t)&&i.push(o.BASED_ON_DEPOSIT_REWARD_POINTS),this.hasCrypto(e,t)&&i.push(o.CRYPTO),this.hasTournamentTicket(e)&&i.push(o.TOURNAMENT_TICKET),this.hasFreeGames(e)&&i.push(o.FREE_GAMES),n&&n.forEach((e=>{i=e.filter(i)})),i}hasFunds(e,t){return!!(e.outcome&&e.outcome.funds&&e.outcome.funds.amounts&&e.outcome.funds.amounts[t])}isFixedAmount(e,t){return i.YM===this.getAmountType(e,t)}getAmountType(e,t){return e.outcome.funds.amounts[t]&&e.outcome.funds.amounts[t].type}hasFixedTierPoints(e){return!!(e.outcome&&e.outcome.points&&e.outcome.points.fixed&&e.outcome.points.fixed.tier)}hasFixedRewardPoints(e){return!!(e.outcome&&e.outcome.points&&e.outcome.points.fixed&&e.outcome.points.fixed.reward)}hasBasedOnDepositTierPoints(e,t){return!!(e.outcome&&e.outcome.points&&e.outcome.points.basedOnDeposit&&e.outcome.points.basedOnDeposit[t]&&e.outcome.points.basedOnDeposit[t].tier)}hasBasedOnDepositRewardPoints(e,t){return!!(e.outcome&&e.outcome.points&&e.outcome.points.basedOnDeposit&&e.outcome.points.basedOnDeposit[t]&&e.outcome.points.basedOnDeposit[t].reward)}hasCrypto(e,t){return!!e.outcome&&!!e.outcome.crypto&&!!e.outcome.crypto.amounts[t]}hasTournamentTicket(e){return!!e.outcome&&!!e.outcome.tournamentTicket&&!!e.outcome.tournamentTicket.id}hasCashFunds(e,t){return!!(e.outcome&&e.outcome.cashFunds&&e.outcome.cashFunds.amounts&&e.outcome.cashFunds.amounts[t])}hasFreeGames(e){return!!e.outcome&&!!e.outcome.freeGames&&!!e.outcome.freeGames.id}isTangibleReward(e){return e.outcome.tangibleReward&&e.outcome.tangibleReward.enabled}isCancellableReward(e){return!!e.redemptionEventId}isSingleGoal(e){return e.description&&e.description.bonusType&&"SINGLE_GOAL"===e.description.bonusType}getMainIcon(e,t,n){return this.isSingleGoal(e)?"icon-single-goal":this.hasTournamentTicket(e)&&1===this.getBonusRewardsFlags(e,t,n).length?"icon-ticket":this.hasCashFunds(e,t)&&1===this.getBonusRewardsFlags(e,t,n).length?"icon-help-financial":this.hasFreeGames(e)&&1===this.getBonusRewardsFlags(e,t,n).length?"icon-free-games":this.isCancellableReward(e)||this.isTangibleReward(e)?"icon-tangible-reward":"icon-bonus"}hasTournamentTicketAndMultipleRewards(e,t,n){return this.hasTournamentTicket(e)&&this.getBonusRewardsFlags(e,t,n).length>1}hasCashFundsAndMultipleRewards(e,t,n){return this.hasCashFunds(e,t)&&this.getBonusRewardsFlags(e,t,n).length>1}hasFreeGamesAndMultipleRewards(e,t,n){return this.hasFreeGames(e)&&this.getBonusRewardsFlags(e,t,n).length>1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},90895:(e,t,n)=>{"use strict";n.d(t,{l:()=>d});var i=n(58132),r=n(23550),o=n(30173),a=n(4309),s=n(42998),c=n(9359),l=n(57826);let d=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.deviceService=t,this.rewardClaimedNotificationPopupService=n,this.baseUrl=`/services/reward-issuing/v1/profiles/${i.Y.SESSION_ID_PLACEHOLDER}`,this.claimUrl=`${this.baseUrl}/claimed-rewards`,this.claimByCodeUrl=`${this.baseUrl}/claimed-rewards-by-code`,this.forfeitUrl=`${this.baseUrl}/forfeited-reward`,this.claimCryptoUrl=`${this.baseUrl}/claimed-crypto-rewards`,this.cancelRedeemedRewardUrl=`${this.baseUrl}/cancelled-redeemed-reward`,this.handleBackendResponse=(0,s.catchError)((e=>(0,a.throwError)(e.status||"Internal Server Error"))),this.handleError=(0,s.catchError)((e=>{let t;switch(e.status){case 400:t="Not Accepted";break;case 401:t="Unauthorized";break;case 404:t="Unprocessable";break;case 409:t="Redeemed Maximum Times";break;default:t="Internal Server Error"}return(0,a.throwError)(t)}))}init(){this.rewardClaimedNotificationPopupService.claimBonusEvent.pipe((0,s.exhaustMap)((e=>this.claimBonusByCode(e)))).subscribe((()=>this.rewardClaimedNotificationPopupService.onBonusClaimed()),(()=>this.rewardClaimedNotificationPopupService.onBonusFailed()))}claimBonus(e){return this.httpClient.post(this.claimUrl,{rewardId:e},{withCredentials:!0}).pipe(this.handleError)}claimBonusByCode(e){return this.httpClient.post(this.claimByCodeUrl,{bonusCode:e},{withCredentials:!0}).pipe(this.handleBackendResponse)}forfeitPendingBonus(e){return this.httpClient.post(this.forfeitUrl,{rewardId:e},{withCredentials:!0}).pipe(this.handleError)}claimCryptoBonus(e,t,n,i,o){let a={bonusReference:e,amount:t,securityAnswer1:i,walletAddress:n,instrumentTypeCode:o},s=new r.HttpHeaders;return s=s.set("x-ecomm-channel",this.getEcommDeviceType()),this.httpClient.post(this.claimCryptoUrl,a,{withCredentials:!0,headers:s})}cancelRedeemedReward(e,t){let n={redemptionEventId:e,cancellationExpiresAt:t};return this.httpClient.post(this.cancelRedeemedRewardUrl,n,{withCredentials:!0}).pipe(this.handleError)}getNumDepositsForClaimed(e,t){return this.httpClient.get(this.baseNumberOfDepositsUrl(e),{params:{claimedAt:t},withCredentials:!0})}baseNumberOfDepositsUrl(e){return`${this.baseUrl}/rewards/${e}/number-of-deposits`}getEcommDeviceType(){return this.deviceService.isDesktop()?"W":"M"}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](r.HttpClient),l["ɵɵinject"](o.U),l["ɵɵinject"](c.L))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},3150:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var i=n(58132),r=n(23550),o=n(4309),a=n(42998);class s{constructor(e){this.id=e.bonusId,this.externalId=e.externalId,this.name=e.name,this.description=e.description,this.playthrough=e.playthrough,this.playthroughGoal=e.playthroughGoal,this.balance=e.balance,this.balanceAtCreation=e.balanceAtCreation,this.balanceReleased=e.balanceReleased,this.currency=e.currency,this.expiresAt=e.expiresAt,this.productFactor=e.productFactor,this.ledgerType=e.ledgerType,this.type=e.type,e.additionalContent&&(this.additionalContent=e.additionalContent)}}var c=n(57826);class l{constructor(e){this.http=e,this.onActiveBonusChange=new o.Subject,this.bonusTypeForPlayer={bonusTypes:["RELOAD","FIRST_TIME_DEPOSIT","UPFRONT","AFF_DEPOSIT","CRYPTO","TIER_RELOAD_PURCHASABLE","SINGLE_GOAL"]},this.bonusTypeForDeposit={bonusTypes:["RELOAD","FIRST_TIME_DEPOSIT","AFF_DEPOSIT","TIER_RELOAD_PURCHASABLE","SINGLE_GOAL"]},this.baseAvailablesAccountUrl="/services/reward-availability/v1/profiles/"+i.Y.SESSION_ID_PLACEHOLDER+"/available-rewards",this.offersAccountUrl="/services/reward-availability/v1/profiles/"+i.Y.SESSION_ID_PLACEHOLDER+"/available-offers",this.cancellableRewardsUrl="/services/reward-issuing/v1/profiles/"+i.Y.SESSION_ID_PLACEHOLDER+"/rewards/cancellable-rewards"}getAvailablesForAccount(e){return this.getAvailablesByType(this.bonusTypeForPlayer,e)}getAvailableById(e){let t=this.http.get(this.baseAvailablesAccountUrl+"/"+e,{withCredentials:!0});return this.handleBackendResponse(t,(e=>e))}getAvailablesWithDepositForAccount(e){return this.getAvailablesByType(this.bonusTypeForDeposit,e)}getActivesForAccount(){return this.http.get(l.BONUSES_URL,{params:{status:"Opening,Open"}}).pipe((0,a.map)((e=>e.map((e=>new s(e))))),(0,a.tap)((e=>this.onActiveBonusChange.next(e))))}getOffersForAccount(e){let t=new r.HttpHeaders;e&&(t=t.set("X-LANGUAGE",e));let n=this.http.get(this.offersAccountUrl,{withCredentials:!0,headers:t});return this.handleBackendResponse(n,(e=>e.items))}searchCancellableRewards(e){let t=new r.HttpHeaders;e&&(t=t.set("X-LANGUAGE",e));let n=this.http.get(this.cancellableRewardsUrl,{withCredentials:!0,headers:t});return this.handleBackendResponseAndCatchError(n,(e=>e.items))}getAvailablesByType(e,t){let n=new r.HttpHeaders;t&&(n=n.set("X-LANGUAGE",t));let i=this.http.get(this.baseAvailablesAccountUrl,{withCredentials:!0,headers:n,params:e});return this.handleBackendResponse(i,(e=>e.items))}handleBackendResponse(e,t){return e.pipe((0,a.map)(t),(0,a.catchError)((e=>(0,o.throwError)(e.error||"Internal Server Error"))))}handleBackendResponseAndCatchError(e,t){return e.pipe((0,a.map)(t),(0,a.catchError)((e=>(0,o.of)([]))))}}l.BONUSES_URL="/services/wallet-gateway/v1/profiles/"+i.Y.SESSION_ID_PLACEHOLDER+"/bonuses",l.ɵfac=function(e){return new(e||l)(c["ɵɵinject"](r.HttpClient))},l.ɵprov=c["ɵɵdefineInjectable"]({token:l,factory:l.ɵfac})},75752:(e,t,n)=>{"use strict";n.d(t,{Q:()=>c});var i=n(23550),r=n(58132),o=n(4309),a=n(42998),s=n(57826);class c{constructor(e){this.http=e}forfeitBonus(e){let t=this.http.delete(c.BONUSES_URL+e,{params:{transactionId:e+"-Forfeit"},withCredentials:!0});return this.handleBackendResponse(t,(()=>!0))}redeemPoints(e){let t=this.http.post(c.REDEEM_URL,{rewardId:e},{withCredentials:!0});return this.handleBackendResponse(t,(()=>!0))}handleBackendResponse(e,t){return e.pipe((0,a.map)(t),(0,a.catchError)((e=>(0,o.throwError)(e.error.error||"Internal Server Error"))))}}c.BONUSES_URL="/services/wallet-gateway/v1/profiles/"+r.Y.SESSION_ID_PLACEHOLDER+"/bonuses/",c.REDEEM_URL="/services/loyalty-points/v1/players/<sessionId>/redeem",c.ɵfac=function(e){return new(e||c)(s["ɵɵinject"](i.HttpClient))},c.ɵprov=s["ɵɵdefineInjectable"]({token:c,factory:c.ɵfac})},56647:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var i=n(3150),r=n(75752),o=n(90895),a=n(45455),s=n(57826);let c=(()=>{class e{static forRoot(){return{ngModule:e,providers:[i.u,r.Q,o.l,a.Yu]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({}),e})()},3442:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.messageOverlay=!1,this.fullWidth=!1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},81731:(e,t,n)=>{"use strict";n.d(t,{YM:()=>i,iV:()=>r});const i="FIXED",r="PERCENTAGE"},22322:(e,t,n)=>{"use strict";n.d(t,{A:()=>r,V:()=>i});const i=new(n(57826).InjectionToken)("TERMS_AND_CONDITIONS_URL"),r="BONUS_CODE_KEY"},99176:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.arrowBelongsBonusDescription=!1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},99191:(e,t,n)=>{"use strict";n.d(t,{_:()=>m});var i=n(57826),r=n(6856),o=n(84704),a=n(29135),s=n(38977),c=n(22322),l=n(40475),d=n(56614),u=n(73753),p=n(43279),h=n(44236);let m=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[s.b,{provide:c.V,useValue:t}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[l.ReactiveFormsModule,o.a,r.CommonModule,a.r,d.F,u.RouterModule,p.R,h.S]]}),e})()},38977:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var i=n(4309),r=n(57826);let o=(()=>{class e{constructor(){this.subjectForShowList=new i.Subject,this.subjectSelectedBonus=new i.Subject}sendNotificationShowList(e){e&&(this.bonusesSearched=e),this.subjectForShowList.next()}getBonusesSearched(){return this.bonusesSearched}getNotificationShowList(){return this.subjectForShowList.asObservable()}getUserChoice(){return this.userChoice}updateErrors(e,t){this.userChoice&&(this.userChoice.differentPaymentMethod=e,this.userChoice.minAmountNotMatched=t)}sendNotificationSelectedBonus(e){this.userChoice=e?{bonusId:e.id,differentPaymentMethod:!1,minAmountNotMatched:!1}:null,this.subjectSelectedBonus.next(e)}getNotificationSelectedBonus(){return this.subjectSelectedBonus.asObservable()}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},98896:(e,t,n)=>{"use strict";n.d(t,{S:()=>c,b:()=>s});var i=n(23550),r=n(4309),o=n(42998),a=n(57826);let s=(()=>{class e{constructor(e){this.http=e,this.brandPropertiesUrl=e=>`/services/brand-admin/v1/brands/${e}/properties`,this.brandEnabledProductsUrl=e=>`${this.brandPropertiesUrl(e)}/products`,this.brandPropertiesCache={}}getProductsEnabledOnBrand(e,t){return this.getConfigurationFromUrl(this.brandEnabledProductsUrl(e),t)}getBrandProperties(e,t){const n=t?e+"_"+JSON.stringify(t):e;return this.brandPropertiesCache[n]?(0,r.of)(this.brandPropertiesCache[n]):this.getConfigurationFromUrl(this.brandPropertiesUrl(e),t).pipe((0,o.tap)((e=>this.brandPropertiesCache[n]=e)))}getBrandPropertiesOnRegion(e,t){return this.getBrandProperties(e,{regions:t})}getBrandPropertiesOnCountry(e,t){return this.getBrandProperties(e,{countries:t})}getBrandPropertiesOnCountryAndTerritory(e,t,n){return this.getBrandProperties(e,{countries:t,territories:n})}isProductSupported(e,t,n){return this.getProductsEnabledOnBrand(e,n).pipe((0,o.map)((e=>e.products&&e.products.some((e=>e===t)))))}getConfigurationFromUrl(e,t){return this.http.get(e,{params:t}).pipe((0,o.catchError)((e=>(0,r.throwError)(e.status))))}evalFeature(e,t){return this.getBrandProperties(e).pipe((0,o.map)((e=>t in e&&e[t].length>0&&"true"==e[t][0])))}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.HttpClient))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();class c{static forTerritoryAndCountry(e,t){return{territories:e,countries:t}}}},57264:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var i=n(6856),r=n(68698),o=n(98896),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({providers:[o.b],imports:[[i.CommonModule,r.T]]}),e})()},52036:(e,t,n)=>{"use strict";n.d(t,{C:()=>u});var i=n(63253),r=n(44960),o=n(65568),a=n(7430),s=n(10749),c=n(30173),l=n(93801),d=n(57826);let u=(()=>{class e{constructor(e,t,n){this.layoutMapperService=e,this.marketingPageService=t,this.deviceService=n}mapArticles(e){let t=new o.L;t.title=this.getContentFieldValue(e,"title"),t.browserTitle=this.getContentFieldValue(e,"title"),t.articles=[],t.draft="draft"===e.status,t.notInFilter=l.H.map(this.getContentFieldValue(e,"filter"));let n=this.marketingPageService.processPage(e);if(n.components.length>0)t.marketingPage=n;else{let n=this.getContentFieldValue(e,"items");if(n&&Array.isArray(n)&&n[0]){let e=n[0],i=this.getContentFieldValue(e,"items");t.notInFilter=l.H.map(this.getContentFieldValue(e,"filter")),Array.isArray(i)&&(t.articles=i.map((e=>this.mapArticleCard(e))))}}return t}mapArticle(e){let t=this.getArticleImage(e);const n=this.getContentFieldValue(e,"metafields"),r=this.getMetaField(n,"title"),o=this.getMetaField(n,"canonical");return{meta:this.mapMetaFields(n),title:this.getContentFieldValue(e,"title"),browserTitle:r&&r.content,category:this.getContentFieldValue(e,"category"),publicationDate:e.publishedAt||e.updatedAt,publishedDate:this.getContentFieldValue(e,"published_date"),articleImage:t&&t.url,articleImageAltText:t&&t.alt,body:this.getContentFieldValue(e,"body"),layoutType:this.layoutMapperService.resolveLayoutType(e),draft:"draft"===e.status,ampEnabled:this.getContentFieldValue(e,"AMPEnabled"),uriSuffix:this.getContentFieldValue(e,"uriSuffix"),canonicalTag:o&&o.content,h1Enabled:!1!==this.getContentFieldValue(e,"h1Enabled"),slugname:e.slugname||e.slug||i(["fields","slug"],e),notInFilter:l.H.map(this.getContentFieldValue(e,"filter"))}}getArticleImage(e){const t=this.getContentFieldValue(e,"mobile_page_image");if("mobile"===this.deviceService.getDeviceType()&&t&&t.url)return t;const n=this.getContentFieldValue(e,"page_default_image");return n&&n.url?n:this.getContentFieldValue(e,"page_image")}mapArticleCard(e){let t=new a.T,n=e.slug||this.getContentFieldValue(e,"slug"),i=this.getContentFieldValue(e,"uriSuffix");t.slug=i||n,t.title=this.getContentFieldValue(e,"title"),t.category=this.getContentFieldValue(e,"category"),t.publicationDate=e.publishedAt||e.updatedAt,t.publishedDate=this.getContentFieldValue(e,"published_date");let r=this.getContentFieldValue(e,"default_card_image");return r&&r.url||(r=this.getContentFieldValue(e,"card_image")),t.image=r&&r.url,t.imageAltText=r&&r.alt,t.draft="draft"===e.status,t.notInFilter=l.H.map(this.getContentFieldValue(e,"filter")),t}getContentFieldValue(e,t){return e.fields&&e.fields[t]}mapMetaFields(e){return e?Object.keys(e).map((t=>this.getMetaField(e,t))):[]}getMetaField(e,t){if(!e)return;let n=e[t];if(!n)return;let i={content:n.content};return i[n.type]=t,i}}return e.ɵfac=function(t){return new(t||e)(d["ɵɵinject"](s.I),d["ɵɵinject"](r.F),d["ɵɵinject"](c.U))},e.ɵprov=d["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},7430:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var i=n(98953);class r extends i.w{}},65568:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});var i=n(98953);class r extends i.w{}},10749:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.TAGS_TO_LAYOUT_MAPPING={leftaligned:"layout-left-aligned",centeredaligned:"layout-centered-aligned",overlapped:"layout-overlapped"}}resolveLayoutType(e){let t=e.fields&&e.fields.tags||e.tags;return t&&t.split(",").map((e=>this.TAGS_TO_LAYOUT_MAPPING[e.trim()])).find((e=>!!e))||null}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},90785:(e,t,n)=>{"use strict";n.d(t,{GW:()=>C,e6:()=>S,nA:()=>I,rE:()=>x});var i=n(6856),r=n(57826),o=n(73753),a=n(95556),s=n(23550),c=n(22274),l=n(49994),d=n(30173),u=n(82846),p=n(81899),h=n(48108),m=n(45965),f=n(12596),g=n(10396),v=n(92947),b=n(4309),y=n(42998);const S=(0,y.map)((e=>1e3*+e)),C=(0,y.map)((e=>{const t=(+e*(+e>=1e6?1e-6:.001)).toFixed(2);return{amount:+e,amountDisplay:+e>=1e3?+t:1e3*+t}})),x=(0,y.map)((e=>({amount:+e,amountDisplay:+(+e>1e6?(+e/1e6).toFixed(2):Math.floor(+e/1e3).toString())})));let I=(()=>{class e{constructor(e,t,n,i,r,o,a,s,c,l,d,u,p,h){this.http=e,this.profileService=t,this.siteConfigService=n,this.cookieStorageService=i,this.sessionService=r,this.languageService=o,this.channelTypeService=a,this.toastNotificationService=s,this.translateService=c,this.router=l,this.deviceService=d,this.windowService=u,this.currencyService=p,this.platformId=h,this.jackpotPollingCache={},this.freeGamesPollingCache={},this.casinoServiceUrl="/services/casino/casino-lobby-services/v1",this.jackpotUrl=`${this.casinoServiceUrl}/jackpots`,this.freeGamesUrl=`${this.casinoServiceUrl}/offers/games`,this.gamesUrl=`${this.casinoServiceUrl}/games`,this.sessionService.sessionObserver.subscribe((()=>{this.freeGamesSubscription&&(this.freeGamesSubscription.unsubscribe(),this.freeGamesSubscription=null,this.getFreeGamesList()),this.jackpotSubscription&&(this.currencyCached=this.currencyService.getDefaultCurrencyCode(),this.jackpotSubscription.unsubscribe(),this.jackpotSubscription=null,this.getJackpotList())}))}isFreeGamesEnabled(){return(this.siteConfigService.hasFeature(e.FREE_GAMES_FEATURE)||"true"===this.cookieStorageService.get(e.FREEGAMESENABLE_COOKIE))&&(0,i.isPlatformBrowser)(this.platformId)}isJackpotEnabled(){return this.siteConfigService.hasFeature(e.CASINO_JACKPOT_FEATURE)&&(0,i.isPlatformBrowser)(this.platformId)}getJackpotAmount(e){return this.getJackpotList(),this.jackpotPollingCache[e]||(this.jackpotPollingCache[e]=new b.BehaviorSubject(null)),this.jackpotPollingCache[e]}hasFreeGames(e){return this.getFreeGamesList(),this.freeGamesPollingCache[e]||(this.freeGamesPollingCache[e]=new b.BehaviorSubject(null)),this.freeGamesPollingCache[e]}getGameUrl(e){return this.getGenericParams().pipe((0,y.mergeMap)((t=>(t.mode=this.sessionService.isAuthenticated()?"real":"practice",this.http.get(`${this.gamesUrl}/${e}/url`,{params:t}).pipe((0,y.map)((e=>e.url)))))))}resolveCurrencyNotSupported(){return this.resolveCasinoGameError("gamecardplay.currency.notsupported.error")}resolveCasinoGameUnexpectedError(){return this.resolveCasinoGameError("gamecardplay.unexpected.error")}getPlayerCurrency(){return this.currencyCached?(0,b.of)(this.currencyCached):this.profileService.getProfileDetailsPlayer().pipe((0,y.map)((e=>(this.currencyCached=e.attributes.currency,this.currencyCached))),(0,y.catchError)((()=>(0,b.empty)())),(0,y.defaultIfEmpty)(this.currencyService.getDefaultCurrencyCode()))}resolveCasinoGameError(e){return this.translateService.translate(e).subscribe((e=>{this.toastNotificationService.add({msg:e,type:"error",timeout:5e3,showClose:!0})})),this.deviceService.isDesktop()?this.windowService.window().history.back():this.router.navigateByUrl("/casino"),(0,b.empty)()}getGenericParams(){const e=this.languageService.getLanguage(),t=this.getPlayerCurrency();return(0,b.combineLatest)(e,t).pipe((0,y.map)((e=>{const t={currencyCode:e[1],language:e[0]};return t.channelType=this.channelTypeService.getChannelType(),t})))}getJackpotList(){this.isJackpotEnabled()&&!this.jackpotSubscription&&(this.jackpotSubscription=this.getJackpotsPolling().subscribe((e=>{e.forEach((e=>{const t=e.amount/100;this.jackpotPollingCache[e.gameId]?this.jackpotPollingCache[e.gameId].next(t):this.jackpotPollingCache[e.gameId]=new b.BehaviorSubject(t)}))})))}getJackpots(){return this.getGenericParams().pipe((0,y.switchMap)((e=>{const t=this.siteConfigService.getSiteConfigProp("urlPrefix");return t&&(e.context=t),this.http.get(this.jackpotUrl,{params:e})})))}getJackpotsPolling(e=6e5){return(0,b.interval)(e).pipe((0,y.startWith)(0),(0,y.switchMap)((()=>this.getJackpots())))}getFreeGames(){return this.http.get(this.freeGamesUrl)}getFreeGamesPolling(e=3e5){return(0,b.interval)(e).pipe((0,y.startWith)(0),(0,y.switchMap)((()=>this.getFreeGames())))}getFreeGamesList(){this.isFreeGamesEnabled()&&!this.freeGamesSubscription&&(this.freeGamesSubscription=this.getFreeGamesPolling().subscribe((e=>{this.clearFreeGamesCache(),e.forEach((e=>{this.freeGamesPollingCache[e]?this.freeGamesPollingCache[e].next(!0):this.freeGamesPollingCache[e]=new b.BehaviorSubject(!0)}))})))}clearFreeGamesCache(){Object.keys(this.freeGamesPollingCache).forEach((e=>{this.freeGamesPollingCache[e]&&this.freeGamesPollingCache[e].next(null)}))}}return e.CASINO_JACKPOT_FEATURE="casino.jackpot",e.FREE_GAMES_FEATURE="casino.free-games",e.FREEGAMESENABLE_COOKIE="FREEGAMESENABLED",e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](s.HttpClient),r["ɵɵinject"](v.H),r["ɵɵinject"](m.r),r["ɵɵinject"](u.G),r["ɵɵinject"](a.mj),r["ɵɵinject"](h.T),r["ɵɵinject"](c.x),r["ɵɵinject"](g.il),r["ɵɵinject"](f.s),r["ɵɵinject"](o.Router),r["ɵɵinject"](d.U),r["ɵɵinject"](p.u),r["ɵɵinject"](l.i),r["ɵɵinject"](r.PLATFORM_ID))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},49918:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var i=n(57826),r=n(6856);let o=(()=>{class e{constructor(){this.type="primary"}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-custom-badge"]],inputs:{customBadge:"customBadge",type:"type"},decls:4,vars:2,consts:[[1,"custom-badge",3,"ngClass"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"span",0),i["ɵɵtext"](2),i["ɵɵelementEnd"](),i["ɵɵtext"](3,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngClass",t.type),i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](t.customBadge))},directives:[r.NgClass],encapsulation:2}),e})()},69348:(e,t,n)=>{"use strict";n.d(t,{V:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.imageType="small",this.showDropdown=!0,this.showArrowMenu=!1,this.applyMaxContainer=!0,this.hideAndWrappComponent=!1,this.customCarousel=!1,this.scrollToTab=!0,this.showSubcategoryTitle=!1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},52770:(e,t,n)=>{"use strict";n.d(t,{b:()=>i});class i{}},92557:(e,t,n)=>{"use strict";n.d(t,{K:()=>s}),n(73753);var i=n(90388),r=n(4788),o=n(43431),a=n(57826);let s=(()=>{class e{constructor(e,t,n){this.gamecardService=e,this.contentNotFoundHandler=t,this.cmsFeatureFlagService=n}resolve(e){if(this.cmsFeatureFlagService.isFeatureEnabled(o.u.CASINO_UNIQUE_PAGES_FF))return!1;let t=e.params.subcategory||e.params.category;return this.gamecardService.getGameCategories().subscribe((e=>{0===e.filter((e=>e.slug===t)).length&&this.contentNotFoundHandler.navigateToNotFoundPage()})),!1}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](r.GH),a["ɵɵinject"](i.B),a["ɵɵinject"](o.u))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},62875:(e,t,n)=>{"use strict";n.d(t,{c:()=>c});var i=n(55640),r=n(4309),o=n(57826);class a{constructor(e,t){this.id=e,this.count=t}}const s=[516,517,518,519,520,521,522,523];let c=(()=>{class e{constructor(e){this.browserStorageService=e,this.mostPlayedChanged=new r.Subject}getAll(){return this.parseGamesMostPlayed().filter((e=>!this.isViGLiveDealerGame(e.id)))}setPlayed(t){if(this.isViGLiveDealerGame(t))return;let n=this.getAll();const i=n.filter((e=>e.id===t))[0];i?(i.count++,n.sort(((e,t)=>t.count-e.count))):n.push(new a(t,0)),this.browserStorageService.set(e.MOST_PLAYED_SLUG,JSON.stringify(n)),this.sendMostPlayedEvent(t)}parseGamesMostPlayed(){return JSON.parse(this.browserStorageService.get(e.MOST_PLAYED_SLUG))||[]}isViGLiveDealerGame(e){return s.includes(e)}sendMostPlayedEvent(e){this.mostPlayedChanged.next(e)}getMostPlayedEvent(){return this.mostPlayedChanged.asObservable()}}return e.MOST_PLAYED_SLUG="most-played",e.MOST_PLAYED_NAME="gamecardlist.mostPlayed",e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.z))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},25007:(e,t,n)=>{"use strict";n.d(t,{O:()=>o}),n(73753);var i=n(45965),r=n(57826);let o=(()=>{class e{constructor(e){this.siteConfigService=e}resolve(e,t){return this.siteConfigService.getSiteConfigProp("casinoPracticePlayDisabled")?"false":"true"}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.r))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},32209:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});class i{}},69682:(e,t,n)=>{"use strict";n.d(t,{O:()=>r});var i=n(23550);class r{constructor(e,t,n,i,r,o,a,s,c,l){this.currencyCode=e,this.mode=t,this.language=n,this.channelType=i,this.homeUrl=r,this.cashierUrl=o,this.loginUrl=a,this.signupUrl=s,this.subdomain=c,this.integrationParams=l}toParams(){let e={currencyCode:this.currencyCode,mode:this.mode,language:this.language,channelType:this.channelType,homeUrl:this.homeUrl,cashierUrl:this.cashierUrl,loginUrl:this.loginUrl,signupUrl:this.signupUrl};return this.integrationParams&&(e.integrationParams=this.integrationParams),this.subdomain&&(e.subdomain=this.subdomain),new i.HttpParams({fromObject:e})}}},24092:(e,t,n)=>{"use strict";n.d(t,{C:()=>i});class i{}},17210:(e,t,n)=>{"use strict";n.d(t,{z:()=>h});var i=n(24092),r=n(52770),o=n(78519),a=n(30173),s=n(32209),c=n(4e3),l=n(63253),d=n(80112),u=n(33564),p=n(57826);let h=(()=>{class e{constructor(e,t,n){this.deviceService=e,this.urlPrefixService=t,this.trackingService=n}mapGame(e){let t=new i.C,n=this.getContentField(e,"card_image");t.cardImage=n&&n.url,t.cardImageAltText=n&&n.alt,t.name=this.getContentField(e,"title"),t.id=this.mapGameId(this.getContentField(e,"game_id")),t.notInFilter=this.mapNotInFilters(this.getContentField(e,"game_id")),t.draft="draft"===e.status,t.slug=this.getUriSuffix(e),t.customBadge=this.getContentField(e,"custom_badge");let r=this.getContentField(e,"category");"string"==typeof r?t.category=r:r&&(t.category=r.slug||"",t.categoryName=r.name||"");let o=this.getContentField(e,"subcategory");return"string"==typeof o?t.subCategory=o:o&&(t.subCategory=o.slug||"",t.subCategoryName=o.name||""),t}mapGameDetail(e){const t=new i.C,n=this.getContentField(e,"page_image");return t.pageImage=this.urlPrefixService.addUrlPrefix(n&&n.url),t.pageImageAltText=n&&n.alt,t.shortDescription=this.getContentField(e,"short_description"),t.longDescription=this.getContentField(e,"long_description"),t.tags=this.getContentField(e,"tags"),t.draft="draft"===e.status,t.metafields=e.fields.metafields,t}mergeGame(e,t){let n=new i.C;return n.name=e.name,n.cardImage=e.cardImage,n.cardImageAltText=e.cardImageAltText,n.slug=e.slug,n.category=e.category,n.categoryName=e.categoryName,n.subCategory=e.subCategory,n.subCategoryName=e.subCategoryName,n.id=e.id,n.notInFilter=e.notInFilter,n.shortDescription=t.shortDescription,n.longDescription=t.longDescription,n.pageImage=t.pageImage,n.pageImageAltText=t.pageImageAltText,n.tags=t.tags,n.draft=e.draft,n}mapCategories(e){return e.fields&&e.fields.items}mapCategory(e){let t=new r.b;t.name=this.getContentField(e,"menuItemLabel"),t.title=this.getContentField(e,"title"),t.slug=this.getUriSuffix(e),t.status=e.status,t.automatedNumberOfItems=e.automatedNumberOfItems,t.hasPersonalizedContent=this.getContentField(e,"personalized"),t.automatedTracking=this.trackingService.getAutomatedTracking(e),t.internalName=this.getContentField(e,"internal_name");const n=parseInt(e.automatedNumberOfItems);return t.isAutomated=!isNaN(n),t}mapTab(e){let t=new o.O;return t.name=e.name,t.title=e.title,t.active=!1,t.hasSubTab=e.subCategories&&e.subCategories.length>0,t.slug=e.slug,t.draft="draft"===e.status,t}mapSubTab(e){let t=new c.O;return t.name=e.name,t.title=e.title,t.active=!1,t.slug=e.slug,t.draft="draft"===e.status,t}mapSubCategoryList(e){return this.getContentField(e,"items").filter((e=>"custom_menu"===e.contentType))}mapSubCategory(e){let t=new s.j;t.name=this.getContentField(e,"menuItemLabel"),t.title=this.getContentField(e,"title"),t.slug=e&&e.slug,t.slugname=this.getContentField(e,"slugname"),t.status=e.status,t.automatedNumberOfItems=e.automatedNumberOfItems,t.hasPersonalizedContent=this.getContentField(e,"personalized"),t.automatedTracking=this.trackingService.getAutomatedTracking(e),t.internalName=this.getContentField(e,"internal_name");const n=parseInt(t.automatedNumberOfItems);return t.isAutomated=!isNaN(n),t}mapGameList(e){return e||[]}mapGamesFromCategory(e){return this.getContentField(e,"items").map((e=>e.slug||e))}mapGameCategoryFullTreeAsEmpty(e,t){let n=this.mapCategory(e);return n.slug=this.getContentField(e,"slugname"),n.games=this.mapChildGamesAsEmpty(t),n.subCategories=[],n}mapGameCategoryFullTree(e){let t=this.mapCategory(e),n=this.mapSubCategoryList(e);if(0===n.length){let n=this.mapChildGames(e);t.games=n,t.subCategories=[]}else{let e=n.map((e=>{let t,n=this.mapSubCategory(e);return t=n.hasPersonalizedContent?this.mapChildGamesAsEmpty(parseInt(e.automatedNumberOfItems)):this.mapChildGames(e),n.games=t,n}));t.subCategories=e}return t}mapChildGames(e){return this.getContentField(e,"items").map((e=>this.mapGame(e))).filter((e=>!!e.id))}mapChildGamesAsEmpty(e){let t=new i.C;return t.id=1,new Array(e).fill(t)}getUriSuffix(e){let t=e.slug||l(["fields","slug"],e);return l(["fields","uriSuffix"],e)||t}getContentField(e,t){return e&&e.fields&&e.fields[t]}mapGameId(e){let t=this.filterGameId(e);return t?t.id:null}filterGameId(e){let t=this.deviceService.isDesktop()?"desktop":"mobile_tablet";return e&&e.find((e=>e.channelList&&e.channelList.includes(t)))}mapNotInFilters(e){let t={},n=this.filterGameId(e);return n&&n.filter&&n.filter.notIn&&(t.countrySubdivision=this.getCountrySubdivision(n.filter.notIn.countrySubdivision)),Object.keys(t).length?t:null}getCountrySubdivision(e){let t=[];return Object.keys(e).map((n=>{t=t.concat(this.generateSubdivisionId(n,e[n]))})),t}generateSubdivisionId(e,t){const n=e.split(":")[0];return t.map((e=>`${n}:${e.split(":")[1]}`))}}return e.ɵfac=function(t){return new(t||e)(p["ɵɵinject"](a.U),p["ɵɵinject"](d.z),p["ɵɵinject"](u.e))},e.ɵprov=p["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},83502:(e,t,n)=>{"use strict";n.d(t,{I:()=>V});var i=n(57826),r=n(73753),o=n(95556),a=n(16424),s=n(27218),c=n(80218),l=n(3336),d=n(26626),u=n(45965),p=n(81516),h=n(92920),m=n(90785),f=n(48108),g=n(30173),v=n(84333),b=n(32716),y=n(6856),S=n(79952),C=n(86014),x=n(49918),I=n(12596),w=n(42998);function E(e,t){if(1&e&&(i["ɵɵelementStart"](0,"span"),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=t.$implicit;i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e)}}function T(e,t){if(1&e&&(i["ɵɵelementStart"](0,"span",1),i["ɵɵtext"](1,"\n            "),i["ɵɵtemplate"](2,E,2,1,"span",2),i["ɵɵtext"](3,"\n        "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",e.splittedLabel)}}let P=(()=>{class e{constructor(e,t){this.translateService=e,this.casinoLobbyService=t,this.splittedLabel=[]}ngOnInit(){this.translateService.translate(this.label).pipe((0,w.filter)((e=>this.label!==e))).subscribe((e=>{this.splittedLabel=e.split(/\s+/g),this.casinoLobbyService.hasFreeGames(this.gameId).subscribe((e=>{this.showBadge=e}))}))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](I.s),i["ɵɵdirectiveInject"](m.nA))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-free-games-badge"]],inputs:{gameId:"gameId",label:"label"},decls:3,vars:1,consts:[["class","custom-badge tertiary",4,"ngIf"],[1,"custom-badge","tertiary"],[4,"ngFor","ngForOf"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,T,4,1,"span",0),i["ɵɵtext"](2,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",t.showBadge))},directives:[y.NgIf,y.NgForOf],styles:[".custom-badge.tertiary[_ngcontent-%COMP%] {\n            display: flex;\n            flex-direction: column;\n            width: -webkit-fit-content;\n            width: -moz-fit-content;\n            width: fit-content;\n            width: intrinsic;\n        }"]}),e})();var A=n(4309);const _=function(e){return{jackpot:e}},M=function(e,t){return{tag:"textContent",values:e,label:t}},O=function(e){return[e]};function k(e,t){if(1&e&&i["ɵɵelement"](0,"span",1),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("bxTranslate",i["ɵɵpureFunction1"](6,O,i["ɵɵpureFunction2"](3,M,i["ɵɵpureFunction1"](1,_,e.jackpotValue),e.jackpotLabel)))}}let j=(()=>{class e{constructor(e){this.casinoLobbyService=e}get isJackpotDisplayed(){return this.jackpotValue&&+this.jackpotValue>0}ngOnInit(){(0,A.combineLatest)(this.casinoLobbyService.getPlayerCurrency(),this.casinoLobbyService.getJackpotAmount(this.gameId)).pipe((0,w.mergeMap)((e=>(0,A.iif)((()=>"XBT"===e[0]),(0,A.of)(e[1]).pipe(m.e6,m.GW),(0,A.of)(e[1]).pipe(m.rE))))).subscribe((e=>{this.jackpotLabel="gamecard.jackpot.no_k",this.jackpotValue=e.amountDisplay,e.amount>1e6?this.jackpotLabel="gamecard.jackpot.m":e.amount>=1e3&&(this.jackpotLabel="gamecard.jackpot")}))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](m.nA))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-jackpot"]],inputs:{gameId:"gameId"},decls:3,vars:1,consts:[["class","custom-badge secondary",3,"bxTranslate",4,"ngIf"],[1,"custom-badge","secondary",3,"bxTranslate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n            "),i["ɵɵtemplate"](1,k,1,8,"span",0),i["ɵɵtext"](2,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",t.isJackpotDisplayed))},directives:[y.NgIf,C.P],encapsulation:2}),e})();function N(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"a",11),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().playCtaLink(!0)})),i["ɵɵtext"](1,"\n                "),i["ɵɵelement"](2,"i",12),i["ɵɵelementStart"](3,"span",13),i["ɵɵtext"](4,"gamecard.play_cta"),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n            "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("href",e.href,i["ɵɵsanitizeUrl"])}}function D(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"a",11),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().playCtaLink(!1)})),i["ɵɵtext"](1,"\n                "),i["ɵɵelement"](2,"i",14),i["ɵɵelementStart"](3,"span",13),i["ɵɵtext"](4,"gamecard.more_info"),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n            "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("href",e.href,i["ɵɵsanitizeUrl"])}}function L(e,t){if(1&e&&i["ɵɵelement"](0,"bx-custom-badge",15),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("customBadge",e.card.customBadge)}}function R(e,t){if(1&e&&(i["ɵɵelementStart"](0,"bx-free-games-badge",16),i["ɵɵtext"](1,"\n                    "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("gameId",e.card.id)}}function F(e,t){if(1&e&&i["ɵɵelement"](0,"bx-jackpot",17),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("gameId",e.card.id)}}function B(e,t){if(1&e&&i["ɵɵelement"](0,"img",18),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("src",e.thumbnailImage,i["ɵɵsanitizeUrl"]),i["ɵɵattribute"]("alt",e.thumbnailAlt)}}function U(e,t){if(1&e&&(i["ɵɵelementStart"](0,"span",19),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"]("\n                            ",e.card.gamePrice,"\n                        ")}}const H=function(e){return{"img-game":e}};let V=(()=>{class e{constructor(e,t,n,i,r,o,a,s,c,l,d,u,p){this.sessionService=e,this.element=t,this.cardConfig=n,this.cdnService=i,this.analyticsService=r,this.router=o,this.firstTimeVisitorService=a,this.casinoLobbyService=s,this.linkTrackService=c,this.siteConfigService=l,this.languageService=d,this.gameUrlService=u,this.deviceService=p,this.imageType="large",this.contentSource="manual",this.thumbnailImage="/assets/images/thumbnail.png",this.thumbnailAlt="Placeholder image",this.href=""}ngOnInit(){this.isFreeGamesEnabled=this.casinoLobbyService.isFreeGamesEnabled(),this.isJackpotEnabled=this.casinoLobbyService.isJackpotEnabled(),this.cardClass=`game-thumbnail img-${this.imageType}`,this.card.cardImage||(this.card.cardImage=this.defaultImage||""),this.setThumbnailColorImageSrc(this.cardConfig.thumbnailColor),this.thumbnailImage=this.cdnService.getCdnUrlImage(this.thumbnailImage),this.checkURLOutlet(),this.languageService.getLanguage().subscribe((e=>{let t=this.siteConfigService.getSiteConfigProp("defaultLanguage");t||(t="en");const n=e!==t?e:"";this.href=n+this.gameUrlService.getUrl(this.card.category,this.card.slug,this.card.subCategory,this.urlOutlet)}))}onClick(e){e.preventDefault()}getNotInSubdivisionList(){return this.card&&this.card.notInFilter&&this.card.notInFilter.countrySubdivision&&this.card.notInFilter.countrySubdivision.join(",")||null}setThumbnailColorImageSrc(e){const t=this.thumbnailImage.split(".");e&&t.length>1&&(this.thumbnailImage=`${t[0]}_${e}.${t[1]}`)}checkURLOutlet(){if(!this.router.config)return;const e=this.router.config.find((e=>e.path===this.gameUrlService.getPathFormat()));this.urlOutlet=e&&e.outlet?e.outlet:""}trackClick(){const e=this.getAutomatedTrackingData();if(this.gameBlockContext){const t=()=>({33:JSON.stringify({behaviour:"click",parentInternalName:this.gameBlockContext.internalName,parentType:this.gameBlockContext.contentType,game:this.card.id,ftv:this.firstTimeVisitorService.isFirstTime,audiences:this.gameBlockContext.tracking&&this.gameBlockContext.tracking.audiences?this.gameBlockContext.tracking.audiences:[],componentType:"card - "+this.card.categoryName,componentInternalName:this.card.name,position:this.position,...e})});this.analyticsService.trackCardClick("menu_click",!0,t())}else this.analyticsService.trackCardClick("gamecard_click",!0,(()=>{const t=this.cardMatrix?this.cardMatrix.getSurroundingSiblings(this.card.id):[];return this.card.id?{33:JSON.stringify({game:this.card.id,position:this.position,...h(t)?{}:{halo:t},...e})}:{}})())}getAutomatedTrackingData(){let e={};if("manual"!=this.contentSource&&this.automatedTracking){let t=this.siteConfigService.getSiteConfigProp("brandCode");e={sourceId:this.automatedTracking.sourceId,sourceLabel:this.automatedTracking.sourceLabel,sortOrder:this.automatedTracking.sortOrder,amount:this.automatedTracking.amount,page_name:t+":"+this.router.url,sourceContentType:this.contentSource}}return e}playCtaLink(e){this.card&&this.card.category&&this.card.slug&&(this.linkTrackService.setLinkClicked(!1),this.trackClick(),e?this.router.navigate(this.gameUrlService.getPathList(this.card.category,this.card.slug,this.card.subCategory),{queryParams:this.getQueryParams(),fragment:this.getCtaLinkFragment()}):this.router.navigate(this.gameUrlService.getPathList(this.card.category,this.card.slug,this.card.subCategory)))}getCtaLinkFragment(){return this.cardConfig.quickPlayEnabled?null:this.cardConfig.removeRealPracticeOverlay||this.sessionService.isAuthenticated()?"real":"play"}getQueryParams(){return this.cardConfig.quickPlayEnabled?{quickPlay:"true"}:null}hasCasinoCardInfoIconFeature(){return this.siteConfigService.hasFeature("casino.card.info.icon")}isMobileDevice(){return this.deviceService.isMobile()}playIconShouldBeDisplayed(){return this.cardConfig.playOverlay&&!this.hasCasinoCardInfoIconFeature()}infoIconShouldBeDisplayed(){return this.cardConfig.playOverlay&&this.hasCasinoCardInfoIconFeature()&&this.isMobileDevice()}shouldPlayAsQuickPlay(){return this.hasCasinoCardInfoIconFeature()&&this.deviceService.isMobile()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.mj),i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](a.e),i["ɵɵdirectiveInject"](c.U),i["ɵɵdirectiveInject"](l.y),i["ɵɵdirectiveInject"](r.Router),i["ɵɵdirectiveInject"](p.HV),i["ɵɵdirectiveInject"](m.nA),i["ɵɵdirectiveInject"](d.j),i["ɵɵdirectiveInject"](u.r),i["ɵɵdirectiveInject"](f.T),i["ɵɵdirectiveInject"](s.X),i["ɵɵdirectiveInject"](g.U))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-card"]],hostVars:1,hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("click",(function(e){return t.onClick(e)})),2&e&&i["ɵɵattribute"]("class",t.cardClass)},inputs:{imageType:"imageType",card:"card",defaultImage:"defaultImage",cardMatrix:"cardMatrix",gameBlockContext:"gameBlockContext",position:"position",contentSource:"contentSource",automatedTracking:"automatedTracking"},decls:29,vars:17,consts:[["bxHideBySubdivision","",3,"bxPreviewIndicator"],["class","play-btn cursor",3,"href","click",4,"ngIf"],[1,"cursor",3,"href","click"],[1,"thumb-container"],[3,"customBadge",4,"ngIf"],["label","gamecard.freeGames",3,"gameId",4,"ngIf"],[3,"gameId",4,"ngIf"],["class","img-placeholder img-responsive force-height",3,"src",4,"ngIf"],["bxImage","",1,"img-responsive",3,"src","defaultImage","ngClass"],[1,"thumbnail-text"],["class","thumbnail-text-price",4,"ngIf"],[1,"play-btn","cursor",3,"href","click"],[1,"icon","icon-search-play"],[3,"bxTranslate"],[1,"icon","icon-info-inverse"],[3,"customBadge"],["label","gamecard.freeGames",3,"gameId"],[3,"gameId"],[1,"img-placeholder","img-responsive","force-height",3,"src"],[1,"thumbnail-text-price"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"article",0),i["ɵɵtext"](2,"\n            "),i["ɵɵtemplate"](3,N,6,1,"a",1),i["ɵɵtext"](4,"\n            "),i["ɵɵtemplate"](5,D,6,1,"a",1),i["ɵɵtext"](6,"\n            "),i["ɵɵelementStart"](7,"a",2),i["ɵɵlistener"]("click",(function(){return t.shouldPlayAsQuickPlay()?t.playCtaLink(!0):t.playCtaLink(!1)})),i["ɵɵtext"](8,"\n                "),i["ɵɵelementStart"](9,"figure",3),i["ɵɵtext"](10,"\n                    "),i["ɵɵtemplate"](11,L,1,1,"bx-custom-badge",4),i["ɵɵtext"](12,"\n\n                    "),i["ɵɵtemplate"](13,R,2,1,"bx-free-games-badge",5),i["ɵɵtext"](14,"\n\n                    "),i["ɵɵtemplate"](15,F,1,1,"bx-jackpot",6),i["ɵɵtext"](16,"\n                    "),i["ɵɵtemplate"](17,B,1,2,"img",7),i["ɵɵtext"](18,"\n                    "),i["ɵɵelement"](19,"img",8),i["ɵɵtext"](20,"\n                    "),i["ɵɵelementStart"](21,"figcaption",9),i["ɵɵtext"](22,"\n                        "),i["ɵɵtemplate"](23,U,2,1,"span",10),i["ɵɵtext"](24),i["ɵɵelementEnd"](),i["ɵɵtext"](25,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](26,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](27,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](28,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("bxPreviewIndicator",t.card),i["ɵɵattribute"]("data-notIn-subdivisions",t.getNotInSubdivisionList()),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.playIconShouldBeDisplayed()),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.infoIconShouldBeDisplayed()),i["ɵɵadvance"](2),i["ɵɵproperty"]("href",t.href,i["ɵɵsanitizeUrl"]),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngIf",t.card.customBadge),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.isFreeGamesEnabled),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.isJackpotEnabled),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.cardConfig.imgGame),i["ɵɵadvance"](2),i["ɵɵproperty"]("src",t.card.cardImage,i["ɵɵsanitizeUrl"])("defaultImage",t.defaultImage)("ngClass",i["ɵɵpureFunction1"](15,H,t.cardConfig.imgGame)),i["ɵɵattribute"]("alt",t.card.name),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngIf",t.card.gamePrice&&t.cardConfig.gamePrice),i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"]("\n                        ",t.card.name,"\n                    "))},directives:[v.e,b.Z,y.NgIf,S.t,y.NgClass,C.P,x.d,P,j],encapsulation:2}),e})()},16424:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.playOverlay=!0,this.imgGame=!1,this.newGame=!1,this.gamePrice=!1,this.quickPlayEnabled=!1,this.removeRealPracticeOverlay=!1,this.thumbnailColor="",this.defaultImageColor=""}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},84177:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.realCtaClass="",this.practiceCtaClass="",this.stickyRealCtaClass="",this.stickyPracticeCtaClass=""}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},24213:(e,t,n)=>{"use strict";n.d(t,{f:()=>s}),n(73753);var i=n(90388),r=n(42998),o=n(4788),a=n(57826);let s=(()=>{class e{constructor(e,t){this.gameService=e,this.contentNotFoundHandler=t}resolve(e,t){let n=e.params.slug;return this.gameService.getGame(n).pipe((0,r.catchError)((e=>this.contentNotFoundHandler.resolveContentNotFoundOrThrow(e))))}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](o.GH),a["ɵɵinject"](i.B))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},1697:(e,t,n)=>{"use strict";n.d(t,{k:()=>u});var i=n(24092),r=n(52770),o=n(78519),a=n(30173),s=n(32209),c=n(4e3),l=n(80112),d=n(57826);let u=(()=>{class e{constructor(e,t){this.deviceService=e,this.urlPrefixService=t}mapGame(e){let t=new i.C;t.name=e.fields.title.value,t.cardImage=e.fields.cardImage.value,t.id=this.mapGameId(e.fields),t.slug=e.slug,t.category=e.category,t.newGame=e.fields.newGame?e.fields.newGame.value:null,t.gamePrice=e.fields.gamePrice?e.fields.gamePrice.value:null;let n=e.fields.subcategory;return"string"==typeof n?t.subCategory=n:n&&(t.subCategory=n.slug||"",t.subCategoryName=n.name||""),t}mapGameDetail(e){let t=new i.C;return t.shortDescription=e.fields.shortDescription.value,t.longDescription=e.fields.longDescription.value,t.pageImage=this.urlPrefixService.addUrlPrefix(e.fields.pageImage.value),t}mergeGame(e,t){let n=new i.C;return n.name=e.name,n.cardImage=e.cardImage,n.slug=e.slug,n.id=e.id,n.category=e.category,n.subCategory=e.subCategory,n.subCategoryName=e.subCategoryName,n.shortDescription=t.shortDescription,n.longDescription=t.longDescription,n.pageImage=t.pageImage,n}mapCategories(e){return e.value||[]}mapCategory(e){let t=new r.b;return t.name=e.fields.name.value,t.title=e.fields.title?e.fields.title.value:"",t.id=e.fields.id.value,t.slug=e.slug,t.status=e.status,t}mapTab(e){let t=new o.O;return t.name=e.name,t.title=e.title,t.active=!1,t.hasSubTab=e.subCategories&&e.subCategories.length>0,t.slug=e.slug,t.draft="draft"===e.status,t}mapSubTab(e){let t=new c.O;return t.name=e.name,t.title=e.title,t.active=!1,t.slug=e.slug,t.draft="draft"===e.status,t}mapSubCategoryList(e){return e.fields&&e.fields.subCategories&&e.fields.subCategories.value||[]}mapSubCategory(e){let t=new s.j;return t.id=e.fields.id.value,t.name=e.fields.name.value,t.title=e.fields.title?e.fields.title.value:"",t.slug=e.slug,t.status=e.status,t}mapGameList(e){return e.value}mapGamesFromCategory(e){return e.fields.games.value}mapGameId(e){let t=this.deviceService.isDesktop()?e.gameIdDesktop:e.gameIdMobile;return t?t.value:null}}return e.ɵfac=function(t){return new(t||e)(d["ɵɵinject"](a.U),d["ɵɵinject"](l.z))},e.ɵprov=d["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},40879:(e,t,n)=>{"use strict";n.d(t,{L:()=>x});var i=n(6856),r=n(73753),o=n(95556),a=n(84704),s=n(93996),c=n(51576),l=n(46333),d=n(63749),u=n(36873),p=n(70570),h=n(22291),m=n(73502),f=n(34725),g=n(90331),v=n(40821),b=n(21342),y=n(64417),S=n(31018),C=n(57826);let x=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=C["ɵɵdefineNgModule"]({type:e}),e.ɵinj=C["ɵɵdefineInjector"]({providers:[S.E],imports:[[o.ny,b.C,l.d,a.a,s.M,c.d,i.CommonModule,u.U8,r.RouterModule,h.$Q,f.x,g.l,v.o,p.k,m.D,y.L,d.m]]}),e})()},36330:(e,t,n)=>{"use strict";n.d(t,{$:()=>P});var i=n(57826),r=n(22291),o=n(4788),a=n(69348),s=n(24213),c=n(16424),l=n(1697),d=n(62875),u=n(17210),p=n(92557),h=n(64762),m=n(70025),f=n(25300),g=n(63253),v=n(80112),b=n(27218);let y=class extends m.Xe{constructor(e,t){super(e,t),this.urlPrefixService=e,this.gameUrlService=t}matcher(e){return e.contentType===f.z.CASINO_GAME_PAGE}createLink(e){let t=g(["fields","category","slug"],e)||"",n=g(["fields","subcategory","slug"],e)||"",i=this.getUriSuffix(e);return this.gameUrlService.getUrl(t,i,n)}getUriSuffix(e){let t=e.slugname||e.slug||g(["fields","slug"],e);return g(["fields","uriSuffix"],e)||t}};y.ɵfac=function(e){return new(e||y)(i["ɵɵinject"](v.z),i["ɵɵinject"](b.X))},y.ɵprov=i["ɵɵdefineInjectable"]({token:y,factory:y.ɵfac}),y=(0,h.__decorate)([(0,m.ST)(),(0,h.__metadata)("design:paramtypes",[v.z,b.X])],y);var S=n(73753),C=n(42998);let x=(()=>{class e{constructor(e,t,n){this.gameService=e,this.gameUrlService=t,this.router=n}canActivate(e){const t=e.params.gameId;return this.getGameCategoryAndSlug(+t)}getGameCategoryAndSlug(e){return this.gameService.getGameCardById(e).pipe((0,C.map)((e=>(e&&this.router.navigate(this.gameUrlService.getPathList(e.category,e.slug,e.subCategory)),!1))))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](o.GH),i["ɵɵinject"](b.X),i["ɵɵinject"](S.Router))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var I=n(84177),w=n(90785),E=n(25007),T=n(20693);let P=(()=>{class e{static forRoot(){return{ngModule:e,providers:[x,o.GH,s.f,d.c,T.L,l.k,u.z,y,r.AJ,p.K,c.e,a.V,I.C,w.nA,E.O]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[]]}),e})()},4788:(e,t,n)=>{"use strict";n.d(t,{GH:()=>j});var i=n(6856),r=n(23550),o=n(57826),a=n(73753),s=n(95556),c=n(16462),l=n(22274),d=n(43431),u=n(30173),p=n(49379),h=n(36957),m=n(81899),f=n(50371),g=n(48108),v=n(45965),b=n(26626),y=n(92947),S=n(27218),C=n(92920),x=n(63253),I=n(49765),w=n(4309),E=n(42998),T=n(17210),P=n(1697),A=n(52770);class _{}var M=n(62875),O=n(69682);const k="gamecardlist.lastPlayed";class j{constructor(e,t,n,i,r,o,a,s,c,l,d,u,p,h,m,f,g,v,b,y,S){this.http=e,this.router=t,this.locationStrategy=n,this.windowService=i,this.sessionService=r,this.deviceService=o,this.channelTypeService=a,this.gamecardMapper=s,this.gamecardCmsMapper=c,this.languageService=l,this.contentService=d,this.cmsFeatureFlagService=u,this.gameMostPlayedService=p,this.profileService=h,this.routesToolsService=m,this.siteConfigService=f,this.hostnameService=g,this.global=v,this.linkTrackService=b,this.gameUrlService=y,this.platformId=S,this.casinoConfigProp="casino",this.allGamesCache={},this.allGamesCategoriesCache={},this.allGamesCarouselCache={},this.gameDetailsCache={},this.gameCacheUrl=new Map,this.casinoServiceUrl="/services/casino/casino-lobby-services",this.recentGamesUrl=`${this.casinoServiceUrl}/recentgames`,this.playUrl=e=>`${this.casinoServiceUrl}/games/${e}/url`,this.languageService.getLanguage().subscribe((e=>this.language=e)),this.cmsFeatureFlagService.isSectionEnabled(j.SECTION)?this.mapper=this.gamecardCmsMapper:(this.gameCategoriesJSON=this.global.nativeGlobal.gameCategories,this.allGamesJSON=this.global.nativeGlobal.allGames,this.mapper=this.gamecardMapper),this.listenContentFromCasinoLinks(),this.sessionService.sessionObserver.subscribe((e=>{this.currencyCached&&!e.isAuthenticated&&(this.currencyCached=void 0)}))}getGame(e){return(0,w.forkJoin)([this.getGameCard(e),this.getGameDetail(e)]).pipe((0,E.map)((e=>this.mapper.mergeGame(e[0],e[1]))))}getGameCategories(){let e={};return this.gameCategoriesJSON&&!C(this.gameCategoriesJSON)?this.allGamesCategoriesCache[this.language]=this.getGameCategoriesByJSON(this.gameCategoriesJSON).pipe((0,E.publishReplay)(1),(0,E.refCount)()):(this.cmsFeatureFlagService.isSectionEnabled(j.SECTION)&&(e.filter=j.CMS_CATEGORY_FILTER),this.allGamesCategoriesCache[this.language]||(this.allGamesCategoriesCache[this.language]=this.getGameCategoriesByUrl("game-categories",e).pipe((0,E.publishReplay)(1),(0,E.refCount)()))),this.allGamesCategoriesCache[this.language]}getGameCarousel(e){this.allGamesCarouselCache[this.language]=this.getGameCategoriesByJSON(e,this.gamecardMapper).pipe((0,E.publishReplay)(1),(0,E.refCount)());const t=this.getGameMostPlayed(),n=this.getGameLastPlayed();return(0,w.forkJoin)(this.allGamesCarouselCache[this.language],t,n).pipe((0,E.map)((e=>[...e[0],e[1],e[2]])))}getGameUrl(e,t,n,i){const o=`${e}|${n}|practice`;return"practice"===i&&this.gameCacheUrl.has(o)?(0,w.of)(this.gameCacheUrl.get(o)):this.getPlayerCurrency().pipe((0,E.mergeMap)((a=>{let s={params:this.getGameUrlParams(e,t,n,i,a),withCredentials:"real"===i,headers:new r.HttpHeaders};return"real"===i&&(s.headers=s.headers.set("X-SessionId",this.sessionService.session)),(0,w.defer)((()=>this.getGameCard(n).pipe((0,E.map)((e=>e.id))))).pipe((0,E.mergeMap)((e=>this.http.get(this.playUrl(e),s).pipe((0,E.map)((e=>{const t=e.url;return"practice"===i&&(this.gameCacheUrl.clear(),this.gameCacheUrl.set(o,t)),t})),(0,E.catchError)((e=>(0,w.throwError)(e)))))))})))}getGameList(e){return(0,w.from)(e).pipe((0,E.mergeMap)((e=>this.getGameCard(e).pipe((0,E.filter)((e=>!!e&&!!e.id)),(0,E.catchError)((e=>(0,w.throwError)(e)))))),(0,E.toArray)())}getGameCard(e){return e=this.routesToolsService.getPath(e),this.getAllGames().pipe((0,E.map)((t=>t.filter((t=>t.slug===e))[0])))}mapGameDetails(e){return this.mapper.mapGameDetail(e)}getGameCardById(e){return this.getAllGames().pipe((0,E.map)((t=>t.filter((t=>+t.id===e))[0])))}getGameDetail(e){let t=e=this.routesToolsService.getPath(e),n="";return this.cmsFeatureFlagService.isSectionEnabled(j.SECTION)?n=j.CMS_GAME_CONTENT_TYPE:t=`casino/${t}`,this.gameDetailsCache[t]||(this.gameDetailsCache[t]=this.contentService.getContentByUriSuffix(t,j.SECTION,n).pipe((0,E.take)(1),(0,E.map)((e=>this.mapper.mapGameDetail(e))))),this.gameDetailsCache[t]}getGameMostPlayed(){let e=this.gameMostPlayedService.getAll(),t=new A.b;return t.name=M.c.MOST_PLAYED_NAME,t.slug=M.c.MOST_PLAYED_SLUG,this.sessionService.isAuthenticated()?(0,w.of)(e).pipe((0,E.switchMap)((e=>(0,w.from)(e).pipe((0,E.concatMap)((e=>this.getGameCardById(e.id))),(0,E.filter)((e=>e&&null!==e.id)),(0,E.toArray)(),(0,E.map)((e=>(t.games=e,t)))))),(0,E.catchError)((()=>this.emptyGameCategories(t)))):this.emptyGameCategories(t)}getGameLastPlayedFlags(){return this.sessionService.isAuthenticated()?this.getLastPlayedFromCasino().pipe((0,E.switchMap)((e=>C(e)?this.getCategoryFlagsForLastPlayed():this.getCategoryFlagsForLastPlayed({hasGames:!0}))),(0,E.catchError)((()=>this.getCategoryFlagsForLastPlayed()))):this.getCategoryFlagsForLastPlayed()}getGameMostPlayedFlags(){if(this.sessionService.isAuthenticated())try{return C(this.gameMostPlayedService.getAll())?this.getCategoryFlagsForMostPlayed():this.getCategoryFlagsForMostPlayed({hasGames:!0})}catch(e){return this.getCategoryFlagsForMostPlayed()}return this.getCategoryFlagsForMostPlayed()}getCategoryFlagsForLastPlayed({hasGames:e}={hasGames:!1}){return(0,w.of)(this.getDefaultCategoryFlagsForLastPlayed({hasGames:e}))}getDefaultCategoryFlagsForLastPlayed({hasGames:e}={hasGames:!1}){let t=new _;return t.name=k,t.hasGames=e,t}getCategoryFlagsForMostPlayed({hasGames:e}={hasGames:!1}){return(0,w.of)(this.getDefaultCategoryFlagsForMostPlayed({hasGames:e}))}getDefaultCategoryFlagsForMostPlayed({hasGames:e}={hasGames:!1}){let t=new _;return t.name=M.c.MOST_PLAYED_NAME,t.hasGames=e,t}getGameLastPlayed(){let e=new A.b;return e.name=k,e.slug="last-played",this.sessionService.isAuthenticated()?this.getLastPlayedFromCasino().pipe((0,E.switchMap)((t=>(0,w.from)(t).pipe((0,E.concatMap)((e=>this.getGameCardById(e.gameId))),(0,E.filter)((e=>e&&null!==e.id)),(0,E.toArray)(),(0,E.map)((t=>(e.games=t,e)))))),(0,E.catchError)((()=>this.emptyGameCategories(e)))):this.emptyGameCategories(e)}getLastPlayedFromCasino(){let e={headers:new r.HttpHeaders({"X-SessionId":this.sessionService.session}),withCredentials:!0};return this.http.get(this.recentGamesUrl,e)}emptyGameCategories(e){return e.games=[],(0,w.of)(e)}getGameCategoriesByUrl(e,t){return this.contentService.getContentBySlug(e,j.SECTION,t).pipe((0,E.take)(1),(0,E.concatMap)((e=>(0,w.from)(this.mapper.mapCategories(e)))),(0,E.concatMap)((e=>this.buildGameCategory(e))),(0,E.toArray)())}getGameCategoriesByJSON(e,t){return t=t||this.mapper,(0,w.from)(t.mapCategories(e)).pipe((0,E.concatMap)((e=>this.buildGameCategory(e,t))),(0,E.toArray)())}buildGameCategory(e,t){let n=(t=t||this.mapper).mapCategory(e),i=t.mapSubCategoryList(e);return C(i)?this.getAllGameCards(t.mapGamesFromCategory(e)).pipe((0,E.map)((e=>(n.games=e.map((e=>(e.category=e.category||n.slug,e))),n)))):(0,w.from)(i).pipe((0,E.concatMap)((e=>{let n;return n=t.mapSubCategory(e),this.getAllGameCards(t.mapGamesFromCategory(e)).pipe((0,E.map)((t=>(n.games=t.map((t=>(t.category=t.category||e.slug,t))),n))))})),(0,E.toArray)(),(0,E.map)((e=>(n.subCategories=e,n))))}getAllGameCards(e){return this.getAllGames().pipe((0,E.map)((t=>t.filter((t=>!!(t&&t.id&&e.includes(t.slug)))).sort(((t,n)=>e.indexOf(t.slug)>e.indexOf(n.slug)?1:-1)))))}getGameUrlParams(e,t,n,r,o){let a,s,c,l=this.channelTypeService.getChannelType(),d=this.deviceService.getDeviceType(),u="";const p=this.siteConfigService.getSiteConfigProp("urlPrefix"),h=(p?`/${p}`:"")+"/account/cashier/deposit";if("desktop"!==d){n=I("#practice","",n);let r=this.getMultilingualRouterUrl(this.gameUrlService.getPathList(e,n,t),{fragment:"real"}),o=encodeURIComponent(r);const l="destination="+o;a=(0,i.isPlatformBrowser)(this.platformId)?this.windowService.location().origin:"",s=`${a}${this.getMultilingualRouterUrl([h])}?${l}`,c=`${a}${o}`,u=`${a}${this.getMultilingualRouterUrl(["/join"])}`}let m=this.siteConfigService.getSiteConfigProp(this.casinoConfigProp);const f=this.siteConfigService.getSiteConfigProp("brandCode"),g=this.siteConfigService.getSiteConfigProp("territory")||"DEFAULT",v=`https://${this.hostnameService.hostname}`,b=`${v}${h}`,y="live-dealer"===e?`${v}/${this.casinoConfigProp}/${e}`:`${v}/${this.casinoConfigProp}`,S=`https://${this.siteConfigService.getSiteConfigProp(this.casinoConfigProp).gameSubdomain}.${(0,i.isPlatformBrowser)(this.platformId)?this.windowService.getHostnameWithoutWWW():""}`,C=JSON.stringify({brandCode:f,territory:g,hostOrigin:v,cashierUrl:b,homeUrl:y,minigames:this.siteConfigService.hasFeature("casino.live-dealer.minigames.enabled"),miniGamesHostOrigin:S,apmUrl:this.siteConfigService.getSiteConfigProp("apmUri")||""});return new O.O(o,r,this.language,l,a,s,c,u,m.gameSubdomain,C).toParams()}getMultilingualRouterUrl(e,t){const n=this.router.createUrlTree(e,t);return this.locationStrategy.prepareExternalUrl(this.router.serializeUrl(n))}getAllGames(){return this.allGamesCache[this.language]||(this.allGamesCache[this.language]=(0,w.defer)((()=>{let e="games",t="",n={};return this.allGamesJSON&&!C(this.allGamesJSON)?(0,w.of)(this.mapper.mapGameList(this.allGamesJSON).map((e=>this.mapper.mapGame(e)))):(this.cmsFeatureFlagService.isSectionEnabled(j.SECTION)&&(e="",t=j.CMS_GAME_CONTENT_TYPE,n.filter=j.CMS_GAME_FILTER),this.contentService.getContentByType(t,j.SECTION,n,e).pipe((0,E.map)((e=>this.mapper.mapGameList(e).map((e=>this.mapper.mapGame(e)))))))})).pipe((0,E.publishReplay)(1,j.ALL_GAMES_CACHE_TTL),(0,E.refCount)(),(0,E.take)(1),(0,E.map)((e=>{if(e instanceof Error)throw e;return e})))),this.allGamesCache[this.language]}getGamesByCategories(e){return this.getGameCategoriesBySlug(e).pipe((0,E.concatMap)((e=>(0,w.from)(e))),(0,E.filter)((e=>"all-games"!==e.slug)),(0,E.reduce)(((e,t)=>[...e,...t.games||this.flattenGames(t.subCategories)]),[]),(0,E.map)((e=>e.filter(((e,t,n)=>n.findIndex((t=>t.id===e.id))===t)))))}flattenGames(e){let t=[];return e&&e.forEach((e=>{e.games&&e.games.forEach((e=>{t.find((t=>t.name===e.name))||t.push(e)}))})),t}getGameCategoriesBySlug(e){return this.contentService.getContentBySlug(e,j.SECTION,{}).pipe((0,E.take)(1),(0,E.concatMap)((e=>(0,w.from)(this.mapper.mapCategories(e)))),(0,E.concatMap)((e=>this.buildGameCategory(e))),(0,E.toArray)())}getPlayerCurrency(){if(this.currencyCached)return(0,w.of)(this.currencyCached);{const e=this.siteConfigService.getSiteConfigProp("defaultCurrency");return this.profileService.getProfileDetailsPlayer().pipe((0,E.map)((e=>{if(!e.attributes.currency)throw"no currency";return this.currencyCached=e.attributes.currency,this.currencyCached})),(0,E.catchError)((()=>(0,w.empty)())),(0,E.defaultIfEmpty)(e||j.DEFAULT_CURRENCY))}}listenContentFromCasinoLinks(){this.gameLinkCmsContent$=this.contentService.events.pipe((0,E.filter)((e=>{const t=x(["fields","game_id"])(e),n=t&&t[0]&&t[0].id;return Boolean(n)})),(0,E.switchMap)((e=>(0,w.of)(this.linkTrackService.getLinkClicked()&&e))),(0,E.shareReplay)(1)),this.gameLinkCmsContent$.subscribe()}get gameLinkCmsContentEvents(){return this.gameLinkCmsContent$}}j.ALL_GAMES_CACHE_TTL=Number.POSITIVE_INFINITY,j.DEFAULT_CURRENCY="USD",j.SECTION="games",j.CMS_GAME_FILTER="game",j.CMS_CATEGORY_FILTER="gameslug",j.CMS_GAME_CONTENT_TYPE="casino_game_page",j.ɵfac=function(e){return new(e||j)(o["ɵɵinject"](r.HttpClient),o["ɵɵinject"](a.Router),o["ɵɵinject"](i.LocationStrategy),o["ɵɵinject"](m.u),o["ɵɵinject"](s.mj),o["ɵɵinject"](u.U),o["ɵɵinject"](l.x),o["ɵɵinject"](P.k),o["ɵɵinject"](T.z),o["ɵɵinject"](g.T),o["ɵɵinject"](c._),o["ɵɵinject"](d.u),o["ɵɵinject"](M.c),o["ɵɵinject"](y.H),o["ɵɵinject"](h.T),o["ɵɵinject"](v.r),o["ɵɵinject"](p.M),o["ɵɵinject"](f.w),o["ɵɵinject"](b.j),o["ɵɵinject"](S.X),o["ɵɵinject"](o.PLATFORM_ID))},j.ɵprov=o["ɵɵdefineInjectable"]({token:j,factory:j.ɵfac})},20693:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var i=n(73753),r=n(42998),o=n(55073),a=n(39926),s=n(57826);let c=(()=>{class e{constructor(e,t,n){this.gamecardService=e,this.subdivisionService=t,this.router=n}canActivate(e){return this.gamecardService.getGameCard(e.params.slug).pipe((0,r.map)((e=>!this.gamecardBlockedInCurrentSubdivision(e)||this.router.parseUrl("/content-not-available-in-your-region"))))}gamecardBlockedInCurrentSubdivision(e){const t=this.subdivisionService.getCurrentSubdivisionId();return e&&e.notInFilter&&e.notInFilter.countrySubdivision&&e.notInFilter.countrySubdivision.includes(t)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](a.GH),s["ɵɵinject"](o.F),s["ɵɵinject"](i.Router))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},4e3:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});class i{constructor(){this.active=!1}}},78519:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});class i{constructor(){this.active=!1,this.hasSubTab=!1}}},39926:(e,t,n)=>{"use strict";n.d(t,{CB:()=>i.C,z_:()=>R.z,Ic:()=>r.I,cA:()=>N,fe:()=>D.f,B$:()=>V,Lw:()=>L.L,GH:()=>m.GH,LF:()=>G.L});var i=n(24092),r=n(83502),o=n(57826),a=n(6856),s=n(73753),c=n(15982),l=n(95556),d=n(22291),u=n(16424),p=n(84177),h=n(27218),m=n(4788),f=n(3336),g=n(81899),v=n(31018),b=n(32716),y=n(79952),S=n(86014),C=n(96940);const x=["gameShortDescritpion"],I=["cta"],w=function(e){return[e]};function E(e,t){if(1&e){const e=o["ɵɵgetCurrentView"]();o["ɵɵelementStart"](0,"button",12,6),o["ɵɵlistener"]("click",(function(){return o["ɵɵrestoreView"](e),o["ɵɵnextContext"]().play("practice")})),o["ɵɵtext"](2,"gamecard.play_practice"),o["ɵɵelementEnd"]()}if(2&e){const e=o["ɵɵnextContext"]();o["ɵɵproperty"]("ngClass",o["ɵɵpureFunction1"](1,w,(null==e.detailConfig?null:e.detailConfig.practiceCtaClass)||"tertiary inverse"))}}function T(e,t){if(1&e){const e=o["ɵɵgetCurrentView"]();o["ɵɵelementStart"](0,"div",13),o["ɵɵlistener"]("click",(function(){return o["ɵɵrestoreView"](e),o["ɵɵnextContext"]().displayLongDescription()})),o["ɵɵtext"](1,"gamecard.showLongDescription"),o["ɵɵelementEnd"]()}}function P(e,t){if(1&e){const e=o["ɵɵgetCurrentView"]();o["ɵɵelementStart"](0,"div",20),o["ɵɵtext"](1,"\n                        "),o["ɵɵelementStart"](2,"a",18,6),o["ɵɵlistener"]("click",(function(){return o["ɵɵrestoreView"](e),o["ɵɵnextContext"](2).play("practice")})),o["ɵɵtext"](4,"gamecard.play_practice_sticky"),o["ɵɵelementEnd"](),o["ɵɵtext"](5,"\n                    "),o["ɵɵelementEnd"]()}if(2&e){const e=o["ɵɵnextContext"](2);o["ɵɵadvance"](2),o["ɵɵproperty"]("ngClass",o["ɵɵpureFunction1"](1,w,(null==e.detailConfig?null:e.detailConfig.stickyPracticeCtaClass)||"tertiary"))}}const A=function(e,t){return{"col-2-3":e,"col-3-3":t}};function _(e,t){if(1&e){const e=o["ɵɵgetCurrentView"]();o["ɵɵelementStart"](0,"div",14),o["ɵɵtext"](1,"\n\n                "),o["ɵɵelement"](2,"div",15),o["ɵɵpipe"](3,"bxTrustyHtml"),o["ɵɵtext"](4,"\n\n                "),o["ɵɵelementStart"](5,"footer",16),o["ɵɵtext"](6,"\n                    "),o["ɵɵelementStart"](7,"div",17),o["ɵɵtext"](8,"\n                        "),o["ɵɵelementStart"](9,"a",18,6),o["ɵɵlistener"]("click",(function(){return o["ɵɵrestoreView"](e),o["ɵɵnextContext"]().play("real")})),o["ɵɵtext"](11,"gamecard.play_real_sticky"),o["ɵɵelementEnd"](),o["ɵɵtext"](12,"\n                    "),o["ɵɵelementEnd"](),o["ɵɵtext"](13,"\n\n                    "),o["ɵɵtemplate"](14,P,6,3,"div",19),o["ɵɵtext"](15,"\n                "),o["ɵɵelementEnd"](),o["ɵɵtext"](16,"\n\n            "),o["ɵɵelementEnd"]()}if(2&e){const e=o["ɵɵnextContext"]();o["ɵɵadvance"](2),o["ɵɵproperty"]("innerHTML",o["ɵɵpipeBind1"](3,6,null==e.game?null:e.game.longDescription),o["ɵɵsanitizeHtml"]),o["ɵɵadvance"](3),o["ɵɵclassProp"]("sticky-footer-appear",e.stickyCtaAppear),o["ɵɵadvance"](2),o["ɵɵproperty"]("ngClass",o["ɵɵpureFunction2"](8,A,e.showPractice,!e.showPractice)),o["ɵɵadvance"](2),o["ɵɵproperty"]("ngClass",o["ɵɵpureFunction1"](11,w,(null==e.detailConfig?null:e.detailConfig.stickyRealCtaClass)||"primary")),o["ɵɵadvance"](5),o["ɵɵproperty"]("ngIf",e.showPractice)}}const M=["*"];let O=(()=>{class e{constructor(e,t,n,i,r,o,a,s,c,l,d,u,p,h,m){this.route=e,this.router=t,this.gameService=n,this.sessionService=i,this.imageService=r,this.document=o,this.meta=a,this.domSanitizer=s,this.cardConfig=c,this.detailConfig=l,this.analyticsService=d,this.windowService=u,this.noDblClickService=p,this.gameUrlService=h,this.platformId=m,this.altText="",this.showPractice=!0,this.realPlayButtonClass="",this.stickyCtaAppear=!1,this.fromUniversal=!1,this.modalOverlay=this.document.querySelector(".modal-overlay")}ngAfterViewInit(){(0,a.isPlatformBrowser)(this.platformId)&&this.setTimeoutForAllButtons()}setTimeoutForAllButtons(){this.ctas.forEach((t=>{this.noDblClickService.setTimeout(t.nativeElement,e.DEFAULT_TIMEOUT)}))}ngOnInit(){this.initTimestamp=Date.now(),this.realPlayButtonClass=this.detailConfig&&this.detailConfig.realCtaClass?this.detailConfig.realCtaClass:"primary",this.route.data.subscribe((e=>{this.game=e.game;let t=document.createElement("div");t.innerHTML=this.game.shortDescription,this.altText=t.innerText,t=null,this.showPractice=(void 0===e.showPractice||"true"===e.showPractice)&&"live-dealer"!=this.game.category,this.showLongDescription="true"===e.showLongDescription,this.realPlayButtonClass+=this.showPractice?" play-real-button":" play-real-button-full",this.setPreloadGameResourcesUrl()})),this.meta.addTag({name:"robots",content:"noindex,nofollow"}),this.modalOverlay&&this.modalOverlay.addEventListener("scroll",this.onScroll.bind(this),!1)}ngOnDestroy(){this.modalOverlay&&this.modalOverlay.removeEventListener("scroll",this.onScroll.bind(this),!1)}onScroll(e){if(!this.gameShortDescription)return;let t=this.gameShortDescription.nativeElement.getBoundingClientRect();this.stickyCtaAppear=-1*t.top>t.height}trackData(){return{33:JSON.stringify({game:this.game.id}),5:((Date.now()-this.initTimestamp)/1e3).toFixed(2)}}refersToIndexHtml(e){return!!e.match(/index\.html/)||!!e.match(/\/\?/)||!!e.match(/\/$/)}play(e){if(this.router.onSameUrlNavigation="reload",this.analyticsService.trackCardClick("gameDescription",!0,this.trackData()),this.cardConfig.quickPlayEnabled)this.router.navigate(this.gameUrlService.getPathList(this.game.category,this.game.slug,this.game.subCategory),{queryParams:{quickPlay:!0}});else if("real"==e){let e={fragment:"real"};this.sessionService.isAuthenticated()||(e.queryParams={closeUrl:this.router.url}),this.router.navigate(this.gameUrlService.getPathList(this.game.category,this.game.slug,this.game.subCategory),e)}else this.router.navigate(this.gameUrlService.getPathList(this.game.category,this.game.slug,this.game.subCategory),{fragment:"practice"})}displayLongDescription(){this.showLongDescription=!0}setPreloadGameResourcesUrl(){const{category:e,subCategory:t,slug:n}=this.game;URL&&this.gameService.getGameUrl(e,t,n,"practice").subscribe((e=>{try{const t=new URL(e),n=t.origin+t.pathname,i=n.substring(0,n.lastIndexOf("/"));let r=this.windowService.location().hostname.replace("www.","").split(".");r.length>=3&&r.shift();let o=r.join(".");if(-1!==t.hostname.indexOf(o))if(this.refersToIndexHtml(e)){const e=`${i}/prefetch.html${t.search}`;this.preloadUrl=this.domSanitizer.bypassSecurityTrustResourceUrl(e)}else{const n=`${e}${t.search?"&":"?"}prefetch=true`;this.preloadUrl=this.domSanitizer.bypassSecurityTrustResourceUrl(n)}else this.preloadUrl=this.domSanitizer.bypassSecurityTrustResourceUrl(e)}catch{}}),(()=>{}))}}return e.DEFAULT_TIMEOUT=1e4,e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](s.ActivatedRoute),o["ɵɵdirectiveInject"](s.Router),o["ɵɵdirectiveInject"](m.GH),o["ɵɵdirectiveInject"](l.mj),o["ɵɵdirectiveInject"](d.AJ),o["ɵɵdirectiveInject"](a.DOCUMENT),o["ɵɵdirectiveInject"](c.Meta),o["ɵɵdirectiveInject"](c.DomSanitizer),o["ɵɵdirectiveInject"](u.e),o["ɵɵdirectiveInject"](p.C),o["ɵɵdirectiveInject"](f.y),o["ɵɵdirectiveInject"](g.u),o["ɵɵdirectiveInject"](v.E),o["ɵɵdirectiveInject"](h.X),o["ɵɵdirectiveInject"](o.PLATFORM_ID))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["bx-game-detail"]],viewQuery:function(e,t){if(1&e&&(o["ɵɵviewQuery"](x,5),o["ɵɵviewQuery"](I,5)),2&e){let e;o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.gameShortDescription=e.first),o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.ctas=e)}},inputs:{game:"game"},ngContentSelectors:M,decls:30,vars:11,consts:[[1,"game-detail",3,"bxPreviewIndicator"],[2,"width","0","height","0","border","0","border","none","position","absolute",3,"src"],["bxImage","",1,"responsive",3,"alt","src","defaultImage"],["role","heading",1,"h2-heading","game-title"],[1,"play-buttons"],["type","button",1,"custom-cta",3,"ngClass","bxTranslate","click"],["cta",""],["type","button","class","play-practice-button custom-cta",3,"ngClass","bxTranslate","click",4,"ngIf"],[1,"game-short-description"],["gameShortDescritpion",""],["class","show-long-description",3,"bxTranslate","click",4,"ngIf"],["class","game-full-description-text",4,"ngIf"],["type","button",1,"play-practice-button","custom-cta",3,"ngClass","bxTranslate","click"],[1,"show-long-description",3,"bxTranslate","click"],[1,"game-full-description-text"],[3,"innerHTML"],[1,"sticky-footer","navbar-fixed-bottom","row"],[3,"ngClass"],["role","button",1,"custom-cta",3,"ngClass","bxTranslate","click"],["class","col-1-3",4,"ngIf"],[1,"col-1-3"]],template:function(e,t){1&e&&(o["ɵɵprojectionDef"](),o["ɵɵtext"](0,"\n        "),o["ɵɵelementStart"](1,"div",0),o["ɵɵtext"](2,"\n\n            "),o["ɵɵelement"](3,"iframe",1),o["ɵɵtext"](4,"\n\n            "),o["ɵɵprojection"](5),o["ɵɵtext"](6,"\n            "),o["ɵɵelement"](7,"img",2),o["ɵɵtext"](8,"\n\n            "),o["ɵɵelementStart"](9,"h1",3),o["ɵɵtext"](10),o["ɵɵelementEnd"](),o["ɵɵtext"](11,"\n\n            "),o["ɵɵelementStart"](12,"div",4),o["ɵɵtext"](13,"\n                "),o["ɵɵelementStart"](14,"button",5,6),o["ɵɵlistener"]("click",(function(){return t.play("real")})),o["ɵɵtext"](16,"gamecard.play_real"),o["ɵɵelementEnd"](),o["ɵɵtext"](17,"\n                "),o["ɵɵtemplate"](18,E,3,3,"button",7),o["ɵɵtext"](19,"\n            "),o["ɵɵelementEnd"](),o["ɵɵtext"](20,"\n\n            "),o["ɵɵelementStart"](21,"p",8,9),o["ɵɵtext"](23),o["ɵɵelementEnd"](),o["ɵɵtext"](24,"\n\n            "),o["ɵɵtemplate"](25,T,2,0,"div",10),o["ɵɵtext"](26,"\n\n            "),o["ɵɵtemplate"](27,_,17,13,"div",11),o["ɵɵtext"](28,"\n        "),o["ɵɵelementEnd"](),o["ɵɵtext"](29,"\n    ")),2&e&&(o["ɵɵadvance"](1),o["ɵɵproperty"]("bxPreviewIndicator",t.game),o["ɵɵadvance"](2),o["ɵɵproperty"]("src",t.preloadUrl,o["ɵɵsanitizeResourceUrl"]),o["ɵɵadvance"](4),o["ɵɵpropertyInterpolate"]("alt",t.altText),o["ɵɵproperty"]("src",null==t.game?null:t.game.pageImage,o["ɵɵsanitizeUrl"])("defaultImage",t.imageService.getPlaceholderImage(862,350,"transparent")),o["ɵɵadvance"](3),o["ɵɵtextInterpolate"](null==t.game?null:t.game.name),o["ɵɵadvance"](4),o["ɵɵproperty"]("ngClass",t.realPlayButtonClass),o["ɵɵadvance"](4),o["ɵɵproperty"]("ngIf",t.showPractice),o["ɵɵadvance"](5),o["ɵɵtextInterpolate"](null==t.game?null:t.game.shortDescription),o["ɵɵadvance"](2),o["ɵɵproperty"]("ngIf",!t.showLongDescription),o["ɵɵadvance"](2),o["ɵɵproperty"]("ngIf",t.showLongDescription))},directives:[b.Z,y.t,a.NgClass,S.P,a.NgIf],pipes:[C.d],styles:['.game-detail[_ngcontent-%COMP%] {\n  background: black;\n  color: white;\n  position: relative; }\n\n[_nghost-%COMP%]  .modal-header {\n  position: absolute;\n  right: 0;\n  padding: 0 !important;\n  top: 0; }\n\n.game-detail[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n  padding: 2em; }\n\nimg.responsive[_ngcontent-%COMP%] {\n  width: 100%;\n  height: auto; }\n\n.sticky-footer[_ngcontent-%COMP%] {\n  bottom: -60px;\n  margin: 0 auto;\n  max-width: 768px;\n  transition: bottom 0.3s; }\n\n.sticky-footer.sticky-footer-appear[_ngcontent-%COMP%] {\n    bottom: 0; }\n\n.game-title[_ngcontent-%COMP%] {\n  margin-top: -15px;\n  max-width: 100%;\n  z-index: 1;\n  position: relative;\n  line-height: 30px;\n  text-align: center; }\n\n.game-title[_ngcontent-%COMP%]::before {\n  background-image: linear-gradient(transparent, #000);\n  content: "";\n  display: block;\n  height: 30px;\n  position: absolute;\n  top: -15px;\n  width: 100%;\n  z-index: -1;\n  box-sizing: border-box; }\n\n.play-real-button[_ngcontent-%COMP%] {\n  float: left;\n  margin-left: 5%;\n  margin-top: 1em; }\n\n.play-practice-button[_ngcontent-%COMP%] {\n  margin-top: 1em; }\n\n.game-short-description[_ngcontent-%COMP%] {\n  text-align: center; }\n\n.show-long-description[_ngcontent-%COMP%] {\n  text-align: center;\n  padding-bottom: 6px;\n  text-transform: uppercase;\n  cursor: pointer;\n  text-decoration: underline; }\n\n.game-full-description-text[_ngcontent-%COMP%] {\n  text-align: left;\n  background: #e6e6e6;\n  color: #404040;\n  font-size: 1.166em;\n  padding: 40px;\n  padding-bottom: 76px; }\n\n[_nghost-%COMP%]  .game-full-description-text h2 {\n  margin-top: 10px;\n  font-weight: 600;\n  font-size: 1.12em;\n  text-transform: uppercase; }\n\n[_nghost-%COMP%]  .game-full-description-text strong {\n  font-weight: 600;\n  margin-bottom: 10px; }\n\n[_nghost-%COMP%]  .game-full-description-text img.screenshot {\n  float: right;\n  width: 200px;\n  margin: 0 0 10px 10px; }\n\n[_nghost-%COMP%]  .game-full-description-text ul {\n  padding-left: 15px; }\n\n[_nghost-%COMP%]  .game-full-description-text li {\n  list-style-position: outside; }\n\n[_nghost-%COMP%]  .game-full-description-text td {\n  padding: 8px;\n  line-height: 1.42857143;\n  vertical-align: top;\n  border-top: 1px solid #ddd; }\n\n[_nghost-%COMP%]  .game-full-description-text table {\n  margin-top: 10px; }\n\n@media (max-width: 768px) {\n  .play-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] {\n    width: 80%;\n    margin-left: 10%; } }\n\n@media (min-width: 768px) {\n  .game-detail[_ngcontent-%COMP%] {\n    width: 768px; }\n  h2[_ngcontent-%COMP%] {\n    padding-top: 2.0em; }\n  .play-real-button[_ngcontent-%COMP%] {\n    width: 50%;\n    margin-left: 5%; }\n  .play-real-button-full[_ngcontent-%COMP%] {\n    width: 90%;\n    margin-left: 5%;\n    margin-top: 1em; }\n  .play-practice-button[_ngcontent-%COMP%] {\n    margin-left: 4%;\n    width: 35%; }\n  .sticky-footer[_ngcontent-%COMP%] {\n    position: absolute; } }']}),e})();var k=n(97637),j=n(84853);let N=(()=>{class e extends O{ngOnInit(){}}return e.ɵfac=function(){let t;return function(n){return(t||(t=o["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["bx-game-detail-overlay"]],features:[o["ɵɵInheritDefinitionFeature"]],decls:10,vars:0,consts:[["overlayType","large"],["staticNavHeader","true"]],template:function(e,t){1&e&&(o["ɵɵtext"](0,"\n        "),o["ɵɵelementStart"](1,"bx-overlay-container",0),o["ɵɵtext"](2,"\n            "),o["ɵɵelementStart"](3,"bx-game-detail"),o["ɵɵtext"](4,"\n                "),o["ɵɵelementStart"](5,"bx-overlay-header",1),o["ɵɵtext"](6,"\n                "),o["ɵɵelementEnd"](),o["ɵɵtext"](7,"\n            "),o["ɵɵelementEnd"](),o["ɵɵtext"](8,"\n        "),o["ɵɵelementEnd"](),o["ɵɵtext"](9,"\n    "))},directives:[k.l,O,j.z],styles:['.game-detail[_ngcontent-%COMP%] {\n  background: black;\n  color: white;\n  position: relative; }\n\n[_nghost-%COMP%]  .modal-header {\n  position: absolute;\n  right: 0;\n  padding: 0 !important;\n  top: 0; }\n\n.game-detail[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n  padding: 2em; }\n\nimg.responsive[_ngcontent-%COMP%] {\n  width: 100%;\n  height: auto; }\n\n.sticky-footer[_ngcontent-%COMP%] {\n  bottom: -60px;\n  margin: 0 auto;\n  max-width: 768px;\n  transition: bottom 0.3s; }\n\n.sticky-footer.sticky-footer-appear[_ngcontent-%COMP%] {\n    bottom: 0; }\n\n.game-title[_ngcontent-%COMP%] {\n  margin-top: -15px;\n  max-width: 100%;\n  z-index: 1;\n  position: relative;\n  line-height: 30px;\n  text-align: center; }\n\n.game-title[_ngcontent-%COMP%]::before {\n  background-image: linear-gradient(transparent, #000);\n  content: "";\n  display: block;\n  height: 30px;\n  position: absolute;\n  top: -15px;\n  width: 100%;\n  z-index: -1;\n  box-sizing: border-box; }\n\n.play-real-button[_ngcontent-%COMP%] {\n  float: left;\n  margin-left: 5%;\n  margin-top: 1em; }\n\n.play-practice-button[_ngcontent-%COMP%] {\n  margin-top: 1em; }\n\n.game-short-description[_ngcontent-%COMP%] {\n  text-align: center; }\n\n.show-long-description[_ngcontent-%COMP%] {\n  text-align: center;\n  padding-bottom: 6px;\n  text-transform: uppercase;\n  cursor: pointer;\n  text-decoration: underline; }\n\n.game-full-description-text[_ngcontent-%COMP%] {\n  text-align: left;\n  background: #e6e6e6;\n  color: #404040;\n  font-size: 1.166em;\n  padding: 40px;\n  padding-bottom: 76px; }\n\n[_nghost-%COMP%]  .game-full-description-text h2 {\n  margin-top: 10px;\n  font-weight: 600;\n  font-size: 1.12em;\n  text-transform: uppercase; }\n\n[_nghost-%COMP%]  .game-full-description-text strong {\n  font-weight: 600;\n  margin-bottom: 10px; }\n\n[_nghost-%COMP%]  .game-full-description-text img.screenshot {\n  float: right;\n  width: 200px;\n  margin: 0 0 10px 10px; }\n\n[_nghost-%COMP%]  .game-full-description-text ul {\n  padding-left: 15px; }\n\n[_nghost-%COMP%]  .game-full-description-text li {\n  list-style-position: outside; }\n\n[_nghost-%COMP%]  .game-full-description-text td {\n  padding: 8px;\n  line-height: 1.42857143;\n  vertical-align: top;\n  border-top: 1px solid #ddd; }\n\n[_nghost-%COMP%]  .game-full-description-text table {\n  margin-top: 10px; }\n\n@media (max-width: 768px) {\n  .play-buttons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%] {\n    width: 80%;\n    margin-left: 10%; } }\n\n@media (min-width: 768px) {\n  .game-detail[_ngcontent-%COMP%] {\n    width: 768px; }\n  h2[_ngcontent-%COMP%] {\n    padding-top: 2.0em; }\n  .play-real-button[_ngcontent-%COMP%] {\n    width: 50%;\n    margin-left: 5%; }\n  .play-real-button-full[_ngcontent-%COMP%] {\n    width: 90%;\n    margin-left: 5%;\n    margin-top: 1em; }\n  .play-practice-button[_ngcontent-%COMP%] {\n    margin-left: 4%;\n    width: 35%; }\n  .sticky-footer[_ngcontent-%COMP%] {\n    position: absolute; } }']}),e})();var D=n(24213),L=n(40879),R=(n(62875),n(69682),n(1697),n(17210));n(92557),n(90872),n(36330);var F=n(64762),B=n(50680),U=n(76053),H=n(9293);let V=class{constructor(e,t){this._gameCards=e,this.platformId=t,this.GRANULARITY=5,this.getSurroundingSiblings=e=>(this.buildCardMatrix(),this.surroundingSiblings(this.cardMatrix,e)),this.surroundingSiblings=(e,t)=>{const n=Array(8).fill(null);if((Array.isArray(e)&&t?this.getFromGameID(e,t):void 0)&&(e=>e.every((e=>{return!(!e||(t=[e.top,e.left,e.gameID],!t.every((e=>U(H(e))))));var t})))(e)){const i=this.getFromGameID(e,t),r=this.searchLeft(e,i),o=this.searchRight(e,i),a=this.searchTop(e,i),s=this.searchBottom(e,i);return n.map(((t,n)=>{switch(n){case 0:return r?this.searchTop(e,r):null;case 1:return a;case 2:return o?this.searchTop(e,o):null;case 3:return r;case 4:return o;case 5:return r?this.searchBottom(e,r):null;case 6:return s;case 7:return o?this.searchBottom(e,o):null;default:return null}})).map((e=>e?e.gameID:null))}return[]},this.buildCardMatrix()}buildCardMatrix(){let e;(0,a.isPlatformBrowser)(this.platformId)&&(e=this._gameCards&&this._gameCards.map((({card:{id:e,name:t},element:{nativeElement:n}})=>{const{top:i,left:r}=n.getBoundingClientRect();return{left:r,top:i,gameID:e,name:t}}))),this.cardMatrix=e||[]}relaxSearch(e,t){return t-this.GRANULARITY<=e&&e<=t+this.GRANULARITY}getFromGameID(e,t){return e.reduce(((e,n)=>n&&n.gameID===t?n:e),void 0)}horizontal(e){return t=>t.filter((t=>this.relaxSearch(t.top,e)))}vertical(e){return t=>t.filter((t=>this.relaxSearch(t.left,e)))}previous(e){return t=>t.reduce(((t,n)=>t&&t[e]>n[e]?t:n),null)}next(e){return t=>t.reduce(((t,n)=>t&&t[e]<n[e]?t:n),null)}searchLeft(e,t){const{top:n,left:i}=t;return B(this.horizontal(n),(e=>e.filter((e=>e.left<i))),this.previous("left"))(e)}searchRight(e,t){const{top:n,left:i}=t;return B(this.horizontal(n),(e=>e.filter((e=>e.left>i))),this.next("left"))(e)}searchTop(e,t){const{top:n,left:i}=t;return B(this.vertical(i),(e=>e.filter((e=>e.top<n))),this.previous("top"))(e)}searchBottom(e,t){const{top:n,left:i}=t;return B(this.vertical(i),(e=>e.filter((e=>e.top>n))),this.next("top"))(e)}};V=(0,F.__decorate)([(0,F.__param)(1,(0,o.Inject)(o.PLATFORM_ID)),(0,F.__metadata)("design:paramtypes",[Object,Object])],V),n(90785),n(25007);var G=n(20693)},20734:(e,t,n)=>{"use strict";n.d(t,{Q:()=>d});var i=n(44960),r=n(15390),o=n(37292),a=n(10749),s=n(30173),c=n(93801),l=n(57826);let d=(()=>{class e{constructor(e,t,n){this.layoutMapperService=e,this.marketingPageService=t,this.deviceService=n}mapPromotions(e){let t=new r.j,n=this.getMetaField(this.getContentFieldValue(e,"metafields"),"title");t.title=this.getContentFieldValue(e,"title"),t.browserTitle=n&&n.content||t.title,t.promotions=[],t.draft="draft"===e.status,t.notInFilter=c.H.map(this.getContentFieldValue(e,"filter"));let i=this.marketingPageService.processPage(e);if(i.components.length>0)t.marketingPage=i;else{let n=this.getContentFieldValue(e,"items");if(n&&Array.isArray(n)&&n[0]){let e=n[0],i=this.getContentFieldValue(e,"items");t.notInFilter=c.H.map(this.getContentFieldValue(e,"filter")),Array.isArray(i)&&(t.promotions=i.map((e=>this.mapPromotionCard(e))))}}return t}mapPromotion(e){let t=this.getPromotionImage(e);const n=this.getMetaField(this.getContentFieldValue(e,"metafields"),"title");return{meta:this.mapMetaFields(this.getContentFieldValue(e,"metafields")),title:this.getContentFieldValue(e,"title"),browserTitle:n&&n.content,promotionImage:t&&t.url,promotionImageAltText:t&&t.alt,body:this.getContentFieldValue(e,"body"),draft:"draft"===e.status,layoutType:this.layoutMapperService.resolveLayoutType(e),h1Enabled:!1!==this.getContentFieldValue(e,"h1Enabled"),notInFilter:c.H.map(this.getContentFieldValue(e,"filter"))}}getPromotionImage(e){const t=this.getContentFieldValue(e,"mobile_page_image");if("mobile"===this.deviceService.getDeviceType()&&t&&t.url)return t;const n=this.getContentFieldValue(e,"page_default_image");return n&&n.url?n:this.getContentFieldValue(e,"page_image")}mapPromotionCard(e){let t=new o.D,n=e.slug||this.getContentFieldValue(e,"slug"),i=this.getContentFieldValue(e,"uriSuffix");t.slug=i||n,t.title=this.getContentFieldValue(e,"title");let r=this.getContentFieldValue(e,"default_card_image");return r&&r.url||(r=this.getContentFieldValue(e,"card_image")),t.image=r&&r.url,t.imageAltText=r&&r.alt,t.draft="draft"===e.status,t.notInFilter=c.H.map(this.getContentFieldValue(e,"filter")),t}getContentFieldValue(e,t){return e.fields&&e.fields[t]}mapMetaFields(e){return e?Object.keys(e).map((t=>this.getMetaField(e,t))):[]}getMetaField(e,t){if(!e||!e[t])return;let n=e[t],i={content:n.content};return i[n.type]=t,i}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](a.I),l["ɵɵinject"](i.F),l["ɵɵinject"](s.U))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},37292:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(98953);class r extends i.w{}},15390:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var i=n(98953);class r extends i.w{}},95149:(e,t,n)=>{"use strict";n.d(t,{h:()=>a});var i=n(77891),r=n(18542),o=n(57826);let a=(()=>{class e{constructor(e,t){this.sizeMapper=e,this.textLayoutMapper=t}GetMappers(){return[this.sizeMapper,this.textLayoutMapper]}ConsolidateStyleGroups(e){return e.filter((e=>!!e)).join(" ")}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.V),o["ɵɵinject"](r.k))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},77891:(e,t,n)=>{"use strict";n.d(t,{V:()=>o});var i=n(57826);const r={oneColunm:"1x1",twoColunms:"1x2",fourColunms:"1x4",sixCoumns:"1x6"};let o=(()=>{class e{constructor(){this.isValidValue=e=>Object.values(r).includes(e)}map(e){return"section-"+(e.find(this.isValidValue)||r.oneColunm)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},18542:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.CSS_CLASSES_DEFAULT_VALUE="",this.TAG_TEXTLAYOUT_OUTER_TEXT="outertext",this.CSS_TEXTLAYOUT_OUTER_CLASS="outertext"}map(e){return e.filter((e=>!!e)).map((e=>e.trim().toLocaleLowerCase())).includes(this.TAG_TEXTLAYOUT_OUTER_TEXT)?this.CSS_TEXTLAYOUT_OUTER_CLASS:this.CSS_CLASSES_DEFAULT_VALUE}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},78041:(e,t,n)=>{"use strict";n.d(t,{f:()=>l});var i=n(56914),r=n(79450),o=n(65353),a=n(81768),s=n(33564),c=n(93801);class l extends i.x{constructor(){super(...arguments),this.contentSlideCmsMapper=new r.j,this.abtFieldsMapper=new o.u1,this.marketingAudienceMapper=new a.V,this.trackingService=new s.e(this.abtFieldsMapper,this.marketingAudienceMapper)}map(e){let t=[];return t=(e.fields.items?e.fields.items:[]).map((e=>this.contentSlideCmsMapper.map(e).slide)),{data:{draft:"draft"===e.status,banners:t,internalName:e.fields.internal_name,tracking:this.trackingData(e),notInFilter:c.H.map(e.fields.filter)}}}trackingData(e){return e.parent?this.trackingService.getTrackingData(e,e.parent,e.parent.content_type):this.trackingService.getTrackingData(e)}}},75324:(e,t,n)=>{"use strict";n.d(t,{k:()=>V});var i=n(64762),r=n(57826),o=n(22291),a=(n(11524),n(17990)),s=n(25300),c=n(78041),l=n(40476),d=n(49697),u=n(6856),p=n(4473),h=n(80218),m=n(6235),f=n(55796),g=n(94726),v=n(26626),b=n(43431),y=n(93801),S=n(55073),C=n(13811),x=n(84333),I=n(32716);let w=(()=>{class e{constructor(e){this.elementRef=e}set bxTrackAttrs(e){this.updateTrackingAttributes(e)}updateTrackingAttributes(e){e&&(this.addAttributeIfHasValue("bx-component-type",e.componentType),this.addAttributeIfHasValue("bx-component-name",e.componentInternalName),this.addAttributeIfHasValue("bx-parent-type",e.parentType),this.addAttributeIfHasValue("bx-parent-name",e.parentInternalName),this.addAttributeIfHasValue("bx-audiences",this.joinAudiences(e.audiences)))}addAttributeIfHasValue(e,t){t&&this.elementRef.nativeElement.setAttribute(e,t)}joinAudiences(e){return e&&e.length>0?e.map((e=>e.audienceCode)).join(","):null}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","bxTrackAttrs",""]],inputs:{bxTrackAttrs:"bxTrackAttrs"}}),e})();var E=n(63325),T=n(52344),P=n(7006),A=n(29015),_=n(79952),M=n(96940);const O=function(e,t){return{"screen-center":e,"no-animation":t}};function k(e,t){if(1&e&&(r["ɵɵelementStart"](0,"figcaption",6),r["ɵɵpipe"](1,"bxTrustyHtml"),r["ɵɵtext"](2,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction2"](4,O,3===e.banner.display,e.noUseAnimation))("innerHTML",r["ɵɵpipeBind1"](1,2,e.banner.content),r["ɵɵsanitizeHtml"])}}function j(e,t){if(1&e&&(r["ɵɵelementStart"](0,"figcaption",7),r["ɵɵpipe"](1,"bxTrustyHtml"),r["ɵɵtext"](2,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction2"](5,O,3===e.banner.display,e.noUseAnimation))("innerHTML",r["ɵɵpipeBind1"](1,3,e.banner.content),r["ɵɵsanitizeHtml"])("isChatBot",e.isChatBot)}}function N(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"img",8),r["ɵɵlistener"]("load",(function(){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().slideLoaded()})),r["ɵɵelementEnd"]()}if(2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("src",e.retrieveImgSrc(e.banner.display,e.banner.image.url,e.ix,e.src),r["ɵɵsanitizeUrl"]),r["ɵɵattribute"]("alt",e.banner.image.alt)}}function D(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"img",9),r["ɵɵlistener"]("load",(function(){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().slideLoaded()})),r["ɵɵelementEnd"]()}if(2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("src",e.ix===e.currentSlide||e.loadedSlide?e.retrieveImgSrc(e.banner.display,e.banner.image.url,e.ix,e.src):e.imageTransparent,r["ɵɵsanitizeUrl"]),r["ɵɵattribute"]("alt",e.banner.image.alt)}}let L=(()=>{class e{constructor(e,t,n,i,o){this.imageService=e,this.bannerCarouselConfig=t,this.slideDisplayStyleMapper=n,this.contentService=i,this.platformId=o,this.loaded=new r.EventEmitter,this.liveChat=!1,this.isChatBot=!1,this.notInSubdivisionList=null,this.noImageSrc=e.getPlaceholderImage(600,200,"transparent"),this.imageTransparent=m.f}ngOnInit(){this.liveChat=this.contentService.isLiveChatContent(this.banner),this.isChatBot=this.contentService.isChatBotContent(this.banner),this.notInSubdivisionList=y.H.getNotInSubdivisionList(this.banner&&this.banner.notInFilter)}slideLoaded(){this.loaded.emit(!0)}getFigureStyleClass(e){return this.slideDisplayStyleMapper.getFigureStyleClass(e)}isServerSide(){return(0,u.isPlatformServer)(this.platformId)}retrieveImgSrc(e,t,n,i){return this.bannerCarouselConfig.carouselAnimation?t:3===e?this.noImageSrc:this.currentSlide==n||i?t:""}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](o.AJ),r["ɵɵdirectiveInject"](d.Y),r["ɵɵdirectiveInject"](f.r),r["ɵɵdirectiveInject"](T._s),r["ɵɵdirectiveInject"](r.PLATFORM_ID))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-banner-carousel-slide"]],inputs:{ix:"ix",currentSlide:"currentSlide",banner:"banner",loadedSlide:"loadedSlide",noUseAnimation:"noUseAnimation"},outputs:{loaded:"loaded"},decls:15,vars:14,consts:[["bxHideBySubdivision","",3,"bxTrackAttrs"],["class","carousel-text","anchorLinksHandler","",3,"ngClass","innerHTML",4,"ngIf"],["class","carousel-text","anchorLinksHandler","","bxLiveChatHandler","",3,"ngClass","innerHTML","isChatBot",4,"ngIf"],[1,"img-container"],["class","img-responsive",3,"src","load",4,"ngIf"],["bxImage","","class","img-responsive",3,"src","load",4,"ngIf"],["anchorLinksHandler","",1,"carousel-text",3,"ngClass","innerHTML"],["anchorLinksHandler","","bxLiveChatHandler","",1,"carousel-text",3,"ngClass","innerHTML","isChatBot"],[1,"img-responsive",3,"src","load"],["bxImage","",1,"img-responsive",3,"src","load"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"figure",0),r["ɵɵtext"](2,"\n            "),r["ɵɵtemplate"](3,k,3,7,"figcaption",1),r["ɵɵtext"](4,"\n            "),r["ɵɵtemplate"](5,j,3,8,"figcaption",2),r["ɵɵtext"](6,"\n            "),r["ɵɵelementStart"](7,"div",3),r["ɵɵtext"](8,"\n                "),r["ɵɵtemplate"](9,N,1,2,"img",4),r["ɵɵtext"](10,"\n                "),r["ɵɵtemplate"](11,D,1,2,"img",5),r["ɵɵtext"](12,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](13,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](14,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵclassMap"](t.getFigureStyleClass(t.banner)),r["ɵɵstyleProp"]("background-image",t.banner.backgroundImage),r["ɵɵclassProp"]("bg-image",t.banner.backgroundImage)("max-container",!t.banner.backgroundImage),r["ɵɵproperty"]("bxTrackAttrs",t.banner.tracking),r["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",!t.liveChat),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.liveChat),r["ɵɵadvance"](4),r["ɵɵproperty"]("ngIf",0===t.ix),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.ix>0&&!t.isServerSide()))},directives:[x.e,w,u.NgIf,P.$,u.NgClass,A.T,_.t],pipes:[M.d],styles:[".no-animation[_ngcontent-%COMP%] {\n  animation: fade-in-up .0s; }"]}),e})();function R(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                "),r["ɵɵelementStart"](2,"a",6),r["ɵɵlistener"]("click",(function(t){r["ɵɵrestoreView"](e);const n=r["ɵɵnextContext"](),i=n.$implicit,o=n.index;return r["ɵɵnextContext"](2).handleClickOnSlide(t,i.name,o,i.tracking)})),r["ɵɵtext"](3,"\n                    "),r["ɵɵelementStart"](4,"bx-banner-carousel-slide",7),r["ɵɵlistener"]("loaded",(function(){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"](3).loaded=!0})),r["ɵɵelementEnd"](),r["ɵɵtext"](5,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n            "),r["ɵɵelementContainerEnd"]()}if(2&e){const e=r["ɵɵnextContext"](),t=e.$implicit,n=e.index,i=r["ɵɵnextContext"](2);r["ɵɵadvance"](2),r["ɵɵclassProp"]("max-container",i.isBannerMaxContainerEnabled(t)),r["ɵɵproperty"]("bxLink",t.link)("bxLinkTarget",t.linkTarget),r["ɵɵadvance"](2),r["ɵɵproperty"]("ix",n)("banner",t)("currentSlide",i.currentSlide)("loadedSlide",i.loadedSlides[n])("noUseAnimation",i.noUseAnimation)}}function F(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵtext"](0,"\n                "),r["ɵɵelementStart"](1,"div",8),r["ɵɵtext"](2,"\n                    "),r["ɵɵelementStart"](3,"bx-banner-carousel-slide",7),r["ɵɵlistener"]("loaded",(function(){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"](3).loaded=!0})),r["ɵɵelementEnd"](),r["ɵɵtext"](4,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](5,"\n            ")}if(2&e){const e=r["ɵɵnextContext"](),t=e.$implicit,n=e.index,i=r["ɵɵnextContext"](2);r["ɵɵadvance"](1),r["ɵɵclassProp"]("max-container",i.isBannerMaxContainerEnabled(t)),r["ɵɵadvance"](2),r["ɵɵproperty"]("ix",n)("banner",t)("currentSlide",i.currentSlide)("loadedSlide",i.loadedSlides[n])("noUseAnimation",i.noUseAnimation)}}function B(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"slide",3),r["ɵɵlistener"]("swiperight",(function(){const t=r["ɵɵrestoreView"](e).index;return r["ɵɵnextContext"](2).movePrev(t)}))("swipeleft",(function(){const t=r["ɵɵrestoreView"](e).index;return r["ɵɵnextContext"](2).moveNext(t)})),r["ɵɵtext"](1,"\n\n            "),r["ɵɵtemplate"](2,R,7,9,"ng-container",4),r["ɵɵtext"](3,"\n            "),r["ɵɵtemplate"](4,F,6,7,"ng-template",null,5,r["ɵɵtemplateRefExtractor"]),r["ɵɵtext"](6,"\n        "),r["ɵɵelementEnd"]()}if(2&e){const e=t.$implicit,n=r["ɵɵreference"](5);r["ɵɵstyleProp"]("background-color",e.background),r["ɵɵproperty"]("bxPreviewIndicator",e),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.link)("ngIfElse",n)}}const U=function(e,t){return{"ng-loaded":e,"fullsize-carousel":t}};function H(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"carousel",1),r["ɵɵlistener"]("activeSlideChange",(function(t){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().setCurrentSlide(t)})),r["ɵɵtext"](1,"\n        "),r["ɵɵtemplate"](2,B,7,5,"slide",2),r["ɵɵtext"](3,"\n    "),r["ɵɵelementEnd"]()}if(2&e){const e=r["ɵɵnextContext"]();r["ɵɵclassProp"]("max-container",e.bannerCarouselConfig.maxContainer)("carousel-animation",e.bannerCarouselConfig.carouselAnimation),r["ɵɵproperty"]("bxPreviewIndicator",e.model)("ngClass",r["ɵɵpureFunction2"](11,U,e.loaded,e.fullSizeCarouselStyle))("interval",e.interval)("activeSlide",e.currentSlide)("bxTrackAttrs",e.model.tracking),r["ɵɵattribute"]("data-notIn-subdivisions",e.notInSubdivisionList),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngForOf",e.model.banners)}}let V=class{constructor(e,t,n,i,r,o,a,s,c){this.imageService=e,this.bannerCarouselConfig=t,this.platformId=n,this.clickHandlerService=i,this.transferStateServiceCache=r,this.cdnService=o,this.slideDisplayStyleMapper=a,this.linkTrackService=s,this.subdivisionService=c,this.model={banners:[]},this.interval=7e3,this.fromUniversal=!1,this.loadedSlides={0:!0},this.notInSubdivisionList=null,this.currentSlide=0,this.loaded=!1,this.fullSizeCarouselStyle=!0,this.fromUniversal=this.transferStateServiceCache.isFromUniversal(),this.imageTransparent=m.f}set data(e){e&&(e.banners=e.banners.filter(this.bannerAllowedInCurrentSubdivision(this.subdivisionService.getCurrentSubdivisionId())),e.banners.forEach(((t,n)=>{t.contentText=this.getText(t.content),0===n&&this.setSrcForEagerlyLoadedImage(t),t.tracking&&t.tracking.audiences&&(t.tracking.parentType="slideshow",t.tracking.parentInternalName=e.internalName)})),this.model=e,this.notInSubdivisionList=y.H.getNotInSubdivisionList(this.model.notInFilter))}bannerAllowedInCurrentSubdivision(e){return t=>!(t.notInFilter&&t.notInFilter.countrySubdivision&&t.notInFilter.countrySubdivision.includes(e))}set style(e){"fluid"===e&&(this.fullSizeCarouselStyle=!1)}setSrcForEagerlyLoadedImage(e){e.image.url=this.cdnService.getCdnUrlImage(e.image.url)}setCurrentSlide(e){this.currentSlide=e,this.noUseAnimation=this.fromUniversal&&0===e&&!this.animationRendered,this.animationRendered=!0,this.loadedSlides[e]=!0}moveNext(e){this.setCurrentSlide(e+1>=this.model.banners.length?0:e+1)}movePrev(e){this.setCurrentSlide(e-1<0?this.model.banners.length-1:e-1)}getText(e){if((0,u.isPlatformBrowser)(this.platformId)){let t=document.createElement("div");return t.innerHTML=e,t.innerText.replace(/[\s\n\t\r]+/g," ").trim()}return""}handleClickOnSlide(e,t,n,i){"BUTTON"===e.target.tagName?this.clickHandlerService.handleClick("carousel_promo_cta",!1,t,n,i):this.clickHandlerService.handleClick("carousel_promo",!1,t,n,i),this.linkTrackService.setLinkClicked(!0)}isBannerMaxContainerEnabled(e){return this.slideDisplayStyleMapper.isBannerMaxContainerEnabled(e)}};V.ɵfac=function(e){return new(e||V)(r["ɵɵdirectiveInject"](o.AJ),r["ɵɵdirectiveInject"](d.Y),r["ɵɵdirectiveInject"](r.PLATFORM_ID),r["ɵɵdirectiveInject"](g.M),r["ɵɵdirectiveInject"](p.m),r["ɵɵdirectiveInject"](h.U),r["ɵɵdirectiveInject"](f.r),r["ɵɵdirectiveInject"](v.j),r["ɵɵdirectiveInject"](S.F))},V.ɵcmp=r["ɵɵdefineComponent"]({type:V,selectors:[["bx-banner-carousel"]],inputs:{interval:"interval",data:"data",style:"style"},decls:3,vars:1,consts:[["class","banner-carousel carousel","data-dynamic-element","dynamicElement","bxHideBySubdivision","",3,"bxPreviewIndicator","ngClass","interval","activeSlide","max-container","carousel-animation","bxTrackAttrs","activeSlideChange",4,"ngIf"],["data-dynamic-element","dynamicElement","bxHideBySubdivision","",1,"banner-carousel","carousel",3,"bxPreviewIndicator","ngClass","interval","activeSlide","bxTrackAttrs","activeSlideChange"],["class","high-contrast light-text",3,"bxPreviewIndicator","background-color","swiperight","swipeleft",4,"ngFor","ngForOf"],[1,"high-contrast","light-text",3,"bxPreviewIndicator","swiperight","swipeleft"],[4,"ngIf","ngIfElse"],["slideWithoutLink",""],["role","link",1,"banner-container",3,"bxLink","bxLinkTarget","click"],[3,"ix","banner","currentSlide","loadedSlide","noUseAnimation","loaded"],[1,"banner-container"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n    "),r["ɵɵtemplate"](1,H,4,14,"carousel",0),r["ɵɵtext"](2,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngIf",!!t.model.banners&&t.model.banners.length>0))},directives:[u.NgIf,C.Fy,x.e,I.Z,u.NgClass,w,u.NgForOf,C.o6,E.I,L],encapsulation:2,changeDetection:0}),V=(0,i.__decorate)([(0,a.DE)({name:"BannerCarousel",mapper:c.f,matcher:e=>{let t=e.fields.tags?e.fields.tags.split(","):[];return e.contentType===s.z.SLIDESHOW&&t.indexOf(l.d.SMALL_BANNERS)<0},contentMapper:{featureFlag:b.u.CMS_SLIDE_MOBILE_IMAGES,mapper:(e,t)=>("mobile"===t.deviceType&&e.fields.items.forEach(((t,n)=>{e.fields.items[n].fields.image_mobile&&e.fields.items[n].fields.image_mobile.url&&(e.fields.items[n].fields.image=e.fields.items[n].fields.image_mobile),e.fields.items[n].fields.background_image_mobile&&e.fields.items[n].fields.background_image_mobile.url&&(e.fields.items[n].fields.background_image=e.fields.items[n].fields.background_image_mobile)})),e)}}),(0,i.__metadata)("design:paramtypes",[o.AJ,d.Y,Object,g.M,p.m,h.U,f.r,v.j,S.F])],V)},49697:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},89138:(e,t,n)=>{"use strict";n.d(t,{R:()=>E});var i=n(6856),r=n(73753),o=n(13811),a=n(75324),s=n(15982),c=n(53001),l=n(49697),d=(n(11524),n(22291)),u=n(75468),p=n(11198),h=n(73502),m=n(80417),f=n(67197),g=n(40821),v=n(55796),b=n(39013),y=n(52344),S=n(78041),C=n(41306),x=n(63749),I=n(57826);let w=(()=>{class e extends s.HammerGestureConfig{buildHammer(e){return new Hammer(e,{touchAction:"pan-y"})}}return e.ɵfac=function(){let t;return function(n){return(t||(t=I["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵprov=I["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),E=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=I["ɵɵdefineNgModule"]({type:e}),e.ɵinj=I["ɵɵdefineInjector"]({providers:[{provide:s.HAMMER_GESTURE_CONFIG,useClass:w},l.Y,v.r,S.f],imports:[[s.HammerModule,i.CommonModule,o.bB.forRoot(),d.$Q,r.RouterModule,u.$,c.J.withComponents([a.k]),f.k.withComponents([a.k]),g.o,h.D,p.$,m.LO,b.W,y.Qh,C.I,x.m]]}),e})()},8062:(e,t,n)=>{"use strict";n.d(t,{Wr:()=>b});var i=n(6856),r=n(64762),o=n(25300),a=n(17990),s=n(40476),c=n(93801),l=n(57826),d=n(84333),u=n(63325);function p(e,t){if(1&e&&(l["ɵɵelementStart"](0,"li",4),l["ɵɵtext"](1,"\n                        "),l["ɵɵelementStart"](2,"a",5),l["ɵɵtext"](3,"\n                            "),l["ɵɵelement"](4,"i",6),l["ɵɵtext"](5),l["ɵɵelementEnd"](),l["ɵɵtext"](6,"\n                    "),l["ɵɵelementEnd"]()),2&e){const e=t.$implicit;l["ɵɵadvance"](2),l["ɵɵproperty"]("bxLink","/casino/"+e.linkUrl),l["ɵɵadvance"](2),l["ɵɵproperty"]("ngClass",e.iconClass),l["ɵɵadvance"](1),l["ɵɵtextInterpolate1"]("\n                            ",e.linkText,"\n                        ")}}let h=class{constructor(){this.notInSubdivisionList=null}set data(e){this._data=e.items,this.notInSubdivisionList=c.H.getNotInSubdivisionList(e.notInFilter)}};h.ɵfac=function(e){return new(e||h)},h.ɵcmp=l["ɵɵdefineComponent"]({type:h,selectors:[["bx-casino-categories"]],inputs:{data:"data"},decls:12,vars:2,consts:[["bxHideBySubdivision","",1,"carousel","primary","max-container"],[1,"component-wrapper"],["role","list",1,"custom-tab","primary","max-container"],["role","button",4,"ngFor","ngForOf"],["role","button"],[3,"bxLink"],[1,"icon",3,"ngClass"]],template:function(e,t){1&e&&(l["ɵɵtext"](0,"\n        "),l["ɵɵelementStart"](1,"section",0),l["ɵɵtext"](2,"\n            "),l["ɵɵelementStart"](3,"div",1),l["ɵɵtext"](4,"\n                "),l["ɵɵelementStart"](5,"ul",2),l["ɵɵtext"](6,"\n                    "),l["ɵɵtemplate"](7,p,7,3,"li",3),l["ɵɵtext"](8,"\n                "),l["ɵɵelementEnd"](),l["ɵɵtext"](9,"\n            "),l["ɵɵelementEnd"](),l["ɵɵtext"](10,"\n        "),l["ɵɵelementEnd"](),l["ɵɵtext"](11,"\n    ")),2&e&&(l["ɵɵadvance"](1),l["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),l["ɵɵadvance"](6),l["ɵɵproperty"]("ngForOf",t._data))},directives:[d.e,i.NgForOf,u.I,i.NgClass],styles:[".carousel.primary[_ngcontent-%COMP%]   .content-slider[_ngcontent-%COMP%] {\n  min-height: 218px; }"]}),h=(0,r.__decorate)([(0,a.DE)({name:"CasinoCategories",matcher:e=>e.contentType===o.z.MENU&&e.fields.tags&&e.fields.tags.split(",").indexOf(s.d.TOP_CASINO_CATEGORIES)>=0})],h);var m=n(80417),f=n(84704),g=n(53001),v=n(63749);let b=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=l["ɵɵdefineNgModule"]({type:e}),e.ɵinj=l["ɵɵdefineInjector"]({providers:[],imports:[[i.CommonModule,m.LO,f.a,v.m,g.J.withComponents([h])]]}),e})()},35539:(e,t,n)=>{"use strict";n.d(t,{e:()=>d});var i=n(57826),r=n(6856),o=n(73753);function a(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",2),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"div",3),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementStart"](4,"div",4),i["ɵɵtext"](5),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n                    "),i["ɵɵelementStart"](7,"div",5),i["ɵɵtext"](8,"\n                        "),i["ɵɵelement"](9,"i",6),i["ɵɵtext"](10,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](12,"\n                "),i["ɵɵelementStart"](13,"div",7),i["ɵɵtext"](14,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](15,"\n                "),i["ɵɵelementStart"](16,"div",8),i["ɵɵtext"](17,"\n                    "),i["ɵɵelementStart"](18,"a",9),i["ɵɵtext"](19),i["ɵɵelementEnd"](),i["ɵɵtext"](20,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](21,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵstyleProp"]("background-color",e.bgColor),i["ɵɵadvance"](5),i["ɵɵtextInterpolate1"]("\n                        ",e.title,"\n                    "),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngClass",e.iconName),i["ɵɵadvance"](4),i["ɵɵproperty"]("innerHTML",e.contentText,i["ɵɵsanitizeHtml"]),i["ɵɵadvance"](5),i["ɵɵproperty"]("routerLink",e.linkTo),i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.linkText)}}function s(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",10),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"div",11),i["ɵɵtext"](3,"\n                    "),i["ɵɵelement"](4,"i",6),i["ɵɵtext"](5,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n                "),i["ɵɵelementStart"](7,"div",12),i["ɵɵtext"](8,"\n                    "),i["ɵɵelementStart"](9,"div",13),i["ɵɵtext"](10),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n                    "),i["ɵɵelementStart"](12,"div",14),i["ɵɵtext"](13,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n                    "),i["ɵɵelementStart"](15,"div",15),i["ɵɵtext"](16,"\n                        "),i["ɵɵelementStart"](17,"a",9),i["ɵɵtext"](18),i["ɵɵelementEnd"](),i["ɵɵtext"](19,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](20,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](21,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵstyleProp"]("background-color",e.bgColor),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngClass",e.iconName),i["ɵɵadvance"](6),i["ɵɵtextInterpolate1"]("\n                        ",e.title,"\n                    "),i["ɵɵadvance"](2),i["ɵɵproperty"]("innerHTML",e.contentText,i["ɵɵsanitizeHtml"]),i["ɵɵadvance"](5),i["ɵɵproperty"]("routerLink",e.linkTo),i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.linkText)}}let c=(()=>{class e{constructor(){this.title="",this.contentText="",this.linkText="",this.linkTo="",this.size="1x1",this.iconName=""}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-content-banner"]],inputs:{title:"title",contentText:"contentText",linkText:"linkText",linkTo:"linkTo",size:"size",iconName:"iconName",bgColor:"bgColor"},decls:5,vars:2,consts:[["class","content-banner-1x1 content-banner-box",3,"background-color",4,"ngIf"],["class","content-banner-1x2 content-banner-box",3,"background-color",4,"ngIf"],[1,"content-banner-1x1","content-banner-box"],[1,"content-banner-title"],[1,"col-3-5","content-banner-title-text","content-banner-text"],[1,"col-2-5"],[1,"icon","icon-color",3,"ngClass"],[1,"col-size","content-banner-content","content-banner-text",3,"innerHTML"],[1,"col-size","content-banner-link","content-banner-text"],[3,"routerLink"],[1,"content-banner-1x2","content-banner-box"],[1,"col-1-5"],[1,"col-4-5"],[1,"content-banner-title-text","content-banner-text"],[1,"content-banner-content","content-banner-text",3,"innerHTML"],[1,"content-banner-link","content-banner-text"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n            "),i["ɵɵtemplate"](1,a,22,7,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵtemplate"](3,s,22,7,"div",1),i["ɵɵtext"](4,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf","1x1"===t.size),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf","1x2"===t.size))},directives:[r.NgIf,r.NgClass,o.RouterLinkWithHref],styles:[".content-banner-box[_ngcontent-%COMP%] {\n  box-shadow: inset 8px 0 0 0 rgba(0, 0, 0, 0.2);\n  overflow-x: hidden;\n  overflow-y: hidden; }\n\n.content-banner-1x2[_ngcontent-%COMP%] {\n  background-color: #aa1207;\n  padding-left: 20px;\n  height: 160px; }\n\n.content-banner-1x1[_ngcontent-%COMP%] {\n  background-color: #8e752c;\n  height: 160px; }\n\n.content-banner-text[_ngcontent-%COMP%] {\n  color: #ffffff;\n  text-overflow: ellipsis;\n  overflow: hidden; }\n\n.content-banner-title-text[_ngcontent-%COMP%] {\n  font-weight: 900;\n  font-size: 1.3em;\n  padding: 20px 0px 20px 20px; }\n\n.content-banner-title[_ngcontent-%COMP%] {\n  height: 35%; }\n\n.content-banner-content[_ngcontent-%COMP%] {\n  padding: 0px 20px 0px 20px; }\n\n.content-banner-link[_ngcontent-%COMP%] {\n  padding: 10px 0px 0px 20px;\n  text-decoration: none; }\n\n.content-banner-link[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n  text-decoration: none;\n  color: #ffffff; }\n\n.icon[_ngcontent-%COMP%]::before {\n  position: absolute;\n  top: 50%;\n  left: 50%;\n  display: block;\n  transform: translate(-50%, -50%); }\n\n.col-1-5[_ngcontent-%COMP%] {\n  width: 20%; }\n\n.col-2-5[_ngcontent-%COMP%] {\n  width: 40%; }\n\n.col-3-5[_ngcontent-%COMP%] {\n  width: 60%; }\n\n.col-4-5[_ngcontent-%COMP%] {\n  width: 80%; }\n\n.icon[_ngcontent-%COMP%] {\n  position: relative;\n  display: block;\n  font-size: 3em;\n  border-radius: 50%;\n  margin: 10px 0px 0px 0px;\n  height: 65px;\n  width: 65px; }\n\n.icon-color[_ngcontent-%COMP%] {\n  color: #404040;\n  background-color: #fff; }\n\n@media screen and (min-width: 769px) {\n  .col-size[_ngcontent-%COMP%] {\n    width: 65%; } }\n\n@media screen and (max-width: 769px) {\n  .icon-color[_ngcontent-%COMP%] {\n    background-color: inherit;\n    color: #fff; }\n  .col-size[_ngcontent-%COMP%] {\n    width: 100%; } }"]}),e})();var l=n(53001);let d=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[r.CommonModule,o.RouterModule,l.J.withComponents([c])]]}),e})()},51794:(e,t,n)=>{"use strict";n.d(t,{y:()=>o});var i=n(56914),r=n(93801);class o extends i.x{map(e){return{data:{title:e.fields.title||"",body:e.fields.body||"",componentType:"contentBlock",sizeClass:"",fields:e.fields,draft:"draft"===e.status,notInFilter:r.H.map(e.fields&&e.fields.filter)}}}}},2986:(e,t,n)=>{"use strict";n.d(t,{T:()=>w});var i=n(64762),r=n(57826),o=n(51794),a=n(15982),s=n(17990),c=n(25300),l=n(22291),d=n(52344),u=n(24249),p=n(93801),h=n(6856),m=n(84333),f=n(32716),g=n(29015),v=n(7006);const b=["cmsContent"];function y(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",4),r["ɵɵtext"](1,"\n                "),r["ɵɵelementStart"](2,"header",5),r["ɵɵtext"](3,"\n                    "),r["ɵɵelementStart"](4,"h2",6),r["ɵɵtext"](5),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](7,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2);r["ɵɵadvance"](5),r["ɵɵtextInterpolate"](e.title)}}function S(e,t){if(1&e&&r["ɵɵelement"](0,"div",9),2&e){const e=r["ɵɵnextContext"](3);r["ɵɵproperty"]("isChatBot",e.isChatBot)("innerHTML",e.body,r["ɵɵsanitizeHtml"])}}function C(e,t){if(1&e&&r["ɵɵelement"](0,"div",10),2&e){const e=r["ɵɵnextContext"](3);r["ɵɵproperty"]("innerHTML",e.body,r["ɵɵsanitizeHtml"])}}function x(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",4),r["ɵɵtext"](1,"\n                "),r["ɵɵtemplate"](2,S,1,2,"div",7),r["ɵɵtext"](3,"\n                "),r["ɵɵtemplate"](4,C,1,1,"div",8),r["ɵɵtext"](5,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2);r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.liveChat),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",!e.liveChat)}}function I(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",1,2),r["ɵɵtext"](2,"\n            "),r["ɵɵtemplate"](3,y,8,1,"div",3),r["ɵɵtext"](4,"\n            "),r["ɵɵtemplate"](5,x,6,2,"div",3),r["ɵɵtext"](6,"\n        "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("bxPreviewIndicator",e.data),r["ɵɵattribute"]("data-notIn-subdivisions",e.notInSubdivisionList),r["ɵɵadvance"](3),r["ɵɵproperty"]("ngIf",e.title),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.body)}}let w=class{constructor(e,t,n,i){this.sanitizer=e,this.imageService=t,this.contentService=n,this.imageLazyloadService=i,this.id=Math.floor(899999*Math.random())+1e5,this.contentBlockName=`ContentBlock${this.id}`,this.notInSubdivisionList=null}set data(e){e&&(this._data=e,this.title=e.title,this.body=e.body?this.formatBody(e.body):"",this.liveChat=this.contentService.isLiveChatContent(e),this.isChatBot=this.contentService.isChatBotContent(e),this.notInSubdivisionList=p.H.getNotInSubdivisionList(e.notInFilter))}get data(){return this._data}ngOnInit(){this.imageLazyloadService.isImageLazyloadEnabled()&&this.imageLazyloadService.initialiseIntersectionObserver(this.contentBlockName)}ngAfterViewInit(){this.imageLazyloadService.isImageLazyloadEnabled()&&this.imageLazyloadService.intersectionObserve(this.contentBlockName,[].slice.call(this.cmsContent.nativeElement.querySelectorAll("img.lazyload")))}ngOnDestroy(){this.imageLazyloadService.isImageLazyloadEnabled()&&this.imageLazyloadService.intersectionObserverDisconnect(this.contentBlockName)}formatBody(e){return this.sanitizer.bypassSecurityTrustHtml(this.imageService.replaceImages(e,this.imageLazyloadService.isImageLazyloadEnabled()))}};w.ɵfac=function(e){return new(e||w)(r["ɵɵdirectiveInject"](a.DomSanitizer),r["ɵɵdirectiveInject"](l.AJ),r["ɵɵdirectiveInject"](d._s),r["ɵɵdirectiveInject"](u.h))},w.ɵcmp=r["ɵɵdefineComponent"]({type:w,selectors:[["bx-content-block"]],viewQuery:function(e,t){if(1&e&&r["ɵɵviewQuery"](b,5),2&e){let e;r["ɵɵqueryRefresh"](e=r["ɵɵloadQuery"]())&&(t.cmsContent=e.first)}},inputs:{data:"data"},decls:3,vars:1,consts:[["class","content-block","data-dynamic-element","dynamicElement","bxHideBySubdivision","",3,"bxPreviewIndicator",4,"ngIf"],["data-dynamic-element","dynamicElement","bxHideBySubdivision","",1,"content-block",3,"bxPreviewIndicator"],["cmsContent",""],["class","max-container",4,"ngIf"],[1,"max-container"],[1,"component-header"],[1,"content-title","h5-heading"],["class","content-wrapper","bxLiveChatHandler","","anchorLinksHandler","",3,"isChatBot","innerHTML",4,"ngIf"],["class","content-wrapper","anchorLinksHandler","",3,"innerHTML",4,"ngIf"],["bxLiveChatHandler","","anchorLinksHandler","",1,"content-wrapper",3,"isChatBot","innerHTML"],["anchorLinksHandler","",1,"content-wrapper",3,"innerHTML"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵtemplate"](1,I,7,4,"div",0),r["ɵɵtext"](2,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngIf",t.title||t.body))},directives:[h.NgIf,m.e,f.Z,g.T,v.$],styles:[".component-header[_ngcontent-%COMP%] {\n  padding: 0 0 16px; }"],changeDetection:0}),w=(0,i.__decorate)([(0,s.DE)({name:"Content Block",mapper:o.y,matcher:e=>e.contentType===c.z.CONTENT_BLOCK}),(0,i.__metadata)("design:paramtypes",[a.DomSanitizer,l.AJ,d._s,u.h])],w)},61982:(e,t,n)=>{"use strict";n.d(t,{s:()=>m});var i=n(2986),r=n(51794),o=n(6856),a=n(53001),s=n(75468),c=n(39013),l=n(57138),d=n(40821),u=n(52344),p=n(63749),h=n(57826);n(67197);let m=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=h["ɵɵdefineNgModule"]({type:e}),e.ɵinj=h["ɵɵdefineInjector"]({providers:[r.y],imports:[[o.CommonModule,d.o,s.$,c.W,u.Qh,p.m,a.J.withComponents([i.T]),l.k.withComponents([i.T])]]}),e})()},76463:(e,t,n)=>{"use strict";n.d(t,{s:()=>i.s}),n(2986);var i=n(61982)},31553:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var i=n(95149),r=n(57826);let o=(()=>{class e{constructor(e){this.cssMappers=e,this.TAGS_TEXT_SEPARATOR=",",this.CSS_CLASSES_JOINER=" ",this.getCuratedTagsArray=e=>e.split(this.TAGS_TEXT_SEPARATOR).map((e=>e.trim().toLocaleLowerCase())),this.getCSSClasses=(e="")=>{const t=this.getCuratedTagsArray(e);return this.cssMappers.GetMappers().map((e=>e.map(t))).filter((e=>!!e)).join(this.CSS_CLASSES_JOINER)}}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.h))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},76479:(e,t,n)=>{"use strict";n.d(t,{l:()=>M});var i=n(64762),r=n(78482),o=n(17990),a=n(25300),s=n(17125),c=n(40476),l=n(67953),d=n(71844),u=n(63253),p=n(31553),h=n(56914),m=n(93801);class f extends h.x{map(e){return{data:{title:e.fields.title||"",items:e.fields.items||[],slug:e.fields.slugname||"",draft:"draft"===e.status,notInFilter:m.H.map(e.fields.filter)}}}}var g,v=n(57826),b=n(84333),y=n(32716),S=n(6856),C=n(90566),x=n(6688),I=n(60227);function w(e,t){if(1&e&&(v["ɵɵelementStart"](0,"header",4),v["ɵɵtext"](1,"\n                "),v["ɵɵelementStart"](2,"h2",5),v["ɵɵtext"](3),v["ɵɵelementEnd"](),v["ɵɵtext"](4,"\n            "),v["ɵɵelementEnd"]()),2&e){const e=v["ɵɵnextContext"]();v["ɵɵadvance"](3),v["ɵɵtextInterpolate"](e.title)}}function E(e,t){if(1&e&&(v["ɵɵtext"](0,"\n                        "),v["ɵɵelementStart"](1,"bx-dynamic-loader-component",9),v["ɵɵtext"](2,"\n                        "),v["ɵɵelementEnd"](),v["ɵɵtext"](3,"\n                    ")),2&e){const e=v["ɵɵnextContext"]().$implicit;v["ɵɵadvance"](1),v["ɵɵproperty"]("component",e.component)("context",e.context)("contextName",e.contextName)}}function T(e,t){if(1&e&&(v["ɵɵelementStart"](0,"bx-small-banner",13),v["ɵɵtext"](1,"\n                            "),v["ɵɵelementEnd"]()),2&e){const e=v["ɵɵnextContext"](2).$implicit;v["ɵɵproperty"]("imageSrc",e.context.imageSrc)("alt",e.context.alt)("linkTo",e.context.linkTo)("isExternal",e.context.isExternal)("bannerText",e.context.bannerText)("bannerSubText",e.context.bannerSubText)("bannerTextColor",e.context.bannerTextColor)("target",e.context.target)("gameId",e.context.liveDealerId)("data",e.context)}}function P(e,t){if(1&e&&(v["ɵɵelementStart"](0,"bx-slide-card",14),v["ɵɵtext"](1,"\n                            "),v["ɵɵelementEnd"]()),2&e){const e=v["ɵɵnextContext"](2).$implicit;v["ɵɵproperty"]("title",e.context.title)("cardText",e.context.cardText)("cardTextColor",e.context.cardTextColor)("imageSrc",e.context.imageSrc)("alt",e.context.alt)("linkTo",e.context.linkTo)("target",e.context.target)("data",e.context)}}function A(e,t){if(1&e&&(v["ɵɵelementContainerStart"](0,10),v["ɵɵtext"](1,"\n                            "),v["ɵɵtemplate"](2,T,2,10,"bx-small-banner",11),v["ɵɵtext"](3,"\n                            "),v["ɵɵtemplate"](4,P,2,8,"bx-slide-card",12),v["ɵɵtext"](5,"\n                        "),v["ɵɵelementContainerEnd"]()),2&e){const e=v["ɵɵnextContext"]().$implicit;v["ɵɵproperty"]("ngSwitch",e.context.cardText),v["ɵɵadvance"](2),v["ɵɵproperty"]("ngSwitchCase",void 0)}}function _(e,t){if(1&e&&(v["ɵɵelementContainerStart"](0),v["ɵɵtext"](1,"\n                    "),v["ɵɵtemplate"](2,E,4,3,"ng-template",null,6,v["ɵɵtemplateRefExtractor"]),v["ɵɵtext"](4,"\n\n                    "),v["ɵɵelementStart"](5,"div",7),v["ɵɵtext"](6,"\n                        "),v["ɵɵtemplate"](7,A,6,2,"ng-container",8),v["ɵɵtext"](8,"\n                    "),v["ɵɵelementEnd"](),v["ɵɵtext"](9,"\n                "),v["ɵɵelementContainerEnd"]()),2&e){const e=t.$implicit,n=v["ɵɵreference"](3),i=v["ɵɵnextContext"]();v["ɵɵadvance"](5),v["ɵɵproperty"]("ngClass",i.cssClassMappers.getCSSClasses(e.tags)),v["ɵɵadvance"](2),v["ɵɵproperty"]("ngIf",!e.component)("ngIfElse",n)}}let M=g=class{constructor(e,t,n){this.cssClassMappers=e,this.cmsComponentMapperService=t,this.slideCardCmsMapper=n,this.components=[]}set data(e){if(this._data=e,this.notInSubdivisionList=m.H.getNotInSubdivisionList(e.notInFilter),e.items&&e.items.length>0){this.title=e.title;let t=[];e.items.map((t=>{t.parent={internal_name:e.title,content_type:"section"}})),e.items.forEach((e=>{let n=this.cmsComponentMapperService.map(e),i={contextName:c.d.SMALL_BANNERS,context:{},tags:e.fields.tags};if(i.context=this.componentFactory(e,n),!i.context){let e=Object.keys(n.data)[0];i.component=n.component,i.contextName=e,i.context=n.data[e]}t.push(i)})),this.components=t}}get data(){return this._data}static getTarget(e){return{pop_up:"popup",same_tab:"_self",new_tab:"_blank"}[e]||""}createSmallBanner(e){let t=new l.n;return t.bannerText=e.fields.title||"",t.bannerSubText=e.fields.content,t.bannerTextColor=e.fields.text_color,t.linkTo=r.K.mapLinkUrl(e.fields.link_url),t.imageSrc=e.fields.image?e.fields.image.url:"",t.alt=e.fields.image&&e.fields.image.alt?e.fields.image.alt:"",t.target=g.getTarget(e.fields.link_target),t.draft=g.isStatusDraft(e.status),g.isLiveDealer(e.fields)&&(t.liveDealerId=u(["link_url","fields","game_id",0,"id"],e.fields)),t.isExternal=e.fields.link_url&&"linkUrl"in e.fields.link_url,t}componentFactory(e,t){if((e.contentType||e.fields.contentType)===a.z.SLIDE){const t=(e.fields.tags&&e.fields.tags.split(",")||[]).map((e=>e.trim()));if(t.indexOf(c.d.SLIDE_CARD)>-1)return this.slideCardCmsMapper.createSlideCard(e);if(t.indexOf(c.d.SMALL_BANNERS)>=0)return this.createSmallBanner(e)}if(!t)return this.createSmallBanner(e)}static isLiveDealer(e){return e.link_url&&e.link_url.contentType===a.z.CASINO_GAME_PAGE&&"live-dealer"===u(["link_url","fields","category","slug"],e)}static isStatusDraft(e){return"draft"===e}};M.ɵfac=function(e){return new(e||M)(v["ɵɵdirectiveInject"](p.K),v["ɵɵdirectiveInject"](s.d),v["ɵɵdirectiveInject"](d.G))},M.ɵcmp=v["ɵɵdefineComponent"]({type:M,selectors:[["bx-content-section"]],inputs:{data:"data"},decls:11,vars:4,consts:[["bxHideBySubdivision","",1,"max-container","bx-content-section-container",3,"bxPreviewIndicator"],["class","component-header",4,"ngIf"],[1,"bx-content-section","section-container"],[4,"ngFor","ngForOf"],[1,"component-header"],[1,"content-title","h5-heading"],["dynamicTemplate",""],[1,"section-item",3,"ngClass"],[3,"ngSwitch",4,"ngIf","ngIfElse"],[3,"component","context","contextName"],[3,"ngSwitch"],[3,"imageSrc","alt","linkTo","isExternal","bannerText","bannerSubText","bannerTextColor","target","gameId","data",4,"ngSwitchCase"],[3,"title","cardText","cardTextColor","imageSrc","alt","linkTo","target","data",4,"ngSwitchDefault"],[3,"imageSrc","alt","linkTo","isExternal","bannerText","bannerSubText","bannerTextColor","target","gameId","data"],[3,"title","cardText","cardTextColor","imageSrc","alt","linkTo","target","data"]],template:function(e,t){1&e&&(v["ɵɵtext"](0,"\n        "),v["ɵɵelementStart"](1,"div",0),v["ɵɵtext"](2,"\n            "),v["ɵɵtemplate"](3,w,5,1,"header",1),v["ɵɵtext"](4,"\n            "),v["ɵɵelementStart"](5,"div",2),v["ɵɵtext"](6,"\n                "),v["ɵɵtemplate"](7,_,10,3,"ng-container",3),v["ɵɵtext"](8,"\n            "),v["ɵɵelementEnd"](),v["ɵɵtext"](9,"\n        "),v["ɵɵelementEnd"](),v["ɵɵtext"](10,"\n    ")),2&e&&(v["ɵɵadvance"](1),v["ɵɵproperty"]("bxPreviewIndicator",t.data),v["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),v["ɵɵadvance"](2),v["ɵɵproperty"]("ngIf",t.title),v["ɵɵadvance"](4),v["ɵɵproperty"]("ngForOf",t.components))},directives:[b.e,y.Z,S.NgIf,S.NgForOf,S.NgClass,C.W,S.NgSwitch,S.NgSwitchCase,S.NgSwitchDefault,x.x,I._],styles:[".section-1x1[_ngcontent-%COMP%] {\n  flex-basis: 16.666667%; }\n\n.section-1x2[_ngcontent-%COMP%] {\n  flex-basis: 33.333333%; }\n\n.section-1x4[_ngcontent-%COMP%] {\n  flex-basis: 66.666668%; }\n\n.section-1x6[_ngcontent-%COMP%] {\n  flex-basis: 100%; }\n\n.section-item[_ngcontent-%COMP%] {\n  padding-right: 1px; }\n\n.section-item[_ngcontent-%COMP%]:last-child {\n  padding-right: 0; }\n\n.section-container[_ngcontent-%COMP%] {\n  display: flex;\n  flex-flow: wrap; }\n\n@media screen and (max-width: 769px) {\n  .section-container[_ngcontent-%COMP%] {\n    flex-wrap: wrap; }\n  .section-1x1[_ngcontent-%COMP%] {\n    flex-basis: 50%;\n    order: 1; }\n  .section-1x2[_ngcontent-%COMP%], .section-1x4[_ngcontent-%COMP%], .section-1x6[_ngcontent-%COMP%] {\n    flex-basis: 100%;\n    order: 2; } }"]}),M=g=(0,i.__decorate)([(0,o.DE)({name:"ContentSection",mapper:f,matcher:e=>{const t=e.fields.tags?e.fields.tags.split(","):[];return e.contentType===a.z.SECTION&&-1===t.indexOf(c.d.SMALL_BANNERS_AND_CONTENT_BLOCKS)&&-1===t.indexOf(c.d.SCROLLABLE)}}),(0,i.__metadata)("design:paramtypes",[p.K,s.d,d.G])],M)},67197:(e,t,n)=>{"use strict";n.d(t,{k:()=>w});var i=n(57826),r=n(6856),o=n(8566),a=n(80218),s=n(49994),c=n(13493),l=n(58859),d=n(79346),u=n(17125),p=n(58997),h=n(53001),m=n(40821),f=n(68335),g=n(31553),v=n(76479),b=n(93125),y=n(82939),S=n(95149),C=n(77891),x=n(18542),I=n(63749);let w=(()=>{class e{static withComponents(t){return{ngModule:e,providers:[{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,useValue:t,multi:!0}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e,bootstrap:[v.l]}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[f.l,g.K,p.G,u.d,a.U,s.i,c.B,S.h,C.V,x.k],imports:[[r.CommonModule,o.B,l.Q,d.C,m.o,b.s,y.A,h.J.withComponents([v.l]),I.m]]}),e})()},68335:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var i=n(16462),r=n(25300),o=n(57826);let a=(()=>{class e{constructor(e){this.contentService=e}getSectionBySlug(e){return this.contentService.getContentBySlug(e,r.z.SECTION)}}return e.section="section",e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i._))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},57138:(e,t,n)=>{"use strict";n.d(t,{k:()=>i.k}),n(76479);var i=n(67197)},79450:(e,t,n)=>{"use strict";n.d(t,{j:()=>p});var i=n(78482),r=n(56914),o=n(12744),a=n(17846);const s={url:"",alt:""};var c=n(65353),l=n(81768),d=n(33564),u=n(93801);class p extends r.x{constructor(){super(...arguments),this.abtFieldsMapper=new c.u1,this.marketingAudienceMapper=new l.V,this.trackingService=new d.e(this.abtFieldsMapper,this.marketingAudienceMapper)}map(e){return{slide:{content:e.fields.content||"",image:e.fields.image||s,backgroundImage:e.fields.background_image&&e.fields.background_image.url||"",display:p.getDisplayMode(e.fields.text_align),link:i.K.mapLinkUrl(e.fields.link_url),linkTarget:e.fields.link_target||o.e.NONE,background:e.fields.background_color,color:e.fields.text_color||"",name:e.fields.internal_name,draft:"draft"===e.status,tracking:this.trackingData(e),liveChat:p.isLiveChatContent(e),chatBot:p.isChatBotContent(e),notInFilter:u.H.map(e.fields.filter)}}}static isLiveChatContent(e){return!!(e.fields&&e.fields.tags&&e.fields.tags.split(",").some((e=>"livechat"===e.toLowerCase())))}static isChatBotContent(e){return!!(e.fields&&e.fields.tags&&e.fields.tags.split(",").some((e=>"chatbot"===e.toLowerCase())))}static getDisplayMode(e){return{right:a.D.reverseOrder,left:a.D.normal,center:a.D.center}[e]||a.D.normal}trackingData(e){return e.parent?this.trackingService.getTrackingData(e,e.parent,e.parent.content_type):this.trackingService.getTrackingData(e)}}},31438:(e,t,n)=>{"use strict";n.d(t,{z:()=>D});var i=n(64762),r=n(57826),o=n(22291),a=n(80218),s=n(17990),c=n(25300),l=n(79450),d=n(6856),u=n(65812),p=n(55796),h=n(94726),m=n(52344),f=n(43431),g=n(93801),v=n(84333),b=n(32716),y=n(79952),S=n(7006),C=n(29015),x=n(63325),I=n(15982);let w=(()=>{class e{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustStyle(e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](I.DomSanitizer,16))},e.ɵpipe=r["ɵɵdefinePipe"]({name:"bxTrustyStyle",type:e,pure:!0}),e})();var E=n(96940);function T(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"figcaption",10),r["ɵɵlistener"]("click",(function(t){r["ɵɵrestoreView"](e);const n=r["ɵɵnextContext"](3);return n.handleClickOnSlide(t,n.model.name,n.model.tracking)})),r["ɵɵpipe"](1,"bxTrustyHtml"),r["ɵɵtext"](2,"\n                        "),r["ɵɵelementEnd"]()}if(2&e){const e=r["ɵɵnextContext"](3);r["ɵɵclassProp"]("screen-center",3===e.model.display),r["ɵɵproperty"]("innerHTML",r["ɵɵpipeBind1"](1,3,e.model.content),r["ɵɵsanitizeHtml"])}}function P(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"figcaption",11),r["ɵɵlistener"]("click",(function(t){r["ɵɵrestoreView"](e);const n=r["ɵɵnextContext"](3);return n.handleClickOnSlide(t,n.model.name,n.model.tracking)})),r["ɵɵpipe"](1,"bxTrustyHtml"),r["ɵɵtext"](2,"\n                        "),r["ɵɵelementEnd"]()}if(2&e){const e=r["ɵɵnextContext"](3);r["ɵɵclassProp"]("screen-center",3===e.model.display),r["ɵɵproperty"]("innerHTML",r["ɵɵpipeBind1"](1,4,e.model.content),r["ɵɵsanitizeHtml"])("isChatBot",e.isChatBot)}}function A(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵtext"](0,"\n                    "),r["ɵɵelementStart"](1,"figure"),r["ɵɵpipe"](2,"bxTrustyStyle"),r["ɵɵtext"](3,"\n                        "),r["ɵɵtemplate"](4,T,3,5,"figcaption",6),r["ɵɵtext"](5,"\n                        "),r["ɵɵtemplate"](6,P,3,6,"figcaption",7),r["ɵɵtext"](7,"\n                        "),r["ɵɵelementStart"](8,"div",8),r["ɵɵtext"](9,"\n                            "),r["ɵɵelementStart"](10,"img",9),r["ɵɵlistener"]("load",(function(){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"](2).loaded=!0})),r["ɵɵelementEnd"](),r["ɵɵtext"](11,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](12,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](13,"\n                ")}if(2&e){const e=r["ɵɵnextContext"](2);r["ɵɵadvance"](1),r["ɵɵclassMap"](e.getFigureStyleClass(e.model)),r["ɵɵstyleProp"]("color",e.model.color)("background-image",r["ɵɵpipeBind1"](2,12,e.model.backgroundImage)),r["ɵɵclassProp"]("bg-image",e.model.backgroundImage),r["ɵɵadvance"](3),r["ɵɵproperty"]("ngIf",!e.isLiveChat),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.isLiveChat),r["ɵɵadvance"](4),r["ɵɵproperty"]("src",e.model.image.url,r["ɵɵsanitizeUrl"]),r["ɵɵattribute"]("alt",e.model.image.alt)}}function _(e,t){1&e&&r["ɵɵelementContainer"](0)}function M(e,t){if(1&e&&(r["ɵɵtext"](0,"\n                    "),r["ɵɵelementStart"](1,"div",12),r["ɵɵtext"](2,"\n                        "),r["ɵɵtemplate"](3,_,1,0,"ng-container",13),r["ɵɵtext"](4,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](5,"\n                ")),2&e){r["ɵɵnextContext"]();const e=r["ɵɵreference"](5),t=r["ɵɵnextContext"]();r["ɵɵadvance"](1),r["ɵɵclassProp"]("max-container",t.isBannerMaxContainerEnabled(t.model)),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngTemplateOutlet",e)}}function O(e,t){1&e&&r["ɵɵelementContainer"](0)}function k(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                    "),r["ɵɵelementStart"](2,"a",14),r["ɵɵlistener"]("click",(function(t){r["ɵɵrestoreView"](e);const n=r["ɵɵnextContext"](2);return n.handleClickOnSlide(t,n.model.name,n.model.tracking)})),r["ɵɵtext"](3,"\n                        "),r["ɵɵtemplate"](4,O,1,0,"ng-container",13),r["ɵɵtext"](5,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                "),r["ɵɵelementContainerEnd"]()}if(2&e){r["ɵɵnextContext"]();const e=r["ɵɵreference"](5),t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵclassProp"]("max-container",t.isBannerMaxContainerEnabled(t.model)),r["ɵɵproperty"]("bxLink",t.model.link)("bxLinkTarget",t.model.linkTarget),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngTemplateOutlet",e)}}const j=function(e,t,n){return{"ng-loaded":e,"max-container":t,"fullsize-carousel":n}};function N(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",1),r["ɵɵtext"](1,"\n            "),r["ɵɵelementStart"](2,"div",2),r["ɵɵtext"](3,"\n                "),r["ɵɵtemplate"](4,A,14,14,"ng-template",null,3,r["ɵɵtemplateRefExtractor"]),r["ɵɵtext"](6,"\n                "),r["ɵɵtemplate"](7,M,6,3,"ng-template",null,4,r["ɵɵtemplateRefExtractor"]),r["ɵɵtext"](9,"\n                "),r["ɵɵtemplate"](10,k,7,5,"ng-container",5),r["ɵɵtext"](11,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](12,"\n        "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵreference"](8),t=r["ɵɵnextContext"]();r["ɵɵproperty"]("bxPreviewIndicator",t.model)("ngClass",r["ɵɵpureFunction3"](7,j,t.loaded,t.contentSlideConfig.maxContainer,t.fullSizeCarouselStyle)),r["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),r["ɵɵadvance"](2),r["ɵɵstyleProp"]("background-color",t.model.background),r["ɵɵadvance"](8),r["ɵɵproperty"]("ngIf",t.model.link)("ngIfElse",e)}}let D=class{constructor(e,t,n,i,r,o,a){this.contentSlideConfig=e,this.imageService=t,this.cdnService=n,this.platformId=i,this.slideDisplayStyleMapper=r,this.clickHandlerService=o,this.contentService=a,this.loaded=!1,this.isLiveChat=!1,this.isChatBot=!1,this.fullSizeCarouselStyle=!0,this.notInSubdivisionList=null,this.noImageSrc=t.getPlaceholderImage(798,720,"transparent")}set slide(e){e&&(this.isLiveChat=this.contentService.isLiveChatContent(e),this.isChatBot=this.contentService.isChatBotContent(e),e.contentText=this.getText(e.content),e.backgroundImage&&(e.backgroundImage=`url("${this.cdnService.getCdnUrlImage(e.backgroundImage)}")`),this.model=e,this.notInSubdivisionList=g.H.getNotInSubdivisionList(this.model.notInFilter))}set style(e){"fluid"===e&&(this.fullSizeCarouselStyle=!1)}handleClickOnSlide(e,t,n){e.eventClickTracked||("BUTTON"===e.target.tagName?this.clickHandlerService.handleClick("slide_cta",!1,t,-1,n):this.clickHandlerService.handleClick("slide",!1,t,-1,n),e.eventClickTracked=!0)}getText(e){if((0,d.isPlatformBrowser)(this.platformId)){let t=document.createElement("div");return t.innerHTML=e,t.innerText.replace(/[\s\n\t\r]+/g," ").trim()}return""}getFigureStyleClass(e){return this.slideDisplayStyleMapper.getFigureStyleClass(e)}isBannerMaxContainerEnabled(e){return this.slideDisplayStyleMapper.isBannerMaxContainerEnabled(e)}};D.ɵfac=function(e){return new(e||D)(r["ɵɵdirectiveInject"](u.N),r["ɵɵdirectiveInject"](o.AJ),r["ɵɵdirectiveInject"](a.U),r["ɵɵdirectiveInject"](r.PLATFORM_ID),r["ɵɵdirectiveInject"](p.r),r["ɵɵdirectiveInject"](h.M),r["ɵɵdirectiveInject"](m._s))},D.ɵcmp=r["ɵɵdefineComponent"]({type:D,selectors:[["bx-content-slide"]],inputs:{slide:"slide",style:"style"},decls:3,vars:1,consts:[["class","banner-carousel carousel","bxHideBySubdivision","",3,"bxPreviewIndicator","ngClass",4,"ngIf"],["bxHideBySubdivision","",1,"banner-carousel","carousel",3,"bxPreviewIndicator","ngClass"],[1,"high-contrast","light-text"],["slide",""],["slideWithoutLink",""],[4,"ngIf","ngIfElse"],["class","carousel-text","anchorLinksHandler","",3,"screen-center","innerHTML","click",4,"ngIf"],["class","carousel-text","anchorLinksHandler","","bxLiveChatHandler","",3,"screen-center","innerHTML","isChatBot","click",4,"ngIf"],[1,"img-container"],["bxImage","",1,"img-responsive",3,"src","load"],["anchorLinksHandler","",1,"carousel-text",3,"innerHTML","click"],["anchorLinksHandler","","bxLiveChatHandler","",1,"carousel-text",3,"innerHTML","isChatBot","click"],[1,"banner-container"],[4,"ngTemplateOutlet"],["role","link",1,"banner-container",3,"bxLink","bxLinkTarget","click"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵtemplate"](1,N,13,11,"div",0),r["ɵɵtext"](2,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngIf",t.model))},directives:[d.NgIf,v.e,b.Z,d.NgClass,y.t,S.$,C.T,d.NgTemplateOutlet,x.I],pipes:[w,E.d],styles:[".content-slide[_ngcontent-%COMP%] {\n  display: block; }\n  .content-slide[_ngcontent-%COMP%]     h1[class*=-heading], .content-slide[_ngcontent-%COMP%]     h2[class*=-heading], .content-slide[_ngcontent-%COMP%]     h3[class*=-heading], .content-slide[_ngcontent-%COMP%]     h4[class*=-heading], .content-slide[_ngcontent-%COMP%]     h5[class*=-heading], .content-slide[_ngcontent-%COMP%]     h6[class*=-heading] {\n    color: inherit; }\n  .content-slide[_ngcontent-%COMP%]   .carousel-inner[_ngcontent-%COMP%] {\n    padding-bottom: 0; }\n    .carousel:not(.ng-loaded) > .carousel .carousel-inner,   .carousel:not(.ng-loaded) > .carousel .carousel-inner > .slide,   .carousel:not(.ng-loaded) > .carousel .carousel-inner > .slide > .item,   .carousel:not(.ng-loaded) > .carousel .carousel-inner > .slide > .item .banner-slide {\n  min-height: 275px;\n  background: transparent; }\n  figure.banner-slide.bg-image[_ngcontent-%COMP%] {\n  background-position: center;\n  background-size: cover; }"],changeDetection:0}),D=(0,i.__decorate)([(0,s.DE)({name:"ContentSlide",mapper:l.j,matcher:e=>e.contentType===c.z.SLIDE,useAsDefault:!0,contentMapper:{featureFlag:f.u.CMS_SLIDE_MOBILE_IMAGES,mapper:(e,t)=>("mobile"===t.deviceType&&(e.fields.image_mobile&&e.fields.image_mobile.url&&(e.fields.image=e.fields.image_mobile),e.fields.background_image_mobile&&e.fields.background_image_mobile.url&&(e.fields.background_image=e.fields.background_image_mobile)),e)}}),(0,i.__metadata)("design:paramtypes",[u.N,o.AJ,a.U,Object,p.r,h.M,m._s])],D)},65812:(e,t,n)=>{"use strict";n.d(t,{N:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},79666:(e,t,n)=>{"use strict";n.d(t,{a:()=>b});var i=n(6856),r=n(73753),o=n(53001),a=n(22291),s=n(80417),c=n(73502),l=n(40821),d=n(31438),u=n(75468),p=n(57138),h=n(65812),m=n(55796),f=n(39013),g=n(63749),v=n(57826);n(67197);let b=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=v["ɵɵdefineNgModule"]({type:e}),e.ɵinj=v["ɵɵdefineInjector"]({providers:[a.AJ,h.N,m.r],imports:[[i.CommonModule,r.RouterModule,a.$Q,c.D,s.LO,l.o,u.$,o.J.withComponents([d.z]),p.k.withComponents([d.z]),f.W,g.m]]}),e})()},17846:(e,t,n)=>{"use strict";n.d(t,{D:()=>i});var i=(()=>(function(e){e[e.normal=1]="normal",e[e.reverseOrder=2]="reverseOrder",e[e.noImage=3]="noImage",e[e.center=4]="center"}(i||(i={})),i))()},55796:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var i=n(17846),r=n(57826);let o=(()=>{class e{constructor(){this.bannerSlideStyle=Array(),this.bannerSlideStyle[e.DEFAULT_STYLE_INDEX]="banner-slide",this.bannerSlideStyle[i.D.normal]=this.bannerSlideStyle[e.DEFAULT_STYLE_INDEX],this.bannerSlideStyle[i.D.reverseOrder]="banner-slide reverse-order",this.bannerSlideStyle[i.D.noImage]="banner-slide no-image",this.bannerSlideStyle[i.D.center]="banner-slide bg-image no-image"}getFigureStyleClass(t){return this.bannerSlideStyle[t.display]||this.bannerSlideStyle[e.DEFAULT_STYLE_INDEX]}isBannerMaxContainerEnabled(e){return!!e&&e.display!==i.D.center}}return e.DEFAULT_STYLE_INDEX=0,e.ɵfac=function(t){return new(t||e)},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},63850:(e,t,n)=>{"use strict";n.d(t,{a:()=>i.a}),n(31438);var i=n(79666)},54634:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(57826),r=n(86014);let o=(()=>{class e{constructor(){this.choice=new i.EventEmitter,this.ternaryChoice=new i.EventEmitter}ok(){this.choice.emit(!0),this._componentRef.destroy()}cancel(e){e&&!this.emitOnClose||this.choice.emit(!1),this._componentRef.destroy()}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-dialog-selector"]],outputs:{choice:"choice",ternaryChoice:"ternaryChoice"},decls:32,vars:4,consts:[[1,"dark-overlay","modal-overlay"],[1,"modal-content","modal-small","screen-center"],[1,"modal-header"],[1,"h4-heading",3,"bxTranslate"],[1,"close-btn",3,"click"],[1,"icon","icon-close"],[1,"modal-body"],[1,"modal-msg",3,"bxTranslate","innerHTML"],[1,"inline-ctas"],[1,"custom-cta","tertiary",3,"bxTranslate","click"],[1,"custom-cta","primary",3,"bxTranslate","click"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"header",2),i["ɵɵtext"](6,"\n                    "),i["ɵɵelementStart"](7,"h3",3),i["ɵɵtext"](8),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n                    "),i["ɵɵelementStart"](10,"button",4),i["ɵɵlistener"]("click",(function(){return t.cancel(!0)})),i["ɵɵtext"](11,"\n                        "),i["ɵɵelement"](12,"i",5),i["ɵɵtext"](13,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](15,"\n                "),i["ɵɵelementStart"](16,"section",6),i["ɵɵtext"](17,"\n                    "),i["ɵɵelement"](18,"p",7),i["ɵɵtext"](19,"\n                    "),i["ɵɵelementStart"](20,"div",8),i["ɵɵtext"](21,"\n                        "),i["ɵɵelementStart"](22,"button",9),i["ɵɵlistener"]("click",(function(){return t.cancel(!1)})),i["ɵɵtext"](23),i["ɵɵelementEnd"](),i["ɵɵtext"](24,"\n                        "),i["ɵɵelementStart"](25,"button",10),i["ɵɵlistener"]("click",(function(){return t.ok()})),i["ɵɵtext"](26),i["ɵɵelementEnd"](),i["ɵɵtext"](27,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](28,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](29,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](30,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](31,"\n    ")),2&e&&(i["ɵɵadvance"](8),i["ɵɵtextInterpolate"](t.headerText),i["ɵɵadvance"](10),i["ɵɵproperty"]("innerHTML",t.messageText,i["ɵɵsanitizeHtml"]),i["ɵɵadvance"](5),i["ɵɵtextInterpolate"](t.cancelText),i["ɵɵadvance"](3),i["ɵɵtextInterpolate"](t.okText))},directives:[r.P],encapsulation:2}),e})()},21368:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var i=n(57826),r=n(54634);let o=(()=>{class e{constructor(e){this.componentFactoryResolver=e}confirm(e,t){return this.createComponent(e,t)}createComponent(e,t){const n=this.componentFactoryResolver.resolveComponentFactory(r.A),i=e.createComponent(n);return i.instance.headerText=t.headerText,i.instance.messageText=t.messageText,i.instance.okText=t.okText,i.instance.cancelText=t.cancelText,i.instance._componentRef=i,i.instance.emitOnClose=t.emitOnClose,i.changeDetectorRef.detectChanges(),i.instance.choice.asObservable()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.ComponentFactoryResolver))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},74511:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.scrollToTopAllowed=!0}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},53664:(e,t,n)=>{"use strict";n.d(t,{_i:()=>ie});var i=n(6856),r=n(73753),o=n(82846),a=n(64762),s=n(57826),c=n(81899),l=n(22291),d=n(55073),u=n(82957),p=n(42998),h=n(25300),m=n(17990),f=n(40476),g=n(56914),v=n(39926),b=n(33564),y=n(93801);let S=(()=>{class e extends g.x{constructor(e,t){super(),this.gamecardCmsMapper=e,this.trackingService=t}map(e,t){const n=!!e.fields&&!!e.fields.personalized&&!t,i=parseInt(e.automatedNumberOfItems);let r=n?this.gamecardCmsMapper.mapChildGamesAsEmpty(i):this.gamecardCmsMapper.mapChildGames(e),o=!1;return isNaN(i)||(r=r.slice(0,i),o=!0),{gamecardSlider:{games:r,title:e.fields.title,internalName:e.fields.internal_name,contentType:e.contentType,tracking:this.trackingService.getTrackingData(e),slugname:e.slugname,isAutomated:o,hasPersonalizedContent:n,tags:e.fields.tags,notInFilter:y.H.map(e.fields.filter)}}}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](v.z_),s["ɵɵinject"](b.e))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var C=n(16462),x=n(54591),I=n(30173),w=n(45965),E=n(57453),T=n(4788),P=n(52344);class A{constructor(e,t,n,i,r,o,a,s){this.categoryTitle=e,this.slugs=t,this.slugnameOfCategory=n,this.internalName=i,this.automatedNumberOfItems=r,this.personalizedContent=o,this.games=a,this.automatedTracking=s}}let _=(()=>{class e extends g.x{map(e){let t=e.fields.items,n=this.hasSubcategories(t)?this.mapSubcategoriesOfGames(t,e):this.mapOnlyGames(t,e);return{tertiaryCarouselGames:{title:!t&&e.fields.personalized?void 0:e.fields.title,subcategories:n,tags:e.fields.tags,internalName:e.fields.internal_name}}}mapOnlyGames(e,t){if(!t.fields.items&&t.fields.personalized)return[new A("All",[],t.fields.slugname,t.fields.internal_name,t.automatedNumberOfItems,t.fields.personalized)];const n=this.addPersonalizedTracking(t);return[new A("All",this.getGamesSlugs(e),t.fields.slugname,t.fields.internal_name,t.automatedNumberOfItems,void 0,void 0,n)]}mapSubcategoriesOfGames(e,t){let n=[];return e.forEach((e=>{let t;if(!e.fields.items&&e.fields.personalized)t=new A(e.fields.menuItemLabel,[],e.fields.slugname,e.fields.internal_name,e.automatedNumberOfItems,e.fields.personalized);else{const n=this.getGamesSlugs(e.fields.items),i=this.addPersonalizedTracking(e);t=new A(e.fields.title,n,e.fields.slugname,e.fields.internal_name,e.automatedNumberOfItems,void 0,void 0,i)}n.push(t)})),n}addPersonalizedTracking(e){if(e.fields.sourceId&&e.fields.sourceLabel&&e.fields.sortOrder&&e.fields.amount)return{sourceId:e.fields.sourceId,sourceLabel:e.fields.sourceLabel,sortOrder:e.fields.sortOrder,amount:e.fields.amount}}hasSubcategories(e){return e&&e.length&&e[0].contentType!==h.z.CASINO_GAME_PAGE}getGamesSlugs(e){if(!e)return;const t=[];for(let n of e)t.push(n.fields.slug||n.slug);return t}}return e.ɵfac=function(){let t;return function(n){return(t||(t=s["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})(),M=(()=>{class e{constructor(e,t,n,i){this.gamecardService=e,this.contentService=t,this.mapper=n,this.contentViewTrackingService=i}getGamesBySlug(e){return this.gamecardService.getGamesByCategories(e)}getAllGames(){return this.gamecardService.getAllGames()}getGamesByCategory(t){return 0===t.slugs.length?this.contentService.getContentBySlug(t.slugnameOfCategory,e.CONTENT_SECTION).pipe((0,p.mergeMap)((e=>(t.slugs=this.mapper.getGamesSlugs(e.fields.items),this.gamecardService.getGameList(t.slugs).pipe((0,p.map)((e=>(t.games=e,t)))))))):this.gamecardService.getGameList(t.slugs).pipe((0,p.map)((e=>(t.games=e,t))))}getPersonalizedContent(e,t){return this.contentService.getPersonalizedContentBySlug(e.slugnameOfCategory).pipe((0,p.mergeMap)((n=>{const i=this.mapper.getGamesSlugs(n.fields.items);return this.gamecardService.getGameList(i).pipe((0,p.map)((i=>(t&&(e.categoryTitle=n.fields.title),e.games=i,e.automatedNumberOfItems=n.automatedNumberOfItems,e.automatedTracking=this.retrieveAutomatedTracking(n),this.handleContentViewTracking(e.automatedTracking,i,n.fields.internal_name,"personalized"),e))))})))}handleContentViewTracking(e,t,n,i){let r=t.map((e=>e.id));e&&(r=r.slice(0,parseInt(e.amount))),this.contentViewTrackingService.trackView(e,r,n,[],i)}retrieveAutomatedTracking(e){return{sourceId:e.fields.sourceId,sourceLabel:e.fields.sourceLabel,sortOrder:e.fields.sortOrder,amount:e.fields.amount}}}return e.CONTENT_SECTION="games",e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](T.GH),s["ɵɵinject"](P._s),s["ɵɵinject"](_),s["ɵɵinject"](x.O))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();var O=n(74511),k=n(16424),j=n(84333),N=n(14385),D=n(68076),L=n(92348),R=n(83502);const F=["searchBar"],B=["cardContainer"];function U(e,t){if(1&e&&(s["ɵɵelementStart"](0,"h2",18),s["ɵɵtext"](1),s["ɵɵelementEnd"]()),2&e){const e=s["ɵɵnextContext"](3);s["ɵɵadvance"](1),s["ɵɵtextInterpolate"](e.title)}}function H(e,t){1&e&&s["ɵɵelement"](0,"div",19)}function V(e,t){if(1&e&&(s["ɵɵelementStart"](0,"header",15),s["ɵɵtext"](1,"\n                            "),s["ɵɵtemplate"](2,U,2,1,"h2",16),s["ɵɵtext"](3,"\n                            "),s["ɵɵtemplate"](4,H,1,0,"div",17),s["ɵɵtext"](5,"\n                        "),s["ɵɵelementEnd"]()),2&e){const e=s["ɵɵnextContext"](2);s["ɵɵadvance"](2),s["ɵɵproperty"]("ngIf",!e.showTitlePlaceholder),s["ɵɵadvance"](2),s["ɵɵproperty"]("ngIf",e.showTitlePlaceholder)}}function G(e,t){if(1&e){const e=s["ɵɵgetCurrentView"]();s["ɵɵelementStart"](0,"bx-search-bar",20,21),s["ɵɵlistener"]("focus",(function(){return s["ɵɵrestoreView"](e),s["ɵɵnextContext"](2).onFocusSearch()}))("activated",(function(){return s["ɵɵrestoreView"](e),s["ɵɵnextContext"](2).onSearchActivated()}))("deactivated",(function(){return s["ɵɵrestoreView"](e),s["ɵɵnextContext"](2).onSearchDeactivated()})),s["ɵɵtext"](2,"\n                        "),s["ɵɵelementEnd"]()}if(2&e){const e=s["ɵɵnextContext"](2);s["ɵɵproperty"]("dataSource",e.casinoDataSource)}}function $(e,t){if(1&e&&s["ɵɵelement"](0,"bx-card",22),2&e){const e=t.$implicit,n=t.index,i=s["ɵɵnextContext"](2);s["ɵɵproperty"]("card",e)("defaultImage",i.getDefaultImage())("gameBlockContext",i.gameBlockContext)("position",n)("contentSource",i.contentSource)("automatedTracking",i.automatedTracking)}}function z(e,t){if(1&e){const e=s["ɵɵgetCurrentView"]();s["ɵɵelementStart"](0,"li",23),s["ɵɵlistener"]("click",(function(){return s["ɵɵrestoreView"](e),s["ɵɵnextContext"](2).scrollLeft()})),s["ɵɵtext"](1,"\n                            "),s["ɵɵelementStart"](2,"button",24),s["ɵɵtext"](3,"\n                                "),s["ɵɵelement"](4,"i",25),s["ɵɵtext"](5,"\n                            "),s["ɵɵelementEnd"](),s["ɵɵtext"](6,"\n                        "),s["ɵɵelementEnd"]()}}function W(e,t){if(1&e){const e=s["ɵɵgetCurrentView"]();s["ɵɵelementStart"](0,"li",26),s["ɵɵlistener"]("click",(function(){return s["ɵɵrestoreView"](e),s["ɵɵnextContext"](2).scrollRight()})),s["ɵɵtext"](1,"\n                            "),s["ɵɵelementStart"](2,"button",27),s["ɵɵtext"](3,"\n                                "),s["ɵɵelement"](4,"i",28),s["ɵɵtext"](5,"\n                            "),s["ɵɵelementEnd"](),s["ɵɵtext"](6,"\n                        "),s["ɵɵelementEnd"]()}}const q=function(e){return{overmenu:e}},K=function(e){return{"hidden-xs":e}};function X(e,t){if(1&e&&(s["ɵɵelementStart"](0,"section",1),s["ɵɵtext"](1,"\n            "),s["ɵɵelementStart"](2,"div",2),s["ɵɵtext"](3,"\n                "),s["ɵɵelementStart"](4,"div",3),s["ɵɵtext"](5,"\n                    "),s["ɵɵelementStart"](6,"div",4),s["ɵɵtext"](7,"\n                        "),s["ɵɵtemplate"](8,V,6,2,"header",5),s["ɵɵtext"](9,"\n                    "),s["ɵɵelementEnd"](),s["ɵɵtext"](10,"\n                    "),s["ɵɵelementStart"](11,"div",6),s["ɵɵtext"](12,"\n                        "),s["ɵɵtemplate"](13,G,3,1,"bx-search-bar",7),s["ɵɵtext"](14,"\n                    "),s["ɵɵelementEnd"](),s["ɵɵtext"](15,"\n                "),s["ɵɵelementEnd"](),s["ɵɵtext"](16,"\n                "),s["ɵɵelementStart"](17,"div",8),s["ɵɵtext"](18,"\n                    "),s["ɵɵelementStart"](19,"div",9,10),s["ɵɵtext"](21,"\n                        "),s["ɵɵtemplate"](22,$,1,6,"bx-card",11),s["ɵɵtext"](23,"\n                    "),s["ɵɵelementEnd"](),s["ɵɵtext"](24,"\n                    "),s["ɵɵelementStart"](25,"ul",12),s["ɵɵtext"](26,"\n                        "),s["ɵɵtemplate"](27,z,7,0,"li",13),s["ɵɵtext"](28,"\n                        "),s["ɵɵtemplate"](29,W,7,0,"li",14),s["ɵɵtext"](30,"\n                    "),s["ɵɵelementEnd"](),s["ɵɵtext"](31,"\n                "),s["ɵɵelementEnd"](),s["ɵɵtext"](32,"\n            "),s["ɵɵelementEnd"](),s["ɵɵtext"](33,"\n        "),s["ɵɵelementEnd"]()),2&e){const e=s["ɵɵnextContext"]();s["ɵɵproperty"]("ngClass",s["ɵɵpureFunction1"](9,q,e.searchBarActive)),s["ɵɵattribute"]("data-notIn-subdivisions",e.notInSubdivisionList),s["ɵɵadvance"](6),s["ɵɵproperty"]("ngClass",s["ɵɵpureFunction1"](11,K,e.searchBarActive)),s["ɵɵadvance"](2),s["ɵɵproperty"]("ngIf",e.title),s["ɵɵadvance"](3),s["ɵɵproperty"]("hidden",!e.isCasinoSearchEnabled()),s["ɵɵadvance"](2),s["ɵɵproperty"]("ngIf",e.isCasinoSearchEnabled()),s["ɵɵadvance"](9),s["ɵɵproperty"]("ngForOf",e.games),s["ɵɵadvance"](5),s["ɵɵproperty"]("ngIf",e.scrollLeftButtonShown),s["ɵɵadvance"](2),s["ɵɵproperty"]("ngIf",e.scrollRightButtonShown)}}let Y=class{constructor(e,t,n,i,r,o,a,s,c,l,d,u,p,h,m){this.imageService=e,this.horizontalScrollServiceFactory=t,this.contentService=n,this.gamecardSliderMapper=i,this.document=r,this.platformId=o,this.contentViewTrackingService=a,this.windowService=s,this.deviceService=c,this.siteConfig=l,this.cookieStorageService=d,this.casinoGameSearchConfig=u,this.cardConfig=p,this.gameTertiaryCarouselService=h,this.subdivisionService=m,this.CASINO_SEARCH_FEATURE="casino.search_bar",this.CASINO_SEARCH_DATASOURCE="SEARCHBYCATEGORIES",this.scrollRightButtonShown=!0,this.scrollLeftButtonShown=!1,this.games=[],this.hideSection=!1,this.contentSource="manual",this.notInSubdivisionList=null,this.horizontalScrollService=this.horizontalScrollServiceFactory.create()}ngOnInit(){this.isCasinoSearchEnabled()&&(this.casinoDataSource=new E.x(this.subdivisionService)),this.showTitlePlaceholder=this.gamecardSlider.hasPersonalizedContent,this.title=this.gamecardSlider.title,this.games=this.gamecardSlider.games,this.hideSection=this.subdivisionService.checkAllGamesHaveSameSubdivisionRestriction(this.games),this.gameBlockContext={contentType:this.gamecardSlider.contentType,internalName:this.gamecardSlider.internalName,tracking:this.gamecardSlider.tracking},this.gamecardSlider.hasPersonalizedContent?(0,i.isPlatformBrowser)(this.platformId)&&this.requestPersonalizedContentBySlug():(this.contentSource=this.gamecardSlider.isAutomated?"automated":"manual",this.automatedTracking=this.gamecardSlider.tracking.automatedTracking,this.handleContentViewTracking()),this.gamecardSlider.notInFilter&&(this.notInSubdivisionList=y.H.getNotInSubdivisionList(this.gamecardSlider.notInFilter))}requestPersonalizedContentBySlug(){this.contentService.getPersonalizedContentBySlug(this.gamecardSlider.slugname).subscribe((e=>{const t=this.gamecardSliderMapper.map(e,!0);this.games=t.gamecardSlider.games,this.title=t.gamecardSlider.title,this.showTitlePlaceholder=!1,this.contentSource="personalized",this.automatedTracking=t.gamecardSlider.tracking.automatedTracking,this.handleContentViewTracking()}))}handleContentViewTracking(){const e=this.games.map((e=>e.id));this.contentViewTrackingService.trackView(this.automatedTracking,e,this.gameBlockContext.internalName,this.gameBlockContext.tracking.audiences,this.contentSource)}ngAfterViewInit(){this.horizontalScrollService.initScroll(this.cardContainer),this.scrollSubscription=this.horizontalScrollService.getSubject().subscribe((e=>{"left"===e.button?this.scrollLeftButtonShown=e.display:this.scrollRightButtonShown=e.display}))}onFocusSearch(){if(this.deviceService.isMobile()&&this.isCasinoSearchEnabled()&&this.isScrollAllowed()){this.searchBar.nativeElement.scrollIntoView();const e=this.windowService.window().scrollY,t=this.document.querySelector(".navbar-fixed-top");e&&t&&this.windowService.window().scroll(0,e-t.getBoundingClientRect().height-16)}}getDefaultImage(){return this.imageService.getPlaceholderImage(400,304,this.cardConfig.defaultImageColor||void 0)}isScrollAllowed(){return this.casinoGameSearchConfig.scrollToTopAllowed}onSearchActivated(){this.casinoDataSource.data||(this.searchByCategories()?this.gameTertiaryCarouselService.getGamesBySlug("casino-search-menu"):this.gameTertiaryCarouselService.getAllGames()).pipe((0,p.map)((e=>e.filter((e=>"live-dealer"!==e.category))))).subscribe((e=>this.casinoDataSource.data=e)),this.searchBarActive=!0}onSearchDeactivated(){this.searchBarActive=!1}isCasinoSearchEnabled(){return this.siteConfig.hasFeature(this.CASINO_SEARCH_FEATURE)&&(0,i.isPlatformBrowser)(this.platformId)&&this.gamecardSlider.tags&&this.gamecardSlider.tags.includes("casinogamespercategories")}scrollRight(){this.horizontalScrollService.scrollRight()}scrollLeft(){this.horizontalScrollService.scrollLeft()}searchByCategories(){return"true"===this.cookieStorageService.get(this.CASINO_SEARCH_DATASOURCE)}};Y.ɵfac=function(e){return new(e||Y)(s["ɵɵdirectiveInject"](l.AJ),s["ɵɵdirectiveInject"](u.b),s["ɵɵdirectiveInject"](C._),s["ɵɵdirectiveInject"](S),s["ɵɵdirectiveInject"](i.DOCUMENT),s["ɵɵdirectiveInject"](s.PLATFORM_ID),s["ɵɵdirectiveInject"](x.O),s["ɵɵdirectiveInject"](c.u),s["ɵɵdirectiveInject"](I.U),s["ɵɵdirectiveInject"](w.r),s["ɵɵdirectiveInject"](o.G),s["ɵɵdirectiveInject"](O.a),s["ɵɵdirectiveInject"](k.e),s["ɵɵdirectiveInject"](M),s["ɵɵdirectiveInject"](d.F))},Y.ɵcmp=s["ɵɵdefineComponent"]({type:Y,selectors:[["bx-game-card-slider"]],viewQuery:function(e,t){if(1&e&&(s["ɵɵviewQuery"](F,5,s.ElementRef),s["ɵɵviewQuery"](B,5)),2&e){let e;s["ɵɵqueryRefresh"](e=s["ɵɵloadQuery"]())&&(t.searchBar=e.first),s["ɵɵqueryRefresh"](e=s["ɵɵloadQuery"]())&&(t.cardContainer=e.first)}},inputs:{gamecardSlider:"gamecardSlider"},decls:3,vars:1,consts:[["class","carousel primary","bxHideBySubdivision","",3,"ngClass",4,"ngIf"],["bxHideBySubdivision","",1,"carousel","primary",3,"ngClass"],[1,"component-wrapper","max-container"],[1,"top-container"],[1,"component-header-container",3,"ngClass"],["class","component-header",4,"ngIf"],[1,"casino-actions-container",3,"hidden"],["searchSlide","","searchGame","",3,"dataSource","focus","activated","deactivated",4,"ngIf"],[1,"hide-scroll"],[1,"content-slider","max-height-container"],["cardContainer",""],[3,"card","defaultImage","gameBlockContext","position","contentSource","automatedTracking",4,"ngFor","ngForOf"],[1,"carousel-navigation"],["role","button","class","carousel-navigation-back",3,"click",4,"ngIf"],["role","button","class","carousel-navigation-next",3,"click",4,"ngIf"],[1,"component-header"],["class","h2-heading content-title",4,"ngIf"],["class","placeholder-title",4,"ngIf"],[1,"h2-heading","content-title"],[1,"placeholder-title"],["searchSlide","","searchGame","",3,"dataSource","focus","activated","deactivated"],["searchBar",""],[3,"card","defaultImage","gameBlockContext","position","contentSource","automatedTracking"],["role","button",1,"carousel-navigation-back",3,"click"],["aria-label","back",1,"carousel-navigation-btn"],[1,"icon","icon-arrow-back"],["role","button",1,"carousel-navigation-next",3,"click"],["aria-label","next",1,"carousel-navigation-btn"],[1,"icon","icon-arrow-next"]],template:function(e,t){1&e&&(s["ɵɵtext"](0,"\n        "),s["ɵɵtemplate"](1,X,34,13,"section",0),s["ɵɵtext"](2,"\n    ")),2&e&&(s["ɵɵadvance"](1),s["ɵɵproperty"]("ngIf",!t.hideSection))},directives:[i.NgIf,j.e,i.NgClass,i.NgForOf,N.N,D.K,L.D,R.I],encapsulation:2}),Y=(0,a.__decorate)([(0,m.DE)({name:"GamecardSlider",injectedMapper:S,matcher:e=>e.contentType===h.z.MENU&&e.fields.tags&&e.fields.tags.split(",").indexOf(f.d.GAMECARD_SLIDER)>=0}),(0,a.__metadata)("design:paramtypes",[l.AJ,u.b,C._,S,Object,Object,x.O,c.u,I.U,w.r,o.G,O.a,k.e,M,d.F])],Y);var J=n(84704),Q=n(89493),Z=n(53001),ee=n(93996),te=n(35767),ne=n(63749);let ie=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({providers:[S,o.G],imports:[[i.CommonModule,r.RouterModule,v.Lw,l.$Q,J.a,Q.E,Z.J.withComponents([Y]),te.t,ee.M,ne.m]]}),e})()},29015:(e,t,n)=>{"use strict";n.d(t,{T:()=>c});var i=n(57826),r=n(6856),o=n(43640),a=n(24144),s=n(616);let c=(()=>{class e{constructor(e,t,n){this.reactiveChatService=e,this.profileStore=t,this.platformId=n,this.isChatBot=!1,this.LIVE_CHAT_DATA_ATTRIBUTE="openlivechat"}ngOnInit(){(0,r.isPlatformBrowser)(this.platformId)&&this.reactiveChatService.getChatConfig().subscribe((e=>{this.chatEnabled=(0,o.JQ)(e.type),this.chatEnabled&&this.reactiveChatService.ensureLibrariesAreLoaded()}))}handleLiveChatClicks(e){if(this.chatEnabled){let t=this.findClosestAnchor(e.target);if(this.isLiveChatLink(t))return e.stopPropagation(),this.startChatSession(),!1}return!0}isLiveChatLink(e){return e&&e.dataset.hasOwnProperty(this.LIVE_CHAT_DATA_ATTRIBUTE)}findClosestAnchor(e){for(;e;){if("A"===e.tagName)return e;if(e.getAttribute("anchorLinksHandler"))return null;e=e.parentElement}return null}startChatSession(){if(this.reactiveChatService.hasActiveSession())this.reactiveChatService.openExistingSession();else{const e={moxie:{userName:this.profileStore.profile.username,email:this.profileStore.profile.email},novomind:{},alvaria:{}};this.isChatBot&&(e.novomind.urlTag="chatBot"),this.reactiveChatService.openChat(e)}}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](a.R),i["ɵɵdirectiveInject"](s.s),i["ɵɵdirectiveInject"](i.PLATFORM_ID,8))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxLiveChatHandler",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("click",(function(e){return t.handleLiveChatClicks(e)}))},inputs:{isChatBot:"isChatBot"}}),e})()},39013:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var i=n(6856),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({imports:[[i.CommonModule]]}),e})()},27616:(e,t,n)=>{"use strict";n.d(t,{c:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.displayIcon=!1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},14385:(e,t,n)=>{"use strict";n.d(t,{N:()=>g});var i=n(6856),r=n(57826),o=n(40475),a=n(3336),s=n(4309),c=n(42998);n(1154);const l=["searchInput"];function d(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",11),r["ɵɵtext"](1,"\n                    "),r["ɵɵelement"](2,"bx-search-list",12),r["ɵɵtext"](3,"\n                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵproperty"]("dataSource",e.dataSourceValues)}}const u=function(e){return{"search-field-enabled":e}},p=function(e,t){return{hidden:e,"has-text":t}},h=function(){return{tag:"placeholder",label:"search.input.placeholder"}},m=function(e){return{"has-text active-field":e}},f=function(e,t){return{"search-btn":e,"cancel-search":t}};let g=(()=>{class e{constructor(e,t,n,o){this.analyticsService=e,this.element=t,this.fb=n,this.platformId=o,this.showResults=!1,this.isDataSourceReady$=new s.Subject,this.state="inactive",this.searchForm=this.fb.group({search:[""]}),this.activated=new r.EventEmitter,this.deactivated=new r.EventEmitter,this.focus=new r.EventEmitter,(0,i.isPlatformBrowser)(this.platformId)&&(this._onclickSub=(0,s.fromEvent)(document,"click").pipe((0,c.filter)((e=>!e.composedPath().includes(this.element.nativeElement)))).subscribe((()=>this.cleanUpSearch())))}set dataSource(e){e&&(this.dataSourceValues=e,this.showResults=!0,this.isDataSourceReady$.next())}isActive(){return"active"===this.state}isInactive(){return"inactive"===this.state}isTyping(){return this.searchForm.dirty}ngOnInit(){(0,s.combineLatest)(this.isDataSourceReady$,this.searchForm.get("search").valueChanges).pipe((0,c.debounceTime)(300)).subscribe((e=>{this.dataSourceValues.filter&&!e&&this.searchForm.reset(),this.dataSourceValues.filter=e[1]})),this.dataSourceValues&&this.isDataSourceReady$.next()}onSearchBtnClick(e){if(this.isActive()&&this.searchForm.pristine)return e.preventDefault();this.isActive()&&this.isTyping()?this.cleanUpSearch():(this.analyticsService.sendEvent("click","casino_search_box_click",!1,{}),this.state="active",setTimeout((()=>{this.activated.emit(),this.onFocusInput()}),0))}onFocusInput(){this._searchInput.nativeElement.focus(),this._searchInput.nativeElement.click(),this.focus.emit()}ngOnDestroy(){this._onclickSub&&(this._onclickSub.unsubscribe(),this._onclickSub=null),this.dataSourceValues&&this.dataSourceValues.disconnect(),this.isDataSourceReady$.unsubscribe()}cleanUpSearch(){this.dataSourceValues&&(this.dataSourceValues.filter=null),this.state="inactive",this.searchForm.reset(),this.deactivated.emit()}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](a.y),r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](o.FormBuilder),r["ɵɵdirectiveInject"](r.PLATFORM_ID))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-search-bar"]],viewQuery:function(e,t){if(1&e&&r["ɵɵviewQuery"](l,5),2&e){let e;r["ɵɵqueryRefresh"](e=r["ɵɵloadQuery"]())&&(t._searchInput=e.first)}},hostVars:2,hostBindings:function(e,t){2&e&&r["ɵɵclassMap"](t.state)},inputs:{dataSource:"dataSource"},outputs:{activated:"activated",deactivated:"deactivated",focus:"focus"},decls:31,vars:24,consts:[[1,"search-navbar",3,"ngClass"],[1,"custom-dropdown","custom-dropdown-search","custom-field","small-field","search-input",3,"formGroup","ngClass","keydown.enter"],["type","text","formControlName","search",1,"search-input-dropdown","search-text-input",3,"ngClass","bxTranslate","keydown.esc"],["searchInput",""],["for","small-dropdown-search",1,"search-dropdown-label",3,"ngClass"],["type","button",1,"clear-btn",3,"hidden","click"],[1,"icon","icon-close"],["type","button",3,"ngClass","click"],[1,"icon","icon-search",3,"hidden"],[1,"text",3,"hidden","bxTranslate"],["class","search-results",4,"ngIf"],[1,"search-results"],[3,"dataSource"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"div",0),r["ɵɵtext"](2,"\n            "),r["ɵɵelementStart"](3,"form",1),r["ɵɵlistener"]("keydown.enter",(function(e){return e.preventDefault()})),r["ɵɵtext"](4,"\n                "),r["ɵɵelementStart"](5,"input",2,3),r["ɵɵlistener"]("keydown.esc",(function(){return t.searchForm.reset()})),r["ɵɵelementEnd"](),r["ɵɵtext"](7,"\n                "),r["ɵɵelementStart"](8,"label",4),r["ɵɵtext"](9,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](10,"\n\n                "),r["ɵɵelementStart"](11,"button",5),r["ɵɵlistener"]("click",(function(){return t.searchForm.reset()})),r["ɵɵtext"](12,"\n                    Clear\n                    "),r["ɵɵelement"](13,"i",6),r["ɵɵtext"](14,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](15,"\n\n                "),r["ɵɵelementStart"](16,"button",7),r["ɵɵlistener"]("click",(function(e){return t.onSearchBtnClick(e)})),r["ɵɵtext"](17,"\n                    "),r["ɵɵelementStart"](18,"span"),r["ɵɵtext"](19,"\n                        "),r["ɵɵelement"](20,"i",8),r["ɵɵtext"](21,"\n                        "),r["ɵɵelementStart"](22,"span",9),r["ɵɵtext"](23,"\n                            search.action.cancel\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](24,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](25,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](26,"\n                "),r["ɵɵtemplate"](27,d,4,1,"div",10),r["ɵɵtext"](28,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](29,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](30,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction1"](13,u,t.isActive())),r["ɵɵadvance"](2),r["ɵɵclassProp"]("has-text",t.isTyping()),r["ɵɵproperty"]("formGroup",t.searchForm)("ngClass",t.state),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction2"](15,p,t.isInactive(),t.isTyping()))("bxTranslate",r["ɵɵpureFunction0"](18,h)),r["ɵɵadvance"](3),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction1"](19,m,t.isTyping())),r["ɵɵadvance"](3),r["ɵɵproperty"]("hidden",t.searchForm.pristine),r["ɵɵadvance"](5),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction2"](21,f,t.searchForm.pristine,t.isTyping())),r["ɵɵadvance"](4),r["ɵɵproperty"]("hidden",t.isTyping()),r["ɵɵadvance"](2),r["ɵɵproperty"]("hidden",t.searchForm.pristine),r["ɵɵadvance"](5),r["ɵɵproperty"]("ngIf",t.showResults))},styles:["[_nghost-%COMP%]   form[_ngcontent-%COMP%] { border-radius: 4px; }"]}),e})()},97781:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});const i=new(n(57826).InjectionToken)("SearchConfig")},43601:(e,t,n)=>{"use strict";n.d(t,{V:()=>h}),n(1154);var i=n(14385),r=n(57826),o=n(6856),a=n(97781);let s=(()=>{class e{constructor(e,t,n){this.componentConfig=e,this.viewContainerRef=t,this.cfr=n}ngOnInit(){let e=this.cfr.resolveComponentFactory(this.componentConfig.template);this.viewContainerRef.clear(),this.viewContainerRef.createComponent(e).instance.data=this.data}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](a.o),r["ɵɵdirectiveInject"](r.ViewContainerRef),r["ɵɵdirectiveInject"](r.ComponentFactoryResolver))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","bx-dynamic-template",""]],inputs:{data:["bx-dynamic-template","data"]}}),e})();var c=n(86014);function l(e,t){}function d(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                "),r["ɵɵtemplate"](2,l,0,0,"ng-template",3),r["ɵɵtext"](3,"\n            "),r["ɵɵelementContainerEnd"]()),2&e){const e=t.$implicit;r["ɵɵadvance"](2),r["ɵɵproperty"]("bx-dynamic-template",e)}}function u(e,t){1&e&&(r["ɵɵelementStart"](0,"li",4),r["ɵɵtext"](1,"\n                "),r["ɵɵelementStart"](2,"div",5),r["ɵɵtext"](3,"\n                    "),r["ɵɵelementStart"](4,"header",6),r["ɵɵtext"](5,"\n                        "),r["ɵɵelement"](6,"i",7),r["ɵɵtext"](7,"\n                        "),r["ɵɵelementStart"](8,"h3",8),r["ɵɵtext"](9,"search.info.notFound.title"),r["ɵɵelementEnd"](),r["ɵɵtext"](10,"\n                        "),r["ɵɵelementStart"](11,"h4",8),r["ɵɵtext"](12,"search.info.notFound.subtitle"),r["ɵɵelementEnd"](),r["ɵɵtext"](13,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](14,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](15,"\n            "),r["ɵɵelementEnd"]())}const p=function(e){return{active:e}};let h=(()=>{class e{constructor(e){this._bar=e}ngOnInit(){if(!this._bar)throw Error("Search bar parent component not found!!");this.dataSource.connect().subscribe((e=>this.filtered=e))}displayDroplist(){return this._bar.isActive()&&this._bar.isTyping()&&this.filtered&&this.filtered.length>=0}displayEmptyListRow(){return this._bar.isTyping()&&this.filtered&&0===this.filtered.length}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](i.N))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-search-list"]],inputs:{dataSource:"dataSource"},decls:8,vars:5,consts:[["role","list",1,"inner-search-results","custom-droplist",3,"ngClass"],[4,"ngFor","ngForOf"],["role","listitem","class","search-result not-found",4,"ngIf"],[3,"bx-dynamic-template"],["role","listitem",1,"search-result","not-found"],[1,"info-area"],[1,"game-info"],[1,"info","icon-info"],["role","heading",3,"bxTranslate"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"ul",0),r["ɵɵtext"](2,"\n            "),r["ɵɵtemplate"](3,d,4,1,"ng-container",1),r["ɵɵtext"](4,"\n            "),r["ɵɵtemplate"](5,u,16,0,"li",2),r["ɵɵtext"](6,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](7,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction1"](3,p,t.displayDroplist())),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngForOf",t.filtered),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.displayEmptyListRow()))},directives:[o.NgClass,o.NgForOf,o.NgIf,s,c.P],styles:["[_nghost-%COMP%]   ul.active[_ngcontent-%COMP%] {\n  display: block; }"]}),e})()},35767:(e,t,n)=>{"use strict";n.d(t,{t:()=>h});var i=n(57826),r=n(6856),o=n(40475),a=n(73753),s=n(84704),c=n(6235),l=n(14385),d=n(43601),u=n(97781),p=n(86014);let h=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:u.o,useValue:t},{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,useValue:[t.template],multi:!0}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[a.RouterModule,r.CommonModule,s.a,o.ReactiveFormsModule,c.$]]}),e})();i["ɵɵsetComponentScope"](l.N,[r.NgClass,o["ɵNgNoValidate"],o.NgControlStatusGroup,o.FormGroupDirective,o.DefaultValueAccessor,o.NgControlStatus,o.FormControlName,p.P,r.NgIf,d.V],[])},57453:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var i=n(1154);class r extends i.o{constructor(e,t){super(t),this.subdivisionService=e}doFilter(){return this.filter&&this.data?this.data.filter((e=>!!e.id)).filter((e=>!!this.filter&&e.name.toLowerCase().indexOf(this.filter.trim().toLowerCase())>=0)).filter((e=>!this.isFilterGameBySubdivision(e))):null}doSort(){return this.data}isFilterGameBySubdivision(e){return e.notInFilter&&e.notInFilter.countrySubdivision&&e.notInFilter.countrySubdivision.includes(this.subdivisionService.getCurrentSubdivisionId())}}},1154:(e,t,n)=>{"use strict";n.d(t,{o:()=>o});var i=n(4309),r=n(42998);class o{constructor(e){this._filter=new i.BehaviorSubject(""),this._limit=8,this._data=new i.BehaviorSubject(e)}get data(){return this._data.value}set data(e){this._data.next(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e)}connect(){return(0,i.combineLatest)(this._data,this._filter).pipe((0,r.map)((()=>this.doFilter()))).pipe((0,r.map)((e=>e?e.slice(0,this._limit):null)))}disconnect(){}}},92348:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(57826);let r=(()=>{class e{constructor(e,t){this.rendered=e,this.element=t}ngOnInit(){const e=this.element.nativeElement.querySelector(".search-navbar .search-input");this.rendered.addClass(e,"search-games-form")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.Renderer2),i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","searchGame",""]]}),e})()},68076:(e,t,n)=>{"use strict";n.d(t,{K:()=>r});var i=n(57826);let r=(()=>{class e{constructor(e,t){this.rendered=e,this.element=t}ngOnInit(){const e=this.element.nativeElement.querySelector(".search-navbar .search-input");this.rendered.addClass(e,"search-slide")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.Renderer2),i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","searchSlide",""]]}),e})()},88274:(e,t,n)=>{"use strict";n.d(t,{_:()=>o});var i=n(56914),r=n(57826);let o=(()=>{class e extends i.x{map(e){return{data:{fields:e.fields,draft:"draft"===e.status}}}}return e.ɵfac=function(){let t;return function(n){return(t||(t=r["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},2046:(e,t,n)=>{"use strict";n.d(t,{e:()=>M});var i=n(64762),r=n(57826),o=n(67953),a=n(54056),s=n(17990),c=n(25300),l=n(12797);class d extends l.${constructor(){super("contentBlock")}}var u,p=n(78482),h=n(40476),m=n(95149),f=n(18542),g=n(88274),v=n(65353),b=n(93801),y=n(84333),S=n(32716),C=n(6856),x=n(6688),I=n(2986),w=n(60227);function E(e,t){if(1&e&&(r["ɵɵelementStart"](0,"header",4),r["ɵɵtext"](1,"\n                "),r["ɵɵelementStart"](2,"h2",5),r["ɵɵtext"](3),r["ɵɵelementEnd"](),r["ɵɵtext"](4,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵadvance"](3),r["ɵɵtextInterpolate"](e.title)}}function T(e,t){if(1&e&&(r["ɵɵelementStart"](0,"bx-small-banner",10),r["ɵɵtext"](1,"\n                    "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit;r["ɵɵproperty"]("imageSrc",e.imageSrc)("alt",e.alt)("linkTo",e.linkTo)("isExternal",e.isExternal)("bannerText",e.bannerText)("bannerSubText",e.bannerSubText)("bannerTextColor",e.bannerTextColor)("target",e.target)("gameId",e.liveDealerId)("data",e)}}function P(e,t){if(1&e&&(r["ɵɵelementStart"](0,"bx-content-block",11),r["ɵɵtext"](1,"\n                    "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit;r["ɵɵproperty"]("ngClass",e.sizeClass)("data",e)}}function A(e,t){if(1&e&&(r["ɵɵelementStart"](0,"bx-slide-card",12),r["ɵɵtext"](1,"\n                    "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit;r["ɵɵproperty"]("title",e.title)("cardText",e.cardText)("cardTextColor",e.cardTextColor)("imageSrc",e.imageSrc)("linkTo",e.linkTo)("target",e.target)("data",e)}}function _(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",6),r["ɵɵtext"](1,"\n                    "),r["ɵɵtemplate"](2,T,2,10,"bx-small-banner",7),r["ɵɵtext"](3,"\n                    "),r["ɵɵtemplate"](4,P,2,2,"bx-content-block",8),r["ɵɵtext"](5,"\n                    "),r["ɵɵtemplate"](6,A,2,7,"bx-slide-card",9),r["ɵɵtext"](7,"\n                "),r["ɵɵelementEnd"]()),2&e){const e=t.$implicit,n=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngClass",n.getCSSClasses(e))("ngSwitch",e.componentType),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","smallBanner"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","contentBlock"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","slideCard")}}let M=u=class{constructor(e,t,n){this.cssMappers=e,this.textLayoutMapper=t,this.abtFieldsMapper=n,this.data={},this.banners=[],this.notInSubdivisionList=null}ngOnInit(){if(this.data){this.mapToDataModel(this.data.fields);const e=b.H.map(this.data.fields&&this.data.fields.filter||{});this.notInSubdivisionList=b.H.getNotInSubdivisionList(e)}}ngOnChanges(e){this.data&&this.mapToDataModel(this.data.fields)}mapToDataModel(e){if(e&&e.items){this.title=e.title,this.banners=[];const t=e.items,n={size:"1x1",smallBannerType:"smallBanner",textLayoutClass:""};t.forEach((e=>{const t={...n};t.smallBannerType=u.getContentType(e),t.fields=e.fields,t.draft="draft"===e.status;const i=this.extractFields(e.fields,t);this.banners.push(this.createBanner(i))}))}}static hasTag(e,t){return(e&&e.split(",")||[]).map((e=>e.trim())).indexOf(t)>-1}static getContentType({contentType:e,fields:t}){return"content_block"===e?"contentBlock":u.hasTag(t.tags,h.d.SLIDE_CARD)?"slideCard":"smallBanner"}static getLink(e){return e.linkUrl?e.linkUrl:p.K.mapLinkUrl(e)}extractFields(e,t){let n=this.extractTags(e.tags,t);return n.imageSrc=e.image?e.image.url:"",n.alt=e.image&&e.image.alt?e.image.alt:"",n.linkTo=e.link_url?u.getLink(e.link_url):"",n.linkText=e.link_url?e.link_url.name:"",n.isExternal=e.link_url&&"linkUrl"in e.link_url,n.contentText=u.getContentText(t.smallBannerType,e),n.title=e.title||"",n.bgColor=e.background_color||"",n.color=e.text_color||"",n.draft=t.draft,n.name=e.internal_name,n.isABTestingEnabled=e.isABTestingEnabled,n.testTitle=e.testTitle,n.version=e.version,u.isLiveDealer(e)&&(n.liveDealerId=e.link_url.fields.game_id[0].id),n.target=u.getTarget(e.link_target),n}static isLiveDealer(e){return e.link_url&&"casino_game_page"===e.link_url.contentType&&"live-dealer"===e.link_url.fields.category.slug}static getContentText(e,t){return"contentBlock"===e?t.body:t.content}static getTarget(e){return{pop_up:"popup",same_tab:"_self",new_tab:"_blank"}[e]||""}extractTags(e,t){let n={...t};if(e){let t=e.split(",");t.filter((e=>"1x2"===e||"1x4"===e||"1x6"===e)).forEach((e=>{n.size=e})),n.textLayoutClass=this.textLayoutMapper.map(t)}return n}createBanner(e){return"smallBanner"===e.smallBannerType?this.createSmallBanner(e):"slideCard"===e.smallBannerType?this.createCard(e):u.createContentBlock(e)}createSmallBanner(e){let t=new o.n;return t.sizeClass="section-"+e.size,t.imageSrc=e.imageSrc,t.alt=e.fields&&e.fields.image&&e.fields.image.alt?e.fields.image.alt:"",t.linkTo=e.linkTo,t.bannerText=e.title,t.bannerSubText=e.contentText,t.bannerTextColor=e.color,t.isExternal=e.isExternal,t.target=e.target,t.textLayoutClass=e.textLayoutClass,t.draft=e.draft,t.name=e.name,t.tracking={abtStudy:this.abtFieldsMapper.map({fields:e})},e.liveDealerId&&(t.liveDealerId=e.liveDealerId),t}createCard(e){let t=new a.q;return t.sizeClass="section-"+e.size,t.title=e.title,t.cardText=e.contentText,t.cardTextColor=e.color,t.imageSrc=e.imageSrc,t.alt=e.fields&&e.fields.image&&e.fields.image.alt?e.fields.image.alt:"",t.linkTo=e.linkTo,t.target=e.target,t.textLayoutClass=e.textLayoutClass,t.draft=e.draft,t.name=e.name,t.tracking={abtStudy:this.abtFieldsMapper.map({fields:e})},t}static tagIsPresent(e,t){return e.split(",").some((e=>e.trim()===t))}static createContentBlock(e){let t=new d;return t.sizeClass="section-"+e.size,t.body=e.contentText,t.draft=e.draft,t.title=e.title||"",e.fields.tags&&(t.liveChat=u.tagIsPresent(e.fields.tags,u.LIVE_CHAT_TAG),t.chatBot=u.tagIsPresent(e.fields.tags,u.CHAT_BOT_TAG)),t}getCSSClasses(e){return this.cssMappers.ConsolidateStyleGroups([e.sizeClass,e.textLayoutClass])}};M.LIVE_CHAT_TAG="livechat",M.CHAT_BOT_TAG="chatbot",M.ɵfac=function(e){return new(e||M)(r["ɵɵdirectiveInject"](m.h),r["ɵɵdirectiveInject"](f.k),r["ɵɵdirectiveInject"](v.u1))},M.ɵcmp=r["ɵɵdefineComponent"]({type:M,selectors:[["bx-section"]],inputs:{data:"data"},features:[r["ɵɵNgOnChangesFeature"]],decls:11,vars:4,consts:[["bxHideBySubdivision","",1,"max-container","bx-section-container",3,"bxPreviewIndicator"],["class","component-header",4,"ngIf"],[1,"section-container"],["class","section-item",3,"ngClass","ngSwitch",4,"ngFor","ngForOf"],[1,"component-header"],[1,"content-title","h5-heading"],[1,"section-item",3,"ngClass","ngSwitch"],[3,"imageSrc","alt","linkTo","isExternal","bannerText","bannerSubText","bannerTextColor","target","gameId","data",4,"ngSwitchCase"],[3,"ngClass","data",4,"ngSwitchCase"],[3,"title","cardText","cardTextColor","imageSrc","linkTo","target","data",4,"ngSwitchCase"],[3,"imageSrc","alt","linkTo","isExternal","bannerText","bannerSubText","bannerTextColor","target","gameId","data"],[3,"ngClass","data"],[3,"title","cardText","cardTextColor","imageSrc","linkTo","target","data"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"div",0),r["ɵɵtext"](2,"\n            "),r["ɵɵtemplate"](3,E,5,1,"header",1),r["ɵɵtext"](4,"\n            "),r["ɵɵelementStart"](5,"div",2),r["ɵɵtext"](6,"\n                "),r["ɵɵtemplate"](7,_,8,5,"div",3),r["ɵɵtext"](8,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](9,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](10,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("bxPreviewIndicator",t.data),r["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.title),r["ɵɵadvance"](4),r["ɵɵproperty"]("ngForOf",t.banners))},directives:[y.e,S.Z,C.NgIf,C.NgForOf,C.NgClass,C.NgSwitch,C.NgSwitchCase,x.x,I.T,w._],encapsulation:2}),M=u=(0,i.__decorate)([(0,s.DE)({name:"Section",mapper:g._,matcher:e=>{let t=e.fields.tags?e.fields.tags.split(","):[];return e.contentType===c.z.SECTION&&t.indexOf(h.d.SMALL_BANNERS_AND_CONTENT_BLOCKS)>=0}}),(0,i.__metadata)("design:paramtypes",[m.h,f.k,v.u1])],M)},42890:(e,t,n)=>{"use strict";n.d(t,{H:()=>f});var i=n(2046),r=n(6856),o=n(73753),a=n(40821),s=n(93125),c=n(82939),l=n(53001),d=n(35539),u=n(76463),p=n(88274),h=n(63749),m=n(57826);let f=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=m["ɵɵdefineNgModule"]({type:e}),e.ɵinj=m["ɵɵdefineInjector"]({providers:[p._],imports:[[r.CommonModule,o.RouterModule,a.o,s.s,d.e,l.J.withComponents([i.e]),u.s,c.A,h.m]]}),e})()},12797:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});var i=n(98953);class r extends i.w{constructor(e){super(),this.sizeClass="",this.fields={},this.componentType=e}}},71844:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var i=n(65353),r=n(54056),o=n(78482),a=n(93801),s=n(57826);let c=(()=>{class e{constructor(e){this.abtFieldsMapper=e,this.createSlideCard=e=>{let t=new r.q;return t.cardText=e.fields.content,t.cardTextColor=e.fields.text_color,t.linkTo=o.K.mapLinkUrl(e.fields.link_url),t.imageSrc=e.fields.image?e.fields.image.url:"",t.alt=e.fields.image&&e.fields.image.alt?e.fields.image.alt:"",t.target=this.getTarget(e.fields.link_target),t.draft=this.isStatusDraft(e.status),t.name=e.fields.internal_name,t.tracking={abtStudy:this.abtFieldsMapper.map(e)},t.notInFilter=a.H.map(e.fields&&e.fields.filter),t.notInSubdivisionList=a.H.getNotInSubdivisionList(t.notInFilter),t}}getTarget(e){return{pop_up:"popup",same_tab:"_self",new_tab:"_blank"}[e]||""}isStatusDraft(e){return"draft"===e}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.u1))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},60227:(e,t,n)=>{"use strict";n.d(t,{_:()=>A});var i=n(57826),r=n(6856),o=n(81899),a=n(94726),s=n(70025),c=n(80112),l=n(52344),d=n(93801),u=n(84333),p=n(32716),h=n(79952),m=n(29015),f=n(73753),g=n(96940);function v(e,t){if(1&e&&(i["ɵɵelementStart"](0,"header",4),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"h2",5),i["ɵɵtext"](3),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](3),i["ɵɵtextInterpolate"](e.title)}}function b(e,t){if(1&e&&i["ɵɵelement"](0,"img",10),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵproperty"]("src",e.imageSrc,i["ɵɵsanitizeUrl"]),i["ɵɵattribute"]("alt",e.alt)}}function y(e,t){if(1&e&&(i["ɵɵelementStart"](0,"figcaption",11),i["ɵɵpipe"](1,"bxTrustyHtml"),i["ɵɵtext"](2,"\n                    "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵstyleProp"]("color",e.cardTextColor),i["ɵɵproperty"]("innerHTML",i["ɵɵpipeBind1"](1,3,e.cardText),i["ɵɵsanitizeHtml"])}}function S(e,t){if(1&e&&(i["ɵɵelementStart"](0,"figcaption",12),i["ɵɵpipe"](1,"bxTrustyHtml"),i["ɵɵtext"](2,"\n                    "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵstyleProp"]("color",e.cardTextColor),i["ɵɵproperty"]("innerHTML",i["ɵɵpipeBind1"](1,4,e.cardText),i["ɵɵsanitizeHtml"])("isChatBot",e.isChatBot)}}function C(e,t){if(1&e&&(i["ɵɵtext"](0,"\n                "),i["ɵɵelementStart"](1,"figure",6),i["ɵɵtext"](2,"\n                    "),i["ɵɵtemplate"](3,b,1,2,"img",7),i["ɵɵtext"](4,"\n                    "),i["ɵɵtemplate"](5,y,3,5,"figcaption",8),i["ɵɵtext"](6,"\n                    "),i["ɵɵtemplate"](7,S,3,6,"figcaption",9),i["ɵɵtext"](8,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n            ")),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",!!e.imageSrc),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!e.isLiveChat),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.isLiveChat)}}function x(e,t){1&e&&(i["ɵɵelementContainerStart"](0),i["ɵɵtext"](1,"\n                "),i["ɵɵelementContainerEnd"]())}function I(e,t){1&e&&i["ɵɵelementContainer"](0)}function w(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵtext"](0,"\n                    "),i["ɵɵelementStart"](1,"a",16),i["ɵɵlistener"]("click",(function(t){i["ɵɵrestoreView"](e);const n=i["ɵɵnextContext"](2);return n.handleClickOnSlide(t,n.data.name,n.data.tracking)})),i["ɵɵtext"](2,"\n                    "),i["ɵɵtemplate"](3,I,1,0,"ng-container",17),i["ɵɵtext"](4,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n                ")}if(2&e){const e=i["ɵɵnextContext"](2),t=i["ɵɵreference"](6);i["ɵɵadvance"](1),i["ɵɵproperty"]("routerLink",e.cmsLink.uri)("queryParams",e.cmsLink.queryParams),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngTemplateOutlet",t)}}function E(e,t){1&e&&i["ɵɵelementContainer"](0)}function T(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵtext"](0,"\n                    "),i["ɵɵelementStart"](1,"a",18),i["ɵɵlistener"]("click",(function(t){i["ɵɵrestoreView"](e);const n=i["ɵɵnextContext"](2);return n.handleClickOnSlide(t,n.data.name,n.data.tracking)})),i["ɵɵtext"](2,"\n                        "),i["ɵɵtemplate"](3,E,1,0,"ng-container",17),i["ɵɵtext"](4,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n                ")}if(2&e){const e=i["ɵɵnextContext"](2),t=i["ɵɵreference"](6);i["ɵɵadvance"](1),i["ɵɵproperty"]("target","popup"!==e.target?e.target:null),i["ɵɵattribute"]("href",e.link,i["ɵɵsanitizeUrl"]),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngTemplateOutlet",t)}}function P(e,t){if(1&e&&(i["ɵɵelementContainerStart"](0),i["ɵɵtext"](1,"\n                "),i["ɵɵtemplate"](2,x,2,0,"ng-container",13),i["ɵɵtext"](3,"\n                "),i["ɵɵtemplate"](4,w,6,3,"ng-template",null,14,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](6,"\n                "),i["ɵɵtemplate"](7,T,6,3,"ng-template",null,15,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](9,"\n            "),i["ɵɵelementContainerEnd"]()),2&e){const e=i["ɵɵreference"](5),t=i["ɵɵreference"](8),n=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",n.isInternal())("ngIfThen",e)("ngIfElse",t)}}let A=(()=>{class e{constructor(e,t,n,i,r,o){this.platformId=e,this.clickHandlerService=t,this.cmsExternalLinkService=n,this.urlPrefixService=i,this.contentService=r,this.windowService=o,this.isLiveChat=!1,this.isChatBot=!1}set linkTo(e){e=this.urlPrefixService.addUrlPrefix(e),this.cmsLink=this.cmsExternalLinkService.toCmsExternalLink(e),this.link=e}ngOnInit(){this.isLiveChat=this.contentService.isLiveChatContent(this.data),this.isChatBot=this.contentService.isChatBotContent(this.data),this.notInSubdivisionList=d.H.getNotInSubdivisionList(this.data&&this.data.notInFilter)}isInternal(){return!this.link.startsWith("http")&&"_self"===this.target}handleClickOnSlide(e,t,n){this.clickHandlerService.handleClick("slide_card",!1,t,-1,n),this.openLink(e)}openLink(e){(0,r.isPlatformBrowser)(this.platformId)&&this.windowService&&"popup"===this.target&&(e.preventDefault(),e.stopPropagation(),this.windowService.window().open(this.link,null,"width=1000,height=690"))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](a.M),i["ɵɵdirectiveInject"](s.xG),i["ɵɵdirectiveInject"](c.z),i["ɵɵdirectiveInject"](l._s),i["ɵɵdirectiveInject"](o.u,8))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-slide-card"]],inputs:{title:"title",cardText:"cardText",cardTextColor:"cardTextColor",imageSrc:"imageSrc",alt:"alt",linkTo:"linkTo",target:"target",data:"data"},decls:11,vars:5,consts:[["bxHideBySubdivision","",1,"slidecard-container",3,"bxPreviewIndicator"],["class","component-header",4,"ngIf"],["card",""],[4,"ngIf","ngIfElse"],[1,"component-header"],[1,"content-title","h5-heading"],[1,"card"],["bxImage","","class","img-responsive",3,"src",4,"ngIf"],["class","card-text",3,"color","innerHTML",4,"ngIf"],["class","card-text","bxLiveChatHandler","",3,"color","innerHTML","isChatBot",4,"ngIf"],["bxImage","",1,"img-responsive",3,"src"],[1,"card-text",3,"innerHTML"],["bxLiveChatHandler","",1,"card-text",3,"innerHTML","isChatBot"],[4,"ngIf","ngIfThen","ngIfElse"],["internalLink",""],["externalLink",""],["role","link",3,"routerLink","queryParams","click"],[4,"ngTemplateOutlet"],["role","link","rel","noopener",3,"target","click"]],template:function(e,t){if(1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵtemplate"](3,v,5,1,"header",1),i["ɵɵtext"](4,"\n            "),i["ɵɵtemplate"](5,C,10,3,"ng-template",null,2,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](7,"\n\n            "),i["ɵɵtemplate"](8,P,10,3,"ng-container",3),i["ɵɵtext"](9,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n    ")),2&e){const e=i["ɵɵreference"](6);i["ɵɵadvance"](1),i["ɵɵproperty"]("bxPreviewIndicator",t.data),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.title),i["ɵɵadvance"](5),i["ɵɵproperty"]("ngIf",t.link)("ngIfElse",e)}},directives:[u.e,p.Z,r.NgIf,h.t,m.T,f.RouterLinkWithHref,r.NgTemplateOutlet],pipes:[g.d],styles:[".component-header[_ngcontent-%COMP%] {\n  padding: 0 0 16px; }\n\n.card[_ngcontent-%COMP%] {\n  padding-bottom: 12px; }\n\n.card[_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%] {\n    height: 68px;\n    line-height: 16px;\n    overflow: hidden;\n    padding-bottom: 0; }\n\n.card[_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%]     [class*=-heading] {\n      color: inherit; }\n\n@media screen and (max-width: 769px) {\n  .card[_ngcontent-%COMP%]::before, .card[_ngcontent-%COMP%]   .img-responsive[_ngcontent-%COMP%] {\n    height: 108px; }\n  .card[_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%] {\n    font-size: 12px;\n    line-height: 14px;\n    padding: 12px 12px 0; } }"]}),e})()},82939:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var i=n(6856),r=n(73753),o=n(73502),a=n(40821),s=n(65353),c=n(22291),l=n(61818),d=n(39013),u=n(52344),p=n(41306),h=n(71844),m=n(63749),f=n(57826);n(90054);let g=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=f["ɵɵdefineNgModule"]({type:e}),e.ɵinj=f["ɵɵdefineInjector"]({providers:[l.x,h.G],imports:[[i.CommonModule,r.RouterModule,o.D,a.o,c.$Q,s.gM.forRoot(),d.W,u.Qh,p.I,m.m]]}),e})()},54056:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});var i=n(12797);class r extends i.${constructor(){super("slideCard")}}},6688:(e,t,n)=>{"use strict";n.d(t,{x:()=>w});var i=n(57826),r=n(5195),o=n(6856),a=n(80218),s=n(70025),c=n(80112),l=n(94726),d=n(32716),u=n(79952),p=n(73753),h=n(96940);function m(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",10),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](3);i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.bannerText)}}function f(e,t){if(1&e&&(i["ɵɵelement"](0,"div",11),i["ɵɵpipe"](1,"bxTrustyHtml")),2&e){const e=i["ɵɵnextContext"](3);i["ɵɵproperty"]("innerHTML",i["ɵɵpipeBind1"](1,1,e.bannerSubText),i["ɵɵsanitizeHtml"])}}function g(e,t){if(1&e&&(i["ɵɵelementStart"](0,"figcaption",7),i["ɵɵtext"](1,"\n                    "),i["ɵɵtemplate"](2,m,2,1,"div",8),i["ɵɵtext"](3,"\n                    "),i["ɵɵtemplate"](4,f,2,3,"div",9),i["ɵɵtext"](5,"\n                "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵstyleProp"]("color",e.bannerTextColor),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.bannerText),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.bannerSubText)}}function v(e,t){if(1&e&&(i["ɵɵtext"](0,"\n            "),i["ɵɵelementStart"](1,"figure",3),i["ɵɵtext"](2,"\n                "),i["ɵɵelement"](3,"img",4),i["ɵɵtext"](4,"\n                "),i["ɵɵelement"](5,"img",5),i["ɵɵtext"](6,"\n                "),i["ɵɵtemplate"](7,g,6,4,"figcaption",6),i["ɵɵtext"](8,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n        ")),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](3),i["ɵɵproperty"]("src",e.thumbnailImage,i["ɵɵsanitizeUrl"]),i["ɵɵattribute"]("alt",e.thumbnailAlt),i["ɵɵadvance"](2),i["ɵɵproperty"]("src",e.imageSrc,i["ɵɵsanitizeUrl"]),i["ɵɵattribute"]("alt",e.alt),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.bannerText||e.bannerSubText)}}function b(e,t){1&e&&(i["ɵɵelementContainerStart"](0),i["ɵɵtext"](1,"\n                    "),i["ɵɵelementContainerEnd"]())}function y(e,t){1&e&&i["ɵɵelementContainer"](0)}function S(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵtext"](0,"\n                        "),i["ɵɵelementStart"](1,"a",15),i["ɵɵlistener"]("click",(function(t){i["ɵɵrestoreView"](e);const n=i["ɵɵnextContext"](2);return n.handleClickOnSlide(t,n.data.name,n.data.tracking)})),i["ɵɵtext"](2,"\n                            "),i["ɵɵtemplate"](3,y,1,0,"ng-container",16),i["ɵɵtext"](4,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n                    ")}if(2&e){const e=i["ɵɵnextContext"](2),t=i["ɵɵreference"](2);i["ɵɵadvance"](1),i["ɵɵproperty"]("target","popup"!==e.target?e.target:null),i["ɵɵattribute"]("href",e.link,i["ɵɵsanitizeUrl"]),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngTemplateOutlet",t)}}function C(e,t){1&e&&i["ɵɵelementContainer"](0)}function x(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵtext"](0,"\n                        "),i["ɵɵelementStart"](1,"a",17),i["ɵɵlistener"]("click",(function(t){i["ɵɵrestoreView"](e);const n=i["ɵɵnextContext"](2);return n.handleClickOnSlide(t,n.data.name,n.data.tracking)})),i["ɵɵtext"](2,"\n                            "),i["ɵɵtemplate"](3,C,1,0,"ng-container",16),i["ɵɵtext"](4,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n                    ")}if(2&e){const e=i["ɵɵnextContext"](2),t=i["ɵɵreference"](2);i["ɵɵadvance"](1),i["ɵɵproperty"]("routerLink",e.cmsLink.uri)("queryParams",e.cmsLink.queryParams),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngTemplateOutlet",t)}}function I(e,t){if(1&e&&(i["ɵɵelementContainerStart"](0),i["ɵɵtext"](1,"\n                    "),i["ɵɵtemplate"](2,b,2,0,"ng-container",12),i["ɵɵtext"](3,"\n                    "),i["ɵɵtemplate"](4,S,6,3,"ng-template",null,13,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](6,"\n                    "),i["ɵɵtemplate"](7,x,6,3,"ng-template",null,14,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](9,"\n                "),i["ɵɵelementContainerEnd"]()),2&e){const e=i["ɵɵreference"](5),t=i["ɵɵreference"](8),n=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",n.isExternal||n.target&&"_self"!=n.target)("ngIfThen",e)("ngIfElse",t)}}let w=(()=>{class e{constructor(e,t,n,i,r,a){this.smallBannerPopupService=e,this.platformId=t,this.cdnService=n,this.clickHandlerService=i,this.cmsExternalLinkService=r,this.addUrlPrefixService=a,this.thumbnailImage="/assets/images/thumbnail.png",this.thumbnailAlt="Placeholder image",this.isServerRender=(0,o.isPlatformServer)(this.platformId),this.thumbnailImage=this.cdnService.getCdnUrlImage(this.thumbnailImage)}set linkTo(e){this.cmsLink=this.cmsExternalLinkService.toCmsExternalLink(e),this.link=this.addUrlPrefixService.addUrlPrefix(e)}handleClickOnSlide(e,t,n){this.clickHandlerService.handleClick("small_banner",!1,t,-1,n),this.openLink(e)}openLink(e){if("popup"===this.target)return this.smallBannerPopupService.openPopupLink(this.linkTo,this.gameId),e.preventDefault(),e.stopPropagation(),!1}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](r.i),i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](a.U),i["ɵɵdirectiveInject"](l.M),i["ɵɵdirectiveInject"](s.xG),i["ɵɵdirectiveInject"](c.z))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-small-banner"]],inputs:{bannerText:"bannerText",bannerSubText:"bannerSubText",bannerTextColor:"bannerTextColor",linkTo:"linkTo",imageSrc:"imageSrc",alt:"alt",target:"target",gameId:"gameId",isExternal:"isExternal",data:"data"},decls:12,vars:3,consts:[["banner",""],[1,"game-thumbnail","img-large","small-banner",3,"bxPreviewIndicator"],[4,"ngIf","ngIfElse"],[1,"thumb-container"],[1,"img-placeholder","img-responsive","small-banner-image",3,"src"],["bxImage","",1,"img-responsive","img-game","small-banner-image",3,"src"],["class","thumbnail-text",3,"color",4,"ngIf"],[1,"thumbnail-text"],["class","small-banner-text",4,"ngIf"],["class","small-banner-subtext",3,"innerHTML",4,"ngIf"],[1,"small-banner-text"],[1,"small-banner-subtext",3,"innerHTML"],[4,"ngIf","ngIfThen","ngIfElse"],["externalLink",""],["internalLink",""],["role","link","rel","noopener",3,"target","click"],[4,"ngTemplateOutlet"],["role","link",3,"routerLink","queryParams","click"]],template:function(e,t){if(1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,v,10,5,"ng-template",null,0,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](3,"\n\n        "),i["ɵɵelementStart"](4,"div"),i["ɵɵtext"](5,"\n            "),i["ɵɵelementStart"](6,"article",1),i["ɵɵtext"](7,"\n                "),i["ɵɵtemplate"](8,I,10,3,"ng-container",2),i["ɵɵtext"](9,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n    ")),2&e){const e=i["ɵɵreference"](2);i["ɵɵadvance"](6),i["ɵɵproperty"]("bxPreviewIndicator",t.data),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.link)("ngIfElse",e)}},directives:[d.Z,o.NgIf,u.t,o.NgTemplateOutlet,p.RouterLinkWithHref],pipes:[h.d],styles:["article.small-banner[_ngcontent-%COMP%] {\n  min-width: 0;\n  max-width: none;\n  box-sizing: border-box; }\n  article.small-banner[_ngcontent-%COMP%]   .thumbnail-text[_ngcontent-%COMP%] {\n    font-size: 1.3em;\n    font-weight: 900; }\n  article.small-banner[_ngcontent-%COMP%]   .thumbnail-text[_ngcontent-%COMP%]     [class*=-heading] {\n      color: inherit; }\n  .small-banner-text[_ngcontent-%COMP%] {\n  width: 60%;\n  white-space: normal; }\n  .small-banner-subtext[_ngcontent-%COMP%] {\n  width: 70%;\n  font-weight: 100;\n  font-size: .8em; }\n  .small-banner-image[_ngcontent-%COMP%] {\n  width: 100%;\n  height: 160px;\n  object-fit: cover; }"]}),e})()},93125:(e,t,n)=>{"use strict";n.d(t,{s:()=>h});var i=n(6856),r=n(73753),o=n(5195),a=n(22291),s=n(73502),c=n(40821),l=n(70025),d=n(65353),u=n(94726),p=n(57826);n(90054);let h=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=p["ɵɵdefineNgModule"]({type:e}),e.ɵinj=p["ɵɵdefineInjector"]({providers:[o.i,l.xG,u.M],imports:[[i.CommonModule,r.RouterModule,a.$Q,s.D,c.o,d.gM.forRoot()]]}),e})()},5195:(e,t,n)=>{"use strict";n.d(t,{i:()=>c});var i=n(95556),r=n(73753),o=n(616),a=n(80112),s=n(57826);let c=(()=>{class e{constructor(e,t,n,i){this.sessionService=e,this.profileStore=t,this.router=n,this.urlPrefixService=i,this.OPEN_GAME_QUERY_PARAM="liveDealerGame"}openPopupLink(e,t=""){if(t)if(this.sessionService.isAuthenticated())this.openPopup(`/live-dealer/game/${t}/${this.profileStore.language}/${this.profileStore.currency}`);else{const e={queryParams:{destination:`${this.router.url}?${this.OPEN_GAME_QUERY_PARAM}=${t}`}};this.router.navigate(["login"],e)}else this.popup=this.openPopup(e)}openPopup(e=""){return window.open(this.urlPrefixService.addUrlPrefix(e),"","width=1000,height=690")}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.mj),s["ɵɵinject"](o.s),s["ɵɵinject"](r.Router),s["ɵɵinject"](a.z))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},67953:(e,t,n)=>{"use strict";n.d(t,{n:()=>r});var i=n(12797);class r extends i.${constructor(){super("smallBanner")}}},55516:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},40556:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});let i=(()=>{class e{constructor(t){this.paths=t.paths&&t.paths.length?t.paths:[`${e.DEFAULT_CATEGORY}/${t.uriSuffix}`]}}return e.DEFAULT_CATEGORY="common-faq",e})()},61609:(e,t,n)=>{"use strict";n.d(t,{j:()=>l});var i=n(73753),r=n(95556),o=n(3336),a=n(42998),s=n(57826);class c{constructor(e,t,n){if(this.captureGroups=t,this.isLoggedIn=n,this.hasGroupCapture=e=>"#"===e.charAt(0),this.getRegexGroupNumber=e=>+e.substring(e.lastIndexOf("#")+1,e.lastIndexOf(":")),this.captureGroups&&this.hasGroupCapture(e)){const t=this.getRegexGroupNumber(e),n=this.captureGroups[t];this.eventName=e.replace(`#${t}`,n)}else this.eventName=e}getEventName(){return this.eventName}getLoggedRestriction(){return this.isLoggedIn}}let l=(()=>{class e{constructor(e,t,n){this.router=e,this.analyticsService=t,this.sessionService=n,this.matchingRulesMap={},this.findUrlMatchResultByUrl=e=>{let t=[];const n=Object.entries(this.matchingRulesMap).findIndex((n=>(t=n[1].regex.exec(decodeURIComponent(e)),t&&t.length>0)));return n>-1?new c(Object.entries(this.matchingRulesMap)[n][0],t,Object.entries(this.matchingRulesMap)[n][1].isLoggedIn):void 0},this.compliesWithLoggedRestriction=e=>void 0===e||this.sessionService.isAuthenticated()===e,this.isEventNameRegistered=e=>{const t=this.findUrlMatchRuleByName(e);return!!t&&this.compliesWithLoggedRestriction(t.isLoggedIn)},this.findUrlMatchRuleByName=e=>{let t=Object.entries(this.matchingRulesMap).find((t=>this.compareByStaticEventName(t[0],e)));return t?t.pop():void 0},this.compareByStaticEventName=(e,t)=>e.split(":")[1]===t.split(":")[1]}init(e){this.matchingRulesMap=e,this.router.events.pipe((0,a.filter)((e=>e instanceof i.NavigationStart))).subscribe((e=>{const t=this.findUrlMatchResultByUrl(e.url);t&&this.compliesWithLoggedRestriction(t.getLoggedRestriction())&&this.analyticsService.setStartNavigationVariables(e.url,t.getEventName())}))}trackComponentLoad(e){this.isEventNameRegistered(e)&&this.analyticsService.trackComponentLoad(e,!0,void 0)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.Router),s["ɵɵinject"](o.y),s["ɵɵinject"](r.mj))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},21342:(e,t,n)=>{"use strict";n.d(t,{C:()=>s});var i=n(61609),r=n(95556),o=n(41306),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({providers:[i.j],imports:[[r.ny,o.I]]}),e})()},48119:(e,t,n)=>{"use strict";n.d(t,{C:()=>r.C,j:()=>i.j});var i=n(61609),r=n(21342)},98645:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var i=n(30173),r=n(6856),o=n(57826),a=n(73753);function s(e,t){if(1&e&&(o["ɵɵelementStart"](0,"div",1),o["ɵɵtext"](1,"\n            "),o["ɵɵelementStart"](2,"a",2),o["ɵɵtext"](3,"\n                "),o["ɵɵelement"](4,"i",3),o["ɵɵtext"](5,"\n            "),o["ɵɵelementEnd"](),o["ɵɵtext"](6,"\n            "),o["ɵɵelementStart"](7,"a",4),o["ɵɵtext"](8),o["ɵɵelement"](9,"i",5),o["ɵɵelementEnd"](),o["ɵɵtext"](10,"\n        "),o["ɵɵelementEnd"]()),2&e){const e=t.$implicit,n=t.index,i=o["ɵɵnextContext"]();o["ɵɵadvance"](2),o["ɵɵproperty"]("routerLink",i.mobileReturnUrl)("queryParams",i.mobileReturnQueryParams),o["ɵɵadvance"](5),o["ɵɵproperty"]("routerLink",i.buildBreadcrumbTextUrl(n))("queryParams",i.buildBreadcrumbTextQueryParams()),o["ɵɵadvance"](1),o["ɵɵtextInterpolate"](e.text)}}let c=(()=>{class e{constructor(e,t){this.deviceService=e,this.location=t,this.breadcrumb=[],this.mobileReturnUrl="..",this.mobileReturnQueryParams={},this.queryParams=""}isMobileAndHelpContent(){const e=this.location.path();return this.deviceService.isMobile()&&("/help"===e||e.startsWith("/help/"))}buildBreadcrumbTextUrl(e){const t=this.breadcrumb[e].url;return this.isMobileAndHelpContent()?this.mobileReturnUrl:t}buildBreadcrumbTextQueryParams(){return this.isMobileAndHelpContent()?this.mobileReturnQueryParams:this.queryParams}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](i.U),o["ɵɵdirectiveInject"](r.Location))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["bx-breadcrumb"]],inputs:{breadcrumb:"breadcrumb",mobileReturnUrl:"mobileReturnUrl",mobileReturnQueryParams:"mobileReturnQueryParams",queryParams:"queryParams"},decls:3,vars:1,consts:[["class","breadcrumb",4,"ngFor","ngForOf"],[1,"breadcrumb"],[1,"breadcrumb-link",3,"routerLink","queryParams"],[1,"icon","icon-arrow-back"],[3,"routerLink","queryParams"],[1,"icon","icon-arrow-next"]],template:function(e,t){1&e&&(o["ɵɵtext"](0,"\n        "),o["ɵɵtemplate"](1,s,11,5,"div",0),o["ɵɵtext"](2,"\n    ")),2&e&&(o["ɵɵadvance"](1),o["ɵɵproperty"]("ngForOf",t.breadcrumb))},directives:[r.NgForOf,a.RouterLinkWithHref],encapsulation:2}),e})()},7294:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});var i=n(73753),r=n(6856),o=n(10687),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({providers:[o.p],imports:[[r.CommonModule,i.RouterModule.forChild([])]]}),e})()},10687:(e,t,n)=>{"use strict";n.d(t,{p:()=>u});var i=n(71923),r=n(4309),o=n(42998),a=n(25300),s=n(54411),c=n(44960),l=n(84285),d=n(57826);let u=(()=>{class e{constructor(e){this.marketingPageService=e}buildBreadcrumb(e,t,n){if(this.isBreadcrumbPage(e)){const a=t.split("/");if(this.isSingleSegment(a))return(0,r.of)([new l.g(e.fields.title,t)]);if(!this.isSingleSegment(a))return this.marketingPageService.getMarketingPageByUriSuffix(a[a.length-2]).pipe((0,o.map)((r=>[new l.g(r.title,i(a.length-1,1,a).join("/"))].concat(n?[new l.g(e.fields.title,t)]:[]))))}return(0,r.of)([])}isBreadcrumbPage(e){return this.isValidContentPage(e)||this.isMarketingPage(e)&&!this.isCasinoSubcategory(e)}isValidContentPage(e){return e.contentType===a.z.CONTENT_PAGE&&(e.fields.page_type===s.G.ARTICLE||e.fields.page_type===s.G.PROMOTION)}isMarketingPage(e){return e.contentType===a.z.MARKETING_PAGE}isCasinoSubcategory(e){return this.getItems(e).some((e=>this.getTags(e).includes("casinosubcategoriesmenu")))}getItems(e){return e&&e.fields&&e.fields.items?e.fields.items:[]}getTags(e){return e&&e.fields&&e.fields.tags?e.fields.tags:""}isSingleSegment(e){return 1==e.filter((e=>""!==e)).length}}return e.ɵfac=function(t){return new(t||e)(d["ɵɵinject"](c.F))},e.ɵprov=d["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},84285:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});class i{constructor(e,t){this.text=e,this.url=t}}},17990:(e,t,n)=>{"use strict";n.d(t,{Ae:()=>o,DE:()=>l,X_:()=>i,gp:()=>c,no:()=>s,o3:()=>r,wC:()=>a});const i={},r=[],o=[],a={},s={},c={};function l(e){return t=>{i[e.name]=t,(e.useAsDefault?o:r).push((t=>{if(e.matcher(t))return e.name})),e.mapper&&(a[e.name]=new e.mapper),e.contentMapper&&(c[e.name]=e.contentMapper),e.injectedMapper&&(s[e.name]=e.injectedMapper)}}},56914:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});class i{}},17125:(e,t,n)=>{"use strict";n.d(t,{d:()=>c});var i=n(57826),r=n(17990),o=n(58997),a=n(43431),s=n(30173);let c=(()=>{class e{constructor(e,t,n,i){this.componentResolverService=e,this.injector=t,this.cmsFeatureFlagService=n,this.deviceService=i,this.contentMapperConfiguration={},Object.keys(r.gp).length&&this.setDeviceType()}map(e){let t=this.componentResolverService.resolveComponent(e);if(t)return{component:r.X_[t],data:this.getComponentData(t,e)}}getComponentData(e,t){return r.gp[e]&&this.cmsFeatureFlagService.isFeatureEnabled(r.gp[e].featureFlag)&&(t=r.gp[e].mapper(t,this.contentMapperConfiguration)),r.no[e]?this.injector.get(r.no[e]).map(t):r.wC[e]?r.wC[e].map(t):{data:t.fields}}setDeviceType(){this.contentMapperConfiguration.deviceType=this.deviceService.getDeviceType()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](o.G),i["ɵɵinject"](i.Injector),i["ɵɵinject"](a.u),i["ɵɵinject"](s.U))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},58997:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});var i=n(17990),r=n(57826);let o=(()=>{class e{resolveComponent(e){let t,n=[...i.o3,...i.Ae];for(let i of n)if(t=i(e),t)return t}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},55998:(e,t,n)=>{"use strict";n.d(t,{X:()=>i});class i{constructor(e,t){this.urlPrefixService=e,this.gameUrlService=t}}},57754:(e,t,n)=>{"use strict";n.d(t,{S:()=>r,r:()=>i});const i=[];function r(){return e=>{i.push(e)}}},78482:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var i=n(57754),r=n(80112),o=n(27218),a=n(57826);let s=(()=>{class e{constructor(t,n){this.urlPrefixService=t,this.gameUrlService=n,e.urlPrefixService=this.urlPrefixService,e.gameUrlService=this.gameUrlService}init(){}static mapLinkUrl(t){if(t){if("string"==typeof t)return t;let n;for(let r=0;r<i.r.length;r++){let o=new i.r[r](e.urlPrefixService,e.gameUrlService);if(o.matcher(t)){n=o;break}}if(n)return n.createLink(t)}return e.defaultLink}}return e.defaultLink="",e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](r.z),a["ɵɵinject"](o.X))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},61818:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var i=n(57826);let r=(()=>{class e{toCmsExternalLink(e){const t=e.split("?");return{uri:t[0],queryParams:t[1]?this.splitParams(t[1]):{}}}splitParams(e){const t=e.split("&"),n={};return t.forEach((e=>{const t=e.split("=");n[t[0]]=t[1]})),n}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},70025:(e,t,n)=>{"use strict";n.d(t,{Kt:()=>o.K,ST:()=>a.S,Xe:()=>i.X,xG:()=>r.x});var i=n(55998),r=n(61818),o=n(78482),a=n(57754)},98912:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});class i{constructor(){this.notFoundPageUrl="404"}}i.DEFAULT=new i},40123:(e,t,n)=>{"use strict";n.d(t,{y:()=>w});var i=n(57826),r=n(32711),o=n(85089),a=(()=>(function(e){e[e.JOINED=1]="JOINED",e[e.UNJOINED=0]="UNJOINED"}(a||(a={})),a))(),s=(()=>(function(e){e[e.LOGGED=1]="LOGGED",e[e.UNLOGGED=0]="UNLOGGED"}(s||(s={})),s))(),c=(()=>(function(e){e.MOBILE="m",e.DESKTOP="d"}(c||(c={})),c))(),l=(()=>(function(e){e.iOS="iOS",e.MAC_OS="mac",e.WINDOWS="w",e.ANDROID="a",e.LINUX="li",e.NOT_SUPPORTED="ns"}(l||(l={})),l))(),d=(()=>(function(e){e[e.PROXY_BROWSER=1]="PROXY_BROWSER",e[e.NO_PROXY_BROWSER=0]="NO_PROXY_BROWSER"}(d||(d={})),d))(),u=n(30173),p=n(36797),h=n(38056),m=n(82846),f=n(55640),g=n(45965),v=n(64174),b=n(89309),y=n(61493),S=n(81899),C=n(66168),x=n(6856);const I=/(^(.*)\/promotions(\/?|\/[a-zA-Z0-9-._]+)?$|^(.*)\/help(\/?|\/[a-zA-Z0-9-._]+){0,2}$)/;let w=(()=>{class e{constructor(e,t,n,i,o,a,s,c,l,d,u){this.siteConfigService=e,this.cookieStorageService=t,this.contentVariant=n,this.browserStorageService=i,this.deviceService=o,this.sessionService=a,this.windowService=s,this.multilingualRoutesService=c,this.platformId=l,this.profileStore=d,this.loyaltyStore=u,this.profileStore&&(0,r.U5)((()=>this.profileStore.profile),(()=>{this.userCurrency=this.profileStore.currency,this.userCountry=this.profileStore.countryCode}))}setJoinedStatus(){this.contentVariant.cookieVariant.jn=this.isJoined()?a.JOINED:a.UNJOINED}setDeviceType(){this.contentVariant.cookieVariant.dt=this.deviceService.isDesktop()?c.DESKTOP:c.MOBILE}setOperatingSystem(){switch(this.deviceService.getOperatingSystem()){case p.U.WINDOWS:case p.U.WINDOWS_PHONE:this.contentVariant.cookieVariant.os=l.WINDOWS;break;case p.U.MAC:this.contentVariant.cookieVariant.os=this.deviceService.isDesktop()?l.MAC_OS:l.iOS;break;case p.U.IOS:this.contentVariant.cookieVariant.os=l.iOS;break;case p.U.ANDROID:this.contentVariant.cookieVariant.os=l.ANDROID;break;case p.U.LINUX:this.contentVariant.cookieVariant.os=l.LINUX;break;default:this.contentVariant.cookieVariant.os=l.NOT_SUPPORTED}}setCountry(){this.userCountry&&this.userCountry!==this.contentVariant.cookieVariant.cntry?this.contentVariant.cookieVariant.cntry=this.userCountry:this.cookieStorageService.get("Country")&&this.cookieStorageService.get("Country")!==this.contentVariant.cookieVariant.cntry?this.contentVariant.cookieVariant.cntry=this.cookieStorageService.get("Country"):this.sessionDataExists()||(this.contentVariant.cookieVariant.cntry=this.siteConfigService.getSiteConfigProp("countryCode"))}setCurrency(){this.userCurrency&&this.userCurrency!==this.contentVariant.cookieVariant.cur?this.contentVariant.cookieVariant.cur=this.userCurrency:this.sessionDataExists()||(this.contentVariant.cookieVariant.cur=this.siteConfigService.getSiteConfigProp("defaultCurrency"))}setLoggedStatus(){this.contentVariant.cookieVariant.lgn=this.sessionService.isAuthenticated()?s.LOGGED:s.UNLOGGED}setLoyaltyTier(e){this.contentVariant.cookieVariant.t=e}setProxyBrowserValue(){this.contentVariant.cookieVariant.pb=this.cookieStorageService.get("PROXY_BROWSER")?d.PROXY_BROWSER:d.NO_PROXY_BROWSER}isJoined(){return!!this.cookieStorageService.get("JOINED")}sessionDataExists(){return!(!this.cookieStorageService.get("sid")&&!this.browserStorageService.get("sessionId"))}getLoyaltyTier(){return new Promise((e=>{this.isTierNeeded()?(0,r.EH)((()=>{this.loyaltyStore.currentTierId&&e(this.loyaltyStore.currentTierId)})):e("")}))}setVariantCookie(){return this.setJoinedStatus(),this.setDeviceType(),this.setOperatingSystem(),this.setCountry(),this.setCurrency(),this.setLoggedStatus(),this.setProxyBrowserValue(),this.setVariantCookieValues(),new Promise((e=>{setTimeout((()=>e()),2e3),this.getLoyaltyTier().then((t=>{this.setLoyaltyTier(t),this.setVariantCookieValues(),e()}))}))}isTierNeeded(){return(0,x.isPlatformBrowser)(this.platformId)&&this.loyaltyStore&&this.sessionService.isAuthenticated()&&this.siteConfigService.evalFeature(y.A.loyaltyEnabled)&&this.isHelpOrPromotionPage()}isHelpOrPromotionPage(){const e=this.windowService&&this.windowService.location().href||"";return this.multilingualRoutesService.translatePath(this.multilingualRoutesService.selectedLanguage,new C.MS(e),!0).url.match(I)}setVariantCookieValues(){const e=this.contentVariant.toString();this.cookieStorageService.set(o.u.COOKIE_VARIANT,e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](g.r),i["ɵɵinject"](m.G),i["ɵɵinject"](o.u),i["ɵɵinject"](f.z),i["ɵɵinject"](u.U),i["ɵɵinject"](v.m),i["ɵɵinject"](S.u),i["ɵɵinject"](C.JH),i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](h.A,8),i["ɵɵinject"](b.r,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},10406:(e,t,n)=>{"use strict";n.d(t,{Gb:()=>a,Hk:()=>d,KI:()=>o,dq:()=>l,gd:()=>u,ge:()=>p,lI:()=>r,vg:()=>c,wg:()=>i});const i="homepage",r="header-casino",o="section",a="casino",s=/\/casino(\/((?!leaderboards)[a-z A-Z0-9-]+))\/[a-z A-Z0-9-]+/;function c(e,t){let n;return n=e?"firsttimevisitor":t?"logged":"unlogged","homepage-"+n}function l(e){return e.indexOf(a)>-1}function d(e){return e.indexOf("leaderboards")>-1}function u(e){return s.test(e)}function p(e,t){return!!e.fields.tags&&e.fields.tags.split(",").indexOf(t)>=0}},58859:(e,t,n)=>{"use strict";n.d(t,{Q:()=>N});var i=n(57826),r=n(6856),o=n(73753),a=n(50536),s=n(29967),c=n(16462),l=n(70025),d=n(64762),u=n(55998),p=n(57754),h=n(80112),m=n(27218);let f=class extends u.X{constructor(e,t){super(e,t),this.urlPrefixService=e,this.gameUrlService=t}matcher(e){return e.hasOwnProperty("linkUrl")}createLink(e){return e.linkUrl}};f.ɵfac=function(e){return new(e||f)(i["ɵɵinject"](h.z),i["ɵɵinject"](m.X))},f.ɵprov=i["ɵɵdefineInjectable"]({token:f,factory:f.ɵfac}),f=(0,d.__decorate)([(0,p.S)(),(0,d.__metadata)("design:paramtypes",[h.z,m.X])],f);var g=n(90388),v=n(40123),b=n(85089),y=n(15152),S=n(65353),C=n(46333),x=n(64417),I=n(66168),w=n(59789),E=n(86958),T=n(81768),P=n(56730),A=n(5700),_=n(86333),M=n(4309),O=n(23550),k=n(42998);let j=(()=>{class e{constructor(e){this.http=e}baseUrl(e,t){return`/services/content/v4/brands/${e}/buckets/${t}`}contentUrl(e,t){return`${this.baseUrl(e,t)}/contents`}publishedContentUrl(e,t){return`${this.contentUrl(e,t)}/published`}getContentsPublished(e,t,n,i,r="10",o="ASC"){const a={params:{contentType:n,name:i,size:r,sortOrder:o},withCredentials:!0};return this.http.get(this.publishedContentUrl(e,t),a).pipe((0,k.map)((e=>e)),(0,k.catchError)((()=>(0,M.of)({items:[],scroll:{}}))))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](O.HttpClient))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();n(90054);let N=(()=>{class e{static forRoot(){return{ngModule:e,providers:[c._,j,l.Kt,f,g.B,v.y,b.u,y._,I.JH,I.dT,E.P,T.V,P.Z,w.s,A.C]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[r.CommonModule,o.RouterModule,a.j,s.j,C.d,x.L,_.M,S.gM.forRoot()]]}),e})()},90388:(e,t,n)=>{"use strict";n.d(t,{B:()=>s});var i=n(57826),r=n(73753),o=n(4309),a=n(98912);let s=(()=>{class e{constructor(e,t){this.injector=e,this.router=t}handleContentNotFoundOrThrow(e){if(!this.handleContentNotFound(e))throw e}resolveContentNotFoundOrThrow(e,t=!1){return!t&&this.handleContentNotFound(e)?o.EMPTY:t?(0,o.of)([]):(0,o.throwError)(e)}handleContentNotFound(e){let t=!1;return e&&e.status&&404===e.status&&(console.warn(`content not found: ${e.url}`),this.navigateToNotFoundPage(),t=!0),t}navigateToNotFoundPage(){this.checkOrInitConfiguration(),this.router.navigate([this.config.notFoundPageUrl])}checkOrInitConfiguration(){this.config||(this.config=this.injector.get(a.S,a.S.DEFAULT))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.Injector),i["ɵɵinject"](r.Router))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},16462:(e,t,n)=>{"use strict";n.d(t,{_:()=>S});var i=n(6856),r=n(23550),o=n(57826),a=n(73753),s=n(86958),c=n(43431),l=n(82846),d=n(80112),u=n(48108),p=n(4309),h=n(42998),m=n(40123),f=n(10406),g=n(59789),v=n(15152),b=n(81899),y=n(5700);class S{constructor(e,t,n,i,r,o,a,s,c,l,d,u,h){this.http=e,this.languageService=t,this.cmsFeatureFlagService=n,this.contentFilterService=i,this.injector=r,this.requestOptionsBuilder=o,this.impressionHelper=a,this.urlPrefixService=s,this.cookieStorageService=c,this.platformId=l,this.marketingAudiencesExclusionsService=d,this.windowService=u,this.javascriptContentInjectorService=h,this.eventsSubject=new p.Subject,this.preloadedContent=new Map,this.cache={},this.EMPTY_PROFILE_ID="0-0-0-0-0"}get router(){return this.injector.get(a.Router)}setBucket(e){this.bucket=e}getBucket(){return this.bucket}injectContent(e){for(const t in e)this.preloadedContent.has(t)||this.preloadedContent.set(t,(0,p.of)(e[t]))}getContentUrl(e,t){return`${this.urlPrefixService.addUrlPrefix(S.contentUrl)}/${this.bucket}/${t}/${e}.json`}fetchContentFromRemote(e,t,n){const i=this.urlPrefixService.addUrlPrefix(S.cmsUrlv5);if(e.indexOf(i.slice(1))>-1)return this.getRequest(e,t);{const i=e+JSON.stringify(S.sortedParams(t));return this.cache[i]&&!n||(this.cache[i]=this.getRequest(e,t).pipe((0,h.publishReplay)(1,S.CACHE_TTL),(0,h.refCount)())),this.cache[i]}}fetchContent(e,t={},n=!1){const i=this.getPersonalizedHeaderIfNeeded(e,t),r=this.getPreviewUserIdHeader();return Object.assign(t,i,r),this.fetchContentFromRemote(e,t,n).pipe((0,h.tap)((e=>this.eventsSubject.next(e))))}getPersonalizedHeaderIfNeeded(e,t){const n={};return this.audiencesValue=this.cookieStorageService.get(S.AUDIENCES_PARAM),this.audienceHashValue=this.cookieStorageService.get(S.AUDIENCE_IDS_PARAM),this.isPersonalizedContentNeeded()&&!this.marketingAudiencesExclusionsService.isUrlExcluded(e,t)&&(this.audienceHashValue?n[S.AUDIENCE_IDS_PARAM]=this.audienceHashValue:n[S.AUDIENCES_PARAM]=this.audiencesValue),n}isPersonalizedContentNeeded(){return(0,i.isPlatformBrowser)(this.platformId)&&(this.audiencesValue||this.audienceHashValue)}getContent(e,t,n){return this.preloadedContent.has(e)?this.preloadedContent.get(e).pipe((0,h.tap)((e=>this.eventsSubject.next(e)))):this.languageService.getLanguage().pipe((0,h.take)(1),(0,h.mergeMap)((i=>this.getRemoteContent(e,i,t,n))),(0,h.tap)((e=>this.eventsSubject.next(e))))}getRemoteContent(e,t,n,i){let r=this.getContentUrl(e,t);return this.fetchContentFromRemote(r,n,i)}getAncestorsBySlug(e,t){const n=this.urlPrefixService.addUrlPrefix(S.cmsUrlv5);return this.languageService.getLanguage().pipe((0,h.take)(1),(0,h.mergeMap)((i=>{const r=`${n}/ancestors/buckets/${this.bucket}/languages/${i}/slugs/${e}`;return this.getRequest(r,t)})))}getContentBySlug(e,t,n,i){let r;return r=this.preloadedContent.has(e)?this.preloadedContent.get(e).pipe((0,h.tap)((e=>this.eventsSubject.next(e)))):this.cmsFeatureFlagService.isSectionEnabled(t,3)?this.languageService.getLanguage().pipe((0,h.take)(1),(0,h.mergeMap)((t=>{const r=`${this.urlPrefixService.addUrlPrefix(S.cmsUrlv5)}/buckets/${this.bucket}/languages/${t}/slugs/${e}`;return this.fetchContent(r,n,i)}))):this.getContent(e,n,i),this.populateAbtStudiesIfRequired(r,e)}getPersonalizedContentBySlug(e){const t=this.getPreviewUserIdHeader();return t[S.ORIGIN_PARAM]=this.windowService.origin(),this.languageService.getLanguage().pipe((0,h.take)(1),(0,h.mergeMap)((n=>{let i=(S.PERSONALIZED_CONTENT+e).replace(S.BUCKET_PLACEHOLDER,this.bucket).replace(S.LANG_PLACEHOLDER,n);return this.previewUserIdValue&&(i=i.replace("<sessionId>",this.EMPTY_PROFILE_ID)),this.getRequest(i,t)})))}getPreviewUserIdHeader(){this.previewUserIdValue=this.cookieStorageService.get(S.PREVIEW_USER_ID_PARAM);let e={};return this.isPreviewUserIdContentNeeded()&&(e[S.PREVIEW_USER_ID_PARAM]=this.previewUserIdValue),e}isPreviewUserIdContentNeeded(){return(0,i.isPlatformBrowser)(this.platformId)&&this.previewUserIdValue}getContentByUriSuffix(e,t,n,i,r){return this.preloadedContent.has(e)?this.preloadedContent.get(e).pipe((0,h.tap)((e=>this.eventsSubject.next(e)))):this.cmsFeatureFlagService.isSectionEnabled(t,3)?this.languageService.getLanguage().pipe((0,h.take)(1),(0,h.mergeMap)((t=>{const o=`${this.urlPrefixService.addUrlPrefix(S.cmsUrlv5)}/buckets/${this.bucket}/languages/${t}/content-types/${n}`+(i?`/page-types/${i}`:"")+`/uri-suffixes/${e}`;return this.fetchContent(o,r)}))):this.getContent(e,r)}getContentByType(e,t,n,i){return this.cmsFeatureFlagService.isSectionEnabled(t,3)?this.languageService.getLanguage().pipe((0,h.take)(1),(0,h.mergeMap)((t=>{const i=`${this.urlPrefixService.addUrlPrefix(S.cmsUrlv5)}/buckets/${this.bucket}/languages/${t}/content-types/${e}`;return this.fetchContent(i,n)}))):this.getContent(i,n)}getContentByUri(e,t){return this.languageService.getLanguage().pipe((0,h.take)(1),(0,h.mergeMap)(this.getContentByUriFunction(e,t)))}getContentByUriFunction(e,t){return this.cmsFeatureFlagService.isSectionEnabled("marketing_page",3)?n=>this.getContentByUriLang(e,n,t):((0,f.dq)(e)&&(e=e.replace("/"+f.Gb+"/","")),n=>this.getRemoteContent(e,n,t).pipe((0,h.tap)((e=>this.eventsSubject.next(e)))))}getContentByUriLang(e,t,n){const i=this.cleanUri(e),r=`${this.urlPrefixService.addUrlPrefix(S.cmsUrlv5)}/buckets/${this.bucket}/languages/${t}`,o={path:i};return this.fetchContent(r,o,n)}cleanUri(e){e=decodeURIComponent(e);const t=this.router.parseUrl(e);return t.fragment=null,t.queryParams={},delete t.root.children.overlay,this.router.serializeUrl(t)}searchHelpContent(e){return this.helpRequest("search",e)}getHelpSuggestions(e){return this.helpRequest("suggestions",e)}helpRequest(e,t){return this.languageService.getLanguage().pipe((0,h.take)(1),(0,h.mergeMap)((n=>{const i=`${this.urlPrefixService.addUrlPrefix(S.cmsUrlv5)}/buckets/${this.bucket}/languages/${n}/help-pages/${e}`;return this.http.get(i,{responseType:"json",params:{searchTerm:t}})})))}get events(){return this.eventsSubject.asObservable()}getRequest(e,t){return(0,p.from)(this.contentFilterService.setVariantCookie()).pipe((0,h.mergeMap)((()=>this.http.get(e,this.requestOptionsBuilder.buildRequestOptions(e,t)))),(0,h.tap)((e=>{if(this.shouldLoadJsFiles()){const t=this.extractEmbeddedJs(e);t.length&&this.javascriptContentInjectorService.loadJsFiles(t)}})))}static sortedParams(e){const t={};return e&&Object.keys(e).sort().forEach((n=>{t[n]=e[n]})),t}populateAbtStudiesIfRequired(e,t){return S.isSportsContent(t)?e.pipe((0,h.tap)((e=>this.impressionHelper.pageView(e,!1)))):e}static isSportsContent(e){return["sports-homepage-carousel","sports-quick-links","horses-quick-links"].indexOf(e)>-1}removeNotTaggedComponents(e,t){return e.fields.items=e.fields.items.filter((e=>S.isTaggedAs(e,t))),e}removeTaggedComponents(e,t){return e.fields.items=e.fields.items.filter((e=>!S.isTaggedAs(e,t))),e}static isTaggedAs(e,t){return e.fields&&e.fields.tags&&e.fields.tags.indexOf(t)>-1}isLiveChatContent(e){return!!(e.liveChat||e.fields&&e.fields.tags&&e.fields.tags.split(",").some((e=>"livechat"===e.toLowerCase())))}isChatBotContent(e){return!!(e.chatBot||e.fields&&e.fields.tags&&e.fields.tags.split(",").some((e=>"chatbot"===e.toLowerCase())))}extractEmbeddedJs(e){const t=e.fields||{};return(t.items||[]).reduce(((e,t)=>[...e,...this.extractEmbeddedJs(t)]),t.add_js_files&&t.add_js_files.files?t.add_js_files.files:[])}shouldLoadJsFiles(){const e=this.cmsFeatureFlagService.isFeatureEnabled(c.u.ALLOW_JS_FILES_IN_CONTENT),t=this.cmsFeatureFlagService.isFeatureEnabled(c.u.DISABLE_JS_FILES_IN_CONTENT);return e&&!t}}S.BUCKET_PLACEHOLDER="{bucket}",S.LANG_PLACEHOLDER="{lang}",S.PERSONALIZED_CONTENT="/services/personalized-content/profile/<sessionId>/bucket/"+S.BUCKET_PLACEHOLDER+"/language/"+S.LANG_PLACEHOLDER+"/slug/",S.FILTER_PARAM="filter",S.AUDIENCES_PARAM="audiences",S.AUDIENCE_IDS_PARAM="audienceIds",S.PREVIEW_USER_ID_PARAM="previewUserId",S.ORIGIN_PARAM="origin",S.contentUrl="/content",S.cmsUrlv5="/content/v5",S.CACHE_TTL=Number.POSITIVE_INFINITY,S.ɵfac=function(e){return new(e||S)(o["ɵɵinject"](r.HttpClient),o["ɵɵinject"](u.T),o["ɵɵinject"](c.u),o["ɵɵinject"](m.y),o["ɵɵinject"](o.Injector),o["ɵɵinject"](v._),o["ɵɵinject"](s.P),o["ɵɵinject"](d.z),o["ɵɵinject"](l.G),o["ɵɵinject"](o.PLATFORM_ID),o["ɵɵinject"](g.s),o["ɵɵinject"](b.u),o["ɵɵinject"](y.C))},S.ɵprov=o["ɵɵdefineInjectable"]({token:S,factory:S.ɵfac})},5700:(e,t,n)=>{"use strict";n.d(t,{C:()=>c});var i=n(81899),r=n(72556),o=n(4309),a=n(42998),s=n(57826);let c=(()=>{class e{constructor(e,t){this.windowService=e,this.loadedScripts=[],this.$pageLoaded=(0,o.combineLatest)([t.getEvents(1),t.getEvents(0)]).pipe((0,a.take)(1),(0,a.delay)(0))}loadJsFiles(e){this.windowService.getIsPlatformBrowser()&&Array.from(new Set(e)).filter((e=>!this.loadedScripts.includes(e))).forEach((e=>{this.loadedScripts.push(e),this.$pageLoaded.subscribe((()=>this.attachScript(e)))}))}attachScript(e){const t=this.windowService.document().createElement("script");t.setAttribute("defer",""),t.setAttribute("src",e),t.onerror=()=>{console.error("Unable to load script: ",e),this.loadedScripts=this.loadedScripts.filter((t=>t!==e))},this.windowService.document().getElementsByTagName("head")[0].appendChild(t)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.u),s["ɵɵinject"](r.z))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},59789:(e,t,n)=>{"use strict";n.d(t,{s:()=>a});var i=n(57826),r=n(6856),o=n(50371);let a=(()=>{class e{constructor(e,t){this.platformId=e,this.global=t,this.exclusions={},(0,r.isPlatformBrowser)(this.platformId)&&(this.exclusions=void 0!==this.global.nativeGlobal.marketingAudiencesExclusions?this.global.nativeGlobal.marketingAudiencesExclusions:{})}isUrlExcluded(e,t){if(t.path)return this.exclusions.path&&this.exclusions.path.some((e=>e===t.path));const n=(e.startsWith("/")?e.substring(1):e).substring(0).split("/");if(n.length>1){const e=n[n.length-2],t=n[n.length-1];return this.exclusions[e]&&this.exclusions[e].some((e=>e===t))}return!1}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](o.w,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},15152:(e,t,n)=>{"use strict";n.d(t,{_:()=>c});var i=n(57826),r=n(23550),o=n(6856),a=n(77247),s=n(16462);let c=(()=>{class e{constructor(e,t){this.platformId=e,this.request=t,this.X_AUDIENCES="X-Audiences",this.X_AUDIENCE_IDS="X-Audience-Ids",this.X_PRESET_FILTER="X-Preset-Filter",this.X_CONTENT_TARGETING_VARIANT="x-content-targeting-variant",this.X_ABTESTINGOPTION="x-abtestingoption",this.X_PREVIEWUSERID="X-Preview-User-Id",this.X_ORIGIN="X-Origin",this.queryParamsAsHeader=[s._.FILTER_PARAM,s._.AUDIENCES_PARAM,s._.AUDIENCE_IDS_PARAM,s._.PREVIEW_USER_ID_PARAM,s._.ORIGIN_PARAM]}buildRequestOptions(e,t){const n=t&&Object.keys(t).some((e=>this.queryParamsAsHeader.includes(e)));return this.generateOptions(e,t,n)}generateOptions(e,t,n){const i={params:new r.HttpParams({fromObject:n?this.removeQueryParams(t):t}),headers:n?this.extractHeadersFromParams(t):new r.HttpHeaders,responseType:"json",withCredentials:this.isRequestForManagedContent(e)};return(0,o.isPlatformServer)(this.platformId)&&(i.headers=this.copyHeadersIfPresent(this.request,i.headers)),i}copyHeadersIfPresent(e,t){let n=t;for(const t of[this.X_CONTENT_TARGETING_VARIANT,this.X_ABTESTINGOPTION])e&&e.headers&&e.headers[t]&&(n=n.set(t,e.headers[t]));return n}isRequestForManagedContent(e){return/\/?content\/v[0-9]+/.test(e)}removeQueryParams(e){const t={};for(const n in e)e.hasOwnProperty(n)&&!this.queryParamsAsHeader.includes(n)&&(t[n]=e[n]);return t}extractHeadersFromParams(e){let t=new r.HttpHeaders;return e[s._.FILTER_PARAM]&&(t=t.append(this.X_PRESET_FILTER,e[s._.FILTER_PARAM])),e[s._.AUDIENCE_IDS_PARAM]?t=t.append(this.X_AUDIENCE_IDS,e[s._.AUDIENCE_IDS_PARAM]):e[s._.AUDIENCES_PARAM]&&(t=t.append(this.X_AUDIENCES,e[s._.AUDIENCES_PARAM])),e[s._.PREVIEW_USER_ID_PARAM]&&(t=t.append(this.X_PREVIEWUSERID,e[s._.PREVIEW_USER_ID_PARAM])),e[s._.ORIGIN_PARAM]&&(t=t.append(this.X_ORIGIN,e[s._.ORIGIN_PARAM])),t}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](a.Z,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},52344:(e,t,n)=>{"use strict";n.d(t,{Bo:()=>o.B,Hk:()=>s.Hk,KI:()=>s.KI,Qh:()=>i.Q,_s:()=>r._,dq:()=>s.dq,gd:()=>s.gd,ge:()=>s.ge,lI:()=>s.lI,vg:()=>s.vg,wg:()=>s.wg,yG:()=>a.y});var i=n(58859),r=n(16462),o=(n(98912),n(90388)),a=n(40123),s=n(10406)},25300:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var i=(()=>(function(e){e.MARKETING_PAGE="marketing_page",e.SLIDESHOW="slideshow",e.SLIDE="slide",e.MENU="custom_menu",e.CONTENT_PAGE="content_page",e.CASINO_GAME_PAGE="casino_game_page",e.CONTENT_BLOCK="content_block",e.SECTION="section",e.FUNCTIONAL="functional"}(i||(i={})),i))()},40476:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});var i=(()=>(function(e){e.GRID_LAYOUT="gridlayout",e.TOP_CASINO_CATEGORIES="topCasinoCategories",e.CASINO_CATEGORIES="casinoCategories",e.GAMECARD_SLIDER="gamecardSlider",e.BANNER_WELCOME="bannerWelcome",e.SMALL_BANNERS="smallBanner",e.SMALL_BANNERS_AND_CONTENT_BLOCKS="smallBannersAndContentBlocks",e.GAMES_CAROUSEL="featuredCasinoGames",e.PROMOTIONS_MENU="promotion-home-menu",e.LIGHT_MENU="lightmenu",e.MAIN_FEATURES="mainFeatures",e.FOOTER_MENU="footerMenu",e.SLIDE_CARD="outertext",e.CASINO_GAMES_PER_CATEGORIES="casinogamespercategories",e.SCROLLABLE="scrollable",e.VIRTUALSPORTS="casinoVirtualSports",e.CASINO_SUBCATEGORIES_MENU="casinosubcategoriesmenu",e.LIVE_DEALER_PAGE_TAG="livedealerpage"}(i||(i={})),i))()},54411:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var i=(()=>(function(e){e.ARTICLE="article",e.PROMOTION="promotion",e.HELP="help",e.GENERIC="generic"}(i||(i={})),i))()},96859:(e,t,n)=>{"use strict";n.d(t,{X:()=>h});var i=n(95556),r=n(86958),o=n(4309),a=n(42998),s=n(52344),c=n(44960),l=n(8924),d=n(96199),u=n(57826);let p=(()=>{class e{}return e.CASINOHOME="casinohome",e.AUTHSTATEFILTERING="authstatefiltering",e.LOGGEDIN="loggedin",e})(),h=(()=>{class e{constructor(e,t,n,i,r,o){this.contentService=e,this.contentNotFoundHandler=t,this.marketingPageService=n,this.impressionHelper=i,this.sessionService=r,this.menuConfig=o}fetchContent(e,t){let n=this.contentService.getContentByUri(e,!0).pipe((0,a.first)(),(0,a.map)((e=>this.contentService.removeNotTaggedComponents(e,p.CASINOHOME))));return this.processContent(n,t)}fetchHomeContent(e,t,n){let i=this.contentService.getContentBySlug(e,t,{},!0).pipe((0,a.first)(),(0,a.map)((e=>n?e:this.contentService.removeNotTaggedComponents(e,p.CASINOHOME))));return this.processContent(i,!0)}fetchSection(e,t){let n=this.contentService.getContentBySlug(e,t,{},!0).pipe((0,a.first)(),(0,a.map)((e=>this.checkAuthenticationFilterTag(e))));return this.processContent(n,!1)}checkAuthenticationFilterTag(e){return(0,s.ge)(e,p.AUTHSTATEFILTERING)?this.filterChildrenByAuthenticationState(e):e}fetchMenu(e){return this.contentService.getContentBySlug(this.menuConfig.slug,e,this.menuConfig.params,!0).pipe((0,a.first)(),(0,a.tap)((e=>this.impressionHelper.pageView(e,!1))),(0,a.map)((e=>l.o.createCmsNavMenu(e,this.menuConfig.baseUrl))),(0,a.catchError)((()=>(0,o.of)(null))))}processContent(e,t=!0){return e.pipe((0,a.tap)((e=>this.impressionHelper.pageView(e,!1))),(0,a.map)((e=>this.marketingPageService.processPage(e))),(0,a.catchError)((e=>t?this.contentNotFoundHandler.resolveContentNotFoundOrThrow(e):(0,o.of)(null))))}filterChildrenByAuthenticationState(e){return this.sessionService.isAuthenticated()?this.contentService.removeNotTaggedComponents(e,p.LOGGEDIN):this.contentService.removeTaggedComponents(e,p.LOGGEDIN)}}return e.ɵfac=function(t){return new(t||e)(u["ɵɵinject"](s._s),u["ɵɵinject"](s.Bo),u["ɵɵinject"](c.F),u["ɵɵinject"](r.P),u["ɵɵinject"](i.mj),u["ɵɵinject"](d.U))},e.ɵprov=u["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},96199:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});const i=new(n(57826).InjectionToken)("MenuConfig")},42680:(e,t,n)=>{"use strict";n.d(t,{n:()=>c});var i=n(57826),r=n(32716),o=n(6856),a=n(90566);function s(e,t){if(1&e&&(i["ɵɵelementContainerStart"](0),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"bx-dynamic-loader-component",2),i["ɵɵtext"](3,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n            "),i["ɵɵelementContainerEnd"]()),2&e){const e=t.$implicit;i["ɵɵadvance"](2),i["ɵɵproperty"]("component",e.component)("context",e.context)("contextName",e.contextName)}}let c=(()=>{class e{constructor(){this.components=[]}set data(e){this.marketingPageData=e,e&&e.components&&e.components.length?this.components=e.components.map(this.processComponent):this.components=[]}processComponent(e){let t=Object.keys(e.data)[0];return{component:e.component,contextName:t,context:e.data[t]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-marketing-page"]],inputs:{data:"data"},decls:6,vars:2,consts:[[3,"bxPreviewIndicator"],[4,"ngFor","ngForOf"],[3,"component","context","contextName"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵtemplate"](3,s,5,3,"ng-container",1),i["ɵɵtext"](4,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("bxPreviewIndicator",t.marketingPageData),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",t.components))},directives:[r.Z,o.NgForOf,a.W],encapsulation:2}),e})()},53001:(e,t,n)=>{"use strict";n.d(t,{J:()=>S});var i=n(57826),r=n(6856),o=n(44960),a=n(64762),s=n(70025),c=n(25300),l=n(80112),d=n(27218);let u=class extends s.Xe{constructor(e,t){super(e,t),this.urlPrefixService=e,this.gameUrlService=t}matcher(e){return e.contentType===c.z.MARKETING_PAGE}createLink(e){return`/${e.slug}`}};u.ɵfac=function(e){return new(e||u)(i["ɵɵinject"](l.z),i["ɵɵinject"](d.X))},u.ɵprov=i["ɵɵdefineInjectable"]({token:u,factory:u.ɵfac}),u=(0,a.__decorate)([(0,s.ST)(),(0,a.__metadata)("design:paramtypes",[l.z,d.X])],u);var p=n(52344),h=n(8566),m=n(17125),f=n(58997);let g=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[m.d,f.G]}),e})();var v=n(56614),b=n(40821),y=n(65353);n(90054);let S=(()=>{class e{static withComponents(t){return{ngModule:e,providers:[{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,useValue:t,multi:!0}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[o.F,u],imports:[[r.CommonModule,p.Qh,h.B,b.o,g,v.F,y.gM.forRoot()]]}),e})()},44960:(e,t,n)=>{"use strict";n.d(t,{F:()=>d});var i=n(63253),r=n(42998),o=n(17125),a=n(52344),s=n(25300),c=n(93801),l=n(57826);let d=(()=>{class e{constructor(e,t){this.contentService=e,this.cmsComponentMapperService=t,this.CONTENT_SECTION="marketing_page",this.EMPTY_SPACES_REGEX=/\s/g}processPage(e){const t={title:i(["fields","title"],e),body:i(["fields","body"],e),img:i(["fields","add_image"],e),metadata:null,components:[],draft:"draft"===e.status,h1Enabled:!0};return e.fields&&(t.h1Enabled=!1!==e.fields.h1Enabled,e.fields.tags&&(t.tags=e.fields.tags.replace(this.EMPTY_SPACES_REGEX,"").split(",")),e.fields.metafields&&(t.metadata=e.fields.metafields),e.fields.items&&(e.fields.items.map((t=>t.parent={internal_name:e.fields.internal_name,content_type:e.contentType})),e.fields.items.forEach((e=>{let n=this.cmsComponentMapperService.map(e);n&&t.components.push(n),e.fields.filter&&(t.notInFilter=c.H.map(e.fields.filter))})))),t}getMarketingPageBySlug(e,t,n){return t=t||this.CONTENT_SECTION,n=n||{},this.contentService.getContentBySlug(e,t,n).pipe((0,r.map)((e=>this.processPage(e))))}getMarketingPageByUriSuffix(e,t,n){return t=t||this.CONTENT_SECTION,this.contentService.getContentByUriSuffix(e,t,s.z.MARKETING_PAGE,null,n).pipe((0,r.map)((e=>this.processPage(e))))}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](a._s),l["ɵɵinject"](o.d))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},41057:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});var i=n(56914);class r extends i.x{map(e){let t={menuItems:[]};for(let n of e.fields.items){let e={title:n.linkText,url:n.linkUrl};t.menuItems.push(e)}return t}}},27726:(e,t,n)=>{"use strict";n.d(t,{v:()=>u});var i=n(57826),r=n(81899),o=n(6856),a=n(73753),s=n(42680),c=n(42802);function l(e,t){1&e&&(i["ɵɵelementStart"](0,"div",10),i["ɵɵtext"](1,"\n                        "),i["ɵɵelement"](2,"bx-marketing-page-menu-navigation"),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementEnd"]())}const d=function(){return{showHeaderMenu:!0}};let u=(()=>{class e{constructor(e,t){this.ngZone=e,this.windowService=t,this.showNavMenu=!0,this.windowService.window().onresize=e=>{this.ngZone.run((()=>{this.sizeDetection()}))}}ngOnInit(){this.sizeDetection()}sizeDetection(){this.windowService.window().innerWidth<=768?this.showNavMenu=!1:this.showNavMenu=!0}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.NgZone),i["ɵɵdirectiveInject"](r.u))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-marketing-page-menu"]],inputs:{data:"data"},decls:35,vars:5,consts:[[1,"max-container","bx-marketing-page-menu-container"],[1,"modal-content","modal-medium"],[1,"bx-marketing-page-wrapper"],["class","bx-marketing-page-menu-nav",4,"ngIf"],[1,"bx-marketing-page-menu-subcontent"],[1,"max-container"],[1,"menu-title"],["routerLink","/",1,"back-btn",3,"queryParams"],[1,"modal-body"],[3,"data"],[1,"bx-marketing-page-menu-nav"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"div",2),i["ɵɵtext"](6,"\n                    "),i["ɵɵtemplate"](7,l,4,0,"div",3),i["ɵɵtext"](8,"\n                    "),i["ɵɵelementStart"](9,"div",4),i["ɵɵtext"](10,"\n                        "),i["ɵɵelementStart"](11,"div",5),i["ɵɵtext"](12,"\n                            "),i["ɵɵelementStart"](13,"h2",6),i["ɵɵtext"](14,"\n                                "),i["ɵɵelementStart"](15,"a",7),i["ɵɵtext"](16,"<"),i["ɵɵelementEnd"](),i["ɵɵtext"](17),i["ɵɵelementEnd"](),i["ɵɵtext"](18,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](19,"\n                        "),i["ɵɵelementStart"](20,"main"),i["ɵɵtext"](21,"\n                            "),i["ɵɵelementStart"](22,"div",5),i["ɵɵtext"](23,"\n                                "),i["ɵɵelementStart"](24,"section",8),i["ɵɵtext"](25,"\n                                    "),i["ɵɵelement"](26,"bx-marketing-page",9),i["ɵɵtext"](27,"\n                                "),i["ɵɵelementEnd"](),i["ɵɵtext"](28,"\n                            "),i["ɵɵelementEnd"](),i["ɵɵtext"](29,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](30,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](31,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](32,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](33,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](34,"\n    ")),2&e&&(i["ɵɵadvance"](7),i["ɵɵproperty"]("ngIf",t.showNavMenu),i["ɵɵadvance"](8),i["ɵɵproperty"]("queryParams",i["ɵɵpureFunction0"](4,d)),i["ɵɵadvance"](2),i["ɵɵtextInterpolate1"]("\n                                ",t.data.title,"\n                            "),i["ɵɵadvance"](9),i["ɵɵproperty"]("data",t.data))},directives:[o.NgIf,a.RouterLinkWithHref,s.n,c.X],styles:[".bx-marketing-page-menu-container[_ngcontent-%COMP%] {\n  margin-top: 48px;\n  padding-bottom: 10px; }\n\n.bx-marketing-page-menu-subcontent[_ngcontent-%COMP%] {\n  display: inline-block;\n  vertical-align: top;\n  margin: 31px auto auto;\n  min-width: 300px;\n  width: 100%; }\n\n.bx-marketing-page-menu-subcontent[_ngcontent-%COMP%]   .menu-title[_ngcontent-%COMP%] {\n    font-size: 20px;\n    color: #fff;\n    margin-bottom: 16px; }\n\n.bx-marketing-page-menu-subcontent[_ngcontent-%COMP%]   .menu-title[_ngcontent-%COMP%]   .back-btn[_ngcontent-%COMP%] {\n      color: gray;\n      padding: 0 16px 0; }\n\n.bx-marketing-page-menu-subcontent[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%] {\n    padding: 20px 0;\n    background: #fff;\n    display: block; }\n\n.bx-marketing-page-menu-nav[_ngcontent-%COMP%] {\n  display: inline-block;\n  vertical-align: top;\n  width: 100%;\n  min-width: 300px;\n  margin-top: 54px; }\n\n@media only screen and (min-width: 769px) {\n  .bx-marketing-page-wrapper[_ngcontent-%COMP%] {\n    display: flex; }\n  .bx-marketing-page-menu-nav[_ngcontent-%COMP%] {\n    width: 33%;\n    flex: 1; }\n  .bx-marketing-page-menu-subcontent[_ngcontent-%COMP%] {\n    flex: 2;\n    width: 66%;\n    margin-left: 1.5em;\n    display: inline-block; }\n    .bx-marketing-page-menu-subcontent[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%] {\n      border: 16px solid #cccccc; }\n    .bx-marketing-page-menu-subcontent[_ngcontent-%COMP%]   .back-btn[_ngcontent-%COMP%] {\n      display: none; } }\n\n@media only screen and (max-width: 769px) {\n  .bx-marketing-page-menu-subcontent[_ngcontent-%COMP%] {\n    margin-top: 12px; }\n    .bx-marketing-page-menu-subcontent[_ngcontent-%COMP%]   .modal-body[_ngcontent-%COMP%] {\n      border-bottom: 16px solid #cccccc; }\n    .bx-marketing-page-menu-subcontent[_ngcontent-%COMP%]   .menu-title[_ngcontent-%COMP%] {\n      font-size: 16px;\n      margin-bottom: 16px; }\n  .bx-marketing-page-menu-container[_ngcontent-%COMP%] {\n    border-top: 2px solid #C50D00; } }"]}),e})()},51029:(e,t,n)=>{"use strict";n.d(t,{F:()=>h});var i=n(6856),r=n(73753),o=n(46333),a=n(84704),s=n(50536),c=n(40821),l=n(3334),d=n(53001),u=n(41057),p=n(57826);let h=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=p["ɵɵdefineNgModule"]({type:e}),e.ɵinj=p["ɵɵdefineInjector"]({providers:[l.O,u.L],imports:[[i.CommonModule,d.J,a.a,r.RouterModule.forChild([]),o.d,s.j,c.o]]}),e})()},42802:(e,t,n)=>{"use strict";n.d(t,{X:()=>d});var i=n(3334),r=n(57826),o=n(86014),a=n(6856),s=n(73753);const c=function(){return["active"]};function l(e,t){if(1&e&&(r["ɵɵelementStart"](0,"li",5),r["ɵɵtext"](1),r["ɵɵelement"](2,"i",6),r["ɵɵtext"](3,"\n                      "),r["ɵɵelementEnd"]()),2&e){const e=t.$implicit;r["ɵɵpropertyInterpolate"]("routerLink",e.url),r["ɵɵproperty"]("routerLinkActive",r["ɵɵpureFunction0"](3,c)),r["ɵɵadvance"](1),r["ɵɵtextInterpolate1"]("\n                        ",e.title,"\n                        ")}}let d=(()=>{class e{constructor(e){this.marketingPageMenuService=e}ngOnInit(){this.marketingPageMenuService.getMenuContent().subscribe((e=>{this.content=e}))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](i.O))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-marketing-page-menu-navigation"]],decls:21,vars:1,consts:[[1,"marketing-page-menu-container"],[1,"page-title"],[3,"bxTranslate"],[1,"custom-menu","primary"],["role","button",3,"routerLink","routerLinkActive",4,"ngFor","ngForOf"],["role","button",3,"routerLink","routerLinkActive"],[1,"icon","icon-arrow-next"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"div"),r["ɵɵtext"](2,"\n            "),r["ɵɵelementStart"](3,"section"),r["ɵɵtext"](4,"\n                "),r["ɵɵelementStart"](5,"div",0),r["ɵɵtext"](6,"\n                    "),r["ɵɵelementStart"](7,"div",1),r["ɵɵtext"](8,"\n                        "),r["ɵɵelementStart"](9,"span",2),r["ɵɵtext"](10,"tertiaryMenu.pages"),r["ɵɵelementEnd"](),r["ɵɵtext"](11,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](12,"\n                    "),r["ɵɵelementStart"](13,"ul",3),r["ɵɵtext"](14,"\n                      "),r["ɵɵtemplate"](15,l,4,4,"li",4),r["ɵɵtext"](16,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](17,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](18,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](19,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](20,"\n    ")),2&e&&(r["ɵɵadvance"](15),r["ɵɵproperty"]("ngForOf",null==t.content?null:t.content.menuItems))},directives:[o.P,a.NgForOf,s.RouterLink,s.RouterLinkActive],styles:[".page-title[_ngcontent-%COMP%] {\n  color: #808080;\n  font-size: 12px;\n  font-weight: 600;\n  margin-bottom: 4px; }"]}),e})()},3334:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var i=n(42998),r=n(16462),o=n(57826),a=n(41057);let s=(()=>{class e{constructor(e,t){this.contentService=e,this.marketingPageMenuCmsMapper=t,this.CONTENT_SECTION="marketing_page",this.SLUG="left-nav-menu"}getMenuContent(){return this.contentService.getContentBySlug(this.SLUG,this.CONTENT_SECTION).pipe((0,i.map)((e=>this.marketingPageMenuCmsMapper.map(e))))}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](r._),o["ɵɵinject"](a.L))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},64638:(e,t,n)=>{"use strict";n.d(t,{B:()=>i});const i=new(n(57826).InjectionToken)("metadataAlternateContentToken")},8924:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var i=n(79068),r=n(25300),o=n(93801);class a{static createCmsNavMenu(e,t){return a.isCmsDataWithSubmenus(e)?a.createCmsNavMenuForSubmenusData(e,t):a.createCmsNavMenuForMarketingPageData(e,t)}static isCmsDataWithSubmenus(e){try{return e.fields.items[0].contentType===r.z.MENU}catch(e){return!1}}static createCmsNavMenuForMarketingPageData(e,t){let n=this.createCommonCmsNavMenu(e.fields&&e.fields.filter);try{n.categoryLinks=a.createListOfCmsNavLink(e.fields.items,t)}catch(e){n.categoryLinks=[]}let r=new i.IR("",n.categoryLinks);return n.secondaryLinks=[r],n}static createCommonCmsNavMenu(e){const t=new i.af;return t.notInFilter=o.H.map(e),t}static createCmsNavMenuForSubmenusData(e,t){let n=this.createCommonCmsNavMenu(e.fields&&e.fields.filter);return n.categoryLinks=a.createCategoryLinks(e,t),n.secondaryLinks=a.createSecondaryLinks(e,t),e.fields&&e.fields.filter&&(n.notInFilter=o.H.map(e.fields.filter)),n}static createCategoryLinks(e,t){let n=[];try{let r=e.fields.items[0];n=this.createListOfCmsNavLink(r.fields.items,t);let o=new i.hF("",e.fields.items[1].fields.title,"icon-all",!0,!1);return n.push(o),n}catch(e){return n}}static createSecondaryLinks(e,t){try{let n=e.fields.items[1],r=n.fields.items[0].fields.title,o=this.createListOfCmsNavLink(n.fields.items[0].fields.items,t),a=new i.IR(r,o),s=n.fields.items[1].fields.title,c=this.createListOfCmsNavLink(n.fields.items[1].fields.items,t);return[a,new i.IR(s,c)]}catch(e){return[]}}static createListOfCmsNavLink(e,t){let n=[];return e.forEach((e=>{let i;i="marketing_page"===e.contentType?this.createCmsNavLinkFromMKP(e,t):this.createCmsNavLinkFromExternalLink(e,t),n.push(i)})),n}static createCmsNavLinkFromMKP(e,t){const n=e.fields;t=this.removeSlashUrlAtTheBeginning(t)===e.uriSuffix?"/":this.addSlashUrlAtTheEnd(t);const r=this.removeSlashUrlAtTheBeginning(e.uriSuffix),o=n.menuItemLabel?n.menuItemLabel:n.title,a={exact:"/casino/"!==t};return new i.hF(t+r,o,n.iconClass,!1,!1,a)}static createCmsNavLinkFromExternalLink(e,t){let n,r="same_window"!==e.linkTarget;return n=e.linkUrl.startsWith("/")||this.isAbsoluteUrl(e.linkUrl)?e.linkUrl:(t=this.removeSlashUrlAtTheBeginning(t)===e.linkUrl?"/":this.addSlashUrlAtTheEnd(t))+e.linkUrl,new i.hF(n,e.linkText,e.iconClass,!1,r)}static addSlashUrlAtTheEnd(e){return e&&!e.endsWith("/")?e+"/":e}static removeSlashUrlAtTheBeginning(e){return e&&e.startsWith("/")?e.substr(1):e}static isAbsoluteUrl(e){return/^https?:\/\//i.test(e)}}},79068:(e,t,n)=>{"use strict";n.d(t,{IR:()=>o,af:()=>a,hF:()=>r});var i=n(98953);class r{constructor(e,t,n,i,r,o){this.url=e,this.label=t,this.icon=n,this.triggerOverlay=i,this.openNewTab=r,this.activeLinkOptions=o}}class o{constructor(e,t){this.menuTitle=e,this.navLinks=t}}class a extends i.w{constructor(){super(),this.categoryLinks=[],this.secondaryLinks=[]}}},67996:(e,t,n)=>{"use strict";n.d(t,{D:()=>u}),n(73753);var i=n(43431),r=n(4309),o=n(42998),a=n(96859),s=n(42243),c=n(52344),l=n(64638),d=n(57826);let u=(()=>{class e{constructor(e,t,n,i,r){this.pageService=e,this.cmsFeatureFlagService=t,this.cmsPageStore=n,this.metadataAlternateContentService=i,this.contentNotFoundHandler=r}resolve(e,t){return this.cmsFeatureFlagService.isFeatureEnabled(i.u.CASINO_UNIQUE_PAGES_FF)?this.metadataAlternateContentService.checkMetadataAlternates(t).pipe((0,o.mergeMap)((n=>n?this.fetchContent(e,t):this.navigateToNotFoundPage())),(0,o.first)()):(0,r.of)(null)}fetchContent(e,t){return this.getContent(e,t).pipe((0,o.tap)((e=>this.cmsPageStore.setContent(e))))}getContent(e,t){return this.pageService.fetchContent(this.getUriSuffix(e,t))}getUriSuffix(e,t){return e.params.subcategory||e.params.category||t.url}navigateToNotFoundPage(){return this.marketingPageSubject=new r.Subject,this.contentNotFoundHandler.navigateToNotFoundPage(),this.resolveObserver({})}resolveObserver(e){return this.marketingPageSubject.next(e),this.marketingPageSubject.complete(),this.marketingPageSubject.asObservable()}}return e.ɵfac=function(t){return new(t||e)(d["ɵɵinject"](a.X),d["ɵɵinject"](i.u),d["ɵɵinject"](s.KO),d["ɵɵinject"](l.B),d["ɵɵinject"](c.Bo))},e.ɵprov=d["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},90872:(e,t,n)=>{"use strict";n.d(t,{jD:()=>d,yG:()=>h,Dg:()=>u.D}),n(73753);var i=n(43431),r=n(4309),o=n(42998),a=n(52344),s=n(96859),c=n(11132),l=n(57826);let d=(()=>{class e{constructor(e,t,n){this.pageService=e,this.cmsFeatureFlagService=t,this.headerStore=n}resolve(e,t){return this.cmsFeatureFlagService.isFeatureEnabled(i.u.CASINO_UNIQUE_PAGES_FF)?this.pageService.fetchSection(a.lI,a.wg).pipe((0,o.tap)((e=>this.headerStore.setContent(e)))):(0,r.of)(null)}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](s.X),l["ɵɵinject"](i.u),l["ɵɵinject"](c.e))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();n(64174),n(81516),n(82413);var u=n(67996);n(64638);var p=n(32112);let h=(()=>{class e{constructor(e,t,n){this.pageService=e,this.cmsFeatureFlagService=t,this.menuStore=n}resolve(e,t){return this.cmsFeatureFlagService.isFeatureEnabled(i.u.CASINO_UNIQUE_PAGES_FF)?this.pageService.fetchMenu(a.KI).pipe((0,o.tap)((e=>this.menuStore.setContent(e))),(0,o.catchError)((()=>(0,r.of)(null)))):(0,r.of)(null)}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](s.X),l["ɵɵinject"](i.u),l["ɵɵinject"](p.w))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();new l.InjectionToken("leaderboards")},82413:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var i=n(64762),r=n(91184),o=n(57826);class a{get title(){return this.content?this.content.title:""}setContent(e){this.content=e}}a.ɵfac=function(e){return new(e||a)},a.ɵprov=o["ɵɵdefineInjectable"]({token:a,factory:a.ɵfac}),(0,i.__decorate)([r.LO,(0,i.__metadata)("design:type",Object)],a.prototype,"content",void 0),(0,i.__decorate)([r.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],a.prototype,"title",null),(0,i.__decorate)([r.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[Object]),(0,i.__metadata)("design:returntype",void 0)],a.prototype,"setContent",null)},32112:(e,t,n)=>{"use strict";n.d(t,{w:()=>s});var i=n(64762),r=n(91184),o=n(79068),a=n(57826);class s{setContent(e){this.content=e}get categoryLinks(){return this.content.categoryLinks}}s.ɵfac=function(e){return new(e||s)},s.ɵprov=a["ɵɵdefineInjectable"]({token:s,factory:s.ɵfac}),(0,i.__decorate)([r.LO,(0,i.__metadata)("design:type",o.af)],s.prototype,"content",void 0),(0,i.__decorate)([r.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[o.af]),(0,i.__metadata)("design:returntype",void 0)],s.prototype,"setContent",null),(0,i.__decorate)([r.Fl,(0,i.__metadata)("design:type",Array),(0,i.__metadata)("design:paramtypes",[])],s.prototype,"categoryLinks",null)},11132:(e,t,n)=>{"use strict";n.d(t,{e:()=>a});var i=n(64762),r=n(91184),o=n(57826);class a{setContent(e){this.content=e}}a.ɵfac=function(e){return new(e||a)},a.ɵprov=o["ɵɵdefineInjectable"]({token:a,factory:a.ɵfac}),(0,i.__decorate)([r.LO,(0,i.__metadata)("design:type",Object)],a.prototype,"content",void 0),(0,i.__decorate)([r.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[Object]),(0,i.__metadata)("design:returntype",void 0)],a.prototype,"setContent",null)},42243:(e,t,n)=>{"use strict";n.d(t,{KO:()=>i.K,eB:()=>o.e,wb:()=>r.w});var i=n(82413),r=n(32112),o=n(11132)},23298:(e,t,n)=>{"use strict";n.d(t,{m:()=>o});var i=n(3336),r=n(57826);let o=(()=>{class e{constructor(e){this.analyticsService=e}handleClick(t,n,i){return this.updateAbtStudy(n),e.createCustomData("click",t,i,n)}updateAbtStudy(t){const n=e.withFallbackForNonAbtEvent(t);this.analyticsService.updateAbtStudy(n)}contextNotSet(){return this.analyticsService.abtContextNotSet()}static createCustomData(t,n,i,r){const o={behavior:t,name:n,position:i};return e.addAbtStudyParametersToCustomData(o,r),o}static addAbtStudyParametersToCustomData(t,n){const r=e.withFallbackForNonAbtEvent(n);t[i.y.CONTEXT_AB_TEST_NAME]=r.study,t[i.y.CONTEXT_AB_TEST_VARIATION]=r.sample}static withFallbackForNonAbtEvent(e){return e||{study:"-1",sample:"-1"}}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.y))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},43535:(e,t,n)=>{"use strict";n.d(t,{u:()=>i});class i{map(e){if(e){if(e.abtStudy)return e.abtStudy;if(e.tracking&&e.tracking.abtStudy)return e.tracking.abtStudy;if(e.fields&&e.fields.isABTestingEnabled)return{study:e.fields.testTitle,sample:e.fields.version}}}}},30783:(e,t,n)=>{"use strict";n.d(t,{G:()=>a});var i=n(23298),r=n(57826),o=n(43535);let a=(()=>{class e{constructor(e,t){this.abtEventHandler=e,this.abtFieldsMapper=t}updateAbtStudy(e,t=!0){const n=this.abtFieldsMapper.map(e);(t||this.abtEventHandler.contextNotSet())&&this.abtEventHandler.updateAbtStudy(n)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.m),r["ɵɵinject"](o.u))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},90054:(e,t,n)=>{"use strict";n.d(t,{g:()=>l});var i=n(57826),r=n(23298),o=n(43535),a=n(30783),s=n(31793),c=n(29967);let l=(()=>{class e{static forRoot(){return{ngModule:e,providers:[r.m,o.u,a.G,s.qc]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[c.j]]}),e})()},31793:(e,t,n)=>{"use strict";n.d(t,{HE:()=>s,be:()=>a,qc:()=>l});var i=n(82846),r=n(55640),o=n(57826);const a="abt",s="abtb",c={a:"AFFILIATE",raf:"PROFILE"};let l=(()=>{class e{constructor(e,t){this.browserStorageService=e,this.cookieStorageService=t}getSignupFormQueryParams(e=""){let t={};const n=this.getAcquisitionSouceFromCookie(),i=this.browserStorageService.get(a)||"";return e&&(t.countryCode=e),i&&(t.abt=[],JSON.parse(i).forEach((e=>{t.abt.push(e.study+":"+e.sample)}))),n&&(t.acquisitionSource=n),t.countryCode||t.abt||t.acquisitionSource?t:null}parseStudies(e){let t=[];return e&&e.forEach((e=>{let n=e.split(":");t.push({study:n[0],sample:n[1]})})),t}getAcquisitionSouceFromCookie(){const e=/.*rt:(a|raf|o).*/g,t=this.cookieStorageService.get("variant");return t&&t.match(e)?c[e.exec(t)[1]]:""}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](r.z),o["ɵɵinject"](i.G))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},65353:(e,t,n)=>{"use strict";n.d(t,{GG:()=>a.G,gM:()=>o.g,mz:()=>i.m,u1:()=>r.u});var i=n(23298),r=n(43535),o=n(90054),a=(n(31793),n(30783))},75330:(e,t,n)=>{"use strict";function i(e,t,n){return(i,r,o)=>{let a=o.value;return o.value=function(){let i=n.apply(this,arguments);return this.analyticsService.sendEvent("click",e,t,i),a.apply(this,arguments)},o}}function r(e,t=!1,n){return(i,r,o)=>{let a=o.value;return o.value=function(){return e=this.wtEventName?this.wtEventName:e,this.analyticsService.trackComponentLoad(e,t,n),a.apply(this,arguments)},o}}n.d(t,{ob:()=>i,uh:()=>r})},41306:(e,t,n)=>{"use strict";n.d(t,{I:()=>y});var i=n(3336),r=n(50543),o=n(57597),a=n(11198),s=n(86333),c=n(91691),l=n(94410),d=n(19765),u=n(57826);let p=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=u["ɵɵdefineNgModule"]({type:e}),e.ɵinj=u["ɵɵdefineInjector"]({providers:[d.m]}),e})();var h=n(94726),m=n(56405),f=n(33564),g=n(81768),v=n(86958),b=n(56730);let y=(()=>{class e{static forRoot(){return{ngModule:e,providers:[i.y,r.O,o.W,h.M,m.m,f.e,g.V,v.P,b.Z]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=u["ɵɵdefineNgModule"]({type:e}),e.ɵinj=u["ɵɵdefineInjector"]({imports:[[a.$,s.M,c.C,l.n,p]]}),e})()},3336:(e,t,n)=>{"use strict";n.d(t,{y:()=>S});var i=n(57826),r=n(73753),o=n(4309),a=n(42998),s=n(31793),c=n(81516),l=n(55640),d=n(82846),u=n(81899),p=n(33087),h=n(19765),m=n(84860),f=n(45965),g=n(35294),v=n(50543),b=n(42497);class y{constructor(e,t,n,i,r){this.eventName=e,this.prependSiteName=t,this.customData=n,this.creationTimestamp=i,this.contextSnapshot=r}}class S{constructor(e,t,n,i,r,a,s,c,l,d,u){this.browserStorageService=e,this.siteConfigService=t,this.languageService=n,this.windowService=i,this.injector=r,this.pixelTrackingService=a,this.firstTimeVisitorService=s,this.appStateStore=c,this.cookieStorageService=l,this.pageNavigationService=d,this.errorInterceptor=u,this.context={},this.scriptLoaded$=new o.AsyncSubject,this.fetchingAccountNumber$=new o.Subject,this.customDataKeys=[],this.monitoringEvents=new Map,this.startingTimes=new Map,this.comesFromOverlay=new Map,this.delayedTracks=new Map,this.delayedEventsTracks=new Map,this.delayedCustomData$=new o.BehaviorSubject({}),this.urlsToBeSkipped=["overlay="]}static defaultCustomParameters(){const e={};return e[S.PAGE_TYPE_KEY]="virtual",e[S.FULL_PAGE_LOAD_TIME_KEY]="-1",e[S.DNS_RESOLUTION_TIME_KEY]="-1",e}get wtRef(){return this.windowService.window().wts}init(e){this.router=this.injector.get(r.Router),this.route=this.injector.get(r.ActivatedRoute);let t=this.siteConfigService.getSiteConfigProp("brandCode");this.monitoringUrls=e||new Map,this.windowInstance=this.windowService.window(),this.context={site_name:t,territory:this.siteConfigService.getSiteConfigProp("territory"),page_language:"",site_id:t,customerId:"false",country:this.siteConfigService.getSiteConfigProp("countryCode")||"false",contentId:"",pageLoginStatus:""},this.monitorHttpResponseErrors(),this.updateAbtStudy(),this.extractEventsToDelay(e),this.languageService.getLanguage().subscribe((e=>{this.context.page_language=e})),this.router.events.pipe((0,a.filter)((e=>e instanceof r.NavigationEnd))).subscribe((e=>{if(this.pixelTrackingService.sendAllPagesPixelEvent(),S.filterOverlayNavigationEvent(e.url)||this.checkUrlToBeSkipped(e.url))return;let t=this.retrieveTrackingUrl();if(this.windowInstance["process-fpl"])this.trackingInfoFPL=this.getEventNameFromUrl(e.url,t),delete this.windowInstance["process-fpl"];else{if(this.monitoringUrls.has(e.url)&&!this.comesFromOverlay.has(e.url)){let n;n=this.monitoringUrls.get(e.url).includes("form_view")?this.monitoringUrls.get(e.url):this.getEventNameFromUrl(e.url,t),this.delayedTracks.set(e.url,new y(n,!0,S.RESET_CUSTOM_PARAMETERS,Date.now(),{...this.context}))}else if(!this.comesFromFakeLiveDealerOverlay(e.url)){const t=this.getEventName(e.url);this.lastNavigationEventName=t,this.sendPageUpdateEvent(t,!0,S.RESET_CUSTOM_PARAMETERS)}this.comesFromOverlay.delete(e.url)}})),this.router.events.pipe((0,a.filter)((e=>e instanceof r.NavigationStart))).subscribe((e=>{if(this.monitoringUrls.has(e.url)){const t=this.monitoringUrls.get(e.url);this.setStartNavigationVariables(e.url,t)}}))}getEventNameFromUrl(e,t){return"/"===e||e.startsWith("/?")?e.replace("/","home"):(t||e).replace(/\//g,":")}getEventName(e){let t=this.getEventNameFromUrl(e,this.retrieveTrackingUrl()),n=S.URL_EXCLUSIONS.filter((t=>e.match(t.urlRegExp)));return 0!=n.length?n[0].eventName:t}setStartNavigationVariables(e,t){this.isPreviousOverlay()&&this.comesFromOverlay.set(e,this.isPreviousOverlay()),this.startingTimes.has(t)||this.isPreviousOverlay()||(this.startingTimes.set(t,Date.now()),this.pageNavigationService.trackStart(t))}setNavigationData(){let e={};null!=this.windowInstance["dns-resolution"]&&(e.page_type=this.windowInstance["page-type"],e.full_page_load_time=String(this.windowInstance.full_page_load),e.dns_resolution_time=this.windowInstance["dns-resolution"],delete this.windowInstance["dns-resolution"],delete this.windowInstance.page_type,delete this.windowInstance.full_page_load),this.sendPageUpdateEvent(this.trackingInfoFPL,!0,e),this.trackingInfoFPL=void 0}setNavigationDataV2(e,t,n){let i={};void 0!==e&&(i[S.PAGE_TYPE_KEY]=t,i[S.FULL_PAGE_LOAD_TIME_KEY]=n,i[S.DNS_RESOLUTION_TIME_KEY]=e),this.sendPageUpdateEvent(this.trackingInfoFPL,!0,i),this.trackingInfoFPL=void 0}getInitialTime(e){let t=this.startingTimes.get(e);return this.startingTimes.delete(e),t}trackCardClick(e,t,n){this.siteConfigService.isFeaturePresent(m.L.cardTrackEnabled)&&this.sendEvent("click",e,t,n)}trackNotificationEvent(e,t){this.siteConfigService.getSiteConfigProp("notificationAnalyticsEnabled")&&this.sendClickEvent(`notification:${e}`,!0,{33:JSON.stringify({notification_id:t,action:e,origin:this.context.contentId})})}sendEvent(e,t,n,i,r){"click"===e?this.sendClickEvent(t,n,i,r):"pageUpdate"===e&&(this.monitoringEvents.has(t)?this.delayedEventsTracks.set(t,new y(t,n,i,Date.now())):this.sendPageUpdateEvent(t,n,{...S.RESET_CUSTOM_PARAMETERS,...i}))}processAndSendEvent(e,t,n){if(this.trackingInfoFPL&&this.trackingInfoFPL===e)this.startingTimes.delete(e),this.delayedTracks.forEach(((t,n)=>{t.eventName===e&&this.delayedTracks.delete(n)}));else{let i,r="";this.delayedTracks.forEach(((t,n)=>{t.eventName===e&&(i=t,r=n)})),this.delayedEventsTracks.has(e)&&(i=this.delayedEventsTracks.get(e),r=e),i?(this.sendPageUpdateEvent(i.eventName,i.prependSiteName,{...i.customData,...n}),this.delayedTracks.delete(r),this.delayedEventsTracks.delete(r)):(this.pageNavigationService.sendEvent(e),this.shouldSendNotification(e)&&this.sendPageUpdateEvent(e,t,n))}}updateProfileInfo(e,t){this.context.customerId=e||"false",this.context.country=t||this.siteConfigService.getSiteConfigProp("countryCode")||"false","false"!==this.context.customerId&&"false"!==this.context.country&&this.fetchingAccountNumber$.next(void 0)}appendTrackingScript(){this.windowService.document().getElementById("wtInjection")&&(this.scriptLoaded$.next({}),this.scriptLoaded$.complete())}trackComponentLoad(e,t=!1,n){if(!this.checkUrlToBeSkipped(e)){if(this.lastNavigationEventName!==e){let i={page_type:"virtual",full_page_load_time:(Math.floor(Date.now())-this.getInitialTime(e)).toString()};this.processAndSendEvent(e,t,{...i,...n})}this.lastNavigationEventName=void 0}}getPageLoginStatus(){return this.browserStorageService.get("sessionId")?"logged":this.cookieStorageService.get("JOINED")?"loggedout":"notlogged"}retrieveTrackingUrl(){let e=this.route.snapshot,t=null;e.data.trackingUrl&&(t=e.data.trackingUrl);let n=this.route.firstChild;if(null!=n)for(;null!=n;)e=n.snapshot,n=n.firstChild,e.data.trackingUrl&&(t=e.data.trackingUrl);return t}processContextAudiences(e,t){let n={behaviour:"view",audiences:JSON.parse(this.context[S.CONTEXT_AUDIENCE_NAME]).map((e=>({audienceName:e.substring(e.indexOf("-")+1),audienceCode:e.substring(0,e.indexOf("-"))})))};this.sendAudiences(e,t,n),this.resetAudienceInContext()}sendAudiences(e,t,n){n&&null!==n.audiences&&void 0!==n.audiences&&n.audiences.length>0&&n.audiences.forEach((i=>{let r={33:JSON.stringify({behaviour:n.behaviour,parentInternalName:n.parentInternalName,parentType:n.parentType,audiences:[i]})};this.wtRef.push(["send","click",{linkId:(t?this.context.site_name+":":"")+e,customClickParameter:r}])}))}static isCriticalParameter(e){return S.CRITICAL_PARAMS.includes(e)}sendEventContext(){Object.keys(this.context).filter((e=>S.isCriticalParameter(e))).forEach((e=>{this.wtRef.push([e,this.context[e]])})),this.overrideWebtrekkTrackDomain()}isPreviousOverlay(){return this.windowInstance.location.href.includes("overlay=")}static isFullPageLoadEvent(e){return"page"===e.page_type}sendPageUpdateEvent(e,t,n){setTimeout((()=>this.scriptLoaded$.pipe((0,a.take)(1)).subscribe((()=>{this.cleanPreviousCustomData();const i=n?JSON.parse(JSON.stringify(n)):n;this.context.contentId=this.generateContentId(e,t),this.browserStorageService.get("sessionId")&&"false"===this.context.customerId?this.fetchingAccountNumber$.pipe((0,a.take)(1)).subscribe((()=>{this.pixelTrackingService.sendPixelTrackingEvents(e,n,this.context.customerId),this.performWtPageUpdate(e,t,i)})):(this.unsetCustomerIdIfNoLoggedInUser(),this.setPageLoginStatus(),this.pixelTrackingService.sendPixelTrackingEvents(e,n,this.context.customerId),this.performWtPageUpdate(e,t,i),this.cleanDelayedCustomData()),this.resetAudienceInContext(),this.resetAbtStudyInContext()}))),0)}isAudienceAvailableInContext(){return this.isPropertyAvailableInContext("audience")}isABTestingProcessingAvailable(){return this.isPropertyAvailableInContext(S.CONTEXT_AB_TEST_NAME)||this.isPropertyAvailableInContext(S.CONTEXT_AB_TEST_VARIATION)}performWtPageUpdate(e,t,n){this.isAudienceAvailableInContext()&&this.processContextAudiences(e,t),this.isABTestingProcessingAvailable()&&this.processABTest(e,t),this.processPerformanceMetrics(e,t,n),S.isFullPageLoadEvent(n)||(this.sendEventContext(),this.wtRef.push(["send","pageupdate"]))}processABTest(e,t){const n={33:JSON.stringify({behaviour:"view",[S.CONTEXT_AB_TEST_NAME]:this.isPropertyAvailableInContext(S.CONTEXT_AB_TEST_NAME)?this.context[S.CONTEXT_AB_TEST_NAME]:"",[S.CONTEXT_AB_TEST_VARIATION]:this.isPropertyAvailableInContext(S.CONTEXT_AB_TEST_VARIATION)?this.context[S.CONTEXT_AB_TEST_VARIATION]:""})};this.sendABTest(e,t,n),this.resetAbtStudyInContext()}isPropertyAvailableInContext(e){return null!==this.context[e]&&void 0!==this.context[e]&&""!==this.context[e]&&"-1"!==this.context[e]}sendABTest(e,t,n){this.wtRef.push(["send","click",{linkId:(t?this.context.site_name+":":"")+e,customClickParameter:n}])}sendClickEvent(e,t,n,i){this.scriptLoaded$.subscribe((()=>{this.cleanPreviousCustomData(),i&&i.contentId&&(this.context.contentId=this.generateContentId(e,t,i.contentId)),this.browserStorageService.get("sessionId")&&"false"===this.context.customerId?this.fetchingAccountNumber$.pipe((0,a.take)(1)).subscribe((()=>{this.sendWebtrekkEvent(e,t,n),this.pixelTrackingService.sendPixelTrackingEvents(e,n,this.context.customerId)})):(this.unsetCustomerIdIfNoLoggedInUser(),this.sendWebtrekkEvent(e,t,n),this.pixelTrackingService.sendPixelTrackingEvents(e,n,this.context.customerId))}))}sendWebtrekkEvent(e,t,n){if(S.isDisplayEvent(e)){let i=JSON.parse(n[33]);this.sendAudiences(e,t,i),delete i.audiences,n={33:JSON.stringify(i)}}else this.isAudienceAvailableInContext()&&this.processContextAudiences(e,t);this.isABTestingProcessingAvailable()&&this.processABTest(e,t),this.sendEventContext(),this.wtRef.push(["send","click",{linkId:(t?this.context.site_name+":":"")+e,customClickParameter:n}])}monitorHttpResponseErrors(){this.scriptLoaded$.pipe((0,a.take)(1)).subscribe((()=>{this.errorInterceptor.httpErrors().subscribe((e=>{if(e.response.status&&(this.cleanPreviousCustomData(),this.sendEventContext(),this.siteConfigService.getSiteConfigProp("responseErrorEventAnalyticsEnabled"))){const t=this.buildWebtrekkHttpError(e);this.wtRef.push(t)}}))}))}buildWebtrekkHttpError(e){return["send","sendinfo",{linkId:"response_error",customClickParameter:{33:JSON.stringify({errortype:this.ensureCorrectWebtrekkFormatField(e.response.status.toString()),errorsubtype:this.ensureCorrectWebtrekkFormatField(b.o.getErrorInfo(e)),lasturlserved:this.ensureCorrectWebtrekkFormatField(e.response.url)})}}]}ensureCorrectWebtrekkFormatField(e){return e?e.substr(0,255).replace(/;/g,""):""}generateContentId(e,t,n){return(t?this.context.site_name+(e&&":"===e[0]?"":":"):"")+(n||this.filter(e))}filter(e){let t=this.transformParenthesis(e).replace("overlay:","overlay="),n=this.extractLastOverlay(t);return t.includes("deposit-details:")?t=this.removeDepositId(e):-1!==t.indexOf("?")&&(t=this.removerQueryParams(t)),":"!==t&&""!==t||(t+="home"),t.match(/:?home$/)&&(t+=":"+this.getUserStatus()),n?t+"?"+n:t}getUserStatus(){return this.firstTimeVisitorService.isFirstTime?"ftv":this.appStateStore.loginState?"logged":"unlogged"}transformParenthesis(e){for(;e&&-1!==e.indexOf("(");)e=e.substring(0,e.indexOf("("))+"?"+e.substring(e.indexOf("(")+1,e.indexOf(")"))+e.substring(e.indexOf(")")+1);return e||""}removeDepositId(e){return e.substring(0,e.indexOf("deposit-details:")+15)}removerQueryParams(e){return this.removeExtraParams(e,["?"])}extractLastOverlay(e){if(-1!==e.lastIndexOf("overlay=")){let t=e.substring(e.lastIndexOf("overlay="));return t=this.removeExtraParams(t,["&","/",":","%","#"]),t}return""}removeExtraParams(e,t){return t.forEach((t=>{e=-1!==e.indexOf(t)?e.substr(0,e.indexOf(t)):e})),e}cleanPreviousCustomData(){this.customDataKeys.forEach((e=>{this.wtRef.push([e,"false"])})),this.customDataKeys=[]}cleanDelayedCustomData(){this.delayedCustomData$.next({})}unsetCustomerIdIfNoLoggedInUser(){this.browserStorageService.get("sessionId")||"false"===this.context.customerId||(this.context.customerId="false")}setPageLoginStatus(){this.context.pageLoginStatus=this.getPageLoginStatus()}extractEventsToDelay(e){e&&e.forEach(((e,t)=>{this.monitoringEvents.has(e)?this.monitoringEvents.get(e).push(t):this.monitoringEvents.set(e,[t])}))}static filterOverlayNavigationEvent(e){return 2===(e.match(/overlay/g)||[]).length}registerUrlPatternToBeSkipped(e){this.urlsToBeSkipped.push(e)}unRegisterUrlPatternToBeSkipped(e){const t=this.urlsToBeSkipped.indexOf(e);-1!==t&&this.urlsToBeSkipped.splice(t,1)}checkUrlToBeSkipped(e){return this.urlsToBeSkipped.find((function(t){return e.search(t)>=0}))}updateAbtStudy(e){const t=e||this.fallbackToLocalStorage();t&&(this.context[S.CONTEXT_AB_TEST_NAME]=t.study,this.context[S.CONTEXT_AB_TEST_VARIATION]=t.sample)}updateAudience(e){this.context[S.CONTEXT_AUDIENCE_NAME]=JSON.stringify(e)}resetAbtStudyInContext(){delete this.context[S.CONTEXT_AB_TEST_NAME],delete this.context[S.CONTEXT_AB_TEST_VARIATION]}resetAudienceInContext(){delete this.context[S.CONTEXT_AUDIENCE_NAME]}fallbackToLocalStorage(){const e=this.browserStorageService.get(s.be);return e&&JSON.parse(e)[0]}abtContextNotSet(){const e=this.context[S.CONTEXT_AB_TEST_NAME],t=this.context[S.CONTEXT_AB_TEST_VARIATION];return!("-1"!==e&&"string"==typeof e||"-1"!==t&&"string"==typeof t)}overrideWebtrekkTrackDomain(){this.siteConfigService.getSiteConfigProp("trackDomain")&&!this.windowInstance.wt_dynDomain&&(this.windowInstance.wt_dynDomain=()=>{this.wtRef.push(["trackDomain",this.siteConfigService.getSiteConfigProp("trackDomain")])},this.wtRef.push(["wt_dynDomain"]))}shouldSendNotification(e){if(this.eventNameRefersToASinglePage(e)){const t=e.substring(1);if(this.windowService.locationUrl){const e=this.windowService.locationUrl.split("/");return 2===e.length&&e[1]===t}return!1}return!0}eventNameRefersToASinglePage(e){return e.startsWith(":")&&2===e.split(":").length}comesFromFakeLiveDealerOverlay(e){return"/live-dealer"===e&&this.comesFromOverlay.has(e)}static isVirtualPageLoadEvent(e){return"virtual"===e.page_type}processPerformanceMetrics(e,t,n){const i=S.extractPerformanceMetrics(n);if(S.arePerformanceMetricsAvailable(i)&&S.isPerformanceTrackedForEvent(e,n)){const r=this.context.site_name;let o=S.generatePerformanceMetricName(e,t,r);this.wtRef.push(["send","click",{linkId:o,customClickParameter:{33:JSON.stringify(i)}}]),S.clearPerformanceMetrics(n)}}static extractPerformanceMetrics(e){const t={behaviour:"view"},n=e[S.FULL_PAGE_LOAD_TIME_KEY],i=e[S.DNS_RESOLUTION_TIME_KEY];return n&&(t[S.FULL_PAGE_LOAD_TIME_KEY]=n),i&&(t[S.DNS_RESOLUTION_TIME_KEY]=i),t}static clearPerformanceMetrics(e){delete e[S.FULL_PAGE_LOAD_TIME_KEY],delete e[S.DNS_RESOLUTION_TIME_KEY]}static arePerformanceMetricsAvailable(e){const t=[S.FULL_PAGE_LOAD_TIME_KEY,S.DNS_RESOLUTION_TIME_KEY];return Object.keys(e).filter((e=>t.includes(e))).map((t=>e[t])).filter((e=>e&&"-1"!==e)).length>0}static generatePerformanceMetricName(e,t,n=""){let i;switch(e){case S.CASHIER_DEPOSIT_EVENT_NAME:i="cashier_load_time";break;case S.SPORTS_LANDING_PAGE_EVENT_NAME:i="sports_load_time";break;default:i="generic_load_time"}return t&&n?`${n}:${i}`:i}static isDisplayEvent(e){return e&&e.includes(":display")}static isPerformanceTrackedForEvent(e,t){return e===this.SPORTS_LANDING_PAGE_EVENT_NAME&&S.isFullPageLoadEvent(t)||e===this.CASHIER_DEPOSIT_EVENT_NAME&&S.isVirtualPageLoadEvent(t)}}S.PAGE_TYPE_KEY="page_type",S.FULL_PAGE_LOAD_TIME_KEY="full_page_load_time",S.DNS_RESOLUTION_TIME_KEY="dns_resolution_time",S.RESET_CUSTOM_PARAMETERS=S.defaultCustomParameters(),S.CASINO_LOGIN_OVERLAY=/.*casino\?.*overlay=login$/,S.URL_EXCLUSIONS=[{urlRegExp:S.CASINO_LOGIN_OVERLAY,eventName:"casino(overlay=login)"}],S.CONTEXT_AUDIENCE_NAME="audience",S.CONTEXT_AB_TEST_NAME="ab_test_name",S.CONTEXT_AB_TEST_VARIATION="ab_test_variation",S.SPORTS_LANDING_PAGE_EVENT_NAME=":sports",S.CASHIER_DEPOSIT_EVENT_NAME="cashier:deposit",S.CRITICAL_PARAMS=["contentId","customerId","pageLoginStatus","territory","site_name","page_language"],S.ɵfac=function(e){return new(e||S)(i["ɵɵinject"](l.z),i["ɵɵinject"](f.r),i["ɵɵinject"](p.TS),i["ɵɵinject"](u.u),i["ɵɵinject"](i.Injector),i["ɵɵinject"](v.O),i["ɵɵinject"](c.HV),i["ɵɵinject"](g.X),i["ɵɵinject"](d.G),i["ɵɵinject"](h.m),i["ɵɵinject"](b.a))},S.ɵprov=i["ɵɵdefineInjectable"]({token:S,factory:S.ɵfac})},94726:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var i=n(3336),r=n(65353),o=n(56405),a=n(57826);let s=(()=>{class e{constructor(e,t,n){this.analyticsService=e,this.abtEventHandler=t,this.marketingAudienceHandler=n}handleClick(e,t,n,i,r={}){let o={};r.abtStudy&&Object.assign(o,this.abtEventHandler.handleClick(n,r.abtStudy,i)),r.audiences&&Object.assign(o,this.marketingAudienceHandler.handleClick(n,r.audiences,i)),o&&this.analyticsService.sendEvent("click",e,t,this.getCustomData(o,r))}getCustomData(e,t){return t.componentInternalName&&Object.assign(e,{componentInternalName:t.componentInternalName}),t.componentType&&Object.assign(e,{componentType:t.componentType}),t.parentInternalName&&Object.assign(e,{parentInternalName:t.parentInternalName}),t.parentType&&Object.assign(e,{parentType:t.parentType}),{33:JSON.stringify(e)}}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.y),a["ɵɵinject"](r.mz),a["ɵɵinject"](o.m))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},54591:(e,t,n)=>{"use strict";n.d(t,{O:()=>l});var i=n(73753),r=n(3336),o=n(81516),a=n(45965),s=n(84860),c=n(57826);let l=(()=>{class e{constructor(e,t,n,i){this.analyticsService=e,this.firstTimeVisitorService=t,this.siteConfigService=n,this.router=i}trackView(e,t,n,i,r="personalized"){if(this.siteConfigService.isFeaturePresent(s.L.contentViewTracking)){let o={};if(e){let t=this.siteConfigService.getSiteConfigProp("brandCode");o={sourceId:e.sourceId,sourceLabel:e.sourceLabel,sortOrder:e.sortOrder,amount:e.amount,page_name:t+":"+this.router.url}}const a={33:JSON.stringify({behaviour:"view",parentInternalName:n,parentType:"custom_menu",gamesIds:t,ftv:this.firstTimeVisitorService.isFirstTime,audiences:i,...o})};this.analyticsService.sendEvent("click",`${r}:display`,!0,a)}}}return e.ɵfac=function(t){return new(t||e)(c["ɵɵinject"](r.y),c["ɵɵinject"](o.HV),c["ɵɵinject"](a.r),c["ɵɵinject"](i.Router))},e.ɵprov=c["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},86958:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var i=n(65353),r=n(56730),o=n(57826),a=n(81768);let s=(()=>{class e{constructor(e,t,n){this.abtImpressionHelper=e,this.marketingImpressionHelper=t,this.marketingAudiencesMapper=n}pageView(e,t=!0){const n=this.findSubject(e);Object.keys(n.abt).length&&this.abtImpressionHelper.updateAbtStudy(n.abt,t),n.audiences.length&&this.marketingImpressionHelper.marketingAudienceImpression(n.audiences)}findSubject(e){let t={abt:{},audiences:[]};return e&&((e.abtStudy||e.tracking&&e.tracking.abtStudy)&&(t.abt=e),e.marketingAudiences&&e.marketingAudiences.length?t.audiences=[...t.audiences,...this.marketingAudiencesMapper.mapMarketingAudiences(e.marketingAudiences)]:e.tracking&&e.tracking.audiences&&e.tracking.audiences.length&&(t.audiences=[...t.audiences,...e.tracking.audiences]),Array.isArray(e)&&(t=this.findSubjectRecursively(t,e,"array")),"object"==typeof e&&(e.fields?(e.fields.isABTestingEnabled&&(t.abt=e),e.fields.marketingAudiences&&e.fields.marketingAudiences.length&&(t.audiences=[...t.audiences,...this.marketingAudiencesMapper.mapMarketingAudiences(e.fields.marketingAudiences)]),Array.isArray(e.fields.items)?t=this.findSubjectRecursively(t,e.fields.items,"array"):Array.isArray(e.fields.new_slide)&&(t=this.findSubjectRecursively(t,e.fields.new_slide,"array"))):e.audienceId&&e.code&&e.name?t.audiences=[...t.audiences,...this.marketingAudiencesMapper.mapMarketingAudiences(Array.of(e))]:Array.isArray(e.components)&&(t=this.findSubjectRecursively(t,e.components,"components")))),t}findInArray(e){let t={abt:{},audiences:[]};for(const n of e){const e=this.findSubject(n);Object.keys(e.abt).length&&!Object.keys(t.abt).length&&(t.abt=e.abt),e.audiences.length&&(t.audiences=[...t.audiences,...e.audiences])}return t}findInComponents(t){let n,i={abt:{},audiences:[]};for(const r of t){if(r.data.slide||r.data.bannerWelcomeModel||r.data.gamecardSlider)n=this.findSubject(r.data.slide||r.data.bannerWelcomeModel||r.data.gamecardSlider);else if(r.data.data){const t=e.extractPropertyValues(r.data.data);n=this.findSubject(t)}n&&(!Object.keys(i.abt).length&&Object.keys(n.abt).length&&(i.abt=n.abt),n.audiences&&n.audiences.length&&(i.audiences=[...i.audiences,...n.audiences]))}return i}findSubjectRecursively(e,t,n){let i="array"===n?this.findInArray(t):this.findInComponents(t);return!Object.keys(e.abt).length&&Object.keys(i.abt).length&&(e.abt=i.abt),i.audiences&&i.audiences.length&&(e.audiences=i.audiences),e}static extractPropertyValues(e){if(e)return Object.keys(e).map((t=>e[t]))}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.GG),o["ɵɵinject"](r.Z),o["ɵɵinject"](a.V))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},56405:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});var i=n(57826);let r=(()=>{class e{handleClick(e,t,n){return this.createCustomData("click",e,t,n)}createCustomData(e,t,n,i){return{behavior:e,name:t,position:i,audiences:n}}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},56730:(e,t,n)=>{"use strict";n.d(t,{Z:()=>a});var i=n(3336),r=n(57826),o=n(81768);let a=(()=>{class e{constructor(e,t){this.analyticsService=e,this.marketingAudienceMapper=t}marketingAudienceImpression(e){this.analyticsService.updateAudience(this.marketingAudienceMapper.mapAnalytic(e))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.y),r["ɵɵinject"](o.V))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},81768:(e,t,n)=>{"use strict";n.d(t,{V:()=>i});class i{map(e){if(e&&e.fields&&e.fields.marketingAudiences)return this.mapMarketingAudiences(e.fields.marketingAudiences)}mapAnalytic(e){let t=[];return e.forEach((e=>{const n=e.audienceCode+"-"+e.audienceName;t.push(n)})),Array.from(new Set(t))}mapMarketingAudiences(e){let t=[];return e.map((e=>{let n={audienceName:e.name,audienceCode:e.code};t.push(n)})),t}}},50543:(e,t,n)=>{"use strict";n.d(t,{O:()=>u});var i=n(45965),r=n(82846),o=n(55640),a=n(79308),s=n(81899);class c{}c.WT_SUCCESS_DEPOSIT="payments:deposit:success_pageview",c.WT_FORM_JOIN="registration:form_view",c.WT_FTD_DEPOSIT_SUCCESS="payments:deposit:success_pageview:ftd",c.WT_JOIN_SUCCESS="registration:success_pageview",c.WT_DEPOSIT_START="payments:deposit:form_view",c.WT_NO_FTD_DEPOSIT_SUCCESS="payments:deposit:success_pageview:no_ftd",c.PX_JOIN_START="joinStart",c.PX_JOIN_SUCCESS="joinSuccess",c.PX_FTD_DEPOSIT_START="ftdStart",c.PX_FTD_DEPOSIT_SUCCESS="ftdSuccess",c.PX_REPEAT_DEPOSIT="repeatedDeposit",c.PX_ALL_PAGES="allPages",c.webTrekk2pixelTrackingEvents=new Map([[c.WT_FORM_JOIN,c.PX_JOIN_START],[c.WT_JOIN_SUCCESS,c.PX_JOIN_SUCCESS],[c.WT_DEPOSIT_START,c.PX_FTD_DEPOSIT_START],[c.WT_FTD_DEPOSIT_SUCCESS,c.PX_FTD_DEPOSIT_SUCCESS],[c.WT_NO_FTD_DEPOSIT_SUCCESS,c.PX_REPEAT_DEPOSIT]]);var l=function(){function e(){}return e.AddUnsigned=function(e,t){var n,i,r,o,a;return r=2147483648&e,o=2147483648&t,a=(1073741823&e)+(1073741823&t),(n=1073741824&e)&(i=1073741824&t)?2147483648^a^r^o:n|i?1073741824&a?3221225472^a^r^o:1073741824^a^r^o:a^r^o},e.FF=function(e,t,n,i,r,o,a){return e=this.AddUnsigned(e,this.AddUnsigned(this.AddUnsigned(this.F(t,n,i),r),a)),this.AddUnsigned(this.RotateLeft(e,o),t)},e.GG=function(e,t,n,i,r,o,a){return e=this.AddUnsigned(e,this.AddUnsigned(this.AddUnsigned(this.G(t,n,i),r),a)),this.AddUnsigned(this.RotateLeft(e,o),t)},e.HH=function(e,t,n,i,r,o,a){return e=this.AddUnsigned(e,this.AddUnsigned(this.AddUnsigned(this.H(t,n,i),r),a)),this.AddUnsigned(this.RotateLeft(e,o),t)},e.II=function(e,t,n,i,r,o,a){return e=this.AddUnsigned(e,this.AddUnsigned(this.AddUnsigned(this.I(t,n,i),r),a)),this.AddUnsigned(this.RotateLeft(e,o),t)},e.ConvertToWordArray=function(e){for(var t,n=e.length,i=n+8,r=16*((i-i%64)/64+1),o=Array(r-1),a=0,s=0;s<n;)a=s%4*8,o[t=(s-s%4)/4]=o[t]|e.charCodeAt(s)<<a,s++;return a=s%4*8,o[t=(s-s%4)/4]=o[t]|128<<a,o[r-2]=n<<3,o[r-1]=n>>>29,o},e.WordToHex=function(e){var t,n="",i="";for(t=0;t<=3;t++)n+=(i="0"+(e>>>8*t&255).toString(16)).substr(i.length-2,2);return n},e.Utf8Encode=function(e){var t,n="";e=e.replace(/\r\n/g,"\n");for(var i=0;i<e.length;i++)(t=e.charCodeAt(i))<128?n+=String.fromCharCode(t):t>127&&t<2048?(n+=String.fromCharCode(t>>6|192),n+=String.fromCharCode(63&t|128)):(n+=String.fromCharCode(t>>12|224),n+=String.fromCharCode(t>>6&63|128),n+=String.fromCharCode(63&t|128));return n},e.init=function(e){for("string"!=typeof e&&(e=JSON.stringify(e)),this._string=this.Utf8Encode(e),this.x=this.ConvertToWordArray(this._string),this.a=1732584193,this.b=4023233417,this.c=2562383102,this.d=271733878,this.k=0;this.k<this.x.length;this.k+=16)this.AA=this.a,this.BB=this.b,this.CC=this.c,this.DD=this.d,this.a=this.FF(this.a,this.b,this.c,this.d,this.x[this.k],this.S11,3614090360),this.d=this.FF(this.d,this.a,this.b,this.c,this.x[this.k+1],this.S12,3905402710),this.c=this.FF(this.c,this.d,this.a,this.b,this.x[this.k+2],this.S13,606105819),this.b=this.FF(this.b,this.c,this.d,this.a,this.x[this.k+3],this.S14,3250441966),this.a=this.FF(this.a,this.b,this.c,this.d,this.x[this.k+4],this.S11,4118548399),this.d=this.FF(this.d,this.a,this.b,this.c,this.x[this.k+5],this.S12,1200080426),this.c=this.FF(this.c,this.d,this.a,this.b,this.x[this.k+6],this.S13,2821735955),this.b=this.FF(this.b,this.c,this.d,this.a,this.x[this.k+7],this.S14,4249261313),this.a=this.FF(this.a,this.b,this.c,this.d,this.x[this.k+8],this.S11,1770035416),this.d=this.FF(this.d,this.a,this.b,this.c,this.x[this.k+9],this.S12,2336552879),this.c=this.FF(this.c,this.d,this.a,this.b,this.x[this.k+10],this.S13,4294925233),this.b=this.FF(this.b,this.c,this.d,this.a,this.x[this.k+11],this.S14,2304563134),this.a=this.FF(this.a,this.b,this.c,this.d,this.x[this.k+12],this.S11,1804603682),this.d=this.FF(this.d,this.a,this.b,this.c,this.x[this.k+13],this.S12,4254626195),this.c=this.FF(this.c,this.d,this.a,this.b,this.x[this.k+14],this.S13,2792965006),this.b=this.FF(this.b,this.c,this.d,this.a,this.x[this.k+15],this.S14,1236535329),this.a=this.GG(this.a,this.b,this.c,this.d,this.x[this.k+1],this.S21,4129170786),this.d=this.GG(this.d,this.a,this.b,this.c,this.x[this.k+6],this.S22,3225465664),this.c=this.GG(this.c,this.d,this.a,this.b,this.x[this.k+11],this.S23,643717713),this.b=this.GG(this.b,this.c,this.d,this.a,this.x[this.k],this.S24,3921069994),this.a=this.GG(this.a,this.b,this.c,this.d,this.x[this.k+5],this.S21,3593408605),this.d=this.GG(this.d,this.a,this.b,this.c,this.x[this.k+10],this.S22,38016083),this.c=this.GG(this.c,this.d,this.a,this.b,this.x[this.k+15],this.S23,3634488961),this.b=this.GG(this.b,this.c,this.d,this.a,this.x[this.k+4],this.S24,3889429448),this.a=this.GG(this.a,this.b,this.c,this.d,this.x[this.k+9],this.S21,568446438),this.d=this.GG(this.d,this.a,this.b,this.c,this.x[this.k+14],this.S22,3275163606),this.c=this.GG(this.c,this.d,this.a,this.b,this.x[this.k+3],this.S23,4107603335),this.b=this.GG(this.b,this.c,this.d,this.a,this.x[this.k+8],this.S24,1163531501),this.a=this.GG(this.a,this.b,this.c,this.d,this.x[this.k+13],this.S21,2850285829),this.d=this.GG(this.d,this.a,this.b,this.c,this.x[this.k+2],this.S22,4243563512),this.c=this.GG(this.c,this.d,this.a,this.b,this.x[this.k+7],this.S23,1735328473),this.b=this.GG(this.b,this.c,this.d,this.a,this.x[this.k+12],this.S24,2368359562),this.a=this.HH(this.a,this.b,this.c,this.d,this.x[this.k+5],this.S31,4294588738),this.d=this.HH(this.d,this.a,this.b,this.c,this.x[this.k+8],this.S32,2272392833),this.c=this.HH(this.c,this.d,this.a,this.b,this.x[this.k+11],this.S33,1839030562),this.b=this.HH(this.b,this.c,this.d,this.a,this.x[this.k+14],this.S34,4259657740),this.a=this.HH(this.a,this.b,this.c,this.d,this.x[this.k+1],this.S31,2763975236),this.d=this.HH(this.d,this.a,this.b,this.c,this.x[this.k+4],this.S32,1272893353),this.c=this.HH(this.c,this.d,this.a,this.b,this.x[this.k+7],this.S33,4139469664),this.b=this.HH(this.b,this.c,this.d,this.a,this.x[this.k+10],this.S34,3200236656),this.a=this.HH(this.a,this.b,this.c,this.d,this.x[this.k+13],this.S31,681279174),this.d=this.HH(this.d,this.a,this.b,this.c,this.x[this.k],this.S32,3936430074),this.c=this.HH(this.c,this.d,this.a,this.b,this.x[this.k+3],this.S33,3572445317),this.b=this.HH(this.b,this.c,this.d,this.a,this.x[this.k+6],this.S34,76029189),this.a=this.HH(this.a,this.b,this.c,this.d,this.x[this.k+9],this.S31,3654602809),this.d=this.HH(this.d,this.a,this.b,this.c,this.x[this.k+12],this.S32,3873151461),this.c=this.HH(this.c,this.d,this.a,this.b,this.x[this.k+15],this.S33,530742520),this.b=this.HH(this.b,this.c,this.d,this.a,this.x[this.k+2],this.S34,3299628645),this.a=this.II(this.a,this.b,this.c,this.d,this.x[this.k],this.S41,4096336452),this.d=this.II(this.d,this.a,this.b,this.c,this.x[this.k+7],this.S42,1126891415),this.c=this.II(this.c,this.d,this.a,this.b,this.x[this.k+14],this.S43,2878612391),this.b=this.II(this.b,this.c,this.d,this.a,this.x[this.k+5],this.S44,4237533241),this.a=this.II(this.a,this.b,this.c,this.d,this.x[this.k+12],this.S41,1700485571),this.d=this.II(this.d,this.a,this.b,this.c,this.x[this.k+3],this.S42,2399980690),this.c=this.II(this.c,this.d,this.a,this.b,this.x[this.k+10],this.S43,4293915773),this.b=this.II(this.b,this.c,this.d,this.a,this.x[this.k+1],this.S44,2240044497),this.a=this.II(this.a,this.b,this.c,this.d,this.x[this.k+8],this.S41,1873313359),this.d=this.II(this.d,this.a,this.b,this.c,this.x[this.k+15],this.S42,4264355552),this.c=this.II(this.c,this.d,this.a,this.b,this.x[this.k+6],this.S43,2734768916),this.b=this.II(this.b,this.c,this.d,this.a,this.x[this.k+13],this.S44,1309151649),this.a=this.II(this.a,this.b,this.c,this.d,this.x[this.k+4],this.S41,4149444226),this.d=this.II(this.d,this.a,this.b,this.c,this.x[this.k+11],this.S42,3174756917),this.c=this.II(this.c,this.d,this.a,this.b,this.x[this.k+2],this.S43,718787259),this.b=this.II(this.b,this.c,this.d,this.a,this.x[this.k+9],this.S44,3951481745),this.a=this.AddUnsigned(this.a,this.AA),this.b=this.AddUnsigned(this.b,this.BB),this.c=this.AddUnsigned(this.c,this.CC),this.d=this.AddUnsigned(this.d,this.DD);return(this.WordToHex(this.a)+this.WordToHex(this.b)+this.WordToHex(this.c)+this.WordToHex(this.d)).toLowerCase()},e.x=Array(),e.S11=7,e.S12=12,e.S13=17,e.S14=22,e.S21=5,e.S22=9,e.S23=14,e.S24=20,e.S31=4,e.S32=11,e.S33=16,e.S34=23,e.S41=6,e.S42=10,e.S43=15,e.S44=21,e.RotateLeft=function(e,t){return e<<t|e>>>32-t},e.F=function(e,t,n){return e&t|~e&n},e.G=function(e,t,n){return e&n|t&~n},e.H=function(e,t,n){return e^t^n},e.I=function(e,t,n){return t^(e|~n)},e}(),d=n(57826);let u=(()=>{class e{constructor(e,t,n,i,r){this.sessionStorageService=e,this.cookieStorageService=t,this.siteConfigService=n,this.windowService=i,this.browserStorageService=r,this.WTRACK_KEY="wtrack.",this.AFF_ID="affid",this.PARAM_NOT_AVAILABLE="NA",this.UTM_SOURCE_QUERY_KEY="utm_source",this.UTM_MEDIUM_QUERY_KEY="utm_medium",this.UTM_CAMPAIGN_QUERY_KEY="utm_campaign",this.UTM_TERM_QUERY_KEY="utm_term",this.UTM_CONTENT_QUERY_KEY="utm_content",this.UTM_BRAND_QUERY_KEY="utm_brand"}sendPixelTrackingEvents(t,n,i){this.isEnabledPixelTracking()&&(t===c.WT_SUCCESS_DEPOSIT&&(t=e.isFirstTimeDepositor(n)?t+":ftd":t+":no_ftd"),this.canTrackEvent(t)&&this.getWtrackLoadedPromise().then((()=>{let e=c.webTrekk2pixelTrackingEvents.get(t);this.trackPixelEvent(e,n,i)})))}sendAllPagesPixelEvent(){this.isEnabledPixelTracking()&&this.getWtrackLoadedPromise().then((()=>{this.trackPixelEvent(c.PX_ALL_PAGES)}))}trackPixelEvent(t,n,i){let r=this.cookieStorageService.get(this.AFF_ID),o=this.getEventsFromWindow()[r];if(!o)return;let a=o[t];Array.isArray(a)||(a=[a]);for(let r of a){if(!r||!r.type||!r.url)return;if(!e.isValidEventForTracking(t,n))return;this.createScrForTracking(r.type,r.url,n,i),this.setEventAlreadyTracked(t)}}static isValidEventForTracking(t,n){return!(t===c.PX_FTD_DEPOSIT_START&&!e.isFirstTimeDepositor(n)||t===c.PX_REPEAT_DEPOSIT&&e.isFirstTimeDepositor(n))}canTrackEvent(e){let t=c.webTrekk2pixelTrackingEvents.get(e);return!(!t||"true"===this.sessionStorageService.get(this.WTRACK_KEY+t))}isEnabledPixelTracking(){let e=this.siteConfigService.getSiteConfigProp("pixelTrackingEnabled"),t=null!=this.cookieStorageService.get(this.AFF_ID);return e&&t}isEnabledPixelTrackingParameterFilter(){return this.siteConfigService.getSiteConfigProp("pixelTrackingParameterFilterEnabled")}createScrForTracking(e,t,n,i){let r=this.windowService.document().createElement(e);r.setAttribute("src",this.replacePlaceholders(t,n,i)),this.windowService.document().getElementsByTagName("head")[0].appendChild(r)}replacePlaceholders(t,n,i){return this.isEnabledPixelTrackingParameterFilter()?t.replace(/%customer_(id|amount)%/g,this.PARAM_NOT_AVAILABLE):[this.UTM_BRAND_QUERY_KEY,this.UTM_CAMPAIGN_QUERY_KEY,this.UTM_CONTENT_QUERY_KEY,this.UTM_CONTENT_QUERY_KEY,this.UTM_MEDIUM_QUERY_KEY,this.UTM_SOURCE_QUERY_KEY,this.UTM_TERM_QUERY_KEY].reduce(((e,t)=>e.replace(new RegExp(`%${t}%`,"g"),this.getStoredValue(t))),t.replace(/%customer_id%/g,e.getProfileId(i)).replace(/%customer_amount%/g,e.getAmount(n)))}getStoredValue(e){return this.browserStorageService.get(e)||this.PARAM_NOT_AVAILABLE}setEventAlreadyTracked(e){e!==c.PX_REPEAT_DEPOSIT&&e!==c.PX_ALL_PAGES&&this.sessionStorageService.set(this.WTRACK_KEY+e,"true")}getEventsFromWindow(){return this.windowService.window().wtrack.EVENTS?this.windowService.window().wtrack.EVENTS:{}}getWtrackLoadedPromise(){return this.windowService.window().wtrackLoaded$?this.windowService.window().wtrackLoaded$:new Promise(((e,t)=>t()))}static isFirstTimeDepositor(e){return e&&e.customEcommerceParameter&&"ftd"===e.customEcommerceParameter[5]}static getAmount(e){return e?e.amount:""}static getProfileId(e){return"false"===e||void 0===e?"":l.init(e)}}return e.ɵfac=function(t){return new(t||e)(d["ɵɵinject"](a.u),d["ɵɵinject"](r.G),d["ɵɵinject"](i.r),d["ɵɵinject"](s.u),d["ɵɵinject"](o.z))},e.ɵprov=d["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},57597:(e,t,n)=>{"use strict";n.d(t,{W:()=>l});var i=n(81899),r=n(73753),o=n(3336),a=n(72556),s=n(45097),c=n(57826);let l=(()=>{class e{constructor(e,t,n,i){this.windowService=e,this.router=t,this.analyticsService=n,this.pageEventsService=i,this.loadingImages={},this.lastIterationImages=[],this.navigationStarted=!1,this.siteLoaded=!1,this.subscribeToRouterEvents=()=>{this.navigationSubscriber=this.router.events.subscribe((e=>{e instanceof r.NavigationStart&&(this.navigationSubscriber.unsubscribe(),this.navigationStarted=!0,this.siteLoadedCallback())}))},this.siteLoadedCallback=()=>{this.siteLoaded?console.debug("Site is already loaded. Navigation data settings are not needed."):(this.setNavigationData(),this.siteLoaded=!0)},this.wasNavigationStarted=()=>this.navigationStarted,this.getElementOffset=e=>{let t=e.getBoundingClientRect(),n=this.windowService.window().pageXOffset||this.windowService.window().document.documentElement.scrollLeft,i=this.windowService.window().pageYOffset||this.windowService.window().document.documentElement.scrollTop;return{top:t.top+i,left:t.left+n}},this.isAboveTheFold=e=>{let t=this.getElementOffset(e);return t.top<this.viewportSize.height&&t.left<this.viewportSize.width&&t.top+t.left>0},this.waitUntilCondition=(e,t,n,i)=>{if(e()||this.wasNavigationStarted())t();else{let r,o=setInterval((()=>{e()&&(clearInterval(o),clearTimeout(r),t())}),n);r=setTimeout((()=>{clearInterval(o)}),i)}},this.getCarouselNotVisibleImages=()=>{let e=Array.from(this.windowService.window().document.querySelectorAll("carousel img"));return e.shift(),e},this.getFooterImages=()=>Array.from(this.windowService.window().document.querySelectorAll("bx-footer img")),this.getCurrentImagesAboveTheFold=()=>Array.from(this.windowService.window().document.querySelectorAll("img")).filter((e=>this.getCarouselNotVisibleImages().indexOf(e)<0)).filter((e=>this.getFooterImages().indexOf(e)<0)).filter(this.isAboveTheFold),this.waitForImagesAboveTheFold=(e,t,n)=>{this.waitUntilCondition((()=>this.getCurrentImagesAboveTheFold().length>0),e,t,n)},this.getCurrentLazyLoadImagesAboveTheFold=()=>Array.from(this.windowService.window().document.querySelectorAll("img.lazyload, img.lazyloading")).filter((e=>this.getCarouselNotVisibleImages().indexOf(e)<0)).filter(this.isAboveTheFold),this.waitForLazyLoadImages=(e,t,n)=>{this.waitUntilCondition((()=>!this.arePendingLazyLoadImages()),e,t,n)},this.imageLoading=e=>{this.loadingImages[e.src]=1},this.imageLoaded=e=>{Object.keys(this.loadingImages).length>0&&(delete this.loadingImages[e.src],0==Object.keys(this.loadingImages).length&&this.waitUntilPageIsStable(this.lastIterationImages))},this.isOverlayShown=()=>this.windowService.window().document.querySelectorAll("bx-homepage-overlay").length>0,this.areIncompletesMarketingPages=()=>{let e=this.isOverlayShown()?"bx-homepage-overlay bx-marketing-page":"bx-marketing-page";return Array.from(this.windowService.window().document.querySelectorAll(e)).filter(this.isAboveTheFold).filter((e=>!e.innerText)).length>0},this.waitForMarketingPages=(e,t,n)=>{this.waitUntilCondition((()=>!this.areIncompletesMarketingPages()),e,t,n)},this.waitUntilPageIsStable=e=>{setTimeout((()=>{if(!this.wasNavigationStarted()){let t=this.getCurrentImagesAboveTheFold();if(this.lastIterationImages=t,t=t.filter((t=>e.indexOf(t)<0)),t.length>0||this.arePendingLazyLoadImages()){let e=t.filter((e=>!e.complete));e.length>0?e.forEach((e=>{this.imageLoading(e),e.addEventListener("load",(e=>this.imageLoaded(e.target)))})):this.waitForLazyLoadImages((()=>{this.waitForMarketingPages((()=>{this.waitUntilPageIsStable(this.lastIterationImages)}),300,6e4)}),300,6e4)}else this.wasNavigationStarted()||(this.navigationSubscriber.unsubscribe(),this.siteLoadedCallback())}}),0)},this.setNavigationData=()=>{let e,t=this.windowService.window(),n=this.windowService.document(),i=Math.round(t.performance.timing.domainLookupEnd-t.performance.timing.domainLookupStart).toString();try{let i=this.getTimeToRenderAboveTheFold(t,n);e=Math.round(i)}catch(e){console.debug("Error getting time to render:",e)}finally{setTimeout((()=>this.analyticsService.appendTrackingScript()),0),this.pageEventsService.emit(new s._e(this.router.url,e))}e?(console.debug("Page load completed. Render time: ",e,", DNS resolution: ",i),t.renderTime=e,this.analyticsService.setNavigationDataV2(i,"page",Math.round(e).toString())):console.debug("Error: no render time has been calculated")},this.getTimeToRenderAboveTheFold=(e,t)=>{let n=e=>e.replace(/^(http)?s?:?\/\/[^\/]*/i,""),i=e.performance.getEntriesByType("resource").filter((e=>"img"===e.initiatorType)),r=(e,t)=>e>t?1:-1;return Array.from(t.querySelectorAll("img")).filter(this.isAboveTheFold).filter((e=>this.getCarouselNotVisibleImages().indexOf(e)<0)).filter((e=>this.getFooterImages().indexOf(e)<0)).map((e=>n(e.src))).map((e=>i.filter((t=>n(t.name)===e)).map((e=>e.responseEnd)).sort(r).pop())).filter((e=>!!e)).sort(r).pop()}}init(){if(this.windowService.getIsPlatformBrowser()){let e=this.windowService.window();e["process-fpl"]="fpl",this.initViewportSize(),this.waitForImagesAboveTheFold((()=>{this.subscribeToRouterEvents(),this.waitUntilPageIsStable([])}),300,6e4),setTimeout((()=>{this.siteLoadedCallback()}),2e4),"complete"===e.document.readyState?this.pageEventsService.emit(new s.jq):e.onload=e=>{this.pageEventsService.emit(new s.jq)}}}initViewportSize(){this.viewportSize={width:this.windowService.window().innerWidth||this.windowService.window().document.documentElement.clientWidth||this.windowService.window().document.getElementsByTagName("body")[0].clientWidth,height:this.windowService.window().innerHeight||this.windowService.window().document.documentElement.clientHeight||this.windowService.window().document.getElementsByTagName("body")[0].clientHeight}}arePendingLazyLoadImages(){return this.getCurrentLazyLoadImagesAboveTheFold().length>0}}return e.ɵfac=function(t){return new(t||e)(c["ɵɵinject"](i.u),c["ɵɵinject"](r.Router),c["ɵɵinject"](o.y),c["ɵɵinject"](a.z))},e.ɵprov=c["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},59386:(e,t,n)=>{"use strict";n.d(t,{X:()=>o});var i=n(3336),r=n(57826);let o=(()=>{class e{constructor(e){this.analyticsService=e}set bxTrackClick(e){this.eventName=e}onClick(){this.analyticsService.sendEvent("click",this.eventName,!0,null)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](i.y))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","bxTrackClick",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("click",(function(){return t.onClick()}))},inputs:{bxTrackClick:"bxTrackClick"}}),e})()},33564:(e,t,n)=>{"use strict";n.d(t,{e:()=>a});var i=n(65353),r=n(57826),o=n(81768);let a=(()=>{class e{constructor(e,t){this.abtFieldsMapper=e,this.marketingAudienceMapper=t}getTrackingData(e,t,n){return{...this.getTrackingDataAbtStudy(e),...this.getTrackingDataAudiences(e),...this.getTrackingDataComponentInternalName(e),...this.getTrackingDataComponentType(e),...t?this.getTrackingDataParentInternalName(t):{},...n?this.getTrackingDataParentType(n):{},automatedTracking:this.getAutomatedTracking(e)}}getAutomatedTracking(e){if(e.fields&&e.fields.sourceId)return{sourceId:e.fields.sourceId,sourceLabel:e.fields.sourceLabel,sortOrder:e.fields.sortOrder,amount:e.fields.amount}}getTrackingDataAbtStudy(e){const t=this.abtFieldsMapper.map(e);return t?{abtStudy:t}:{}}getTrackingDataAudiences(e){const t=this.marketingAudienceMapper.map(e);return t?{audiences:t}:{}}getTrackingDataComponentInternalName(e){return e.fields&&e.fields.internal_name?{componentInternalName:e.fields.internal_name}:{}}getTrackingDataComponentType(e){return e.contentType?{componentType:"content_page"!=e.contentType?e.contentType:e.fields.page_type}:{}}getTrackingDataParentInternalName(e){return e.internal_name?{parentInternalName:e.internal_name}:{}}getTrackingDataParentType(e){return{parentType:e}}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.u1),r["ɵɵinject"](o.V))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},7006:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var i=n(57826),r=n(73753),o=n(80112),a=n(26626);let s=(()=>{class e{constructor(e,t,n,i){this.router=e,this.elementRef=t,this.urlPrefixService=n,this.linkTrackService=i}ngAfterViewInit(){let e=this.elementRef.nativeElement.querySelectorAll("a");for(let t=0;t<e.length;t++)this.addNoopenerAttr(e[t]),this.urlPrefixService.getUrlPrefix()&&this.checkForUrlPrefix(e[t])}handleAnchorClicks(e){let t=this.findClosestAnchor(e.target);if(t){let n=t.getAttribute("href"),i=t.getAttribute("target");if(n&&"_blank"!==i){if(!this.isAbsoluteURL(n))return n=this.urlPrefixService.removeUrlPrefix(n),this.navigate(n),this.linkTrackService.setLinkClicked(!0),e.preventDefault(),e.stopPropagation(),!1;e.stopPropagation()}}return!0}navigate(e){if(this.hasQueryString(e)){let t=e.split("?"),n=this.queryStringToParams(t[1]);this.router.navigate([t[0]],{queryParams:n})}else this.router.navigate([e])}queryStringToParams(e){let t=new URLSearchParams(e),n={};return t.forEach(((e,t)=>n[t]=e)),n}hasQueryString(e){return decodeURIComponent(e).indexOf("?")>=0}findClosestAnchor(e){for(;;){if("A"===e.tagName)return e;if(null!=e.getAttribute("anchorLinksHandler"))return null;e=e.parentElement}}checkForUrlPrefix(e){let t=e.getAttribute("href");t&&!this.startsWithProtocolScheme(t)&&e.setAttribute("href",this.urlPrefixService.addUrlPrefix(t))}addNoopenerAttr(e){let t=e.getAttribute("href");t&&this.isAbsoluteURL(t)&&e.setAttribute("rel","noopener")}isAbsoluteURL(e){return this.checkRegex(/(http(s?))\:\/\//gi,e)}startsWithProtocolScheme(e){return this.checkRegex(/^[a-z]+\:.*/gi,e)}checkRegex(e,t){return e.test(t)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](r.Router),i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](o.z),i["ɵɵdirectiveInject"](a.j))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","anchorLinksHandler",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("click",(function(e){return t.handleAnchorClicks(e)}))}}),e})()},75468:(e,t,n)=>{"use strict";n.d(t,{$:()=>a});var i=n(6856),r=n(26626),o=n(57826);let a=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({providers:[r.j],imports:[[i.CommonModule]]}),e})()},94966:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});const i={include:/\/(services|api)\//,exclude:/\/services\/(sports\/(event\/coupon\/|config\/site)|casino\/casino-lobby-services\/v1\/(jackpots|vig\/(lobbystatus|seatstatus))|routing\/config)/}},8995:(e,t,n)=>{"use strict";n.d(t,{X:()=>a,_:()=>s}),n(23550);var i=n(4309),r=n(42998),o=n(57826);const a="x-timeout";let s=(()=>{class e{constructor(){this.httpTimeout=2e4}init(e){this.httpTimeout=e||2e4}intercept(e,t){let n=this.httpTimeout;return e.headers.has(a)&&(n=parseInt(e.headers.get(a))||this.httpTimeout,e=e.clone({headers:e.headers.delete(a)})),t.handle(e).pipe((0,r.timeoutWith)(n,(0,i.throwError)(new Error(`The request timed out: ${n}ms expired`))))}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},80469:(e,t,n)=>{"use strict";n.d(t,{j:()=>a});var i=n(57826),r=n(6856),o=n(81899);let a=(()=>{class e{constructor(e,t){this.platformId=e,this.windowService=t}getBrowserLocationHref(){return(0,r.isPlatformBrowser)(this.platformId)?this.getBrowserHref():""}getBrowserHref(){return this.windowService.window().location.href}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](o.u,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},42497:(e,t,n)=>{"use strict";n.d(t,{a:()=>c,o:()=>s});var i=n(23550),r=n(4309),o=n(42998),a=n(57826);let s=(()=>{class e{}return e.getErrorInfo=t=>JSON.stringify(t.response,e.getCircularReplacer()),e.getCircularReplacer=()=>{const e=new WeakSet;return(t,n)=>{if("object"==typeof n&&null!==n){if(e.has(n))return;e.add(n)}return n}},e})(),c=(()=>{class e{constructor(){this.httpError$=new r.Subject}httpErrors(){return this.httpError$.asObservable()}intercept(e,t){return t.handle(e).pipe((0,o.tap)((t=>{t instanceof i.HttpResponse&&!t.ok&&this.httpError$.next({request:e,response:t})}),(t=>{this.httpError$.next({request:e,response:t})})))}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},6289:(e,t,n)=>{"use strict";n.d(t,{G:()=>a}),n(23550);var i=n(94966),r=n(80469),o=n(57826);let a=(()=>{class e{constructor(e){this.urlService=e,this.matchesUrl=!1}init(e){return e?(this.serviceDomain=e,Promise.resolve()):Promise.reject("Service domain not valid for iframe http interceptor.")}intercept(e,t){this.matchesUrl=!!e.url.match(i.J.include)&&!e.url.match(i.J.exclude);let n=e;return this.isIFrameInterceptorActive()&&this.isSameDomain(e)&&(n=this.setXRefererHeader(e)),t.handle(n)}setXRefererHeader(e){return e.clone({setHeaders:{"X-REFERER":this.urlService.getBrowserLocationHref()}})}isSameDomain(e){return!e.url.includes("http")||e.url.includes(this.serviceDomain)}isIFrameInterceptorActive(){return this.serviceDomain&&this.matchesUrl}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](r.j))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},63752:(e,t,n)=>{"use strict";n.d(t,{P:()=>a});var i=n(57826),r=n(81899),o=n(6289);let a=(()=>{class e{constructor(e,t,n){this.ngZone=e,this.windowService=t,this.iFrameInterceptor=n,this.iFrameUrl=e=>`${this.windowService.getProtocolOrDefault()}${e}/receiver.html`}init(e){return e?new Promise(((t,n)=>{this.injectIframe(e,t,n)})):Promise.reject("Service domain not valid.")}getIFrameXMLHttpRequest(){return this.iFrameXMLHttpRequest}injectIframe(e,t,n){this.httpIFrame=this.windowService.document().createElement("iframe"),this.httpIFrame.onerror=this.httpIFrame.onabort=n,this.httpIFrame.onload=()=>{if(this.httpIFrame.contentWindow&&this.httpIFrame.contentWindow.hasOwnProperty("XMLHttpRequest")){this.iFrameXMLHttpRequest=this.httpIFrame.contentWindow.XMLHttpRequest,this.iFrameInterceptor.init(e);const t=this.ngZone,n=this.iFrameXMLHttpRequest.prototype,i=n.addEventListener;n.addEventListener=function(e,n,r){i.call(this,e,(()=>t.run((()=>n()))),r)}}t()},this.httpIFrame.setAttribute("src",this.iFrameUrl(e)),this.httpIFrame.style.display="none",this.windowService.document().body.appendChild(this.httpIFrame)}isIFrameInterceptorActive(){return this.iFrameInterceptor.isIFrameInterceptorActive()&&!!this.getIFrameXMLHttpRequest()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.NgZone),i["ɵɵinject"](r.u),i["ɵɵinject"](o.G))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},85443:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var i=n(4309),r=n(57826);let o=(()=>{class e{constructor(){this.code=new i.Subject,this.codeRequest=new i.Subject,this.errorEvent=new i.Subject,this.closePopup=new i.Subject,this.accountBlockedEvent=new i.Subject}requestCode(e,t){const n={operation:e,communicationMethod:t};this.codeRequest.next(n)}requestFinished(e){this.closePopup.next(e)}error(e){this.errorEvent.next(e)}accountBlocked(e){this.accountBlockedEvent.next(e)}emitCode(e){this.code.next(e)}requestForCode(e,t){return this.requestCode(e,t),this.code}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},91549:(e,t,n)=>{"use strict";n.d(t,{K:()=>a});var i=n(57826);const r="CONFIRMATION_CODE",o="PIN_CODE";let a=(()=>{class e{constructor(){this.operationsConfig={}}setMfaConfig(e){e&&e.forEach((e=>{const t=e.split(":");this.hasConfirmationCode(t)?this.operationsConfig[t[0]]={type:t[1],communicationMethod:t[2]}:this.hasPinCode(t)&&(this.operationsConfig[t[0]]={type:t[1],communicationMethod:o})}))}hasConfirmationCode(e){return 3===e.length&&e[1]===r}hasPinCode(e){return e.length>1&&e[1]===o}hasOperationEnabled(e){return this.operationsConfig[e]&&(this.operationsConfig[e].type===r||this.operationsConfig[e].type===o)}getCommunicationMethod(e){return this.hasOperationEnabled(e)?this.operationsConfig[e].communicationMethod:null}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},37268:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var i=n(53609),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:[i.D]}),e})()},53609:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var i=n(4309),r=n(42998),o=n(23550),a=n(57826);let s=(()=>{class e{constructor(e){this.http=e,this.brandPropertiesUrl=e=>`/services/brand-admin/v1/brands/${e}/properties`,this.brandEnabledProductsUrl=e=>`${this.brandPropertiesUrl(e)}/products`,this.brandPropertiesCache={}}getBrandProperties(e,t){const n=t?e+"_"+JSON.stringify(t):e;return this.brandPropertiesCache[n]?(0,i.of)(this.brandPropertiesCache[n]):this.getConfigurationFromUrl(this.brandPropertiesUrl(e),t).pipe((0,r.tap)((e=>this.brandPropertiesCache[n]=e)))}getProductsEnabledOnBrandNotDisabled(e,t){return this.getConfigurationFromUrl(this.brandPropertiesUrl(e),t).pipe((0,r.map)((e=>{let t=e.products,n=e["site.config.multiproduct.disabled_elements"];return t.filter((e=>!n.includes(e)))})))}getProductsEnabledOnBrand(e,t){return this.getConfigurationFromUrl(this.brandEnabledProductsUrl(e),t)}isProductSupported(e,t,n){return this.getProductsEnabledOnBrand(e,n).pipe((0,r.map)((e=>e.products&&e.products.some((e=>e===t)))))}getConfigurationFromUrl(e,t){return this.http.get(e,{params:t}).pipe((0,r.catchError)((e=>(0,i.throwError)(e.status))))}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](o.HttpClient))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},54075:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var i=n(57826),r=n(84860),o=n(45965),a=n(6856);let s=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.platformId=t}isV3Enabled(){return!(0,a.isPlatformServer)(this.platformId)&&!!this.v3PublicKey&&!!this.pluginUri&&this.siteConfigService.isFeaturePresent(r.L.reCaptchaV3)}get v3PublicKey(){return this.getPlayerCaptchaV3Config()?this.getCapchaConfig().playerCaptchaV3Config.publicKey:null}get pluginUri(){const e=this.getCapchaConfig();return e&&e.pluginUri?e.pluginUri:null}get v3EnforcementActions(){const e=this.getPlayerCaptchaV3Config();return e&&e.enforcementActions?e.enforcementActions:[]}getCapchaConfig(){return this.siteConfigService&&this.siteConfigService.getSiteConfig()?this.siteConfigService.getSiteConfig().playerSecurityCaptchaConfig:null}getPlayerCaptchaV3Config(){const e=this.getCapchaConfig();return e&&e.playerCaptchaV3Config?e.playerCaptchaV3Config:null}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](o.r),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},64375:(e,t,n)=>{"use strict";n.d(t,{F:()=>p});var i=n(57826),r=n(4309),o=n(33087),a=n(81899),s=n(81465),c=n(93744),l=n(6856),d=n(54075),u=n(10560);let p=(()=>{class e{constructor(e,t,n,i,o,a){this.reCaptchaConfig=e,this.languageService=t,this.reCaptchaInterceptor=n,this.customEventsService=i,this.platformId=o,this.windowService=a,this.recaptchaStyleInitialized=!1,this.scriptLoadingStarted=!1,this.reCaptchaScriptReady$=new r.ReplaySubject(1)}reCaptchaScriptLoadedCallback(){this.emitScriptReady(!0)}emitScriptReady(e){this.reCaptchaScriptReady$.next({loaded:e}),this.reCaptchaScriptReady$.complete()}init(){const e=Date.now();this.initRecaptchaStyles(),this.reCaptchaConfig.isV3Enabled()?this.injectScript():this.emitScriptReady(!1),this.reportMetrics("init",e)}getReCaptchaScriptReady(){return this.reCaptchaScriptReady$}loadScript(){const e=Date.now();return this.injectScript(),this.reportMetrics("load",e),this.reCaptchaScriptReady$}injectScript(){this.scriptLoadingStarted||(this.initRecaptchaStyles(),this.reCaptchaConfig.pluginUri&&(this.appendCallbackFunction(),this.registerInterceptor(),this.languageService.getLanguage().subscribe((e=>{this.language=e,this.appendScript(),this.scriptLoadingStarted=!0}))))}appendCallbackFunction(){this.windowService&&this.windowService.appendFunction("reCaptchaScriptLoadedCallback",this.reCaptchaScriptLoadedCallback.bind(this))}appendScript(){const e=this.reCaptchaConfig.pluginUri+"?onload=reCaptchaScriptLoadedCallback"+this.composeLanguageParam()+this.composeRenderType();this.windowService&&this.windowService.injectScript(e,["defer"])}composeLanguageParam(){const t=this.language&&this.language.trim()?e.mapLanguage(this.language.trim()):null;return t?"&hl="+t:""}static mapLanguage(e){return 0===e.toLocaleLowerCase().localeCompare("zh-hans")?"zh-CN":e}composeRenderType(){return"&render="+(this.reCaptchaConfig.isV3Enabled()?this.reCaptchaConfig.v3PublicKey:"explicit")}registerInterceptor(){this.reCaptchaConfig.isV3Enabled()&&this.reCaptchaInterceptor.subscribeToScriptLoading(this.reCaptchaScriptReady$)}initRecaptchaStyles(){this.recaptchaStyleInitialized||(this.addStyleToReCaptchaBadge(),this.recaptchaStyleInitialized=!0)}addStyleToReCaptchaBadge(){if(this.windowService){let e=this.windowService.document().createElement("style");if(e.innerHTML="\n                #bx-invisible-recaptcha .grecaptcha-badge {\n                    display: block;\n                }\n                .grecaptcha-badge {\n                    display: none;\n                }",this.windowService.document().head.appendChild(e),!this.reCaptchaConfig.isV3Enabled()){let e=this.windowService.document().createElement("style");e.innerHTML="\n                    .bx-recaptcha-legal {\n                        display: none;\n                    }",this.windowService.document().head.appendChild(e)}}}reportMetrics(e,t){if((0,l.isPlatformBrowser)(this.platformId))try{const n={action:"inject-recaptcha-script"};this.customEventsService.emit(new s.g(e,t,t,Date.now(),n))}catch(e){console.debug("Error reporting execution time:",e)}}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](d.l),i["ɵɵinject"](o.TS),i["ɵɵinject"](u.h),i["ɵɵinject"](c.V),i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](a.u,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},10560:(e,t,n)=>{"use strict";n.d(t,{h:()=>c}),n(23550);var i=n(45965),r=n(42998),o=n(22311),a=n(81899),s=n(57826);let c=(()=>{class e{constructor(e,t,n){this.siteConfigService=e,this.windowService=t,this.reCaptchaV3Service=n,this.X_CAPTCHA_TOKEN="X-CAPTCHA-TOKEN",this.LOGIN_ACTION="login",this.HEADLESS_LOGIN="headless_login"}subscribeToScriptLoading(e){const{reCaptchaV3Properties:t,playerSecurityCaptchaConfig:n}=this.siteConfigService.getSiteConfig();this.reCaptchaV3Properties=t,this.playerCaptchaV3Config=n.playerCaptchaV3Config,this.enabledActions=this.getEnabledActions(),e.subscribe((()=>{this.scriptLoaded=!0}))}intercept(e,t){return this.shouldProcess(e)?this.reCaptchaV3Service.generateToken(this.actionToGenerateToken).pipe((0,r.map)((t=>t?e.clone({setHeaders:{[this.X_CAPTCHA_TOKEN]:t}}):e)),(0,r.mergeMap)((e=>t.handle(e)))):t.handle(e)}getEnabledActions(){const{infoActions:e,monitoringActions:t,enforcementActions:n}=this.playerCaptchaV3Config;return Array.from(new Set(e.concat(t).concat(n)))}captchaTokenAlreadyPresent(e){return e.headers&&e.headers.has(this.X_CAPTCHA_TOKEN)}requestMatchesAction(e,t){const n=this.playerCaptchaV3Config.enforcementActions;return e.method===t.verb.toUpperCase()&&(!t.isTokenSent||n.includes(t.name))&&(this.matchUrl(t.url,e.url)||this.matchAlias(t.aliases,e.url))}matchAlias(e,t){return!!e&&e.some((e=>this.matchUrl(e,t)))}matchUrl(e,t){return new RegExp(e).test(t)}shouldProcess(e){if(this.captchaTokenAlreadyPresent(e)||!this.scriptLoaded||!this.reCaptchaV3Service)return!1;const t=this.reCaptchaV3Properties.find(((t,n)=>!!this.requestMatchesAction(e,t)&&("logout"===t.name?this.reCaptchaV3Properties.forEach((e=>e.isTokenSent=!1)):this.reCaptchaV3Properties[n].isTokenSent=!0,!0)));return t?this.enabledActions.some((e=>(this.actionToGenerateToken=this.getAction(e),e===t.name))):void 0}getAction(e){return this.LOGIN_ACTION===e?this.windowService.window().navigator.userAgent.includes("Electron")?this.HEADLESS_LOGIN:this.LOGIN_ACTION:e}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.r),s["ɵɵinject"](a.u),s["ɵɵinject"](o.Y,8))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},22311:(e,t,n)=>{"use strict";n.d(t,{Y:()=>u});var i=n(4309),r=n(42998),o=n(81465),a=n(93744),s=n(81899),c=n(54075),l=n(57826);class d extends Error{}let u=(()=>{class e{constructor(e,t,n){this.windowService=e,this.customEventsService=t,this.reCaptchaConfig=n,this.TOKEN_GENERATION_TIMEOUT=3e3,this.TOKEN_EXTENDED_GENERATION_TIMEOUT=3e4,this.RECAPTCHA_ERROR="token_runtime_error"}get reCaptchaRef(){return this.windowService.window().grecaptcha}validateCaptchaInitialized(){const e=[()=>[!this.reCaptchaConfig.isV3Enabled(),"token_disabled"],()=>[!this.reCaptchaConfig.v3PublicKey,"public_key_not_defined"],()=>[!this.reCaptchaRef,"ref_not_loaded"],()=>[!this.reCaptchaRef.execute,"ref_not_initialized"]];for(let t of e){let e=t();if(e[0])throw new d(e[1])}}generateToken(e){const t=Date.now(),n=window.performance.now();try{return this.validateCaptchaInitialized(),(0,i.from)(this.reCaptchaRef.execute(this.reCaptchaConfig.v3PublicKey,{action:e})).pipe((0,r.timeout)(this.getTokenGenerationTimeout(e)),(0,r.map)((i=>(i||this.reportMetrics(e,"empty_token",t,n),this.reportMetrics(e,"recaptcha_token",t,n),i))),(0,r.catchError)((i=>{const r=i||new d("token_error");return this.handleRecapthaError(r,e,t,n)})))}catch(i){return this.handleRecapthaError(i,e,t,n)}}handleRecapthaError(e,t,n,r){let o=this.RECAPTCHA_ERROR;return e&&e.message&&(o=e.message.toLowerCase().split(" ").join("_")),this.reportMetrics(t,`recaptcha_${o}`,n,r),(0,i.of)("")}getTokenGenerationTimeout(e){return"login"===e||this.reCaptchaConfig.v3EnforcementActions.includes(e)?this.TOKEN_EXTENDED_GENERATION_TIMEOUT:this.TOKEN_GENERATION_TIMEOUT}reportMetrics(e,t,n,i){try{const r={action:e};this.customEventsService.emit(new o.g(t,n,i,window.performance.now(),r))}catch(e){console.debug("Error reporting execution time:",e)}}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](s.u),l["ɵɵinject"](a.V),l["ɵɵinject"](c.l))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},11198:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})()},80218:(e,t,n)=>{"use strict";n.d(t,{U:()=>c});var i=n(57826),r=n(81899),o=n(6856),a=n(82846),s=n(80112);let c=(()=>{class e{constructor(e,t,n,i){this.windowService=e,this.platformId=t,this.cookieStorageService=n,this.urlPrefixService=i,this.cdnConfig={shardingEnabled:!1,casinoShardingEnabled:!1,cdnDomains:[]},this.cdnIterator=0,this.mapRequest=new Map,this.previewCookieKey="PREVIEW"}prepareCdnConfig(e){let t={shardingEnabled:!1,casinoShardingEnabled:e.casinoShardingEnabled,cdnDomains:[]};!0!==e.shardingEnabled||this.isPreviewMode()||e.cdnDomains.length>0&&(t.cdnDomains=e.cdnDomains,t.shardingEnabled=!0),this.cdnConfig=t}isCdnAvailable(){return this.cdnConfig.shardingEnabled}getCdnConfig(){return this.cdnConfig}getCdnConfigProp(e){return this.cdnConfig[e]}getCdnUrlAjaxRequest(e){let t=this.loadImagesInBrowser(e);return t||(this.cdnConfig.shardingEnabled?this.mapResources(e)+(0===e.indexOf("/")?"":"/")+e:e)}getCdnUrlImage(e){return e=this.urlPrefixService.addUrlPrefix(e),this.getCdnUrlAjaxRequest(this.getRelativeUrl(e))}getRelativeUrl(e){return e.indexOf("://")>-1?this.removeHost(e):e}nextCdnDomain(){return this.cdnIterator>=this.cdnConfig.cdnDomains.length&&(this.cdnIterator=0),this.cdnConfig.cdnDomains[this.cdnIterator++]}removeHost(e){return e.replace(/^(?:\/\/|[^\/]+)*/,"")}loadImagesInBrowser(e){let t="";return(0,o.isPlatformBrowser)(this.platformId)&&(t=(this.windowService.window().imagesLazySizes||[]).filter(((t,n)=>-1!=t.indexOf(e))).shift()),t}mapResources(e){let t="";return this.mapRequest.has(e)?t=this.mapRequest.get(e):(t=this.nextCdnDomain(),this.mapRequest.set(e,t)),t}isPreviewMode(){return"true"===this.cookieStorageService.get(this.previewCookieKey)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](r.u),i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](a.G),i["ɵɵinject"](s.z))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},51576:(e,t,n)=>{"use strict";n.d(t,{d:()=>s});var i=n(93996),r=n(46333),o=n(22274),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({providers:[o.x],imports:[[i.M,r.d]]}),e})()},22274:(e,t,n)=>{"use strict";n.d(t,{x:()=>c});var i=n(6856),r=n(57826),o=n(77247),a=n(82846),s=n(30173);let c=(()=>{class e{constructor(t,n,r,o){this.deviceService=t,this.cookieStorageService=n,this.platformId=r,this.request=o,this.channelType=(0,i.isPlatformServer)(this.platformId)?this.retrieveChannelTypeForPlatformServer():this.cookieStorageService.get(e.CHANNEL_TYPE_COOKIE_NAME),this.channelType||(this.channelType=this.deviceService.getDeviceType())}retrieveChannelTypeForPlatformServer(){const t=this.request.query[e.CHANNEL_TYPE_QUERY_PARAM];if(t)return t;return this.request.headers[e.CHANNEL_TYPE_HEADER_NAME]||!1}getChannelType(){return this.channelType}}return e.CHANNEL_TYPE_COOKIE_NAME="Channel-Type",e.CHANNEL_TYPE_HEADER_NAME="X-Channel-Type",e.CHANNEL_TYPE_QUERY_PARAM="channelType",e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](s.U),r["ɵɵinject"](a.G),r["ɵɵinject"](r.PLATFORM_ID),r["ɵɵinject"](o.Z,8))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},29967:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var i=n(43431),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:[i.u]}),e})()},43431:(e,t,n)=>{"use strict";n.d(t,{u:()=>c});var i=n(42998),r=n(53609),o=n(82846),a=n(45965),s=n(57826);let c=(()=>{class e{constructor(e,t,n){this.cookieStore=e,this.siteConfigService=t,this.brandConfigService=n,this.CMS_FEATURES_KEY="site.config.cms.enabled_features"}getCmsConfig(){return this.siteConfigService.getSiteConfigProp("cms")}isSectionEnabled(e,t){return this.isEnabled("enabledSections","bxCmsEnabledSections",e,t)}isFeatureEnabled(e){return this.isEnabled("enabledFeatures","bxCmsEnabledFeatures",e)}isFeatureEnabledInBrandAdminOrCookie(e,t){return this.isFeatureEnabledInBrand(e,t).pipe((0,i.map)((e=>(e||(e=this.isFeatureEnabled(t)),e))))}isFeatureEnabledInBrand(e,t){return this.brandConfigService.getBrandProperties(e.brand.brandCode,{bucket:e.id,territories:e.id.toUpperCase()}).pipe((0,i.map)((e=>this.isEnabledInBrand(e,t))))}isFeatureEnabledWithCookieOrBrand(e,t){return!!this.cookieStore.get(t)||this.isFeatureEnabled(e)}isEnabledInBrand(e,t){return e[this.CMS_FEATURES_KEY]&&e[this.CMS_FEATURES_KEY].indexOf(t)>-1}isEnabled(e,t,n,i){let r=this.getCmsConfig();return this.cookieStore.get(t)&&(r[e]=this.cookieStore.get(t).split("|").map((e=>e.trim()))),i>=0&&(n=`${n}V${i}`),r[e]&&r[e].indexOf(n)>-1}}return e.CASINO_UNIQUE_PAGES_FF="casino-unique-pages",e.SMART_CONTACTS="smart-contacts",e.SMART_CONTACTS_RELEASE2="smart-contacts-release2",e.SHOW_SMART_CONTACTS_METHODS_BLOCK_DIRECTLY="show-smart-contacts-methods-block-directly",e.SMART_CONTACTS_BM="smart-contacts-blackmamba",e.REGISTRATION_FORM_CONTENT_FF="regForm-content",e.MARKETING_AUDIENCES="marketing-audiences",e.CMS_APPROVAL="cms-approval",e.CMS_ACTIONS_LAYOUT="cms-actions-layout",e.AUTOMATED_CONTENT="automated-content",e.CMS_TARGETED_AUDIENCES_OUT="cms-targeted-audiences-out",e.CMS_SLIDE_MOBILE_IMAGES="cms-slide-mobile-images",e.ALLOW_JS_FILES_IN_CONTENT="allow-js-files-in-content",e.DISABLE_JS_FILES_IN_CONTENT="disable-js-files-in-content",e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](o.G),s["ɵɵinject"](a.r),s["ɵɵinject"](r.D))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},28338:(e,t,n)=>{"use strict";n.d(t,{G:()=>c});var i=n(38056),r=n(49994),o=n(46821),a=n(28486),s=n(57826);let c=(()=>{class e{constructor(e,t){this.profileStore=e,this.currencyService=t}getProfileCurrency(){return this.profileStore&&this.profileStore.currencySymbol?this.profileStore.currencySymbol:this.currencyService.getDefaultCurrencySymbol()}getProfileCurrencyCode(){return this.profileStore&&this.profileStore.currency?this.profileStore.currency:this.currencyService.getDefaultCurrencyCode()}getFormattedAmount(e,t){return null==t&&(t=a.E.getMaxDecimals(this.getProfileCurrencyCode())),null==e?"":new o(e).round(t,0).toFixed(t)}getCurrencyAmount(e,t){return this.getProfileCurrency()+" "+this.getFormattedAmount(e,t)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.A,8),s["ɵɵinject"](r.i))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},35218:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});let i=(()=>{class e{static getCurrencyCodeToShow(e,t){return"XBT"===e&&t?e:this.currencyConfig[e]&&this.currencyConfig[e].currencyCodeMapper||e}}return e.currencyConfig={XBT:{currencyCodeMapper:"mBTC",maxDecimals:{normalPrecision:2,fullPrecision:5},digits:{normalPrecision:"1.2-2",fullPrecision:"1.5-5"}},mBTC:{maxDecimals:{normalPrecision:2,fullPrecision:5},digits:{normalPrecision:"1.2-2",fullPrecision:"1.5-5"}}},e})()},4060:(e,t,n)=>{"use strict";n.d(t,{P:()=>m});var i=n(49994),r=n(28338),o=n(6856),a=n(58548),s=n(15287),c=n(93758),l=n(23550),d=n(4309),u=n(42998),p=n(57826);let h=(()=>{class e{constructor(e){this.http=e,this.rateRequestCache$={}}getRate(e,t){const n=this.generateCacheKey(e,t);return this.rateRequestCache$[n]||(this.rateRequestCache$[n]=this.requestRateForCurrency(e,t),(0,d.timer)(3e4).pipe((0,u.take)(1)).subscribe((()=>delete this.rateRequestCache$[n]))),this.rateRequestCache$[n]}requestRateForCurrency(e,t){const n=new l.HttpParams({fromObject:{baseCurrencies:e,targetCurrencies:t}});return this.http.get("/services/exchange-rate/v1/rates",{params:n}).pipe((0,u.map)((n=>{const i=n.find((n=>n.sourceCurrencyCode===e&&n.targetCurrencyCode===t));return i&&i.rate||0})),(0,u.shareReplay)(1))}generateCacheKey(e,t){return`${e}-${t}`}}return e.ɵfac=function(t){return new(t||e)(p["ɵɵinject"](l.HttpClient))},e.ɵprov=p["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),m=(()=>{class e{static forRoot(){return{ngModule:e,providers:[c.S,a.s,{provide:s.OJ,useExisting:a.s}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=p["ɵɵdefineNgModule"]({type:e}),e.ɵinj=p["ɵɵdefineInjector"]({providers:[i.i,r.G,h,o.DecimalPipe],imports:[[]]}),e})()},28486:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var i=n(35218);class r{static getMaxDecimals(e,t=!1){switch(e){case"BTC":case"XBT":case"BSV":case"BCH":case"LTC":case"ETH":case"USDT":return 8;case"XSC":return 5;case"JPY":case"INR":case"VND":case"IDR":return 0;case"mBTC":return t?i.o.currencyConfig[e].maxDecimals.fullPrecision:i.o.currencyConfig[e].maxDecimals.normalPrecision;default:return 2}}static getDigits(e,t=!1){switch(e){case"BTC":case"BSV":case"XBT":case"LTC":case"BCH":case"ETH":case"USDT":return"1.0-8";case"XSC":return"1.2-5";case"JPY":case"INR":case"VND":case"IDR":return"1.0-0";case"mBTC":return t?i.o.currencyConfig[e].digits.fullPrecision:i.o.currencyConfig[e].digits.normalPrecision;default:return"1.2-2"}}}},49994:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var i=n(45965),r=n(35944),o=n(57826);const a=[{code:"mBTC",name:"milliBitcoin",symbol:"m฿"}];let s=(()=>{class e{constructor(e){this.siteConfigService=e,this.currencyToSymbolMap={},this.symbolToCurrencyMap={},this.availableCurrenciesConfigProp="availableCurrencies",this.defaultCurrencyProp="defaultCurrency"}getCurrencySymbol(e){return this.getCurrenciesMap(),this.currencyToSymbolMap[e]||e}getDefaultCurrencySymbol(){return this.getCurrencySymbol(this.siteConfigService.getSiteConfigProp(this.defaultCurrencyProp))}getCurrencyCode(e){return this.getCurrenciesMap(),this.symbolToCurrencyMap[e]||e}getDefaultCurrencyCode(){return this.siteConfigService.getSiteConfigProp(this.defaultCurrencyProp)}getCurrenciesMap(){if(0!==Object.keys(this.currencyToSymbolMap).length)return;let e=this.siteConfigService.getSiteConfigProp(this.availableCurrenciesConfigProp);r((e=>{this.currencyToSymbolMap[e.code]=e.symbol,this.symbolToCurrencyMap[e.symbol]=e.code}),e),r((e=>{this.currencyToSymbolMap[e.code]=e.symbol,this.symbolToCurrencyMap[e.symbol]=e.code}),a)}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.r))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},63038:(e,t,n)=>{"use strict";n.d(t,{u:()=>r});var i=n(28486);class r{static convertCurrencyFromCents(e,t,n=!1){return e/this.getConversionFactor(t,n)}static convertCurrencyToCents(e,t){return e*this.getConversionFactor(t)}static getConversionFactor(e,t=!1){return Math.pow(10,i.E.getMaxDecimals(e,t))}static clearAmountCurrency(e){return void 0!==e&&(e=+e.toString().replace(/,/g,"")),e}static clearPresetAmountDecimals(e){return null!=e&&null!=e&&(e=e.toString().replace(/\.[0-9]+/g,"")),e}static convertToMonetaryAmount(e,t,n){return{amount:e,currency:t||void 0,profileCurrencyCode:n||void 0}}static isXSC(e){return void 0!==e&&"XSC"===e}}},15287:(e,t,n)=>{"use strict";n.d(t,{I1:()=>r,NH:()=>o,OJ:()=>a});var i=n(57826);const r={XBT:{targetCurrency:"mBTC",rate:1e3},mBTC:{targetCurrency:"XBT",rate:.001}};function o(e){return r[e]&&r[e].targetCurrency||e}const a=new i.InjectionToken("CurrencyConversionServiceToken")},40606:(e,t,n)=>{"use strict";n.d(t,{W:()=>a});var i=n(93758),r=n(15287),o=n(57826);let a=(()=>{class e{constructor(e,t){this.monetaryAmountService=e,this.currencyConversionService=t}transform(e,t=!0,n=!1,i,r){return this.monetaryAmountService.format(this.currencyConversionService.convert(e),t,n,i,r)}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](i.S,16),o["ɵɵdirectiveInject"](r.OJ,16))},e.ɵpipe=o["ɵɵdefinePipe"]({name:"bxMonetaryAmount",type:e,pure:!0}),e})()},93758:(e,t,n)=>{"use strict";n.d(t,{S:()=>d});var i=n(49994),r=n(28338),o=n(28486),a=n(6856),s=n(46821),c=n(35218),l=n(57826);let d=(()=>{class e{constructor(e,t,n){this.currencyService=e,this.currencyAmountService=t,this.decimalPipe=n}init(e){this.locale=e}static asMonetaryAmount(e,t){return{amount:e,currency:t}}format(e,t=!0,n=!1,i,r=!1){if(!this.hasAmount(e))return"";let a,s,l=this.extractAmount(e,r),d=n&&l>0?"+":"";e.currency?(a=e.currency,s=this.currencyService.getCurrencySymbol(a)):(s=this.currencyAmountService.getProfileCurrency(),a=this.currencyService.getCurrencyCode(s)),"XBT"===e.currency&&(a=e.currency===e.profileCurrencyCode?"mBTC":"XBT",s=this.currencyService.getCurrencySymbol(a));const u=o.E.getDigits(a,r),p=this.formatAmount(l,u,i);return(t?c.o.getCurrencyCodeToShow(s,e.profileCurrencyCode)+" ":"")+d+p}hasAmount(e){return null!=e.amount&&null!=e.amount}extractAmount(e,t){if(this.shouldTruncate(e)){const n=o.E.getMaxDecimals(e.currency,t);return this.truncateNumber(e.amount,n)}return e.amount}shouldTruncate(e){return"mBTC"===e.currency}truncateNumber(e,t){return Number(e<0?Math.ceil(+(e+"e"+t))+"e-"+t:Math.floor(+(e+"e"+t))+"e-"+t)}formatAmount(e,t,n){let i;return n?i=this.decimalPipe.transform(e,t,n):this.locale&&"default"!==this.locale?i=this.decimalPipe.transform(e,t,this.locale):(i=this.decimalPipe.transform(e,t),i=i.toString().replace(/,/g,"")),i}formatNativeCurrency(t){return this.requiresBitcoinConversion()?e.getSCToBTC(t):this.format({amount:t})}static getSCToBTC(t){return new s(t).div(new s(e.SC_TO_BTC_CONVERSION)).toFixed(o.E.getMaxDecimals("BTC")).replace(/0+$/,"").replace(/\.$/,"")+" BTC"}requiresBitcoinConversion(){return"XSC"===this.currencyAmountService.getProfileCurrencyCode()}}return e.SC_TO_BTC_CONVERSION=1e3,e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](i.i),l["ɵɵinject"](r.G),l["ɵɵinject"](a.DecimalPipe))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},58548:(e,t,n)=>{"use strict";n.d(t,{s:()=>c});var i=n(63038),r=n(28338),o=n(15287),a=n(46821),s=n(57826);let c=(()=>{class e{constructor(e){this.currencyAmountService=e}convertCurrencyFromCents(e,t){return i.u.convertCurrencyFromCents(e,t)}convertCurrencyToCents(e,t){return i.u.convertCurrencyToCents(e,t)}convertFromBitcoinToSlotChips(e){return 1e3*e}convertFromSlotChipsToBitcoin(e){return e/1e3}convert(e){return null==e.amount?e:(e.currency||(e.currency=this.currencyAmountService.getProfileCurrencyCode()),!this.requiresConversion(e.currency)||e.profileCurrencyCode&&e.currency!==e.profileCurrencyCode?e:this.performConversion(e))}requiresConversion(e){return!!o.I1[e]}performConversion(e){const t=o.I1[e.currency].rate;return{amount:+new a(e.amount).times(t),currency:o.I1[e.currency].targetCurrency}}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](r.G))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},81465:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});class i{constructor(e,t,n,i,r){this.eventName=e,this.timestamp=t,this.startTimestamp=n,this.endTimestamp=i,this.labels=r}}},93744:(e,t,n)=>{"use strict";n.d(t,{V:()=>o});var i=n(4309),r=n(57826);let o=(()=>{class e{constructor(){this.customEvents=new i.ReplaySubject}emit(e){this.customEvents.next(e)}getEvents(){return this.customEvents}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},41759:(e,t,n)=>{"use strict";n.d(t,{Z:()=>C});var i=n(95238),r=n.n(i),o=n(92778),a=n.n(o),s=n(94600),c=n.n(s),l=n(52179),d=n.n(l),u=n(69033);const p={version:"2018g",zones:["Africa/Abidjan|GMT|0|0||48e5","Africa/Nairobi|EAT|-30|0||47e5","Africa/Algiers|CET|-10|0||26e5","Africa/Lagos|WAT|-10|0||17e6","Africa/Maputo|CAT|-20|0||26e5","Africa/Cairo|EET|-20|0||15e6","Africa/Casablanca|+00 +01|0 -10|0101010101010101|1O9e0 uM0 e00 Dc0 11A0 s00 e00 IM0 WM0 mo0 gM0 LA0 WM0 jA0 e00|32e5","Europe/Paris|CET CEST|-10 -20|01010101010101010101010|1O9d0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|11e6","Africa/Johannesburg|SAST|-20|0||84e5","Africa/Khartoum|EAT CAT|-30 -20|01|1Usl0|51e5","Africa/Sao_Tome|GMT WAT|0 -10|01|1UQN0|","Africa/Windhoek|CAT WAT|-20 -10|0101010|1Oc00 11B0 1nX0 11B0 1nX0 11B0|32e4","America/Adak|HST HDT|a0 90|01010101010101010101010|1O100 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|326","America/Anchorage|AKST AKDT|90 80|01010101010101010101010|1O0X0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|30e4","America/Santo_Domingo|AST|40|0||29e5","America/Fortaleza|-03|30|0||34e5","America/Asuncion|-03 -04|30 40|01010101010101010101010|1O6r0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0 17b0 1ip0 19X0 1fB0 19X0 1fB0 19X0 1fB0 19X0 1ip0 17b0 1ip0|28e5","America/Panama|EST|50|0||15e5","America/Mexico_City|CST CDT|60 50|01010101010101010101010|1Oc80 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|20e6","America/Managua|CST|60|0||22e5","America/La_Paz|-04|40|0||19e5","America/Lima|-05|50|0||11e6","America/Denver|MST MDT|70 60|01010101010101010101010|1O0V0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|26e5","America/Campo_Grande|-03 -04|30 40|01010101010101010101010|1NTf0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0 1HB0 FX0 1HB0 IL0 1HB0 FX0 1HB0 IL0 1EN0 FX0 1HB0 FX0 1HB0|77e4","America/Cancun|CST EST|60 50|01|1NKU0|63e4","America/Caracas|-0430 -04|4u 40|01|1QMT0|29e5","America/Chicago|CST CDT|60 50|01010101010101010101010|1O0U0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|92e5","America/Chihuahua|MST MDT|70 60|01010101010101010101010|1Oc90 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0 14p0 1nX0 11B0 1nX0 11B0 1nX0 14p0 1lb0 14p0 1lb0|81e4","America/Phoenix|MST|70|0||42e5","America/Los_Angeles|PST PDT|80 70|01010101010101010101010|1O0W0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|15e6","America/New_York|EST EDT|50 40|01010101010101010101010|1O0T0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|21e6","America/Fort_Nelson|PST MST|80 70|01|1O0W0|39e2","America/Halifax|AST ADT|40 30|01010101010101010101010|1O0S0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|39e4","America/Godthab|-03 -02|30 20|01010101010101010101010|1O9d0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|17e3","America/Grand_Turk|EST EDT AST|50 40 40|0121010101010101010|1O0T0 1zb0 5Ip0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|37e2","America/Havana|CST CDT|50 40|01010101010101010101010|1O0R0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Rc0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0 Oo0 1zc0|21e5","America/Metlakatla|PST AKST AKDT|80 90 80|0121212121212121212121|1PAa0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|14e2","America/Miquelon|-03 -02|30 20|01010101010101010101010|1O0R0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|61e2","America/Montevideo|-02 -03|20 30|01|1O0Q0|17e5","America/Noronha|-02|20|0||30e2","America/Port-au-Prince|EST EDT|50 40|010101010101010101010|1O0T0 1zb0 3iN0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|23e5","Antarctica/Palmer|-03 -04|30 40|010|1QSr0 Ap0|40","America/Santiago|-03 -04|30 40|010101010101010101010|1QSr0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0|62e5","America/Sao_Paulo|-02 -03|20 30|01010101010101010101010|1NTe0 1zd0 On0 1zd0 On0 1zd0 On0 1HB0 FX0 1HB0 FX0 1HB0 IL0 1HB0 FX0 1HB0 IL0 1EN0 FX0 1HB0 FX0 1HB0|20e6","Atlantic/Azores|-01 +00|10 0|01010101010101010101010|1O9d0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|25e4","America/St_Johns|NST NDT|3u 2u|01010101010101010101010|1O0Ru 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Rd0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0 Op0 1zb0|11e4","Antarctica/Casey|+08 +11|-80 -b0|010|1RWg0 3m10|10","Asia/Bangkok|+07|-70|0||15e6","Asia/Vladivostok|+10|-a0|0||60e4","Pacific/Bougainville|+11|-b0|0||18e4","Asia/Tashkent|+05|-50|0||23e5","Pacific/Auckland|NZDT NZST|-d0 -c0|01010101010101010101010|1ObO0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00|14e5","Asia/Baghdad|+03|-30|0||66e5","Antarctica/Troll|+00 +02|0 -20|01010101010101010101010|1O9d0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|40","Asia/Dhaka|+06|-60|0||16e6","Asia/Amman|EET EEST|-20 -30|01010101010101010101010|1O8m0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1o00 11A0 1qM0|25e5","Asia/Kamchatka|+12|-c0|0||18e4","Asia/Baku|+04 +05|-40 -50|010|1O9c0 1o00|27e5","Asia/Barnaul|+06 +07|-60 -70|01|1QyI0|","Asia/Beirut|EET EEST|-20 -30|01010101010101010101010|1O9a0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0|22e5","Asia/Kuala_Lumpur|+08|-80|0||71e5","Asia/Kolkata|IST|-5u|0||15e6","Asia/Chita|+08 +09|-80 -90|01|1QyG0|33e4","Asia/Ulaanbaatar|+08 +09|-80 -90|01010|1O8G0 1cJ0 1cP0 1cJ0|12e5","Asia/Shanghai|CST|-80|0||23e6","Asia/Colombo|+0530|-5u|0||22e5","Asia/Damascus|EET EEST|-20 -30|01010101010101010101010|1O8m0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1nX0 11B0 1nX0 11B0 1qL0|26e5","Asia/Yakutsk|+09|-90|0||28e4","Asia/Dubai|+04|-40|0||39e5","Asia/Famagusta|EET EEST +03|-20 -30 -30|0101201010101010101010|1O9d0 1o00 11A0 15U0 2Ks0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Asia/Gaza|EET EEST|-20 -30|01010101010101010101010|1O8K0 1nz0 1220 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 11B0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0 WN0 1qL0|18e5","Asia/Hong_Kong|HKT|-80|0||73e5","Asia/Hovd|+07 +08|-70 -80|01010|1O8H0 1cJ0 1cP0 1cJ0|81e3","Europe/Istanbul|EET EEST +03|-20 -30 -30|01012|1O9d0 1tA0 U00 15w0|13e6","Asia/Jakarta|WIB|-70|0||31e6","Asia/Jayapura|WIT|-90|0||26e4","Asia/Jerusalem|IST IDT|-20 -30|01010101010101010101010|1O8o0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0 10N0 1rz0 W10 1rz0 W10 1rz0 10N0 1oL0 10N0 1oL0|81e4","Asia/Kabul|+0430|-4u|0||46e5","Asia/Karachi|PKT|-50|0||24e6","Asia/Kathmandu|+0545|-5J|0||12e5","Asia/Magadan|+10 +11|-a0 -b0|01|1QJQ0|95e3","Asia/Makassar|WITA|-80|0||15e5","Asia/Manila|PST|-80|0||24e6","Europe/Athens|EET EEST|-20 -30|01010101010101010101010|1O9d0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|35e5","Asia/Novosibirsk|+06 +07|-60 -70|01|1Rmk0|15e5","Asia/Pyongyang|KST KST|-90 -8u|010|1P4D0 6BA0|29e5","Asia/Rangoon|+0630|-6u|0||48e5","Asia/Sakhalin|+10 +11|-a0 -b0|01|1QyE0|58e4","Asia/Seoul|KST|-90|0||23e6","Asia/Tehran|+0330 +0430|-3u -4u|01010101010101010101010|1O6ku 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0 1cp0 1dz0 1cp0 1dz0 1cp0 1dz0 1cN0 1dz0|14e6","Asia/Tokyo|JST|-90|0||38e6","Asia/Tomsk|+06 +07|-60 -70|01|1QXU0|10e5","Europe/Lisbon|WET WEST|0 -10|01010101010101010101010|1O9d0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|27e5","Atlantic/Cape_Verde|-01|10|0||50e4","Australia/Sydney|AEDT AEST|-b0 -a0|01010101010101010101010|1ObQ0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0|40e5","Australia/Adelaide|ACDT ACST|-au -9u|01010101010101010101010|1ObQu 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1cM0 1fA0 1cM0 1cM0 1cM0|11e5","Australia/Brisbane|AEST|-a0|0||20e5","Australia/Darwin|ACST|-9u|0||12e4","Australia/Eucla|+0845|-8J|0||368","Australia/Lord_Howe|+11 +1030|-b0 -au|01010101010101010101010|1ObP0 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1fAu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1cLu 1cMu 1fzu 1cMu 1cLu 1cMu|347","Australia/Perth|AWST|-80|0||18e5","Pacific/Easter|-05 -06|50 60|010101010101010101010|1QSr0 Ap0 1Nb0 Ap0 1Nb0 Ap0 1zb0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1nX0 11B0 1qL0 11B0 1nX0 11B0|30e2","Europe/Dublin|GMT IST|0 -10|01010101010101010101010|1O9d0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|12e5","Etc/GMT-1|+01|-10|0||","Pacific/Fakaofo|+13|-d0|0||483","Pacific/Kiritimati|+14|-e0|0||51e2","Etc/GMT-2|+02|-20|0||","Pacific/Tahiti|-10|a0|0||18e4","Pacific/Niue|-11|b0|0||12e2","Etc/GMT+12|-12|c0|0||","Pacific/Galapagos|-06|60|0||25e3","Etc/GMT+7|-07|70|0||","Pacific/Pitcairn|-08|80|0||56","Pacific/Gambier|-09|90|0||125","Etc/UCT|UCT|0|0||","Etc/UTC|UTC|0|0||","Europe/Ulyanovsk|+03 +04|-30 -40|01|1QyL0|13e5","Europe/London|GMT BST|0 -10|01010101010101010101010|1O9d0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|10e6","Europe/Chisinau|EET EEST|-20 -30|01010101010101010101010|1O9c0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|67e4","Europe/Moscow|MSK|-30|0||16e6","Europe/Saratov|+03 +04|-30 -40|01|1Sfz0|","Europe/Volgograd|+03 +04|-30 -40|01|1WQL0|10e5","Pacific/Honolulu|HST|a0|0||37e4","MET|MET MEST|-10 -20|01010101010101010101010|1O9d0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00 11A0 1qM0 WM0 1qM0 WM0 1qM0 11A0 1o00 11A0 1o00|","Pacific/Chatham|+1345 +1245|-dJ -cJ|01010101010101010101010|1ObO0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00|600","Pacific/Apia|+14 +13|-e0 -d0|01010101010101010101010|1ObO0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1cM0 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1fA0 1a00 1io0 1a00 1fA0 1a00|37e3","Pacific/Fiji|+13 +12|-d0 -c0|01010101010101010101010|1NF20 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0 uM0 1VA0 s00 1VA0 s00 1VA0 s00 1VA0 uM0 1SM0|88e4","Pacific/Guam|ChST|-a0|0||17e4","Pacific/Marquesas|-0930|9u|0||86e2","Pacific/Pago_Pago|SST|b0|0||37e2","Pacific/Norfolk|+1130 +11|-bu -b0|01|1PoCu|25e4","Pacific/Tongatapu|+13 +14|-d0 -e0|010|1S4d0 s00|75e3"],links:["Africa/Abidjan|Africa/Accra","Africa/Abidjan|Africa/Bamako","Africa/Abidjan|Africa/Banjul","Africa/Abidjan|Africa/Bissau","Africa/Abidjan|Africa/Conakry","Africa/Abidjan|Africa/Dakar","Africa/Abidjan|Africa/Freetown","Africa/Abidjan|Africa/Lome","Africa/Abidjan|Africa/Monrovia","Africa/Abidjan|Africa/Nouakchott","Africa/Abidjan|Africa/Ouagadougou","Africa/Abidjan|Africa/Timbuktu","Africa/Abidjan|America/Danmarkshavn","Africa/Abidjan|Atlantic/Reykjavik","Africa/Abidjan|Atlantic/St_Helena","Africa/Abidjan|Etc/GMT","Africa/Abidjan|Etc/GMT+0","Africa/Abidjan|Etc/GMT-0","Africa/Abidjan|Etc/GMT0","Africa/Abidjan|Etc/Greenwich","Africa/Abidjan|GMT","Africa/Abidjan|GMT+0","Africa/Abidjan|GMT-0","Africa/Abidjan|GMT0","Africa/Abidjan|Greenwich","Africa/Abidjan|Iceland","Africa/Algiers|Africa/Tunis","Africa/Cairo|Africa/Tripoli","Africa/Cairo|Egypt","Africa/Cairo|Europe/Kaliningrad","Africa/Cairo|Libya","Africa/Casablanca|Africa/El_Aaiun","Africa/Johannesburg|Africa/Maseru","Africa/Johannesburg|Africa/Mbabane","Africa/Lagos|Africa/Bangui","Africa/Lagos|Africa/Brazzaville","Africa/Lagos|Africa/Douala","Africa/Lagos|Africa/Kinshasa","Africa/Lagos|Africa/Libreville","Africa/Lagos|Africa/Luanda","Africa/Lagos|Africa/Malabo","Africa/Lagos|Africa/Ndjamena","Africa/Lagos|Africa/Niamey","Africa/Lagos|Africa/Porto-Novo","Africa/Maputo|Africa/Blantyre","Africa/Maputo|Africa/Bujumbura","Africa/Maputo|Africa/Gaborone","Africa/Maputo|Africa/Harare","Africa/Maputo|Africa/Kigali","Africa/Maputo|Africa/Lubumbashi","Africa/Maputo|Africa/Lusaka","Africa/Nairobi|Africa/Addis_Ababa","Africa/Nairobi|Africa/Asmara","Africa/Nairobi|Africa/Asmera","Africa/Nairobi|Africa/Dar_es_Salaam","Africa/Nairobi|Africa/Djibouti","Africa/Nairobi|Africa/Juba","Africa/Nairobi|Africa/Kampala","Africa/Nairobi|Africa/Mogadishu","Africa/Nairobi|Indian/Antananarivo","Africa/Nairobi|Indian/Comoro","Africa/Nairobi|Indian/Mayotte","America/Adak|America/Atka","America/Adak|US/Aleutian","America/Anchorage|America/Juneau","America/Anchorage|America/Nome","America/Anchorage|America/Sitka","America/Anchorage|America/Yakutat","America/Anchorage|US/Alaska","America/Campo_Grande|America/Cuiaba","America/Chicago|America/Indiana/Knox","America/Chicago|America/Indiana/Tell_City","America/Chicago|America/Knox_IN","America/Chicago|America/Matamoros","America/Chicago|America/Menominee","America/Chicago|America/North_Dakota/Beulah","America/Chicago|America/North_Dakota/Center","America/Chicago|America/North_Dakota/New_Salem","America/Chicago|America/Rainy_River","America/Chicago|America/Rankin_Inlet","America/Chicago|America/Resolute","America/Chicago|America/Winnipeg","America/Chicago|CST6CDT","America/Chicago|Canada/Central","America/Chicago|US/Central","America/Chicago|US/Indiana-Starke","America/Chihuahua|America/Mazatlan","America/Chihuahua|Mexico/BajaSur","America/Denver|America/Boise","America/Denver|America/Cambridge_Bay","America/Denver|America/Edmonton","America/Denver|America/Inuvik","America/Denver|America/Ojinaga","America/Denver|America/Shiprock","America/Denver|America/Yellowknife","America/Denver|Canada/Mountain","America/Denver|MST7MDT","America/Denver|Navajo","America/Denver|US/Mountain","America/Fortaleza|America/Araguaina","America/Fortaleza|America/Argentina/Buenos_Aires","America/Fortaleza|America/Argentina/Catamarca","America/Fortaleza|America/Argentina/ComodRivadavia","America/Fortaleza|America/Argentina/Cordoba","America/Fortaleza|America/Argentina/Jujuy","America/Fortaleza|America/Argentina/La_Rioja","America/Fortaleza|America/Argentina/Mendoza","America/Fortaleza|America/Argentina/Rio_Gallegos","America/Fortaleza|America/Argentina/Salta","America/Fortaleza|America/Argentina/San_Juan","America/Fortaleza|America/Argentina/San_Luis","America/Fortaleza|America/Argentina/Tucuman","America/Fortaleza|America/Argentina/Ushuaia","America/Fortaleza|America/Bahia","America/Fortaleza|America/Belem","America/Fortaleza|America/Buenos_Aires","America/Fortaleza|America/Catamarca","America/Fortaleza|America/Cayenne","America/Fortaleza|America/Cordoba","America/Fortaleza|America/Jujuy","America/Fortaleza|America/Maceio","America/Fortaleza|America/Mendoza","America/Fortaleza|America/Paramaribo","America/Fortaleza|America/Recife","America/Fortaleza|America/Rosario","America/Fortaleza|America/Santarem","America/Fortaleza|Antarctica/Rothera","America/Fortaleza|Atlantic/Stanley","America/Fortaleza|Etc/GMT+3","America/Halifax|America/Glace_Bay","America/Halifax|America/Goose_Bay","America/Halifax|America/Moncton","America/Halifax|America/Thule","America/Halifax|Atlantic/Bermuda","America/Halifax|Canada/Atlantic","America/Havana|Cuba","America/La_Paz|America/Boa_Vista","America/La_Paz|America/Guyana","America/La_Paz|America/Manaus","America/La_Paz|America/Porto_Velho","America/La_Paz|Brazil/West","America/La_Paz|Etc/GMT+4","America/Lima|America/Bogota","America/Lima|America/Eirunepe","America/Lima|America/Guayaquil","America/Lima|America/Porto_Acre","America/Lima|America/Rio_Branco","America/Lima|Brazil/Acre","America/Lima|Etc/GMT+5","America/Los_Angeles|America/Dawson","America/Los_Angeles|America/Ensenada","America/Los_Angeles|America/Santa_Isabel","America/Los_Angeles|America/Tijuana","America/Los_Angeles|America/Vancouver","America/Los_Angeles|America/Whitehorse","America/Los_Angeles|Canada/Pacific","America/Los_Angeles|Canada/Yukon","America/Los_Angeles|Mexico/BajaNorte","America/Los_Angeles|PST8PDT","America/Los_Angeles|US/Pacific","America/Los_Angeles|US/Pacific-New","America/Managua|America/Belize","America/Managua|America/Costa_Rica","America/Managua|America/El_Salvador","America/Managua|America/Guatemala","America/Managua|America/Regina","America/Managua|America/Swift_Current","America/Managua|America/Tegucigalpa","America/Managua|Canada/Saskatchewan","America/Mexico_City|America/Bahia_Banderas","America/Mexico_City|America/Merida","America/Mexico_City|America/Monterrey","America/Mexico_City|Mexico/General","America/New_York|America/Detroit","America/New_York|America/Fort_Wayne","America/New_York|America/Indiana/Indianapolis","America/New_York|America/Indiana/Marengo","America/New_York|America/Indiana/Petersburg","America/New_York|America/Indiana/Vevay","America/New_York|America/Indiana/Vincennes","America/New_York|America/Indiana/Winamac","America/New_York|America/Indianapolis","America/New_York|America/Iqaluit","America/New_York|America/Kentucky/Louisville","America/New_York|America/Kentucky/Monticello","America/New_York|America/Louisville","America/New_York|America/Montreal","America/New_York|America/Nassau","America/New_York|America/Nipigon","America/New_York|America/Pangnirtung","America/New_York|America/Thunder_Bay","America/New_York|America/Toronto","America/New_York|Canada/Eastern","America/New_York|EST5EDT","America/New_York|US/East-Indiana","America/New_York|US/Eastern","America/New_York|US/Michigan","America/Noronha|Atlantic/South_Georgia","America/Noronha|Brazil/DeNoronha","America/Noronha|Etc/GMT+2","America/Panama|America/Atikokan","America/Panama|America/Cayman","America/Panama|America/Coral_Harbour","America/Panama|America/Jamaica","America/Panama|EST","America/Panama|Jamaica","America/Phoenix|America/Creston","America/Phoenix|America/Dawson_Creek","America/Phoenix|America/Hermosillo","America/Phoenix|MST","America/Phoenix|US/Arizona","America/Santiago|Chile/Continental","America/Santo_Domingo|America/Anguilla","America/Santo_Domingo|America/Antigua","America/Santo_Domingo|America/Aruba","America/Santo_Domingo|America/Barbados","America/Santo_Domingo|America/Blanc-Sablon","America/Santo_Domingo|America/Curacao","America/Santo_Domingo|America/Dominica","America/Santo_Domingo|America/Grenada","America/Santo_Domingo|America/Guadeloupe","America/Santo_Domingo|America/Kralendijk","America/Santo_Domingo|America/Lower_Princes","America/Santo_Domingo|America/Marigot","America/Santo_Domingo|America/Martinique","America/Santo_Domingo|America/Montserrat","America/Santo_Domingo|America/Port_of_Spain","America/Santo_Domingo|America/Puerto_Rico","America/Santo_Domingo|America/St_Barthelemy","America/Santo_Domingo|America/St_Kitts","America/Santo_Domingo|America/St_Lucia","America/Santo_Domingo|America/St_Thomas","America/Santo_Domingo|America/St_Vincent","America/Santo_Domingo|America/Tortola","America/Santo_Domingo|America/Virgin","America/Sao_Paulo|Brazil/East","America/St_Johns|Canada/Newfoundland","Antarctica/Palmer|America/Punta_Arenas","Asia/Baghdad|Antarctica/Syowa","Asia/Baghdad|Asia/Aden","Asia/Baghdad|Asia/Bahrain","Asia/Baghdad|Asia/Kuwait","Asia/Baghdad|Asia/Qatar","Asia/Baghdad|Asia/Riyadh","Asia/Baghdad|Etc/GMT-3","Asia/Baghdad|Europe/Kirov","Asia/Baghdad|Europe/Minsk","Asia/Bangkok|Antarctica/Davis","Asia/Bangkok|Asia/Ho_Chi_Minh","Asia/Bangkok|Asia/Krasnoyarsk","Asia/Bangkok|Asia/Novokuznetsk","Asia/Bangkok|Asia/Phnom_Penh","Asia/Bangkok|Asia/Saigon","Asia/Bangkok|Asia/Vientiane","Asia/Bangkok|Etc/GMT-7","Asia/Bangkok|Indian/Christmas","Asia/Dhaka|Antarctica/Vostok","Asia/Dhaka|Asia/Almaty","Asia/Dhaka|Asia/Bishkek","Asia/Dhaka|Asia/Dacca","Asia/Dhaka|Asia/Kashgar","Asia/Dhaka|Asia/Omsk","Asia/Dhaka|Asia/Qyzylorda","Asia/Dhaka|Asia/Thimbu","Asia/Dhaka|Asia/Thimphu","Asia/Dhaka|Asia/Urumqi","Asia/Dhaka|Etc/GMT-6","Asia/Dhaka|Indian/Chagos","Asia/Dubai|Asia/Muscat","Asia/Dubai|Asia/Tbilisi","Asia/Dubai|Asia/Yerevan","Asia/Dubai|Etc/GMT-4","Asia/Dubai|Europe/Samara","Asia/Dubai|Indian/Mahe","Asia/Dubai|Indian/Mauritius","Asia/Dubai|Indian/Reunion","Asia/Gaza|Asia/Hebron","Asia/Hong_Kong|Hongkong","Asia/Jakarta|Asia/Pontianak","Asia/Jerusalem|Asia/Tel_Aviv","Asia/Jerusalem|Israel","Asia/Kamchatka|Asia/Anadyr","Asia/Kamchatka|Etc/GMT-12","Asia/Kamchatka|Kwajalein","Asia/Kamchatka|Pacific/Funafuti","Asia/Kamchatka|Pacific/Kwajalein","Asia/Kamchatka|Pacific/Majuro","Asia/Kamchatka|Pacific/Nauru","Asia/Kamchatka|Pacific/Tarawa","Asia/Kamchatka|Pacific/Wake","Asia/Kamchatka|Pacific/Wallis","Asia/Kathmandu|Asia/Katmandu","Asia/Kolkata|Asia/Calcutta","Asia/Kuala_Lumpur|Asia/Brunei","Asia/Kuala_Lumpur|Asia/Irkutsk","Asia/Kuala_Lumpur|Asia/Kuching","Asia/Kuala_Lumpur|Asia/Singapore","Asia/Kuala_Lumpur|Etc/GMT-8","Asia/Kuala_Lumpur|Singapore","Asia/Makassar|Asia/Ujung_Pandang","Asia/Rangoon|Asia/Yangon","Asia/Rangoon|Indian/Cocos","Asia/Seoul|ROK","Asia/Shanghai|Asia/Chongqing","Asia/Shanghai|Asia/Chungking","Asia/Shanghai|Asia/Harbin","Asia/Shanghai|Asia/Macao","Asia/Shanghai|Asia/Macau","Asia/Shanghai|Asia/Taipei","Asia/Shanghai|PRC","Asia/Shanghai|ROC","Asia/Tashkent|Antarctica/Mawson","Asia/Tashkent|Asia/Aqtau","Asia/Tashkent|Asia/Aqtobe","Asia/Tashkent|Asia/Ashgabat","Asia/Tashkent|Asia/Ashkhabad","Asia/Tashkent|Asia/Atyrau","Asia/Tashkent|Asia/Dushanbe","Asia/Tashkent|Asia/Oral","Asia/Tashkent|Asia/Samarkand","Asia/Tashkent|Asia/Yekaterinburg","Asia/Tashkent|Etc/GMT-5","Asia/Tashkent|Indian/Kerguelen","Asia/Tashkent|Indian/Maldives","Asia/Tehran|Iran","Asia/Tokyo|Japan","Asia/Ulaanbaatar|Asia/Choibalsan","Asia/Ulaanbaatar|Asia/Ulan_Bator","Asia/Vladivostok|Antarctica/DumontDUrville","Asia/Vladivostok|Asia/Ust-Nera","Asia/Vladivostok|Etc/GMT-10","Asia/Vladivostok|Pacific/Chuuk","Asia/Vladivostok|Pacific/Port_Moresby","Asia/Vladivostok|Pacific/Truk","Asia/Vladivostok|Pacific/Yap","Asia/Yakutsk|Asia/Dili","Asia/Yakutsk|Asia/Khandyga","Asia/Yakutsk|Etc/GMT-9","Asia/Yakutsk|Pacific/Palau","Atlantic/Azores|America/Scoresbysund","Atlantic/Cape_Verde|Etc/GMT+1","Australia/Adelaide|Australia/Broken_Hill","Australia/Adelaide|Australia/South","Australia/Adelaide|Australia/Yancowinna","Australia/Brisbane|Australia/Lindeman","Australia/Brisbane|Australia/Queensland","Australia/Darwin|Australia/North","Australia/Lord_Howe|Australia/LHI","Australia/Perth|Australia/West","Australia/Sydney|Australia/ACT","Australia/Sydney|Australia/Canberra","Australia/Sydney|Australia/Currie","Australia/Sydney|Australia/Hobart","Australia/Sydney|Australia/Melbourne","Australia/Sydney|Australia/NSW","Australia/Sydney|Australia/Tasmania","Australia/Sydney|Australia/Victoria","Etc/UCT|UCT","Etc/UTC|Etc/Universal","Etc/UTC|Etc/Zulu","Etc/UTC|UTC","Etc/UTC|Universal","Etc/UTC|Zulu","Europe/Athens|Asia/Nicosia","Europe/Athens|EET","Europe/Athens|Europe/Bucharest","Europe/Athens|Europe/Helsinki","Europe/Athens|Europe/Kiev","Europe/Athens|Europe/Mariehamn","Europe/Athens|Europe/Nicosia","Europe/Athens|Europe/Riga","Europe/Athens|Europe/Sofia","Europe/Athens|Europe/Tallinn","Europe/Athens|Europe/Uzhgorod","Europe/Athens|Europe/Vilnius","Europe/Athens|Europe/Zaporozhye","Europe/Chisinau|Europe/Tiraspol","Europe/Dublin|Eire","Europe/Istanbul|Asia/Istanbul","Europe/Istanbul|Turkey","Europe/Lisbon|Atlantic/Canary","Europe/Lisbon|Atlantic/Faeroe","Europe/Lisbon|Atlantic/Faroe","Europe/Lisbon|Atlantic/Madeira","Europe/Lisbon|Portugal","Europe/Lisbon|WET","Europe/London|Europe/Belfast","Europe/London|Europe/Guernsey","Europe/London|Europe/Isle_of_Man","Europe/London|Europe/Jersey","Europe/London|GB","Europe/London|GB-Eire","Europe/Moscow|Europe/Simferopol","Europe/Moscow|W-SU","Europe/Paris|Africa/Ceuta","Europe/Paris|Arctic/Longyearbyen","Europe/Paris|Atlantic/Jan_Mayen","Europe/Paris|CET","Europe/Paris|Europe/Amsterdam","Europe/Paris|Europe/Andorra","Europe/Paris|Europe/Belgrade","Europe/Paris|Europe/Berlin","Europe/Paris|Europe/Bratislava","Europe/Paris|Europe/Brussels","Europe/Paris|Europe/Budapest","Europe/Paris|Europe/Busingen","Europe/Paris|Europe/Copenhagen","Europe/Paris|Europe/Gibraltar","Europe/Paris|Europe/Ljubljana","Europe/Paris|Europe/Luxembourg","Europe/Paris|Europe/Madrid","Europe/Paris|Europe/Malta","Europe/Paris|Europe/Monaco","Europe/Paris|Europe/Oslo","Europe/Paris|Europe/Podgorica","Europe/Paris|Europe/Prague","Europe/Paris|Europe/Rome","Europe/Paris|Europe/San_Marino","Europe/Paris|Europe/Sarajevo","Europe/Paris|Europe/Skopje","Europe/Paris|Europe/Stockholm","Europe/Paris|Europe/Tirane","Europe/Paris|Europe/Vaduz","Europe/Paris|Europe/Vatican","Europe/Paris|Europe/Vienna","Europe/Paris|Europe/Warsaw","Europe/Paris|Europe/Zagreb","Europe/Paris|Europe/Zurich","Europe/Paris|Poland","Europe/Ulyanovsk|Europe/Astrakhan","Pacific/Auckland|Antarctica/McMurdo","Pacific/Auckland|Antarctica/South_Pole","Pacific/Auckland|NZ","Pacific/Bougainville|Antarctica/Macquarie","Pacific/Bougainville|Asia/Srednekolymsk","Pacific/Bougainville|Etc/GMT-11","Pacific/Bougainville|Pacific/Efate","Pacific/Bougainville|Pacific/Guadalcanal","Pacific/Bougainville|Pacific/Kosrae","Pacific/Bougainville|Pacific/Noumea","Pacific/Bougainville|Pacific/Pohnpei","Pacific/Bougainville|Pacific/Ponape","Pacific/Chatham|NZ-CHAT","Pacific/Easter|Chile/EasterIsland","Pacific/Fakaofo|Etc/GMT-13","Pacific/Fakaofo|Pacific/Enderbury","Pacific/Galapagos|Etc/GMT+6","Pacific/Gambier|Etc/GMT+9","Pacific/Guam|Pacific/Saipan","Pacific/Honolulu|HST","Pacific/Honolulu|Pacific/Johnston","Pacific/Honolulu|US/Hawaii","Pacific/Kiritimati|Etc/GMT-14","Pacific/Niue|Etc/GMT+11","Pacific/Pago_Pago|Pacific/Midway","Pacific/Pago_Pago|Pacific/Samoa","Pacific/Pago_Pago|US/Samoa","Pacific/Pitcairn|Etc/GMT+8","Pacific/Tahiti|Etc/GMT+10","Pacific/Tahiti|Pacific/Rarotonga"],countries:[]},h=r()||i,m=a()||o,f=c()||s,g=d()||l,v="GMT";p.zones.push("US/ALWAYS_EDT|EDT|40|0||23e5"),u.populateTimeZones(p),h.extend(m),h.extend(f),h.extend(g);class b{constructor(...e){0===arguments.length&&y.mockedDate?this.inst=h(y.mockedDate):arguments[0]instanceof b||arguments[0]&&arguments[0].inst&&y.isDateUtils(arguments[0].inst)?this.inst=arguments[0].inst.clone():arguments[0]&&arguments[1]&&S(arguments[1])&&arguments[1].length<"YYYY-MM-DD".length?this.inst=h(arguments[0],{format:arguments[1]}):this.inst=h(arguments[0])}format(e){if(e&&(e=e.replace("zz","z")),this.timeZone){const i=(t=this.inst,n=this.timeZone,"01"===t.format("MM")&&"12"===t.format("MM",{timeZone:n})&&"01"===t.format("DD")&&"31"===t.format("DD",{timeZone:n})?"minusYear":"12"===t.format("MM")&&"01"===t.format("MM",{timeZone:n})&&"31"===t.format("DD")&&"01"===t.format("DD",{timeZone:n})?"plusYear":null);return i?function(e,t,n){let i=e.inst.format(t,{timeZone:e.timeZone});return i="minusYear"===n?i.replace(e.inst.year(),e.inst.year()-1):i.replace(e.inst.year(),e.inst.year()+1),i}(this,e,i):this.inst.format(e,{timeZone:this.timeZone})}var t,n;return this.inst.format(e)}toISOString(e){return this.inst.isValid()?this.inst.toISOString(e):null}tz(e){return this.inst=h(this.inst.toDate()),this.timeZone=e,this}diff(e,t,n){return this.inst.diff(e.inst,t,n)}subtract(e,t){return this.inst=this.inst.subtract(e,t),this}isBefore(e){return this.inst.isBefore(e&&e.inst?e.inst:e)}toDate(){return this.inst.toDate()}startOf(e){return this.inst=this.inst.startOf(e),this}toString(){return this.inst.toString()}year(){return this.timeZone?parseInt(this.format("YYYY")):this.inst.year()}month(){return this.timeZone?parseInt(this.format("MM"))-1:this.inst.month()}date(){return this.timeZone?parseInt(this.format("DD")):this.inst.date()}hours(e){return this.hour(e)}hour(e){return"number"==typeof e?(this.inst=this.inst.set("hour",e),this):this.timeZone?parseInt(this.format("HH")):this.inst.hour()}minutes(e){return this.minute(e)}minute(e){return"number"==typeof e?(this.inst=this.inst.set("minute",e),this):this.timeZone?parseInt(this.format("mm")):this.inst.minute()}seconds(e){return this.second(e)}second(e){return"number"==typeof e?(this.inst=this.inst.set("second",e),this):this.timeZone?parseInt(this.inst.format("ss")):this.inst.second()}milliseconds(e){return this.millisecond(e)}millisecond(e){return"number"==typeof e?(this.inst=this.inst.set("millisecond",e),this):this.inst.millisecond()}get(e){switch(e){case"date":return this.date();case"year":return this.year();case"month":return this.month();case"hour":return this.hour();case"minute":return this.minute();case"second":return this.second();case"millisecond":return this.millisecond()}}set(e,t){let n;return"object"==typeof e?Object.keys(e).forEach((t=>{n=this.getValueTimeZone(t,e[t]),this.inst=this.inst.set(t,n)})):(n=this.getValueTimeZone(e,t),this.inst=this.inst.set(e,n)),this}isValid(){return this.inst.isValid()}utc(){return this.inst=this.inst.utc(),this}add(e,t){return this.inst=this.inst.add(e,t),this}clone(){const e=y(this.inst.clone());return e.timeZone=this.timeZone,e}isAfter(e){return this.inst.isAfter(e&&e.inst?e.inst:e)}daysInMonth(){return this.inst.daysInMonth()}isSame(e,t){return t?"year"===t||"years"===t?this.sameYear(e):"month"===t||"months"===t?this.sameYear(e)&&this.sameMonth(e):"day"===t||"days"===t?this.sameYear(e)&&this.sameMonth(e)&&this.sameDate(e):"hour"===t||"hours"===t?this.sameYear(e)&&this.sameMonth(e)&&this.sameDate(e)&&this.sameHour(e):("minute"===t||"minutes"===t)&&this.sameYear(e)&&this.sameMonth(e)&&this.sameDate(e)&&this.sameHour(e)&&this.sameMinute(e):this.inst.isSame(e&&e.inst?e.inst:e)}toJSON(){return this.inst.toJSON()}valueOf(){return this.inst.valueOf()}endOf(e){return this.inst=this.inst.endOf(e),this}fromNow(e){return this.inst.fromNow(e)}getValueTimeZone(e,t){if(!this.timeZone||"hour"!==e)return t;let n=h(this.inst.toDate(),{timeZone:this.timeZone}).set("hour",t);return t+(parseInt(n.format("HH"))-parseInt(n.format("HH",{timeZone:this.timeZone})))}sameYear(e){return this.year()===e.year()}sameMonth(e){return this.month()===e.month()}sameDate(e){return this.date()===e.date()}sameHour(e){return this.hour()===e.hour()}sameMinute(e){return this.minute()===e.minute()}}function y(...e){return new b(...e)}function S(e){return e!==y.ISO_8601&&"YYYY-MM-DD[T]HH:mm:ss[Z]"!==e}y.utc=(e,t,n)=>{let i;if(""===e)i=y(h("invalid"));else if(e)if(t){let n;S(t)?(n=h(e,{format:t}),n=h(n,{timeZone:v})):n=h(e,{timeZone:v}),i=y(h(n))}else i=y(h(e).utc());else i=y(h().utc());return i.timeZone=v,i},y.tz=(e,t,n,i)=>{let r;if(i){let n;n=S(t)?h(e):h(e,{format:t}),r=y(h(n,{timeZone:i})),r.timeZone=i}else r=y(h(e)),r.timeZone=t||v;return r},y.tzGuess=()=>Intl.DateTimeFormat().resolvedOptions().timeZone,y.now=()=>y(h()),y.lib=h,y.weekdays=e=>{const t=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];return"number"==typeof e?t[e%t.length]:t},y.isMoment=e=>h.isDayjs(e&&e.inst?e.inst:e),y.isDateUtils=e=>h.isDayjs(e&&e.inst?e.inst:e),y.ISO_8601="YYYY-MM-DDTHH:mm:ssZ",y.mockedDate=null;const C=y},93996:(e,t,n)=>{"use strict";n.d(t,{M:()=>a});var i=n(30173),r=n(46333),o=n(57826);let a=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({providers:[i.U],imports:[[r.d]]}),e})()},30173:(e,t,n)=>{"use strict";n.d(t,{U:()=>p});var i=n(57826),r=n(85089),o=n(36797),a=n(82846),s=n(81899),c=n(77247),l=n(6856);const d=[{regex:"SE (\\d+[\\.\\d]+)",name:"Sogou-Explorer"},{regex:"M?QQBrowser/Mini([\\.\\d]+)?",name:"QQ-Browser-Mini"},{regex:"M?QQBrowser(?:/([\\.\\d]+))?",name:"QQ-Browser"},{regex:"(?:Maxthon|MxBrowser)[ /](\\d+[\\.\\d]+)",name:"Maxthon"},{regex:"(?:Maxthon|MyIE2)",name:"Maxthon"}];var u=n(1135);let p=(()=>{class e{constructor(t,n,i,r,o,a){this.device=t,this.contentVariant=n,this.cookieStorageService=i,this.windowService=r,this.platformId=o,this.request=a,this.deviceOS="";const s=(0,l.isPlatformServer)(this.platformId)?this.request.headers[e.DEVICE_HEADER_NAME]:this.cookieStorageService.get(e.DEVICE_COOKIE_NAME);if(s&&"Normal"!=s.split("|")[0]){const e=s.split("|")[0];this.isDesktopDevice="Desktop"==e,this.isMobileDevice="Mobile"==e,this.isTabletDevice="Mobile"==e}else this.isDesktopDevice=this.device.isDesktop(),this.isMobileDevice=this.device.isMobile(),this.isTabletDevice=this.device.isTablet();this.setDeviceOS(),this.windowService.getIsPlatformBrowser()&&(this.window=this.windowService.window())}isDesktop(){return this.isDesktopDevice}isMobile(){return this.isMobileDevice}isTablet(){return this.isTabletDevice}isPWA(){return!!this.windowService.window().navigator.standalone}getDeviceType(){return this.isMobile()?"mobile":this.isTablet()?"tablet":"desktop"}getDeviceOS(){return this.deviceOS}setDeviceOS(){this.deviceOS=this.getOperatingSystem()}getOperatingSystem(){switch(this.contentVariant.cookieVariant.os){case"w":return o.U.WINDOWS;case"mac":return o.U.MAC;case"a":return o.U.ANDROID;case"li":return o.U.LINUX;case"ios":return o.U.IOS;default:return o.U.UNKNOWN}}getBrowser(){return this.device.browser}getBrowserNameExtended(){const e=this.device.userAgent,t=d.find((t=>this.userAgentRegexChecker(t.regex,e)));return t?t.name.toLowerCase():this.getBrowser().toLocaleLowerCase()}getBrowserVersion(){return this.device.browser_version}getOSVersion(){return this.device.os_version}getScreenWidth(){return void 0===this.window?"":this.window.screen.width.toString()}getScreenHeight(){return void 0===this.window?"":this.window.screen.height.toString()}userAgentRegexChecker(e,t){const n=`(?:^|[^A-Z0-9-_]|[^A-Z0-9-]_|sprd-)(?:${e})`;try{return RegExp(n,"i").test(t)}catch{return!1}}}return e.DEVICE_COOKIE_NAME="Device-Type",e.DEVICE_HEADER_NAME="x-device-type",e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](u.x0),i["ɵɵinject"](r.u),i["ɵɵinject"](a.G),i["ɵɵinject"](s.u),i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](c.Z,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},36797:(e,t,n)=>{"use strict";n.d(t,{U:()=>i});var i=(()=>(function(e){e.WINDOWS="windows",e.WINDOWS_PHONE="windows-phone",e.MAC="macos",e.IOS="ios",e.ANDROID="android",e.LINUX="linux",e.UNKNOWN="unknown"}(i||(i={})),i))()},25:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var i=n(99604),r=n(46333),o=n(79346),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({providers:[i.p],imports:[[r.d,o.C]]}),e})()},99604:(e,t,n)=>{"use strict";n.d(t,{p:()=>o});var i=n(45965),r=n(57826);let o=(()=>{class e{constructor(e){this.siteConfigService=e}getDiscourseForumUrl(e,t,n){if(this.shouldNavigateToForum(t))return this.buildForumUrl(e,t,n)}shouldNavigateToForum(e){return e.returnUrl&&e.sig&&e.sso}buildForumUrl(e,t,n){const i=this.buildServicestUrl(e),{returnUrl:r,sso:o,sig:a}=t;let s=`${i}${r}${this.getFirstParametersDelimeter(r)}sso=${o}&sig=${a}`;return n?s+`&username=${n}`:s}buildServicestUrl(t){return t.protocol+"//"+this.siteConfigService.getSiteConfigProp(e.SERVICE_DOMAIN)}getFirstParametersDelimeter(e){return-1===e.indexOf("?")?"?":"&"}}return e.SERVICE_DOMAIN="serviceDomain",e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.r))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},61893:(e,t,n)=>{"use strict";n.d(t,{S:()=>c});var i=n(73753),r=n(42998),o=n(45965),a=n(81516),s=n(57826);let c=(()=>{class e{constructor(e,t,n){this.firstTimeVisitorService=e,this.siteConfigService=t,this.router=n}canActivate(e,t){return this.siteConfigService.getSiteConfigProp("firstTimeVisitorEnabled")?this.firstTimeVisitorService.isFirstTime&&this.router.events.pipe((0,r.filter)((e=>e instanceof i.ResolveEnd)),(0,r.take)(1)).subscribe((e=>{this.onRootPage(t)?this.router.events.pipe((0,r.filter)((e=>e instanceof i.NavigationStart)),(0,r.take)(1)).subscribe((e=>{this.firstTimeVisitorService.setVisited()})):this.firstTimeVisitorService.setVisited()})):this.firstTimeVisitorService.setVisited(),!0}onRootPage(e){let t=e.url,n=!1;return/(\?)(.*)/.test(e.url)&&(n=this.isAnOverlay(e.url),t=e.url.replace(/(\?)(.*)/,"")),"/"===t&&!n}isAnOverlay(e){return/overlay=/.test(e)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](a.HV),s["ɵɵinject"](o.r),s["ɵɵinject"](i.Router))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},94410:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var i=n(81516),r=n(61893),o=n(57826);let a=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({providers:[i.HV,r.S],imports:[[]]}),e})()},81516:(e,t,n)=>{"use strict";n.d(t,{HV:()=>u});var i=n(6856),r=n(57826),o=n(4309),a=n(55640),s=n(82846),c=n(4473);const l="ftv",d="VISITED";let u=(()=>{class e{constructor(e,t,n,r){if(this.cookieStorageService=e,this.browserStorageService=t,this.platformId=n,this.transferStateServiceCache=r,(0,i.isPlatformServer)(this.platformId))this.cookieStorageService.get(d)?this.firstTimeVisitor=new o.BehaviorSubject(!1):(r.saveData(l,!0),this.firstTimeVisitor=new o.BehaviorSubject(!0));else if((0,i.isPlatformBrowser)(this.platformId))if(this.transferStateServiceCache.isFromUniversal())if(this.transferStateServiceCache.getData(l)){this.firstTimeVisitor=new o.BehaviorSubject(!0),this.cookieStorageService.set(d,"true");const e=(new Date).getTime().toString();this.browserStorageService.set(l,e)}else this.firstTimeVisitor=new o.BehaviorSubject(!1);else{if(this.browserStorageService.get(l))this.firstTimeVisitor=new o.BehaviorSubject(!1);else{this.firstTimeVisitor=new o.BehaviorSubject(!0);const e=(new Date).getTime().toString();this.browserStorageService.set(l,e)}this.cookieStorageService.get(d)||this.cookieStorageService.set(d,"true")}}get isVisited(){return!this.firstTimeVisitor.getValue()}get isFirstTime(){return this.firstTimeVisitor.getValue()}setVisited(){this.firstTimeVisitor.getValue()&&this.firstTimeVisitor.next(!1)}getFirstTimeVisited(){return this.firstTimeVisitor.asObservable()}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](s.G),r["ɵɵinject"](a.z),r["ɵɵinject"](r.PLATFORM_ID),r["ɵɵinject"](c.m))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},56614:(e,t,n)=>{"use strict";n.d(t,{F:()=>l});var i=n(55640),r=n(82846),o=n(88323),a=n(79308),s=n(49379),c=n(57826);let l=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=c["ɵɵdefineNgModule"]({type:e}),e.ɵinj=c["ɵɵdefineInjector"]({providers:[i.z,r.G,o.n,a.u,s.M]}),e})()},55640:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var i=n(82846),r=n(88323),o=n(57826);let a=(()=>{class e{constructor(e,t){this.cookieStorageService=e,this.localStorageService=t,t.isSupported()?this.storagePersistent=this.localStorageService:this.storagePersistent=this.cookieStorageService}get(e){return this.storagePersistent.get(e)}set(e,t){this.storagePersistent.set(e,t)}setWithExpiration(e,t,n){this.storagePersistent.setWithExpiration(e,t,n)}remove(e){return this.storagePersistent.remove(e)}getAndRemove(e){let t=this.get(e);return t&&this.remove(e),t}isSupported(){return this.storagePersistent.isSupported()}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.G),o["ɵɵinject"](r.n))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},82846:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var i=n(57826),r=n(6856),o=n(49379),a=n(77247);let s=(()=>{class e{constructor(e,t,n,i){this.platformId=e,this.hostnameService=t,this.document=i,this.obtainDomain=(e=this.hostnameService.hostname)=>e?e.substr(e.indexOf(".")+1):"",n&&(this.cookies=n.cookies)}get(e){if((0,r.isPlatformServer)(this.platformId)){if(this.cookies&&void 0!==this.cookies[e])return this.cookies[e]}else if(this.document&&this.document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)"))return this.document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"))[2];return null}set(e,t,n="/",i=this.obtainDomain(),o,a,s,c){if((0,r.isPlatformBrowser)(this.platformId)&&this.document){const r=new Date;a?r.setDate(r.getDate()+a):s?r.setMinutes(r.getMinutes()+s):r.setFullYear(r.getFullYear()+10);const l=e+"="+t+"; path="+n+"; domain="+i+";",d=c?`SameSite=${c};`:"SameSite=Lax;";"SameSite=None;"!==d&&"SameSite=Lax;"!==d||(o="http:"!==this.location().protocol);const u=o&&"JOINED"!==e?"":" expires="+r.toUTCString()+";",p=o?" Secure;":"";this.document.cookie=l+u+p+d}}setWithExpiration(e,t,n){this.set(e,t,void 0,void 0,void 0,n)}remove(e,t="/",n=this.obtainDomain(),i=!0){if((0,r.isPlatformBrowser)(this.platformId)&&this.document){let r=e+"=; expires=Thu, 01 Jan 1970 00:00:01 GMT; path="+t+";";this.document.cookie=i?r+" domain="+n+";":r}}isSupported(){let e;try{this.document.cookie="key=testing",e=this.document.cookie.length>0,this.document.cookie="key=testing; expires=Thu, 01 Jan 1970 00:00:01 GMT"}catch(e){return!1}return e}location(){return this.document.location}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID,8),i["ɵɵinject"](o.M,8),i["ɵɵinject"](a.Z,8),i["ɵɵinject"](r.DOCUMENT,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},85089:(e,t,n)=>{"use strict";n.d(t,{u:()=>o});var i=n(82846),r=n(57826);let o=(()=>{class e{constructor(t){this.cookieVariant={};const n=t.get(e.COOKIE_VARIANT);n&&n.split("|").forEach((e=>{const[t,n]=e.split(":");this.cookieVariant[t]=n}))}toString(){let e=[];return Object.keys(this.cookieVariant).filter((e=>null!=this.cookieVariant[e]&&this.cookieVariant[e].toString())).forEach((t=>e.push(`${t}:${this.cookieVariant[t]}`))),e.join("|")}}return e.COOKIE_VARIANT="variant",e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.G))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},46333:(e,t,n)=>{"use strict";n.d(t,{d:()=>V});var i=n(81899),r=n(99199),o=n(55640),a=n(57826);let s=(()=>{class e{navigator(){return navigator}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var c=n(82846),l=n(85089),d=n(88323),u=n(36957),p=n(15982);let h=(()=>{class e{constructor(e){this.titleService=e}setTitle(e){this.titleService.setTitle(e)}getTitle(){return this.titleService.getTitle()}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](p.Title))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const m={charset:"string",content:"string",httpEquiv:"string",id:"string",itemprop:"string",name:"string",property:"string",scheme:"string",url:"string"};let f=(()=>{class e{constructor(e,t){this.metaService=e,this.windowService=t}putTags(e){e&&e.forEach((e=>{this.metaService.updateTag(e)}))}getTags(){let e=this.windowService.document().head.getElementsByTagName("meta"),t=[];for(let n=0;n<e.length;n++)t.push(this.toDefinition(e.item(n)));return t}restoreTags(e){this.removeAllTags(),e&&this.metaService.addTags(e)}removeAllTags(){let e=this.windowService.document().head.getElementsByTagName("meta");for(let t=e.length-1;t>=0;t--)this.metaService.removeTagElement(e.item(t))}toDefinition(e){let t={};return Object.keys(m).forEach((n=>{e.hasAttribute(n)&&(t[n]=e[n])})),t}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](p.Meta),a["ɵɵinject"](i.u))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var g=n(49379),v=n(5752),b=n(96299),y=n(80112),S=n(6856),C=n(25595),x=n(26682),I=n.n(x),w=n(61235),E=n.n(w),T=n(42482),P=n.n(T),A=n(88330),_=n.n(A),M=n(34711),O=n.n(M),k=n(30598),j=n.n(k),N=n(57429),D=n.n(N),L=n(34032),R=n.n(L),F=n(91335),B=n.n(F),U=n(20014),H=n.n(U);(0,S.registerLocaleData)(I()),(0,S.registerLocaleData)(E()),(0,S.registerLocaleData)(P()),(0,S.registerLocaleData)(_()),(0,S.registerLocaleData)(O(),j()),(0,S.registerLocaleData)(D(),R()),(0,S.registerLocaleData)(B()),(0,S.registerLocaleData)(H());let V=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({providers:[i.u,r.$,o.z,s,c.G,l.u,d.n,u.T,h,f,g.M,v.a,b.q,y.z,C.O]}),e})()},49379:(e,t,n)=>{"use strict";n.d(t,{M:()=>s});var i=n(57826),r=n(6856),o=n(81899),a=n(77247);let s=(()=>{class e{constructor(e,t,n){this.platformId=e,this.windowService=t,this.request=n}get hostname(){return(0,r.isPlatformServer)(this.platformId)&&this.request?this.request.hostname:this.windowService.location().hostname}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](o.u,8),i["ɵɵinject"](a.Z,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},88323:(e,t,n)=>{"use strict";n.d(t,{n:()=>a});var i=n(57826),r=n(6856);const o="Universal skipped request: LocalStorageService";let a=(()=>{class e{constructor(e){this.platformId=e,this.isLocalStorageSupported=this.isSupported()}get(e){if((0,r.isPlatformBrowser)(this.platformId)&&this.isLocalStorageSupported)return this.processValue(e,localStorage.getItem(e));console.warn(o+".get("+e+")")}set(e,t){return(0,r.isPlatformBrowser)(this.platformId)&&this.isLocalStorageSupported?(localStorage.setItem(e,this.convertToJson(t)),!0):(console.warn(o+".set("+e+","+t+")"),!1)}setWithExpiration(e,t,n){return(0,r.isPlatformBrowser)(this.platformId)&&this.isLocalStorageSupported?(localStorage.setItem(e,this.convertToJson(t,Date.now()+864e5*n)),!0):(console.warn(o+".set("+e+","+t+")"),!1)}remove(e){(0,r.isPlatformBrowser)(this.platformId)&&this.isLocalStorageSupported?localStorage.removeItem(e):console.warn(o+".remove("+e+")")}isSupported(){let e="test";try{localStorage.setItem(e,e),localStorage.removeItem(e)}catch(e){return!1}return!0}convertToJson(e,t){return JSON.stringify({exp:t,value:e})}processValue(e,t){if(!t)return t;try{let n=JSON.parse(t);return n.exp&&Date.now()>=n.exp?(this.remove(e),null):n.value?n.value:t}catch(e){return t}}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},25595:(e,t,n)=>{"use strict";n.d(t,{O:()=>o});var i=n(45965),r=n(57826);let o=(()=>{class e{constructor(e){this.siteConfigService=e}getLocaleTime(e){return this.siteConfigService&&this.siteConfigService.getSiteConfigProp("localeTime")||e}getSiteConfigService(){return this.siteConfigService}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.r,8))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},5752:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var i=n(73753),r=n(57826);const o=/\(.*?\)/;let a=(()=>{class e{constructor(e){this.router=e}isSameOverlay(e){const t=this.router.parseUrl(e),n=t.queryParams.overlay,i=t.root.children.overlay;return n===(!!i&&i.segments[0].path)}urlHasOutlet(e){return o.test(e)}getPrimaryCleanPath(e){const t=this.router.parseUrl(e);return t.root.children.primary&&t.root.children.primary.toString()}getNotOverlayQueryParams(e){const t=this.router.parseUrl(e);return delete t.queryParams.overlay,t.queryParams}transformOutletToPath(e){const t=this.router.parseUrl(e);return t.root.children.overlay?t.root.children.overlay.toString():""}transformOverlayInQueryParam(e){const t=e.root.children.overlay.toString();return delete e.root.children.overlay,e.queryParams.overlay=t,e}urlWithoutOverlayOutlet(e){const t=this.router.parseUrl(e),n=this.transformOverlayInQueryParam(t);return this.router.serializeUrl(n)}urlHasOverlayParam(e){return!!this.router.parseUrl(e).queryParams.overlay}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.Router))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},96299:(e,t,n)=>{"use strict";n.d(t,{q:()=>a});var i=n(81899),r=n(82846),o=n(57826);let a=(()=>{class e{constructor(e,t){this.windowService=e,this.cookieStorageService=t}setPreviewCookieName(e){this.previewCookieName=e}isPreviewMode(){return!!this.cookieStorageService.get(this.previewCookieName)||-1!==this.getURIDomain().indexOf("preview")}getURIDomain(){return this.windowService.getIsPlatformBrowser()&&this.windowService.getHostname()?this.windowService.getHostname():"localhost"}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.u),o["ɵɵinject"](r.G))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},36957:(e,t,n)=>{"use strict";n.d(t,{T:()=>r});var i=n(57826);let r=(()=>{class e{removeQueryParams(e){return e.split(/[?#]/)[0]+(e.split("#")[1]?"#"+e.split("#")[1]:"")}getPath(e){return e.split(/[?#]/)[0]}getFragment(e){return e.split(/[#]/)[1]}getUrlQueryParam(e,t){const n=(e=e.substring(1)).split("&");for(let e=0;e<n.length;e++){const i=n[e].split("=");if(decodeURIComponent(i[0])===t)return decodeURIComponent(i[1])}return null}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},79308:(e,t,n)=>{"use strict";n.d(t,{O:()=>a,u:()=>s});var i=n(57826),r=n(6856);const o="Universal unsupported request: SessionStorageService",a="casinoCategoryUrl";let s=(()=>{class e{constructor(e){this.platformId=e}get(e){if((0,r.isPlatformBrowser)(this.platformId))return sessionStorage.getItem(e)}set(e,t){(0,r.isPlatformBrowser)(this.platformId)?sessionStorage.setItem(e,t):console.info(o+".set("+e+","+t+")")}remove(e){(0,r.isPlatformBrowser)(this.platformId)?sessionStorage.removeItem(e):console.info(o+".remove("+e+")")}setWithExpiration(e,t,n){throw"Not implemented method"}isSupported(){let e="test";try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){return!1}}}return e.BRAND_KEY="brand",e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},80112:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var i=n(45965),r=n(57826);let o=(()=>{class e{constructor(e){this.siteConfigService=e}addUrlPrefix(e){const t=this.getUrlPrefix();return!e||this.startsWithPrefix(e,t)?e:t+e}removeUrlPrefix(e){const t=this.getUrlPrefix();return this.startsWithPrefix(e,t)?e.substr(t.length):e}getUrlPrefix(){const e=this.siteConfigService.getSiteConfigProp("urlPrefix");return e?"/"+e:""}startsWithPrefix(e,t){const n=new RegExp(`^${t}(\\/|\\?|$)`);return e&&n.test(e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.r))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},99199:(e,t,n)=>{"use strict";n.d(t,{$:()=>s,X:()=>a});var i=n(57826),r=n(81899),o=n(6856);let a=(()=>{class e{constructor(e){this.action=e}}return e.SHOW_LOBBY="showLobby",e.SHOW_DEPOSIT="showDeposit",e.SHOW_LOGIN="showLogin",e.SHOW_JOIN="showJoin",e})(),s=(()=>{class e{constructor(e,t,n){this.window=e,this.ngZone=t,this.platformId=n,this.events=new i.EventEmitter,this.userInfoObjectName="UserInfo",(0,o.isPlatformBrowser)(this.platformId)&&(this.window.window()[this.userInfoObjectName]=this.window.window()[this.userInfoObjectName]||{},this.userInfoObject=this.window.window()[this.userInfoObjectName],this.exposeGameLinksToPublic())}emitGameLinksEvent(e){this.ngZone.run((()=>this.events.emit(new a(e))))}exposeGameLinksToPublic(){["showLobby","showDeposit","showLogin","showJoin"].forEach((e=>this.userInfoObject[e]=this.emitGameLinksEvent.bind(this,e)))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](r.u),i["ɵɵinject"](i.NgZone),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},81899:(e,t,n)=>{"use strict";n.d(t,{u:()=>o});var i=n(57826),r=n(6856);let o=(()=>{class e{constructor(t){return this.platformId=t,e.instance||(e.instance=this),e.instance.platformId=t,e.instance}window(){return this.assertIsPlatformBrowser(),window}location(){return this.window().location}document(){return this.window().document}getDocumentReadyState(){return this.window().document.readyState}origin(){return this.location().origin}setLocationUrl(e){this.locationUrl=e}getLocationUrl(){return this.locationUrl}timing(){return this.window().performance&&this.window().performance.timing}addEventListener(e,t,n){this.getIsPlatformBrowser()&&this.window().addEventListener(e,t,n)}assertIsPlatformBrowser(){if(!(0,r.isPlatformBrowser)(this.platformId))throw new Error("Window is NOT available for Universal")}appendFunction(e,t){return!!(0,r.isPlatformBrowser)(this.platformId)&&(this.window()[e]=t,!0)}getHostname(){return this.location().hostname}getHostnameWithoutWWW(){return this.getHostname().replace(/^www\./,"")}getIsPlatformBrowser(){return(0,r.isPlatformBrowser)(this.platformId)}scrollTo(e,t){return!!this.getIsPlatformBrowser()&&("number"==typeof e&&"number"==typeof t?(this.window().scrollTo(e,t),[e,t]):(this.window().scrollTo(e),e))}injectScript(e,t,n=!0){const i=this.generateScript();return this.getIsPlatformBrowser()?(t&&t.forEach((e=>{i.setAttribute(e,"")})),n?i.setAttribute("src",e):i.text=e,this.document().getElementsByTagName("head")[0].appendChild(i),i):i}injectScriptCode(e){const t=this.generateScript();return this.getIsPlatformBrowser()?(t.innerText=e,this.document().getElementsByTagName("body")[0].appendChild(t),t):t}getUrlSearchParams(){return(0,r.isPlatformBrowser)(this.platformId)?new URLSearchParams(this.location().search):new URLSearchParams}getProtocolOrDefault(){return this.getIsPlatformBrowser()?this.location().protocol+"//":"https://"}injectIframe(e,t){const n=document.createElement("iframe");return n.setAttribute("src",e),t&&(n.style.height=t.height,n.style.width=t.width,n.style.display=t.display,n.style.visibility=t.visibility),this.document().getElementsByTagName("body")[0].appendChild(n),n}generateScript(){if(!this.getIsPlatformBrowser())return null;const e=this.document().createElement("script");return e.setAttribute("async",""),e}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},90331:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var i=n(57826),r=n(60906);let o=(()=>{class e{static forRoot(){return{ngModule:e,providers:[r.E]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[]}),e})()},60906:(e,t,n)=>{"use strict";n.d(t,{E:()=>c});var i=n(73753),r=n(4309),o=n(42998),a=n(81899),s=n(57826);let c=(()=>{class e{constructor(e,t){this.router=e,this.windowService=t,this.document=this.windowService.document(),this.documentElement=this.document.documentElement,this.fullScreenChange=(0,r.merge)((0,r.fromEvent)(this.document,"fullscreenchange"),(0,r.fromEvent)(this.document,"webkitfullscreenchange"),(0,r.fromEvent)(this.document,"mozfullscreenchange"),(0,r.fromEvent)(this.document,"MSFullscreenChange")),this.router.events.pipe((0,o.filter)((e=>e instanceof i.NavigationStart))).subscribe((e=>this.exitFullScreen()))}get isSupported(){return!!["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreenEnabled"].find((e=>!!this.document[e]))}get isFullScreen(){return!!["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find((e=>!!this.document[e]))}goFullScreen(e=this.documentElement){if(this.isSupported){const t=["requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen"].find((t=>!!e[t]));e[t]()}}exitFullScreen(){if(this.isFullScreen){const e=["exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen"].find((e=>!!this.document[e]));this.document[e]()}}toggleFullScreen(e=this.documentElement){this.isFullScreen?this.exitFullScreen():this.goFullScreen(e)}getFullScreenChange(){return this.fullScreenChange.pipe((0,o.map)((()=>this.isFullScreen)))}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.Router),s["ɵɵinject"](a.u))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},46890:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var i=n(6856),r=n(35504),o=n(57826);let a=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({providers:[r.I],imports:[[i.CommonModule]]}),e})()},35504:(e,t,n)=>{"use strict";n.d(t,{I:()=>a});var i=n(45965),r=n(82846),o=n(57826);let a=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.cookieStorageService=t}isLeaderboardsAvailable(){return this.siteConfigService.getSiteConfig().leaderboards.enabled||"true"===this.cookieStorageService.get(e.LEADERBOARDS_COOKIE)}}return e.LEADERBOARDS_COOKIE="LEADERBOARDSENABLED",e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.r),o["ɵɵinject"](r.G))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},55073:(e,t,n)=>{"use strict";n.d(t,{F:()=>a});var i=n(82846),r=n(45965),o=n(57826);let a=(()=>{class e{constructor(e,t){this.cookieService=e,this.configService=t,this.subdivision="",this.country=""}getCurrentSubdivisionId(){return this.country||(this.country=this.configService.getSiteConfigProp("countryCode")||""),this.subdivision||(this.subdivision=this.cookieService.get("st")||""),this.country||this.subdivision?`${this.country}:${this.subdivision}`:null}checkAllGamesHaveSameSubdivisionRestriction(e){let t=!0;if(e&&0!==e.length){const n="notInFilter",i=this.getCurrentSubdivisionId();e.every((e=>!(!e[n]||!e[n].countrySubdivision.includes(i))||(t=!1,!1)))}else t=!1;return t}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.G),o["ɵɵinject"](r.r))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},93801:(e,t,n)=>{"use strict";n.d(t,{H:()=>i});class i{static map(e){let t={};return e&&e.notIn&&(t.countrySubdivision=this.getCountrySubdivision(e.notIn.countrySubdivision)),Object.keys(t).length?t:null}static getCountrySubdivision(e){let t=[];return Object.keys(e).map((n=>{t=t.concat(this.generateSubdivisionId(n,e[n]))})),t}static generateSubdivisionId(e,t){const n=e.split(":")[0];return t.map((e=>`${n}:${(e||"").split(":")[1]}`))}static getNotInSubdivisionList(e){return e&&e.countrySubdivision&&e.countrySubdivision.join(",")||null}}},98953:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});class i{}},50371:(e,t,n)=>{"use strict";n.d(t,{D:()=>a,w:()=>o});var i=n(6856),r=n(57826);class o{}let a=(()=>{class e extends o{constructor(e){super(),this.platformId=e}get nativeGlobal(){return(0,i.isPlatformBrowser)(this.platformId)?window:(0,i.isPlatformServer)(this.platformId)?{}:void 0}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](r.PLATFORM_ID))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},57685:(e,t,n)=>{"use strict";n.d(t,{z:()=>o});var i=n(57826),r=n(50371);let o=(()=>{class e{static forBrowser(){return{ngModule:e,providers:[{provide:r.w,useClass:r.D}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})()},84333:(e,t,n)=>{"use strict";n.d(t,{e:()=>a});var i=n(57826),r=n(6856),o=n(55073);let a=(()=>{class e{constructor(e,t,n){this.el=e,this.subDivisionService=t,this.platformId=n,this.isBrowser=(0,r.isPlatformBrowser)(n)}ngOnInit(){if(this.isBrowser&&this.el.nativeElement.dataset.hasOwnProperty("notinSubdivisions")){const e=this.subDivisionService.getCurrentSubdivisionId();this.el.nativeElement.dataset.notinSubdivisions.split(",").includes(e)&&(this.el.nativeElement.parentElement.style.display="none")}}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](o.F),i["ɵɵdirectiveInject"](i.PLATFORM_ID))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxHideBySubdivision",""]]}),e})()},63749:(e,t,n)=>{"use strict";n.d(t,{m:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})()},79952:(e,t,n)=>{"use strict";n.d(t,{t:()=>c});var i=n(57826),r=n(6856),o=n(80218),a=n(26709),s=n(24249);let c=(()=>{class e{constructor(e,t,n,i){this.elementRef=e,this.cdnService=t,this.imageLazyloadService=n,this.platformID=i,this.id=Math.floor(899999*Math.random())+1e5,this.imageDirectiveName=`imageDirective${this.id}`,this.imageLazyloadService.isImageLazyloadEnabled()||this.elementRef.nativeElement.setAttribute("loading","lazy")}set setSrc(e){e&&(this.src=this.checkSlashes(this.recalculateImageSrc(encodeURI(e))))}applyDefaultImage(){this.defaultImage&&this.elementRef.nativeElement.setAttribute("src",this.defaultImage)}ngOnChanges(e){this.src&&(this.imageLazyloadService.isImageLazyloadEnabled()&&!this.elementRef.nativeElement.classList.contains("lazyloaded")?(this.imageLazyloadService.setInitAttributes(this.elementRef.nativeElement,this.src),this.applyDefaultImage()):this.elementRef.nativeElement.setAttribute("src",this.src))}ngOnInit(){if(this.imageLazyloadService.isImageLazyloadEnabled()&&!(0,r.isPlatformServer)(this.platformID)){const e=this.elementRef.nativeElement.getBoundingClientRect();this.imageLazyloadService.initialiseIntersectionObserver(this.imageDirectiveName,!0,e),this.imageLazyloadService.intersectingPositions(this.elementRef.nativeElement,e),this.imageLazyloadService.intersectionObserve(`imageDirective${this.id}`,[this.elementRef.nativeElement])}}recalculateImageSrc(e){return this.isPlaceHolderSrc(e)?e:this.cdnService.getCdnUrlImage(e)}isPlaceHolderSrc(e){return e.startsWith(a.r)}checkSlashes(e){return this.isDataURI(e)?e:this.removeMultipleSlashes(e)}removeMultipleSlashes(e){let t="";if(this.isAbsoluteUrl(e)){const n=e.split("://");t=n[0]+"://",e=n[1]}return t+e.replace(/(\/){2,}/gi,"/")}isDataURI(e){return 0==e.lastIndexOf("data:image",0)}isAbsoluteUrl(e){return e.split("://").length>1}ngOnDestroy(){this.imageLazyloadService.isImageLazyloadEnabled()&&this.imageLazyloadService.intersectionObserverDisconnect(this.imageDirectiveName)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](o.U),i["ɵɵdirectiveInject"](s.h),i["ɵɵdirectiveInject"](i.PLATFORM_ID))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxImage",""]],inputs:{defaultImage:"defaultImage",setSrc:["src","setSrc"]},features:[i["ɵɵNgOnChangesFeature"]]}),e})()},24249:(e,t,n)=>{"use strict";n.d(t,{h:()=>d});var i=n(57826),r=n(6856),o=n(42998),a=n(4309),s=n(45965),c=n(84860),l=n(81899);let d=(()=>{class e{constructor(e,t,n){this.siteConfigService=e,this.windowService=t,this.platformID=n,this.imageIntersectionObservers=[],this.intersectionStopper$=new a.Subject,this.intersectingPositions$=new a.Subject}initialiseIntersectionObserver(e,t=!0,n=null){if(!(0,r.isPlatformServer)(this.platformID)&&!this.imageIntersectionObservers[e]){const i={root:null,rootMargin:`0px 0px ${this.getVerticalPixelDistance()}px 0px`};this.imageIntersectionObservers[e]=new IntersectionObserver(((e,i)=>{e.forEach((e=>{if(e.isIntersecting){n&&this.intersectingPositions$.next({x:n.x,y:n.y});const r=e.target;this.setLoadedAttributes(r),t&&i.unobserve(r)}}))}),i)}}isImageLazyloadEnabled(){return this.siteConfigService.isFeaturePresent(c.L.imageLazyload)}intersectionObserve(e,t){(0,r.isPlatformServer)(this.platformID)||t.forEach((t=>{this.imageIntersectionObservers[e].observe(t)}))}intersectionObserverDisconnect(e){(0,r.isPlatformServer)(this.platformID)||(this.imageIntersectionObservers[e].disconnect(),this.intersectionStopper$.next())}setInitAttributes(e,t){e.classList.add("lazyload"),e.removeAttribute("src"),e.setAttribute("data-src",t)}setLoadedAttributes(e){e.classList.remove("lazyload"),e.classList.add("lazyloaded");const t=e.getAttribute("data-src"),n=e.getAttribute("src");t&&n!==t&&e.setAttribute("src",t)}intersectingPositions(e,t){(0,r.isPlatformServer)(this.platformID)||this.intersectingPositions$.pipe((0,o.distinctUntilChanged)(),(0,o.takeUntil)(this.intersectionStopper$)).subscribe((n=>{t.x>n.x&&t.x<n.x+this.getHorizontalPixelDistance()&&t.y===n.y&&this.setLoadedAttributes(e)}))}getHorizontalPixelDistance(){return this.windowService.window().navigator.userAgent.includes("Mobile")?500:300}getVerticalPixelDistance(){return this.windowService.window().navigator.userAgent.includes("Mobile")?300:200}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](s.r),i["ɵɵinject"](l.u),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},6235:(e,t,n)=>{"use strict";n.d(t,{$:()=>s,f:()=>c});var i=n(11198),r=n(56614),o=n(24249),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({providers:[o.h],imports:[[i.$,r.F]]}),e})();const c="/content/images/transparent.png"},26709:(e,t,n)=>{"use strict";n.d(t,{A:()=>c,r:()=>s});var i=n(57826),r=n(6856),o=n(80218),a=n(24249);const s="data:image/svg+xml;base64,";let c=(()=>{class e{constructor(e,t,n){this.platformID=e,this.cdnService=t,this.imageLazyloadService=n}getPlaceholderImage(e=302,t=230,n="#F0F0F0"){let i=`<svg\n                version="1.0"\n                xmlns="http://www.w3.org/2000/svg"\n                width="${e}px"\n                height="${t}px"\n                viewBox="0 0 ${e} ${t}"\n                preserveAspectRatio="xMidYMid meet">\n                    <rect fill="${n}" stroke-width="0" height="${t}" width="${e}" y="0" x="0"></rect>\n            </svg>`;return(0,r.isPlatformServer)(this.platformID)?s+Buffer.from(i).toString("base64"):s+btoa(i)}replaceImages(e,t=!1){e=e.replace(/<img(.*?) (?:\w+-)?src=(?:"([^"]*?)"|'([^']*?)')/g,((e,n,i,r)=>{const o=i?'"':"'",a=r||i;return`<img ${t?"data-src":"src"}=${o}${this.cdnService.getCdnUrlImage(a)}${o} ${n}`}));const n=this.imageLazyloadService.isImageLazyloadEnabled()?"class":"loading",i=new RegExp(`<img((?:(?!${n}|>).)*)(?:w+-)?(?:${n}=(?:"([^"]*?)"|'([^']*?)'))?`,"g");return e.replace(i,((e,n,i,r)=>{let o=i?'"':"'",a=r||i;return this.imageLazyloadService.isImageLazyloadEnabled()?(a?a=a.replace("lazyload","")+(t?" lazyload":" lazyloaded"):(o='"',a=t?"lazyload":"lazyloaded"),`<img class=${o}${a}${o} ${n}`):`<img loading="lazy" ${n}`}))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](o.U),i["ɵɵinject"](a.h))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},22291:(e,t,n)=>{"use strict";n.d(t,{$Q:()=>i.$,AJ:()=>r.A,f3:()=>i.f});var i=n(6235),r=(n(79952),n(26709));n(24249)},49485:(e,t,n)=>{"use strict";n.d(t,{s:()=>d});var i=n(6856),r=n(76771),o=n(50536),a=n(10396),s=n(84704),c=n(57685),l=n(57826);let d=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=l["ɵɵdefineNgModule"]({type:e}),e.ɵinj=l["ɵɵdefineInjector"]({providers:[r.F],imports:[[i.CommonModule,o.j,a.T2,s.a,c.z.forBrowser()]]}),e})()},76771:(e,t,n)=>{"use strict";n.d(t,{F:()=>d});var i=n(23550),r=n(4309),o=n(42998),a=n(96299),s=n(45965),c=n(47975),l=n(57826);class d{constructor(e,t,n){this.http=e,this.siteConfigService=t,this.previewModeService=n,this.languagesConfigProp="languages",this.languagesPublishedConfigProp="languagesPublished",n&&n.setPreviewCookieName(d.PREVIEW_COOKIE_KEY)}getAvailableLanguages(){return this.getAvailableLanguagesCache||(this.getAvailableLanguagesCache=(0,r.defer)((()=>{let e=this.siteConfigService.getSiteConfigProp(this.getLanguageProperty());return e&&Array.isArray(e)&&e.length>0?(0,r.of)(e.map((e=>new c.j(e)))):this.http.get(d.availableLanguagesUrl).pipe((0,o.map)((e=>e.map((e=>new c.j(e))))))})).pipe((0,o.publishReplay)(1,d.AVAILABLES_LANGUAGE_CACHE_TTL),(0,o.refCount)(),(0,o.take)(1),(0,o.map)((e=>{if(e instanceof Error)throw e;return e})))),this.getAvailableLanguagesCache}getLanguageProperty(){return this.previewModeService.isPreviewMode()?this.languagesConfigProp:this.languagesPublishedConfigProp}}d.availableLanguagesUrl="/api/v1/languages",d.PREVIEW_COOKIE_KEY="bxPreviewLanguages",d.AVAILABLES_LANGUAGE_CACHE_TTL=Number.POSITIVE_INFINITY,d.ɵfac=function(e){return new(e||d)(l["ɵɵinject"](i.HttpClient),l["ɵɵinject"](s.r),l["ɵɵinject"](a.q))},d.ɵprov=l["ɵɵdefineInjectable"]({token:d,factory:d.ɵfac})},47975:(e,t,n)=>{"use strict";n.d(t,{S:()=>i,j:()=>r});const i="language";class r{constructor(e,t,n,i){this.code=e,this.label=t,this.codeLabel=n,this.icon=i}}},5875:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});var i=n(57826),r=n(82846),o=n(77247),a=n(6856);let s=(()=>{class e{constructor(e,t,n){this.cookieStorageService=e,this.platformId=t,this.request=n,this.priority=1}get language(){const t=this.cookieStorageService.get(e.COOKIE_NAME);return(0,a.isPlatformServer)(this.platformId)&&!t?this.request.headers["x-lang"]:t}set language(t){this.cookieStorageService.remove(e.COOKIE_NAME,"/",""),this.cookieStorageService.set(e.COOKIE_NAME,t)}removeLanguageCookie(){this.cookieStorageService.remove(e.COOKIE_NAME,"/","")}}return e.COOKIE_NAME="LANG",e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](r.G),i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](o.Z,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},50536:(e,t,n)=>{"use strict";n.d(t,{j:()=>l});var i=n(48108),r=n(5875),o=n(40966),a=n(46333),s=n(56614),c=n(57826);let l=(()=>{class e{static forRoot(){return{ngModule:e,providers:[i.T,r.g,o.r]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=c["ɵɵdefineNgModule"]({type:e}),e.ɵinj=c["ɵɵdefineInjector"]({imports:[[a.d,s.F]]}),e})()},40966:(e,t,n)=>{"use strict";n.d(t,{r:()=>s});var i=n(57826),r=n(77247),o=n(6856),a=n(81899);let s=(()=>{class e{constructor(e,t,n){this.windowService=e,this.platformId=t,this.request=n,this.priority=0}get language(){return(0,o.isPlatformServer)(this.platformId)&&this.request&&this.request.params?this.request.params[e.PARAM_NAME]||null:(0,o.isPlatformBrowser)(this.platformId)&&this.windowService.location&&this.windowService.location()&&this.windowService.location().search&&new URLSearchParams(this.windowService.location().search).get(e.PARAM_NAME)||null}}return e.PARAM_NAME="lang",e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](a.u),i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](r.Z,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},88401:(e,t,n)=>{"use strict";n.d(t,{S:()=>f});var i=n(73753),r=n(4309),o=n(42998),a=n(12596),s=n(76771),c=n(47975),l=n(40891),d=n(48108),u=n(57826),p=n(6856),h=n(20843);function m(e,t){if(1&e){const e=u["ɵɵgetCurrentView"]();u["ɵɵelementStart"](0,"bx-dropdown",1),u["ɵɵlistener"]("change",(function(t){return u["ɵɵrestoreView"](e),u["ɵɵnextContext"]().notifyLanguageChanged(t)})),u["ɵɵtext"](1,"\n        "),u["ɵɵelementEnd"]()}if(2&e){const e=u["ɵɵnextContext"]();u["ɵɵproperty"]("options",e.languages)("hrefValues",e.hrefOptions)("displayLabelProperty",e.codeLabel)("selectedValue",e.currentLangCode)("iconClassProperty",e.languageSelectorConfig.iconClassProperty)("showSelectedIcon",e.languageSelectorConfig.showSelectedIcon)}}let f=(()=>{class e{constructor(e,t,n,i,r){this.brandLanguageService=e,this.languageService=t,this.translateService=n,this.languageSelectorConfig=i,this.router=r,this.languages=[],this.showSelector=!0,this.hrefOptions={}}ngOnInit(){this.translateLanguages(this.brandLanguageService.getAvailableLanguages()).subscribe((e=>{this.languages=e,this.showSelector=this.languages.length>1,this.languageService.getLanguage().subscribe((e=>{this.currentLangCode=e})),this.codeLabel=this.retrieveCodeLabel(),this.checkHrefAttributes(e)})),this.routerSubscription=this.router.events.pipe((0,o.filter)((e=>e instanceof i.NavigationEnd))).subscribe((()=>{this.languages.forEach((e=>{this.hrefOptions[e.code]=null}))}))}ngOnDestroy(){this.routerSubscription&&this.routerSubscription.unsubscribe()}notifyLanguageChanged(e){this.languageService.setLanguage(e.code)}translateLanguages(e){return(0,r.forkJoin)(e,this.getTranslations(),((e,t)=>(e.map((e=>{e.label=t[c.S+"."+e.code]||e.code,e.codeLabel=t[c.S+"."+e.code+".code"]||e.code,e.icon="color-icon-"+e.code})),e)))}retrieveCodeLabel(){if(this.languageSelectorConfig&&this.languageSelectorConfig.isCodeLabel)return"codeLabel"}getTranslations(){return this.translateService.loadTranslations(c.S).pipe((0,o.first)((e=>e&&Object.keys(e).length>0)))}checkHrefAttributes(e){this.showSelector&&e.forEach((e=>{if(e.code===this.currentLangCode)this.hrefOptions[e.code]=null;else{const t=this.languageService.getReloadUrl(e.code),n=t.split("//").length>1?t.split("//")[1]:t,i=n.indexOf("/")>=0?n.substring(n.indexOf("/"),n.length):"/";this.hrefOptions[e.code]=i}}))}}return e.ɵfac=function(t){return new(t||e)(u["ɵɵdirectiveInject"](s.F),u["ɵɵdirectiveInject"](d.T),u["ɵɵdirectiveInject"](a.s),u["ɵɵdirectiveInject"](l.y),u["ɵɵdirectiveInject"](i.Router))},e.ɵcmp=u["ɵɵdefineComponent"]({type:e,selectors:[["bx-lang-select"]],decls:3,vars:1,consts:[["type","button","prefixIconClass","icon icon-global","valueProperty","code","displayProperty","label",3,"options","hrefValues","displayLabelProperty","selectedValue","iconClassProperty","showSelectedIcon","change",4,"ngIf"],["type","button","prefixIconClass","icon icon-global","valueProperty","code","displayProperty","label",3,"options","hrefValues","displayLabelProperty","selectedValue","iconClassProperty","showSelectedIcon","change"]],template:function(e,t){1&e&&(u["ɵɵtext"](0,"\n        "),u["ɵɵtemplate"](1,m,2,6,"bx-dropdown",0),u["ɵɵtext"](2,"\n    ")),2&e&&(u["ɵɵadvance"](1),u["ɵɵproperty"]("ngIf",t.showSelector))},directives:[p.NgIf,h.J],encapsulation:2}),e})()},40891:(e,t,n)=>{"use strict";n.d(t,{y:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.isCodeLabel=!1,this.showSelectedIcon=!0}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},48108:(e,t,n)=>{"use strict";n.d(t,{T:()=>h});var i=n(6856),r=n(57826),o=n(77247),a=n(4309),s=n(42998),c=n(81899),l=n(76771),d=n(47975),u=n(5875),p=n(40966);let h=(()=>{class e{constructor(e,t,n,i,r,o,s){this.languageCookieSupplier=e,this.languageQueryParamSupplier=t,this.windowService=n,this.platformId=i,this.doc=r,this.brandLanguageService=o,this.request=s,this._defaultLanguage="en";const c=this.languageQueryParamSupplier.language;c&&(this.languageCookieSupplier.language=c),this.currentValue=e.language||this._defaultLanguage,this.language$=new a.BehaviorSubject(this.currentValue)}get defaultLanguage(){return this._defaultLanguage}init(e){if(e&&(this._defaultLanguage=e),this.brandLanguageService&&this.languageCookieSupplier.language){let t=new d.j(this.languageCookieSupplier.language);this.brandLanguageService.getAvailableLanguages().subscribe((n=>{n&&n.filter((e=>e.code==t.code)).length<=0&&(this.languageCookieSupplier.removeLanguageCookie(),this.reload(e))}))}}getLanguage(){return this.language$.asObservable().pipe((0,s.filter)((e=>null!==e)))}setLanguage(e,t=!0){this.language$.next(e),this.currentValue!==e&&(this.currentValue=e,!0===t&&this.reload(e))}getTranslationUrlPrefix(){if((0,i.isPlatformBrowser)(this.platformId)&&this.windowService.window()){const e=this.windowService.window().config;if(e&&e["site.config.url_prefix"])return e["site.config.url_prefix"][0]}return""}getReloadUrl(e,t=this._defaultLanguage){const n=this.retrieveLanguageUrl(this.languageCookieSupplier.language);let r;r=(0,i.isPlatformBrowser)(this.platformId)?this.windowService.window().location:{pathname:this.request.path,protocol:this.request.protocol+":",host:this.request.hostname};const o=e==t?"x-default":this.getHrefLangPrefix(e),a=e==t?"":"/"+e;let s;return s=this.isRedirectedToHomepageChannel(r,n)?this.homepageChannelUrl(r,n,a):this.hasHrefLangTag(o)?this.doc.head.querySelector("[hreflang^="+o+"]").getAttribute("href"):this.isRedirectedToResetPin(r)?`${r.protocol}//${r.host}${a}${new URLSearchParams(r.search).get("destination")}`:`${r.protocol}//${r.host}${a}`,s}reload(e,t=this._defaultLanguage){if((0,i.isPlatformBrowser)(this.platformId)){const n=this.getReloadUrl(e,t);this.languageCookieSupplier.language=e;const i=this.windowService.window().location,r=this.windowService.window(),o=r.navigator&&r.navigator.userAgent;(!o||!o.includes(" Electron/")&&!o.startsWith("Electron/"))&&i.replace(n)}}isRedirectedToResetPin(e){if(!(0,i.isPlatformBrowser)(this.platformId))return!1;const t=new URLSearchParams(e.search).get("destination");return t&&t.startsWith("/reset-pin/")}hasHrefLangTag(e){return this.doc.head.querySelector("[hreflang^="+e+"]")}getHrefLangPrefix(e){return"ZH-HANS"===e.toUpperCase()?e.substring(0,2):e}isRedirectedToHomepageChannel(e,t){return e.pathname.startsWith(t+"/sports")||e.pathname.startsWith(t+"/horses")||e.pathname.startsWith(t+"/live-dealer")}homepageChannelUrl(e,t,n){const i=e.pathname.indexOf("/",t.length),r=-1==e.pathname.indexOf("/",i+1)?e.pathname.length:e.pathname.indexOf("/",i+1),o=e.pathname.substring(i,r);return`${e.protocol}//${e.host}${n}${o}`}retrieveLanguageUrl(e){return e==this._defaultLanguage?"":"/"+e}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](u.g),r["ɵɵinject"](p.r),r["ɵɵinject"](c.u),r["ɵɵinject"](r.PLATFORM_ID),r["ɵɵinject"](i.DOCUMENT),r["ɵɵinject"](l.F,8),r["ɵɵinject"](o.Z,8))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},33087:(e,t,n)=>{"use strict";n.d(t,{Fl:()=>i.F,TS:()=>a.T,gz:()=>r.g,jH:()=>o.j,yl:()=>s.y});var i=n(76771),r=n(5875),o=n(50536),a=n(48108),s=(n(88401),n(40891))},63325:(e,t,n)=>{"use strict";n.d(t,{I:()=>d});var i=n(57826),r=n(73753),o=n(81899),a=n(12744),s=n(80112),c=n(48108),l=n(45965);let d=(()=>{class e{constructor(e,t,n,i,r,o,a){this.router=e,this.windowService=t,this.urlPrefixService=n,this.renderer=i,this.elementRef=r,this.languageService=o,this.siteConfigService=a,this.isExternalLink=()=>this.bxLink.startsWith("http")}ngOnInit(){this.languageService.getLanguage().subscribe((e=>{let t=this.siteConfigService.getSiteConfigProp("defaultLanguage");t||(t="en");let n=this.bxLink.split("/").find((t=>t===e));const i=e===t||n?"":e;this.bxLink=this.bxLink.startsWith("/")||this.isExternalLink()?this.bxLink:`/${this.bxLink}`,this.renderer.setAttribute(this.elementRef.nativeElement,"href",i+this.bxLink)}))}onClick(e){let t=this.bxLinkTarget;e.preventDefault();let n=e.target.getAttribute("href");if(!0===e.ctrlKey||!0===e.metaKey)this.windowOpener();else if(null!=n&&n.includes("mailto:"))this.windowOpener();else switch(t){case a.e.NEW_TAB:this.windowOpener();break;case a.e.SAME_TAB_EXTERNAL_URL:this.windowOpener("","_self");break;case a.e.POP_UP:let e=this.bxLinkOptions||"width=1000px,height=690px,scrollbars=0";this.windowOpener(e);break;case a.e.SAME_TAB:default:this.openInSameTab()}}middleButtonClick(e){2===e.which&&this.windowOpener()}middleButtonClickPreventDefault(e){2===e.which&&e.preventDefault()}windowOpener(e="",t="_blank"){let n=this.urlPrefixService.addUrlPrefix(this.bxLink);this.windowService.window().open(n,t,e)}openInSameTab(){this.router.navigateByUrl(this.bxLink)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](r.Router),i["ɵɵdirectiveInject"](o.u),i["ɵɵdirectiveInject"](s.z),i["ɵɵdirectiveInject"](i.Renderer2),i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](c.T),i["ɵɵdirectiveInject"](l.r))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxLink",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("click",(function(e){return t.onClick(e)}))("mouseup",(function(e){return t.middleButtonClick(e)}))("mousedown",(function(e){return t.middleButtonClickPreventDefault(e)}))},inputs:{bxLink:"bxLink",bxLinkTarget:"bxLinkTarget",bxLinkOptions:"bxLinkOptions"}}),e})()},73917:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var i=n(73753),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({imports:[[i.RouterModule]]}),e})()},12744:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var i=(()=>(function(e){e.NONE="",e.SAME_TAB="same_tab",e.NEW_TAB="new_tab",e.POP_UP="pop_up",e.SAME_TAB_EXTERNAL_URL="same_tab_external_url"}(i||(i={})),i))()},80417:(e,t,n)=>{"use strict";n.d(t,{LO:()=>i.L});var i=n(73917);n(63325)},90566:(e,t,n)=>{"use strict";n.d(t,{W:()=>o});var i=n(57826),r=n(6856);let o=(()=>{class e{constructor(e,t,n,i){this.componentFactoryResolver=e,this.el=t,this.target=n,this.platformId=i,this.contextName="context",this.isViewInitialized=!1}updateComponent(){if(!this.isViewInitialized)return;this.componentRef&&this.componentRef.destroy();let e=this.componentFactoryResolver.resolveComponentFactory(this.component);this.componentRef=this.target.createComponent(e),this.context&&(this.componentRef.instance[this.contextName]=this.context,this.componentRef.changeDetectorRef.detectChanges()),this.outputName&&(this.componentRef.instance[this.outputName]=this.output),this.fixViewEncapsulation()}fixViewEncapsulation(){if((0,r.isPlatformBrowser)(this.platformId)){let e=Array.prototype.slice.call(this.el.nativeElement.attributes).map((e=>e.name)).find((e=>e.startsWith("_ngcontent-"))),t=this.componentRef.location.nativeElement;e&&!t.getAttribute(e)&&t.setAttribute(e,"")}}ngAfterViewInit(){this.isViewInitialized=!0,this.updateComponent()}ngOnChanges(e){this.updateComponent()}ngOnDestroy(){this.componentRef&&this.componentRef.destroy()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ComponentFactoryResolver),i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](i.PLATFORM_ID,8))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-dynamic-loader-component"]],inputs:{component:"component",contextName:"contextName",context:"context",outputName:"outputName",output:"output"},features:[i["ɵɵNgOnChangesFeature"]],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})()},8566:(e,t,n)=>{"use strict";n.d(t,{B:()=>o});var i=n(42767),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:[i.Y],imports:[[]]}),e})()},42767:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var i=n(57826);let r=(()=>{class e{constructor(e,t,n){this.applicationRef=e,this.componentFactoryResolver=t,this.injector=n}getRootViewContainer(){if(this._container)return this._container;const e=this.applicationRef.components;if(e.length)return e[0];throw new Error("[InjectorService] View Container not found!")}setRootViewContainer(e){this._container=e}getComponentRootNode(e){return e instanceof i.ElementRef?e.nativeElement:e.hostView?e.hostView.rootNodes[0]:e.element?e.element.nativeElement:e}getRootViewContainerNode(e){return this.getComponentRootNode(e)}projectComponentBindings(e,t){if(t){const n=Object.getOwnPropertyNames(t);for(const i of n)e.instance[i]=t[i]}return e}appendComponent(e,t={},n){const i=this.componentFactoryResolver.resolveComponentFactory(e).create(this.injector),r=this.applicationRef,o=this.getComponentRootNode(i);return this.projectComponentBindings(i,t),r.attachView(i.hostView),i.onDestroy((()=>{r.detachView(i.hostView)})),n||(n=this.getRootViewContainer()),this.getComponentRootNode(n).appendChild(o),i}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.ApplicationRef),i["ɵɵinject"](i.ComponentFactoryResolver),i["ɵɵinject"](i.Injector))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},81736:(e,t,n)=>{"use strict";n.d(t,{S:()=>r,l:()=>o});var i=n(57826),r=(()=>(function(e){e[e.plain=0]="plain",e[e.html=1]="html",e[e.angular=2]="angular"}(r||(r={})),r))();let o=(()=>{class e{parseMarkupContent(t){let n,i=r.plain;return n=t.replace(e.LINK_REGEX,(e=>{let t=e.substring(1,e.lastIndexOf("]")),n=e.substring(t.length+3,e.lastIndexOf(")")).trim(),o=-1!==e.indexOf("{:")?" "+e.substring(e.indexOf("{:")+2,e.lastIndexOf("}")).trim():"";return i=this.highPriorityType(i,r.html),`<a href="${n}"${o}>${t.trim()}</a>`})),{content:n,type:i}}highPriorityType(e,t){return!e||t>e?t:e}}return e.LINK_REGEX=/\[.*?\]\(.*?\)({:.*?=".*?".*?})*/g,e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},37355:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var i=n(16917),r=n(75105),o=n(57826);let a=(()=>{class e{constructor(e){this.multilingualRoutesService=e}translateUrl(e){let t=new r.M(e);return this.multilingualRoutesService.processInternalUrl(t).url}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](i.J))},e.ɵdir=o["ɵɵdefineDirective"]({type:e,selectors:[["","bxTranslatePath",""]]}),e})()},72688:(e,t,n)=>{"use strict";n.d(t,{l:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})()},37202:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var i=n(47975),r=n(57826);let o=(()=>{class e{constructor(){this.routeTranslations=new Map,this.inverseRouteTranslations=new Map}loadData(e,t){e.forEach(((e,n)=>{let r=this.loadRouteMapping(e);this.loadTranslations(new i.j(t[n].code),r)}))}lookUp(e,t){return this.routeTranslations.get(e.code).get(t)}lookUpByValue(e,t){return this.inverseRouteTranslations.get(e.code).get(t)}loadTranslations(e,t){this.routeTranslations.set(e.code,t),this.loadInverseTranslations(e,t)}loadInverseTranslations(e,t){let n=new Map;t.forEach(((e,t)=>{n.set(e,t)})),this.inverseRouteTranslations.set(e.code,n)}loadRouteMapping(e){let t=new Map;return Object.keys(e).map((n=>{t.set(n,e[n])})),t}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},16917:(e,t,n)=>{"use strict";n.d(t,{J:()=>f});var i=n(4309),r=n(42998),o=n(23550),a=n(80112),s=n(50371),c=n(76771),l=n(47975),d=n(48108);const u=new l.j("en");var p=n(37202),h=n(75105),m=n(57826);let f=(()=>{class e{constructor(e,t,n,i,r,o){this.http=e,this.brandLanguageService=t,this.multilingualRoutesCache=n,this.global=r,this.urlPrefixService=o,this.languages=[],i.getLanguage().subscribe((e=>{this.selectedLanguage=new l.j(e)}))}init(e){this.brandDefaultLanguage=e?new l.j(e):u}load(){return this.brandLanguageService.getAvailableLanguages().pipe((0,r.mergeMap)((e=>(this.languages=e,(0,i.defer)((()=>{let e=this.global.nativeGlobal.routes;if(e)return(0,i.of)(e);const t=this.urlPrefixService.addUrlPrefix("/i18n/routes.json");return this.http.get(t)})).pipe((0,r.map)((t=>{const n=[];e.map((e=>{n.push(t[e.code])})),this.multilingualRoutesCache.loadData(n,e)}))))))).toPromise()}processPath(e){const t=this.calculateLanguage(e);return e=this.removeUrlPrefix(e),e=this.removeLanguagePrefix(e),this.translatePathFrom(t,e)}processExternalUrl(e){return e=this.translatePathTo(this.selectedLanguage,e),e=this.addLanguagePrefix(this.selectedLanguage,e),this.addUrlPrefix(e)}processInternalUrl(e){return e.url.match("^[a-z]+:")?e:this.translatePathFrom(this.selectedLanguage,e)}translatePathBetweenLanguages(e,t,n){if(e.code===t.code)return n;const i=this.translatePathFrom(e,n);return this.translatePathTo(t,i)}translatePathFrom(e,t){return this.isBaseLanguage(e)?t:this.translatePath(e,t,!0)}translatePathTo(e,t){return this.isBaseLanguage(e)?t:this.translatePath(e,t,!1)}removeLanguagePrefix(e){let t=e.extractLanguageFromPrefix(this.languages);return t?new h.M(e.url.substr(t.code.length+1)):e}removeUrlPrefix(e){const t=this.urlPrefixService.removeUrlPrefix(e.url);return new h.M(t)}calculateLanguage(e){return e.extractLanguageFromPrefix(this.languages)||this.brandDefaultLanguage}addLanguagePrefix(e,t){let n=t.url;return this.isDefaultLanguage(e)||(n="/"+e.code+(1==n.length?"":n)),new h.M(n)}addUrlPrefix(e){const t=this.urlPrefixService.addUrlPrefix(e.url);return new h.M(t)}translatePath(e,t,n){let i=t.extractQueryParams(),r=t.removeQueryParams().url.split("/").map((t=>(n?this.multilingualRoutesCache.lookUpByValue(e,t):this.multilingualRoutesCache.lookUp(e,t))||t)).join("/");return new h.M(r+i)}isDefaultLanguage(e){return e.code==this.brandDefaultLanguage.code}isBaseLanguage(e){return e.code==u.code}}return e.ɵfac=function(t){return new(t||e)(m["ɵɵinject"](o.HttpClient),m["ɵɵinject"](c.F),m["ɵɵinject"](p.d),m["ɵɵinject"](d.T),m["ɵɵinject"](s.w),m["ɵɵinject"](a.z))},e.ɵprov=m["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},75105:(e,t,n)=>{"use strict";n.d(t,{M:()=>i});class i{constructor(e){this.url=e}isLanguagePrefixSet(e){return null!=this.extractLanguageFromPrefix(e)}extractLanguageFromPrefix(e){let t=this.url.split("/")[1];return t&&(t=t.split("?")[0]),e.find((e=>e.code==t))}extractQueryParams(){let e=this.url.indexOf(";");return-1==e&&(e=this.url.indexOf("?")),-1==e?"":this.url.substr(e)}removeQueryParams(){let e=this.url.indexOf(";");return-1==e&&(e=this.url.indexOf("?")),-1==e?this:new i(this.url.substr(0,e))}}},66168:(e,t,n)=>{"use strict";n.d(t,{HG:()=>s,dT:()=>c.d,JH:()=>r.J,MS:()=>a.M});var i=n(6856),r=n(16917),o=n(57826),a=n(75105);let s=(()=>{class e extends i.PathLocationStrategy{constructor(e,t,n){super(t,n),this.multilingualRoutesService=e}path(e){let t=new a.M(super.path(e));return this.multilingualRoutesService.processPath(t).url}prepareExternalUrl(e){let t=this.multilingualRoutesService.processExternalUrl(new a.M(e));return super.prepareExternalUrl(t.url.replace(/\(overlay:(.+?)\)/,""))}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](r.J),o["ɵɵinject"](i.PlatformLocation),o["ɵɵinject"](i.APP_BASE_HREF,8))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var c=n(37202);n(72688)},31018:(e,t,n)=>{"use strict";n.d(t,{E:()=>o});var i=n(57826),r=n(81899);let o=(()=>{class e{constructor(e,t){this.windowService=e,this.zone=t,this.targets=[]}init(){this.lockElements=[],this.clickListener=this.onClick.bind(this),this.zone.runOutsideAngular((()=>{this.windowService.window().addEventListener("click",this.clickListener,!0)}))}getTimeout(t){return this.targets[t]||e.DEFAULT_TIMEOUT}setTimeout(e,t){this.targets[e]=t}onClick(e){this.isBlocked(e.target)?(e.stopPropagation(),e.preventDefault()):(this.block(e.target),setTimeout((()=>{this.release(e.target)}),this.getTimeout(e.target)))}destroy(){this.clickListener&&this.windowService.window().removeEventListener("click",this.clickListener,!0)}isBlocked(e){return this.lockElements.includes(e)}block(e){this.lockElements.push(e)}release(e){const t=this.lockElements.indexOf(e);t>-1&&this.lockElements.splice(t,1)}}return e.DEFAULT_TIMEOUT=400,e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](r.u),i["ɵɵinject"](i.NgZone))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},83521:(e,t,n)=>{"use strict";n.d(t,{U:()=>s});var i=n(37268),r=n(69703),o=n(56614),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({providers:[r.j],imports:[[i.z,o.F]]}),e})()},69703:(e,t,n)=>{"use strict";n.d(t,{j:()=>a});var i=n(82846),r=n(45965),o=n(57826);let a=(()=>{class e{constructor(e,t){this.cookieStorageService=e,this.siteConfigService=t}isNotificationEnabled(){return this.isNotificationEnabledCookieSet()||this.isNotificationFeatureFlagEnabled()}isNotificationEnabledCookieSet(){return!!this.cookieStorageService.get("notification.enabled")}isNotificationFeatureFlagEnabled(){return!!this.siteConfigService.getSiteConfig().isNotificationEnabled}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.G),o["ɵɵinject"](r.r))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},65340:(e,t,n)=>{"use strict";n.d(t,{v:()=>o});var i=n(4309),r=n(57826);let o=(()=>{class e{constructor(){this.overlayClosedSubject=new i.Subject,this.overlayOpenSubject=new i.Subject}notifyOverlayClosed(){this.overlayClosedSubject.next()}getOverlayClosedNotifications(){return this.overlayClosedSubject}notifyOverlayOpen(){this.overlayOpenSubject.next()}getOverlayOpenNotifications(){return this.overlayOpenSubject}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},45097:(e,t,n)=>{"use strict";n.d(t,{_e:()=>a,jq:()=>r,z4:()=>o});class i{constructor(e){this.eventType=e}}class r extends i{constructor(){super(0)}}class o extends i{constructor(e,t,n,i){super(2),this.eventName=e,this.timestamp=t,this.startTimestamp=n,this.endTimestamp=i}}class a extends i{constructor(e,t){super(1),this.renderedURL=e,this.duration=t}}},86333:(e,t,n)=>{"use strict";n.d(t,{M:()=>o});var i=n(72556),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:[i.z]}),e})()},72556:(e,t,n)=>{"use strict";n.d(t,{z:()=>a});var i=n(4309),r=n(42998),o=n(57826);let a=(()=>{class e{constructor(){this.pageEvents=new i.ReplaySubject}emit(e){this.pageEvents.next(e)}getEvents(e){return this.pageEvents.pipe((0,r.filter)((t=>t.eventType===e)))}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},19765:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});var i=n(45097),r=n(72556),o=n(57826);let a=(()=>{class e{constructor(e){this.pageEventsService=e,this.startedNavigationMap={}}trackStart(e){this.startedNavigationMap[e]={timestamp:Date.now(),startTimestamp:window.performance.now()}}sendEvent(e){if(this.startedNavigationMap[e]){const{timestamp:t,startTimestamp:n}=this.startedNavigationMap[e];this.pageEventsService.emit(new i.z4(e,t,n,window.performance.now())),delete this.startedNavigationMap[e]}}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](r.z))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},33704:(e,t,n)=>{"use strict";n.d(t,{$:()=>o});var i=n(4309),r=n(57826);let o=(()=>{class e{constructor(){this._phoneItemSource=new i.Subject,this.phoneItem$=this._phoneItemSource.asObservable()}changePhone(e){this._phoneItemSource.next(e)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},41931:(e,t,n)=>{"use strict";n.d(t,{w:()=>l});var i=n(4309),r=n(81516),o=n(81899),a=n(43640),s=n(45965),c=n(57826);let l=(()=>{class e{constructor(e,t,n){this.siteConfigService=e,this.windowService=t,this.firstTimeVisitorService=n,this.chatEnabled=!1,this.resetPlayerStatus(),this.playerStatus$=new i.BehaviorSubject(this.playerStatus)}init(e){this.loadConfig(),this.windowService.getIsPlatformBrowser()&&this.isVergicOrNovomindOrAlvariaChat()&&(this.chatEnabled=!0,this.initCustomSteps(),e.subscribe((e=>this.onSessionChange(e))),this.firstTimeVisitorService.getFirstTimeVisited().subscribe((e=>this.firstTimeVisitorHandler(e))))}initCustomSteps(){if(this.reactiveChatType===a.iH.Vergic){const e=this.vergicChatConfig.serverURL,t=this.vergicChatConfig.customerKey;this.appendVergicJS(e,t),this.windowService.window().playerStatus={...this.playerStatus}}}isVergicOrNovomindOrAlvariaChat(){return(0,a.ll)(this.reactiveChatType)}onPlayerLoyaltyPointsUpdate(e,t){this.chatEnabled&&(this.playerStatus.profileTags=e?["VIP"]:[],this.playerStatus.playerSegment=t,this.sendPlayerStatusEvent())}onPlayerProfileUpdated(e){this.chatEnabled&&(this.playerStatus.email=e.email,this.playerStatus.region=e.address&&e.address.countryCode,this.playerStatus.accountNumber=e.accountNumber,this.playerStatus.firstName=e.firstName,this.playerStatus.dob=e.birthdate,this.sendPlayerStatusEvent())}loadConfig(){let e=this.siteConfigService.getSiteConfigProp("contactMethods").reactiveChat;this.vergicChatConfig=e.vergicConfig,this.reactiveChatType=e.type}appendVergicJS(e,t){const n=this.windowService.document().createElement("script");n.setAttribute("async",""),n.setAttribute("src",`${e}${t}/engage.js`),this.windowService.document().getElementsByTagName("head")[0].appendChild(n)}getPlayerStatus(){return this.playerStatus}getPlayerStatusSubject(){return this.playerStatus$}firstTimeVisitorHandler(e){this.playerStatus.firstTimeDepositor=e&&!this.playerStatus.loggedIn,this.playerStatus.firstTimeVisitor=e,this.sendPlayerStatusEvent()}onSessionChange(e){e||this.resetPlayerStatus(),this.playerStatus.loggedIn=e,this.sendPlayerStatusEvent()}resetPlayerStatus(){this.playerStatus={loggedIn:!1,firstTimeVisitor:!1,firstTimeDepositor:!1,depositFailure:!1,profileTags:[],email:"",region:"",accountNumber:"",firstName:"",playerSegment:"",dob:""}}onFirstTimeDepositorChange(e){this.chatEnabled&&(this.playerStatus.firstTimeDepositor=e,this.sendPlayerStatusEvent())}onDepositFailureChange(e){this.chatEnabled&&(this.playerStatus.depositFailure=e,this.sendPlayerStatusEvent())}wasPlayerStatusChanged(e,t){return JSON.stringify(t)!==JSON.stringify(e)}sendPlayerStatusEvent(){if(a.iH.Vergic===this.reactiveChatType&&this.wasPlayerStatusChanged(this.windowService.window().playerStatus,this.playerStatus)){this.windowService.window().playerStatus={...this.playerStatus};const e=new CustomEvent("playerStatusUpdated",{detail:this.playerStatus});this.windowService.document().dispatchEvent(e)}this.playerStatus$.next(this.playerStatus)}}return e.ɵfac=function(t){return new(t||e)(c["ɵɵinject"](s.r),c["ɵɵinject"](o.u),c["ɵɵinject"](r.HV))},e.ɵprov=c["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},50811:(e,t,n)=>{"use strict";n.d(t,{w:()=>i});class i{static formatAmount(e,t,n){if(e&&!isNaN(Number(e))){let i=(e="string"!=typeof e?Number(e).toString():e).split(".");return i[0]=i[0].replace(/\B(?=(\d{3})+(?!\d))/g,n),i.join(t)}return e}static formatAmountUsingEnglishStandard(e){return this.formatAmount(e,".",",")}static removeEnglishThousandsSeparator(e){return e?e.toString().replace(/,/g,""):e}}},53272:(e,t,n)=>{"use strict";n.d(t,{b:()=>a});var i=n(50811),r=n(19065),o=n(57826);let a=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({providers:[r.x,i.w]}),e})()},19065:(e,t,n)=>{"use strict";n.d(t,{x:()=>i});class i{interpolate(e,t){let n;return e.replace(new RegExp(Object.keys(t).reduce(((e,t)=>e?`${e}|\\{\\{(\\s*)${t}(\\s*)\\}\\}`:`\\{\\{(\\s*)${t}(\\s*)\\}\\}`),""),"gi"),(function(e){return n=e.replace(/{|}|(\s+)/g,""),null!==t[n]&&void 0!==t[n]?t[n]:e}))}stringCapitalizer(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}}},43640:(e,t,n)=>{"use strict";n.d(t,{iH:()=>i,jc:()=>s,JQ:()=>r,t_:()=>a,ll:()=>o});var i=(()=>(function(e){e.None="NONE",e.Moxie="MOXIE",e.Vergic="VERGIC",e.Novomind="NOVOMIND",e.Alvaria="ALVARIA"}(i||(i={})),i))();function r(e){return[i.Moxie,i.Novomind,i.Alvaria].includes(e)}function o(e){return[i.Vergic,i.Novomind,i.Alvaria].includes(e)}function a(e){return[i.Novomind,i.Alvaria].includes(e)}function s(e=i.None){return{type:e,moxieConfig:{portalSettingsFileUrl:"",portalDetectionFileUrl:""},vergicConfig:{serverURL:"",customerKey:""},novomindConfig:{libraryFileURL:"",displayOptions:{},chat:{iframeURL:"",vipIframeURL:"",iframeParams:"",vipIframeParams:""},proactive:{enabled:!1,frontendPath:"",frontendID:"",pathToRules:""},bot:{enabled:!1,botIframeParams:"",botIframeURL:""}},alvariaConfig:{libraryFileURL:"",displayOptions:{},chat:{iframeURL:"",iframeParams:""}}}}},77472:(e,t,n)=>{"use strict";n.d(t,{L:()=>a});var i=n(57826),r=n(24144),o=n(51576);let a=(()=>{class e{static forRoot(){return{ngModule:e,providers:[r.R]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[o.d]]}),e})()},24144:(e,t,n)=>{"use strict";n.d(t,{R:()=>v});var i=n(4309),r=n(42998),o=n(22274),a=n(79308),s=n(80112),c=n(81899),l=n(33087),d=n(41931),u=n(45965),p=n(89309),h=n(43640),m=n(82846),f=n(84860),g=n(57826);let v=(()=>{class e{constructor(e,t,n,i,r,o,a,s,c){this.siteConfigService=e,this.languageService=t,this.windowService=n,this.sessionStorageService=i,this.urlPrefixService=r,this.playerChatMetadataService=o,this.channelTypeService=a,this.cookieStorage=s,this.loyaltyStore=c,this.sessionActive=!1,this.libraryLoaded=!1,this.sessionActive=this.hasActiveSession()}init(){this.isProactiveRequired()&&this.ensureLibrariesAreLoaded()}ensureLibrariesAreLoaded(e,t,n=this){this.libraryLoaded?t&&this.getChatConfig().getValue().type!==h.iH.None&&t.apply(n):(this.libraryLoaded=!0,this.getChatConfig().pipe((0,r.take)(1),(0,r.switchMap)((e=>new i.Observable((t=>{const n=this.siteConfigService.isFeaturePresent(f.L.reactiveChatDefer);"complete"!==this.windowService.getDocumentReadyState()&&n?this.windowService.addEventListener("load",(()=>t.next(e)),{once:!0}):t.next(e)}))))).subscribe((t=>{switch(t.type){case h.iH.Moxie:this.loadExternalFile(t.moxieConfig.portalSettingsFileUrl).then((()=>{this.loadExternalFile(t.moxieConfig.portalDetectionFileUrl).then((()=>{this.libraryLoaded=!0,e&&e.apply(n)})).catch((()=>this.libraryLoaded=!1))})).catch((()=>this.libraryLoaded=!1));break;case h.iH.Novomind:const i=`${t.novomindConfig.libraryFileURL}${this.getHashes()}`;this.loadExternalFile(i).then((()=>{this.libraryLoaded=!0,this.subscribeToPlayerStatus(t.novomindConfig.displayOptions),t.novomindConfig.proactive.enabled&&this.addCodeSnippet(this.generateNovomindSnippet(),"nvm"),e&&e.apply(n)})).catch((()=>this.libraryLoaded=!1));break;case h.iH.Alvaria:const r=`${t.alvariaConfig.libraryFileURL}${this.getHashes()}`;this.loadExternalFile(r).then((()=>{this.libraryLoaded=!0,this.playerChatMetadataService.getPlayerStatusSubject().subscribe((e=>{const n=this.toAlvariaParams(e);this.windowService.window().nvChat.parseConfig({...this.getAlvariaIframeUrls(n),...t.alvariaConfig.displayOptions})})),e&&e.apply(n)})).catch((()=>this.libraryLoaded=!1));break;default:this.libraryLoaded=!1}})))}openChat(e){const t=e&&e.moxie||{},n=e&&e.novomind||{},i=e&&e.alvaria||{};this.ensureLibrariesAreLoaded((()=>{this.windowService.window().MoxieFlyout?(this.setVariables(t.userName,t.email),this.openChatWindow(),this.overrideChatTabLink()):this.windowService.window().nvChat&&this.openChatWindow(i.urlTag?i.urlTag:n.urlTag)}),(()=>{this.windowService.window().MoxieFlyout?(this.setVariables(t.userName,t.email),this.openChatWindow()):this.windowService.window().nvChat&&this.openChatWindow(i.urlTag?i.urlTag:n.urlTag)}))}getChatConfig(){return this.chatConfig$||this.loadConfig()}loadConfig(){this.chatConfig$=new i.BehaviorSubject((0,h.jc)());const e=this.siteConfigService.getSiteConfigProp("contactMethods").reactiveChat;return this.languageService.getLanguage().subscribe((t=>{switch(e.type){case h.iH.Moxie:const t={chatId:this.siteConfigService.getSiteConfigProp("chatId"),vipChatId:this.siteConfigService.getSiteConfigProp("vipChatId")};t.chatId&&e.moxieConfig.portalSettingsFileUrl&&e.moxieConfig.portalDetectionFileUrl?(e.moxieConfig.chatId=t.chatId,t.vipChatId&&(e.moxieConfig.vipChatId=t.vipChatId)):e.type=h.iH.None;break;case h.iH.Novomind:e.novomindConfig.libraryFileURL&&e.novomindConfig.chat.iframeURL&&e.novomindConfig.chat.iframeParams||(e.type=h.iH.None);break;case h.iH.Alvaria:e.alvariaConfig.libraryFileURL&&e.alvariaConfig.chat.iframeURL&&e.alvariaConfig.chat.iframeParams||(e.type=h.iH.None)}this.language=t})),this.chatConfig$.next(e),this.chatConfig$}openExistingSession(){this.sessionStorageService.isSupported()&&this.sessionActive&&this.ensureLibrariesAreLoaded((()=>{this.overrideChatTabLink()}))}closeChat(){this.sessionActive&&this.windowService.window().MoxieFlyout&&this.windowService.window().disposeOfMoxieFlyoutWindow?(this.windowService.window().MoxieFlyout.sendFlyoutMessage("endChat",0),this.windowService.window().disposeOfMoxieFlyoutWindow()):this.windowService.window().nvChat&&this.windowService.window().nvChat.close(),this.libraryLoaded=!1,this.sessionActive=!1}hasActiveSession(){return this.windowService.getIsPlatformBrowser()&&Number(this.sessionStorageService.get("MoxieFlyout.chatInProgress"))>0}isProactiveRequired(){const e=this.getChatConfig().getValue();return e.type===h.iH.Novomind&&e.novomindConfig.proactive.enabled&&"poker_dlc"!==this.channelTypeService.getChannelType()&&!this.shouldProactiveLoadBeSkipped()}shouldProactiveLoadBeSkipped(){return"true"===this.cookieStorage.get("bxProactiveLoadNotRequired")}openChatWindow(e){this.libraryLoaded=!0,this.getChatConfig().subscribe((t=>{switch(t.type){case h.iH.Moxie:let t=this.getChatConfig().getValue().moxieConfig.chatId;this.loyaltyStore&&this.loyaltyStore.isVip&&this.getChatConfig().getValue().moxieConfig.vipChatId&&(t=this.getChatConfig().getValue().moxieConfig.vipChatId),this.windowService.window().DetectDevice(t,"chatClient","Live chat by","Moxie"),this.windowService.window().MoxieFlyout.open(),this.checkForUrlPrefix(),this.sessionActive=!0;break;case h.iH.Novomind:case h.iH.Alvaria:this.windowService.window().nvChat.open(e)}}))}loadExternalFile(e){return new Promise(((t,n)=>{const i=this.windowService.document().createElement("script");i.setAttribute("async",""),i.setAttribute("src",e),i.onload=t,i.onerror=n,this.windowService.document().getElementsByTagName("head")[0].appendChild(i)}))}generateParams(e,t,n="?",i=""){const r={};e&&"string"==typeof e&&(e.startsWith(n)?e.substring(n.length):e).split("&").forEach((e=>{const[t,n]=e.split("=");r[t]=n}));const o=Object.assign(t,r),a=Object.keys(o).filter((e=>void 0!==o[e]&&o[e].toString())).map((e=>e+"="+o[e])).join("&");return a?n+a:i}getHashes(){const e=this.windowService.window().hashes,t=e&&e.nvm||"";return t?`?cb=${t}`:""}setVariables(e="",t=""){this.windowService.window().talCustProp="MXUser="+e+"#:Prop!MXEmail="+t+"#:Prop!MXLanguage="+this.language}checkForUrlPrefix(){if(this.urlPrefixService.getUrlPrefix()){let e=this.windowService.document().querySelector("#MoxieFlyoutHolder a");if(!e)return;let t=e.getAttribute("href");t&&-1===t.indexOf(this.urlPrefixService.getUrlPrefix())&&e.setAttribute("href",this.urlPrefixService.addUrlPrefix("/"+t))}}overrideChatTabLink(){this.getChatConfig().subscribe((e=>{e.type===h.iH.Moxie&&setTimeout((()=>{this.windowService.document().querySelector("#MoxieFlyoutHolder").addEventListener("click",(e=>{"MoxieFlyoutTabText"===e.target.parentElement.id&&e.preventDefault()}),!0)}),1e3)}))}getAlvariaIframeUrls(e){const{iframeURL:t,iframeParams:n}=this.getChatConfig().getValue().alvariaConfig.chat;return{targetUrl:t+this.generateParams(n,e,"#!/","#!/dummy=true"),additionalUrls:{chatBot:"",softBlockedChat:""}}}toAlvariaParams(e){return{accountnumber:e.accountNumber,email:e.email,name:e.firstName,lang:this.language}}getNovomindIframeUrls(e){const{iframeURL:t,vipIframeURL:n,iframeParams:i,vipIframeParams:r}=this.getChatConfig().getValue().novomindConfig.chat,{enabled:o,botIframeURL:a,botIframeParams:s}=this.getChatConfig().getValue().novomindConfig.bot,c=this.loyaltyStore&&this.loyaltyStore.isVip&&n||t,l=this.loyaltyStore&&this.loyaltyStore.isVip&&r||i;return{targetUrl:c+this.generateParams(l,e),additionalUrls:{chatBot:o&&a?a+this.generateParams(s,e):"",softBlockedChat:this.retrieveUrlForSoftBlocked()}}}retrieveUrlForSoftBlocked(){const e={SLLV:"https://nchat2.slots.lv/iframe/iframe.html?lang=en&no_prescreen=true&chat_full_category=SLLV_UFM_Chat_OOM",BVD:"https://nchat2.bovada.lv/iframe/iframe.html?lang=en&no_prescreen=true&chat_full_category=BVLV_UFM_Chat_OOM",CFC:"https://nchat2.cafecasino.lv/iframe/iframe.html?lang=en&no_prescreen=true&chat_full_category=CCLV_UFM_Chat_OOM",IGN:"https://nchat2.ignitioncasino.eu/iframe/iframe.html?lang=en&no_prescreen=true&chat_full_category=IGEU_UFM_Chat_OOM"};return e[this.siteConfigService.getSiteConfigProp("brandCode")]?e[this.siteConfigService.getSiteConfigProp("brandCode")]:""}static toNovoMindParams(e){return{lin:e.loggedIn,ftv:e.firstTimeVisitor,ftd:e.firstTimeDepositor,df:e.depositFailure,pt:e.profileTags,em:e.email,re:e.region,an:e.accountNumber,nm:e.firstName,seg:e.playerSegment}}subscribeToPlayerStatus(t){this.playerChatMetadataService.getPlayerStatusSubject().subscribe((n=>{const i=e.toNovoMindParams(n),r=this.getNovomindIframeUrls(i);this.windowService.window().nvChat.parseConfig({...r,...t}),this.getChatConfig().getValue().novomindConfig.proactive.enabled&&(this.windowService.window().nvVars=i)}))}addCodeSnippet(e,t="reactiveChatSnippet"){const n=this.windowService.document();if(n.getElementById(t))return;const i=n.createElement("script");i.setAttribute("type","text/javascript"),i.text=e,i.id=t,n.getElementsByTagName("head")[0].appendChild(i)}generateNovomindSnippet(){const e=this.getChatConfig().getValue();return`(function(o,p){\n            var d=document,w=window,s='script',e=d.createElement(s),l;(w.NM=w.NM||{}).o=o;\n            e.type='text/java'+s;e.async=!0;e.src=(p||'//ecdn.novomind.com/rules/la/')+'nm.rules.js';\n            l=d.getElementsByTagName(s)[0];l.parentNode.insertBefore(e,l);\n        })({jspURL:'${e.novomindConfig.proactive.frontendPath}',frontendID:'${e.novomindConfig.proactive.frontendID}'},'${e.novomindConfig.proactive.pathToRules}');`.replace(/\s+/g," ")}}return e.ɵfac=function(t){return new(t||e)(g["ɵɵinject"](u.r),g["ɵɵinject"](l.TS),g["ɵɵinject"](c.u),g["ɵɵinject"](a.u),g["ɵɵinject"](s.z),g["ɵɵinject"](d.w),g["ɵɵinject"](o.x),g["ɵɵinject"](m.G),g["ɵɵinject"](p.r,8))},e.ɵprov=g["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},28530:(e,t,n)=>{"use strict";n.d(t,{Y:()=>o});var i=n(73753),r=n(57826);let o=(()=>{class e{constructor(e){this.router=e,this.history=[]}loadRouting(){this.router.events.subscribe((e=>{e instanceof i.NavigationEnd&&(this.history=[...this.history,e.urlAfterRedirects])}))}getHistory(){return this.history}getPreviousUrl(){return this.history[this.history.length-2]||"/"}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.Router))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},88391:(e,t,n)=>{"use strict";n.d(t,{c:()=>a});var i=n(6856),r=n(57826),o=n(4309);let a=(()=>{class e{constructor(e){this.platformId=e,this.move=400,this.tailOff=16,this.position=0,this.scrollInProgress=!1,this.subject=new o.Subject}initScroll(e){(0,i.isPlatformBrowser)(this.platformId)&&(this.element=e,this.checkScroll())}scrollRight(){(0,i.isPlatformBrowser)(this.platformId)&&(this.configureScroll(this.move),this.moveScrollRight())}scrollLeft(){(0,i.isPlatformBrowser)(this.platformId)&&(this.configureScroll(-this.move),this.moveScrollLeft())}getSubject(){return this.subject}configureScroll(e){this.scrollInProgress=!0,this.target=this.element.nativeElement.scrollLeft+e,this.position=this.element.nativeElement.scrollLeft,this.amount=this.move}moveScrollRight(){this.setScroll(!0),this.evaluate(this.moveScrollRight.bind(this))}moveScrollLeft(){this.setScroll(!1),this.evaluate(this.moveScrollLeft.bind(this))}checkScroll(){this.element.nativeElement.scrollWidth===this.element.nativeElement.offsetWidth?(this.subject.next({button:"left",display:!1}),this.subject.next({button:"right",display:!1})):this.position<=0?(this.subject.next({button:"left",display:!1}),this.subject.next({button:"right",display:!0})):this.position>=this.element.nativeElement.scrollWidth-this.element.nativeElement.offsetWidth?(this.subject.next({button:"left",display:!0}),this.subject.next({button:"right",display:!1})):(this.subject.next({button:"left",display:!0}),this.subject.next({button:"right",display:!0}))}resetScroll(e){(0,i.isPlatformBrowser)(this.platformId)&&(this.element=e,this.recalibrateScroll(),this.checkScroll())}recalibrateScroll(){this.configureScroll(0),this.moveScrollLeft(),this.amount=this.move}setScroll(e){let t=Math.ceil(this.amount/this.tailOff);this.position=this.position+(e?t:-t),this.amount=this.amount-t,this.element.nativeElement.scrollLeft=this.position}evaluate(e){this.amount>0?requestAnimationFrame(e):(this.scrollInProgress=!1,this.checkScroll())}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](r.PLATFORM_ID))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},82957:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var i=n(57826),r=n(88391);let o=(()=>{class e{constructor(e){this.platformId=e}create(){return new r.c(this.platformId)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},89493:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var i=n(88391),r=n(82957),o=n(42934),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({providers:[r.b,i.c,o.a]}),e})()},42934:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var i=n(57826),r=n(6856);let o=(()=>{class e{constructor(e){this.platformId=e,this.defaultOptions={behavior:"smooth"}}scrollIntoView(e,t,n){n||(n=this.defaultOptions),(0,r.isPlatformBrowser)(this.platformId)&&e.nativeElement.querySelector(t).scrollIntoView(n)}scrollViewToTop(e){(0,r.isPlatformBrowser)(this.platformId)&&e.nativeElement&&e.nativeElement.scrollIntoView()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},38473:(e,t,n)=>{"use strict";n.d(t,{I:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.scrollEnds=new i.EventEmitter}onScroll(e){if(e){let t=e.target;if(t){let n=t.scrollHeight-t.clientHeight;e.target.scrollTop+100>=n&&this.scrollEnds.emit(!0)}}}}return e.ɵfac=function(t){return new(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxScrollTracker",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("scroll",(function(e){return t.onScroll(e)}))},outputs:{scrollEnds:"scrollEnds"}}),e})()},84860:(e,t,n)=>{"use strict";n.d(t,{L:()=>i});var i=(()=>(function(e){e.cardTrackEnabled="analytics.cardtrack.enabled",e.casinoGameNewTab="casino.games.new.tab",e.apmRum="monitoring.apmrum",e.pwa="site.pwa",e.reCaptchaV3="reCaptchaV3",e.contentViewTracking="analytics.content-view-tracking.enabled",e.documentVerification="document-verification.enabled",e.multipleAttemptsFailure="multiple-failed-login-messaging.enabled",e.casinoSearchBarOpenGame="casino.search_bar.open_game",e.messageDeletionConfirmation="messages_deletion_confirmation",e.hotjarDefer="hotjar-defer",e.imageLazyload="image-lazyload",e.disableChatPreload="disable-chat-preload",e.reactiveChatDefer="reactive-chat-defer"}(i||(i={})),i))()},79346:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var i=n(45965),r=n(57826);let o=(()=>{class e{static forRoot(){return{ngModule:e,providers:[i.r]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({}),e})()},61493:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var i=(()=>(function(e){e.sharding="site.config.cdn.sharding_enabled",e.vergicUri="site.config.contact_methods.reactive.chat.vergic.js.server.uri",e.vergicCustomerKey="site.config.contact_methods.reactive.chat.vergic.js.customer.key",e.reactiveChatType="site.config.contact_methods.reactive.chat.type",e.reactiveChatSettingsUri="site.config.contact_methods.reactive.chat.js.settings.uri",e.reactiveChatDetectionUri="site.config.contact_methods.reactive.chat.js.detection.uri",e.casinoSharding="site.config.cdn.casino_sharding_enabled",e.cdnDomains="site.config.cdn.domains",e.contactMethodsPhoneEnabled="site.config.contact_methods.phone.enabled",e.contactMethodsPhoneNumber="site.config.contact_methods.phone.number",e.deviceProtectEnabled="site.config.deviceprotect.enabled",e.deviceProtectDomain="site.config.deviceprotect.domain",e.srvDomain="site.config.services.domain",e.srvSubDomain="site.config.services.subdomain",e.srvWebSocketDomain="site.config.websockets.domain",e.casinoSubDomain="site.config.casino.game_subdomain",e.cmsEnabledSections="site.config.cms.enabled_sections",e.cmsEnabledFeatures="site.config.cms.enabled_features",e.bonusSelectionCf="site.config.bonus-selection-cf.enabled",e.forfeitButtonEnabled="site.config.bonus_forfeit_enabled",e.onlyDepositBonusDisplayed="site.config.only_ftd_bonus_displayed",e.pixelTrackingEnabled="site.config.pixel.tracking.enabled",e.pixelTrackingParameterFilterEnabled="site.config.pixel.tracking.parameter_filter.enabled",e.availableCurrencies="availableCurrencies",e.defaultCurrency="currencies.default",e.languages="languages",e.languagesPublished="languages_published",e.defaultLanguage="languages.default",e.locale="site.config.locale",e.products="products",e.disabledMultiproducts="site.config.multiproduct.disabled_elements",e.profileIdentifiers="profile.identifiers",e.bucket="bucket",e.mainLogo="site.config.main_logo",e.mainHeaderLogo="site.config.main_header_logo",e.showGameDescription="site.config.show_game_description",e.leaderbaords="site.config.leaderboards.enabled",e.dynamicCards="site.config.dynamic.cards.enabled",e.brandLabel="brand_label",e.dateFormat="site.config.date.format",e.dateMask="site.config.date.mask",e.sitewideAuthExemptions="site.config.sitewide_auth_exemptions",e.featuresList="site.config.features_list",e.myAffiliateTokenExpiration="site.config.my-affiliates.token.expiration",e.depositRedirect="site.config.cashier.deposit.redirect",e.depositEnabled="site.config.cashier.deposit.enabled",e.withdrawalRedirect="site.config.cashier.withdrawal.redirect",e.webtrekkUri="site.config.webtrekk.uri",e.theme="theme",e.httpTimeoutInMilliseconds="site.config.http.timeout.in.milliseconds",e.canonicalDomain="site.config.canonical_domain",e.updatePlayerVerificationMethod="player.verification.method.profile_update",e.urlPrefix="site.config.url_prefix",e.maintenanceEnabled="site.config.maintenance.enabled",e.hotjarEnabled="site.config.hotjar.enabled",e.hotjarId="site.config.hotjar_id",e.googleAnalyticsEnabled="site.config.google_analytics.enabled",e.googleAnalyticsId="site.config.google_analytics.id",e.googleTagManagerContainerId="site.config.google_tag_manager_container_id",e.trackDomain="site.config.webtrekk.track_domain",e.localeTime="site.config.locale_time",e.affiliatesMarkets="site.config.affiliates.markets",e.rulesCheckerEnabled="site.config.conversion_funnel.rules_checker.enabled",e.phoneJoinMaxPhoneAttempts="site.config.form.join.limit_max_phone_attempts",e.phoneJoinExpirationTimeAttempts="site.config.form.join.expiration_time_phone_attempts",e.phoneValidationEnabled="site.config.sms.validation.enabled",e.phoneValidationInJoinEnabled="site.config.sms.validation.cf.enabled",e.phoneSkipValidationEnabled="site.config.sms.skip.validation.enabled",e.phoneValidationSections="site.config.sms.validation.sections",e.phoneValidationInJoinShowWarningEnabled="site.config.sms.validation.cf.show.skipping.warning.enabled",e.phoneTypeValidationSections="site.config.phone.type.validation.sections",e.phoneTypeValidV2ValidationEnabled="site.config.phone_valid_v2.validation.enabled",e.phoneTypeValidationTimeout="site.config.phone.type.validation.timeout",e.phoneTypeValidationEnabled="site.config.phone.type.validation.enabled",e.phoneTypeValidPollingRetries="site.config.phone_valid.polling_retries",e.inputIconStatusEnabled="site.config.input.icon.status",e.conversionFunnelDeferredMsgEnabled="site.config.conversion_funnel.deferred_msg.enabled",e.affiliatesProducts="site.config.affiliates.products",e.affiliatesInstantMessagesMethods="site.config.affiliates.im.methods",e.affiliatesRefSiteToken="site.config.affiliates.refSiteToken",e.registrationBonusV2="site.config.registration.bonus_overlay_v2.enabled",e.sportsStyle="site.config.sports.style",e.chatId="site.config.chat_id",e.vipChatId="site.config.vip_chat_id",e.httpRetries="site.config.http.retries",e.contactUsToAddress="site.config.contactus.toaddress",e.loyaltyEnabled="site.config.loyalty.enabled",e.apmUri="site.config.monitoring.apm.uri",e.apmSamplingRate="site.config.monitoring.apm.sampling_rate",e.apmMonitoringServices="site.config.monitoring.apm.services",e.apmDisableInstrumentations="site.config.monitoring.apm.disable_instrumentations",e.reactiveChatNvLibraryUri="site.config.contact_methods.reactive.chat.nv.js.library.uri",e.reactiveChatNvIframeUri="site.config.contact_methods.reactive.chat.nv.js.iframe.uri",e.reactiveChatNvVipIframeUri="site.config.contact_methods.reactive.chat.nv.js.iframe.vip_uri",e.reactiveChatNvIframeParams="site.config.contact_methods.reactive.chat.nv.js.iframe.params",e.reactiveChatNvVipIframeParams="site.config.contact_methods.reactive.chat.nv.js.iframe.vip_params",e.reactiveChatNvDisplayOptions="site.config.contact_methods.reactive.chat.nv.js.display.options",e.reactiveChatNvProactiveEnabled="site.config.contact_methods.reactive.chat.nv.js.proactive",e.reactiveChatNvProactiveFrontendPath="site.config.contact_methods.reactive.chat.nv.js.proactive.frontendpath",e.reactiveChatNvProactiveFrontendID="site.config.contact_methods.reactive.chat.nv.js.proactive.frontendid",e.reactiveChatNvProactivePathToRules="site.config.contact_methods.reactive.chat.nv.js.proactive.pathtorules",e.reactiveChatNvBotEnabled="site.config.contact_methods.reactive.chat.nv.js.bot",e.reactiveChatNvBotIframeUri="site.config.contact_methods.reactive.chat.nv.js.bot.iframe.uri",e.reactiveChatNvBotIframeParams="site.config.contact_methods.reactive.chat.nv.js.bot.iframe.params",e.reactiveChatAlvLibraryUri="site.config.contact_methods.reactive.chat.alv.js.library.uri",e.reactiveChatAlvIframeUri="site.config.contact_methods.reactive.chat.alv.js.iframe.uri",e.reactiveChatAlvIframeParams="site.config.contact_methods.reactive.chat.alv.js.iframe.params",e.reactiveChatAlvDisplayOptions="site.config.contact_methods.reactive.chat.alv.js.display.options",e.emailProviderSuggestions="site.config.email.provider_suggestions",e.emailProviderSuggestionsEnabled="site.config.email.provider_suggestions.enabled",e.regionalDeclarations="site.config.metadata.regional-declarations",e.markupSchemas="site.config.markup.schemas",e.rafDomain="site.config.raf.domain",e.playerSecurityCaptchaPluginUri="player.security.captcha.pluginUri",e.playerSecurityCaptchaV3PublicKey="player.security.captcha.v3.publicKey",e.playerSecurityCaptchaV3InfoActions="player.security.captcha.v3.infoActions",e.playerSecurityCaptchaV3MonitoringActions="player.security.captcha.v3.monitoringActions",e.playerSecurityCaptchaV3EnforcementActions="player.security.captcha.v3.enforcementActions",e.browsersNotSupported="site.config.browsers_not_supported",e.notificationEnabled="notification.enabled",e.matchpayJoinNowUri="site.config.matchpay.join.uri",e.matchpayCreateOfferUri="site.config.matchpay.offer.uri",e.matchpayEnabled="site.config.matchpay.enabled",e.cmMatchpayEnabled="site.config.cm.matchpay.enabled",e.mfaOperations="site.config.mfa.operations",e.reCaptchaV3Properties="reCaptchaV3Properties",e.proofOfConceptEnabledFeatures="site.config.poc.enabled.features",e.forgotPasswordImprovementsEnabled="site.config.forgot-password-improvements.enabled",e.notificationAnalyticsEnabled="site.config.analytics.notifications.enabled",e.responseErrorEventAnalyticsEnabled="site.config.analytics.response.error.event.enabled",e.customBlockedMessage="site.config.customBlockedMessage.enabled",e.customBlockedMessageBanner="site.config.customBlockedMessage.banner.enabled",e.customerSupportChat="site.config.customer_support_chat.enabled",e.mfeForgotPasswordEnabled="site.config.mfe-forgot-password.enabled",e.networkJackpotBannerHostname="site.config.casino.network_jackpot.banner_hostname",e.networkJackpotBannerLogoUrl="site.config.casino.network_jackpot.banner_logo_url",e.networkJackpotBannerRedirectionUrl="site.config.casino.network_jackpot.banner_redirection_url",e.casinoB2bBrandCode="site.config.casino.b2b_brand_code",e.crossMessagingIframeEnabled="site.config.cross_messaging_iframe.enabled",e.twoFactorAuthenticationEnabled="site.config.two_factor_authenticator.enabled",e.firstTimeVisitorEnabled="site.config.first_time_visitor.enabled",e.casinoPracticePlayDisabled="site.config.casino_practice_play.disabled",e.joinEnabled="site.config.join.enabled",e.casinoVigLivedealerTablesBlacklist="site.config.casino.vig_livedealer_tables_blacklist",e.vipInvitationEnabled="site.config.vip_invitation.enabled",e.firstTimeDepositCfDisabled="site.config.first_time_deposit.cf.disabled",e.multiProductMaintenance="site.config.multiproduct.maintenance",e.acceptsGiftsLinkTooltip="site.config.acceptsGifts.linkTooltip"}(i||(i={})),i))()},45965:(e,t,n)=>{"use strict";n.d(t,{r:()=>g});var i=n(6856),r=n(57826),o=n(4309),a=n(42998),s=n(23550),c=n(81899),l=n(50371),d=n(43640),u=n(23444);const p="services";var h=n(61493);class m{static readArray(e,t){return e.hasOwnProperty(t)&&Array.isArray(e[t])?e[t]:[]}static readBoolean(e,t){const n=this.readString(e,t,!1);return this.toBoolean(n)}static toBoolean(e){return"true"===e||!0===e}static numberFrom(e,t,n){const i=this.readString(e,t);return isNaN(i)?void 0!==n?n:void 0:parseInt(i)}static readString(e,t,n){return this.isPresent(e,t)?e[t][0]:n}static readStringOrEmpty(e,t){return this.readString(e,t,"")}static isPresent(e,t){const n=e[t];return n&&Array.isArray(n)&&n.length>0&&n[0]}static isArray(e,t){return Array.isArray(e[t])}}const f="/404";let g=(()=>{class e{constructor(t,n,i,r,o){this.windowService=t,this.platformId=n,this.universalConfig=i,this.http=r,this.global=o,this.siteConfig=e.buildDefaultConfiguration(),this.features=new Map,this.siteConfig.serviceDomain=this.replaceFirstSubDomainFromUrlSite(p)}initSiteConfig$(){return this.getSiteConfig$().pipe((0,a.map)((e=>(this.setSiteConfig(e),e))))}static buildDefaultConfiguration(){return{cdn:{shardingEnabled:!1,casinoShardingEnabled:!1,cdnDomains:[]},serviceDomain:"",serviceSubDomain:"",webSocketDomain:"",serviceIFrameEnabled:!1,casino:{vigLivedealerTablesBlacklist:[]},contactMethods:{reactiveChat:(0,d.jc)(),phoneNumber:{enabled:void 0,number:""}},bonusSelectionCfEnabled:!1,forfeitButtonEnabled:!0,onlyDepositBonusDisplayed:!0,pixelTrackingEnabled:!1,pixelTrackingParameterFilterEnabled:!1,cms:{enabledSections:[],enabledFeatures:[]},availableCurrencies:[],defaultCurrency:"",brandCode:"",brandLabel:"",territory:"",countryCode:"",languages:[],languagesPublished:[],defaultLanguage:"",regionalDeclarations:[],locale:"",products:[],disabledMultiproducts:[],deviceProtect:{enabled:!1,domain:""},profileIdentifiers:[],bucket:"",mainLogo:"",mainHeaderLogo:"",showGameDescription:!1,sports:{style:""},vipChatId:"",chatId:"",leaderboards:{enabled:!1},dynamicCards:{enabled:!1},sitewideAuthExemptions:[],featuresList:[],dateFormat:"",dateMask:"",depositRedirect:"",depositEnabled:!0,withdrawalRedirect:"",myAffiliateTokenExpiration:"",theme:"",httpTimeoutInMilliseconds:0,canonicalDomain:"",webtrekkUri:"",updatePlayerVerificationMethod:"",httpRetries:1,urlPrefix:"",maintenanceEnabled:!1,hotjar:{id:"",enabled:!1},googleAnalytics:{id:"",enabled:!1},googleTagManagerContainerId:"",trackDomain:"",localeTime:"",rulesCheckerEnabled:!1,phoneValidationEnabled:!1,phoneValidationInJoinEnabled:!1,phoneSkipValidationEnabled:!0,phoneValidationSections:[],phoneValidationInJoinShowWarningEnabled:!0,phoneTypeValidationSections:[],phoneTypeValidV2ValidationEnabled:!1,phoneTypeValidationTimeout:0,phoneTypeValidationEnabled:!1,phoneTypeValidPollingRetries:5,inputIconStatusEnabled:!1,conversionFunnelDeferredMsgEnabled:!1,affiliates:{markets:[],products:[],instantMessageMethods:[]},contactusToAddress:"",countryAccessPolicy:"",emailProviderSuggestions:{enabled:!1,emailProviders:[]},markupSchemas:[],rafDomain:"",playerSecurityCaptchaConfig:{pluginUri:void 0,playerCaptchaV3Config:{publicKey:"",monitoringActions:[],infoActions:[],enforcementActions:[]}},browsersNotSupported:[],isNotificationEnabled:!1,matchpayJoinNowUri:"",matchpayCreateOfferUri:"",matchpayEnabled:!1,cmMatchpayEnabled:!1,mfaOperations:[],reCaptchaV3Properties:[],proofOfConceptEnabledFeatures:[],phoneJoinMaxPhoneAttempts:4,phoneJoinExpirationTimeAttempts:60,notificationAnalyticsEnabled:!1,responseErrorEventAnalyticsEnabled:!1,customBlockedMessage:!1,customBlockedMessageBanner:!1,customerSupportChat:!1,mfeForgotPasswordEnabled:!1,networkJackpotBannerHostname:"",networkJackpotBannerLogoUrl:"",networkJackpotBannerRedirectionUrl:"",casinoB2bBrandCode:"",crossMessagingIframeEnabled:!1,twoFactorAuthenticatorEnabled:!1,firstTimeVisitorEnabled:!0,casinoPracticePlayDisabled:!1,joinEnabled:!0,vipInvitationEnabled:!1,firstTimeDepositCfDisabled:!1,multiProductMaintenance:[],acceptsGiftsLinkTooltip:""}}replaceFirstSubDomainFromUrlSite(e){let t="";if((0,i.isPlatformBrowser)(this.platformId)){if(t=this.windowService.location().hostname,"localhost"===t)return this.windowService.location().host;if(t.startsWith("www.local"))return this.windowService.location().host.replace("www","services")}else(0,i.isPlatformServer)(this.platformId)&&this.universalConfig&&this.universalConfig.backendHost&&(t=this.universalConfig.backendHost);let n=t?t.split("."):[""];return n[0]=e,n.join(".")}setSiteConfig(e){if(!e)return;this.siteConfig.contactMethods.reactiveChat.vergicConfig.serverURL=m.readStringOrEmpty(e,h.A.vergicUri),this.siteConfig.contactMethods.reactiveChat.vergicConfig.customerKey=m.readStringOrEmpty(e,h.A.vergicCustomerKey),this.siteConfig.contactMethods.reactiveChat.type=m.readString(e,h.A.reactiveChatType,d.iH.None),this.siteConfig.contactMethods.reactiveChat.moxieConfig.portalSettingsFileUrl=m.readStringOrEmpty(e,h.A.reactiveChatSettingsUri),this.siteConfig.contactMethods.reactiveChat.moxieConfig.portalDetectionFileUrl=m.readStringOrEmpty(e,h.A.reactiveChatDetectionUri),this.siteConfig.contactMethods.reactiveChat.novomindConfig.libraryFileURL=m.readStringOrEmpty(e,h.A.reactiveChatNvLibraryUri),this.siteConfig.contactMethods.reactiveChat.novomindConfig.chat.iframeURL=m.readStringOrEmpty(e,h.A.reactiveChatNvIframeUri),this.siteConfig.contactMethods.reactiveChat.novomindConfig.chat.vipIframeURL=m.readStringOrEmpty(e,h.A.reactiveChatNvVipIframeUri),this.siteConfig.contactMethods.reactiveChat.novomindConfig.chat.iframeParams=m.readStringOrEmpty(e,h.A.reactiveChatNvIframeParams),this.siteConfig.contactMethods.reactiveChat.novomindConfig.chat.vipIframeParams=m.readStringOrEmpty(e,h.A.reactiveChatNvVipIframeParams),this.siteConfig.contactMethods.reactiveChat.novomindConfig.displayOptions=JSON.parse(m.readStringOrEmpty(e,h.A.reactiveChatNvDisplayOptions)||"{}"),this.siteConfig.contactMethods.reactiveChat.novomindConfig.proactive.enabled=m.readBoolean(e,h.A.reactiveChatNvProactiveEnabled),this.siteConfig.contactMethods.reactiveChat.novomindConfig.proactive.frontendPath=m.readStringOrEmpty(e,h.A.reactiveChatNvProactiveFrontendPath),this.siteConfig.contactMethods.reactiveChat.novomindConfig.proactive.frontendID=m.readStringOrEmpty(e,h.A.reactiveChatNvProactiveFrontendID),this.siteConfig.contactMethods.reactiveChat.novomindConfig.proactive.pathToRules=m.readStringOrEmpty(e,h.A.reactiveChatNvProactivePathToRules),this.siteConfig.contactMethods.reactiveChat.novomindConfig.bot.enabled=m.readBoolean(e,h.A.reactiveChatNvBotEnabled),this.siteConfig.contactMethods.reactiveChat.novomindConfig.bot.botIframeParams=m.readStringOrEmpty(e,h.A.reactiveChatNvBotIframeParams),this.siteConfig.contactMethods.reactiveChat.novomindConfig.bot.botIframeURL=m.readStringOrEmpty(e,h.A.reactiveChatNvBotIframeUri),this.siteConfig.contactMethods.reactiveChat.alvariaConfig.libraryFileURL=m.readStringOrEmpty(e,h.A.reactiveChatAlvLibraryUri),this.siteConfig.contactMethods.reactiveChat.alvariaConfig.chat.iframeURL=m.readStringOrEmpty(e,h.A.reactiveChatAlvIframeUri),this.siteConfig.contactMethods.reactiveChat.alvariaConfig.chat.iframeParams=m.readStringOrEmpty(e,h.A.reactiveChatAlvIframeParams),this.siteConfig.contactMethods.reactiveChat.alvariaConfig.displayOptions=JSON.parse(m.readStringOrEmpty(e,h.A.reactiveChatAlvDisplayOptions)||"{}"),m.isPresent(e,h.A.contactMethodsPhoneEnabled)&&(this.siteConfig.contactMethods.phoneNumber.enabled=m.readBoolean(e,h.A.contactMethodsPhoneEnabled)),m.isPresent(e,h.A.contactMethodsPhoneNumber)&&(this.siteConfig.contactMethods.phoneNumber.number=m.readString(e,h.A.contactMethodsPhoneNumber)),this.siteConfig.cdn.shardingEnabled=m.readBoolean(e,h.A.sharding),this.siteConfig.webSocketDomain=m.readString(e,h.A.srvWebSocketDomain,""),m.isArray(e,h.A.cdnDomains)&&(this.siteConfig.cdn.cdnDomains=e[h.A.cdnDomains]),this.siteConfig.cdn.casinoShardingEnabled=m.readBoolean(e,h.A.casinoSharding);const t=m.readString(e,h.A.srvSubDomain,p);t&&(this.siteConfig.serviceSubDomain=t),this.siteConfig.serviceDomain=this.replaceFirstSubDomainFromUrlSite(t);const n=m.readString(e,h.A.casinoSubDomain);n&&(this.siteConfig.casino.gameSubdomain=n),this.siteConfig.markupSchemas=m.readArray(e,h.A.markupSchemas),this.siteConfig.cms.enabledSections=m.readArray(e,h.A.cmsEnabledSections),this.siteConfig.cms.enabledFeatures=m.readArray(e,h.A.cmsEnabledFeatures),this.siteConfig.availableCurrencies=m.readArray(e,h.A.availableCurrencies),this.siteConfig.defaultCurrency=m.readStringOrEmpty(e,h.A.defaultCurrency),this.siteConfig.defaultLanguage=m.readStringOrEmpty(e,h.A.defaultLanguage),this.siteConfig.myAffiliateTokenExpiration=m.readStringOrEmpty(e,h.A.myAffiliateTokenExpiration),this.siteConfig.languages=m.readArray(e,h.A.languages),this.siteConfig.languagesPublished=m.readArray(e,h.A.languagesPublished),this.siteConfig.regionalDeclarations=m.readArray(e,h.A.regionalDeclarations),this.siteConfig.locale=m.readStringOrEmpty(e,h.A.locale),this.siteConfig.products=m.readArray(e,h.A.products),this.siteConfig.disabledMultiproducts=m.readArray(e,h.A.disabledMultiproducts),this.siteConfig.profileIdentifiers=m.readArray(e,h.A.profileIdentifiers),this.siteConfig.bucket=m.readStringOrEmpty(e,h.A.bucket),this.siteConfig.mainLogo=m.readStringOrEmpty(e,h.A.mainLogo),this.siteConfig.mainHeaderLogo=m.readStringOrEmpty(e,h.A.mainHeaderLogo),this.siteConfig.theme=m.readStringOrEmpty(e,h.A.theme),this.siteConfig.showGameDescription=m.readBoolean(e,h.A.showGameDescription),this.siteConfig.sitewideAuthExemptions=m.readArray(e,h.A.sitewideAuthExemptions),this.siteConfig.featuresList=m.readArray(e,h.A.featuresList),this.siteConfig.depositRedirect=m.readString(e,h.A.depositRedirect,f),m.isPresent(e,h.A.depositEnabled)&&(this.siteConfig.depositEnabled=m.readBoolean(e,h.A.depositEnabled)),this.siteConfig.withdrawalRedirect=m.readString(e,h.A.withdrawalRedirect,f),this.siteConfig.httpTimeoutInMilliseconds=m.numberFrom(e,h.A.httpTimeoutInMilliseconds),this.siteConfig.canonicalDomain=m.readStringOrEmpty(e,h.A.canonicalDomain),this.siteConfig.webtrekkUri=m.readStringOrEmpty(e,h.A.webtrekkUri),this.siteConfig.maintenanceEnabled=m.readBoolean(e,h.A.maintenanceEnabled),this.siteConfig.updatePlayerVerificationMethod=m.readString(e,h.A.updatePlayerVerificationMethod,"PASSWORD"),e.brandCode&&(this.siteConfig.brandCode=e.brandCode),this.siteConfig.brandLabel=m.readStringOrEmpty(e,h.A.brandLabel),this.siteConfig.networkJackpotBannerHostname=m.readStringOrEmpty(e,h.A.networkJackpotBannerHostname),this.siteConfig.networkJackpotBannerLogoUrl=m.readStringOrEmpty(e,h.A.networkJackpotBannerLogoUrl),this.siteConfig.networkJackpotBannerRedirectionUrl=m.readStringOrEmpty(e,h.A.networkJackpotBannerRedirectionUrl),this.siteConfig.casinoB2bBrandCode=m.readStringOrEmpty(e,h.A.casinoB2bBrandCode),e.territory&&(this.siteConfig.territory=e.territory),e.countryCode&&(this.siteConfig.countryCode=e.countryCode),e.countryAccessPolicy&&(this.siteConfig.countryAccessPolicy=e.countryAccessPolicy),this.siteConfig.deviceProtect.enabled=m.readBoolean(e,h.A.deviceProtectEnabled),this.siteConfig.deviceProtect.domain=m.readStringOrEmpty(e,h.A.deviceProtectDomain),this.siteConfig.bonusSelectionCfEnabled=m.readBoolean(e,h.A.bonusSelectionCf),m.isPresent(e,h.A.forfeitButtonEnabled)&&(this.siteConfig.forfeitButtonEnabled=m.readBoolean(e,h.A.forfeitButtonEnabled)),m.isPresent(e,h.A.onlyDepositBonusDisplayed)&&(this.siteConfig.onlyDepositBonusDisplayed=m.readBoolean(e,h.A.onlyDepositBonusDisplayed)),this.siteConfig.pixelTrackingEnabled=m.readBoolean(e,h.A.pixelTrackingEnabled),this.siteConfig.pixelTrackingParameterFilterEnabled=m.readBoolean(e,h.A.pixelTrackingParameterFilterEnabled),this.siteConfig.sports.style=m.readStringOrEmpty(e,h.A.sportsStyle),this.siteConfig.chatId=m.readStringOrEmpty(e,h.A.chatId),this.siteConfig.vipChatId=m.readStringOrEmpty(e,h.A.vipChatId),this.siteConfig.leaderboards.enabled=m.readBoolean(e,h.A.leaderbaords),this.siteConfig.dynamicCards.enabled=m.readBoolean(e,h.A.dynamicCards),this.siteConfig.dateFormat=m.readString(e,h.A.dateFormat,"MM-DD-YYYY"),this.siteConfig.dateMask=m.readString(e,h.A.dateMask,"[0-1], \\d, -, [0-3], \\d, -, [1-2], \\d, \\d, \\d"),this.siteConfig.urlPrefix=m.readStringOrEmpty(e,h.A.urlPrefix),this.siteConfig.httpRetries=m.numberFrom(e,h.A.httpRetries,1),this.siteConfig.rulesCheckerEnabled=m.readBoolean(e,h.A.rulesCheckerEnabled),this.siteConfig.phoneValidationEnabled=m.readBoolean(e,h.A.phoneValidationEnabled),this.siteConfig.phoneValidationInJoinEnabled=m.readBoolean(e,h.A.phoneValidationInJoinEnabled),this.siteConfig.phoneSkipValidationEnabled=m.readBoolean(e,h.A.phoneSkipValidationEnabled),this.siteConfig.phoneValidationSections=m.readArray(e,h.A.phoneValidationSections),this.siteConfig.phoneTypeValidationSections=m.readArray(e,h.A.phoneTypeValidationSections),this.siteConfig.phoneTypeValidV2ValidationEnabled=m.readBoolean(e,h.A.phoneTypeValidV2ValidationEnabled),this.siteConfig.phoneTypeValidationTimeout=m.numberFrom(e,h.A.phoneTypeValidationTimeout,0),this.siteConfig.phoneTypeValidationEnabled=m.readBoolean(e,h.A.phoneTypeValidationEnabled),this.siteConfig.phoneTypeValidPollingRetries=m.numberFrom(e,h.A.phoneTypeValidPollingRetries,5),this.siteConfig.phoneValidationInJoinShowWarningEnabled=m.readBoolean(e,h.A.phoneValidationInJoinShowWarningEnabled),this.siteConfig.inputIconStatusEnabled=m.readBoolean(e,h.A.inputIconStatusEnabled),this.siteConfig.hotjar.enabled=m.readBoolean(e,h.A.hotjarEnabled),this.siteConfig.hotjar.id=m.readString(e,h.A.hotjarId),this.siteConfig.googleAnalytics.enabled=m.readBoolean(e,h.A.googleAnalyticsEnabled),this.siteConfig.googleAnalytics.id=m.readString(e,h.A.googleAnalyticsId),this.siteConfig.googleTagManagerContainerId=m.readString(e,h.A.googleTagManagerContainerId),this.siteConfig.trackDomain=m.readStringOrEmpty(e,h.A.trackDomain),this.siteConfig.localeTime=m.readStringOrEmpty(e,h.A.localeTime),this.siteConfig.affiliates.markets=m.readArray(e,h.A.affiliatesMarkets),this.siteConfig.affiliates.products=m.readArray(e,h.A.affiliatesProducts),this.siteConfig.affiliates.instantMessageMethods=m.readArray(e,h.A.affiliatesInstantMessagesMethods),m.isPresent(e,h.A.affiliatesRefSiteToken)&&(this.siteConfig.affiliates.refSiteToken=m.readString(e,h.A.affiliatesRefSiteToken)),this.siteConfig.contactusToAddress=m.readStringOrEmpty(e,h.A.contactUsToAddress),this.siteConfig.conversionFunnelDeferredMsgEnabled=m.readBoolean(e,h.A.conversionFunnelDeferredMsgEnabled),m.isPresent(e,h.A.registrationBonusV2)&&(this.siteConfig.registrationBonusV2=m.readBoolean(e,h.A.registrationBonusV2)),m.isPresent(e,h.A.apmUri)&&(this.siteConfig.apmUri=m.readString(e,h.A.apmUri)),this.siteConfig.apmSamplingRate=m.numberFrom(e,h.A.apmSamplingRate,0),this.siteConfig.apmMonitoringServices=m.readBoolean(e,h.A.apmMonitoringServices),this.siteConfig.apmDisableInstrumentations=m.readArray(e,h.A.apmDisableInstrumentations),this.siteConfig.emailProviderSuggestions={enabled:m.readBoolean(e,h.A.emailProviderSuggestionsEnabled),emailProviders:m.readArray(e,h.A.emailProviderSuggestions)},this.siteConfig.rafDomain=m.readStringOrEmpty(e,h.A.rafDomain),e.playerSecurityCaptchaPluginUri&&(this.siteConfig.playerSecurityCaptchaConfig.pluginUri=e.playerSecurityCaptchaPluginUri),this.siteConfig.playerSecurityCaptchaConfig.playerCaptchaV3Config.publicKey=m.readString(e,h.A.playerSecurityCaptchaV3PublicKey),this.siteConfig.playerSecurityCaptchaConfig.playerCaptchaV3Config.infoActions=m.readArray(e,h.A.playerSecurityCaptchaV3InfoActions),this.siteConfig.playerSecurityCaptchaConfig.playerCaptchaV3Config.monitoringActions=m.readArray(e,h.A.playerSecurityCaptchaV3MonitoringActions),this.siteConfig.playerSecurityCaptchaConfig.playerCaptchaV3Config.enforcementActions=m.readArray(e,h.A.playerSecurityCaptchaV3EnforcementActions),this.siteConfig.browsersNotSupported=m.readArray(e,h.A.browsersNotSupported),this.siteConfig.isNotificationEnabled=m.readBoolean(e,h.A.notificationEnabled),this.siteConfig.matchpayJoinNowUri=m.readString(e,h.A.matchpayJoinNowUri,""),this.siteConfig.matchpayCreateOfferUri=m.readString(e,h.A.matchpayCreateOfferUri,""),this.siteConfig.matchpayEnabled=m.readBoolean(e,h.A.matchpayEnabled),this.siteConfig.cmMatchpayEnabled=m.readBoolean(e,h.A.cmMatchpayEnabled),this.siteConfig.mfaOperations=m.readArray(e,h.A.mfaOperations),this.siteConfig.reCaptchaV3Properties=e.reCaptchaV3Properties?Object.values(e.reCaptchaV3Properties.actions):m.readArray(e,h.A.reCaptchaV3Properties),this.siteConfig.proofOfConceptEnabledFeatures=m.readArray(e,h.A.proofOfConceptEnabledFeatures),this.readFeatureFlags(e),this.siteConfig.phoneJoinMaxPhoneAttempts=m.numberFrom(e,h.A.phoneJoinMaxPhoneAttempts,4),this.siteConfig.phoneJoinExpirationTimeAttempts=m.numberFrom(e,h.A.phoneJoinExpirationTimeAttempts,60),this.siteConfig.notificationAnalyticsEnabled=m.readBoolean(e,h.A.notificationAnalyticsEnabled),this.siteConfig.responseErrorEventAnalyticsEnabled=m.readBoolean(e,h.A.responseErrorEventAnalyticsEnabled),this.siteConfig.customBlockedMessage=m.readBoolean(e,h.A.customBlockedMessage),this.siteConfig.customBlockedMessageBanner=m.readBoolean(e,h.A.customBlockedMessageBanner),this.siteConfig.customerSupportChat=m.readBoolean(e,h.A.customerSupportChat),this.siteConfig.mfeForgotPasswordEnabled=m.readBoolean(e,h.A.mfeForgotPasswordEnabled),this.siteConfig.crossMessagingIframeEnabled=m.readBoolean(e,h.A.crossMessagingIframeEnabled),this.siteConfig.twoFactorAuthenticatorEnabled=m.readBoolean(e,h.A.twoFactorAuthenticationEnabled),this.siteConfig.firstTimeVisitorEnabled=m.readBoolean(e,h.A.firstTimeVisitorEnabled),this.siteConfig.casinoPracticePlayDisabled=m.readBoolean(e,h.A.casinoPracticePlayDisabled),this.siteConfig.joinEnabled=m.readBoolean(e,h.A.joinEnabled),this.siteConfig.casino.vigLivedealerTablesBlacklist=m.readArray(e,h.A.casinoVigLivedealerTablesBlacklist),this.siteConfig.vipInvitationEnabled=m.readBoolean(e,h.A.vipInvitationEnabled),this.siteConfig.firstTimeDepositCfDisabled=m.readBoolean(e,h.A.firstTimeDepositCfDisabled),this.siteConfig.multiProductMaintenance=m.readArray(e,h.A.multiProductMaintenance),this.siteConfig.acceptsGiftsLinkTooltip=m.readString(e,h.A.acceptsGiftsLinkTooltip)}getSiteConfig(){return this.siteConfig}getSiteConfigProp(e){return this.siteConfig[e]}isFeaturePresent(e){return this.siteConfig.featuresList&&this.siteConfig.featuresList.includes(e)}evalFeature(e){return this.features.get(e)||!1}hasFeature(e){let t=!1;return this.siteConfig.featuresList.forEach((n=>{e.match(new RegExp(`^${n}.?`))&&(t=!0)})),t}setBonusSelectionCfEnabled(e){this.siteConfig.bonusSelectionCfEnabled=e,this.features.set(h.A.bonusSelectionCf,e)}getSiteConfig$(){return(0,i.isPlatformBrowser)(this.platformId)?(0,o.of)(this.global.nativeGlobal.config):this.http.get("/services/site-config/v1/config")}readFeatureFlags(e){this.features.clear(),e&&Object.keys(e).forEach((t=>{this.features.set(t,m.readBoolean(e,t))}))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](c.u),r["ɵɵinject"](r.PLATFORM_ID),r["ɵɵinject"](u.c,8),r["ɵɵinject"](s.HttpClient,8),r["ɵɵinject"](l.w,8))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},35294:(e,t,n)=>{"use strict";n.d(t,{X:()=>a});var i=n(64762),r=n(91184),o=n(57826);class a{constructor(){this.loginState=!1}setLoginState(e){this.loginState=e}}a.ɵfac=function(e){return new(e||a)},a.ɵprov=o["ɵɵdefineInjectable"]({token:a,factory:a.ɵfac}),(0,i.__decorate)([r.LO,(0,i.__metadata)("design:type",Boolean)],a.prototype,"loginState",void 0),(0,i.__decorate)([r.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[Boolean]),(0,i.__metadata)("design:returntype",void 0)],a.prototype,"setLoginState",null)},91691:(e,t,n)=>{"use strict";n.d(t,{C:()=>a});var i=n(35294),r=n(84581),o=n(57826);let a=(()=>{class e{static forRoot(){return{ngModule:e,providers:[i.X,r.e]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({}),e})()},6054:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});const i=new(n(57826).InjectionToken)("BalanceStoreToken")},89309:(e,t,n)=>{"use strict";n.d(t,{r:()=>i});const i=new(n(57826).InjectionToken)("LoyaltyStoreToken")},1776:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});const i=new(n(57826).InjectionToken)("NotificationsStoreToken")},38056:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const i=new(n(57826).InjectionToken)("ProfileStoreToken")},84781:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var i=n(64762),r=n(91184),o=n(9005);class a{constructor(){this.trigger=!1}refresh(){this.trigger=!this.trigger,this.state=o.J.PENDING}error(){this.state=o.J.ERROR}done(){this.state=o.J.DONE}get mustRefresh(){return this.trigger}get isError(){return this.state===o.J.ERROR}get isDone(){return this.state===o.J.DONE}}(0,i.__decorate)([r.LO,(0,i.__metadata)("design:type",Number)],a.prototype,"state",void 0),(0,i.__decorate)([r.LO,(0,i.__metadata)("design:type",Object)],a.prototype,"trigger",void 0),(0,i.__decorate)([r.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],a.prototype,"refresh",null),(0,i.__decorate)([r.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],a.prototype,"error",null),(0,i.__decorate)([r.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],a.prototype,"done",null),(0,i.__decorate)([r.Fl,(0,i.__metadata)("design:type",Boolean),(0,i.__metadata)("design:paramtypes",[])],a.prototype,"mustRefresh",null),(0,i.__decorate)([r.Fl,(0,i.__metadata)("design:type",Boolean),(0,i.__metadata)("design:paramtypes",[])],a.prototype,"isError",null),(0,i.__decorate)([r.Fl,(0,i.__metadata)("design:type",Boolean),(0,i.__metadata)("design:paramtypes",[])],a.prototype,"isDone",null)},9005:(e,t,n)=>{"use strict";n.d(t,{J:()=>i});var i=(()=>(function(e){e[e.PENDING=0]="PENDING",e[e.DONE=1]="DONE",e[e.ERROR=2]="ERROR"}(i||(i={})),i))()},84581:(e,t,n)=>{"use strict";n.d(t,{e:()=>c});var i=n(64762),r=n(32711),o=n(35294),a=n(91184),s=n(57826);class c{constructor(e){this.appStateStore=e,(0,r.U5)((()=>this.appStateStore.loginState),(e=>this.setLoggedIn(e)))}setLoggedIn(e){this.loggedIn=e}}c.ɵfac=function(e){return new(e||c)(s["ɵɵinject"](o.X))},c.ɵprov=s["ɵɵdefineInjectable"]({token:c,factory:c.ɵfac}),(0,i.__decorate)([r.LO,(0,i.__metadata)("design:type",Boolean)],c.prototype,"loggedIn",void 0),(0,i.__decorate)([a.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[Boolean]),(0,i.__metadata)("design:returntype",void 0)],c.prototype,"setLoggedIn",null)},51535:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});const i={default:{notificationComponent:{showClose:!1,timeout:3e3},header:{cta:{overflow:!0,deposit:{class:"primary"},join:{class:"cta-small primary"},login:{class:"cta-small tertiary inverse"}},langselect:{position:{left:!0,right:!1}},navmenu:{show:!0},logo:{small:!1}},registration:{hideLogo:!1,hideLegend:!0,unpaddedHeader:!0,transparentPhonePrefix:!0,joinButtonFullOpacity:!0,headerLevel2:!1},login:{messageOverlay:!0,hideRememberMe:!1,joinNowStyleClass:"secondary",unpaddedHeader:!0,loginButtonFullOpacity:!0,headerLevel2:!1,softBlockedIconClass:"icon-launch"},pinCode:{headerLevel2:!1},pinCodeUpdate:{alwaysKeepCloseButtonHidden:!0,hideSecondPinCodeAdvertisement:!0,alwaysShowPinCodeFormLabel:!0,hidePinCodeNotModifiableMessage:!0,hidePinCodeEye:!0,alwaysShowPinCode:!0,showPinCodeLegend:!0,autoHideSubmitButton:!0,additionalClasses:["bodog88"],headerLevel2:!1},pinCodeForceUpdate:{alwaysKeepCloseButtonHidden:!0,alwaysShowPinCodeFormLabel:!0,hidePinCodeEye:!0,alwaysShowPinCode:!0,showPinCodeLegend:!0,autoHideSubmitButton:!0,headerLevel2:!1,operationType:"FORCE_UPDATE"},casinoGameSearchConfig:{scrollToTopAllowed:!1},pinCodeReset:{alwaysKeepCloseButtonHidden:!0,alwaysShowPinCodeFormLabel:!0,hidePinCodeEye:!0,alwaysShowPinCode:!0,showPinCodeLegend:!0,autoHideSubmitButton:!0,headerLevel2:!1,operationType:"RESET"},pinCodeUpdateProfile:{alwaysKeepCloseButtonHidden:!0,alwaysShowPinCodeFormLabel:!0,hidePinCodeEye:!1,alwaysShowPinCode:!1,showPinCodeLegend:!0,autoHideSubmitButton:!0,headerLevel2:!1,operationType:"UPDATE_PROFILE"},latestWinners:{cardNameOnTop:!0,additionalClasses:["squared-cards"]},contactUs:{messageOverlay:!0,responsiveTwoColumns:!0},contactUsOverlay:{messageOverlay:!0,responsiveTwoColumns:!1},resetPassword:{messageOverlay:!0,hideNotificationIfNoError:!0,additionalClasses:["copperhead"]},forgotPassword:{messageOverlay:!0,hideNotificationIfNoError:!0,showPinCodeControl:!1,showContactUsLink:!0,additionalClasses:["bodog88"],headerLevel2:!1},validationCodeBonus:{skipButtonStyleClass:"tertiary"},communicationPlayer:{messageOverlay:!1,additionalClasses:["copperhead"],detailHeadingStyle:"h2-heading",customTabTypeClass:"quaternary inverse"},bonusSelection:{messageOverlay:!0,fullWidth:!0},bonusWidget:{arrowBelongsBonusDescription:!0},card:{playOverlay:!1,imgGame:!0,newGame:!0,gamePrice:!0,thumbnailColor:"",defaultImageColor:""},gameCatalog:{imageType:"large",showDropdown:!1,showArrowMenu:!0,applyMaxContainer:!1,hideAndWrappComponent:!0,noLateralPadding:!0,customCarousel:!0,showSubcategoryTitle:!0},gridCards:{maxContainer:!0,defaultImageDimension:{width:224,height:117},footer:["article"]},bannerWelcome:{cta:{login:{class:""}},brandLogo:"/content/images/logo_welcome.png"},carouselGames:{noTabBackgroundColor:!1,cardImageType:"small"},bannerCarousel:{maxContainer:!0,carouselAnimation:!0},contentSlide:{maxContainer:!0},bonusAccountComponent:{actionButtonClass:"secondary",moreInfoTextClass:"more-info-color",bonusIconClass:"icon-radius",bonusActiveClass:"bonus-active",availableTabClass:"quaternary inverse"},bonusAccountClaimByCodeComponent:{containerClass:"redeem-code-by-code",contentClass:"redeem-code",formClass:"bonus-main",buttonDivClass:"redeem-button",buttonClass:"custom-cta secondary",buttonText:"bonusAccountClaimByCode.redeemCode"},bonusConfirmationComponent:{secondaryButtonClass:"custom-cta tertiary"},gameCategoryComponent:{showSubcategoryTitle:!0},cashierWrapper:{fullWidth:!0},transactions:{description:{style:{highlight:!0}}},promotions:{title:{position:"top"}},articles:{title:{position:"top"},date:{position:"top"}},languageSelector:{isCodeLabel:!0,showSelectedIcon:!0},dropdown:{backgroundOverlay:!1},headerMenuPage:{titleClass:"h2-heading-inverse"},helpUI:{helpPageIdentifier:"help",helpSearchNoResultsIcon:"icon-info",helpSearchInputIconClose:"icon-close",classUiPrimaryHelpLeftNavigation:"primary",classUiPrimaryHelpSearchResults:"primary",classUiInverseHelpSearchResults:"inverse",classUiInverseHelpLeftNavigation:"",showArrowIcon:!0,iconMainQuestionThanksOption:"icon-status-win",smartContactOutside:!1,smartContactsHorizontal:!1},quickLinks:{displayIcon:!1}},bodoglatam:{headerMenuPage:{titleClass:"h2-heading"},communicationPlayer:{customTabTypeClass:"secondary"}},bodog88:{languageSelector:{isCodeLabel:!0,iconClassProperty:"icon",showSelectedIcon:!1},quickLinks:{displayIcon:!0},login:{softBlockedIconClass:"icon-forbidden"}}}},71059:(e,t,n)=>{"use strict";n.d(t,{Y:()=>a});var i=n(6884),r=n(16465),o=n(50377);function a(e,t){return function(n){let i=e.default[t],o=n.getSiteConfigProp("theme");return o&&e[o]&&e[o][t]?r(s,i,e[o][t]):i}}function s(e,t){return Array.isArray(e)&&Array.isArray(t)?o(i(e,t)):"object"==typeof e&&"object"==typeof t?r(s,e,t):t}},55183:(e,t,n)=>{"use strict";n.d(t,{a:()=>l});var i=n(41759),r=n(13493),o=n(48108),a=n(6856),s=n(25595),c=n(57826);let l=(()=>{class e{constructor(e,t,n,i){this.timezoneService=e,this.datePipe=t,this.languageService=n,this.localeService=i,this.locale="en",this.languageService&&this.languageService.getLanguage().subscribe((e=>{this.localeService&&(this.locale=this.localeService.getLocaleTime(e))}))}getLanguageService(){return this.languageService}getLocaleService(){return this.localeService}transform(e,t,n){if(!e)return"";try{if(this.datePipe&&this.isLocalizedFormat(t))return this.datePipe.transform(e,t,this.getUtcOffset(e),this.locale);{const i=this.getMoment(e).format(t);return"Invalid date"===i&&null!=n?n:i}}catch(e){if(null!=n)return n;throw e}}getMoment(e){return i.Z.tz(e,this.timezoneService.getCurrentTimezone())}getUtcOffset(t){return this.getMoment(t).format(e.OFFSET_FROM_UTC_TOKEN)}isLocalizedFormat(t){return e.I18N_FORMATS.includes(t)}}return e.I18N_FORMATS=["shortTime","mediumTime","longTime","fullTime","short","medium","long","full","shortDate","mediumDate","longDate","fullDate"],e.OFFSET_FROM_UTC_TOKEN="Z",e.ɵfac=function(t){return new(t||e)(c["ɵɵdirectiveInject"](r.B,16),c["ɵɵdirectiveInject"](a.DatePipe,24),c["ɵɵdirectiveInject"](o.T,24),c["ɵɵdirectiveInject"](s.O,24))},e.ɵpipe=c["ɵɵdefinePipe"]({name:"bxDate",type:e,pure:!0}),e.ɵprov=c["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},45645:(e,t,n)=>{"use strict";n.d(t,{G:()=>o});var i=n(55183),r=n(57826);let o=(()=>{class e{constructor(e){this.bxDatePipe=e}transform(e){return null!=e?e.replace(/\[date:([^\[]+)]([^\[]+)\[\/date]/g,((e,t,n)=>this.bxDatePipe.transform(n,t))):e}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](i.a,16))},e.ɵpipe=r["ɵɵdefinePipe"]({name:"bxDateTag",type:e,pure:!0}),e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},34207:(e,t,n)=>{"use strict";n.d(t,{$:()=>c});var i=n(55183),r=n(13493),o=n(56614),a=n(6856),s=n(57826);let c=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({providers:[r.B,a.DatePipe,i.a],imports:[[o.F]]}),e})()},13493:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var i=n(55640),r=n(41759),o=n(57826);let a=(()=>{class e{constructor(e){this.browserStorageService=e}getCurrentTimezone(){return this.browserStorageService.get(e.TIMEZONE_KEY)||r.Z.tzGuess()}setCurrentTimezone(t){this.browserStorageService.set(e.TIMEZONE_KEY,t)}}return e.TIMEZONE_KEY="timezone",e.DEFAULT_TIMEZONE="US/Eastern",e.TIMEZONE_EDT_ALWAYS="US/ALWAYS_EDT",e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.z))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},26626:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.linkHasBeenClicked=!1}getLinkClicked(){return this.linkHasBeenClicked}setLinkClicked(e){this.linkHasBeenClicked=e}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},63576:(e,t,n)=>{"use strict";n.d(t,{Q:()=>d});var i=n(50536),r=n(46333),o=n(57685),a=n(11198),s=n(41306),c=n(26626),l=n(57826);let d=(()=>{class e{static forRoot(){return{ngModule:e}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=l["ɵɵdefineNgModule"]({type:e}),e.ɵinj=l["ɵɵdefineInjector"]({providers:[c.j],imports:[[r.d,i.j,o.z.forBrowser(),a.$,s.I]]}),e})()},59948:(e,t,n)=>{"use strict";n.d(t,{f:()=>i});const i=new(n(57826).InjectionToken)("TranslateConfig")},86014:(e,t,n)=>{"use strict";n.d(t,{P:()=>l});var i=n(57826),r=n(73753),o=n(42998),a=n(91605),s=n(81736),c=n(12596);let l=(()=>{class e{constructor(e,t,n,i,r){this.el=e,this.translateService=t,this.markupService=n,this.renderer=i,this.router=r,this.attributeElements=[]}set bxTranslate(e){this.attributeElements=[].concat(e)}handleAnchorClicks(e){if(null!=this.router&&null!=e&&!e.target.isEqualNode(this.el.nativeElement)){let t=this.findClosestAnchor(e.target);if(t){let n=t.getAttribute("href");const i=t.getAttribute("target");if(n&&this.isRelativeURL(n)&&(!i||"_blank"!==i))return this.router.navigate([n]),e.preventDefault(),e.stopPropagation(),!1}}return!0}findClosestAnchor(e){for(;null!=e&&"A"!==e.tagName;)e=e.parentElement;return e}isRelativeURL(e){return!/(http(s?))\:\/\//gi.test(e)}ngAfterViewInit(){this.setupTagText(),this.loadTranslations(),this.subscription=this.updateNodes()}ngOnChanges(e){e.bxTranslate.isFirstChange()||(this.loadTranslations(),this.subscription=this.updateNodes())}ngOnDestroy(){this.subscription&&(this.subscription.unsubscribe(),this.decreasePendingTranslationsCounter(),this.noRemainingRequestsPending()&&this.unHideParent("canceled!"))}loadTranslations(){let e=this.getTranslationLabel();if(e){let t=this.translateService.getCategory(e);this.translations$&&this.category===t||(this.category=t,this.translations$=this.getTranslations(e))}}getTranslationLabel(){let e;if(this.attributeElements.length>0){let t=this.attributeElements[0];"string"==typeof t?e=this.getLabel(t):t.tag&&(e=t.label?t.label:this.getLabel(t.tag))}return e}getLabel(t){return(t===e.TAG_TEXT_ATTRIBUTE_NAME?this.el.nativeElement[t]:this.el.nativeElement.getAttribute(t)).trim()}getTranslations(e){return this.findClosestParentComponent(),this.isFirstTranslationRequestForParent()?this.initializeTranslationRequest():this.linkToExistingTranslationRequest(),this.increasePendingTranslationsCounter(),this.translateService.loadTranslations(this.translateService.getCategory(e)).pipe((0,o.first)((e=>Object.keys(e).length>0)))}setupTagText(){this.attributeElements.some((t=>t===e.TAG_TEXT_ATTRIBUTE_NAME||t.tag===e.TAG_TEXT_ATTRIBUTE_NAME))||this.attributeElements.push(e.TAG_TEXT_ATTRIBUTE_NAME)}updateNodes(){return this.translations$?this.translations$.subscribe((t=>{let n;this.attributeElements.forEach((i=>{let r,o;if("string"==typeof i?(n=this.getLabel(i),r=i,o=t[n]):i.tag&&(r=i.tag,n=void 0!==i.label&&null!=i.label?i.label:this.getLabel(i.tag),o=i.values?t[n]&&this.translateService.interpolate(t[n],i.values):t[n]),o)if(r===e.TAG_TEXT_ATTRIBUTE_NAME){i.values&&(o=this.translateService.interpolate(o,i.values));let t=this.markupService.parseMarkupContent(o);switch(t.type){case s.S.plain:this.el.nativeElement[e.TAG_TEXT_ATTRIBUTE_NAME]=t.content;break;case s.S.html:this.el.nativeElement.innerHTML=t.content}}else this.el.nativeElement[r]=o;else this.el.nativeElement[r]=n;this.decreasePendingTranslationsCounter()})),this.noRemainingRequestsPending()&&this.unHideParent()})):null}findClosestParentComponent(){const e=/(bx|sp)-/;if(this.parentDomElement=this.el.nativeElement,this.parentDomName=this.parentDomElement.localName,this.parentDomElement.parentNode&&this.parentDomElement.parentNode.localName)do{this.parentDomElement=this.parentDomElement.parentNode,this.parentDomName=this.parentDomElement.localName}while(this.parentDomElement.parentNode&&this.parentDomElement.parentNode.localName&&!this.parentDomName.match(e))}noRemainingRequestsPending(){return!this.translateService.pendingTranslationRequestsPerDom.get(this.parentDomTransactionId)||this.translateService.pendingTranslationRequestsPerDom.get(this.parentDomTransactionId)<1}decreasePendingTranslationsCounter(){let e=this.translateService.pendingTranslationRequestsPerDom.get(this.parentDomTransactionId);this.translateService.pendingTranslationRequestsPerDom.set(this.parentDomTransactionId,--e)}increasePendingTranslationsCounter(){let e=this.translateService.pendingTranslationRequestsPerDom.get(this.parentDomTransactionId);this.translateService.pendingTranslationRequestsPerDom.set(this.parentDomTransactionId,++e)}unHideParent(e="success!"){this.translateService.pendingTranslationRequestsPerDom.delete(this.parentDomTransactionId);let t=this.parentDomElement.getAttribute("previousStyle");"null"!==t?this.renderer.setAttribute(this.parentDomElement,"style",t):this.renderer.setStyle(this.parentDomElement,"visibility","inherit"),this.renderer.removeAttribute(this.parentDomElement,"previousStyle"),this.renderer.setAttribute(this.parentDomElement,"waiting-for-files-to-load",e)}initializeTranslationRequest(){this.parentDomTransactionId="translate-request-"+(0,a.v4)(),this.translateService.pendingTranslationRequestsPerDom.set(this.parentDomTransactionId,0),this.renderer.setAttribute(this.parentDomElement,"waiting-for-files-to-load",this.parentDomTransactionId);let e=this.parentDomElement.getAttribute("style");this.renderer.setAttribute(this.parentDomElement,"previousStyle",e),this.renderer.setStyle(this.parentDomElement,"visibility","hidden")}linkToExistingTranslationRequest(){this.parentDomTransactionId=this.parentDomElement.getAttribute("waiting-for-files-to-load")}isFirstTranslationRequestForParent(){return!this.parentDomElement.getAttribute("waiting-for-files-to-load")||this.parentDomElement.getAttribute("waiting-for-files-to-load").includes("!")}}return e.TAG_TEXT_ATTRIBUTE_NAME="textContent",e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](c.s),i["ɵɵdirectiveInject"](s.l),i["ɵɵdirectiveInject"](i.Renderer2),i["ɵɵdirectiveInject"](r.Router,8))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxTranslate",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("click",(function(e){return t.handleAnchorClicks(e)}))},inputs:{bxTranslate:"bxTranslate"},features:[i["ɵɵNgOnChangesFeature"]]}),e})()},84704:(e,t,n)=>{"use strict";n.d(t,{a:()=>m});var i=n(57826),r=n(23550),o=n(12596),a=n(50536),s=n(59948),c=n(81736);let l=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[c.l]}),e})();var d=n(48108),u=n(53272),p=n(19065);function h(e,t,n,i){return new o.s(e,t,n,i)}let m=(()=>{class e{static configure(t){return{ngModule:e,providers:[{provide:s.f,useValue:{customPath:t}}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[{provide:o.s,useFactory:h,deps:[r.HttpClient,d.T,p.x,[new i.Optional,s.f]]}],imports:[[a.j,l,u.b]]}),e})()},12596:(e,t,n)=>{"use strict";n.d(t,{s:()=>d});var i=n(23550),r=n(4309),o=n(42998),a=n(48108),s=n(59948),c=n(57826),l=n(19065);let d=(()=>{class e{constructor(e,t,n,i){this.http=e,this.languageService=t,this.stringUtils=n,this.subscriptions=new Map,this.translations=new Map,this.pendingTranslationRequestsPerDom=new Map,this.lang="en",this.languageService.getLanguage().subscribe((e=>this.lang=e)),i&&i.customPath?this.customPath=i.customPath:this.languageService.getTranslationUrlPrefix&&(this.customPath=this.languageService.getTranslationUrlPrefix())}injectCategory(e){for(let t in e){let n=e[t];this.translations.has(t)||this.translations.set(t,new r.BehaviorSubject({})),this.translations.get(t).next(n)}}loadTranslations(e,t=!1,n){return!this.translations.has(e)||t?(this.translations.has(e)||this.translations.set(e,new r.BehaviorSubject({})),this.fetchTranslations(e,n)):this.translations.get(e).subscribe((t=>{0!==Object.keys(t).length&&-1===Object.keys(t).indexOf("error")||this.fetchTranslations(e,n)})),this.translations.get(e)}getCategory(e){return e.split(".")[0]}translate(e,t){return this.loadTranslations(this.getCategory(e)).pipe((0,o.map)((n=>null!==n[e]&&void 0!==n[e]?t?this.interpolate(n[e],t):n[e]:e)))}interpolate(e,t){return this.stringUtils.interpolate(e,t)}getTranslationsUrl(e,t){const n=t||this.lang;return this.customPath?this.customPath+`/i18n/${n.toString()}/${e}.json`:`i18n/${n.toString()}/${e}.json`}fetchTranslations(e,t){this.subscriptions.has(e)&&!this.subscriptions.get(e).closed||this.subscriptions.set(e,this.http.get(this.getTranslationsUrl(e,t)).subscribe((t=>{this.translations.get(e).next(t)}),(()=>{this.translations.get(e).next({error:"file not found"})})))}}return e.ɵfac=function(t){return new(t||e)(c["ɵɵinject"](i.HttpClient),c["ɵɵinject"](a.T),c["ɵɵinject"](l.x),c["ɵɵinject"](s.f,8))},e.ɵprov=c["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},83017:(e,t,n)=>{"use strict";n.d(t,{f:()=>a});var i=n(6856),r=n(84704),o=n(57826);let a=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({imports:[[i.CommonModule,r.a]]}),e})()},65904:(e,t,n)=>{"use strict";n.d(t,{g:()=>d});var i=n(57826),r=n(6856),o=n(86014);const a=function(e){return{inverse:e}},s=function(e){return{active:e}},c=function(e,t){return{"icon-arrow-next":e,"icon-arrow-down":t}},l=["*"];let d=(()=>{class e{constructor(){this.open=!1,this.type="primary",this.inverse=!1}toggleOpen(){this.open=!this.open}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-single-accordion"]],inputs:{title:"title",open:"open",type:"type",inverse:"inverse"},ngContentSelectors:l,decls:20,vars:14,consts:[[3,"ngClass"],["role","button",1,"subject-heading",3,"ngClass","click"],[1,"title",3,"bxTranslate"],[1,"icon",3,"ngClass"],[1,"more-info"]],template:function(e,t){1&e&&(i["ɵɵprojectionDef"](),i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n          "),i["ɵɵelementStart"](3,"header",1),i["ɵɵlistener"]("click",(function(){return t.toggleOpen()})),i["ɵɵtext"](4,"\n            "),i["ɵɵelementStart"](5,"h2",2),i["ɵɵtext"](6),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n            "),i["ɵɵelement"](8,"i",3),i["ɵɵtext"](9,"\n          "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n          "),i["ɵɵelementStart"](11,"section",4),i["ɵɵtext"](12,"\n            "),i["ɵɵelementStart"](13,"p"),i["ɵɵtext"](14,"\n                "),i["ɵɵprojection"](15),i["ɵɵtext"](16,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n          "),i["ɵɵelementEnd"](),i["ɵɵtext"](18,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](19,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵclassMapInterpolate1"]("bx-single-accordion accordion ",t.type,""),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](7,a,t.inverse)),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](9,s,t.open)),i["ɵɵadvance"](3),i["ɵɵtextInterpolate"](t.title),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction2"](11,c,!t.open,t.open)))},directives:[r.NgClass,o.P],styles:[".bx-single-accordion[_ngcontent-%COMP%] {\n  padding: 1em; }\n\n[_nghost-%COMP%]     .accordion.inverse .more-info {\n  color: #fff; }\n\n[_nghost-%COMP%]     .accordion .more-info {\n  color: #2b2b2b; }"]}),e})()},68574:(e,t,n)=>{"use strict";n.d(t,{G:()=>s});var i=n(47361),r=n(6856),o=n(40475),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[i.vO,r.CommonModule,o.FormsModule]]}),e})()},36803:(e,t,n)=>{"use strict";n.d(t,{i:()=>r});var i=n(57826);let r=(()=>{class e{constructor(e,t,n,i){this.renderer=e,this.el=t,this.viewContainerRef=n,this.changeDetectorRef=i,this.placement="bottom",this.absolute=!1,this.condition=!0,this.popover=!1,this.bxPopover=!1,this.showWhen="click"}handleClickEvent(e){if(this.popover||this.bxPopover){let t=this.el.nativeElement;t.contains(e.target)||this.popoverContainerDiv.contains(e.target)&&!this.popoverCloseButton.contains(e.target)?this.renderer.addClass(t,"active"):this.renderer.removeClass(t,"active")}}mouseover(){if("hover"===this.showWhen){let e=this.el.nativeElement;this.renderer.addClass(e,"active")}}ngAfterViewInit(){if(this.condition){if("string"!=typeof this.bxTooltip){const e=this.viewContainerRef.createEmbeddedView(this.bxTooltip);this.templatesNodes=e.rootNodes}const e=this.el.nativeElement.parentNode;this.popoverContainerDiv=this.renderer.createElement("div"),this.renderer.addClass(this.popoverContainerDiv,"tooltip-popover-container"),this.absolute&&this.renderer.setStyle(this.popoverContainerDiv,"position","absolute"),this.renderer.insertBefore(e,this.popoverContainerDiv,this.el.nativeElement);let t=this.renderer.createElement("div");this.renderer.addClass(t,"tooltip-popover-content"),this.renderer.appendChild(this.popoverContainerDiv,t);let n=this.renderer.createElement("div");if(this.renderer.addClass(n,"tooltip-popover-msg"),this.renderer.setStyle(n,"justify-content","center"),this.renderer.addClass(n,this.placement),this.renderer.addClass(this.el.nativeElement,this.popover||this.bxPopover?"popover-toggle":"tooltip-toggle"),this.renderer.removeChild(e,this.el.nativeElement),"string"==typeof this.bxTooltip){let e=this.renderer.createElement("span");e.innerHTML=this.bxTooltip,this.renderer.appendChild(n,e)}else this.templatesNodes.forEach((e=>this.renderer.insertBefore(n,e,null)));if(this.popover||this.bxPopover){this.popoverCloseButton=this.renderer.createElement("button"),this.renderer.addClass(this.popoverCloseButton,"close-btn"),this.renderer.setAttribute(this.popoverCloseButton,"type","button");let e=this.renderer.createElement("i");this.renderer.addClass(e,"icon"),this.renderer.addClass(e,"icon-close2"),this.renderer.appendChild(this.popoverCloseButton,e),this.renderer.appendChild(n,this.popoverCloseButton)}this.renderer.appendChild(t,this.el.nativeElement),this.renderer.appendChild(t,n),this.changeDetectorRef.detectChanges()}}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.Renderer2),i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](i.ChangeDetectorRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxTooltip",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("click",(function(e){return t.handleClickEvent(e)}),!1,i["ɵɵresolveDocument"])("mouseover",(function(){return t.mouseover()}))},inputs:{bxTooltip:"bxTooltip",placement:"placement",absolute:"absolute",condition:"condition",popover:"popover",bxPopover:"bxPopover",showWhen:"showWhen"}}),e})()},38129:(e,t,n)=>{"use strict";n.d(t,{z:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[],imports:[[]]}),e})()},35462:(e,t,n)=>{"use strict";n.d(t,{z:()=>i.z});var i=n(38129)},68698:(e,t,n)=>{"use strict";n.d(t,{T:()=>m});var i=n(6716),r=n(70570),o=n(40475),a=n(10790),s=n(6856),c=n(84704),l=n(82009),d=n(57826);let u=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=d["ɵɵdefineNgModule"]({type:e}),e.ɵinj=d["ɵɵdefineInjector"]({imports:[[s.CommonModule,c.a,o.FormsModule,l.D]]}),e})();var p=n(39211),h=n(75826);let m=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=d["ɵɵdefineNgModule"]({type:e}),e.ɵinj=d["ɵɵdefineInjector"]({providers:[h.t],imports:[[i.r1,r.k],i.r1,r.k,a.v,u,p.N,o.ReactiveFormsModule]}),e})()},20843:(e,t,n)=>{"use strict";n.d(t,{J:()=>N});var i=n(6856),r=n(57826),o=n(40475),a=n(4309),s=n(42998),c=n(81899),l=n(43959),d=n(76355),u=n(86014);const p=["list"];function h(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"input",13),r["ɵɵlistener"]("click",(function(t){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().toggle(t)}))("blur",(function(){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().updateVisited()})),r["ɵɵelementEnd"]()}if(2&e){const e=r["ɵɵnextContext"]();r["ɵɵclassMap"](e.dropDownType),r["ɵɵproperty"]("id",e.id)("readonly",!0)("value",e.dropdownDisplayValue)("disabled",e.disabled)}}function m(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"input",14),r["ɵɵlistener"]("click",(function(t){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().toggle(t)}))("keyup",(function(t){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().filterOptions(t.target.value)}))("keydown",(function(){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().forceFilteredList()}))("blur",(function(){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().updateVisited()})),r["ɵɵelementEnd"]()}if(2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("id",e.id)("value",e.dropdownDisplayValue)("disabled",e.disabled),r["ɵɵattribute"]("readonly",e.readonly?"":null)}}const f=function(e){return["selected",e]};function g(e,t){if(1&e&&r["ɵɵelement"](0,"i",15),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction1"](1,f,e.selectedIcon))}}function v(e,t){if(1&e&&r["ɵɵelement"](0,"i",15),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngClass",e.prefixIconClass)}}function b(e,t){if(1&e&&r["ɵɵelement"](0,"span",16),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("bxRequiredField",e.label)("mandatory",e.required)}}function y(e,t){if(1&e&&(r["ɵɵelementStart"](0,"span"),r["ɵɵtext"](1),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵadvance"](1),r["ɵɵtextInterpolate"](e.label)}}const S=function(e){return[e]};function C(e,t){if(1&e&&r["ɵɵelement"](0,"i",15),2&e){const e=r["ɵɵnextContext"]();r["ɵɵclassMapInterpolate1"]("",e.dropDownType," icon icon-arrow"),r["ɵɵclassProp"]("disabled",e.disabled),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction1"](6,S,e.dropdownOpened?e.arrowUpIconClass:e.arrowDownIconClass))}}const x=function(e,t){return["icon",e,t]};function I(e,t){if(1&e&&r["ɵɵelement"](0,"i",15),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction2"](1,x,e[t.iconClassProperty],t.iconClassProperty))}}function w(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"a",19),r["ɵɵlistener"]("click",(function(t){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"](2).preventHrefClick(t)})),r["ɵɵtext"](1),r["ɵɵelementEnd"]()}if(2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵproperty"]("href",t.getHrefValue(e[t.valueProperty]),r["ɵɵsanitizeUrl"]),r["ɵɵadvance"](1),r["ɵɵtextInterpolate"](e[t.displayProperty])}}function E(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](1),r["ɵɵtextInterpolate"](e[t.displayProperty])}}const T=function(e){return{active:e}};function P(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"li",17),r["ɵɵlistener"]("click",(function(){const t=r["ɵɵrestoreView"](e).$implicit;return r["ɵɵnextContext"]().changeValue(t)})),r["ɵɵtext"](1,"\n                    "),r["ɵɵtemplate"](2,I,1,4,"i",3),r["ɵɵtext"](3,"\n                    "),r["ɵɵtemplate"](4,w,2,2,"a",18),r["ɵɵtext"](5,"\n                    "),r["ɵɵtemplate"](6,E,2,1,"ng-container",6),r["ɵɵtext"](7,"\n                "),r["ɵɵelementEnd"]()}if(2&e){const e=t.$implicit,n=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction1"](5,T,n.dropdownValue===e[n.valueProperty])),r["ɵɵattribute"]("listitem","small-options"!==n.type?"listitem":null),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",n.iconClassProperty&&e[n.iconClassProperty]),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",n.getHrefValue(e[n.valueProperty])),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",!n.getHrefValue(e[n.valueProperty]))}}const A=function(e,t){return{tag:"textContent",label:e,values:t}};function _(e,t){if(1&e&&r["ɵɵelement"](0,"p",20),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("bxTranslate",r["ɵɵpureFunction2"](1,A,e.errorMessage,e.errorValues))}}function M(e,t){1&e&&r["ɵɵelement"](0,"div",21)}const O=function(e,t,n,i,r,o,a,s){return{"custom-field":e,"small-field":t,options:n,"lang-selector":i,active:r,"invalid-field":o,"corrected-field":a,inverse:s}},k=function(e,t){return{"active-field":e,"active-button":t}},j=function(e){return{"scrollable-area":e}};let N=(()=>{class e{constructor(e,t,n,i,o,a){this.eRef=e,this.cd=t,this.dropdownConfig=n,this.renderer=i,this.windowService=o,this.platformId=a,this.type="normal",this.hrefValues={},this.resetFiltersOnOptionsChange=!1,this.state="",this.disabled=!1,this.readonly=!1,this.forceFilterList=!1,this.showArrowIcon=!1,this.showSelectedIcon=!0,this.arrowUpIconClass="icon-arrow-up",this.arrowDownIconClass="icon-arrow-down",this.prefixIconClass="",this.inverse=!1,this.change=new r.EventEmitter,this.dropdownValue="",this.dropdownDisplayValue="",this.dropdownOpened=!1,this.ulDisplay="none",this.activeClass=!1,this.backgroundOverlay=!1,this.propagateChange=()=>{},this.propagateTouch=()=>{},this.dropdownConfig&&(this.backgroundOverlay=this.dropdownConfig.backgroundOverlay)}closeGlobal(e){this.disabled||this.eRef.nativeElement.contains(e.target)||(this.close(),this.activeClass=!1)}setSelectedValue(e){e?("small"===this.type?this.label="":"button"===this.type&&(this.displayLabelProperty?this.label=e[this.displayLabelProperty]:this.label=e[this.displayProperty]),this.dropdownValue=e[this.valueProperty],this.dropdownDisplayValue=e[this.displayProperty],this.selectedIcon=e[this.iconClassProperty],this.propagateChange(this.dropdownValue)):("small"===this.type&&(this.label=this.originalLabel),this.dropdownValue="",this.dropdownDisplayValue="",this.selectedIcon="",this.propagateChange(""))}updateVisited(){this.visited=this.dropdownDisplayValue,this.propagateTouch()}filterOptions(e){if(this.readonly)return;const t=e=>t=>t[this.displayProperty]&&t[this.displayProperty].toLowerCase().includes(e.toLowerCase());this.localOptionFilterSubject$||(this.localOptionFilterSubject$=this.optionFilterSubject$||(new a.Subject).pipe((0,s.map)((e=>({searchQuery:e,filteredOpts:""===e?null:this.options.filter(t(e))})))),this.localOptionFilterSubject$.asObservable().subscribe((({searchQuery:e,filteredOpts:t})=>{this.filteredOptions=t,this.filteredOptions&&1===this.filteredOptions.length&&e===this.filteredOptions[0][this.displayProperty]?this.setSelectedValue(this.filteredOptions[0]):this.setSelectedValue(null),this.cd.markForCheck(),this.dropdownDisplayValue=e}))),this.localOptionFilterSubject$.next(e)}preventHrefClick(e){e.preventDefault()}getHrefValue(e){return this.hrefValues[e]?this.hrefValues[e]:null}close(){this.dropdownOpened=!1,this.ulDisplay="none"}toggle(e){this.disabled||this.readonly||(this.dropdownOpened=!this.dropdownOpened,this.ulDisplay="block"===this.ulDisplay?"none":"block",this.dropdownOpened?(this.activeClass=!0,this.showItemListDownwardsOrUpwards()):this.activeClass=!1)}showItemListDownwardsOrUpwards(){if((0,i.isPlatformBrowser)(this.platformId)){this.cd.detectChanges();const e=this.eRef.nativeElement.getBoundingClientRect(),t=this.list.nativeElement.getBoundingClientRect();this.windowService.window().innerHeight-e.bottom<t.height&&e.top>=t.height?this.renderer.setStyle(this.list.nativeElement,"top",-t.height+"px"):this.renderer.removeStyle(this.list.nativeElement,"top")}}changeValue(e){this.setSelectedValue(e),this.change.emit(e),this.close()}ngOnInit(){this.id||(this.id=Math.random().toString(36).substring(7)),this.displayProperty||(this.displayProperty=this.valueProperty),this.selectedValue&&this.setSelectedValue(this.findOption(this.selectedValue)),this.originalLabel=this.label}filterbyCategoryOptions(e){this.filteredOptions=this.options.filter((t=>!e||t.filterValue.toLowerCase().includes(e)))}findOption(e){return this.options?this.options.find((t=>t[this.valueProperty]===e)):null}ngOnChanges(e){const t=e.id,n=e.selectedValue,i=e.label,r=e.options,o=e.parentValue;t&&(this.id=t.currentValue),o&&!o.isFirstChange()&&o.currentValue!==o.previousValue&&(this.filterbyCategoryOptions(o.currentValue),this.filteredOptions.some((e=>e[this.valueProperty]===this.dropdownValue))||this.setSelectedValue(null)),n&&this.setSelectedValue(this.findOption(n.currentValue)),r&&this.setSelectedValue(this.findOption(this.dropdownValue)),i&&(this.originalLabel=i.currentValue,this.label=i.currentValue),this.resetFiltersOnOptionsChange&&this.isThereChangesInOptions(r)&&this.filterOptions("")}writeValue(e){e?this.setSelectedValue(this.findOption(e)):this.setSelectedValue(null)}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.propagateTouch=e}forceFilteredList(){!this.forceFilterList||this.disabled||this.readonly||(this.dropdownOpened=!0,this.ulDisplay="block")}isThereChangesInOptions(e){if(!e)return!1;const t=e.currentValue,n=e.previousValue;return!!t||!!n}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.ChangeDetectorRef),r["ɵɵdirectiveInject"](l.k,8),r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](c.u),r["ɵɵdirectiveInject"](r.PLATFORM_ID))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-dropdown"]],viewQuery:function(e,t){if(1&e&&r["ɵɵviewQuery"](p,5),2&e){let e;r["ɵɵqueryRefresh"](e=r["ɵɵloadQuery"]())&&(t.list=e.first)}},hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("click",(function(e){return t.closeGlobal(e)}),!1,r["ɵɵresolveDocument"])},inputs:{id:"id",type:"type",typeahead:"typeahead",required:"required",options:"options",hrefValues:"hrefValues",displayProperty:"displayProperty",displayLabelProperty:"displayLabelProperty",valueProperty:"valueProperty",parentValue:"parentValue",resetFiltersOnOptionsChange:"resetFiltersOnOptionsChange",iconClassProperty:"iconClassProperty",selectedIcon:"selectedIcon",label:"label",selectedValue:"selectedValue",state:"state",errorMessage:"errorMessage",errorValues:"errorValues",disabled:"disabled",readonly:"readonly",forceFilterList:"forceFilterList",showArrowIcon:"showArrowIcon",showSelectedIcon:"showSelectedIcon",arrowUpIconClass:"arrowUpIconClass",arrowDownIconClass:"arrowDownIconClass",prefixIconClass:"prefixIconClass",dropDownType:"dropDownType",optionFilterSubject$:"optionFilterSubject$",inverse:"inverse"},outputs:{change:"change"},features:[r["ɵɵProvidersFeature"]([{provide:o.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)((()=>e)),multi:!0}]),r["ɵɵNgOnChangesFeature"]],decls:31,vars:31,consts:[[1,"custom-dropdown",3,"ngClass"],["type","text",3,"class","id","readonly","value","disabled","click","blur",4,"ngIf"],["type","text","autocomplete","off",3,"id","value","disabled","click","keyup","keydown","blur",4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"for","ngClass","click"],[3,"bxRequiredField","mandatory",4,"ngIf"],[4,"ngIf"],[3,"class","disabled","ngClass",4,"ngIf"],[1,"custom-droplist",3,"ngClass"],["list",""],[3,"ngClass","click",4,"ngFor","ngForOf"],["class","error-msg",3,"bxTranslate",4,"ngIf"],["class","lang-selector-menu-overlay",4,"ngIf"],["type","text",3,"id","readonly","value","disabled","click","blur"],["type","text","autocomplete","off",3,"id","value","disabled","click","keyup","keydown","blur"],[3,"ngClass"],[3,"bxRequiredField","mandatory"],[3,"ngClass","click"],[3,"href","click",4,"ngIf"],[3,"href","click"],[1,"error-msg",3,"bxTranslate"],[1,"lang-selector-menu-overlay"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"figure",0),r["ɵɵtext"](2,"\n            "),r["ɵɵtemplate"](3,h,1,7,"input",1),r["ɵɵtext"](4,"\n            "),r["ɵɵtemplate"](5,m,1,4,"input",2),r["ɵɵtext"](6,"\n            "),r["ɵɵtemplate"](7,g,1,3,"i",3),r["ɵɵtext"](8,"\n            "),r["ɵɵelementStart"](9,"label",4),r["ɵɵlistener"]("click",(function(e){return t.toggle(e)})),r["ɵɵtext"](10,"\n                "),r["ɵɵtemplate"](11,v,1,1,"i",3),r["ɵɵtext"](12,"\n                "),r["ɵɵtemplate"](13,b,1,2,"span",5),r["ɵɵtext"](14,"\n                "),r["ɵɵtemplate"](15,y,2,1,"span",6),r["ɵɵtext"](16,"\n                "),r["ɵɵtemplate"](17,C,1,8,"i",7),r["ɵɵtext"](18,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](19,"\n            "),r["ɵɵelementStart"](20,"ul",8,9),r["ɵɵtext"](22,"\n                "),r["ɵɵtemplate"](23,P,8,7,"li",10),r["ɵɵtext"](24,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](25,"\n            "),r["ɵɵtemplate"](26,_,1,4,"p",11),r["ɵɵtext"](27,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](28,"\n        "),r["ɵɵtemplate"](29,M,1,0,"div",12),r["ɵɵtext"](30,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction8"](17,O,!("button"===t.type),"small"===t.type||"small-options"===t.type,"small-options"===t.type,"button"===t.type,t.dropdownOpened,"error"===t.state||t.typeahead&&t.visited&&t.visited===t.dropdownDisplayValue&&""!==t.dropdownDisplayValue&&""===t.dropdownValue,"valid"===t.state,t.inverse)),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",!("button"===t.type||t.typeahead)),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",!("button"===t.type)&&t.typeahead),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.showSelectedIcon&&t.selectedIcon),r["ɵɵadvance"](2),r["ɵɵproperty"]("for",t.id)("ngClass",r["ɵɵpureFunction2"](26,k,!("button"===t.type)&&(t.dropdownOpened||""!==t.dropdownDisplayValue),"button"===t.type&&t.activeClass)),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",!!t.prefixIconClass),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf","button"!==t.type),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf","button"===t.type),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf","button"!==t.type||t.showArrowIcon),r["ɵɵadvance"](3),r["ɵɵstyleProp"]("display",t.ulDisplay),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction1"](29,j,"small-options"===t.type)),r["ɵɵattribute"]("role","small-options"!==t.type?"list":null),r["ɵɵadvance"](3),r["ɵɵproperty"]("ngForOf",t.filteredOptions||t.options),r["ɵɵadvance"](3),r["ɵɵproperty"]("ngIf",t.errorMessage),r["ɵɵadvance"](3),r["ɵɵproperty"]("ngIf",t.backgroundOverlay&&t.dropdownOpened))},directives:[i.NgClass,i.NgIf,i.NgForOf,d.w,u.P],styles:["div.modal-content .custom-form-helper div.bx-account-menu-subcontent .modal-body .custom-dropdown.custom-field input:disabled.date + label {\n  background-color: #ffffff;\n  border-color: rgba(163, 163, 163, 0.3);\n  color: #c2c2c2; }\n\n  div.modal-content .custom-form-helper div.bx-account-menu-subcontent .modal-body .custom-dropdown.custom-field input:disabled.date {\n  color: #c2c2c2; }\n\n  .custom-dropdown i.date.icon.icon-arrow.icon-arrow-down {\n  font-size: 8px;\n  color: #040404; }\n\n  .custom-dropdown i.date.icon.icon-arrow.icon-arrow-down.disabled {\n    color: #c2c2c2; }\n\n  div.modal-content .custom-form-helper div.bx-account-menu-subcontent .modal-body .custom-dropdown.custom-field input:disabled {\n  -webkit-text-fill-color: #c2c2c2;\n  -webkit-opacity: 1;\n  color: #c2c2c2; }"]}),e})()},43959:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.backgroundOverlay=!1,this.useInverseStyle=!1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},70570:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});var i=n(6856),r=n(84704),o=n(82009),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[i.CommonModule,r.a,o.D]]}),e})()},32780:(e,t,n)=>{"use strict";n.d(t,{kW:()=>r.k,ke:()=>i.k});var i=n(43959),r=(n(20843),n(70570))},75619:(e,t,n)=>{"use strict";n.d(t,{m:()=>k});var i=n(57826),r=n(18548),o=n(4309),a=n(6856),s=n(76355),c=n(86014);const l=function(e){return{tag:"textContent",label:e}};function d(e,t){if(1&e&&(i["ɵɵelementStart"](0,"p",1),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("bxTranslate",i["ɵɵpureFunction1"](2,l,e.taphint)),i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.message)}}let u=(()=>{class e{constructor(){this.display=!1}ngOnInit(){this.onEvent.subscribe((e=>{switch(e){case"focus":"invalid"!==this.inputState.state&&(this.display=!0);break;case"changes":"invalid"===this.inputState.state?this.display=!1:"valid"===this.inputState.state&&(this.display=!0)}}))}ngOnDestroy(){this.onEvent.unsubscribe()}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-tap-hint"]],inputs:{onEvent:"onEvent",message:"message",inputState:"inputState"},decls:3,vars:1,consts:[["class","hint-msg",3,"bxTranslate",4,"ngIf"],[1,"hint-msg",3,"bxTranslate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n    "),i["ɵɵtemplate"](1,d,2,4,"p",0),i["ɵɵtext"](2,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",t.display))},directives:[a.NgIf,c.P],encapsulation:2}),e})();var p=n(81899);const h=function(e,t,n){return{"icon-close":e,"icon-checked":t,"icon-info":n}},m=function(e){return{tag:"textContent",label:e}};function f(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",2),i["ɵɵtext"](1,"\n            "),i["ɵɵelement"](2,"i",3),i["ɵɵtext"](3,"\n            "),i["ɵɵelement"](4,"span",4),i["ɵɵtext"](5,"\n        "),i["ɵɵelementEnd"]()),2&e){const e=t.$implicit;i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction3"](2,h,!1===e.valid,!0===e.valid,void 0===e.valid)),i["ɵɵadvance"](2),i["ɵɵproperty"]("bxTranslate",i["ɵɵpureFunction1"](6,m,e.translate))}}function g(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div"),i["ɵɵtext"](1,"\n        "),i["ɵɵtemplate"](2,f,6,8,"div",1),i["ɵɵtext"](3,"\n    "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",e.rulesChecker)}}let v=(()=>{class e{constructor(e){this.windowService=e,this.display=!1}ngOnInit(){this.onEvent.subscribe((e=>{switch(e){case"focus":this.onFocus();break;case"blur":this.onBlur();break;case"changes":this.onChanges()}}))}ngOnDestroy(){this.onEvent.unsubscribe()}onFocus(){this.display=!0,this.checkRules()}onChanges(){this.checkRules(),"invalid"===this.inputState.state&&(this.display=!0)}onBlur(){this.rulesChecker.every((e=>void 0!==e.valid))&&this.windowService.window().setTimeout((()=>{this.display=!!this.rulesChecker.find((e=>!1===e.valid))}),100)}checkRules(){if(this.rulesChecker&&this.rulesChecker.length){if(!this.inputState.state&&!this.inputState.value&&this.rulesChecker.find((e=>void 0===e.valid)))return;this.inputState.errorList=this.inputState.errorList||{};let e=Object.keys(this.inputState.errorList);this.rulesChecker.map((t=>(t.valid=!0,e.forEach((e=>{t.rules.toString().toLowerCase().split(",").indexOf(e.toLowerCase())>-1&&(t.valid=!1)})),t)))}}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](p.u))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-rules-checker"]],inputs:{rulesChecker:"rulesChecker",onEvent:"onEvent",inputState:"inputState"},decls:3,vars:1,consts:[[4,"ngIf"],["class","row",4,"ngFor","ngForOf"],[1,"row"],[1,"icon",3,"ngClass"],[3,"bxTranslate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n    "),i["ɵɵtemplate"](1,g,4,1,"div",0),i["ɵɵtext"](2,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",t.display))},directives:[a.NgIf,a.NgForOf,a.NgClass,c.P],encapsulation:2}),e})();const b=function(e){return{"icon-show-password":e}};function y(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"button",9),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().onClickPasswordEye()})),i["ɵɵtext"](1,"Show/Hide\n                "),i["ɵɵelement"](2,"i",10),i["ɵɵtext"](3,"\n            "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](1,b,e.passwordType))}}function S(e,t){if(1&e&&i["ɵɵelement"](0,"i",11),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("ngClass","valid"===e.state?"icon icon-checked status":"icon icon-error status")}}const C=function(e){return{tag:"textContent",label:e}};function x(e,t){if(1&e&&(i["ɵɵelementStart"](0,"p",12),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("bxTranslate",i["ɵɵpureFunction1"](2,C,e.hint)),i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.hint)}}function I(e,t){if(1&e&&(i["ɵɵelementStart"](0,"bx-tap-hint",13),i["ɵɵtext"](1,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("message",e.tapHint)("inputState",e.inputState)("onEvent",e.eventSubject)}}function w(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div"),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"bx-rules-checker",14),i["ɵɵtext"](3,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("rulesChecker",e.rulesChecker)("onEvent",e.eventSubject)("inputState",e.inputState)}}const E=function(e,t){return{tag:"textContent",label:e,values:t}};function T(e,t){if(1&e&&(i["ɵɵelementStart"](0,"p",16),i["ɵɵtext"](1,"\n                "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵproperty"]("bxTranslate",i["ɵɵpureFunction2"](1,E,e.errorMessage,e.errorVars))}}function P(e,t){if(1&e&&(i["ɵɵtext"](0,"\n                "),i["ɵɵtemplate"](1,T,2,4,"p",15),i["ɵɵtext"](2,"\n            ")),2&e){const e=i["ɵɵnextContext"](),t=i["ɵɵreference"](21);i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",e.errorMessage)("ngIfElse",t)}}function A(e,t){if(1&e&&i["ɵɵelement"](0,"p",18),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵproperty"]("bxTranslate",i["ɵɵpureFunction1"](1,C,e.info))}}function _(e,t){if(1&e&&(i["ɵɵtext"](0,"\n               "),i["ɵɵtemplate"](1,A,1,3,"p",17),i["ɵɵtext"](2,"\n            ")),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",e.info)}}const M=function(e){return{"active-field":e}},O=["*"];let k=(()=>{class e{constructor(e,t){this.changeDetectionRef=e,this.elementRef=t,this.label="",this.state="",this.errorMessage="",this.styles="",this.forLabelTag="",this.errorVars={},this.fieldActive=!1,this.inputClass="",this.isPassword=!1,this.passwordType=!1,this.eventSubject=new o.ReplaySubject,this.inputState={}}onDocumentClick(){this.isPassword&&this.toPassword()}ngAfterContentInit(){this.inputField.type="passwordEye"===this.inputField.visualType?"password":this.inputField.visualType,this.isPassword="password"===this.inputField.type,this.setStyles(),this.isPassword&&(this.inputField.onBlurEmitter.subscribe((()=>{"text"==this.inputField.type&&(this.timer=setTimeout((()=>this.toPassword()),200))})),this.inputField.setPasswordFieldAttributes()),this.inputField.onBlurEmitter.subscribe((()=>{this.setStyles(),this.sendEvent("blur")})),this.inputField.onFocusedEmitter.subscribe((()=>{this.setStyles(),this.sendEvent("focus")}))}ngAfterViewChecked(){this.inputField.getInputValue()||"invalid"===this.state?this.styles.includes("small-field")&&(this.label=""):this.label=this.originalLabel,this.changeDetectionRef.detectChanges()}onClickPasswordEye(){let e=navigator.userAgent||navigator.vendor;clearTimeout(this.timer),this.toggleInputType(),/android/i.test(e)?setTimeout((()=>this.inputField.focus()),200):(this.inputField.focus(),this.elementRef.nativeElement.scrollIntoView())}toggleInputType(){"text"==this.inputField.type?this.toPassword():this.toText()}toPassword(){this.inputField.type="password",this.passwordType=!1}toText(){this.inputField.type="text",this.passwordType=!0}cancelBubble(e){e.stopPropagation()}ngOnChanges(e){let t=e.label,n=e.styles,i=e.state,r=e.hint;t&&(this.originalLabel=t.currentValue),(n||i)&&this.setStyles(),r&&(this.hint=r.currentValue),this.sendEvent("changes",e)}ngOnDestroy(){this.inputField.onBlurEmitter.unsubscribe(),this.inputField.onFocusedEmitter.unsubscribe()}getClasses(){return this.inputClass}setStyles(){this.inputClass=this.styles,"invalid"===this.state&&(this.inputClass+=" invalid-field"),"valid"===this.state&&(this.inputClass+=" corrected-field"),this.isPassword&&(this.inputClass+=" password-field"),this.fieldActive=this.isActive(),this.inputClass=`${this.inputClass} ${this.fieldActive?"active":""}`,this.changeDetectionRef.detectChanges()}sendEvent(e,t){this.shouldEventsBeSent()&&(t=t||{},this.inputState.errorList=t.errorList?t.errorList.currentValue:this.errorList,this.inputState.state=t.state?t.state.currentValue:this.state,this.inputState.value=this.inputField.getInputValue(),this.eventSubject.next(e))}shouldEventsBeSent(){return!!(this.rulesChecker&&this.rulesChecker.length||this.tapHint)}isActive(){return!this.inputField.isDisabled()&&(""!=this.inputField.getInputValue()||this.inputField.focused)}isActiveLabel(){return""!=this.inputField.getInputValue()||this.inputField.focused}isEnabledInputIconStatus(){return this.inputClass.includes("icon-status")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ChangeDetectorRef),i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-input-field-container"]],contentQueries:function(e,t,n){if(1&e&&i["ɵɵcontentQuery"](n,r.u,7),2&e){let e;i["ɵɵqueryRefresh"](e=i["ɵɵloadQuery"]())&&(t.inputField=e.first)}},hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("touchstart",(function(){return t.onDocumentClick()}),!1,i["ɵɵresolveDocument"])},inputs:{label:"label",state:"state",errorMessage:"errorMessage",styles:"styles",forLabelTag:"forLabelTag",hint:"hint",tapHint:"tapHint",info:"info",required:"required",rulesChecker:"rulesChecker",errorList:"errorList",errorVars:"errorVars"},features:[i["ɵɵNgOnChangesFeature"]],ngContentSelectors:O,decls:24,vars:13,consts:[[1,"custom-field",3,"ngClass","touchstart"],[3,"for","ngClass","bxRequiredField","mandatory"],["type","button","role","button","class","toggle-password-btn active",3,"click",4,"ngIf"],[3,"ngClass",4,"ngIf"],["class","hint-msg",3,"bxTranslate",4,"ngIf"],[3,"message","inputState","onEvent",4,"ngIf"],[4,"ngIf","ngIfElse"],["displayErrorMsg",""],["displayInfoMsg",""],["type","button","role","button",1,"toggle-password-btn","active",3,"click"],[1,"icon","icon-hide-password",3,"ngClass"],[3,"ngClass"],[1,"hint-msg",3,"bxTranslate"],[3,"message","inputState","onEvent"],[3,"rulesChecker","onEvent","inputState"],["class","error-msg",3,"bxTranslate",4,"ngIf","ngIfElse"],[1,"error-msg",3,"bxTranslate"],["class","info-msg",3,"bxTranslate",4,"ngIf"],[1,"info-msg",3,"bxTranslate"]],template:function(e,t){if(1&e&&(i["ɵɵprojectionDef"](),i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵlistener"]("touchstart",(function(e){return t.cancelBubble(e)})),i["ɵɵtext"](2,"\n            "),i["ɵɵprojection"](3),i["ɵɵtext"](4,"\n            "),i["ɵɵelement"](5,"label",1),i["ɵɵtext"](6,"\n            "),i["ɵɵtemplate"](7,y,4,3,"button",2),i["ɵɵtext"](8,"\n            "),i["ɵɵtemplate"](9,S,1,1,"i",3),i["ɵɵtext"](10,"\n\n            "),i["ɵɵtemplate"](11,x,2,4,"p",4),i["ɵɵtext"](12,"\n\n            "),i["ɵɵtemplate"](13,I,2,3,"bx-tap-hint",5),i["ɵɵtext"](14,"\n\n            "),i["ɵɵtemplate"](15,w,5,3,"div",6),i["ɵɵtext"](16,"\n            "),i["ɵɵtemplate"](17,P,3,2,"ng-template",null,7,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](19,"\n            "),i["ɵɵtemplate"](20,_,3,1,"ng-template",null,8,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](22,"\n\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](23,"\n    ")),2&e){const e=i["ɵɵreference"](18);i["ɵɵadvance"](1),i["ɵɵproperty"]("ngClass",t.inputClass),i["ɵɵadvance"](4),i["ɵɵproperty"]("for",t.forLabelTag)("ngClass",i["ɵɵpureFunction1"](11,M,t.isActiveLabel()))("bxRequiredField",t.label)("mandatory",t.required),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.isPassword),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.isEnabledInputIconStatus()&&("invalid"===t.state||"valid"===t.state)),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.hint),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.tapHint),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.rulesChecker&&t.rulesChecker.length)("ngIfElse",e)}},directives:[a.NgClass,s.w,a.NgIf,c.P,u,v],styles:["[_nghost-%COMP%]     .inner-addon[class*=col-] .left-addon {\n  left: 10px; }\n[_nghost-%COMP%]     .inner-addon[class*=col-] .left-addon ~ label {\n    padding-left: 30px; }\n[_nghost-%COMP%]     .inner-addon[class*=col-] .left-addon ~ input {\n    padding-left: 30px;\n    padding-right: 30px; }\n[_nghost-%COMP%]     .inner-addon[class*=col-] .right-addon {\n  right: 10px; }\n[_nghost-%COMP%]     .inner-addon[class*=col-] .right-addon ~ input {\n    padding-right: 50px; }\n[_nghost-%COMP%]     .inner-addon[class*=col-].active .left-addon ~ label {\n  padding-left: 10px; }\n[_nghost-%COMP%]     .inner-addon[class*=col-].active.small-field .left-addon ~ label {\n  padding-left: 30px; }\n[_nghost-%COMP%]     .inner-addon {\n  position: relative;\n  color: #989898; }\n[_nghost-%COMP%]     .inner-addon .icon {\n    position: absolute;\n    padding: 10px;\n    pointer-events: none;\n    top: .65em; }\n[_nghost-%COMP%]     .inner-addon .icon.clickable-addon {\n      cursor: pointer;\n      z-index: 2;\n      pointer-events: auto; }\n[_nghost-%COMP%]     .inner-addon .left-addon {\n    left: -5px; }\n[_nghost-%COMP%]     .inner-addon .left-addon ~ label {\n      padding-left: 25px; }\n[_nghost-%COMP%]     .inner-addon .left-addon ~ input {\n      padding-left: 25px; }\n[_nghost-%COMP%]     .inner-addon .right-addon {\n    right: 0; }\n[_nghost-%COMP%]     .inner-addon .right-addon ~ input {\n      padding-right: 30px; }\n[_nghost-%COMP%]     .inner-addon.small-field .icon {\n    top: 0; }\n[_nghost-%COMP%]     .inner-addon.active .left-addon {\n    top: 1.25em; }\n[_nghost-%COMP%]     .inner-addon.active .left-addon ~ label {\n      padding-left: 5px; }\n[_nghost-%COMP%]     .inner-addon.active .right-addon {\n    top: 1.25em; }\n[_nghost-%COMP%]     .inner-addon.active.small-field .left-addon {\n    top: 0; }\n[_nghost-%COMP%]     .inner-addon.active.small-field .left-addon ~ label {\n      padding-left: 25px; }\n[_nghost-%COMP%]     .inner-addon.active.small-field .right-addon {\n    top: 0; }\n[_nghost-%COMP%]     input[type='hidden'] ~ label, [_nghost-%COMP%]     input[type='hidden'] ~ p.hint-msg {\n  display: none; }"]}),e})()},18548:(e,t,n)=>{"use strict";n.d(t,{u:()=>s});var i=n(57826),r=n(81899),o=n(6856);const a=["","disabled"];let s=(()=>{class e{constructor(e,t,n){this.elementRef=e,this.windowService=t,this.platformId=n,this.passwordField=!1,this.focused=!1,this.visualType="text",this.onBlurEmitter=new i.EventEmitter,this.onFocusedEmitter=new i.EventEmitter}onInput(){this.focused=!0,this.onFocusedEmitter.emit(!0)}onBlur(){this.focused=this.elementRef.nativeElement.value||!1,this.onBlurEmitter.emit(!0)}onInputChange(){this.onFocusedEmitter.emit(!0)}ngOnInit(){this.focused&&(0,o.isPlatformBrowser)(this.platformId)&&this.windowService.window().setTimeout((()=>this.focus()),0)}focus(){(0,o.isPlatformBrowser)(this.platformId)&&this.elementRef.nativeElement.focus()}getInputValue(){return this.elementRef.nativeElement.value}isDisabled(){return this.elementRef.nativeElement.hasAttribute("disabled")&&a.includes(this.elementRef.nativeElement.getAttribute("disabled"))}setPasswordFieldAttributes(){this.elementRef.nativeElement.setAttribute("autocomplete","off"),this.elementRef.nativeElement.setAttribute("autocorrect","off"),this.elementRef.nativeElement.setAttribute("autocapitalize","off"),this.elementRef.nativeElement.setAttribute("spellcheck","off")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](r.u),i["ɵɵdirectiveInject"](i.PLATFORM_ID))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["input","bxInput",""]],hostVars:1,hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("focus",(function(){return t.onInput()}))("blur",(function(){return t.onBlur()}))("input",(function(){return t.onInputChange()})),2&e&&i["ɵɵhostProperty"]("type",t.type)},inputs:{focused:"focused",visualType:"visualType"},outputs:{onBlurEmitter:"onBlurEmitter",onFocusedEmitter:"onFocusedEmitter"}}),e})()},78418:(e,t,n)=>{"use strict";n.d(t,{r:()=>d});var i=n(6856),r=n(84704),o=n(82009),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[i.CommonModule,r.a]]}),e})(),c=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[i.CommonModule,r.a]]}),e})();var l=n(76660);let d=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({providers:[l.X],imports:[[i.CommonModule,r.a,o.D,s,c]]}),e})()},6716:(e,t,n)=>{"use strict";n.d(t,{r1:()=>i.r}),n(75619),n(18548);var i=n(78418)},6684:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.enabled=!0}set bxOnlyNumber(e){this.enabled=!!e}onkeypress(e){return this.isNumberKey(e)}isNumberKey(e){if(!this.enabled)return!0;let t=e.which?e.which:e.keyCode;return!(t>31&&(t<48||t>57))}}return e.ɵfac=function(t){return new(t||e)},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxOnlyNumber",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("keypress",(function(e){return t.onkeypress(e)}))},inputs:{bxOnlyNumber:"bxOnlyNumber"}}),e})()},5608:(e,t,n)=>{"use strict";n.d(t,{a:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})()},1890:(e,t,n)=>{"use strict";n.d(t,{b:()=>S});var i=n(57826),r=n(40475),o=n(6856),a=n(86014),s=n(36803),c=n(6684);let l=(()=>{class e{constructor(e){this.el=e}onClick(){this.el.nativeElement.focus()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxClickFocus",""]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("click",(function(){return t.onClick()}))}}),e})();function d(e,t){if(1&e&&i["ɵɵelement"](0,"i",9),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵproperty"]("bxTooltip",e.tooltipText)}}function u(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",6),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"span",7),i["ɵɵtext"](3),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n                "),i["ɵɵtemplate"](5,d,1,1,"i",8),i["ɵɵtext"](6,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](3),i["ɵɵtextInterpolate"](e.fieldLabel),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.showPinCodeInfoTooltip)}}const p=function(e){return{"has-text":e}},h=function(e){return{"active-field":e}};function m(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div",10),i["ɵɵtext"](1,"\n                    "),i["ɵɵelementStart"](2,"input",11),i["ɵɵlistener"]("ngModelChange",(function(t){const n=i["ɵɵrestoreView"](e).index,r=i["ɵɵnextContext"]();return r.showPinCode?r.inputs[n]:r.maskedInputs[n]=t}))("focus",(function(t){const n=i["ɵɵrestoreView"](e).index;return i["ɵɵnextContext"]().selectValue(n+1,t)}))("input",(function(){const t=i["ɵɵrestoreView"](e).index;return i["ɵɵnextContext"]().updateValue(t+1)})),i["ɵɵelementEnd"](),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementStart"](4,"label",12),i["ɵɵtext"](5,"\n                        Pin Code\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n                "),i["ɵɵelementEnd"]()}if(2&e){const e=t.$implicit,n=t.index,r=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("ngModel",r.showPinCode?r.inputs[n]:r.maskedInputs[n])("id",r.bxId+e)("disabled",r.disabled)("ngClass",i["ɵɵpureFunction1"](7,p,r.inputs[n]&&""!=r.inputs[n])),i["ɵɵattribute"]("readonly",r.readonly?"":null),i["ɵɵadvance"](2),i["ɵɵproperty"]("for",r.bxId+e)("ngClass",i["ɵɵpureFunction1"](9,h,r.inputs[n]&&""!=r.inputs[n]))}}const f=function(e,t){return{"icon-hide-password":e,"icon-show-password":t}};function g(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"button",13),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().toggleShow()}))("blur",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().hidePinCode()})),i["ɵɵtext"](1,"Show/Hide\n                    "),i["ɵɵelement"](2,"i",14),i["ɵɵtext"](3,"\n                "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction2"](1,f,!e.showPinCode,e.showPinCode))}}const v=function(e){return{tag:"textContent",label:e}};function b(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",15),i["ɵɵtext"](1,"\n                "),i["ɵɵelement"](2,"p",16),i["ɵɵtext"](3,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("bxTranslate",i["ɵɵpureFunction1"](1,v,e.errorMessage))}}const y=function(){return["1","2","3","4"]};let S=(()=>{class e{constructor(e,t){this.elementRef=e,this.cdRef=t,this.disabled=!1,this.avoidAutofocusInput=!1,this.readonly=!1,this.hidePinCodeEye=!1,this.showPinCodeLegend=!1,this.showPinCodeInfoTooltip=!1,this.alwaysShowPinCode=!1,this.additionalClasses=[],this.fieldLabel="pinCode.overlay.advertisement",this.allDigitsEntered=new i.EventEmitter,this.amountOfDigitsEntered=new i.EventEmitter,this.inputChanged=new i.EventEmitter,this.inputs=["","","",""],this.maskedInputs=["","","",""],this.showPinCode=!1,this.propagateChange=()=>{},this.propagateTouch=()=>{}}ngAfterViewInit(){this.avoidAutofocusInput||setTimeout((()=>this.focusElement(1)))}updateValue(t){this.maskedInputs[t-1]&&t<e.PIN_DIGITS?this.focusElement(t+1):!this.maskedInputs[t-1]&&t>1&&this.focusElement(t-1),this.saveOriginalValue(t-1)}toggleShow(){this.showPinCode=!this.showPinCode}hidePinCode(){this.showPinCode=!1}selectValue(e,t){this.inputs[e-1]&&t.currentTarget.setSelectionRange(0,1)}writeValue(e){this.updateInnerValues(e)}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.propagateTouch=e}updateInnerValues(t){this.inputs=t.split("").slice(0,e.PIN_DIGITS),this.maskedInputs=this.inputs.map((e=>this.formatPinCodeDigit(e)))}focusElement(e){this.elementRef.nativeElement.querySelector(`#${this.bxId}${e}`).focus()}saveOriginalValue(t){if(this.maskedInputs[t]!==e.PASSWORD_CHAR){this.inputs[t]=this.maskedInputs[t],this.cdRef.detectChanges(),this.maskedInputs[t]=this.formatPinCodeDigit(this.inputs[t]);const n=this.inputs.join("");this.allDigitsEntered.emit(n.length==e.PIN_DIGITS),this.amountOfDigitsEntered.emit(n.length),this.propagateChange(n),this.inputChanged.emit(!0)}}formatPinCodeDigit(t){return this.alwaysShowPinCode?t||"":t?e.PASSWORD_CHAR:""}}return e.PASSWORD_CHAR="●",e.PIN_DIGITS=4,e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](i.ChangeDetectorRef))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-pin-code"]],inputs:{bxId:"bxId",disabled:"disabled",avoidAutofocusInput:"avoidAutofocusInput",readonly:"readonly",errorMessage:"errorMessage",hidePinCodeEye:"hidePinCodeEye",showPinCodeLegend:"showPinCodeLegend",showPinCodeInfoTooltip:"showPinCodeInfoTooltip",alwaysShowPinCode:"alwaysShowPinCode",additionalClasses:"additionalClasses",tooltipText:"tooltipText",fieldLabel:"fieldLabel"},outputs:{allDigitsEntered:"allDigitsEntered",amountOfDigitsEntered:"amountOfDigitsEntered",inputChanged:"inputChanged"},features:[i["ɵɵProvidersFeature"]([{provide:r.NG_VALUE_ACCESSOR,useExisting:(0,i.forwardRef)((()=>e)),multi:!0}])],decls:15,vars:6,consts:[[1,"pin-code-container",3,"ngClass"],["class","legend",4,"ngIf"],[1,"pin-wrapper"],["class","custom-field pin-field",4,"ngFor","ngForOf"],["bxClickFocus","","type","button","class","toggle-password-btn","data-container",".pin-field",3,"click","blur",4,"ngIf"],["class","custom-field invalid-field",4,"ngIf"],[1,"legend"],[1,"align-left",3,"bxTranslate"],["class","icon icon-info","placement","top",3,"bxTooltip",4,"ngIf"],["placement","top",1,"icon","icon-info",3,"bxTooltip"],[1,"custom-field","pin-field"],["autocomplete","off","onpaste","return false;","type","tel","maxlength","1",1,"pin-input",3,"ngModel","id","disabled","ngClass","bxOnlyNumber","ngModelChange","focus","input"],[3,"for","ngClass"],["bxClickFocus","","type","button","data-container",".pin-field",1,"toggle-password-btn",3,"click","blur"],[1,"icon",3,"ngClass"],[1,"custom-field","invalid-field"],[1,"error-msg",3,"bxTranslate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵtemplate"](3,u,7,2,"div",1),i["ɵɵtext"](4,"\n            "),i["ɵɵelementStart"](5,"fieldset",2),i["ɵɵtext"](6,"\n                "),i["ɵɵtemplate"](7,m,7,11,"div",3),i["ɵɵtext"](8,"\n                "),i["ɵɵtemplate"](9,g,4,4,"button",4),i["ɵɵtext"](10,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n            "),i["ɵɵtemplate"](12,b,4,3,"div",5),i["ɵɵtext"](13,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngClass",t.additionalClasses),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.showPinCodeLegend),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngForOf",i["ɵɵpureFunction0"](5,y)),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!t.hidePinCodeEye),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",t.errorMessage))},directives:[o.NgClass,o.NgIf,o.NgForOf,a.P,s.i,r.DefaultValueAccessor,r.MaxLengthValidator,r.NgControlStatus,r.NgModel,c.p,l],styles:["[_nghost-%COMP%] {\n  width: 100%; }\n\n.pin-code-container.bodog88[_ngcontent-%COMP%] {\n  background: #f2f2f2;\n  padding-top: 18px;\n  padding-bottom: 24px;\n  padding-left: calc((100% - 216px) / 2); }\n\n.pin-code-container.bodog88[_ngcontent-%COMP%]   .legend[_ngcontent-%COMP%] {\n    margin-bottom: 8px;\n    line-height: 14px;\n    font-weight: bold; }\n\n.pin-code-container.bodog88[_ngcontent-%COMP%]   .legend[_ngcontent-%COMP%]   .icon-info[_ngcontent-%COMP%] {\n      margin-left: 4px;\n      font-size: 16px; }\n\n.pin-code-container.bodog88[_ngcontent-%COMP%]   .pin-wrapper[_ngcontent-%COMP%]   .custom-field.pin-field[_ngcontent-%COMP%]:not(:first-of-type) {\n    margin-left: 8px; }\n\n.tooltip-popover-container[_ngcontent-%COMP%] {\n  position: absolute;\n  margin-top: -2px; }"]}),e})()},39211:(e,t,n)=>{"use strict";n.d(t,{N:()=>l});var i=n(6856),r=n(84704),o=n(40475),a=n(5608),s=n(35462),c=n(57826);let l=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=c["ɵɵdefineNgModule"]({type:e}),e.ɵinj=c["ɵɵdefineInjector"]({imports:[[i.CommonModule,r.a,o.FormsModule,a.a,s.z]]}),e})()},76355:(e,t,n)=>{"use strict";n.d(t,{w:()=>o});var i=n(57826),r=n(12596);let o=(()=>{class e{constructor(e,t){this.el=e,this.translateService=t}ngOnChanges(e){this.setLabelText()}setLabelText(){null!=this.label&&(""===this.label?this.el.nativeElement.textContent="":this.label.indexOf(" ")>=0?this.el.nativeElement.textContent=this.transformLabel(this.label,this.mandatory):this.translateService.translate(this.label).subscribe((e=>{this.el.nativeElement.textContent=this.transformLabel(e,this.mandatory)})))}transformLabel(e,t){return void 0===t?e:t&&e&&"*"!==e.substring(e.length-1)?`${e}*`:!t&&e&&"*"===e.substring(e.length-1)?e.substring(0,e.length-1).trim():e}set label(e){this.bxRequiredField=e}get label(){return this.bxRequiredField}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](r.s))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxRequiredField",""]],inputs:{bxRequiredField:"bxRequiredField",mandatory:"mandatory"},features:[i["ɵɵNgOnChangesFeature"]]}),e})()},82009:(e,t,n)=>{"use strict";n.d(t,{D:()=>o});var i=n(84704),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({imports:[[i.a]]}),e})()},96872:(e,t,n)=>{"use strict";n.d(t,{n:()=>c});var i=n(57826),r=n(40475),o=n(6856),a=n(86014);const s=function(e,t){return{"switch-btn-off":e,"switch-btn-on":t}};let c=(()=>{class e{constructor(){this.disabled=!1,this.readonly=!1,this.status=!1,this.change=new i.EventEmitter,this.propagateChange=()=>{}}onClick(e){if(this.disabled||this.readonly)return!1;this.status=!this.status,this.propagateChange(this.status),this.change.emit(this.status),e.preventDefault()}ngOnInit(){this.id||(this.id=Math.random().toString(36).substring(7))}writeValue(e){this.status=!!e}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-toggle"]],hostBindings:function(e,t){1&e&&i["ɵɵlistener"]("click",(function(e){return t.onClick(e)}))},inputs:{id:"id",label:"label",disabled:"disabled",readonly:"readonly",status:"status"},outputs:{change:"change"},features:[i["ɵɵProvidersFeature"]([{provide:r.NG_VALUE_ACCESSOR,useExisting:(0,i.forwardRef)((()=>e)),multi:!0}])],decls:9,vars:10,consts:[[1,"custom-toggle"],["role","checkbox","type","checkbox",3,"id","disabled","checked"],[3,"for","ngClass","bxTranslate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n          "),i["ɵɵelement"](3,"input",1),i["ɵɵtext"](4,"\n          "),i["ɵɵelementStart"](5,"label",2),i["ɵɵtext"](6),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n    ")),2&e&&(i["ɵɵadvance"](3),i["ɵɵproperty"]("id",t.id)("disabled",t.disabled)("checked",t.status),i["ɵɵattribute"]("readonly",t.readonly?"":null),i["ɵɵadvance"](2),i["ɵɵproperty"]("for",t.id)("ngClass",i["ɵɵpureFunction2"](7,s,!t.status,t.status)),i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](t.label))},directives:[o.NgClass,a.P],encapsulation:2}),e})()},10790:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var i=n(6856),r=n(84704),o=n(57826);let a=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({providers:[],imports:[[i.CommonModule,r.a]]}),e})()},69575:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})()},10396:(e,t,n)=>{"use strict";n.d(t,{T2:()=>i.T,EO:()=>a.E,PQ:()=>r.P,Bs:()=>s.B,U8:()=>c.U,il:()=>o.i}),n(75619),n(18548),n(78418);var i=n(68698),r=(n(84195),n(52450)),o=n(99576),a=(n(38945),n(5109)),s=n(22646),c=n(28850);n(84704),n(6856),n(57826),n(73502),n(83017),n(65904)},19496:(e,t,n)=>{"use strict";n.d(t,{N:()=>c});var i=n(57826),r=n(12473),o=n(6856);const a=function(e){return{position:e}};function s(e,t){if(1&e&&i["ɵɵelement"](0,"div",4),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("ngStyle",i["ɵɵpureFunction1"](1,a,e.containerView?"absolute":"fixed"))}}let c=(()=>{class e{constructor(){this.close=new i.EventEmitter,this.defaults={content:"",modal:!1}}ngOnInit(){this.loading=r(this.defaults,this.loading)}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-loading"]],inputs:{loading:"loading",containerView:"containerView"},outputs:{close:"close"},decls:14,vars:3,consts:[[1,"loading-spinner","custom-loading"],[1,"icon","icon-loading"],[1,"loading-content"],["class","loading-overlay",3,"ngStyle",4,"ngIf"],[1,"loading-overlay",3,"ngStyle"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"figure",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelement"](3,"i",1),i["ɵɵtext"](4,"\n            "),i["ɵɵelementStart"](5,"figcaption"),i["ɵɵtext"](6),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n            "),i["ɵɵelementStart"](8,"span",2),i["ɵɵtext"](9),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n        "),i["ɵɵtemplate"](12,s,1,3,"div",3),i["ɵɵtext"](13,"\n      ")),2&e&&(i["ɵɵadvance"](6),i["ɵɵtextInterpolate"](t.loading.content),i["ɵɵadvance"](3),i["ɵɵtextInterpolate"](t.loading.content),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",t.loading.modal))},directives:[o.NgIf,o.NgStyle],styles:[".custom-loading[_ngcontent-%COMP%] {\n            position: absolute;\n            top: calc(50% - 20px);\n            left: calc(50% - 20px);\n            z-index: 100;\n        }\n\n        .loading-overlay[_ngcontent-%COMP%] {\n            top: 0;\n            right: 0;\n            bottom: 0;\n            left: 0;\n            background: rgba(0, 0, 0, 0.6);\n            z-index: 99;\n            pointer-events: auto;\n        }\n\n        .loading-content[_ngcontent-%COMP%] {\n            color: white;\n            font-size: 1.2em;\n        }"]}),e})()},46630:(e,t,n)=>{"use strict";n.d(t,{I:()=>l});var i=n(6856),r=n(8566),o=n(19496),a=n(25394),s=n(84704),c=n(57826);let l=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=c["ɵɵdefineNgModule"]({type:e,bootstrap:[o.N]}),e.ɵinj=c["ɵɵdefineInjector"]({providers:[a.b],imports:[[i.CommonModule,r.B,s.a],r.B]}),e})()},25394:(e,t,n)=>{"use strict";n.d(t,{b:()=>a});var i=n(57826),r=n(42767),o=n(19496);let a=(()=>{class e{constructor(e){this.injectionService=e}start(e,t){let n,i=this.injectionService.appendComponent(o.N,{loading:e,containerView:t},t);return n=i.instance.close.subscribe((e=>{e===i&&(n.unsubscribe(),i.destroy())}).bind(this,i)),i.instance}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](r.Y))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},84195:(e,t,n)=>{"use strict";n.d(t,{c:()=>f});var i=n(57826),r=n(6856),o=n(96940);function a(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"button",8),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"](3).close()})),i["ɵɵtext"](1,"\n                        "),i["ɵɵelement"](2,"i",9),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementEnd"]()}}function s(e,t){if(1&e&&(i["ɵɵelementStart"](0,"figcaption"),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](3);i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.notification.msg)}}function c(e,t){if(1&e&&(i["ɵɵelement"](0,"figcaption",10),i["ɵɵpipe"](1,"bxTrustyHtml")),2&e){const e=i["ɵɵnextContext"](3);i["ɵɵproperty"]("innerHTML",i["ɵɵpipeBind1"](1,1,e.notification.msg),i["ɵɵsanitizeHtml"])}}const l=function(e){return["icon",e]};function d(e,t){if(1&e&&(i["ɵɵelementContainerStart"](0),i["ɵɵtext"](1,"\n                    "),i["ɵɵtemplate"](2,a,4,0,"button",6),i["ɵɵtext"](3,"\n                    "),i["ɵɵelement"](4,"i",2),i["ɵɵtext"](5,"\n                    "),i["ɵɵtemplate"](6,s,2,1,"figcaption",4),i["ɵɵtext"](7,"\n                    "),i["ɵɵtemplate"](8,c,2,3,"figcaption",7),i["ɵɵtext"](9,"\n                "),i["ɵɵelementContainerEnd"]()),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.notification.showClose),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](4,l,"icon-"+e.notification.type)),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",void 0===e.notification.escapeMsg||e.notification.escapeMsg),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!1===e.notification.escapeMsg)}}function u(e,t){1&e&&i["ɵɵelement"](0,"div",11)}const p=function(e){return["custom-notification",e]};function h(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div",1),i["ɵɵlistener"]("click",(function(t){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().onNotificationClick(t)})),i["ɵɵtext"](1,"\n            "),i["ɵɵelementStart"](2,"figure",2),i["ɵɵtext"](3,"\n                "),i["ɵɵelementStart"](4,"div",null,3),i["ɵɵtext"](6,"\n                    "),i["ɵɵprojection"](7),i["ɵɵtext"](8,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n                "),i["ɵɵtemplate"](10,d,10,6,"ng-container",4),i["ɵɵtext"](11,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](12,"\n            "),i["ɵɵtemplate"](13,u,1,0,"div",5),i["ɵɵtext"](14,"\n        "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵreference"](5),t=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](3,p,t.notification.type)),i["ɵɵadvance"](8),i["ɵɵproperty"]("ngIf",0==e.children.length),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",t.overlay)}}const m=["*"];let f=(()=>{class e{constructor(){this.add=new i.EventEmitter,this.remove=new i.EventEmitter}set doClose(e){this.closingNotificationTimeOut(e)}set notification(e){this.internalNotification&&this.close(),e&&this.showNotification(e)}get notification(){return this.internalNotification}showNotification(e){this.clearCloseTimeout(),this.internalNotification=e,e.timeout>0&&this.setTimeout(e.timeout),this.add.emit(),this.overlay=this.notification.modal}onNotificationClick(e){e.target instanceof HTMLAnchorElement?this.onNotificationLinkClick(e):this.notification&&0!==this.notification.timeout&&this.close()}onNotificationLinkClick(e){this.notification.attributeClickCallbacks&&this.callAttributeCallbacks(e,e.target,this.notification.attributeClickCallbacks)}callAttributeCallbacks(e,t,n){t.getAttributeNames().forEach((t=>{const i=n[t];i&&i(e)}))}close(){this.clearCloseTimeout(),this.remove.emit(),this.notification&&this.notification.onRemove&&this.notification.onRemove(this.notification),this.overlay=!1,this.internalNotification=void 0}clearCloseTimeout(){this.closeTimeout&&clearTimeout(this.closeTimeout)}setTimeout(e){this.closeTimeout=setTimeout((()=>{this.close()}),e)}closingNotificationTimeOut(e){setTimeout((()=>{e&&e.name&&this.close()}),5e3)}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-notification"]],inputs:{doClose:"doClose",notification:"notification"},outputs:{add:"add",remove:"remove"},ngContentSelectors:m,decls:3,vars:1,consts:[["class","bx-notification-container",3,"click",4,"ngIf"],[1,"bx-notification-container",3,"click"],[3,"ngClass"],["customNotification",""],[4,"ngIf"],["class","notification-overlay",4,"ngIf"],["type","button","class","close-btn",3,"click",4,"ngIf"],[3,"innerHTML",4,"ngIf"],["type","button",1,"close-btn",3,"click"],[1,"icon","icon-close"],[3,"innerHTML"],[1,"notification-overlay"]],template:function(e,t){1&e&&(i["ɵɵprojectionDef"](),i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,h,15,5,"div",0),i["ɵɵtext"](2,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",t.notification))},directives:[r.NgIf,r.NgClass],pipes:[o.d],styles:[".notification-overlay[_ngcontent-%COMP%] {\n            position: fixed;\n            top: 0;\n            right: 0;\n            bottom: 0;\n            left: 0;\n            background: rgba(0, 0, 0, 0.8);\n            z-index: 5;\n            pointer-events: auto;\n        }"]}),e})()},5109:(e,t,n)=>{"use strict";n.d(t,{E:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.showClose=!1,this.timeout=2e3}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},52450:(e,t,n)=>{"use strict";n.d(t,{P:()=>l});var i=n(6856),r=n(99576),o=n(5109),a=n(46333),s=n(73502),c=n(57826);let l=(()=>{class e{static forRoot(){return{ngModule:e,providers:[r.i,o.E]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=c["ɵɵdefineNgModule"]({type:e}),e.ɵinj=c["ɵɵdefineInjector"]({imports:[[i.CommonModule,a.d,s.D]]}),e})()},38945:(e,t,n)=>{"use strict";n.d(t,{f:()=>d});var i=n(42998),r=n(99576),o=n(57826),a=n(6856),s=n(84195);function c(e,t){if(1&e&&(o["ɵɵelementStart"](0,"bx-notification",1),o["ɵɵpipe"](1,"async"),o["ɵɵtext"](2,"\n            "),o["ɵɵprojection"](3),o["ɵɵtext"](4,"\n        "),o["ɵɵelementEnd"]()),2&e){const e=o["ɵɵnextContext"]();o["ɵɵproperty"]("notification",e.notification)("doClose",o["ɵɵpipeBind1"](1,2,e.doClose$))}}const l=["*"];let d=(()=>{class e{constructor(e){this.toastNotificationService=e,this.close={},this.name="default"}ngOnDestroy(){this.commandsSubscription&&this.commandsSubscription.unsubscribe()}ngOnInit(){this.commandsSubscription=this.toastNotificationService.commands.pipe((0,i.filter)((e=>e.name===this.name))).subscribe((e=>{clearTimeout(this.delayedNotificationId),e.notification.delay&&e.notification.delay>0?this.delayedNotificationId=setTimeout((()=>{this.notification=e.notification}),e.notification.delay):this.notification=e.notification})),this.doClose$=this.toastNotificationService.doClose.pipe((0,i.filter)((e=>e.name===this.name))),this.doClose$.subscribe((()=>{clearTimeout(this.delayedNotificationId)}))}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](r.i))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["bx-toast-notification"]],inputs:{name:"name"},ngContentSelectors:l,decls:3,vars:1,consts:[[3,"notification","doClose",4,"ngIf"],[3,"notification","doClose"]],template:function(e,t){1&e&&(o["ɵɵprojectionDef"](),o["ɵɵtext"](0,"\n        "),o["ɵɵtemplate"](1,c,5,4,"bx-notification",0),o["ɵɵtext"](2,"\n    ")),2&e&&(o["ɵɵadvance"](1),o["ɵɵproperty"]("ngIf",t.notification))},directives:[a.NgIf,s.c],pipes:[a.AsyncPipe],styles:["[_nghost-%COMP%]     .bx-notification-container {\n           z-index: 99999;\n           height: 100%;\n           left: 0px;\n        }"]}),e})()},99576:(e,t,n)=>{"use strict";n.d(t,{i:()=>a});var i=n(4309),r=n(5109),o=n(57826);let a=(()=>{class e{constructor(e){this.defaultOptions=e,this.commandsSubject=new i.Subject,this.close$=new i.Subject}get commands(){return this.commandsSubject.asObservable()}get doClose(){return this.close$.asObservable()}add(e,t){const n="number"==typeof e.timeout?e.timeout:this.defaultOptions.timeout,i="boolean"==typeof e.showClose?e.showClose:this.defaultOptions.showClose,r={...e,showClose:i,type:e.type||"success",timeout:n,onRemove:e.onRemove||(()=>{}),delay:e.delay||0};return this.commandsSubject.next({notification:r,name:t||"default"}),r}close(e){this.close$.next({name:e||"default"})}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](r.E))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},72558:(e,t,n)=>{"use strict";n.d(t,{EO:()=>o.E,PQ:()=>i.P,il:()=>r.i}),n(84195);var i=n(52450),r=n(99576),o=(n(38945),n(5109));n(57826),n(6856)},48173:(e,t,n)=>{"use strict";n.d(t,{D:()=>m});var i=n(57826),r=n(6856),o=n(12473),a=n(90566);function s(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"button",6),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().close.next("closed")})),i["ɵɵtext"](1,"\n            "),i["ɵɵelement"](2,"i",7),i["ɵɵtext"](3,"\n          "),i["ɵɵelementEnd"]()}}function c(e,t){if(1&e&&(i["ɵɵtext"](0,"\n              "),i["ɵɵelementStart"](1,"bx-dynamic-loader-component",8),i["ɵɵtext"](2,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](3,"\n          ")),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵproperty"]("component",e.notification.content)("context",e.context)("output",e.close)}}function l(e,t){if(1&e&&(i["ɵɵelementStart"](0,"figcaption"),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.notification.content)}}const d=function(e){return["icon",e,"bx-icon"]};function u(e,t){if(1&e&&i["ɵɵelement"](0,"i",0),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](1,d,"icon-"+e.notification.type))}}function p(e,t){1&e&&i["ɵɵelement"](0,"div",9)}const h=function(e,t){return["custom-notification",e,t]};let m=(()=>{class e{constructor(e){this.document=e,this.close=new i.EventEmitter,this.defaults={type:"success",closeable:!1,modal:!1,showIcon:!0,customClass:""},this.singleText=!1}ngOnInit(){this.notification=o(this.defaults,this.notification),this.singleText="string"==typeof this.notification.content||void 0===this.notification.content,this.removeScrollIfNeeded()}ngOnDestroy(){this.restoreScrollIfNeeded()}removeScrollIfNeeded(){this.hasScroll=!this.document.querySelectorAll("body.non-scroll").length,this.notification.modal&&this.hasScroll&&this.document.querySelector("body").classList.add("non-scroll")}restoreScrollIfNeeded(){this.notification.modal&&this.hasScroll&&this.document.querySelector("body").classList.remove("non-scroll")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](r.DOCUMENT))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-notification2"]],inputs:{notification:"notification",context:"context"},outputs:{close:"close"},decls:15,vars:9,consts:[[3,"ngClass"],["type","button","class","close-btn",3,"click",4,"ngIf"],["embeddedComponent",""],[4,"ngIf","ngIfElse"],[3,"ngClass",4,"ngIf"],["class","notification-overlay",4,"ngIf"],["type","button",1,"close-btn",3,"click"],[1,"icon","icon-close"],["outputName","result",3,"component","context","output"],[1,"notification-overlay"]],template:function(e,t){if(1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"figure",0),i["ɵɵtext"](2,"\n          "),i["ɵɵtemplate"](3,s,4,0,"button",1),i["ɵɵtext"](4,"\n          "),i["ɵɵtemplate"](5,c,4,3,"ng-template",null,2,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](7,"\n          "),i["ɵɵtemplate"](8,l,2,1,"figcaption",3),i["ɵɵtext"](9,"\n          "),i["ɵɵtemplate"](10,u,1,3,"i",4),i["ɵɵtext"](11,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](12,"\n        "),i["ɵɵtemplate"](13,p,1,0,"div",5),i["ɵɵtext"](14,"\n      ")),2&e){const e=i["ɵɵreference"](6);i["ɵɵadvance"](1),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction2"](6,h,t.notification.type,t.notification.customClass)),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.notification.closeable),i["ɵɵadvance"](5),i["ɵɵproperty"]("ngIf",t.singleText)("ngIfElse",e),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.notification.showIcon),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",t.notification.modal)}},directives:[r.NgClass,r.NgIf,a.W],styles:[".custom-notification[_ngcontent-%COMP%] {\n            position: absolute;\n            top: 0;\n            z-index: 100;\n        }\n\n        .notification-overlay[_ngcontent-%COMP%] {\n            position: fixed;\n            top: 0;\n            right: 0;\n            bottom: 0;\n            left: 0;\n            background: rgba(0, 0, 0, 0.8);\n            z-index: 99;\n            pointer-events: auto;\n        }"]}),e})()},29135:(e,t,n)=>{"use strict";n.d(t,{r:()=>c});var i=n(23146),r=n(48173),o=n(6856),a=n(8566),s=n(57826);let c=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e,bootstrap:[r.D]}),e.ɵinj=s["ɵɵdefineInjector"]({providers:[i.d],imports:[[o.CommonModule,a.B],a.B]}),e})()},23146:(e,t,n)=>{"use strict";n.d(t,{d:()=>a});var i=n(57826),r=n(42767),o=n(48173);let a=(()=>{class e{constructor(e){this.injectionService=e}open(e,t){let n,i,r=this.injectionService.appendComponent(o.D,{notification:e,context:e.contentContext},t);return e.timeout&&(n=setTimeout((()=>r.instance.close.next()),e.timeout)),i=r.instance.close.subscribe((e=>{e===r&&(i.unsubscribe(),n&&clearTimeout(n),r.destroy())}).bind(this,r)),r.instance}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](r.Y))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},34581:(e,t,n)=>{"use strict";n.d(t,{K:()=>s});var i=n(57826),r=n(6856),o=n(13429),a=n(39336);let s=(()=>{class e{constructor(e){this.platformId=e}block(){this.dispatchAvoidNotification({detail:a.rB})}unblock(){this.dispatchAvoidNotification({detail:a.f3})}dispatchAvoidNotification(e){(0,r.isPlatformBrowser)(this.platformId)&&document.dispatchEvent(new CustomEvent(o.F,e))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},4893:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});var i=n(64762),r=n(91184),o=n(57826);class a{constructor(){this.blockingComponentCounter=0}get isUnblocked(){return 0===this.blockingComponentCounter}incrementCount(){this.blockingComponentCounter++}decrementCount(){this.blockingComponentCounter--}getCounter(){return this.blockingComponentCounter}}a.ɵfac=function(e){return new(e||a)},a.ɵprov=o["ɵɵdefineInjectable"]({token:a,factory:a.ɵfac,providedIn:"root"}),(0,i.__decorate)([r.LO,(0,i.__metadata)("design:type",Number)],a.prototype,"blockingComponentCounter",void 0),(0,i.__decorate)([r.Fl,(0,i.__metadata)("design:type",Boolean),(0,i.__metadata)("design:paramtypes",[])],a.prototype,"isUnblocked",null),(0,i.__decorate)([r.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],a.prototype,"incrementCount",null),(0,i.__decorate)([r.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],a.prototype,"decrementCount",null)},39336:(e,t,n)=>{"use strict";n.d(t,{_r:()=>l,f3:()=>c,rB:()=>s});var i=n(4893),r=n(6856),o=n(13429),a=n(57826);const s="notification-block",c="notification-unblock";let l=(()=>{class e{constructor(e,t){this.notificationBlockerStore=e,this.document=t,this.handlerMap={[s]:{apply:()=>this.notificationBlockerStore.incrementCount()},[c]:{apply:()=>this.notificationBlockerStore.decrementCount()}}}init(){this.document&&this.document.addEventListener(o.F,(e=>this.handle(e)))}handle(e){if(e.detail){const t=this.handlerMap[e.detail];t&&t.apply()}}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.N),a["ɵɵinject"](r.DOCUMENT,8))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},13429:(e,t,n)=>{"use strict";n.d(t,{F:()=>u,t:()=>h});var i=n(6856),r=n(57826),o=n(32711),a=n(4309),s=n(55640),c=n(35294),l=n(4893),d=n(39336);const u="avoidNotification",p="notificationDisplayedCount";let h=(()=>{class e{constructor(e,t,n,r,o){this.platformId=e,this.notificationDisplayEventHandler=t,this.notificationBlockerStore=n,this.appStateStore=r,this.storageService=o,this.notificationsAllowed=new a.Subject,(0,i.isPlatformBrowser)(this.platformId)&&(this.notificationDisplayEventHandler.init(),this.setupReactions())}setupReactions(){(0,o.U5)((()=>this.notificationBlockerStore.isUnblocked),(e=>this.notificationsAllowed.next(e))),(0,o.U5)((()=>this.appStateStore.loginState),(e=>this.refreshCounter(e)))}refreshCounter(e){e?this.storageService.set(p,"0"):this.storageService.remove(p)}incrementDisplayCount(e){if(e.displayCountable){const e=this.getNotificationDisplayCount()+1;this.storageService.set(p,`${e}`)}}getNotificationDisplayCount(){return+this.storageService.get(p)}isDisplayLimitNotExceeded(){return this.getNotificationDisplayCount()<3}subscribeNotificationsAllowed(){return this.notificationsAllowed.asObservable()}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](r.PLATFORM_ID),r["ɵɵinject"](d._r),r["ɵɵinject"](l.N),r["ɵɵinject"](c.X),r["ɵɵinject"](s.z))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},81994:(e,t,n)=>{"use strict";n.d(t,{U:()=>f});var i=n(57826),r=n(12473),o=n(46093),a=n(76547),s=n(52723),c=n(6856);function l(e,t){if(1&e&&i["ɵɵelement"](0,"img",10),2&e){const e=i["ɵɵnextContext"]();i["ɵɵpropertyInterpolate"]("src",e.options.image,i["ɵɵsanitizeUrl"])}}function d(e,t){if(1&e&&(i["ɵɵelementStart"](0,"figure",11),i["ɵɵtext"](1,"\n                "),i["ɵɵelement"](2,"i",12),i["ɵɵtext"](3,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("ngClass",e.options.icon),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass","icon-"+e.options.icon)}}function u(e,t){if(1&e&&(i["ɵɵelementStart"](0,"h2",13),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.options.title)}}function p(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",14),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.options.body)}}function h(e,t){if(1&e&&(i["ɵɵelementStart"](0,"a",15),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.options.label)}}const m=function(e){return["notification-popup",e]};let f=(()=>{class e{constructor(e){this.changeDetectionRef=e,this.closed=new i.EventEmitter,this.isOpen=!1,this.defaults={position:o.z.BOTTOM,image:"/content/images/notification-default.png"}}ngOnInit(){this.options.image||delete this.options.image,this.options=r(this.defaults,this.options)}ngAfterViewInit(){this.isOpen=!0,this.changeDetectionRef.detectChanges()}onClose(e){e.stopPropagation(),this.close(!0)}close(e=!1){this.isOpen=!1,setTimeout((()=>{e&&this.options.onClose&&this.options.onClose(),this.closed.next()}),s.a)}onClick(){this.options.onClick&&this.options.onClick(),this.close()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ChangeDetectorRef))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["notification-popup"]],inputs:{options:"options"},outputs:{closed:"closed"},decls:25,vars:9,consts:[[3,"ngClass","click"],[3,"src",4,"ngIf"],["class","notification-popup-icon custom-notification alert",3,"ngClass",4,"ngIf"],[1,"text-content"],[1,"text-container"],["class","title h2-heading",4,"ngIf"],["class","text-body",4,"ngIf"],["class","custom-link",4,"ngIf"],["type","button",1,"close-btn",3,"click"],[1,"icon","icon-close"],[3,"src"],[1,"notification-popup-icon","custom-notification","alert",3,"ngClass"],[1,"icon",3,"ngClass"],[1,"title","h2-heading"],[1,"text-body"],[1,"custom-link"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"figure",0),i["ɵɵlistener"]("click",(function(){return t.onClick()})),i["ɵɵtext"](2,"\n            "),i["ɵɵtemplate"](3,l,1,1,"img",1),i["ɵɵtext"](4,"\n            "),i["ɵɵtemplate"](5,d,4,2,"figure",2),i["ɵɵtext"](6,"\n            "),i["ɵɵelementStart"](7,"span",3),i["ɵɵtext"](8,"\n                "),i["ɵɵelementStart"](9,"span",4),i["ɵɵtext"](10,"\n                    "),i["ɵɵtemplate"](11,u,2,1,"h2",5),i["ɵɵtext"](12,"\n                    "),i["ɵɵtemplate"](13,p,2,1,"div",6),i["ɵɵtext"](14,"\n                    "),i["ɵɵtemplate"](15,h,2,1,"a",7),i["ɵɵtext"](16,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](18,"\n            "),i["ɵɵelementStart"](19,"button",8),i["ɵɵlistener"]("click",(function(e){return t.onClose(e)})),i["ɵɵtext"](20,"\n                "),i["ɵɵelement"](21,"i",9),i["ɵɵtext"](22,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](23,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](24,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](7,m,t.options.position))("@openClose",t.isOpen?"open":"closed"),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!t.options.icon),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.options.icon),i["ɵɵadvance"](6),i["ɵɵproperty"]("ngIf",!!t.options.title),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!!t.options.body),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!!t.options.label))},directives:[c.NgClass,c.NgIf],encapsulation:2,data:{animation:[(0,a.trigger)("openClose",[(0,a.state)("open",(0,a.style)({opacity:1})),(0,a.state)("closed",(0,a.style)({opacity:0})),(0,a.transition)("open => closed",[(0,a.animate)("0.8s")]),(0,a.transition)("closed => open",[(0,a.animate)("0.8s")])])]}}),e})()},92753:(e,t,n)=>{"use strict";n.d(t,{v:()=>u});var i=n(52723),r=n(6856),o=n(8566),a=n(81994),s=n(84704),c=n(9359),l=n(87012),d=n(57826);let u=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=d["ɵɵdefineNgModule"]({type:e,bootstrap:[a.U,l.Q]}),e.ɵinj=d["ɵɵdefineInjector"]({providers:[i.n,c.L],imports:[[r.CommonModule,s.a,o.B],o.B]}),e})()},52723:(e,t,n)=>{"use strict";n.d(t,{n:()=>d,a:()=>l});var i=n(57826),r=n(42767),o=n(13429),a=n(81994),s=n(87012),c=(()=>(function(e){e.REWARD_CLAIMED="reward_claim"}(c||(c={})),c))();const l=800;let d=(()=>{class e{constructor(e,t){this.injectionService=e,this.notificationDisplayService=t,this.currentNotificationIndex=0,this.displayedNotifications=new Map}open(e){let t=e.tags&&e.tags===c.REWARD_CLAIMED?this.injectionService.appendComponent(s.Q,{options:e}):this.injectionService.appendComponent(a.U,{options:e});const n=this.setTimer(t,e.timeout);return this.subscribeToClose(t,n),this.setNotification(t),this.notificationDisplayService.incrementDisplayCount(e),this.currentNotificationIndex}close(e){this.displayedNotifications.get(e)&&(this.displayedNotifications.get(e).instance.closed.next(),this.displayedNotifications.delete(e))}setTimer(e,t){return t=t||10,setTimeout((()=>e.instance.closed.next()),1e3*t)}setNotification(e){this.currentNotificationIndex++,this.displayedNotifications.set(this.currentNotificationIndex,e)}subscribeToClose(e,t){let n;n=e.instance.closed.subscribe((i=>{i===e&&(n.unsubscribe(),t&&clearTimeout(t),e.instance.isOpen=!1,setTimeout((()=>{e.destroy()}),l))}).bind(this,e))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](r.Y),i["ɵɵinject"](o.t))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},87012:(e,t,n)=>{"use strict";n.d(t,{Q:()=>b});var i=n(57826),r=n(76547),o=n(9359),a=n(46093),s=n(52723),c=n(12473),l=n(6856),d=n(86014);function u(e,t){if(1&e&&i["ɵɵelement"](0,"img",10),2&e){const e=i["ɵɵnextContext"]();i["ɵɵpropertyInterpolate"]("src",e.options.image,i["ɵɵsanitizeUrl"])}}function p(e,t){if(1&e&&(i["ɵɵelementStart"](0,"figure",11),i["ɵɵtext"](1,"\n                "),i["ɵɵelement"](2,"i",12),i["ɵɵtext"](3,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("ngClass",e.options.icon),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass","icon-"+e.options.icon)}}function h(e,t){if(1&e&&(i["ɵɵelementStart"](0,"h2",13),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.options.title)}}function m(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",14),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.options.body)}}const f=function(e){return{hidden:e}};function g(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div",15),i["ɵɵtext"](1,"\n                        "),i["ɵɵelementStart"](2,"button",16),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().onBonusClaim()})),i["ɵɵtext"](3),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n                        "),i["ɵɵelementStart"](5,"div",17),i["ɵɵtext"](6,"\n                            "),i["ɵɵelement"](7,"i",18),i["ɵɵtext"](8,"\n                            "),i["ɵɵelementStart"](9,"span",19),i["ɵɵtext"](10,"rewardClaimNotificationPopup.claim-bonus.confirmation"),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](12,"\n\n                        "),i["ɵɵelementStart"](13,"div",20),i["ɵɵtext"](14,"\n                            "),i["ɵɵelement"](15,"i",21),i["ɵɵtext"](16,"\n                            "),i["ɵɵelementStart"](17,"div",22),i["ɵɵtext"](18,"\n                                "),i["ɵɵelementStart"](19,"span",19),i["ɵɵtext"](20,"\n                                    rewardClaimNotificationPopup.claim-bonus.errorMessage"),i["ɵɵelementEnd"](),i["ɵɵtext"](21,"\n                            "),i["ɵɵelementEnd"](),i["ɵɵtext"](22,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](23,"\n                    "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](4,f,e.isClaimed||e.isFailed)),i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"]("",e.options.label,"\n                        "),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](6,f,!e.isClaimed)),i["ɵɵadvance"](8),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](8,f,!e.isFailed))}}const v=function(e){return["notification-popup",e]};let b=(()=>{class e{constructor(e,t){this.changeDetectionRef=e,this.rewardNotificationPopupService=t,this.closed=new i.EventEmitter,this.isOpen=!1,this.defaults={position:a.z.BOTTOM,image:"/content/images/notification-default.png"},this.isClaimed=!1,this.isFailed=!1,this.rewardNotificationPopupService.bonusClaimedEvent.subscribe((e=>{this.isClaimed=!0,this.isFailed=!1,this.options.onClick&&this.options.onClick()})),this.rewardNotificationPopupService.bonusFailedEvent.subscribe((e=>{this.isFailed=!0,this.isClaimed=!1,this.options.onClick&&this.options.onClick()}))}ngOnInit(){this.options.image||delete this.options.image,this.options=c(this.defaults,this.options)}ngAfterViewInit(){this.isOpen=!0,this.changeDetectionRef.detectChanges()}onClose(e){e.stopPropagation(),this.isOpen=!1,setTimeout((()=>{this.options.onClose&&this.options.onClose(),this.closed.next()}),s.a)}showAction(){return this.options.label&&this.options.bonusCode}onBonusClaim(){this.rewardNotificationPopupService.onClaimBonusEvent(this.options.bonusCode)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ChangeDetectorRef),i["ɵɵdirectiveInject"](o.L))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-reward-claimed-notification-popup"]],inputs:{options:"options"},outputs:{closed:"closed"},decls:25,vars:9,consts:[[3,"ngClass"],[3,"src",4,"ngIf"],["class","notification-popup-icon custom-notification alert",3,"ngClass",4,"ngIf"],[1,"text-content"],[1,"text-container"],["class","title h2-heading",4,"ngIf"],["class","text-body",4,"ngIf"],["class","action-wrapper",4,"ngIf"],["type","button",1,"close-btn",3,"click"],[1,"icon","icon-close"],[3,"src"],[1,"notification-popup-icon","custom-notification","alert",3,"ngClass"],[1,"icon",3,"ngClass"],[1,"title","h2-heading"],[1,"text-body"],[1,"action-wrapper"],["id","claimBonusFromNotification",1,"custom-link","claim-now",3,"ngClass","click"],[1,"custom-badge","secondary","bonus-claimed",3,"ngClass"],[1,"icon","icon-checked"],[3,"bxTranslate"],[1,"custom-notification","alert","error","bonus-claimed",3,"ngClass"],[1,"icon","icon-error"],[1,"error-message"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"figure",0),i["ɵɵtext"](2,"\n            "),i["ɵɵtemplate"](3,u,1,1,"img",1),i["ɵɵtext"](4,"\n            "),i["ɵɵtemplate"](5,p,4,2,"figure",2),i["ɵɵtext"](6,"\n            "),i["ɵɵelementStart"](7,"span",3),i["ɵɵtext"](8,"\n                "),i["ɵɵelementStart"](9,"span",4),i["ɵɵtext"](10,"\n                    "),i["ɵɵtemplate"](11,h,2,1,"h2",5),i["ɵɵtext"](12,"\n                    "),i["ɵɵtemplate"](13,m,2,1,"div",6),i["ɵɵtext"](14,"\n                    "),i["ɵɵtemplate"](15,g,24,10,"div",7),i["ɵɵtext"](16,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](18,"\n            "),i["ɵɵelementStart"](19,"button",8),i["ɵɵlistener"]("click",(function(e){return t.onClose(e)})),i["ɵɵtext"](20,"\n                "),i["ɵɵelement"](21,"i",9),i["ɵɵtext"](22,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](23,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](24,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](7,v,t.options.position))("@openClose",t.isOpen?"open":"closed"),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!t.options.icon),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.options.icon),i["ɵɵadvance"](6),i["ɵɵproperty"]("ngIf",!!t.options.title),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!!t.options.body),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.showAction()))},directives:[l.NgClass,l.NgIf,d.P],encapsulation:2,data:{animation:[(0,r.trigger)("openClose",[(0,r.state)("open",(0,r.style)({opacity:1})),(0,r.state)("closed",(0,r.style)({opacity:0})),(0,r.transition)("open => closed",[(0,r.animate)("0.8s")]),(0,r.transition)("closed => open",[(0,r.animate)("0.8s")])])]}}),e})()},9359:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.claimBonusEvent=new i.EventEmitter,this.bonusClaimedEvent=new i.EventEmitter,this.bonusFailedEvent=new i.EventEmitter}onClaimBonusEvent(e){this.claimBonusEvent.next(e)}onBonusClaimed(){this.bonusClaimedEvent.next(!0)}onBonusFailed(){this.bonusFailedEvent.next(!0)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},46093:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var i=(()=>(function(e){e.BOTTOM="bottom",e.TOP_RIGHT="top-right"}(i||(i={})),i))()},38458:(e,t,n)=>{"use strict";n.d(t,{l:()=>o});var i=n(57826);const r=["*"];let o=(()=>{class e{constructor(){this.fullWidth=!1}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-overlay-body"]],inputs:{fullWidth:"fullWidth"},ngContentSelectors:r,decls:6,vars:2,consts:[[1,"modal-body"]],template:function(e,t){1&e&&(i["ɵɵprojectionDef"](),i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"section",0),i["ɵɵtext"](2,"\n            "),i["ɵɵprojection"](3),i["ɵɵtext"](4,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n  ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵclassProp"]("modal-body-full-width",t.fullWidth))},encapsulation:2}),e})()},22646:(e,t,n)=>{"use strict";n.d(t,{B:()=>d});var i=n(57826),r=n(73753),o=n(65340),a=n(81899),s=n(34581),c=n(6856);const l=["*"];let d=(()=>{class e{constructor(e,t,n,r,o){this.router=e,this.route=t,this.overlayNotificationService=n,this.windowService=r,this.componentNotificationEventDispatcher=o,this.close=new i.EventEmitter,this.centered=!1,this.dark=!0,this.gameWrapper=!1,this.noScroll=!1,this.className="",this.containerClassName="",this.sendNotificationEvent=!0}ngOnInit(){this.sendNotificationEvent&&this.componentNotificationEventDispatcher.block(),this.styleFromData(),this.router.events.subscribe((e=>{e instanceof r.NavigationEnd&&(e.url.startsWith("/account")&&(this.className=""),this.windowService.window().scrollTo(0,0),this.styleFromData())})),this.overlayNotificationService.notifyOverlayOpen()}ngOnDestroy(){this.sendNotificationEvent&&this.componentNotificationEventDispatcher.unblock()}styleFromData(){const e=this.mappingRouterData();e&&(this.centered="centered"===e.overlayComponentPosition,this.dark="light"!==e.overlayComponentTint,this.gameWrapper="true"===e.overlayComponentGameWrapper,this.noScroll="noHorizontalScroll"===e.overlayComponentStyle,this.className+=e.className?" "+e.className:"")}closeOverlay(){this.close.emit(),this.overlayNotificationService.notifyOverlayClosed()}mappingRouterData(){if(this.route.firstChild){let e=this.route;for(;e.firstChild;)e=e.firstChild;return Object.assign(e.snapshot.data,this.route.snapshot.data)}return this.route.snapshot.data}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](r.Router),i["ɵɵdirectiveInject"](r.ActivatedRoute),i["ɵɵdirectiveInject"](o.v),i["ɵɵdirectiveInject"](a.u),i["ɵɵdirectiveInject"](s.K))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-overlay"]],inputs:{centered:"centered",dark:"dark",gameWrapper:"gameWrapper",noScroll:"noScroll",className:"className",containerClassName:"containerClassName",sendNotificationEvent:"sendNotificationEvent"},outputs:{close:"close"},ngContentSelectors:l,decls:9,vars:10,consts:[["tabindex","-1","role","dialog","aria-labelledby","modal",1,"modal-overlay",3,"ngClass"],[1,"modal-content",3,"ngClass"]],template:function(e,t){1&e&&(i["ɵɵprojectionDef"](),i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵprojection"](5),i["ɵɵtext"](6,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵclassProp"]("dark-overlay",t.dark)("game-wrapper-overlay",t.gameWrapper),i["ɵɵproperty"]("ngClass",t.containerClassName),i["ɵɵadvance"](2),i["ɵɵclassProp"]("screen-center",t.centered)("no-scroll-overlay",t.noScroll),i["ɵɵproperty"]("ngClass",t.className))},directives:[c.NgClass],styles:[".modal-overlay[_ngcontent-%COMP%] {\n            outline: none;\n        }\n        .modal-overlay[_ngcontent-%COMP%]   .modal-content.no-scroll-overlay[_ngcontent-%COMP%] {\n            overflow-x: hidden;\n            overflow-y: auto;\n        }\n        .modal-overlay[_ngcontent-%COMP%]   .modal-content[_ngcontent-%COMP%] {\n            margin-bottom: 0;\n        }"]}),e})()},97637:(e,t,n)=>{"use strict";n.d(t,{l:()=>a});var i=n(22646),r=n(57826);const o=["*"];let a=(()=>{class e{constructor(e){this.overlay=e,this.overlayType="default",this.extraClass=""}ngOnInit(){this.overlay.className=`modal-${this.overlayType}`,this.overlay.containerClassName=`${this.extraClass}`}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](i.B))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-overlay-container"]],inputs:{overlayType:"overlayType",extraClass:"extraClass"},ngContentSelectors:o,decls:6,vars:0,template:function(e,t){1&e&&(r["ɵɵprojectionDef"](),r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"div"),r["ɵɵtext"](2,"\n            "),r["ɵɵprojection"](3),r["ɵɵtext"](4,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](5,"\n    "))},encapsulation:2}),e})()},84853:(e,t,n)=>{"use strict";n.d(t,{z:()=>l});var i=n(57826),r=n(6856),o=n(22646);function a(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"button",3),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().onBack()})),i["ɵɵtext"](1,"\n        "),i["ɵɵelement"](2,"i",4),i["ɵɵtext"](3,"Back\n      "),i["ɵɵelementEnd"]()}}function s(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"button",5),i["ɵɵlistener"]("click",(function(){i["ɵɵrestoreView"](e);const t=i["ɵɵnextContext"]();return!t.invisibleCloseButton&&t.onClose()})),i["ɵɵtext"](1,"\n        "),i["ɵɵelement"](2,"i",6),i["ɵɵtext"](3,"Close\n      "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵstyleProp"]("visibility",e.invisibleCloseButton?"hidden":null)}}const c=["*"];let l=(()=>{class e{constructor(e,t){this.overlay=e,this.location=t,this.backButton=!1,this.closeButton=!0,this.invisibleCloseButton=!1,this.defaultBackHandling=!0,this.defaultCloseHandling=!0,this.staticNavHeader=!1,this.back=new i.EventEmitter,this.close=new i.EventEmitter}onClose(){this.defaultCloseHandling?this.overlay.closeOverlay():this.close.emit()}onBack(){this.defaultBackHandling&&this.location.back(),this.back.emit()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.B),i["ɵɵdirectiveInject"](r.Location))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-overlay-header"]],inputs:{backButton:"backButton",closeButton:"closeButton",invisibleCloseButton:"invisibleCloseButton",defaultBackHandling:"defaultBackHandling",defaultCloseHandling:"defaultCloseHandling",staticNavHeader:"staticNavHeader"},outputs:{back:"back",close:"close"},ngContentSelectors:c,decls:10,vars:4,consts:[[1,"modal-header"],["type","button","class","back-btn",3,"click",4,"ngIf"],["type","button","class","close-btn",3,"visibility","click",4,"ngIf"],["type","button",1,"back-btn",3,"click"],[1,"icon","icon-back"],["type","button",1,"close-btn",3,"click"],[1,"icon","icon-close"]],template:function(e,t){1&e&&(i["ɵɵprojectionDef"](),i["ɵɵtext"](0,"\n    "),i["ɵɵelementStart"](1,"header",0),i["ɵɵtext"](2,"\n      "),i["ɵɵtemplate"](3,a,4,0,"button",1),i["ɵɵtext"](4,"\n      "),i["ɵɵprojection"](5),i["ɵɵtext"](6,"\n      "),i["ɵɵtemplate"](7,s,4,2,"button",2),i["ɵɵtext"](8,"\n    "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵclassProp"]("navbar-static",t.staticNavHeader),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.backButton),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngIf",t.closeButton))},directives:[r.NgIf],encapsulation:2}),e})()},28850:(e,t,n)=>{"use strict";n.d(t,{U:()=>c});var i=n(57826),r=n(6856),o=n(22646),a=n(93996),s=n(65340);let c=(()=>{class e{static forRoot(){return{ngModule:e,providers:[s.v]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[o.B],imports:[[r.CommonModule,a.M]]}),e})()},36873:(e,t,n)=>{"use strict";n.d(t,{Bs:()=>i.B,U8:()=>r.U}),n(38458);var i=n(22646),r=(n(97637),n(84853),n(28850))},62090:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var i=n(93758),r=n(15287),o=n(40606),a=n(57826);let s=(()=>{class e{constructor(e,t){this.monetaryAmountService=e,this.currencyConversionService=t}transform(e,t){if(e){let n=new o.W(this.monetaryAmountService,this.currencyConversionService),i=e;for(;i.match(/\[monetaryAmount:([A-Z]{3})\]([^\[]+)\[\/monetaryAmount\]/);)i=i.replace(/\[monetaryAmount:([A-Z]{3})\]([^\[]+)\[\/monetaryAmount\]/,((e,i,r)=>(r=parseFloat(r),`${n.transform({amount:r,currency:i},!0,!1,void 0,t)}`)));return`${i}`}}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵdirectiveInject"](i.S,16),a["ɵɵdirectiveInject"](r.OJ,16))},e.ɵpipe=a["ɵɵdefinePipe"]({name:"bxMonetaryAmountTag",type:e,pure:!0}),e})()},73502:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})()},76660:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});var i=n(57826);let r=(()=>{class e{transform(e){return e?e.replace(/\d(?=\d{4})/g,"*"):e}}return e.ɵfac=function(t){return new(t||e)},e.ɵpipe=i["ɵɵdefinePipe"]({name:"bxMaskStringPipe",type:e,pure:!0}),e})()},75826:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var i=n(57826);let r=(()=>{class e{transform(t){if(t&&!isNaN(Number(t))){let n=t.split(e.DEFAULT_DECIMALS_SEPARATOR);return n[0]=n[0].replace(/\B(?=(\d{3})+(?!\d))/g,e.DEFAULT_THOUSANDS_SEPARATOR),n.join(e.DEFAULT_DECIMALS_SEPARATOR)}return t}}return e.DEFAULT_THOUSANDS_SEPARATOR=",",e.DEFAULT_DECIMALS_SEPARATOR=".",e.ɵfac=function(t){return new(t||e)},e.ɵpipe=i["ɵɵdefinePipe"]({name:"bxThousandsSeparator",type:e,pure:!0}),e})()},96940:(e,t,n)=>{"use strict";n.d(t,{d:()=>o});var i=n(15982),r=n(57826);let o=(()=>{class e{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustHtml(e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](i.DomSanitizer,16))},e.ɵpipe=r["ɵɵdefinePipe"]({name:"bxTrustyHtml",type:e,pure:!0}),e})()},32716:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(57826);let r=(()=>{class e{constructor(e,t){this.elementRef=e,this.renderer=t,this.CSS_CLASS="preview-indicator"}ngAfterViewInit(){this.hasPreviewIndicator()&&this.renderer.addClass(this.elementRef.nativeElement,this.CSS_CLASS)}hasPreviewIndicator(){return this.content&&this.content.draft}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](i.Renderer2))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxPreviewIndicator",""]],inputs:{content:["bxPreviewIndicator","content"]}}),e})()},40821:(e,t,n)=>{"use strict";n.d(t,{o:()=>c});var i=n(6856),r=n(84704),o=n(49379),a=n(53609),s=n(57826);let c=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({providers:[o.M,{provide:a.D,useValue:{}}],imports:[[i.CommonModule,r.a]]}),e})()},4473:(e,t,n)=>{"use strict";n.d(t,{m:()=>a});var i=n(57826),r=n(15982),o=n(6856);class a{constructor(e,t){this.tstate=e,this.platformId=t,this.cachedDataByUrl={},this.FROM_UNIVERSAL_KEY="fromUniversal",(0,o.isPlatformBrowser)(this.platformId)&&(this.cachedDataByUrl=this.tstate.get(a.CACHE_BY_URL_KEY,{})),(0,o.isPlatformServer)(this.platformId)&&(this.tstate.set(a.CACHE_BY_URL_KEY,this.cachedDataByUrl),this.setFromUniversal())}saveData(e,t){if(!a.isExcludedUrl(e))if(this.cachedDataByUrl[e])this.cachedDataByUrl[e].counter++;else{let n={counter:1,data:t};this.cachedDataByUrl[e]=n}}getData(e){const t=this.cachedDataByUrl[e];return t?(1===t.counter?delete this.cachedDataByUrl[e]:t.counter>1&&this.cachedDataByUrl[e].counter--,t.data):null}static isExcludedUrl(e){for(const t of a.excludedUrls)if(e.endsWith(t))return!0;return!1}isFromUniversal(){return void 0!==this.cachedDataByUrl[this.FROM_UNIVERSAL_KEY]||!1}setFromUniversal(){return this.saveData(this.FROM_UNIVERSAL_KEY,{})}clearFromUniversal(){delete this.cachedDataByUrl[this.FROM_UNIVERSAL_KEY]}}a.CACHE_BY_URL_KEY=(0,r.makeStateKey)("cachedDataByUrl"),a.excludedUrls=["/i18n/routes.json","/services/site-config/v1/config"],a.ɵfac=function(e){return new(e||a)(i["ɵɵinject"](r.TransferState),i["ɵɵinject"](i.PLATFORM_ID))},a.ɵprov=i["ɵɵdefineInjectable"]({token:a,factory:a.ɵfac})},23444:(e,t,n)=>{"use strict";n.d(t,{c:()=>i});const i=new(n(57826).InjectionToken)("UniversalConfig")},64417:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var i=n(27218),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:[i.X]}),e})()},27218:(e,t,n)=>{"use strict";n.d(t,{X:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){}getUrl(e,t,n,i,r="casino"){let o="/";return i&&(o=`?${i}=`),`${o}${r}/${e}/${n}/${t}`}getPathFormat(){return"casino/:category/:subcategory/:slug"}getPathList(e,t,n,i="/casino"){return[i,e,n,t]}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},7011:(e,t,n)=>{"use strict";n.d(t,{L:()=>p});var i=n(57826),r=n(6856),o=n(90441),a=n(56614),s=n(55640),c=n(93996),l=n(30173),d=n(41306);const u=[{provide:o.X,useFactory:function(e,t,n){return new o.X(e,t,n)},deps:[s.z,l.U,i.PLATFORM_ID]}];let p=(()=>{class e{static forRoot(){return{ngModule:e,providers:[...u]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[r.CommonModule,a.F,c.M,d.I]]}),e})()},90441:(e,t,n)=>{"use strict";n.d(t,{X:()=>d,u:()=>c});var i=n(57826),r=n(6856),o=n(4309),a=n(55640),s=n(30173);const c="e30=",l="existingBlackBox";let d=(()=>{class e{constructor(e,t,n){this.storageService=e,this.deviceService=t,this.platformId=n,this._iFrameId="fpIframe",this._encodedBlackBox=c,(0,r.isPlatformBrowser)(this.platformId)&&(this._document=document,this._location=location,this.blackBoxGenerationResults=new o.Subject,this.storageService.get(l)&&(this._encodedBlackBox=this.storageService.get(l)),window.addEventListener?window.addEventListener("message",this.deviceProtectListener.bind(this),!1):window.attachEvent("onmessage",this.deviceProtectListener))}generateBlackBox(){if(this.isDeviceTrackingEnabled()){const e=this.isHSTSEnabled();let t={basePath:"/fp",blackbox:!0,f:!0,h:e,iFrameId:this._iFrameId,iframeIndexUrl:this.deviceTrackingUrl+"/views/fp/index.html",parentUrl:this.getMainHost(),v:"2.8.0",bx:!0,bgw:this.getDeviceInfo()};e||(t.hc=this.storageService.get("hc")),this.appendIFrameToBody(t,this.blackBoxGenerationResults)}}getBlackBox(){return this._encodedBlackBox}getDefaultBlackBox(){return c}deviceProtectListener(e){switch(e.data.messageType){case"blackBox":this._encodedBlackBox=e.data.data,this.storageService.set(l,e.data.data);break;case"hc":this.storageService.set("hc",e.data.data)}}setDocument(e){this._document=e}setLocation(e){this._location=e}getDeviceInfo(){return this.deviceService.getDeviceType()+"|"+this.deviceService.getDeviceOS()+"|"+this.deviceService.getOSVersion()+"|"+this.deviceService.getBrowser()+"|"+this.deviceService.getBrowserVersion()+"|"+this.deviceService.getScreenWidth()+"|"+this.deviceService.getScreenHeight()}getMainHost(){let e=this._location.host,t=this._location.protocol+"//"+e;return"localhost"!==e&&this.notIpAddress(e)||(t+=this._location.port?":"+this._location.port:""),t}sendSessionId(e,t){let n={data:e,messageType:"bx-session-id"},i=document.getElementById(this._iFrameId);i&&i.contentWindow.postMessage(n,t)}listenBlackBoxGenerationResults(e){return this.deviceTrackingUrl=e,this.blackBoxGenerationResults.asObservable()}notIpAddress(e){let t=e.split("."),n=t[t.length-1];return isNaN(n)}appendIFrameToBody(e,t){e.iframeId&&(this._iFrameId=e.iframeId);const n=this.encodeTruthyUriComponents(e.basePath),i=this.encodeTruthyUriComponents(e.blackbox),r=this.encodeTruthyUriComponents(e.f),o=this.encodeTruthyUriComponents(e.h),a=this.encodeTruthyUriComponents(e.iFrameId),s=this.encodeTruthyUri(e.iframeIndexUrl),c=this.encodeTruthyUriComponents(e.parentUrl),l=`${s}?f=${r}&h=${o}&blackbox=${i}&iframeId=${a}&basePath=${n}&v=${this.encodeTruthyUriComponents(e.v)}&parentUrl=${c}&bx=${this.encodeTruthyUriComponents(e.bx)}&bgw=${this.encodeTruthyUriComponents(e.bgw)}${"hc"in e?`&hc=${this.encodeTruthyUriComponents(e.hc)}`:""}`;let d=this._document.getElementById(this._iFrameId);d&&d.remove(),d=this._document.createElement("iframe"),d.setAttribute("id",a),d.setAttribute("src",l),d.setAttribute("frameBorder","0"),d.setAttribute("width","0%"),d.setAttribute("height","0%"),d.setAttribute("style","width:0%;height:0%;position:absolute;top:0;left:0;"),d.onload=()=>{t.next({})},this._document.getElementsByTagName("body")[0].appendChild(d)}encodeTruthy(e,t){return e?t(e):e}encodeTruthyUriComponents(e){return this.encodeTruthy(e,encodeURIComponent)}encodeTruthyUri(e){return this.encodeTruthy(e,encodeURI)}isDeviceTrackingEnabled(){return!!this.deviceTrackingUrl}isHSTSEnabled(){return"safari"!==this.deviceService.getBrowser().toLowerCase()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](a.z),i["ɵɵinject"](s.U),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},76141:(e,t,n)=>{"use strict";n.d(t,{L1:()=>i.L,Xp:()=>r.X,uw:()=>r.u});var i=n(7011),r=n(90441)},25938:(e,t,n)=>{"use strict";n.d(t,{L1:()=>i.L1,Xp:()=>i.Xp,uw:()=>i.uw});var i=n(76141)},58447:(e,t,n)=>{"use strict";n.d(t,{U:()=>a});var i=n(40475),r=n(57826);const o=["*"];let a=(()=>{class e{submit(e){this.formGroup.valid||(this.markGroupAsTouched(this.formGroup),e.stopImmediatePropagation())}markGroupAsTouched(e){e instanceof i.FormGroup||e instanceof i.FormArray?Object.keys(e.controls).map((t=>this.markGroupAsTouched(e.get(t)))):e.markAsTouched()}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-form"]],inputs:{formGroup:"formGroup"},ngContentSelectors:o,decls:6,vars:0,consts:[["novalidate","",3,"ngSubmit"]],template:function(e,t){1&e&&(r["ɵɵprojectionDef"](),r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"form",0),r["ɵɵlistener"]("ngSubmit",(function(e){return t.submit(e)})),r["ɵɵtext"](2,"\n            "),r["ɵɵprojection"](3),r["ɵɵtext"](4,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](5,"\n    "))},directives:[i["ɵNgNoValidate"],i.NgControlStatusGroup,i.NgForm],encapsulation:2}),e})()},12644:(e,t,n)=>{"use strict";n.d(t,{q:()=>y});var i=n(84245),r=n(40475),o=n(84704),a=n(6856),s=n(68698),c=n(82009),l=n(5608),d=n(38129),u=n(71835),p=n(33225),h=n(30346),m=n(41759);const f=[{provide:h.C,useValue:{name:"bxAdminCalendar",validator:function(){return e=>{if(r.Validators.required(e))return null;let t=(0,m.Z)(+e.value),n=(0,m.Z)().utc();return t.isValid()&&n.isValid()&&!t.isAfter(n)?{notInThePast:!0}:null}}},multi:!0},{provide:h.C,useValue:{name:"bxEmail",validator:function(e){if(r.Validators.required(e))return null;let t=e.value;return/^[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z]{2,}$/.test(t)?null:{bxEmail:!0}}},multi:!0},{provide:h.C,useValue:{name:"bxUsername",validator:function(e){return r.Validators.required(e)||/^[a-zA-Z0-9_\-]*$/.test(e.value)?null:{bxUsername:!0}}},multi:!0},{provide:h.C,useValue:{name:"password",validator:function(e){if(r.Validators.required(e))return null;let t=e.value;return/(.*[0-9]+.*[A-Z]+.*)|(.*[A-Z]+.*[0-9]+.*)/.test(t)?null:{password:!0}}},multi:!0},{provide:h.C,useValue:{name:"digits",validator:function(e){if(r.Validators.required(e))return null;let t=e.value;return/^\d+$/.test(t)?null:{digits:!0}}},multi:!0},{provide:h.C,useValue:{name:"someRequired",validator:function(e,t){return n=>{let i=0;for(let e of t)n.get(e)&&n.get(e).value&&(i+=1);return i>=e?null:{someRequired:!0}}}},multi:!0},{provide:h.C,useValue:{name:"range",validator:function(e,t){return n=>{if(r.Validators.required(n))return null;let i=+n.value;return i>=e&&i<=t?null:{range:!0}}}},multi:!0},{provide:h.C,useValue:{name:"gt",validator:function(e){return t=>r.Validators.required(t)||(t.value?+t.value.toString().replace(/,/g,""):+t.value)>e?null:{gt:!0}}},multi:!0},{provide:h.C,useValue:{name:"bxChecked",validator:function(e){if(r.Validators.required(e))return null;let t=e.value;return!t||/false/g.test(t)?{bxChecked:!0}:null}},multi:!0},{provide:h.C,useValue:{name:"bxValidName",validator:function(e){if(r.Validators.required(e))return null;let t=e.value;return new RegExp("^[\\w\\s.,\\/#!%\\^*;:{}=\\-`~()¡ªº'¿´\\u00C0-\\u00FF\\u4E00-\\u9FFF]*$").test(t)?null:{error_pattern:!0}}},multi:!0},{provide:h.C,useValue:{name:"bxNoWhitespacesName",validator:function(e){return r.Validators.required(e)||0!==(e.value||"").trim().length?null:{required:!0}}},multi:!0}];var g=n(88856),v=n(8566),b=n(57826);let y=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=b["ɵɵdefineNgModule"]({type:e}),e.ɵinj=b["ɵɵdefineInjector"]({providers:[i.o,p.S,u.l,...f],imports:[[r.FormsModule,r.ReactiveFormsModule,o.a,a.CommonModule,s.T,g.QA,c.D,v.B,l.a,d.z],r.FormsModule,r.ReactiveFormsModule,a.CommonModule]}),e})()},74195:(e,t,n)=>{"use strict";n.d(t,{E:()=>Ie});var i=n(33225),r=n(57826),o=n(80279),a=n(40475),s=n(81207),c=n(38026),l=n(61493),d=n(45965),u=n(6856),p=n(86014),h=n(90566),m=n(75619),f=n(18548),g=n(35218),v=n(15287),b=n(50811);let y=(()=>{class e{constructor(e,t,n){this.elementRef=e,this.control=t,this.injector=n,this.currencyCode="",this.includeThousandsSeparator=!1}ngAfterViewInit(){this.initCurrencyConversionService(),this.control&&this.control.value&&this.currencyConversionService&&(this.internalValue=this.asMonetaryAmount(this.currencyCode,this.control.value),this.elementRef.nativeElement.value=this.includeThousandsSeparator?b.w.formatAmountUsingEnglishStandard(this.currencyConversionService.convert(this.internalValue).amount.toString()):this.currencyConversionService.convert(this.internalValue).amount.toString())}initCurrencyConversionService(){this.currencyConversionService||"monetaryAmount"!==this.elementRef.nativeElement.getAttribute("Type")||(this.currencyConversionService=this.injector.get(v.OJ))}onChange(e){e.target&&"monetaryAmount"===e.target.getAttribute("Type")&&this.currencyConversionService&&(this.internalValue=this.currencyConversionService.convert(this.asMonetaryAmount(g.o.getCurrencyCodeToShow(this.currencyCode),this.includeThousandsSeparator?b.w.removeEnglishThousandsSeparator(e.target.value):e.target.value)))}onFocus(e){e.target&&"monetaryAmount"===e.target.getAttribute("Type")&&delete this.control.control.isValuePatched}onTouched(e){e.target&&"monetaryAmount"===e.target.getAttribute("Type")&&this.currencyConversionService&&this.internalValue&&(this.control.control.isValuePatched=!0,this.control.control.patchValue(this.internalValue.amount.toString()),this.elementRef.nativeElement.value=this.includeThousandsSeparator?b.w.formatAmountUsingEnglishStandard(this.currencyConversionService.convert(this.internalValue).amount.toString()):this.currencyConversionService.convert(this.internalValue).amount.toString())}asMonetaryAmount(e,t){return{amount:isNaN(+t)?0:+t,currency:e}}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](a.NgControl),r["ɵɵdirectiveInject"](r.Injector))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["input","bxMonetaryAmount",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("blur",(function(e){return t.onTouched(e)}))("change",(function(e){return t.onChange(e)}))("focus",(function(e){return t.onFocus(e)}))},inputs:{currencyCode:"currencyCode",includeThousandsSeparator:"includeThousandsSeparator"}}),e})();var S=n(76660),C=n(33704);let x=(()=>{class e{constructor(e,t,n,i){this.elementRef=e,this.control=t,this.phoneSubjectService=n,this.maskStringPipe=i,this.targetType="telMasked",this.initPhone="",this.mustBeValidated=!1}ngAfterViewInit(){const e=this.elementRef.nativeElement.getAttribute("type");this.control&&e===this.targetType&&(this.elementRef.nativeElement.setAttribute("autocomplete","off"),this.initSubscription=this.controlGroup.get(this.formControlName).valueChanges.subscribe((e=>{this.initialize(e),this.unsubscribeInitSubscription()})),this.phoneSubjectService.phoneItem$.subscribe((e=>{this.initialize(e)})))}onChange(e){e.target&&e.target.getAttribute("Type")===this.targetType&&(e.target.value&&!this.mustBeValidated?this.addValidators():e.target.value||this.removeValidators())}onFocus(e){e.target&&e.target.getAttribute("Type")===this.targetType&&e.target.value.includes("*")&&(this.elementRef.nativeElement.value="")}onTouched(e){e.target&&e.target.getAttribute("Type")===this.targetType&&!e.target.value&&this.fillDefaultValue()}setInitPhone(e){this.initPhone=e}initialize(e){this.setInitPhone(e),this.fillDefaultValue(),this.removeValidators()}unsubscribeInitSubscription(){this.initSubscription.unsubscribe()}fillDefaultValue(){this.elementRef.nativeElement.value=this.maskStringPipe.transform(this.initPhone)}addValidators(){this.controlGroup.get(this.formControlName).setValidators([a.Validators.required,a.Validators.maxLength(this.validators.maxLength),a.Validators.pattern(this.validators.pattern)]),this.controlGroup.get(this.formControlName).updateValueAndValidity({emitEvent:!1}),this.mustBeValidated=!0}removeValidators(){this.controlGroup.get(this.formControlName).clearValidators(),this.controlGroup.get(this.formControlName).setErrors(null),this.mustBeValidated=!1}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](a.NgControl),r["ɵɵdirectiveInject"](C.$),r["ɵɵdirectiveInject"](S.X))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["input","bxTelMasked",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("blur",(function(e){return t.onTouched(e)}))("change",(function(e){return t.onChange(e)}))("focus",(function(e){return t.onFocus(e)}))},inputs:{controlGroup:"controlGroup",formControlName:"formControlName",validators:"validators"}}),e})();var I=n(81899);let w=(()=>{class e{constructor(e,t,n){this.renderer=t,this.windowService=n,this.targetInput=e.nativeElement}ngAfterViewInit(){this.typeAheadConfig&&this.createTypeAheadInput()}processInputForTypeAhead(){if(!this.typeAheadConfig)return;let e="";this.triggersSearch()&&(e=this.findHintValue()),this.setHint(e)}acceptHintValue(e){this.typeAheadConfig&&this.canAcceptHint()&&(this.completeInputWithTypeAhead(),e.preventDefault())}acceptHintValueIfClickedAtTheEnd(e){this.typeAheadConfig&&this.canAcceptHintOnClick(e.offsetX)&&this.completeInputWithTypeAhead()}resetHint(){this.typeAheadConfig&&this.setHint("")}createTypeAheadInput(){this.wrapper=this.renderer.createElement("div"),this.typedSpan=this.renderer.createElement("span"),this.hintSpan=this.renderer.createElement("span"),this.styleTypeAhead(),this.renderer.appendChild(this.wrapper,this.typedSpan),this.renderer.appendChild(this.wrapper,this.hintSpan),this.renderer.insertBefore(this.renderer.parentNode(this.targetInput),this.wrapper,this.targetInput)}styleTypeAhead(){const{padding:e,fontSize:t,zIndex:n}=this.getTargetInputStyles();this.renderer.addClass(this.wrapper,"type-ahead-wrapper"),this.renderer.addClass(this.hintSpan,"type-ahead-hint"),this.renderer.addClass(this.typedSpan,"type-ahead-typed"),this.renderer.setStyle(this.wrapper,"padding",e),this.renderer.setStyle(this.wrapper,"font-size",t),this.renderer.setStyle(this.wrapper,"z-index",n)}getTargetInputStyles(){return this.windowService?this.windowService.window().getComputedStyle(this.targetInput):{}}triggersSearch(){return this.typeAheadConfig.regex.test(this.targetInput.value)}findHintValue(){const{searchTermIgnoreCase:e,matchedElement:t}=this.findMatch();return t?t.replace(e,""):""}findMatch(){const e=this.typeAheadConfig.regex.exec(this.targetInput.value)[1],t=new RegExp(`^${e}`.replace(/\./g,"\\."),"i");return{matchedElement:this.typeAheadConfig.searchList.find((e=>t.test(e))),searchTermIgnoreCase:t}}setHint(e){this.typedSpan.textContent=this.targetInput.value,this.hintSpan.textContent=e}completeInputWithTypeAhead(){this.targetInput.value+=this.hintSpan.textContent,this.targetInput.dispatchEvent(new Event("input"))}canAcceptHint(){return!!this.hintSpan.textContent}canAcceptHintOnClick(e){return this.canAcceptHint()&&this.isClickAtTheEnd(e)}isClickAtTheEnd(e){return e>this.typedSpan.offsetWidth+this.hintSpan.offsetWidth}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef),r["ɵɵdirectiveInject"](r.Renderer2),r["ɵɵdirectiveInject"](I.u,8))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["input","bxTypeAhead",""]],hostBindings:function(e,t){1&e&&r["ɵɵlistener"]("input",(function(){return t.processInputForTypeAhead()}))("focus",(function(){return t.processInputForTypeAhead()}))("keydown.enter",(function(e){return t.acceptHintValue(e)}))("click",(function(e){return t.acceptHintValueIfClickedAtTheEnd(e)}))("blur",(function(){return t.resetHint()}))("keydown.esc",(function(){return t.resetHint()}))},inputs:{typeAheadConfig:["bxTypeAhead","typeAheadConfig"]}}),e})();var E=n(88856),T=n(6684),P=n(36803),A=n(96872),_=n(76355),M=n(20843);const O=function(e,t){return{tag:"textContent",label:e,values:t}};function k(e,t){if(1&e&&r["ɵɵelement"](0,"p",4),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("bxTranslate",r["ɵɵpureFunction2"](1,O,e.errorMessage,e.errorVars))}}const j=function(e,t){return{"invalid-field":e,"corrected-field":t}},N=function(e){return{"active-field":e}};let D=(()=>{class e{constructor(e){this.elementRef=e,this.disabled=!1,this.readonly=!1,this.value="",this.state="",this.errorMessage="",this.errorVars={},this.focused=!1,this.propagateChange=()=>{},this.propagateTouch=()=>{}}get bindValue(){return this.innerValue}set bindValue(e){e!==this.innerValue&&(this.innerValue=e,this.propagateChange(e))}onFocus(){this.focused=!0}onBlur(){this.focused=this.elementRef.nativeElement.value||!1,this.propagateTouch()}ngOnInit(){this.bxId||(this.bxId=Math.random().toString(36).substring(7)),this.innerValue=this.value}writeValue(e){this.innerValue=e}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.propagateTouch=e}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.ElementRef))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-textarea"]],inputs:{bxId:"bxId",label:"label",disabled:"disabled",readonly:"readonly",maxLength:"maxLength",value:"value",state:"state",errorMessage:"errorMessage",errorVars:"errorVars",required:"required"},features:[r["ɵɵProvidersFeature"]([{provide:a.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)((()=>e)),multi:!0}])],decls:10,vars:16,consts:[[1,"custom-field","custom-textarea",3,"ngClass"],[3,"id","ngModel","disabled","maxlength","ngModelChange","focus","blur"],[3,"for","ngClass","bxRequiredField","mandatory"],["class","error-msg",3,"bxTranslate",4,"ngIf"],[1,"error-msg",3,"bxTranslate"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"div",0),r["ɵɵtext"](2,"\n          "),r["ɵɵelementStart"](3,"textarea",1),r["ɵɵlistener"]("ngModelChange",(function(e){return t.bindValue=e}))("focus",(function(){return t.onFocus()}))("blur",(function(){return t.onBlur()})),r["ɵɵelementEnd"](),r["ɵɵtext"](4,"\n          "),r["ɵɵelement"](5,"label",2),r["ɵɵtext"](6,"\n\n           "),r["ɵɵtemplate"](7,k,1,4,"p",3),r["ɵɵtext"](8,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](9,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction2"](11,j,"error"===t.state,"valid"===t.state)),r["ɵɵadvance"](2),r["ɵɵproperty"]("id",t.bxId)("ngModel",t.bindValue)("disabled",t.disabled)("maxlength",t.maxLength),r["ɵɵattribute"]("readonly",t.readonly?"":null),r["ɵɵadvance"](2),r["ɵɵproperty"]("for",t.bxId)("ngClass",r["ɵɵpureFunction1"](14,N,t.innerValue||t.focused))("bxRequiredField",t.label)("mandatory",t.required),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.errorMessage))},directives:[u.NgClass,a.DefaultValueAccessor,a.NgControlStatus,a.NgModel,a.MaxLengthValidator,_.w,u.NgIf,p.P],encapsulation:2}),e})();var L=n(1890),R=n(47361);function F(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"i",5),r["ɵɵlistener"]("click",(function(){r["ɵɵrestoreView"](e);const t=r["ɵɵnextContext"](),n=t.item,i=t.index;return r["ɵɵnextContext"](),r["ɵɵreference"](2).removeItem(n,i)})),r["ɵɵelementEnd"]()}}function B(e,t){if(1&e&&(r["ɵɵtext"](0,"\n                    "),r["ɵɵelementStart"](1,"span",3),r["ɵɵtext"](2),r["ɵɵtemplate"](3,F,1,0,"i",4),r["ɵɵtext"](4,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](5,"\n                ")),2&e){const e=t.item,n=r["ɵɵnextContext"]();r["ɵɵadvance"](1),r["ɵɵproperty"]("ngClass",n.writeChipsRefData(e.display,"type")),r["ɵɵattribute"]("data-tooltip",n.writeChipsRefData(e.display,"description")),r["ɵɵadvance"](1),r["ɵɵtextInterpolate1"]("\n                        ",e.display,"\n                        "),r["ɵɵadvance"](1),r["ɵɵproperty"]("ngIf",!n.disabled)}}function U(e,t){if(1&e&&(r["ɵɵelementStart"](0,"tag-input-dropdown",6),r["ɵɵtext"](1,"\n                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("showDropdownIfEmpty",!0)("focusFirstElement",!0)("displayBy","display")("identifyBy","value")("autocompleteItems",e._autocompleteItems)}}const H=function(){return{enter:"0ms",leave:"0ms"}};let V=(()=>{class e{constructor(){this.validators=[],this.asyncValidators=[],this.errorMessages={},this.chipsUpdated=new r.EventEmitter,this.propagateChange=()=>{},this.propagateTouch=()=>{}}set chips(e){this._chips=e.map((e=>({display:e,value:e,readonly:!0})))}set autocompleteItems(e){void 0!==e&&(this._autocompleteItems=e.map((e=>({display:e,value:e,readonly:!0}))))}updateFormModel(){this.propagateChange(this._chips.map((e=>e.value))),this.chipsUpdated.emit(this._chips.map((e=>e.value)))}registerOnChange(e){this.propagateChange=e}registerOnTouched(e){this.propagateTouch=e}writeValue(e){e&&e.length>0?this._chips=e.map((e=>({display:e,value:e,readonly:!0}))):this._chips=[]}writeChipsRefData(e,t){if(this.chipsRefData&&this.chipsRefData[e])return this.chipsRefData[e][t]}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-chips"]],inputs:{bxId:"bxId",chips:"chips",autocompleteItems:"autocompleteItems",hideForm:"hideForm",disabled:"disabled",dropdown:"dropdown",validators:"validators",asyncValidators:"asyncValidators",errorMessages:"errorMessages",onAdding:"onAdding",placeholder:"placeholder",chipsRefData:"chipsRefData",dragZone:"dragZone"},outputs:{chipsUpdated:"chipsUpdated"},features:[r["ɵɵProvidersFeature"]([{provide:a.NG_VALUE_ACCESSOR,useExisting:(0,r.forwardRef)((()=>e)),multi:!0}])],decls:9,vars:16,consts:[["theme","enterprise","inputClass","add-tag-field",3,"ngModel","hideForm","disable","validators","asyncValidators","errorMessages","onAdding","addOnBlur","placeholder","secondaryPlaceholder","onlyFromAutocomplete","dragZone","animationDuration","ripple","ngModelChange","onRemove","onTextChange","onAdd"],["input",""],[3,"showDropdownIfEmpty","focusFirstElement","displayBy","identifyBy","autocompleteItems",4,"ngIf"],["aria-label","Bonus code",1,"tag-brand",3,"ngClass"],["class","icon icon-close",3,"click",4,"ngIf"],[1,"icon","icon-close",3,"click"],[3,"showDropdownIfEmpty","focusFirstElement","displayBy","identifyBy","autocompleteItems"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"tag-input",0,1),r["ɵɵlistener"]("ngModelChange",(function(e){return t._chips=e}))("onRemove",(function(){return t.updateFormModel()}))("onTextChange",(function(){return t.updateFormModel()}))("onAdd",(function(){return t.updateFormModel()})),r["ɵɵtext"](3,"\n                "),r["ɵɵtemplate"](4,B,6,4,"ng-template"),r["ɵɵtext"](5,"\n                "),r["ɵɵtemplate"](6,U,2,5,"tag-input-dropdown",2),r["ɵɵtext"](7,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](8,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngModel",t._chips)("hideForm",t.hideForm)("disable",t.disabled)("validators",t.validators)("asyncValidators",t.asyncValidators)("errorMessages",t.errorMessages)("onAdding",t.onAdding)("addOnBlur",!0)("placeholder",t.placeholder)("secondaryPlaceholder",t.placeholder)("onlyFromAutocomplete",!!t.dropdown)("dragZone",t.dragZone)("animationDuration",r["ɵɵpureFunction0"](15,H))("ripple",!1),r["ɵɵadvance"](5),r["ɵɵproperty"]("ngIf",!!t.dropdown))},directives:[R.m7,a.NgControlStatus,a.NgModel,u.NgIf,u.NgClass,R.zP],styles:["[_nghost-%COMP%]     .ng2-tag-input.enterprise {\n  display: block;\n  flex-direction: row;\n  flex-wrap: wrap;\n  position: relative;\n  cursor: text;\n  border-bottom: 1px solid #74747c;\n  border-radius: 0;\n  border-bottom: solid 2px #ceced3;\n  padding: 0;\n  margin-top: 10px; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise:focus {\n    outline: 0; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise.ng2-tag-input--dropping {\n    opacity: 0.7; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise.ng2-tag-input--loading {\n    border: none; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise.ng2-tag-input--disabled {\n    opacity: 0.5;\n    cursor: not-allowed; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise .ng2-tags-container {\n    flex-wrap: wrap;\n    display: flex; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise.ng2-tag-input--focused {\n    border-color: #909ea5; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise.ng2-tag-input--invalid.ng2-tag-input--focused {\n    border-color: #f44336; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise .ng2-tags-container {\n    align-items: center; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise tag {\n  display: flex;\n  flex-direction: row;\n  flex-wrap: wrap;\n  font-family: \"catamaran\";\n  color: #fff;\n  border-radius: 0;\n  background: transparent;\n  -webkit-user-select: none;\n          user-select: none;\n  overflow: hidden;\n  outline: 0;\n  cursor: pointer;\n  position: relative;\n  height: 34px; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise tag:not(.readonly):not(.tag--editing):focus {\n    background: transparent; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise tag:not(.readonly):not(.tag--editing):active {\n    background: transparent; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise tag:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover {\n    background: transparent;\n    color: #fff; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise tag.readonly {\n    cursor: default; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise tag.readonly:focus, [_nghost-%COMP%]     .ng2-tag-input.enterprise tag:focus {\n    outline: 0; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise tag.tag--editing {\n    cursor: text; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise .add-tag-field {\n  border: none;\n  text-align: left;\n  font-size: 1.34em;\n  padding: 0 10px;\n  outline-style: none;\n  height: 48px;\n  line-height: 48px;\n  font-family: 'catamaran'; }\n  [_nghost-%COMP%]     .ng2-tag-input.enterprise .add-tag-field::placeholder {\n    color: #74747c; }\n  .tag-brand[_ngcontent-%COMP%] {\n  margin-right: 10px; }\n  .tag-brand[_ngcontent-%COMP%]   i[_ngcontent-%COMP%] {\n    float: right;\n    margin-left: 10px;\n    margin-right: -10px;\n    font-size: 1em; }\n  [_nghost-%COMP%]     .error-messages.enterprise .error-message {\n  font-size: 1.17em;\n  font-family: 'catamaran';\n  color: #f44336; }\n  [_nghost-%COMP%]     .tag-field {\n  width: 100%; }"]}),e})(),G=(()=>{class e{transform(e){let t=Object.keys(e),n=[];return t.forEach((t=>{e[t].formControlName=t,n.push(e[t])})),n}}return e.ɵfac=function(t){return new(t||e)},e.ɵpipe=r["ɵɵdefinePipe"]({name:"bxObjectToArray",type:e,pure:!1}),e})();var $=n(54503);let z=(()=>{class e{transform(e,t){return t&&t.length>0?$(t,e):e}}return e.ɵfac=function(t){return new(t||e)},e.ɵpipe=r["ɵɵdefinePipe"]({name:"bxFilterModel",type:e,pure:!0}),e})();function W(e,t){if(1&e&&r["ɵɵelementContainer"](0,6),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngTemplateOutlet",t.templateStartMap[e.formControlName].templateRef)("ngTemplateOutletContext",t.templateStartMap[e.formControlName].templateContext)}}function q(e,t){if(1&e&&r["ɵɵelementContainer"](0,6),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngTemplateOutlet",t.templateStartMap[e.modelType].templateRef)("ngTemplateOutletContext",t.templateStartMap[e.modelType].templateContext)}}function K(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"span",7),r["ɵɵtext"](3,"\n                            "),r["ɵɵelement"](4,"bx-form-group",8),r["ɵɵtext"](5,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                    "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵclassMap"](e.layoutClass),r["ɵɵproperty"]("formGroup",t.controlGroup)("formGroupName",e.formControlName),r["ɵɵadvance"](2),r["ɵɵproperty"]("model",e)("controlGroup",t.controlGroup.controls[e.formControlName])("templateStartMap",t.templateStartMap)("templateEndMap",t.templateEndMap)}}function X(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"span",9),r["ɵɵtext"](3,"\n                            "),r["ɵɵelement"](4,"bx-form-group",8),r["ɵɵtext"](5,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                    "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵclassMap"](e.layoutClass),r["ɵɵproperty"]("formGroup",t.controlGroup)("formArrayName",e.formControlName),r["ɵɵadvance"](2),r["ɵɵproperty"]("model",e)("controlGroup",t.controlGroup.controls[e.formControlName])("templateStartMap",t.templateStartMap)("templateEndMap",t.templateEndMap)}}function Y(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"fieldset"),r["ɵɵtext"](3,"\n                            "),r["ɵɵelementStart"](4,"legend",10),r["ɵɵtext"](5),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                            "),r["ɵɵelement"](7,"bx-form-group",8),r["ɵɵtext"](8,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](9,"\n                    "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵclassMap"](e.layoutClass),r["ɵɵadvance"](2),r["ɵɵclassMap"](e.legendClass),r["ɵɵadvance"](1),r["ɵɵtextInterpolate"](e.legend),r["ɵɵadvance"](2),r["ɵɵproperty"]("model",e)("controlGroup",t.controlGroup)("templateStartMap",t.templateStartMap)("templateEndMap",t.templateEndMap)}}const J=function(e,t){return{formGroup:e,arguments:t}};function Q(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"bx-dynamic-loader-component",11),r["ɵɵtext"](3,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](4,"\n                    "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵproperty"]("component",e.component)("context",r["ɵɵpureFunction2"](2,J,t.controlGroup,e.arguments))}}function Z(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n\n                        "),r["ɵɵelementStart"](2,"bx-input-field-container",12),r["ɵɵtext"](3,"\n                                "),r["ɵɵelementStart"](4,"input",13),r["ɵɵlistener"]("keypress",(function(t){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().$implicit.keypress(t)}))("keyup",(function(t){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().$implicit.keyup(t)}))("change",(function(t){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().$implicit.change(t)})),r["ɵɵelementEnd"](),r["ɵɵtext"](5,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n\n                    "),r["ɵɵelementContainerEnd"]()}if(2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵproperty"]("forLabelTag",e.id)("label",e.label)("required",t.isRequired(e))("state",t.controlGroup.get(e.formControlName).touched?t.controlGroup.get(e.formControlName).errors?"invalid":"valid":"")("errorMessage",t.controlGroup.get(e.formControlName).errors&&t.controlGroup.get(e.formControlName).touched?e.errorMessages[t.getErrorCode(t.controlGroup.get(e.formControlName))]:"")("styles",e.layoutClass+t.inputIconStatusClass())("rulesChecker",e.rulesChecker)("errorList",t.controlGroup.get(e.formControlName).errors)("errorVars",t.getErrorVars(t.controlGroup.get(e.formControlName).errors))("info",e.info)("hint",e.hint)("tapHint",e.tapHint),r["ɵɵadvance"](2),r["ɵɵproperty"]("currencyCode",e.currencyCode)("visualType",e.type)("textMask",e.mask)("focused",e.focused)("formControlName",e.formControlName)("controlGroup",t.controlGroup)("validators",e.validators)("min",e.min)("max",e.max)("value",e.value)("bxOnlyNumber",e.onlyNumber)("bxTooltip",null==e.tooltip?null:e.tooltip.bxTooltip)("condition",null==e.tooltip?null:e.tooltip.condition)("placement",null==e.tooltip?null:e.tooltip.placement)("absolute",null==e.tooltip?null:e.tooltip.absolute)("popover",null==e.tooltip?null:e.tooltip.popover)("bxTypeAhead",e.typeAhead),r["ɵɵattribute"]("id",e.id)("maxLength",null==e.validators?null:e.validators.maxLength)("readonly",e.readonly?"":null)}}const ee=function(e){return{tag:"textContent",label:e}};function te(e,t){if(1&e&&(r["ɵɵelementStart"](0,"p",17),r["ɵɵtext"](1,"\n                                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2).$implicit,t=r["ɵɵnextContext"]();r["ɵɵproperty"]("bxTranslate",r["ɵɵpureFunction1"](1,ee,e.errorMessages[t.getErrorCode(t.controlGroup.get(e.formControlName))]))}}function ne(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"div"),r["ɵɵtext"](3,"\n                            "),r["ɵɵelement"](4,"bx-toggle",14),r["ɵɵtext"](5,"\n\n                            "),r["ɵɵelementStart"](6,"span",15),r["ɵɵtext"](7,"\n                                "),r["ɵɵtemplate"](8,te,2,3,"p",16),r["ɵɵtext"](9,"\n                            "),r["ɵɵelementEnd"](),r["ɵɵtext"](10,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](11,"\n                    "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵclassMap"](e.layoutClass),r["ɵɵadvance"](2),r["ɵɵproperty"]("id",e.id)("label",e.label)("status",!!e.value)("readonly",e.readonly)("disabled",e.disabled)("formControlName",e.formControlName),r["ɵɵadvance"](4),r["ɵɵproperty"]("ngIf",t.controlGroup.get(e.formControlName).errors)}}function ie(e,t){if(1&e&&(r["ɵɵelementStart"](0,"p",17),r["ɵɵtext"](1,"\n                            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2).$implicit,t=r["ɵɵnextContext"]();r["ɵɵproperty"]("bxTranslate",r["ɵɵpureFunction1"](1,ee,e.errorMessages[t.getErrorCode(t.controlGroup.get(e.formControlName))]))}}const re=function(e){return{"invalid-field":e}},oe=function(e,t){return{tag:"textContent",label:e,values:t}};function ae(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"div",18),r["ɵɵtext"](3,"\n                            "),r["ɵɵelementStart"](4,"input",19),r["ɵɵlistener"]("click",(function(){r["ɵɵrestoreView"](e);const t=r["ɵɵnextContext"]().$implicit;return r["ɵɵnextContext"]().filterReadonly(t)})),r["ɵɵelementEnd"](),r["ɵɵtext"](5,"\n                            "),r["ɵɵelementStart"](6,"label",20),r["ɵɵtext"](7,"\n                            "),r["ɵɵelementEnd"](),r["ɵɵtext"](8,"\n                            "),r["ɵɵtemplate"](9,ie,2,3,"p",16),r["ɵɵtext"](10,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](11,"\n                    "),r["ɵɵelementContainerEnd"]()}if(2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵclassMapInterpolate1"]("custom-checkbox native-toggle ",e.layoutClass,""),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction1"](13,re,t.controlGroup.get(e.formControlName).touched&&t.controlGroup.get(e.formControlName).errors)),r["ɵɵadvance"](2),r["ɵɵproperty"]("id",e.id)("value",e.value)("checked",!!e.checked)("formControlName",e.formControlName),r["ɵɵattribute"]("disabled",e.disabled?"":null)("readonly",e.readonly?"":null),r["ɵɵadvance"](2),r["ɵɵproperty"]("bxTranslate",r["ɵɵpureFunction2"](15,oe,e.label,e.labelValues))("for",e.id),r["ɵɵadvance"](3),r["ɵɵproperty"]("ngIf",t.controlGroup.get(e.formControlName).errors)}}function se(e,t){if(1&e&&(r["ɵɵelementStart"](0,"p",17),r["ɵɵtext"](1,"\n                                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](3).$implicit,t=r["ɵɵnextContext"]();r["ɵɵproperty"]("bxTranslate",r["ɵɵpureFunction1"](1,ee,e.errorMessages[t.getErrorCode(t.controlGroup.get(e.formControlName))]))}}function ce(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",18),r["ɵɵtext"](1,"\n                            "),r["ɵɵelement"](2,"input",23),r["ɵɵtext"](3,"\n                            "),r["ɵɵelementStart"](4,"label",20),r["ɵɵtext"](5),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                            "),r["ɵɵelementStart"](7,"span",15),r["ɵɵtext"](8,"\n                                "),r["ɵɵtemplate"](9,se,2,3,"p",16),r["ɵɵtext"](10,"\n                            "),r["ɵɵelementEnd"](),r["ɵɵtext"](11,"\n                        "),r["ɵɵelementEnd"]()),2&e){const e=t.$implicit,n=r["ɵɵnextContext"](2).$implicit,i=r["ɵɵnextContext"]();r["ɵɵclassMapInterpolate1"]("custom-radio native-toggle ",n.layoutClass,""),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction1"](12,re,i.controlGroup.get(n.formControlName).touched&&i.controlGroup.get(n.formControlName).errors)),r["ɵɵadvance"](2),r["ɵɵproperty"]("id",n.id+"_"+e.value)("value",e.value)("name",n.name)("formControlName",n.formControlName),r["ɵɵattribute"]("disabled",n.disabled||n.readonly&&i.controlGroup.get(n.formControlName).value!=e.value?"":null),r["ɵɵadvance"](2),r["ɵɵproperty"]("for",n.id+"_"+e.value),r["ɵɵadvance"](1),r["ɵɵtextInterpolate"](e.text),r["ɵɵadvance"](4),r["ɵɵproperty"]("ngIf",i.controlGroup.get(n.formControlName).errors)}}function le(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelement"](2,"label",21),r["ɵɵtext"](3,"\n                        "),r["ɵɵtemplate"](4,ce,12,14,"div",22),r["ɵɵtext"](5,"\n                    "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵproperty"]("bxRequiredField",e.label)("mandatory",t.isRequired(e)),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngForOf",e.options)}}function de(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"div"),r["ɵɵtext"](3,"\n\n                         "),r["ɵɵelementStart"](4,"bx-dropdown",24),r["ɵɵtext"](5,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](7,"\n                    "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵclassMap"](e.layoutClass),r["ɵɵadvance"](2),r["ɵɵproperty"]("formControlName",e.formControlName)("id",e.id)("type",e.dropdownType)("options",e.options)("displayProperty",e.displayProperty)("valueProperty",e.valueProperty)("iconClassProperty",e.iconClassProperty)("selectedValue",e.value)("label",e.label)("labelValues",e.labelValues)("legend",e.legend)("required",t.isRequired(e))("typeahead",e.typeahead)("readonly",e.readonly)("optionFilterSubject$",e.optionFilterSubject$)("disabled",t.controlGroup.get(e.formControlName).disabled)("state",t.controlGroup.get(e.formControlName).touched?t.controlGroup.get(e.formControlName).errors?"error":"valid":"")("errorMessage",t.controlGroup.get(e.formControlName).errors?e.errorMessages[t.getErrorCode(t.controlGroup.get(e.formControlName))]:"")}}function ue(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"div"),r["ɵɵtext"](3,"\n                            "),r["ɵɵelementStart"](4,"bx-textarea",25),r["ɵɵtext"](5,"\n                            "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](7,"\n                    "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵclassMap"](e.layoutClass),r["ɵɵadvance"](2),r["ɵɵproperty"]("bxId",e.id)("formControlName",e.formControlName)("label",e.label)("required",t.isRequired(e))("value",e.value)("readonly",e.readonly)("maxLength",null==e.validators?null:e.validators.maxLength)("disabled",t.controlGroup.get(e.formControlName).disabled)("state",t.controlGroup.get(e.formControlName).touched?t.controlGroup.get(e.formControlName).errors?"error":"valid":"")("errorMessage",t.controlGroup.get(e.formControlName).errors?e.errorMessages[t.getErrorCode(t.controlGroup.get(e.formControlName))]:"")}}function pe(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"div"),r["ɵɵtext"](3,"\n                            "),r["ɵɵelementStart"](4,"button",26),r["ɵɵlistener"]("click",(function(){r["ɵɵrestoreView"](e);const t=r["ɵɵnextContext"]().$implicit;return t.clickHandler(t.id)})),r["ɵɵtext"](5),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](7,"\n\n                    "),r["ɵɵelementContainerEnd"]()}if(2&e){const e=r["ɵɵnextContext"]().$implicit;r["ɵɵadvance"](2),r["ɵɵclassMap"](e.layoutClass),r["ɵɵadvance"](2),r["ɵɵclassMapInterpolate1"]("custom-cta ",e.buttonClass,""),r["ɵɵproperty"]("id",e.id),r["ɵɵadvance"](1),r["ɵɵtextInterpolate"](e.label)}}function he(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"div"),r["ɵɵtext"](3,"\n                            "),r["ɵɵelementStart"](4,"bx-pin-code",27),r["ɵɵtext"](5,"\n                            "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](7,"\n                    "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵclassMap"](e.layoutClass),r["ɵɵadvance"](2),r["ɵɵproperty"]("bxId",e.id)("formControlName",e.formControlName)("disabled",t.controlGroup.get(e.formControlName).disabled)("readonly",e.readonly)("errorMessage",t.controlGroup.get(e.formControlName).errors&&t.controlGroup.get(e.formControlName).touched?e.errorMessages[t.getErrorCode(t.controlGroup.get(e.formControlName))]:"")}}function me(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"div"),r["ɵɵtext"](3,"\n                            "),r["ɵɵelementStart"](4,"bx-multi-select",28),r["ɵɵtext"](5,"\n                            "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](7,"\n                    "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵclassMap"](e.layoutClass),r["ɵɵadvance"](2),r["ɵɵproperty"]("bxId",e.id)("formControlName",e.formControlName)("options",e.options)("config",t.processMultiSelectConfig(e))("state",t.controlGroup.get(e.formControlName).touched?t.controlGroup.get(e.formControlName).errors?"error":"valid":"")("errorMessage",t.controlGroup.get(e.formControlName).errors?e.errorMessages[t.getErrorCode(t.controlGroup.get(e.formControlName))]:"")}}function fe(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"div"),r["ɵɵtext"](3,"\n                            "),r["ɵɵelementStart"](4,"bx-multi-group-select",28),r["ɵɵtext"](5,"\n                            "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](7,"\n                    "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵclassMap"](e.layoutClass),r["ɵɵadvance"](2),r["ɵɵproperty"]("bxId",e.id)("formControlName",e.formControlName)("options",e.options)("config",e.config)("state",t.controlGroup.get(e.formControlName).touched?t.controlGroup.get(e.formControlName).errors?"error":"valid":"")("errorMessage",t.controlGroup.get(e.formControlName).errors?e.errorMessages[t.getErrorCode(t.controlGroup.get(e.formControlName))]:"")}}function ge(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"div"),r["ɵɵtext"](3,"\n                            "),r["ɵɵelementStart"](4,"bx-chips",29),r["ɵɵlistener"]("onAdding",(function(){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().$implicit.onAdding})),r["ɵɵtext"](5,"\n                            "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](7,"\n                    "),r["ɵɵelementContainerEnd"]()}if(2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵclassMap"](e.layoutClass),r["ɵɵadvance"](2),r["ɵɵproperty"]("formControlName",e.formControlName)("placeholder",e.label)("dropdown",e.dropdown)("autoCompleteItems",e.autoCompleteItems)("validators",t.getValidatorsArray(e.validators))("asyncValidators",t.getValidatorsArray(e.asyncValidators))("errorMessages",e.errorMessages)("dragZone",e.dragZone)}}function ve(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                        "),r["ɵɵelementStart"](2,"h2",30),r["ɵɵtext"](3),r["ɵɵelementEnd"](),r["ɵɵtext"](4,"\n                    "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]().$implicit;r["ɵɵadvance"](2),r["ɵɵproperty"]("bxTranslate",r["ɵɵpureFunction1"](2,ee,(e.labelPrefix||"profileFields.group.")+e.label+".label")),r["ɵɵadvance"](1),r["ɵɵtextInterpolate1"]("\n                            ",e.label,"\n                        ")}}function be(e,t){if(1&e&&r["ɵɵelementContainer"](0,6),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngTemplateOutlet",t.templateEndMap[e.formControlName].templateRef)("ngTemplateOutletContext",t.templateEndMap[e.formControlName].templateContext)}}function ye(e,t){if(1&e&&r["ɵɵelementContainer"](0,6),2&e){const e=r["ɵɵnextContext"]().$implicit,t=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngTemplateOutlet",t.templateEndMap[e.modelType].templateRef)("ngTemplateOutletContext",t.templateEndMap[e.modelType].templateContext)}}function Se(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n\n                "),r["ɵɵtemplate"](2,W,1,2,"ng-container",3),r["ɵɵtext"](3,"\n\n                "),r["ɵɵtemplate"](4,q,1,2,"ng-container",3),r["ɵɵtext"](5,"\n\n                "),r["ɵɵelementContainerStart"](6,4),r["ɵɵtext"](7,"\n                    "),r["ɵɵtemplate"](8,K,7,8,"ng-container",5),r["ɵɵtext"](9,"\n\n                    "),r["ɵɵtemplate"](10,X,7,8,"ng-container",5),r["ɵɵtext"](11,"\n\n                    "),r["ɵɵtemplate"](12,Y,10,9,"ng-container",5),r["ɵɵtext"](13,"\n\n                    "),r["ɵɵtemplate"](14,Q,5,5,"ng-container",5),r["ɵɵtext"](15,"\n\n                    "),r["ɵɵtemplate"](16,Z,7,32,"ng-container",5),r["ɵɵtext"](17,"\n\n                    "),r["ɵɵtemplate"](18,ne,12,10,"ng-container",5),r["ɵɵtext"](19,"\n\n                    "),r["ɵɵtemplate"](20,ae,12,18,"ng-container",5),r["ɵɵtext"](21,"\n\n                    "),r["ɵɵtemplate"](22,le,6,3,"ng-container",5),r["ɵɵtext"](23,"\n\n                    "),r["ɵɵtemplate"](24,de,8,21,"ng-container",5),r["ɵɵtext"](25,"\n\n                    "),r["ɵɵtemplate"](26,ue,8,13,"ng-container",5),r["ɵɵtext"](27,"\n\n                    "),r["ɵɵtemplate"](28,pe,8,8,"ng-container",5),r["ɵɵtext"](29,"\n\n                    "),r["ɵɵtemplate"](30,he,8,8,"ng-container",5),r["ɵɵtext"](31,"\n\n                    "),r["ɵɵtemplate"](32,me,8,9,"ng-container",5),r["ɵɵtext"](33,"\n\n                    "),r["ɵɵtemplate"](34,fe,8,9,"ng-container",5),r["ɵɵtext"](35,"\n\n                    "),r["ɵɵtemplate"](36,ge,8,11,"ng-container",5),r["ɵɵtext"](37,"\n\n                    "),r["ɵɵtemplate"](38,ve,5,4,"ng-container",5),r["ɵɵtext"](39,"\n\n                "),r["ɵɵelementContainerEnd"](),r["ɵɵtext"](40,"\n\n                "),r["ɵɵtemplate"](41,be,1,2,"ng-container",3),r["ɵɵtext"](42,"\n\n                "),r["ɵɵtemplate"](43,ye,1,2,"ng-container",3),r["ɵɵtext"](44,"\n\n            "),r["ɵɵelementContainerEnd"]()),2&e){const e=t.$implicit,n=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",n.templateStartMap[e.formControlName]),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",n.templateStartMap[e.modelType]),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitch",e.modelType),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","formgroup"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","formarray"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","fieldset"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","component"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","input"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","toggle"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","checkbox"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","radiogroup"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","dropdown"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","textarea"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","button"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","pincode"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","multi-select"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","multi-group-select"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","chips"),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngSwitchCase","header"),r["ɵɵadvance"](3),r["ɵɵproperty"]("ngIf",n.templateEndMap[e.formControlName]),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",n.templateEndMap[e.modelType])}}function Ce(e,t){if(1&e&&(r["ɵɵelementStart"](0,"p",17),r["ɵɵtext"](1,"\n                    "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2);r["ɵɵproperty"]("bxTranslate",r["ɵɵpureFunction1"](1,ee,e.model.errorMessages[e.getErrorCode(e.controlGroup)]))}}function xe(e,t){if(1&e&&(r["ɵɵelementContainerStart"](0),r["ɵɵtext"](1,"\n                "),r["ɵɵelementStart"](2,"span",15),r["ɵɵtext"](3,"\n                    "),r["ɵɵtemplate"](4,Ce,2,3,"p",16),r["ɵɵtext"](5,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n            "),r["ɵɵelementContainerEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵadvance"](4),r["ɵɵproperty"]("ngIf",e.controlGroup.errors)}}let Ie=(()=>{class e{constructor(e,t){this.validatorsService=e,this.siteConfigService=t,this.templateStartMap={},this.templateEndMap={}}ngOnInit(){if(!this.model||!this.controlGroup)throw new Error("no [model] or [formGroup] property binding defined for FormGroupLightComponent");this.model.disabled&&this.controlGroup.disable()}filterReadonly(e){if(e.readonly)return!1}ngAfterViewInit(){setTimeout((()=>{this.templates.forEach((e=>{e.align===s.eC?this.templateStartMap[e.modelSelector]=e:this.templateEndMap[e.modelSelector]=e}))}))}allTouched(e){return 0===Object.keys(e.controls).filter((t=>e.controls[t].untouched)).length}getErrorCode(e){let t=Object.keys(e.errors)[0];return this.workaroundAngularLowerCaseErrorCodes(t)}getErrorVars(e){if(e){let t=Object.keys(e)[0];return this.model.errorValues[t]}}isRequired(e){return!!e&&e instanceof o.L&&!!e.validators&&e.validators.hasOwnProperty("required")}processMultiSelectConfig(e){return c("required",this.isRequired(e),e.config)}getValidatorsArray(e){return this.validatorsService.getValidators(e)}workaroundAngularLowerCaseErrorCodes(e){return"minlength"!==e&&"maxlength"!==e||(e=e.replace("length","Length")),e}inputIconStatusClass(){return this.siteConfigService&&this.siteConfigService.evalFeature(l.A.inputIconStatusEnabled)?" icon-status":""}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](i.S),r["ɵɵdirectiveInject"](d.r,8))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-form-group"]],contentQueries:function(e,t,n){if(1&e&&r["ɵɵcontentQuery"](n,s.Rn,4),2&e){let e;r["ɵɵqueryRefresh"](e=r["ɵɵloadQuery"]())&&(t.templates=e)}},inputs:{model:"model",controlGroup:"controlGroup",filterElements:"filterElements",templateStartMap:"templateStartMap",templateEndMap:"templateEndMap"},decls:10,vars:8,consts:[[3,"formGroup"],[4,"ngFor","ngForOf"],[4,"ngIf"],[3,"ngTemplateOutlet","ngTemplateOutletContext",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"formGroup","formGroupName"],[3,"model","controlGroup","templateStartMap","templateEndMap"],[3,"formGroup","formArrayName"],[3,"bxTranslate"],[3,"component","context"],[3,"forLabelTag","label","required","state","errorMessage","styles","rulesChecker","errorList","errorVars","info","hint","tapHint"],["bxInput","","bxMonetaryAmount","","bxTelMasked","",3,"currencyCode","visualType","textMask","focused","formControlName","controlGroup","validators","min","max","value","bxOnlyNumber","bxTooltip","condition","placement","absolute","popover","bxTypeAhead","keypress","keyup","change"],[3,"id","label","status","readonly","disabled","formControlName"],[1,"invalid-field"],["class","error-msg",3,"bxTranslate",4,"ngIf"],[1,"error-msg",3,"bxTranslate"],[3,"ngClass"],["type","checkbox","role","checkbox",3,"id","value","checked","formControlName","click"],[3,"bxTranslate","for"],[3,"bxRequiredField","mandatory"],[3,"class","ngClass",4,"ngFor","ngForOf"],["type","radio","role","radio",3,"id","value","name","formControlName"],[3,"formControlName","id","type","options","displayProperty","valueProperty","iconClassProperty","selectedValue","label","labelValues","legend","required","typeahead","readonly","optionFilterSubject$","disabled","state","errorMessage"],[3,"bxId","formControlName","label","required","value","readonly","maxLength","disabled","state","errorMessage"],["type","button",3,"id","bxTranslate","click"],[3,"bxId","formControlName","disabled","readonly","errorMessage"],[3,"bxId","formControlName","options","config","state","errorMessage"],[3,"formControlName","placeholder","dropdown","autoCompleteItems","validators","asyncValidators","errorMessages","dragZone","onAdding"],[1,"h2-heading",3,"bxTranslate"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n\n        "),r["ɵɵelementStart"](1,"div",0),r["ɵɵtext"](2,"\n            "),r["ɵɵtemplate"](3,Se,45,21,"ng-container",1),r["ɵɵpipe"](4,"bxObjectToArray"),r["ɵɵpipe"](5,"bxFilterModel"),r["ɵɵtext"](6,"\n            "),r["ɵɵtemplate"](7,xe,7,1,"ng-container",2),r["ɵɵtext"](8,"\n\n\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](9,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("formGroup",t.controlGroup),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngForOf",r["ɵɵpipeBind1"](4,3,r["ɵɵpipeBind2"](5,5,t.model.elements,t.filterElements))),r["ɵɵadvance"](4),r["ɵɵproperty"]("ngIf","formgroup"==t.model.modelType&&t.allTouched(t.controlGroup)))},directives:[a.NgControlStatusGroup,a.FormGroupDirective,u.NgForOf,u.NgIf,u.NgSwitch,u.NgSwitchCase,u.NgTemplateOutlet,a.FormGroupName,e,a.FormArrayName,p.P,h.W,m.m,f.u,y,x,a.DefaultValueAccessor,w,E.hd,a.NgControlStatus,a.FormControlName,T.p,P.i,A.n,u.NgClass,a.CheckboxControlValueAccessor,_.w,a.RadioControlValueAccessor,M.J,a.RequiredValidator,D,L.b,V],pipes:[G,z],encapsulation:2}),e})()},8807:(e,t,n)=>{"use strict";n.d(t,{E:()=>g});var i=n(57826),r=n(12644),o=n(40475),a=n(6856),s=n(5608),c=n(88856),l=n(68698),d=n(82009),u=n(38129),p=n(84704),h=n(8566),m=n(69575),f=n(68574);let g=(()=>{class e{static withComponents(t){return{ngModule:e,providers:[{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,useValue:t,multi:!0}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[r.q,o.FormsModule,o.ReactiveFormsModule,p.a,a.CommonModule,l.T,c.QA,d.D,h.B,s.a,u.z,f.G,m.d],o.FormsModule,o.ReactiveFormsModule,a.CommonModule]}),e})()},84245:(e,t,n)=>{"use strict";n.d(t,{o:()=>u});var i=n(40475),r=n(80279),o=n(93144),a=n(16736);class s extends a.j{constructor(e){super(e),this.modelType="formarray",this.createElementFn=e.createElementFn,this.initialCount=e.initialCount||1,this.elements=e.elements||[]}}var c=n(10323),l=n(33225),d=n(57826);let u=(()=>{class e{constructor(e,t){this.fb=e,this.validatorService=t}createFormControl(e){return e instanceof r.L?this.createFormField(e):e instanceof o.f?this.createFormGroup(e):e instanceof s?this.createFormArray(e):e instanceof c.R?this.createFieldset(e):void 0}createFormField(e){const t=e.skipValidatorsRegistration?[]:this.validatorService.getValidators(e.validators),n=e.skipValidatorsRegistration?[]:this.validatorService.getValidators(e.asyncValidators);return this.fb.control({value:e.value,disabled:e.disabled},{validators:t,asyncValidators:n,updateOn:e.updateOn})}createFormGroup(e){let t={};for(let n in e.elements){let r=this.createFormControl(e.elements[n]);r instanceof i.AbstractControl?t[n]=r:t=Object.assign(t,r)}return this.fb.group(t,{validator:this.validatorService.getGroupValidator(e.validator),asyncValidator:this.validatorService.getGroupValidator(e.asyncValidator)})}createFieldset(e){let t={};for(let n in e.elements){let r=this.createFormControl(e.elements[n]);r instanceof i.AbstractControl?t[n]=r:t=Object.assign(t,r)}return t}createFormArray(e){let t=[];return Array.from(Array(e.initialCount).keys()).forEach((n=>{let r=e.createElementFn(n);e.elements.push(r);let o=this.createFormControl(r);if(!(o instanceof i.AbstractControl))throw new Error("Root elements for array should be a group or single control");t.push(o)})),this.fb.array(t)}addToArray(e,t){let n=t.createElementFn(e.length),r=this.createFormControl(n);if(!(r instanceof i.AbstractControl))throw new Error("Root elements for array should be a group or single control");e.push(r),t.elements.push(n)}removeFromArray(e,t,n){"number"==typeof n&&(t.elements.splice(n,1),e.removeAt(n))}addToRootGroup(e,t,n,i){this._addToGroup(e,t,n,i)}addToGroup(e,t,n,i,r){let o=e.get(n),a=this.findInModel(n,t);this._addToGroup(o,a,i,r)}addToGroupPath(e,t,n,i,r,o){let a=n?e.get(n):e,s=this.findInModel(i,t);this._addToGroup(a,s,r,o)}removeFromGroupPath(e,t,n,i,r){let o=n?e.get(n):e;delete this.findInModel(i,t).elements[r],o.removeControl(r)}_addToGroup(e,t,n,r){t.elements[r]=n;let o=this.createFormControl(n);if(e.removeControl(r),o instanceof i.AbstractControl)e.addControl(r,o);else for(let t in o)e.addControl(t,o[t])}findInModel(e,t){let n=e.indexOf(".");if(-1===n)return t.elements[e];{let i=e.substring(0,n),r=t.elements[i];return this.findInModel(e.substring(n+1,e.length),r)}}formDataTrim(e){Object.keys(e).forEach((t=>{let n=e[t];n&&"string"==typeof n?e[t]=e[t].trim():n&&"object"==typeof n&&this.formDataTrim(n)}))}}return e.ɵfac=function(t){return new(t||e)(d["ɵɵinject"](i.FormBuilder),d["ɵɵinject"](l.S))},e.ɵprov=d["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},97241:(e,t,n)=>{"use strict";n.d(t,{o:()=>r});var i=n(57826);class r{transform(e,t){let n=this.generateKeys(e,t);return"profileUpdateAccount"!==n.id?n:this.hideLegend(n)}generateKeys(e,t){switch(e.modelType){case"formgroup":return this.processGroup(e,t);case"formarray":return this.processArray(e,t);case"fieldset":return this.processFieldset(e,t);default:return this.processField(e,t)}}processGroup(e,t){Object.keys(e.elements).forEach((n=>e.elements[n]=this.generateKeys(e.elements[n],`${t}.${n}`)));let n=Object.assign({},e.validator,e.asyncValidator);return e=this.processValidatorsMsgs(e,n,t)}processArray(e,t){return e.elements=e.elements.map((e=>this.generateKeys(e,t))),e}processFieldset(e,t){return Object.keys(e.elements).forEach((n=>e.elements[n]=this.generateKeys(e.elements[n],`${t}.${n}`))),Object.keys(e).forEach((n=>{!this.isMessagePresent(e[n])&&this.isTranslatableProperty(n)&&(e[n]=`${t}.${n}`)})),e}processField(e,t){Object.keys(e).forEach((n=>{!this.isMessagePresent(e[n])&&this.isTranslatableProperty(n)&&(e[n]=`${t}.${n}`)}));let n=Object.assign({},e.validators,e.asyncValidators);return this.processValidatorsMsgs(e,n,t)}isTranslatableProperty(e){return r.translatable.has(e)}processValidatorsMsgs(e,t,n){return Object.keys(t).forEach((t=>{this.isMessagePresent(e.errorMessages[t])||(e.errorMessages[t]=`${n}.error_${t}`)})),e}isMessagePresent(e){return null!=e}hideLegend(e){if(e.elements&&e.elements.general){const t=/^title:([A-Za-z]+$)/;return Object.keys(e.elements.general.elements).filter((e=>t.test(e))).forEach((n=>{const i=n.match(t)[1];e.elements.general.elements[i]&&(e.elements.general.elements[i].legend="")})),e}return e}}r.translatable=new Set(["label","placeholder","legend"]),r.ɵfac=function(e){return new(e||r)},r.ɵpipe=i["ɵɵdefinePipe"]({name:"bxTranslationKeys",type:r,pure:!0})},33225:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var i=n(40475),r=n(30346),o=n(57826);let a=(()=>{class e{constructor(e,t){this.BX_VALIDATORS=e,this.BX_ASYNC_VALIDATORS=t}getValidators(e){return e?Object.keys(e).map((t=>this.getValidatorFn(t,e[t]))):[]}getGroupValidator(e){if("function"==typeof e)return e;if("object"==typeof e){if(Object.keys(e).length>1){let t=[];return Object.keys(e).forEach((n=>{t=t.concat(this.getValidatorFn(n,e[n]))})),t}let t=Object.keys(e)[0];return this.getValidatorFn(t,e[t])}return null}getValidatorFn(e,t){let n=i.Validators[e];if(n)return t?n(t):n;if("function"==typeof t)return t;if(this.BX_VALIDATORS&&(n=this.BX_VALIDATORS.find((t=>e===t.name)),n))return this.applyValidatorFnArgs(n.validator,t);if(this.BX_ASYNC_VALIDATORS&&(n=this.BX_ASYNC_VALIDATORS.find((t=>e===t.name)),n))return this.applyValidatorFnArgs(n.validator,t);throw new Error(`validator ${e} with ${t} is invalid`)}applyValidatorFnArgs(e,t){if(!t||t instanceof Array||(t=[t]),e)return t?e.apply(void 0,t):e}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](r.C,8),o["ɵɵinject"](r.R,8))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},81207:(e,t,n)=>{"use strict";n.d(t,{Rn:()=>o,eC:()=>r});var i=n(57826);const r="START";let o=(()=>{class e{constructor(e){this.templateRef=e,this.align="END"}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.TemplateRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["ng-template","modelSelector",""]],inputs:{align:"align",modelSelector:"modelSelector",templateContext:"templateContext"}}),e})()},66166:(e,t,n)=>{"use strict";n.d(t,{H:()=>r});var i=n(80279);class r extends i.L{constructor(e){super(e),this.modelType="checkbox",this.checked=e.checked||!1,this.notTranslatedLabel=e.notTranslatedLabel}}},36476:(e,t,n)=>{"use strict";n.d(t,{k:()=>r});var i=n(80279);class r extends i.L{constructor(e){super(e),this.modelType="dropdown",this.dropdownType=e.dropdownType||"normal",this.options=e.options,this.displayProperty=e.displayProperty,this.valueProperty=e.valueProperty,this.iconClassProperty=e.iconClassProperty,this.typeahead=e.typeahead||!1,this.optionFilterSubject$=e.optionFilterSubject$||null,this.parentName=e.parentName||null}}},10323:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});var i=n(16736);class r extends i.j{constructor(e){super(e),this.modelType="fieldset",this.legend=e.legend,this.legendClass=e.legendClass||"",this.elements=e.elements}}},80279:(e,t,n)=>{"use strict";n.d(t,{L:()=>r});var i=n(16736);class r extends i.j{constructor(e){super(e),this.label=e.label,this.value=e.value||"",this.labelValues=e.labelValues,this.legend=e.legend||"",this.disabled=e.disabled||!1,this.readonly=e.readonly||!1,this.validators=e.validators||{},this.asyncValidators=e.asyncValidators||{},this.updateOn=e.updateOn}}},93144:(e,t,n)=>{"use strict";n.d(t,{f:()=>r});var i=n(16736);class r extends i.j{constructor(e){super(e),this.modelType="formgroup",this.elements=e.elements,this.validator=e.validator,this.asyncValidator=e.asyncValidator,this.disabled=e.disabled}}},82319:(e,t,n)=>{"use strict";n.d(t,{b:()=>o});var i=n(80279);const r=()=>{};class o extends i.L{constructor(e){super(e),this.modelType="input",this.type=e.type||"text",this.includeThousandsSeparator=e.includeThousandsSeparator||!1,this.focused=e.focused||!1,this.min=e.min||0===e.min?e.min:null,this.max=e.max||0===e.max?e.max:null,this.hint=e.hint||null,this.mask=e.mask||{mask:!1},this.onlyNumber=!!e.onlyNumber,this.rulesChecker=e.rulesChecker||[],this.currencyCode=e.currencyCode,this.typeAhead=e.typeAhead,e.tooltip&&(this.tooltip={bxTooltip:e.tooltip.bxTooltip,popover:e.tooltip.popover||!1,absolute:e.tooltip.absolute||!1,condition:e.tooltip.condition||!0,placement:e.tooltip.placement||"bottom"}),this.keypress=e.keypress||r,this.keyup=e.keyup||r,this.change=e.keyup||r}}},16736:(e,t,n)=>{"use strict";n.d(t,{j:()=>i});class i{constructor(e){this.id=e.id,this.errorMessages=e.errorMessages||{},this.errorValues=e.errorValues||{},this.layoutClass=e.layoutClass||"",this.skipValidatorsRegistration=e.skipValidatorsRegistration||!1}}},81428:(e,t,n)=>{"use strict";n.d(t,{d:()=>r});var i=n(80279);class r extends i.L{constructor(e){super(e),this.modelType="textarea"}}},71835:(e,t,n)=>{"use strict";n.d(t,{l:()=>f});var i=n(93144),r=n(82319),o=n(66166),a=n(36476),s=n(80279);class c extends s.L{constructor(e){super(e),this.modelType="radiogroup",this.name=e.name,this.options=e.options}}var l=n(10323);class d extends s.L{constructor(e){super(e),this.modelType="toggle"}}var u=n(81428);class p extends s.L{constructor(e){super(e),this.modelType="multi-select",this.options=e.options,this.config=e.config}}class h extends s.L{constructor(e){super(e),this.modelType="chips",this.onAdding=e.onAdding,this.dropdown=e.dropdown,this.autocompleteItems=e.autocompleteItems,this.dragZone=e.dragZone}}var m=n(57826);let f=(()=>{class e{parseFromJson(e){if(!e)throw new Error("JSON is empty");return this.parseModel(e)}parseModel(e){switch(e.modelType){case"formgroup":return this.parseGroup(e);case"fieldset":return this.parseFieldSet(e);case"input":return this.parseInput(e);case"dropdown":return this.parseDropdown(e);case"checkbox":return this.parseCheckbox(e);case"radiogroup":return this.parseRadioGroup(e);case"toggle":return this.parseToggle(e);case"textarea":return this.parseTextarea(e);case"multi-select":return this.parseMultiSelect(e);case"chips":return this.parseChips(e);default:throw Error(`Unable to parse from JSON. Type not supported: ${e.modelType}`)}}parseGroup(e){return new i.f({id:e.id,elements:this.parseElements(e.elements),validator:e.validator,asyncValidator:e.asyncValidator,errorMessages:e.errorMessages,layoutClass:e.layoutClass})}parseFieldSet(e){return new l.R({id:e.id,elements:this.parseElements(e.elements),legend:e.legend,legendClass:e.legendClass,errorMessages:e.errorMessages,layoutClass:e.layoutClass})}parseElements(e){let t={};return e&&Object.keys(e).forEach((n=>t[n]=this.parseModel(e[n]))),t}parseInput(e){let t=this.parseFormFieldConfig(e);return t.type=e.type,t.readonly=e.readonly,t.focused=e.focused,t.min=e.min,t.max=e.max,t.hint=e.hint,t.mask=e.mask,t.onlyNumber=e.onlyNumber||void 0,new r.b(t)}parseCheckbox(e){let t=this.parseFormFieldConfig(e);return t.checked=e.checked,new o.H(t)}parseDropdown(e){let t=this.parseFormFieldConfig(e);return t.dropdownType=e.dropdownType,t.options=e.options,t.displayProperty=e.displayProperty,t.valueProperty=e.valueProperty,t.iconClassProperty=e.iconClassProperty,t.typeahead=e.typeahead||void 0,t.optionFilterSubject$=e.optionFilterSubject$||void 0,new a.k(t)}parseRadioGroup(e){let t=this.parseFormFieldConfig(e);return t.name=e.name,t.options=e.options,new c(t)}parseToggle(e){let t=this.parseFormFieldConfig(e);return new d(t)}parseTextarea(e){let t=this.parseFormFieldConfig(e);return new u.d(t)}parseMultiSelect(e){let t=this.parseFormFieldConfig(e);return t.config=e.config,t.options=e.options,new p(t)}parseChips(e){let t=this.parseFormFieldConfig(e);return t.modelType=e.modelType,t.errorMessages=e.errorMessages,t.onAdding=e.onAdding,t.placeholder=e.placeholder,t.dropdown=e.dropdown,t.autoCompleteItems=e.autoCompleteItems,new h(t)}parseFormFieldConfig(e){return{id:e.id,label:e.label,value:e.value,disabled:e.disabled,validators:e.validators,asyncValidators:e.asyncValidators,errorMessages:e.errorMessages,layoutClass:e.layoutClass}}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=m["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},30346:(e,t,n)=>{"use strict";n.d(t,{C:()=>r,R:()=>o});var i=n(57826);const r=new i.InjectionToken("bxValidators"),o=new i.InjectionToken("bxAsyncValidators")},76693:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(41759);let r=(()=>{class e{static validDatetime(t){return t.value?e.resolveMoment(t.value,e.DATETIME_PATTERN).isValid()?null:{validDatetime:!0}:null}static validFormattedDate(t,n){const i=t?e.HTML5_DATE_PATTERN:e.DATE_PATTERN;return t=>e.isValidDate(t.value,n||i)}static isValidDate(t,n){return t?e.resolveMoment(t,n).isValid()?null:{validDate:!0}:null}static validPeriod(t,n){return i=>{let r=e.resolveMoment(i.controls[t].value,e.DATETIME_PATTERN),o=e.resolveMoment(i.controls[n].value,e.DATETIME_PATTERN);return r.isValid()&&o.isValid()&&!r.isBefore(o)?{validPeriod:!0}:null}}static validPeriodISO(e,t){return n=>{let r=(0,i.Z)(n.controls[e].value),o=(0,i.Z)(n.controls[t].value);return r.isValid()&&o.isValid()&&!r.isBefore(o)?{validPeriod:!0}:null}}static formattedAge(t,n,i){const r=n?e.HTML5_DATE_PATTERN:e.DATE_PATTERN;return o=>e.validFormattedDate(n,i)(o)?null:e.isOverAge(o.value,i||r,t)}static isOverAge(e,t,n){if(""===e)return null;let i=new Date(this.unifyDateFormat(e,t));return new Date(i.getFullYear()+n,i.getMonth(),i.getDate())>=new Date?{age:null}:null}static resolveMoment(e,t){return i.Z.utc(e,t,!0)}static unifyDateFormat(e,t){const n=e.split("-");let i;switch(t){case"YYYY-MM-DD":i=e;break;case"MM-DD-YYYY":i=`${n[2]}-${n[0]}-${n[1]}`;break;case"DD-MM-YYYY":i=`${n[2]}-${n[1]}-${n[0]}`}return i}}return e.DATETIME_PATTERN="MM-DD-YYYY HH:mm",e.DATE_PATTERN="MM-DD-YYYY",e.HTML5_DATE_PATTERN="YYYY-MM-DD",e})()},56479:(e,t,n)=>{"use strict";n.d(t,{V:()=>v});var i=n(64762),r=n(69703),o=n(35294),a=n(32711),s=n(91184),c=n(25858),l=n(30063),d=n(57826);class u{constructor(e,t,n,i){this.notificationsStore=e,this.playerUpdatesService=t,this.notificationEnabledService=n,this.appStateStore=i,(0,a.U5)((()=>this.appStateStore.loginState),(e=>{e?(this.notificationReaction(),this.subscribeToMessages()):(this.notificationsDispose(),this.unsubscribeToMessages(),(0,a.z)((()=>{this.unreadMessages=void 0,this.unreadNotifications=void 0})))}),{fireImmediately:!0})}notificationReaction(){this.notificationEnabledService.isNotificationEnabled()?this.notificationDisposer=(0,a.EH)((()=>{if(this.notificationsStore.isDone){let e=this.notificationsStore.notifications.filter((e=>0==e.acknowledged)).length;(0,a.z)((()=>{this.unreadNotifications=e}))}else this.notificationsStore.isError&&(0,a.z)((()=>{this.unreadNotifications=this.unreadNotifications||0}))})):(0,a.z)((()=>{this.unreadNotifications=0}))}subscribeToMessages(){this.messagesSubscription=this.playerUpdatesService.getUpdates().subscribe((e=>{e.hasValue&&e.value.numberOfMessages!=this.unreadMessages?(0,a.z)((()=>{this.unreadMessages=e.value.numberOfMessages})):(0,a.z)((()=>{this.unreadMessages=this.unreadMessages||0}))}))}unsubscribeToMessages(){this.messagesSubscription&&!this.messagesSubscription.closed&&(this.messagesSubscription.unsubscribe(),this.messagesSubscription=void 0)}notificationsDispose(){this.notificationDisposer&&(this.notificationDisposer(),this.notificationDisposer=void 0)}get unreadCommunications(){return void 0===this.unreadMessages||void 0===this.unreadNotifications?void 0:this.unreadMessages+this.unreadNotifications}}u.ɵfac=function(e){return new(e||u)(d["ɵɵinject"](c.p),d["ɵɵinject"](l.J),d["ɵɵinject"](r.j),d["ɵɵinject"](o.X))},u.ɵprov=d["ɵɵdefineInjectable"]({token:u,factory:u.ɵfac,providedIn:"root"}),(0,i.__decorate)([s.LO,(0,i.__metadata)("design:type",Number)],u.prototype,"unreadMessages",void 0),(0,i.__decorate)([s.LO,(0,i.__metadata)("design:type",Number)],u.prototype,"unreadNotifications",void 0),(0,i.__decorate)([s.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],u.prototype,"notificationReaction",null),(0,i.__decorate)([s.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],u.prototype,"subscribeToMessages",null),(0,i.__decorate)([s.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],u.prototype,"unreadCommunications",null);var p=n(6856);let h=(()=>{class e{constructor(){this.MAX_NUMBER_MESSAGES=9}transform(e){return e<=this.MAX_NUMBER_MESSAGES?e.toString():`${this.MAX_NUMBER_MESSAGES}+`}}return e.ɵfac=function(t){return new(t||e)},e.ɵpipe=d["ɵɵdefinePipe"]({name:"bxCommunicationsCounterFormatter",type:e,pure:!0}),e})();function m(e,t){if(1&e&&(d["ɵɵelementStart"](0,"span",3),d["ɵɵtext"](1),d["ɵɵpipe"](2,"bxCommunicationsCounterFormatter"),d["ɵɵelementEnd"]()),2&e){const e=d["ɵɵnextContext"](2);d["ɵɵproperty"]("ngClass",e.backgroundStyle),d["ɵɵadvance"](1),d["ɵɵtextInterpolate"](d["ɵɵpipeBind1"](2,2,e.unreadCommunications))}}function f(e,t){1&e&&d["ɵɵelement"](0,"span",4)}function g(e,t){if(1&e&&(d["ɵɵelementContainerStart"](0),d["ɵɵtext"](1,"\n       "),d["ɵɵtemplate"](2,m,3,4,"span",1),d["ɵɵtext"](3,"\n       "),d["ɵɵtemplate"](4,f,1,0,"span",2),d["ɵɵtext"](5,"\n     "),d["ɵɵelementContainerEnd"]()),2&e){const e=d["ɵɵnextContext"]();d["ɵɵadvance"](2),d["ɵɵproperty"]("ngIf",e.unreadCommunications>0),d["ɵɵadvance"](2),d["ɵɵproperty"]("ngIf",0==e.unreadCommunications)}}let v=(()=>{class e{constructor(e){this.communicationsCounterStore=e,this.unreadCommunications=-1}getUnreadCommunications(){return this.unreadCommunications=this.communicationsCounterStore.unreadCommunications}}return e.ɵfac=function(t){return new(t||e)(d["ɵɵdirectiveInject"](u))},e.ɵcmp=d["ɵɵdefineComponent"]({type:e,selectors:[["bx-communications-counter"]],inputs:{backgroundStyle:"backgroundStyle"},decls:3,vars:1,consts:[[4,"mobxReaction"],["id","communications-counter","class","bubble-badge icon-bubble fixed",3,"ngClass",4,"ngIf"],["id","communications-counter",4,"ngIf"],["id","communications-counter",1,"bubble-badge","icon-bubble","fixed",3,"ngClass"],["id","communications-counter"]],template:function(e,t){1&e&&(d["ɵɵtext"](0,"\n     "),d["ɵɵtemplate"](1,g,6,2,"ng-container",0),d["ɵɵtext"](2,"\n    ")),2&e&&(d["ɵɵadvance"](1),d["ɵɵproperty"]("mobxReaction",t.getUnreadCommunications.bind(t)))},directives:[s.Hn,p.NgIf,p.NgClass],pipes:[h],encapsulation:2,changeDetection:0}),e})()},72855:(e,t,n)=>{"use strict";n.d(t,{k:()=>l});var i=n(6856),r=n(91184),o=n(83521),a=n(56479),s=n(94216),c=n(57826);let l=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=c["ɵɵdefineNgModule"]({type:e,bootstrap:[a.V]}),e.ɵinj=c["ɵɵdefineInjector"]({imports:[[i.CommonModule,r.nA,o.U,s.U]]}),e})()},22101:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},20718:(e,t,n)=>{"use strict";n.d(t,{m:()=>B});var i=n(57826),r=n(73753),o=n(69703),a=n(48083),s=n(57106),c=n(21368),l=n(45965),d=n(84860),u=n(30173),p=n(6856),h=n(65180),m=n(38473),f=n(86014),g=n(55183),v=n(62090),b=n(96940),y=n(45645);let S=(()=>{class e{transform(e){return e.replace(/<\/?[^>]+(>|$)/g,"").trim()}}return e.ɵfac=function(t){return new(t||e)},e.ɵpipe=i["ɵɵdefinePipe"]({name:"bxStripHtmlTags",type:e,pure:!0}),e})();function C(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",3),i["ɵɵtext"](1,"\n                "),i["ɵɵelement"](2,"bx-player-message-detail",4),i["ɵɵtext"](3,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("playerMessage",e.communicationSelected)}}function x(e,t){1&e&&(i["ɵɵtext"](0,"\n                    "),i["ɵɵelementStart"](1,"figure",11),i["ɵɵtext"](2,"\n                        "),i["ɵɵelement"](3,"i",12),i["ɵɵtext"](4,"\n                        "),i["ɵɵelementStart"](5,"figcaption",13),i["ɵɵtext"](6,"messagesList.noResults"),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n                "))}function I(e,t){if(1&e&&(i["ɵɵelementStart"](0,"span",22),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](4);i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"]("(",e.unacknowledgedCommunications,")\n                        ")}}function w(e,t){if(1&e&&(i["ɵɵelementStart"](0,"span"),i["ɵɵtext"](1,"\n                        "),i["ɵɵelementStart"](2,"span",13),i["ɵɵtext"](3,"messagesList.table.caption"),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n                        "),i["ɵɵtemplate"](5,I,2,1,"span",21),i["ɵɵtext"](6,"\n                    "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](3);i["ɵɵadvance"](5),i["ɵɵproperty"]("ngIf",e.unacknowledgedCommunications>0)}}const E=function(e){return{tag:"textContent",label:e}};function T(e,t){if(1&e&&(i["ɵɵtext"](0,"\n                        "),i["ɵɵelement"](1,"span",23),i["ɵɵtext"](2,"\n                    ")),2&e){const e=i["ɵɵnextContext"](3);i["ɵɵadvance"](1),i["ɵɵproperty"]("bxTranslate",i["ɵɵpureFunction1"](1,E,e.allChecked?"multiSelect.deselectAll":"multiSelect.selectAll"))}}const P=function(e){return{"select-all":e}};function A(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div",14),i["ɵɵtext"](1,"\n                    "),i["ɵɵelementStart"](2,"div",15),i["ɵɵtext"](3,"\n                        "),i["ɵɵelementStart"](4,"div",16),i["ɵɵtext"](5,"\n                            "),i["ɵɵelementStart"](6,"input",17),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"](2).switchToEditMode("ALL")})),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n                            "),i["ɵɵelement"](8,"label",18),i["ɵɵtext"](9,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n\n                    "),i["ɵɵtemplate"](12,w,7,1,"span",19),i["ɵɵtext"](13,"\n\n                    "),i["ɵɵtemplate"](14,T,3,3,"ng-template",null,20,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](16,"\n                "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵreference"](15),t=i["ɵɵnextContext"](2);i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](6,P,t.notificationEnabledService.isNotificationEnabled())),i["ɵɵadvance"](6),i["ɵɵpropertyInterpolate1"]("id","selectAll",t.keyId,""),i["ɵɵproperty"]("checked",t.allChecked),i["ɵɵadvance"](2),i["ɵɵpropertyInterpolate1"]("for","selectAll",t.keyId,""),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngIf",!t.notificationEnabledService.isNotificationEnabled())("ngIfElse",e)}}function _(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",34),i["ɵɵtext"](1,"\n                                "),i["ɵɵelementStart"](2,"span",13),i["ɵɵtext"](3,"messagesList.notification.expiresOn"),i["ɵɵelementEnd"](),i["ɵɵtext"](4),i["ɵɵpipe"](5,"bxDate"),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]().$implicit;i["ɵɵadvance"](4),i["ɵɵtextInterpolate1"](": ",i["ɵɵpipeBind2"](5,1,e.expiresAt,"MMM D, YYYY h:mm A"),"\n                            ")}}const M=function(e){return{"item-visited":e}},O=function(e){return{"bx-unacknowledged":e}};function k(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"li"),i["ɵɵtext"](1,"\n                            "),i["ɵɵtemplate"](2,_,6,4,"div",26),i["ɵɵtext"](3,"\n                            "),i["ɵɵelementStart"](4,"div",27),i["ɵɵtext"](5,"\n                                "),i["ɵɵelementStart"](6,"input",28),i["ɵɵlistener"]("click",(function(){const t=i["ɵɵrestoreView"](e).$implicit,n=i["ɵɵnextContext"](3);return n.switchToEditMode(n.getCommunicationId(t))})),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n                                "),i["ɵɵelement"](8,"label",18),i["ɵɵtext"](9,"\n                            "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n\n                            "),i["ɵɵelementStart"](11,"a",29),i["ɵɵlistener"]("click",(function(){const t=i["ɵɵrestoreView"](e).$implicit;return i["ɵɵnextContext"](3).selectCommunication(t)})),i["ɵɵtext"](12,"\n                                "),i["ɵɵelementStart"](13,"time",30),i["ɵɵtext"](14),i["ɵɵpipe"](15,"bxDate"),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n                                "),i["ɵɵelementStart"](17,"h3",31),i["ɵɵtext"](18),i["ɵɵpipe"](19,"bxMonetaryAmountTag"),i["ɵɵelementEnd"](),i["ɵɵtext"](20,"\n                                "),i["ɵɵelement"](21,"p",32),i["ɵɵpipe"](22,"bxTrustyHtml"),i["ɵɵpipe"](23,"bxDateTag"),i["ɵɵpipe"](24,"bxMonetaryAmountTag"),i["ɵɵpipe"](25,"bxStripHtmlTags"),i["ɵɵtext"](26,"\n                                "),i["ɵɵelement"](27,"i",33),i["ɵɵtext"](28,"\n                            "),i["ɵɵelementEnd"](),i["ɵɵtext"](29,"\n                        "),i["ɵɵelementEnd"]()}if(2&e){const e=t.$implicit,n=i["ɵɵnextContext"](3);i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.expiresAt),i["ɵɵadvance"](4),i["ɵɵpropertyInterpolate"]("id",n.getCommunicationId(e)),i["ɵɵproperty"]("checked",e.selected),i["ɵɵadvance"](2),i["ɵɵpropertyInterpolate"]("for",n.getCommunicationId(e)),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](22,M,e.acknowledged)),i["ɵɵadvance"](3),i["ɵɵtextInterpolate1"]("\n                                    ",i["ɵɵpipeBind2"](15,9,e.publishedAt,"mediumDate"),"\n                                "),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](24,O,!e.acknowledged)),i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"]("\n                                    ",i["ɵɵpipeBind1"](19,12,e.subject),"\n                                "),i["ɵɵadvance"](3),i["ɵɵproperty"]("innerHTML",i["ɵɵpipeBind1"](22,14,i["ɵɵpipeBind1"](23,16,i["ɵɵpipeBind1"](24,18,i["ɵɵpipeBind1"](25,20,e.content)))),i["ɵɵsanitizeHtml"])}}function j(e,t){if(1&e&&(i["ɵɵelementStart"](0,"ul",24),i["ɵɵtext"](1,"\n                        "),i["ɵɵtemplate"](2,k,30,26,"li",25),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",e.communicationList)}}function N(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"button",37),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"](3).deleteSelectedCommunications()})),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"](3);i["ɵɵproperty"]("bxTranslate",i["ɵɵpureFunction1"](1,E,e.deleteButtonText))}}function D(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",35),i["ɵɵtext"](1,"\n                    "),i["ɵɵtemplate"](2,N,1,3,"button",36),i["ɵɵtext"](3,"\n                "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵclassProp"]("hide-communication-list-footer",!e.editMode),i["ɵɵproperty"]("ngClass",e.communicationList&&e.communicationList.length>0?"communication-list-footer-upper-line":""),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.editMode)}}const L=function(e,t){return{"bx-hidden":e,"resize-list-body":t}},R=function(e,t,n){return{"notification-enabled":e,"empty-notifications-list":t,"notification-list-ios-bottom-margin":n}};function F(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"section",5),i["ɵɵtext"](1,"\n                "),i["ɵɵtemplate"](2,x,9,0,"ng-template",null,6,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](4,"\n                "),i["ɵɵtemplate"](5,A,17,8,"div",7),i["ɵɵtext"](6,"\n\n                "),i["ɵɵelementStart"](7,"div",8),i["ɵɵlistener"]("scrollEnds",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().scrollEnds.emit()})),i["ɵɵtext"](8,"\n                    "),i["ɵɵtemplate"](9,j,4,1,"ul",9),i["ɵɵtext"](10,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n\n                "),i["ɵɵtemplate"](12,D,4,4,"div",10),i["ɵɵtext"](13,"\n            "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵreference"](3),t=i["ɵɵnextContext"]();i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction2"](6,L,t.communicationSelected,t.editMode)),i["ɵɵadvance"](5),i["ɵɵproperty"]("ngIf",t.communicationList.length>0),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction3"](9,R,t.notificationEnabledService.isNotificationEnabled(),!t.communicationList||0===t.communicationList.length,"iOS"===t.deviceService.getOSVersion())),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.communicationList.length>0)("ngIfElse",e),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",t.editMode)}}let B=(()=>{class e{constructor(e,t,n,r,o,a,s,c){this.communicationListService=e,this.route=t,this.notificationEnabledService=n,this.communicationPlayerConfig=r,this.view=o,this.dialogService=a,this.siteConfigService=s,this.deviceService=c,this.scrollEnds=new i.EventEmitter,this.loadCommunications=new i.EventEmitter,this.deleteCommunications=new i.EventEmitter,this.acknowledgeCommunication=new i.EventEmitter,this.editMode=!1,this.selectedCounter=0,this.allChecked=!1}ngOnInit(){this.loadCommunications.emit(),this.deleteSelectedButtonText="messagesList.table.button.deleteSelected",this.deleteAllButtonText="messagesList.table.button.deleteAll",this.communicationSelectedChanged$=this.communicationListService.subscribeToCommunicationSelectedChanged().subscribe((e=>{this.communicationListService.communicationTabsVisibility(!1),this.communicationSelected=e})),this.deleteCommunications$=this.communicationListService.subscribeToDeleteCommunications().subscribe((e=>{e?this.communicationListService.showSuccessMessage(this.allChecked):this.communicationListService.showErrorMessage()}))}ngOnDestroy(){this.deleteCommunications$.unsubscribe(),this.communicationSelectedChanged$.unsubscribe()}ngOnChanges(e){const t=e.unacknowledgedCommunications;t&&t.previousValue&&t.currentValue!==t.previousValue&&this.resetAndReload()}switchToEditMode(e){if("ALL"===e){this.allChecked=!this.allChecked;for(let e of this.communicationList)e.selected=this.allChecked;this.selectedCounter=this.allChecked?this.communicationList.length:0}else for(let t of this.communicationList)e===this.getCommunicationId(t)&&(t.selected=!t.selected,this.selectedCounter+=t.selected?1:-1);this.checkAllSelected(),this.editMode=0!==this.selectedCounter}checkAllSelected(){this.selectedCounter!=this.communicationList.length?(this.allChecked=!1,this.deleteButtonText=this.deleteSelectedButtonText):(this.allChecked=!0,this.deleteButtonText=this.deleteAllButtonText)}deleteSelectedCommunications(){this.siteConfigService.isFeaturePresent(d.L.messageDeletionConfirmation)?this.dialogService.confirm(this.view,{headerText:"messagesList.delete.dialog.header",messageText:`messagesList.delete.dialog.${this.type}`,okText:"messagesList.delete.dialog.ok",cancelText:"messagesList.delete.dialog.cancel"}).subscribe((e=>{e&&this.removeCommunications()})):this.removeCommunications()}removeCommunications(){let e=[];for(let t of this.communicationList)t.selected&&e.push(this.getCommunicationId(t));this.deleteCommunications.emit(e),this.reset()}selectCommunication(e){this.editMode||(this.setCommunicationSelected(e),e.acknowledged||this.acknowledgeCommunication.emit(e))}setCommunicationSelected(e){this.communicationListService.notifyCommunicationSelectedChanged(e)}reset(){this.selectedCounter=0,this.editMode=!1,this.allChecked=!1}resetAndReload(){this.reset(),this.loadCommunications.emit()}getCommunicationId(e){return e[this.keyId]}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](a.j),i["ɵɵdirectiveInject"](r.ActivatedRoute),i["ɵɵdirectiveInject"](o.j),i["ɵɵdirectiveInject"](s.r),i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](c.q),i["ɵɵdirectiveInject"](l.r),i["ɵɵdirectiveInject"](u.U))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-communication-list"]],inputs:{communicationList:"communicationList",unacknowledgedCommunications:"unacknowledgedCommunications",keyId:"keyId",type:"type"},outputs:{scrollEnds:"scrollEnds",loadCommunications:"loadCommunications",deleteCommunications:"deleteCommunications",acknowledgeCommunication:"acknowledgeCommunication"},features:[i["ɵɵNgOnChangesFeature"]],decls:8,vars:3,consts:[[1,"modal-body","main-section-communication-list",3,"ngClass"],["class","player-message-detail",4,"ngIf"],["class","bx-communications-list",3,"ngClass",4,"ngIf"],[1,"player-message-detail"],[3,"playerMessage"],[1,"bx-communications-list",3,"ngClass"],["noResults",""],["class","bx-header-communication-checkbox",3,"ngClass",4,"ngIf"],["bxScrollTracker","",1,"bx-table-container",3,"ngClass","scrollEnds"],["class","custom-menu primary check-list",4,"ngIf","ngIfElse"],["class","communication-list-footer",3,"hide-communication-list-footer","ngClass",4,"ngIf"],[1,"custom-notification","alert","info"],[1,"icon","icon-info"],[3,"bxTranslate"],[1,"bx-header-communication-checkbox",3,"ngClass"],[1,"bx-select-all-checkbox"],[1,"custom-checkbox","native-toggle","bx-communication-list-check"],["type","checkbox","role","checkbox",3,"checked","id","click"],[1,"no-text",3,"for"],[4,"ngIf","ngIfElse"],["selectAll",""],["class","bx-unacknowledged-count",4,"ngIf"],[1,"bx-unacknowledged-count"],[1,"select-all",3,"bxTranslate"],[1,"custom-menu","primary","check-list"],[4,"ngFor","ngForOf"],["class","bx-expires-date",4,"ngIf"],[1,"item-checkbox","custom-checkbox","native-toggle"],["type","checkbox","role","checkbox",3,"id","checked","click"],["href","javascript:void(null)",1,"item-link",3,"ngClass","click"],[1,"timestamp"],[1,"title",3,"ngClass"],[1,"preview",3,"innerHTML"],[1,"icon","icon-arrow-next"],[1,"bx-expires-date"],[1,"communication-list-footer",3,"ngClass"],["id","deleteButton","type","button","class","custom-cta primary",3,"bxTranslate","click",4,"ngIf"],["id","deleteButton","type","button",1,"custom-cta","primary",3,"bxTranslate","click"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"section",0),i["ɵɵtext"](2,"\n\n            "),i["ɵɵtemplate"](3,C,4,1,"div",1),i["ɵɵtext"](4,"\n\n            "),i["ɵɵtemplate"](5,F,14,13,"section",2),i["ɵɵtext"](6,"\n\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngClass",t.communicationPlayerConfig.additionalClasses),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.communicationSelected),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!!t.communicationList))},directives:[p.NgClass,p.NgIf,h.E,m.I,f.P,p.NgForOf],pipes:[g.a,v.s,b.d,y.G,S],encapsulation:2}),e})()},48083:(e,t,n)=>{"use strict";n.d(t,{j:()=>l});var i=n(12596),r=n(72558),o=n(4309),a=n(42998),s=n(57106),c=n(57826);let l=(()=>{class e{constructor(e,t,n){this.translateService=e,this.communicationPlayerConfig=t,this.toastNotificationService=n,this.$communicationDeleted=new o.Subject,this.$communicationSelectedChanged=new o.Subject,this.$acknowledgeCommunicationNumberChanged=new o.BehaviorSubject(void 0),this.$communicationTabsVisibility=new o.Subject,this.publishNotification=e=>this.toastNotificationService.add(e,this.communicationPlayerConfig.messageOverlay?"messageOverlay":""),this.toErrorNotification=e=>this.toNotification("error",e)}showSuccessMessage(e){this.buildSuccessMessage(e).pipe((0,a.map)(this.toSuccessNotification())).subscribe((e=>this.publishNotification(e)))}showErrorMessage(){this.translateService.translate("messagesList.delete.error_message").pipe((0,a.map)(this.toErrorNotification)).subscribe((e=>this.publishNotification(e)))}notifyCommunicationDeleted(e){this.$communicationDeleted.next(e)}subscribeToDeleteCommunications(){return this.$communicationDeleted.asObservable()}notifyCommunicationSelectedChanged(e){this.$communicationSelectedChanged.next(e)}subscribeToCommunicationSelectedChanged(){return this.$communicationSelectedChanged.asObservable()}notifyUnacknowledgeCommunicationNumberChanged(e){this.$acknowledgeCommunicationNumberChanged.next(e)}subscribeToAcknowledgeCommunicationNumberChanged(){return this.$acknowledgeCommunicationNumberChanged.asObservable()}communicationTabsVisibilityObservable(){return this.$communicationTabsVisibility.asObservable()}communicationTabsVisibility(e){this.$communicationTabsVisibility.next(e)}toSuccessNotification(){return e=>this.toNotification("success",e)}buildSuccessMessage(e){let t=e?"messagesList.delete.success_all_message":"messagesList.delete.success_message";return this.translateService.translate(t)}toNotification(e,t){return{msg:t,modal:!0,type:e,timeout:3e3}}}return e.ɵfac=function(t){return new(t||e)(c["ɵɵinject"](i.s),c["ɵɵinject"](s.r),c["ɵɵinject"](r.il))},e.ɵprov=c["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},57106:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.messageOverlay=!1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},22715:(e,t,n)=>{"use strict";n.d(t,{N:()=>a});var i=n(81899),r=n(45965),o=n(57826);let a=(()=>{class e{constructor(e,t){this.windowService=e,this.siteConfigService=t}composeInvitationUrl(e){return e.forEach((e=>{this.containsInvitationMessage(e)&&(e.content=this.changeRelativeUrlToAbsoluteUrlInMessage(e.content))})),e}containsInvitationMessage(e){return e.topicCode&&"vipinvitation"===e.topicCode}changeRelativeUrlToAbsoluteUrlInMessage(e){const t=this.getBaseUrl(),n="/services/signup-service/v1/invitation/link/";return e.replace(n,`${t}${n}`)}getBaseUrl(){return`https://${this.siteConfigService.getSiteConfigProp("serviceSubDomain")}.${this.windowService.getHostnameWithoutWWW()}`}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.u),o["ɵɵinject"](r.r))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},51015:(e,t,n)=>{"use strict";n.d(t,{O:()=>u});var i=n(42998),r=n(53801),o=n(36849),a=n(48083),s=n(94708),c=n(22715),l=n(57826),d=n(20718);let u=(()=>{class e{constructor(e,t,n){this.messagesService=e,this.communicationListService=t,this.invitationMessagesPlayerService=n,this.loading=!1,this.currentScroll=new o.X(null)}ngOnInit(){this.numberOfMessagesSubscription$=this.getNumberOfMessages()}ngOnDestroy(){this.numberOfMessagesSubscription$.unsubscribe()}loadMessages(e){if(this.loading)return;this.loading=!0;let t={};this.currentScroll.next&&e&&(t.scroll=this.currentScroll.next),this.messagesService.getMessages(t).pipe((0,i.finalize)((()=>this.loading=!1))).subscribe((t=>{t.items=this.invitationMessagesPlayerService.composeInvitationUrl(t.items),this.messagesList&&this.currentScroll.next&&e?this.messagesList=this.messagesList.concat(t.items):this.messagesList=t.items,t.scroll&&(this.currentScroll=t.scroll)})),this.messagesService.getNumberOfMessages().subscribe()}onDeleteSelectedMessages(e){this.messagesService.bulkDeleteMessage(e).subscribe((()=>{this.loadMessages(),this.communicationListService.notifyCommunicationDeleted(!0)}),(()=>this.communicationListService.notifyCommunicationDeleted(!1)))}onAcknowledgeCommunication(e){this.messagesService.acknowledgeMessage(e.messageId).subscribe((()=>{e.acknowledged=!0,this.getNumberOfMessages()}))}onScrollEnds(){this.currentScroll&&this.currentScroll.next&&this.loadMessages(!0)}getNumberOfMessages(){return this.messagesService.getNumberOfMessages().subscribe((e=>{this.unacknowledgedCommunications&&e.numberOfMessages===this.unacknowledgedCommunications||(this.unacknowledgedCommunications=e.numberOfMessages,this.communicationListService.notifyUnacknowledgeCommunicationNumberChanged({number:this.unacknowledgedCommunications,communicationItemType:r.v0}))}))}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵdirectiveInject"](s.v),l["ɵɵdirectiveInject"](a.j),l["ɵɵdirectiveInject"](c.N))},e.ɵcmp=l["ɵɵdefineComponent"]({type:e,selectors:[["bx-messages-list"]],decls:4,vars:3,consts:[["keyId","messageId",3,"communicationList","unacknowledgedCommunications","type","deleteCommunications","loadCommunications","acknowledgeCommunication","scrollEnds"]],template:function(e,t){1&e&&(l["ɵɵtext"](0,"\n        "),l["ɵɵelementStart"](1,"bx-communication-list",0),l["ɵɵlistener"]("deleteCommunications",(function(e){return t.onDeleteSelectedMessages(e)}))("loadCommunications",(function(){return t.loadMessages()}))("acknowledgeCommunication",(function(e){return t.onAcknowledgeCommunication(e)}))("scrollEnds",(function(){return t.onScrollEnds()})),l["ɵɵtext"](2,"\n\n        "),l["ɵɵelementEnd"](),l["ɵɵtext"](3,"\n    ")),2&e&&(l["ɵɵadvance"](1),l["ɵɵproperty"]("communicationList",t.messagesList)("unacknowledgedCommunications",t.unacknowledgedCommunications)("type","message"))},directives:[d.m],encapsulation:2}),e})()},3539:(e,t,n)=>{"use strict";n.d(t,{O:()=>A});var i=n(6856),r=n(84704),o=n(89493),a=n(94708),s=n(22715),c=n(51015),l=n(14969),d=n(48083),u=n(73502),p=n(58892),h=n(34207),m=n(72558),f=n(8566),g=n(83521),v=n(69703),b=n(25858),y=n(42356),S=n(92753),C=n(94216),x=n(54634),I=n(21368),w=n(57826);let E=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=w["ɵɵdefineNgModule"]({type:e,bootstrap:[x.A]}),e.ɵinj=w["ɵɵdefineInjector"]({providers:[I.q],imports:[[r.a,i.CommonModule]]}),e})();var T=n(79346),P=n(93996);let A=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=w["ɵɵdefineNgModule"]({type:e,bootstrap:[c.O,l.Z]}),e.ɵinj=w["ɵɵdefineInjector"]({providers:[d.j,v.j,a.v,s.N,b.p],imports:[[i.CommonModule,r.a,u.D,o.E,p.I,h.$,m.PQ,f.B,g.U,y.M,S.v,C.U,E,T.C,P.M]]}),e})()},94708:(e,t,n)=>{"use strict";n.d(t,{v:()=>h});var i=n(23550),r=n(4309),o=n(42998);class a{constructor(e,t){this.acknowledged=e,this.deleted=t}}var s=n(53801),c=n(36849);class l{constructor(e,t){this.messageIds=e,this.messagePatch=t}}class d{constructor(e){this.numberOfMessages=e}}var u=n(30063),p=n(57826);let h=(()=>{class e extends class{constructor(e){this.http=e}toHttpParams(e){return new i.HttpParams({fromObject:e})}getMessages(e,t){return this.getMessagesRequest$||(this.getMessagesRequest$=this.http.get(this.getUrl(t),{withCredentials:!0,params:this.toHttpParams(e)}).pipe((0,o.map)((e=>{let t,n;return t=e.items?s.v0.unserializeCollection(e.items):[],n=e.scroll&&e.scroll.next?new c.X(e.scroll.next):new c.X(null),new c.T(t,n)})),(0,o.finalize)((()=>{this.getMessagesRequest$=null})),(0,o.share)())),this.getMessagesRequest$}deleteMessage(e,t){return this.http.patch(this.getDeleteUrl(e,t),new a(void 0,!0),{withCredentials:!0})}}{constructor(e,t){super(e),this.http=e,this.playerUpdatesService=t,this.BASE_URL="/services/messages/v1/profiles/<sessionId>/player-messages",this.ACKNOWLEDGE_URL=this.BASE_URL+"/{messageId}",this.DELETE_URL=this.ACKNOWLEDGE_URL}getNumberOfMessages(){return this.getNumberOfMessagesMaterialized().pipe((0,o.filter)((e=>e.hasValue)),(0,o.dematerialize)(),(0,o.map)((e=>new d(e))))}getNumberOfMessagesMaterialized(){return this.playerUpdatesService.getUpdates().pipe((0,o.map)((e=>e.hasValue?r.Notification.createNext(e.value.numberOfMessages):r.Notification.createError(e.error))))}acknowledgeMessage(e){return this.http.patch(this.getAcknowledgeUrl(e),new a(!0),{withCredentials:!0})}bulkDeleteMessage(e){let t=new l;return t.messageIds=e,t.messagePatch=new a(void 0,!0),this.http.patch(this.getUrl(),t,{withCredentials:!0})}getAcknowledgeUrl(e){return this.ACKNOWLEDGE_URL.replace("{messageId}",e)}getUrl(){return this.BASE_URL}getDeleteUrl(e){return this.DELETE_URL.replace("{messageId}",e)}}return e.ɵfac=function(t){return new(t||e)(p["ɵɵinject"](i.HttpClient),p["ɵɵinject"](u.J))},e.ɵprov=p["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},14969:(e,t,n)=>{"use strict";n.d(t,{Z:()=>d});var i=n(20380),r=n(1776),o=n(32711),a=n(48083),s=n(42998),c=n(57826),l=n(20718);let d=(()=>{class e{constructor(e,t){this.notificationsStore=e,this.communicationListService=t}ngOnInit(){this.setMapReaction()}onAcknowledgeCommunication(e){this.notificationsStore.setNotificationAsRead(e.notificationId)}onDeleteSelectedNotifications(e){this.notificationsStore.deleteNotifications(e).pipe((0,s.take)(1)).subscribe((e=>{this.communicationListService.notifyCommunicationDeleted(e)}))}setMapReaction(){(0,o.EH)((()=>{this.notificationsStore.notifications&&this.notificationsStore.isDone&&(this.playerNotifications=this.notificationsStore.notifications.map((e=>({notificationId:e.notificationId,displayed:e.displayed,acknowledged:e.acknowledged,publishedAt:e.createdAt.toString(),deleted:e.deleted,subject:e.content.subject,content:e.content.message.body,ctaLabel:e.content.message.label,url:e.content.message.url,expiresAt:e.expiresAt.toString()}))),this.setUnacknowledgedCommunications())}))}setUnacknowledgedCommunications(){this.unacknowledgedCommunications=this.playerNotifications.filter((e=>!e.acknowledged)).length,this.communicationListService.notifyUnacknowledgeCommunicationNumberChanged({number:this.unacknowledgedCommunications,communicationItemType:i.e})}}return e.ɵfac=function(t){return new(t||e)(c["ɵɵdirectiveInject"](r.s),c["ɵɵdirectiveInject"](a.j))},e.ɵcmp=c["ɵɵdefineComponent"]({type:e,selectors:[["bx-notification-list"]],decls:4,vars:3,consts:[["keyId","notificationId",3,"communicationList","unacknowledgedCommunications","type","deleteCommunications","acknowledgeCommunication"]],template:function(e,t){1&e&&(c["ɵɵtext"](0,"\n        "),c["ɵɵelementStart"](1,"bx-communication-list",0),c["ɵɵlistener"]("deleteCommunications",(function(e){return t.onDeleteSelectedNotifications(e)}))("acknowledgeCommunication",(function(e){return t.onAcknowledgeCommunication(e)})),c["ɵɵtext"](2,"\n        "),c["ɵɵelementEnd"](),c["ɵɵtext"](3,"\n    ")),2&e&&(c["ɵɵadvance"](1),c["ɵɵproperty"]("communicationList",t.playerNotifications)("unacknowledgedCommunications",t.unacknowledgedCommunications)("type","notification"))},directives:[l.m],encapsulation:2}),e})()},65180:(e,t,n)=>{"use strict";n.d(t,{E:()=>f});var i=n(57106),r=n(57826),o=n(6856),a=n(86014),s=n(62090),c=n(55183),l=n(96940),d=n(45645);function u(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",8),r["ɵɵtext"](1,"\n                    "),r["ɵɵelementStart"](2,"span",9),r["ɵɵtext"](3,"messagesList.notification.expiresOn"),r["ɵɵelementEnd"](),r["ɵɵtext"](4),r["ɵɵpipe"](5,"bxDate"),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2);r["ɵɵadvance"](4),r["ɵɵtextInterpolate1"](": ",r["ɵɵpipeBind2"](5,1,e.expiresAt,"MMM D, YYYY h:mm A"),"\n                ")}}function p(e,t){if(1&e&&(r["ɵɵelementStart"](0,"a",10),r["ɵɵtext"](1,"\n                    "),r["ɵɵelementStart"](2,"button",11),r["ɵɵtext"](3),r["ɵɵelementEnd"](),r["ɵɵtext"](4,"\n                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2);r["ɵɵpropertyInterpolate"]("href",e.url,r["ɵɵsanitizeUrl"]),r["ɵɵadvance"](3),r["ɵɵtextInterpolate1"]("\n                        ",e.ctaLabel,"\n                    ")}}function h(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",5),r["ɵɵtext"](1,"\n                "),r["ɵɵtemplate"](2,u,6,4,"div",6),r["ɵɵtext"](3,"\n                "),r["ɵɵtemplate"](4,p,5,2,"a",7),r["ɵɵtext"](5,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.expiresAt),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.url&&e.ctaLabel)}}const m=function(e){return[e]};let f=(()=>{class e{constructor(e){this.playerMessageConfig=e}ngOnInit(){({ctaLabel:this.ctaLabel,url:this.url,expiresAt:this.expiresAt}=this.playerMessage||{})}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](i.r))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-player-message-detail"]],inputs:{playerMessage:"playerMessage"},decls:20,vars:18,consts:[[1,"playerMessageDetail","modal-large"],["role","heading",3,"ngClass"],[1,"bx-message-date"],[1,"custom-textarea",3,"innerHTML"],["class","bx-notification-cta-section",4,"ngIf"],[1,"bx-notification-cta-section"],["class","bx-expires-date",4,"ngIf"],[3,"href",4,"ngIf"],[1,"bx-expires-date"],[3,"bxTranslate"],[3,"href"],["type","button",1,"custom-cta","primary"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n\n        "),r["ɵɵelementStart"](1,"div",0),r["ɵɵtext"](2,"\n            "),r["ɵɵelementStart"](3,"h3",1),r["ɵɵtext"](4),r["ɵɵpipe"](5,"bxMonetaryAmountTag"),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n            "),r["ɵɵelementStart"](7,"div",2),r["ɵɵtext"](8),r["ɵɵpipe"](9,"bxDate"),r["ɵɵelementEnd"](),r["ɵɵtext"](10,"\n            "),r["ɵɵelementStart"](11,"div",3),r["ɵɵpipe"](12,"bxTrustyHtml"),r["ɵɵpipe"](13,"bxDateTag"),r["ɵɵpipe"](14,"bxMonetaryAmountTag"),r["ɵɵtext"](15,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](16,"\n            "),r["ɵɵtemplate"](17,h,6,2,"div",4),r["ɵɵtext"](18,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](19,"\n    ")),2&e&&(r["ɵɵadvance"](3),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction1"](16,m,t.playerMessageConfig.detailHeadingStyle||"h3-heading")),r["ɵɵadvance"](1),r["ɵɵtextInterpolate1"]("\n               ",r["ɵɵpipeBind1"](5,5,t.playerMessage.subject),"\n            "),r["ɵɵadvance"](4),r["ɵɵtextInterpolate1"]("",r["ɵɵpipeBind2"](9,7,t.playerMessage.publishedAt,"mediumDate"),"\n            "),r["ɵɵadvance"](3),r["ɵɵproperty"]("innerHTML",r["ɵɵpipeBind1"](12,10,r["ɵɵpipeBind1"](13,12,r["ɵɵpipeBind1"](14,14,t.playerMessage.content))),r["ɵɵsanitizeHtml"]),r["ɵɵadvance"](6),r["ɵɵproperty"]("ngIf",t.url&&t.ctaLabel||t.expiresAt))},directives:[o.NgClass,o.NgIf,a.P],pipes:[s.s,c.a,l.d,d.G],styles:[".custom-textarea[_ngcontent-%COMP%]     b {\n  font-weight: bold; }\n\n.custom-textarea[_ngcontent-%COMP%]     i {\n  font-style: italic; }\n\n.bx-message-date[_ngcontent-%COMP%] {\n  margin-bottom: 10px;\n  margin-top: 5px; }"]}),e})()},94216:(e,t,n)=>{"use strict";n.d(t,{U:()=>o});var i=n(30063),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:[i.J]}),e})()},30063:(e,t,n)=>{"use strict";n.d(t,{J:()=>s});var i=n(4309),r=n(42998),o=n(23550),a=n(57826);let s=(()=>{class e{constructor(t){this.http=t,this.URL="/services/messages/v1/profiles/<sessionId>/player-updates",this.getUpdatesUrl=e=>e?this.URL+`?updatedAfter=${e.toISOString()}`:this.URL,this.value$=new i.BehaviorSubject(void 0),this.timerUpdates$=(0,i.timer)(0,e.POLLING_INTERVAL_MILLISECONDS).pipe((0,r.switchMap)((()=>this.fetchUpdatesAsRxEvents())),(0,r.tap)((e=>this.value$.next(e))))}init(){this.lastUpdate=void 0}getUpdates(){return 0==this.value$.observers.length?(this.stopTimer(),this.timerSubscription=this.timerUpdates$.subscribe()):this.fetchUpdatesAsRxEvents().pipe((0,r.tap)((e=>this.value$.next(e)))),this.value$.pipe((0,r.filter)((e=>void 0!==e)),(0,r.finalize)((()=>{this.stopTimer()})),(0,r.share)())}fetchUpdatesAsRxEvents(){return this.fetchPlayerUpdates().pipe((0,r.map)((e=>i.Notification.createNext(e))),(0,r.catchError)((e=>(0,i.of)(i.Notification.createError(e)))))}fetchPlayerUpdates(){return this.http.get(this.getUpdatesUrl(this.lastUpdate),{withCredentials:!0,observe:"response"}).pipe((0,r.map)((e=>(this.lastUpdate=new Date(e.headers.get("date")),e.body))))}stopTimer(){this.timerSubscription&&!this.timerSubscription.closed&&this.timerSubscription.unsubscribe()}}return e.POLLING_INTERVAL_MILLISECONDS=6e4,e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](o.HttpClient))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},53801:(e,t,n)=>{"use strict";n.d(t,{v0:()=>r});var i=n(97458);class r extends i.g{static unserialize(e){let t=new r;return t.messageId=e.messageId,t.profileId=e.profileId,t.type=e.type,t.status=e.status,t.acknowledged=e.acknowledged,t.deleted=e.deleted,t.topicCode=e.topicCode,t.subject=e.subject,t.content=e.content,t.internalContent=e.internalContent,t.createdBy=e.createdBy,t.createdAt=e.createdAt,t.updatedAt=e.updatedAt,t.publishedAt=e.publishedAt,t.priority=e.priority,t.sendEmail=e.sendEmail,t}static unserializeCollection(e){return e.map((e=>r.unserialize(e)))}}},36849:(e,t,n)=>{"use strict";n.d(t,{T:()=>r,X:()=>i});class i{constructor(e){this.next=e}}class r{constructor(e,t){this.items=e,this.scroll=t}}},97458:(e,t,n)=>{"use strict";n.d(t,{g:()=>i});class i{}},65553:(e,t,n)=>{"use strict";n.d(t,{w:()=>a});var i=n(16462),r=n(42998),o=n(57826);let a=(()=>{class e{constructor(e){this.contentService=e,this.CONTENT_SECTION="homepage"}getNotification(e){let t=this.contentService.getContentBySlug(e,this.CONTENT_SECTION);return this.mapResponse(t)}mapResponse(e){let t={};return e.pipe((0,r.map)((e=>(e.fields&&(t={subject:e.fields.subject,message:{body:e.fields.message_body,url:e.fields.message_url,label:e.fields.message_url_label},popup:{image:e.fields.notification_image?e.fields.notification_image.url:void 0,body:e.fields.notification_body,url:e.fields.notification_url,label:e.fields.notification_url_label,tags:e.fields.tags}}),t))))}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i._))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},33262:(e,t,n)=>{"use strict";n.d(t,{T:()=>c});var i=n(4309),r=n(42998),o=n(30063),a=n(23550),s=n(57826);let c=(()=>{class e{constructor(e,t){this.http=e,this.playerUpdatesService=t,this.URL="/services/messages/v1/profiles/<sessionId>/player-notifications",this.patchNotificationUrl=e=>this.URL+"/"+e,this.deleteNotificationUrl=e=>this.URL+"?ids="+e.join(",")}init(){this.playerUpdatesService.init()}getNotificationsUpdates(){return this.playerUpdatesService.getUpdates().pipe((0,r.map)((e=>e.hasValue?i.Notification.createNext(this.mapNotificationsExpiresAt(e.value.notifications)):i.Notification.createError(e.error))))}deleteNotification(e){return this.http.delete(this.deleteNotificationUrl(e),{withCredentials:!0})}updateNotification(e,t){return this.patchNotification(e,t)}mapNotificationsExpiresAt(e){return e&&e.forEach((e=>e.expiresAt=new Date(e.expiresAt))),e}patchNotification(e,t){return this.http.patch(this.patchNotificationUrl(e),t,{withCredentials:!0})}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](a.HttpClient),s["ɵɵinject"](o.J))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},25858:(e,t,n)=>{"use strict";n.d(t,{p:()=>h});var i=n(64762),r=n(35294),o=n(84781),a=n(32711),s=n(91184),c=n(4309),l=n(42998),d=n(65553),u=n(33262),p=n(57826);class h extends o.d{constructor(e,t,n){super(),this.notificationsService=e,this.stateStore=t,this.notificationsContentService=n}init(){this.initNotifications(),this.setRefreshReaction(),this.setLoginStateReaction()}get notifications(){return this.notifs}deleteNotifications(e){const t=new c.Subject;return this.notificationsService.deleteNotification(e).pipe((0,l.take)(1)).subscribe((()=>{this.deleteStoreNotifications(e),t.next(!0)}),(()=>{t.next(!1),this.error()})),t}setNotificationAsRead(e){this.notifs.find((t=>t.notificationId===e&&!t.acknowledged))&&this.updateNotification(e,{acknowledged:!0})}setNotificationAsDisplayed(e){this.updateNotification(e,{displayed:!0})}initNotifications(){this.notifsSubs&&this.notifsSubs.unsubscribe(),this.notifs=[]}setLoginStateReaction(){(0,a.EH)((()=>{this.notificationsService.init(),this.stateStore.loginState?this.refresh():this.initNotifications()}))}setRefreshReaction(){(0,a.U5)((()=>this.mustRefresh),(()=>this.getNotifications()))}getNotifications(){this.notifsSubs=this.notificationsService.getNotificationsUpdates().subscribe((e=>{e.hasValue?(this.mergeNotifications(e.value),this.removeExpired()):e.error&&this.error()}))}removeExpired(){for(let e=this.notifs.length-1;e>=0;e--)this.isExpired(this.notifs[e])&&this.notifs.splice(e,1)}isExpired(e){return e.expiresAt&&e.expiresAt.getTime()<(new Date).getTime()}mergeNotifications(e){let t=0;e.forEach((e=>{let n=this.getIndexOfNotificationById(e.notificationId);n>-1?e.deleted?this.notifs.splice(n,1):(e.content=this.notifs[n].content,this.notifs[n]=e):e.deleted||(t++,this.notificationsContentService.getNotification(e.contentId).pipe((0,l.catchError)((()=>(0,c.of)({}))),(0,l.take)(1)).subscribe((n=>{n.subject&&(e.content=n,(0,a.z)((()=>{this.notifs.unshift(e)}))),t--,0==t&&((0,a.z)((()=>{this.notifs=this.notifs.sort(this.compareNotifications)})),this.done())})))})),0==t&&this.done()}compareNotifications(e,t){return new Date(t.createdAt).getTime()-new Date(e.createdAt).getTime()}getIndexOfNotificationById(e){for(let t=0;t<this.notifs.length;t+=1)if(this.notifs[t].notificationId===e)return t;return-1}deleteStoreNotifications(e){this.notifs=this.notifs.filter((t=>!e.includes(t.notificationId)))}updateNotification(e,t){this.notificationsService.updateNotification(e,t).pipe((0,l.take)(1)).subscribe((()=>{const n=this.getIndexOfNotificationById(e);n>-1&&(0,a.z)((()=>{Object.entries(t).forEach((e=>this.notifs[n][e[0]]=e[1]))}))}),(()=>{this.error()}))}}h.ɵfac=function(e){return new(e||h)(p["ɵɵinject"](u.T),p["ɵɵinject"](r.X),p["ɵɵinject"](d.w))},h.ɵprov=p["ɵɵdefineInjectable"]({token:h,factory:h.ɵfac}),(0,i.__decorate)([s.LO,(0,i.__metadata)("design:type",Array)],h.prototype,"notifs",void 0),(0,i.__decorate)([s.Fl,(0,i.__metadata)("design:type",Array),(0,i.__metadata)("design:paramtypes",[])],h.prototype,"notifications",null),(0,i.__decorate)([s.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[Array]),(0,i.__metadata)("design:returntype",c.Subject)],h.prototype,"deleteNotifications",null),(0,i.__decorate)([s.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[String]),(0,i.__metadata)("design:returntype",void 0)],h.prototype,"setNotificationAsRead",null),(0,i.__decorate)([s.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[String]),(0,i.__metadata)("design:returntype",void 0)],h.prototype,"setNotificationAsDisplayed",null),(0,i.__decorate)([s.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],h.prototype,"initNotifications",null),(0,i.__decorate)([s.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],h.prototype,"removeExpired",null),(0,i.__decorate)([s.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[Array]),(0,i.__metadata)("design:returntype",void 0)],h.prototype,"mergeNotifications",null),(0,i.__decorate)([s.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[Array]),(0,i.__metadata)("design:returntype",void 0)],h.prototype,"deleteStoreNotifications",null),(0,i.__decorate)([s.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[String,class{}]),(0,i.__metadata)("design:returntype",void 0)],h.prototype,"updateNotification",null)},42356:(e,t,n)=>{"use strict";n.d(t,{M:()=>d});var i=n(91691),r=n(1776),o=n(65553),a=n(33262),s=n(25858),c=n(94216),l=n(57826);let d=(()=>{class e{static forRoot(){return{ngModule:e,providers:[s.p,{provide:r.s,useExisting:s.p}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=l["ɵɵdefineNgModule"]({type:e}),e.ɵinj=l["ɵɵdefineInjector"]({providers:[o.w,a.T],imports:[[i.C.forRoot(),c.U]]}),e})()},20380:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});var i=n(97458);class r extends i.g{}},87290:(e,t,n)=>{"use strict";n.d(t,{q:()=>o});var i=n(7171),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:[i.e]}),e})()},7171:(e,t,n)=>{"use strict";n.d(t,{e:()=>a});var i=n(82846),r=n(45965),o=n(57826);let a=(()=>{class e{constructor(e,t){this.cookieService=e,this.configService=t}loyaltyEnabled(){return!!this.cookieService.get(e.LOYALTY_COOKIE)||this.configService.evalFeature(e.LOYALTY_FEATURE_FLAG_NAME)}}return e.LOYALTY_COOKIE="bxLoyalty",e.LOYALTY_FEATURE_FLAG_NAME="site.config.loyalty.enabled",e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.G),o["ɵɵinject"](r.r))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},26918:(e,t,n)=>{"use strict";n.d(t,{e:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},84825:(e,t,n)=>{"use strict";n.d(t,{Fz:()=>c,N:()=>a,VP:()=>d,WJ:()=>p,au:()=>s,mH:()=>l,pD:()=>u});var i=n(75826),r=n(41759);let o;function a(e,t){return t=t||"MMM DD, YYYY h:mm A z",r.Z.utc(e).tz("America/New_York").format(t)}function s(e,t=!1){let n=2;return t&&e>999999.99&&(n=0),i=e,r=(r=n)||0===r?r:2,""+o.transform(i.toFixed(r));var i,r}function c(e){return h((()=>e.tiersInfo[e.nextTierId]))}function l(e){return h((()=>{let t=function(e){return h((()=>e.tiersInfo[e.currentTierId]))}(e);return e.excluded?void 0:t.colour}))}function d(e){return h((()=>{let t=function(e){return h((()=>e.tiersInfo[e.previousTierId]))}(e);return e.excluded?void 0:t.colour}))}function u(e){return h((()=>{let t=c(e);return e.excluded?void 0:t.colour}))}function p(e,t=1){if(7===e.length){const n=255,i=255,r=255;let o=parseInt(e.substr(1,2),16),a=parseInt(e.substr(3,2),16),s=parseInt(e.substr(5,2),16);return o=Math.round(n+(o-n)*t),a=Math.round(i+(a-i)*t),s=Math.round(r+(s-r)*t),`rgb(${o}, ${a}, ${s})`}}function h(e){try{return e()}catch(e){return}}o=new i.t},67344:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var i=n(6856),r=n(57826);let o=(()=>{class e{constructor(e){this.decimalPipe=e,this.ALLOWED_LOCALE_VALUES=["en","es"],this.DEFAULT_LOCALE="en-US"}transform(e,t,n="1.0-2"){let i=this.isLocaleValid(t)?t:this.DEFAULT_LOCALE;return this.decimalPipe.transform(e,n,i)}isLocaleValid(e){return e&&this.isLocaleValueAllowed(e)}isLocaleValueAllowed(e){return this.ALLOWED_LOCALE_VALUES.includes(e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](i.DecimalPipe,16))},e.ɵpipe=r["ɵɵdefinePipe"]({name:"bxLoyaltyPointsAmount",type:e,pure:!0}),e})()},74362:(e,t,n)=>{"use strict";n.d(t,{q:()=>c});var i=n(23550),r=n(48108),o=n(4309),a=n(42998),s=n(57826);let c=(()=>{class e{constructor(e,t){this.http=e,this.playersUrl="/services/loyalty-points/v1/players",this.playersUrlV2="/services/loyalty-points/v2/players",t.getLanguage().subscribe((e=>this.language=e))}getPlayerInfo(e){return this.url=this.playerInfoURL(),this.getPlayerDetails(e,!0)}unsubscribeToPlayerDetails(){this.playerDetailsSubscription$&&(this.playerDetailsSubscription$.unsubscribe(),this.playerDetailsSubscription$=void 0),this.playerInfoUpdates$&&(this.playerInfoUpdates$.unsubscribe(),this.playerInfoUpdates$=void 0),this.playerInfo$&&(this.playerInfo$=void 0)}getPlayerInfoForCM(e){return this.url=this.playerInfoURLForCM(e),this.getPlayerDetails()}getPlayerDetails(e,t){return this.playerInfoUpdates$||(this.playerInfoUpdates$=new o.ReplaySubject(1),t&&this.initPolling()),this.playerInfo$||(this.playerInfo$=this.fetchPlayerDetails().pipe((0,a.publishLast)(),(0,a.refCount)(),(0,a.finalize)((()=>{this.playerInfo$=null}))),this.playerInfo$.subscribe((()=>{}),(t=>{console.error(t),404==t.status&&this.playerInfoUpdates$.next([]),e&&e.theFunction&&e.theFunction.call(e.callerInstance)}))),this.playerInfoUpdates$}fetchPlayerDetails(){const e={withCredentials:!0,headers:{"X-LANGUAGE":this.language}};return this.http.get(this.url,e).pipe((0,a.map)((e=>{this.playerInfoUpdates$.next(e)})))}initPolling(){this.playerDetailsSubscription$=(0,o.interval)(e.POLLING_INTERVAL_MILLISECONDS).pipe((0,a.mergeMap)((()=>this.fetchPlayerDetails()))).subscribe((()=>{}))}redeemPoints(e){return this.http.post(this.redeemPointsURL(),e,{withCredentials:!0})}redeemPointsForCM(e,t){return this.http.post(this.redeemPointsURLForCM(t),e,{withCredentials:!0})}adjustPointsForCM(e,t){return this.http.put(this.adjustPointsURLForCM(t),e,{withCredentials:!0})}getLoyaltyExclusionV2(e){return this.http.get(this.exclusionV2URL(e),{withCredentials:!0})}updateLoyaltyExclusionV2(e,t){return this.http.put(this.exclusionV2URL(e),{exclusions:t},{withCredentials:!0})}isPlayerNotExcludedAndAvailableProgram(e){return e&&Object.keys(e).length>0&&!e.excluded}playerInfoURL(){return`${this.playersUrl}/<sessionId>/external`}playerInfoURLForCM(e){return`${this.playersUrl}/${e}/external`}exclusionV2URL(e){return`${this.playersUrlV2}/${e}/exclusion`}redeemPointsURL(){return`${this.playersUrl}/<sessionId>/redeem`}redeemPointsURLForCM(e){return`${this.playersUrl}/${e}/redeem`}adjustPointsURLForCM(e){return`${this.playersUrl}/${e}/adjustPoints`}}return e.POLLING_INTERVAL_MILLISECONDS=3e4,e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.HttpClient),s["ɵɵinject"](r.T))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},79560:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},19799:(e,t,n)=>{"use strict";n.d(t,{R:()=>o});var i=n(6856),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({imports:[[i.CommonModule]]}),e})()},81869:(e,t,n)=>{"use strict";n.d(t,{E:()=>a});var i=n(74362),r=n(97963),o=n(57826);let a=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({providers:[i.q,r.T]}),e})()},97963:(e,t,n)=>{"use strict";n.d(t,{T:()=>s});var i=n(68335),r=n(43431),o=n(42998),a=n(57826);let s=(()=>{class e{constructor(e,t){this.contentSectionService=e,this.cmsFeatureFlagService=t}getContentObservable(){return this.contentSectionService.getSectionBySlug("loyalty-redemption").pipe((0,o.map)((e=>this.cmsFeatureFlagService.isSectionEnabled("footer")?e.fields:{link:e.value})))}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.l),a["ɵɵinject"](r.u))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},60725:(e,t,n)=>{"use strict";n.d(t,{K:()=>m});var i=n(64762),r=n(41931),o=n(35294),a=(n(89309),n(84781)),s=n(32711),c=n(91184),l=n(4309),d=n(84825);class u{constructor(e,t,n,i,r,o,a,s,c,l,d,u,p,h,m,f,g,v,b,y,S,C,x,I,w,E,T,P){this.programId=e,this.rewardName=t,this.excluded=n,this.tierPoints=i,this.criteriaPoints=r,this.redemptionPoints=o,this.redemptionAmount=a,this.redemptionPointsName=s,this.redemptionPointsToExpire=c,this.redemptionAmountToExpire=l,this.redemptionPointsToExpireDate=d,this.currencyCode=u,this.currentTierId=p,this.currentThreshold=h,this.nextTierId=m,this.nextThreshold=f,this.previousTierId=g,this.currentTierIndex=v,this.numTotalTiers=b,this.link=y,this.lastTierUpgradeDate=S,this.tiersInfo=C,this.limitReached=x,this.limitExpirationDate=I,this.playerSegment=w,this.pokerPointsRatio=E,this.minRedeemableAmount=T,this.maxRedeemableAmount=P}}var p=n(74362),h=n(57826);class m extends a.d{constructor(e,t,n){super(),this.pointsService=e,this.stateStore=t,this.playerChatMetadataService=n,this.initialised=!1,this.playerDetailsSubject=new l.ReplaySubject(1)}init(){this.initialised=!0,this.resetPlayerDetails(),this.setRefreshReaction(),this.setLoginStateReaction()}isInitialised(){return this.initialised}getPlayerDetails(){return this.playerDetailsSubject.asObservable()}get updatedPlayerDetails(){return this.playerDetails}get isVip(){let e=this.getCurrentTier();return!!e&&!!e.vip}get currentTierColor(){let e=this.getCurrentTier();return e?e.colour:""}get currentTierName(){let e=this.getCurrentTier();return e?e.name:""}get currentTierId(){return this.playerDetails?this.playerDetails.currentTierId:""}get playerLoyaltyInfoAvailable(){return this.playerDetails&&void 0!==this.playerDetails.excluded&&!this.playerDetails.excluded}get redemptionPoints(){return this.ifLoyaltyInfoAvailable((()=>this.playerDetails.redemptionPoints))}get formattedRedemptionPoints(){return this.ifLoyaltyInfoAvailable((()=>{let e=this.playerDetails.redemptionPoints;return e?e.toFixed(2):""}))}get formattedRedemptionAmount(){return this.ifLoyaltyInfoAvailable((()=>(0,d.au)(this.playerDetails.redemptionAmount)))}get programRewardName(){return this.getProgramRewardName(this.playerDetails)}get pokerPointsRatio(){return this.ifLoyaltyInfoAvailable((()=>this.playerDetails.pokerPointsRatio))}getProgramRewardName(e){return this.ifLoyaltyInfoAvailable((()=>e.redemptionPointsName||""))}setPlayerDetails(e){this.playerDetails=e}resetPlayerDetails(){this.pointsService.unsubscribeToPlayerDetails(),this.setPlayerDetails(void 0)}setRefreshReaction(){(0,s.U5)((()=>this.mustRefresh),(()=>{this.pointsService.getPlayerInfo().subscribe((e=>{this.playerDetails=e,this.playerChatMetadataService.onPlayerLoyaltyPointsUpdate(this.isVip,this.playerDetails.playerSegment),this.playerDetailsSubject.next(this.populateSubjectData(e)),this.done()}),(e=>this.error()))}))}populateSubjectData(e){return{programRewardName:this.getProgramRewardName(e)}}setLoginStateReaction(){(0,s.EH)((()=>{this.stateStore.loginState?this.refresh():this.resetPlayerDetails()}))}getCurrentTier(){if(this.playerDetails&&this.playerDetails.currentTierId&&this.playerDetails.tiersInfo&&!this.playerDetails.excluded)return this.playerDetails.tiersInfo[this.playerDetails.currentTierId]}ifLoyaltyInfoAvailable(e){return this.playerLoyaltyInfoAvailable?e.apply(this):void 0}}m.ɵfac=function(e){return new(e||m)(h["ɵɵinject"](p.q),h["ɵɵinject"](o.X),h["ɵɵinject"](r.w))},m.ɵprov=h["ɵɵdefineInjectable"]({token:m,factory:m.ɵfac}),(0,i.__decorate)([c.LO,(0,i.__metadata)("design:type",u)],m.prototype,"playerDetails",void 0),(0,i.__decorate)([c.Fl,(0,i.__metadata)("design:type",u),(0,i.__metadata)("design:paramtypes",[])],m.prototype,"updatedPlayerDetails",null),(0,i.__decorate)([c.Fl,(0,i.__metadata)("design:type",Boolean),(0,i.__metadata)("design:paramtypes",[])],m.prototype,"isVip",null),(0,i.__decorate)([c.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],m.prototype,"currentTierColor",null),(0,i.__decorate)([c.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],m.prototype,"currentTierName",null),(0,i.__decorate)([c.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],m.prototype,"currentTierId",null),(0,i.__decorate)([c.Fl,(0,i.__metadata)("design:type",Boolean),(0,i.__metadata)("design:paramtypes",[])],m.prototype,"playerLoyaltyInfoAvailable",null),(0,i.__decorate)([c.Fl,(0,i.__metadata)("design:type",Number),(0,i.__metadata)("design:paramtypes",[])],m.prototype,"redemptionPoints",null),(0,i.__decorate)([c.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],m.prototype,"formattedRedemptionPoints",null),(0,i.__decorate)([c.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],m.prototype,"formattedRedemptionAmount",null),(0,i.__decorate)([c.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],m.prototype,"programRewardName",null),(0,i.__decorate)([c.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],m.prototype,"pokerPointsRatio",null),(0,i.__decorate)([c.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[u]),(0,i.__metadata)("design:returntype",void 0)],m.prototype,"setPlayerDetails",null)},32446:(e,t,n)=>{"use strict";n.d(t,{P:()=>s});var i=n(73753),r=n(6856),o=n(84704),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[o.a,i.RouterModule,r.CommonModule]]}),e})()},57223:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var i=n(84704),r=n(97815),o=n(57826);let a=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({providers:[r.r],imports:[[i.a]]}),e})()},26090:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var i=n(6856),r=n(46333),o=n(32866),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[i.CommonModule,r.d,o.g]]}),e})()},91377:(e,t,n)=>{"use strict";n.d(t,{E:()=>g});var i=n(64762),r=n(57826),o=n(45965),a=n(84860),s=n(35294),c=n(32711),l=n(91184),d=n(4309),u=n(20151),p=n(92947),h=n(84781),m=n(42998),f=n(6856);class g extends h.d{constructor(e,t,n,i){super(),this.appState=e,this.siteConfigService=t,this.profileService=n,this.platformId=i,this.profileStatus=u.e.UNKNOWN,this.isDocumentVerificationEnabled=!1,this.setStatusFromResponse=e=>{e&&(this.setStatus(u.e[e.status]),this.done())},this.setStatusOnError=()=>{this.setStatus(u.e.UNKNOWN),this.error()}}init(){(0,f.isPlatformBrowser)(this.platformId)&&(this.isDocumentVerificationEnabled=this.siteConfigService.isFeaturePresent(a.L.documentVerification),this.isDocumentVerificationEnabled&&(this.setLoginStateReaction(),(0,c.U5)((()=>this.mustRefresh),(()=>this.initDocumentVerificationStatus())),this.startPolling(),this.initDocumentVerificationStatus()))}setLoginStateReaction(){(0,c.EH)((()=>{this.appState.loginState?this.refresh():this.setStatus(u.e.UNKNOWN)}))}initDocumentVerificationStatus(){this.profileService.getDocumentVerificationStatus().subscribe(this.setStatusFromResponse,this.setStatusOnError)}startPolling(){(0,d.interval)(g.POLLING_INTERVAL_MILLISECONDS).pipe((0,m.mergeMap)((()=>this.profileService.getDocumentVerificationStatus()))).subscribe(this.setStatusFromResponse,this.setStatusOnError)}get documentStatus(){return this.profileStatus}setStatus(e){this.profileStatus=e}}g.POLLING_INTERVAL_MILLISECONDS=3e4,g.ɵfac=function(e){return new(e||g)(r["ɵɵinject"](s.X),r["ɵɵinject"](o.r),r["ɵɵinject"](p.H),r["ɵɵinject"](r.PLATFORM_ID))},g.ɵprov=r["ɵɵdefineInjectable"]({token:g,factory:g.ɵfac}),(0,i.__decorate)([l.LO,(0,i.__metadata)("design:type",String)],g.prototype,"profileStatus",void 0),(0,i.__decorate)([l.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],g.prototype,"documentStatus",null),(0,i.__decorate)([l.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[String]),(0,i.__metadata)("design:returntype",void 0)],g.prototype,"setStatus",null)},32866:(e,t,n)=>{"use strict";n.d(t,{g:()=>s});var i=n(57826),r=n(91377),o=n(91691),a=n(46333);let s=(()=>{class e{static forRoot(){return{ngModule:e,providers:[r.E]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[o.C,a.d]]}),e})()},67864:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var i=n(73753),r=n(6856),o=n(84704),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[o.a,i.RouterModule,r.CommonModule]]}),e})()},53612:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var i=n(79611),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:[i.k]}),e})()},79611:(e,t,n)=>{"use strict";n.d(t,{k:()=>s});var i=n(23550),r=n(4309),o=n(42998),a=n(57826);let s=(()=>{class e{constructor(e){this.http=e,this.forgotPinRequested$=new r.Subject}url(){return"/services/player-verification/v1/profiles/<sessionId>/verifications/PIN_CODE/request-reset"}requestForgotPin(){return this.forgotPinRequest||(this.forgotPinRequest=this.http.post(this.url(),null,{observe:"response"}).pipe((0,o.map)((e=>(this.forgotPinRequest=null,e.ok&&this.forgotPinRequested$.next(),null))),(0,o.catchError)((e=>(this.forgotPinRequest=null,(0,r.throwError)(e)))))),this.forgotPinRequest}getForgotPinRequested(){return this.forgotPinRequested$}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.HttpClient))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},69937:(e,t,n)=>{"use strict";n.d(t,{p:()=>s});var i=n(6856),r=n(46333),o=n(14867),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[i.CommonModule,r.d,o.b]]}),e})()},21111:(e,t,n)=>{"use strict";n.d(t,{G:()=>m});var i=n(64762),r=n(23550),o=n(55640),a=n(45965),s=n(35294),c=n(32711),l=n(91184),d=n(4309),u=n(37521),p=n(72243),h=n(57826);class m{constructor(e,t,n,i){this.httpService=e,this.appState=t,this.siteConfigService=n,this.browserStorageService=i,this.phoneStatus=u.k.UNKNOWN,this.timesUpdated=0,this.dataLoaded$=new d.ReplaySubject(null)}init(){this.isPhoneValidationEnabled=this.siteConfigService.getSiteConfigProp(m.PHONE_VALIDATION_ENABLED),this.isFourStopPhoneValidationEnabled=this.siteConfigService.getSiteConfigProp(m.PHONE_TYPE_VALIDATION_ENABLED),this.isPhoneValidationEnabled?(this.updatePhoneStatus(),(0,c.U5)((()=>this.appState.loginState),(()=>this.updatePhoneStatus()))):this.dataLoaded$.next(!0)}updatePhoneStatus(){this.appState.loginState?this.retrievePhoneStatusFromBackend():(this.phoneStatus=u.k.UNKNOWN,this.phoneTypeValid=void 0,this.incrementTimesUpdated())}retrievePhoneStatusFromBackend(){this.getPhoneStatus().subscribe((e=>{this.setStatus(e.status),this.setPhoneTypeValid(this.isPhoneTypeValid(e)),this.incrementTimesUpdated(),this.dataLoaded$.next(!0)}),(()=>{this.setStatus(u.k.UNKNOWN),this.setPhoneTypeValid(void 0),this.incrementTimesUpdated(),this.dataLoaded$.next(!1)}))}getPhoneStatus(){return this.httpService.get(m.CHECK_PHONE_STATUS_PATH,{withCredentials:!0})}setStatus(e){this.phoneStatus=e}setPhoneTypeValid(e){this.phoneTypeValid=e}incrementTimesUpdated(){this.timesUpdated++}updateToNotValidated(e,t){this.isPhoneValidationEnabled&&e.hasPhoneChanged()&&(this.setStatus(u.k.NOT_VALIDATED),this.incrementTimesUpdated(),t())}isPhoneTypeValid(e){const t=e.phoneProfilingStatus;if(!this.isFourStopPhoneValidationEnabled||"PENDING"!==t)return this.validateProfilingStatus(t);const n=this.browserStorageService.getAndRemove(m.PHONE_STATUS_KEY);return this.validateProfilingStatus(p.y[n])}validateProfilingStatus(e){return!e||e!==p.y.INVALID}}m.CHECK_PHONE_STATUS_PATH="/services/profile/v1/phone-status/profile/<sessionId>",m.PHONE_VALIDATION_ENABLED="phoneValidationEnabled",m.PHONE_TYPE_VALIDATION_ENABLED="phoneTypeValidationEnabled",m.PHONE_STATUS_KEY="phoneStatus",m.ɵfac=function(e){return new(e||m)(h["ɵɵinject"](r.HttpClient),h["ɵɵinject"](s.X),h["ɵɵinject"](a.r),h["ɵɵinject"](o.z))},m.ɵprov=h["ɵɵdefineInjectable"]({token:m,factory:m.ɵfac}),(0,i.__decorate)([l.LO,(0,i.__metadata)("design:type",String)],m.prototype,"phoneStatus",void 0),(0,i.__decorate)([l.LO,(0,i.__metadata)("design:type",Boolean)],m.prototype,"phoneTypeValid",void 0),(0,i.__decorate)([l.LO,(0,i.__metadata)("design:type",Number)],m.prototype,"timesUpdated",void 0),(0,i.__decorate)([l.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[String]),(0,i.__metadata)("design:returntype",void 0)],m.prototype,"setStatus",null),(0,i.__decorate)([l.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[Boolean]),(0,i.__metadata)("design:returntype",void 0)],m.prototype,"setPhoneTypeValid",null),(0,i.__decorate)([l.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],m.prototype,"incrementTimesUpdated",null)},14867:(e,t,n)=>{"use strict";n.d(t,{b:()=>s});var i=n(57826),r=n(21111),o=n(91691),a=n(46333);let s=(()=>{class e{static forRoot(){return{ngModule:e,providers:[r.G]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[o.C,a.d]]}),e})()},72243:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});var i=(()=>(function(e){e.VALID="VALID",e.INVALID="INVALID",e.PENDING="PENDING",e.ERROR="ERROR"}(i||(i={})),i))()},44236:(e,t,n)=>{"use strict";n.d(t,{S:()=>a});var i=n(14867),r=n(97815),o=n(57826);let a=(()=>{class e{static forRoot(){return{ngModule:e,providers:[r.r]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({imports:[[i.b]]}),e})()},97815:(e,t,n)=>{"use strict";n.d(t,{r:()=>c});var i=n(45965),r=n(37521),o=n(21111),a=n(82846),s=n(57826);let c=(()=>{class e{constructor(t,n,i){this.cookieStorageService=t,this.phoneStatusStore=n,this.siteConfigService=i,this.phoneValidationsSections=this.siteConfigService.getSiteConfigProp(e.PHONE_VALIDATION_SECTIONS),this.phoneTypeValidationSections=this.siteConfigService.getSiteConfigProp(e.PHONE_TYPE_VALIDATION_SECTIONS)}shouldSectionBeBlockedByPhoneValidation(e){return this.isSectionBlockedByPhoneValidation(e)&&this.isPhoneNotValidated()}shouldSectionBeBlockedByPhoneTypeValidation(e){return(this.isSectionBlockedByPhoneTypeValidation(e)||this.isSectionBlockedByCookie(e))&&this.isPhoneTypeNotValid()}isPhoneNotValidated(){return this.phoneStatusStore.phoneStatus===r.k.NOT_VALIDATED}isPhoneTypeNotValid(){return!this.phoneStatusStore.phoneTypeValid}isSectionBlockedByPhoneValidation(e){return!e||this.phoneValidationsSections.indexOf(e)>-1}isSectionBlockedByPhoneTypeValidation(e){return!e||this.phoneTypeValidationSections.indexOf(e)>-1}isSectionBlockedByCookie(t){const n=this.cookieStorageService.get(e.PHONE_TYPE_VALIDATION_BLOCKED_SECTION_COOKIE);if(!n)return!1;const i=n.split(",");return!t||i.includes(t)}}return e.PHONE_TYPE_VALIDATION_BLOCKED_SECTION_COOKIE="PHONE_TYPE_VALIDATION_BLOCKED_SECTION_COOKIE",e.PHONE_VALIDATION_SECTIONS="phoneValidationSections",e.PHONE_TYPE_VALIDATION_SECTIONS="phoneTypeValidationSections",e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](a.G),s["ɵɵinject"](o.G),s["ɵɵinject"](i.r))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})()},70141:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var i=n(73753),r=n(6856),o=n(84704),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[o.a,i.RouterModule,r.CommonModule]]}),e})()},37307:(e,t,n)=>{"use strict";n.d(t,{S:()=>s});var i=n(73753),r=n(96299),o=n(45965),a=n(57826);let s=(()=>{class e{constructor(e,t,n){this.previewModeService=e,this.siteConfigService=t,this.router=n}canActivate(e,t){return!(!this.previewModeService.isPreviewMode()&&!this.siteConfigService.getSiteConfigProp("joinEnabled"))||this.router.parseUrl("/404")}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](r.q),a["ɵɵinject"](o.r),a["ɵɵinject"](i.Router))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},6969:(e,t,n)=>{"use strict";n.d(t,{H8:()=>h,Yc:()=>m});var i=n(92116),r=n(23550),o=n(55640),a=n(48108),s=n(45965),c=n(4309),l=n(42998),d=n(10599),u=n(18207),p=n(57826);let h=(()=>{class e{constructor(e,t,n,i){this.http=e,this.languageService=t,this.storageService=n,this.siteConfigService=i,this.sharingMethodMapping={rafcopy:"COPY",rafemail:"EMAIL",rafsms:"SMS"},this.signUpUrl="/api/v1/signup",this.registrationEvent$=new c.Subject,this.deferredEvent=new c.Subject,this.languageService.getLanguage().subscribe((e=>this.language=e))}createProfile(e){return e.attributes?e.attributes.language=this.language:e.attributes=new d.m(this.language),this.referralNotExpired()&&this.addReferralInfo(e),this.http.post(this.signUpUrl,e).pipe((0,l.tap)((e=>{e&&e.sessionId&&this.clearReferralInfo()})),(0,l.catchError)((e=>(0,u._)(e))))}getRegistrationEvent(){return this.registrationEvent$}publishRegistrationEvent(e){this.registrationEvent$.next(e)}sendDuplicatedEmailEvent(){this.deferredEvent.next(new f)}referralNotExpired(){let e=new Date(+this.storageService.get(i.zc)),t=+this.siteConfigService.getSiteConfigProp("myAffiliateTokenExpiration");return e.setDate(e.getDate()+t),e>=new Date}addReferralInfo(e){let t,n=this.storageService.get(i.EI),r=this.storageService.get(i.jj),o=this.storageService.get(i.HM);n&&(t=r&&r in this.sharingMethodMapping?this.sharingMethodMapping[r]:i.ln,e.referral={type:o,token:n,referredBySource:t});let a=this.storageService.get(i.F$);a&&(e.referral?e.referral.affiliateId=a:e.referral={affiliateId:a,type:o})}clearReferralInfo(){this.storageService.remove(i.EI),this.storageService.remove(i.jj),this.storageService.remove(i.HM),this.storageService.remove(i.F$),this.storageService.remove(i.zc)}}return e.ɵfac=function(t){return new(t||e)(p["ɵɵinject"](r.HttpClient),p["ɵɵinject"](a.T),p["ɵɵinject"](o.z),p["ɵɵinject"](s.r))},e.ɵprov=p["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();class m{constructor(e,t){this.sessionId=e,this.postCFUrl=t}}class f{}},77194:(e,t,n)=>{"use strict";n.d(t,{P:()=>o});var i=n(6969),r=n(57826);let o=(()=>{class e{static forRoot(){return{ngModule:e,providers:[i.H8]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({}),e})()},76580:(e,t,n)=>{"use strict";n.d(t,{M:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.headerLevel2=!0}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},52149:(e,t,n)=>{"use strict";n.d(t,{l:()=>s});var i=n(23550),r=n(4309),o=n(42998),a=n(57826);let s=(()=>{class e{constructor(e){this.http=e}searchProfiles(e){return this.searchProfilesPaginated(e).pipe((0,o.map)((e=>e.items)))}searchProfileByProfileId(e){return this.http.get(this.getUrl(e)).pipe((0,o.catchError)(this.handlError))}handlError(e){return"404"==e.status?(0,r.of)({}):(0,r.throwError)(e)}getUrl(t){return e.SEARCH_URL+`/${t}`}searchProfilesPaginated(t,n={}){return this.http.get(e.SEARCH_URL,{withCredentials:!0,params:this.buildQueryParams(t,n)}).pipe((0,o.publishLast)(),(0,o.refCount)())}buildQueryParams(e,t){let n=new i.HttpParams;return n=this.fillQueryParamsWithObjectProperties(n,e),n=this.fillQueryParamsWithObjectProperties(n,t),n}fillQueryParamsWithObjectProperties(e,t){return Object.keys(t).forEach((n=>{const i=t[n];i&&(e=e.set(n,i))})),e}}return e.SEARCH_URL="/services/profile-search/v1/profiles",e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.HttpClient))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},17505:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.headerLevel2=!0}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},92969:(e,t,n)=>{"use strict";n.d(t,{U:()=>h});var i=n(84704),r=n(36873),o=n(40475),a=n(39211),s=n(50536),c=n(8807),l=n(53612),d=n(80493),u=n(34725),p=n(57826);let h=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=p["ɵɵdefineNgModule"]({type:e}),e.ɵinj=p["ɵɵdefineInjector"]({providers:[d.a],imports:[[c.E,i.a,o.ReactiveFormsModule,r.U8,a.N,u.x,s.j,l.r]]}),e})()},80493:(e,t,n)=>{"use strict";n.d(t,{a:()=>s});var i=n(23550),r=n(4309),o=n(42998),a=n(57826);let s=(()=>{class e{constructor(e){this.http=e,this.verifyPinRequested$=new r.Subject}url(){return"/services/player-verification/v1/profiles/<sessionId>/verifications/verify"}verifyPin(e){return this.verifyPinRequest||(this.verifyPinRequest=this.http.put(this.url(),{operation:"profile_update",verificationType:"PIN_CODE",currentValue:e}).pipe((0,o.map)((t=>(this.verifyPinRequest=null,this.verifyPinRequested$.next(e),t))),(0,o.catchError)((e=>(this.verifyPinRequest=null,(0,r.throwError)(e)))))),this.verifyPinRequest}getVerifyPinRequested(){return this.verifyPinRequested$}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.HttpClient))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},24171:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var i=n(23550),r=n(4309),o=n(42998),a=n(83330),s=n(57826);let c=(()=>{class e{constructor(e){this.http=e,this.baseUrl="/ecomm/proxy-api/fraud"}getUrl(e,t){return`${this.baseUrl}/bxstatus/sites/${e}/profiles/${t}?_=${Date.now()}`}getFraudStatus(e,t){return this.http.get(this.getUrl(e,t),{headers:a.iq}).pipe((0,o.catchError)((()=>(0,r.of)("profileDetails.fraud.service.not.available"))))}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.HttpClient))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},21807:(e,t,n)=>{"use strict";n.d(t,{h:()=>c});var i=n(23550),r=n(4309),o=n(42998),a=n(83330),s=n(57826);let c=(()=>{class e{constructor(e){this.http=e,this.baseUrl="/ecomm/proxy-api/profiles"}getUrl(e){return`${this.baseUrl}/${e}/categories`}getPPCs(e){return this.http.get(this.getUrl(e),{headers:a.iq}).pipe((0,o.catchError)((()=>(0,r.of)("profileDetails.ppcs.service.not.available"))))}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.HttpClient))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},83330:(e,t,n)=>{"use strict";n.d(t,{EE:()=>r,iq:()=>i});const i=new(n(23550).HttpHeaders)({"Content-Type":"application/json",Authorization:"Basic cWEtZWNvbW0tbGludDpBclYzSDlHWTZRd1FXUk4="}),r="DUPLICATED_PHONE"},85898:(e,t,n)=>{"use strict";n.d(t,{f:()=>u});var i=n(30173),r=n(48108),o=n(45965),a=n(76693),s=n(42998);class c{constructor(e,t){this.pattern=e,this.mask=t}}var l=n(57826);const d=["-"];let u=(()=>{class e{constructor(e,t,n){this.defaultDateFormat=new c("MM-DD-YYYY",[/[0-1]/,/\d/,"-",/[0-3]/,/\d/,"-",/[1-2]/,/\d/,/\d/,/\d/]),this.zhHansDateFormat=new c("YYYY-MM-DD",[/[1-2]/,/\d/,/\d/,/\d/,"-",/[0-1]/,/\d/,"-",/[0-3]/,/\d/]),this.latamDateFormat=new c("DD-MM-YYYY",[/[0-3]/,/\d/,"-",/[0-1]/,/\d/,"-",/[1-2]/,/\d/,/\d/,/\d/]),this.customDateFormats={"zh-hans":this.zhHansDateFormat,es:this.latamDateFormat,pt:this.latamDateFormat},this.siteConfigDateFormat=this.generateSiteConfigDateFormat(n),this.dateFormat$=e.getLanguage().pipe((0,s.map)((e=>this.siteConfigDateFormat||this.customDateFormats[e]||this.defaultDateFormat))),t.isDesktop()?this.siteConfigDateFormat&&this.siteConfigDateFormat.pattern?this.datePattern=this.siteConfigDateFormat.pattern:this.dateFormat.subscribe((e=>this.datePattern=e.pattern)):this.datePattern=a.D.HTML5_DATE_PATTERN}get dateFormat(){return this.dateFormat$}getSiteConfigDateFormat(){return this.siteConfigDateFormat}parseDateToBackend(e){return a.D.resolveMoment(e,this.datePattern).toISOString()||""}parseDateFromBackend(e){return e?a.D.resolveMoment(e,"YYYY-MM-DD[T]HH:mm:ss[Z]").format(this.datePattern):""}generateSiteConfigDateFormat(e){let t=e.getSiteConfigProp("dateMask"),n=t?t.split(",").map((e=>e.trim())).map((e=>d.includes(e)?e:new RegExp(e))):[];return t&&0!==t.length?new c(e.getSiteConfigProp("dateFormat"),n):null}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](r.T),l["ɵɵinject"](i.U),l["ɵɵinject"](o.r))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},34725:(e,t,n)=>{"use strict";n.d(t,{x:()=>C});var i=n(6856),r=n(21807),o=n(79346),a=n(55640),s=(n(73753),n(42998)),c=n(92947),l=n(57826);let d=(()=>{class e{constructor(e){this.profileService=e}resolve(e){return this.profileService.getProfileDetailsPlayer().pipe((0,s.map)((e=>({profile:e}))))}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](c.H))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var u=n(17443),p=n(23550),h=n(4309);class m{constructor(e,t){this.playerGroup=e,this.lineGroup=t}}let f=(()=>{class e{constructor(e){this.http=e,this.sportsAccountsUrl="/services/sports-accounts",this.sportsAccountUrl=e=>`${this.sportsAccountsUrl}/external/${e}`}getPlayerSportsDetails(e){return this.http.get(this.sportsAccountUrl(e),{withCredentials:!0}).pipe((0,s.map)((e=>{let t=e.playerProfileGroup.description,n=e.lineDescription||e.playerProfileGroup.lineDescription;return new m(t,n)})),(0,s.catchError)((e=>404===e.status?(0,h.of)(new m):(0,h.throwError)(e))))}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](p.HttpClient))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var g=n(8807),v=n(85898);class b{constructor(e="",t=""){this.documentNumber=e,this.documentType=t}}let y=(()=>{class e{constructor(e){this.http=e,this.baseUrl="/services/ecomm/v1/private/api"}getUrl(e){return`${this.baseUrl}/security-profiles/${e}/security-document-info`}getSecurityDocumentInfo(e){return this.http.get(this.getUrl(e),{withCredentials:!0}).pipe((0,s.map)((e=>new b(e[0].documentNumber,e[0].documentType))),(0,s.catchError)((e=>404===e.status?(0,h.of)(new b):(0,h.throwError)(e))))}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](p.HttpClient))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var S=n(52149);let C=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=l["ɵɵdefineNgModule"]({type:e}),e.ɵinj=l["ɵɵdefineInjector"]({providers:[d,a.z,r.h,f,v.f,y,S.l],imports:[[i.CommonModule,g.E,u.S,o.C],i.CommonModule]}),e})()},92947:(e,t,n)=>{"use strict";n.d(t,{H:()=>p});var i=n(95556),r=n(98896),o=n(23550),a=n(4309),s=n(42998),c=n(65700),l=(()=>(function(e){e.ID_DOCUMENT="ID_DOCUMENT"}(l||(l={})),l))(),d=n(83330),u=n(57826);class p{constructor(e,t,n){this.httpClient=e,this.brandConfigurationService=t,this.sessionService=n,this.pinCodeUpdated$=new a.Subject}static documentVerificationStatusUrl(e){return`${this.PLAYER_ACCOUNT_DOCUMENT_VERIFICATION_STATUS_BASE_URL}${e}`}getProfileInfoUrl(e){return`${p.GET_PROFILE_INFO_URL}/${e}`}getUrl(e){return`${p.BASE_URL}/${e}`}getPatchSettingUrl(e){return`${p.PROFILE_PATCH_URL}/${e}`}getPlayerVerificationAccoutStatusUrl(e,t){return`${t&&"AGENT"===t?p.AGENT_ACCOUNT_STATUS_BASE_URL:p.PLAYER_VERIFICATION_ACCOUNT_STATUS_BASE_URL}/${e}/status`}getStatusUpdateUrl(e){return`${p.PROFILE_STATUS_UPDATE_URL}/${e}`}getAccountStatusByOperationUrl(e){return`/${p.PLAYER_VERIFICATION_ACCOUNT_STATUS_BASE_URL}/<sessionId>/operations/${e}/status`}getAccountDocumentVerificationStatus(e){let t=this.httpClient.get(p.documentVerificationStatusUrl(e),{params:{documentType:l[l.ID_DOCUMENT]}});return this.handleBackendResponse(t)}getDocumentVerificationStatus(){let e=this.httpClient.get(p.PLAYER_DOCUMENT_VERIFICATION_STATUS_BASE_URL,{params:{documentType:l[l.ID_DOCUMENT]}});return this.handleBackendResponse(e)}updateDocumentVerificationStatus(e,t){let n=this.httpClient.post(p.documentVerificationStatusUrl(e),t);return this.handleBackendResponse(n)}updateDocumentVerificationStatusToPending(){let e=this.httpClient.post(p.PLAYER_DOCUMENT_VERIFICATION_PENDING_UPDATE+"?documentType=ID_DOCUMENT",{});return this.handleBackendResponse(e)}getIdentityVerificationUrl(){let e=this.httpClient.get(p.GET_DOCUMENT_VERIFICATION_URL,{withCredentials:!0});return this.handleBackendResponse(e)}getProfileDetails(e){let t=this.httpClient.get(this.getProfileInfoUrl(e),{withCredentials:!0});return this.handleBackendResponse(t)}getProfileDetailsPlayer(){if(!this.profileDetailsPlayer$&&this.sessionService.isAuthenticated())this.profileDetailsPlayer$=this.httpClient.get(p.GET_PROFILE_INFO_PLAYER,{withCredentials:!0}).pipe((0,s.publishReplay)(1),(0,s.refCount)()).pipe((0,s.catchError)((e=>(0,a.throwError)(e.error||"Internal Server Error"))));else if(!this.sessionService.isAuthenticated())return(0,a.empty)();return this.profileDetailsPlayer$}cleanProfileDetailsPlayer(){this.profileDetailsPlayer$=null}getPinCodeUpdated(){return this.pinCodeUpdated$}patchProfile(e){return this.cleanProfileDetailsPlayer(),this.httpClient.put(p.PROFILE_PUT_URL,e,{withCredentials:!0,headers:new o.HttpHeaders({"X-MFA-OPERATION":"updateProfile"})})}updatePhoneNumber(e){return this.cleanProfileDetailsPlayer(),this.httpClient.patch(p.UPDATE_PHONE_NUMBER_URL,{phoneNumber:e},{withCredentials:!0}).pipe((0,s.catchError)(this.handleUpdatePhoneError))}handleUpdatePhoneError(e){let t=e.error;return 409===e.status&&t&&t.errorCode&&t.errorCode===d.EE?(0,a.throwError)(d.EE):(0,a.throwError)("Internal Server Error")}patchUsername(e){return this.cleanProfileDetailsPlayer(),this.httpClient.put(p.PROFILE_PUT_USERNAME_URL+e,null,{withCredentials:!0})}internalPatchProfile(e,t){return this.cleanProfileDetailsPlayer(),this.httpClient.patch(this.getPatchSettingUrl(e),t,{withCredentials:!0})}updateProfile(e){return this.cleanProfileDetailsPlayer(),this.httpClient.put(this.getUrl(e.profileId),e)}disableProfile(e){this.cleanProfileDetailsPlayer();let t=this.httpClient.delete(this.getUrl(e));return this.handleBackendResponse(t)}updateStatusAndCreateMessage(e,t){this.cleanProfileDetailsPlayer();let n=this.httpClient.put(this.getStatusUpdateUrl(e),t);return this.handleBackendResponse(n)}updatePinCode(e){return this.cleanProfileDetailsPlayer(),this.httpClient.put(p.SET_PIN_CODE_URL,{pinCode:e},{withCredentials:!0}).pipe((0,s.map)((()=>{this.pinCodeUpdated$.next()})))}isValidPinCode(e){return this.httpClient.post(p.VALID_PIN_CODE_URL,{pinCode:e},{withCredentials:!0}).pipe((0,s.map)((e=>e.valid)))}isValidPinCodeFromVerificationService(e,t,n){return this.isValidPinCodeFromVerificationServiceV2(t,n)}isValidPinCodeFromVerificationServiceV2(e,t){this.cleanProfileDetailsPlayer();let n=`${p.PUBLIC_PLAYER_VERIFICATION_ACCOUNT_STATUS_BASE_URL}/${p.SESSION_ID_PLACEHOLDER}/verifications/verify`;return this.httpClient.put(n,{operation:"cryptoWithdrawal",verificationType:"PIN_CODE",currentValue:e,metadata:{type:"ecomm",data:{method:t}}},{withCredentials:!0})}getAccountStatus(e,t){const n={status:"SERVICE_UNAVAILABLE"};return this.httpClient.get(this.getPlayerVerificationAccoutStatusUrl(e,t),{withCredentials:!0}).pipe((0,s.catchError)((()=>(0,a.of)(n))),(0,s.map)((e=>this.toAccountStatus(e))))}getAccountStatusByOperation(e){const t={status:"SERVICE_UNAVAILABLE"};return this.httpClient.get(this.getAccountStatusByOperationUrl(e)).pipe((0,s.catchError)((()=>(0,a.of)(t))))}getAgentSource(e,t){return this.brandConfigurationService.getBrandProperties(e).pipe((0,s.mergeMap)((e=>e&&e[p.CONFIG_SHOW_AGENT_SOURCE_KEY]&&"true"===e[p.CONFIG_SHOW_AGENT_SOURCE_KEY][0]?this.getAgentProfileId(t).pipe((0,s.concatMap)((e=>{let t=e.agent.parentProfileId;return this.getProfileDetails(t).pipe((0,s.map)((t=>({privileges:e.agent.privileges,profile:t}))))})),(0,s.catchError)((()=>(0,a.of)(null)))):(0,a.of)(null))))}getAgentProfileId(e){return this.httpClient.get(`${p.GET_AGENT_PARENT_PROFILE_URL}/${e}`,{withCredentials:!0,params:{withDetails:"false"}})}unblockAccount(e){return this.httpClient.delete(this.getPlayerVerificationAccoutStatusUrl(e),{withCredentials:!0})}toAccountStatus(e){return new c.dp(e.blockedUntil,e.status)}resolvePlayerName(e){let t=e.firstName||"",n=e.lastName||"",i=e.nickname||"",r=e.username||"",o=e.email||"";return`${t} ${n}`.trim()||i||r||o}handleBackendResponse(e){return e.pipe((0,s.catchError)((e=>(0,a.throwError)(e.error||"Internal Server Error"))))}}p.SESSION_ID_PLACEHOLDER="<sessionId>",p.GET_PROFILE_INFO_URL="/api/v1/profile-info",p.GET_PROFILE_INFO_PLAYER=p.GET_PROFILE_INFO_URL+"/"+p.SESSION_ID_PLACEHOLDER,p.BASE_URL="/api/v1/profiles",p.PROFILE_PLAYER=p.BASE_URL+"/"+p.SESSION_ID_PLACEHOLDER,p.PROFILE_PUT_URL="/services/web/v1/profiles/"+p.SESSION_ID_PLACEHOLDER,p.PROFILE_PUT_USERNAME_URL=p.PROFILE_PUT_URL+"/username/",p.SET_PIN_CODE_URL=p.PROFILE_PLAYER+"/pin-code",p.VALID_PIN_CODE_URL=p.PROFILE_PLAYER+"/valid-pin-code",p.PROFILE_PATCH_URL="/services/profile/v1/profiles",p.PROFILE_STATUS_UPDATE_URL="/services/internal/v1/profiles",p.UPDATE_PHONE_NUMBER_URL=p.BASE_URL+"/"+p.SESSION_ID_PLACEHOLDER+"/update-phone-number",p.PLAYER_ACCOUNT_DOCUMENT_VERIFICATION_STATUS_BASE_URL="/services/profile/v1/document-verification-status/profile/",p.PLAYER_DOCUMENT_VERIFICATION_STATUS_BASE_URL="/api/v1/document-verification-status/profile/"+p.SESSION_ID_PLACEHOLDER,p.PLAYER_DOCUMENT_VERIFICATION_PENDING_UPDATE="/api/v1/document-verification-status/profile/"+p.SESSION_ID_PLACEHOLDER+"/pending",p.GET_DOCUMENT_VERIFICATION_URL="/services/profile-profiling/v1/document-verification/profile/"+p.SESSION_ID_PLACEHOLDER+"/document-verification-url",p.PLAYER_VERIFICATION_ACCOUNT_STATUS_BASE_URL="services/player-verification/v1/profiles",p.AGENT_ACCOUNT_STATUS_BASE_URL="services/agent-account/v1/profiles",p.PUBLIC_PLAYER_VERIFICATION_ACCOUNT_STATUS_BASE_URL="/services/player-verification/v1/profiles",p.GET_AGENT_PARENT_PROFILE_URL="services/agent-profile/v1/agent",p.CONFIG_SHOW_AGENT_SOURCE_KEY="cm.config.profile_details.show_agent_source",p.ɵfac=function(e){return new(e||p)(u["ɵɵinject"](o.HttpClient),u["ɵɵinject"](r.b),u["ɵɵinject"](i.mj))},p.ɵprov=u["ɵɵdefineInjectable"]({token:p,factory:p.ɵfac,providedIn:"root"})},17443:(e,t,n)=>{"use strict";n.d(t,{S:()=>u});var i=n(92947),r=n(57264),o=n(24171),a=n(40829),s=n(4309),c=n(42998),l=n(57826);let d=(()=>{class e{constructor(e){this.profileService=e,this.refresh$=new s.BehaviorSubject(void 0),this.profileDetails$=this.refresh$.pipe((0,c.distinctUntilChanged)(),(0,c.switchMap)((e=>this.profileService.getProfileDetails(e))),(0,c.shareReplay)())}getProfileDetails(e){return this.refresh$.next(e),this.profileDetails$}}return e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](i.H))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),u=(()=>{class e{static forRoot(){return{ngModule:e,providers:[i.H,o.A,a.O,d]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=l["ɵɵdefineNgModule"]({type:e}),e.ɵinj=l["ɵɵdefineInjector"]({imports:[[r.D]]}),e})()},616:(e,t,n)=>{"use strict";n.d(t,{s:()=>f});var i=n(64762),r=n(49994),o=n(41931),a=n(35294),s=n(84781),c=n(13493),l=n(32711),d=n(91184),u=n(4309);class p{constructor(e="",t="",n="",i="",r="",o="",a=[],s={countryCode:""},c={language:"",currency:"",time_zone:""},l="",d="",u="",p=[],h="",m=!1,f=!0,g,v,b,y,S,C,x,I,w,E,T,P,A,_,M,O,k,j=""){this.profileId=e,this.status=t,this.nickname=n,this.brandCode=i,this.email=r,this.username=o,this.phones=a,this.address=s,this.attributes=c,this.firstName=l,this.lastName=d,this.birthdate=u,this.tags=p,this.createdAt=h,this.hasPinCode=m,this.allowUpdate=f,this.subscriptionChannelsEnabled=g,this.subscriptionChannels=v,this.accountStatus=b,this.referral=y,this.accountNumber=S,this.fraudStatus=C,this.sportsDetails=x,this.parent=I,this.privileges=w,this.requiredActions=E,this.cryptoSurvey=T,this.phonePrefix=P,this.hostedPlayerInfo=A,this.pokerPointsRatioEnabled=_,this.features=M,this.personaId=O,this.personaLinkedAccounts=k,this.acceptsGifts=j}}var h=n(92947),m=n(57826);class f extends s.d{constructor(e,t,n,i,r){super(),this.profileService=e,this.currencyService=t,this.timezoneService=n,this.stateStore=i,this.playerChatMetadataService=r,this.profileSubject=new u.ReplaySubject(1)}init(){this.initProfile(),this.setRefreshReaction(),this.setTimezoneReaction(),this.setLoginStateReaction()}getProfile(){return this.profileSubject.asObservable()}get timezone(){return this.profile.attributes.time_zone}get language(){return this.profile.attributes.language}get currency(){return this.profile.attributes.currency}get currencySymbol(){return this.currencyService.getCurrencySymbol(this.currency)}get hasPinCode(){return this.profile.hasPinCode}get playerName(){return[this.profile.firstName,this.profile.lastName].filter(Boolean).join(" ")||this.profile.nickname||this.profile.username||this.profile.email}get countryCode(){return this.profile.address.countryCode}setProfile(e){this.profile=e}get personaLinkedAccounts(){return this.profile&&this.profile.personaLinkedAccounts?this.profile.personaLinkedAccounts.map((e=>e)):[]}get acceptsGifts(){return this.profile.acceptsGifts}initProfile(){this.profileSubscription&&this.profileSubscription.unsubscribe(),this.profileService.cleanProfileDetailsPlayer(),this.setProfile(new p)}setRefreshReaction(){(0,l.U5)((()=>this.mustRefresh),(()=>this.refreshProfile()))}refreshProfile(){this.profileService.cleanProfileDetailsPlayer(),this.profileSubscription=this.profileService.getProfileDetailsPlayer().subscribe((e=>{this.setProfile(e),this.done(),this.playerChatMetadataService.onPlayerProfileUpdated(this.profile),this.profileSubject.next(e)}),(()=>{this.error()}))}setTimezoneReaction(){(0,l.EH)((()=>{this.timezone&&this.timezoneService.setCurrentTimezone(this.timezone)}))}setLoginStateReaction(){(0,l.EH)((()=>{this.stateStore.loginState?this.refresh():this.initProfile()}))}}f.ɵfac=function(e){return new(e||f)(m["ɵɵinject"](h.H),m["ɵɵinject"](r.i),m["ɵɵinject"](c.B),m["ɵɵinject"](a.X),m["ɵɵinject"](o.w))},f.ɵprov=m["ɵɵdefineInjectable"]({token:f,factory:f.ɵfac}),(0,i.__decorate)([d.LO,(0,i.__metadata)("design:type",p)],f.prototype,"profile",void 0),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],f.prototype,"timezone",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],f.prototype,"language",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],f.prototype,"currency",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],f.prototype,"currencySymbol",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Boolean),(0,i.__metadata)("design:paramtypes",[])],f.prototype,"hasPinCode",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],f.prototype,"playerName",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],f.prototype,"countryCode",null),(0,i.__decorate)([d.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[p]),(0,i.__metadata)("design:returntype",void 0)],f.prototype,"setProfile",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Array),(0,i.__metadata)("design:paramtypes",[])],f.prototype,"personaLinkedAccounts",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",String),(0,i.__metadata)("design:paramtypes",[])],f.prototype,"acceptsGifts",null)},33814:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var i=n(616),r=n(38056),o=n(91691),a=n(57826);let s=(()=>{class e{static forRoot(){return{ngModule:e,providers:[i.s,{provide:r.A,useExisting:i.s}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[o.C.forRoot()]]}),e})()},40829:(e,t,n)=>{"use strict";n.d(t,{O:()=>s});var i=n(23550),r=n(4309),o=n(42998),a=n(57826);let s=(()=>{class e{constructor(e){this.http=e,this.baseUrl="/services/required-actions/v1/profiles"}getUrl(e){return`${this.baseUrl}/${e}`}getRequiredActions(e){return this.http.get(this.getUrl(e)).pipe((0,o.map)((e=>e.items.map((e=>({type:e.actionType}))))),(0,o.catchError)((()=>(0,r.of)([]))))}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.HttpClient))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},65700:(e,t,n)=>{"use strict";n.d(t,{TW:()=>o,dp:()=>a,l0:()=>r});var i=n(41759);const r="BLOCKED",o="UNBLOCKED";let a=(()=>{class e{constructor(e,t){this.blockedUntil=e,this.status=t}get getBlockedUntil(){return(0,i.Z)(this.blockedUntil).format(e.BLOCKUNTIL_PATTERN)}}return e.BLOCKUNTIL_PATTERN="MMMM DD YYYY hh:mm a",e})()},37521:(e,t,n)=>{"use strict";n.d(t,{k:()=>i});var i=(()=>(function(e){e.VALIDATED="VALIDATED",e.NOT_VALIDATED="NOT_VALIDATED",e.EXEMPT="EXEMPT",e.UNKNOWN=""}(i||(i={})),i))()},10599:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});class i{constructor(e,t,n,i,r,o,a,s,c,l,d){this.language=e,this.currency=t,this.signup_ip=n,this.time_zone=i,this.pin_code=r,this.legacy_security_mmn=o,this.legacy_security_pob=a,this.territory=s,this.agent_type=c,this.affiliateId=l,this.crypto_count_self_lock=d}}},20151:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var i=(()=>(function(e){e.REQUESTED="REQUESTED",e.VERIFIED="VERIFIED",e.INVALID="INVALID",e.PENDING="PENDING",e.BLOCKED="BLOCKED",e.UNKNOWN=""}(i||(i={})),i))()},43279:(e,t,n)=>{"use strict";n.d(t,{R:()=>u});var i=n(6856),r=n(70141),o=n(84704),a=n(57826);let s=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[o.a]]}),e})();var c=n(57223),l=n(67864),d=n(32446);let u=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=a["ɵɵdefineNgModule"]({type:e}),e.ɵinj=a["ɵɵdefineInjector"]({imports:[[r.S,s,c.B,i.CommonModule,l.h,d.P]]}),e})()},59851:(e,t,n)=>{"use strict";n.d(t,{H3:()=>r,Px:()=>s,RC:()=>o,Uc:()=>p,Wq:()=>u,dU:()=>c,ft:()=>i,ne:()=>a,uk:()=>l,wF:()=>d});const i="",r="pin-code-update",o="account",a="transactions",s="cashier",c="cashier/deposit",l="cashier/withdraw",d="404",u="maintenance",p="blockedfb"},10904:(e,t,n)=>{"use strict";n.d(t,{K:()=>o});var i=n(48108),r=n(57826);let o=(()=>{class e{constructor(e){this.languageService=e,this.urlLang=""}ngOnInit(){this.languageSubscription=this.languageService.getLanguage().subscribe((e=>{this.urlLang=e}))}ngOnDestroy(){this.languageSubscription.unsubscribe()}getCashierMenuUrlMetadata(e){let t={backLink:null,closeLink:"/",closeFragment:"real"},n=e.url.split("?")[0];if((this.isDepositUrl(n,e)||this.isWithdrawUrl(n,e))&&(t.backLink=this.getBackLink(e,n),e.queryParams&&e.queryParams.destination)){let n=e.queryParams.destination.split("#")[0];n=n.replace("/"+this.urlLang+"/","/"),t.closeLink=n,t.closeFragment=e.queryParams.destination.split("#")[1]}return t}getBackLink(e,t){return e.queryParams&&e.queryParams.fromAccount?`/${e.accountMenuUrl}/${e.queryParams.fromAccount}`:this.isDepositPMUrl(t,e)?e.depositUrl:this.isWithdrawPMUrl(t,e)?e.withdrawUrl:`/${e.accountMenuUrl}`}isDepositUrl(e,t){return 0===e.indexOf(t.depositUrl)}isDepositPMUrl(e,t){return this.isDepositUrl(e,t)&&e!=t.depositUrl}isWithdrawUrl(e,t){return 0===e.indexOf(t.withdrawUrl)}isWithdrawPMUrl(e,t){return this.isWithdrawUrl(e,t)&&e!=t.withdrawUrl}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.T))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},79126:(e,t,n)=>{"use strict";n.d(t,{d:()=>s}),n(73753);var i=n(45965),r=n(59851),o=n(81899),a=n(57826);let s=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.windowService=t}canActivate(e,t){if(t.url.indexOf(r.dU)>-1&&!this.siteConfigService.evalFeature("site.config.cashier.deposit.enabled")){let e=this.siteConfigService.getSiteConfigProp("depositRedirect")||`/${r.wF}`;return this.windowService.window().location.href=e,!1}return!0}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.r),a["ɵɵinject"](o.u))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},13580:(e,t,n)=>{"use strict";n.d(t,{C:()=>o});var i=n(4309),r=n(57826);let o=(()=>{class e{constructor(){this.finishedLoading=new i.Subject}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},73743:(e,t,n)=>{"use strict";n.d(t,{l:()=>s}),n(73753);var i=n(45965),r=n(59851),o=n(81899),a=n(57826);let s=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.windowService=t}canActivate(e,t){if(t.url.indexOf(r.uk)>-1&&!this.siteConfigService.evalFeature("site.config.cashier.withdrawal.enabled")){let e=this.siteConfigService.getSiteConfigProp("withdrawalRedirect")||`/${r.wF}`;return this.windowService.window().location.href=e,!1}return!0}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.r),a["ɵɵinject"](o.u))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},29815:(e,t,n)=>{"use strict";n.d(t,{x:()=>d});var i=n(73753),r=n(55640),o=n(4309),a=n(42998),s=n(59851),c=n(42312),l=n(57826);let d=(()=>{class e{constructor(e,t,n){this.router=e,this.firstTimeDepositorService=t,this.browserStorageService=n}canActivate(e,t){return this.firstTimeDepositorService.getFirstTimeDepositor().pipe((0,a.map)((e=>(this.navigateToCashierIfSuccess(t,e),!0))),(0,a.catchError)((()=>(0,o.of)(!0))))}navigateToCashierIfSuccess(t,n){if(void 0!==n&&(!0===n||400===n.status)&&-1===t.url.indexOf("withdraw")){const t={destination:this.browserStorageService.get(e.PREVIOUS_URL_KEY)};this.router.navigate([s.Px,"deposit"],{queryParams:t})}}}return e.PREVIOUS_URL_KEY="previousUrl",e.ɵfac=function(t){return new(t||e)(l["ɵɵinject"](i.Router),l["ɵɵinject"](c.$),l["ɵɵinject"](r.z))},e.ɵprov=l["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},42312:(e,t,n)=>{"use strict";n.d(t,{$:()=>c});var i=n(56159),r=n(2470),o=n(4309),a=n(42998),s=n(57826);let c=(()=>{class e{constructor(e,t){this.logoutService=e,this.paymentProfileInfoDataService=t,this.logoutService.logoutEvent.subscribe((()=>this.isFtd=void 0))}getFirstTimeDepositorAtLogin(){return this.getFirstTimeDepositValue(!1)}getFirstTimeDepositor(){return this.getFirstTimeDepositValue(!0)}getFirstTimeDepositValue(e){return!1===this.isFtd?(0,o.of)(!1):(e&&this.paymentProfileInfoDataService.loadPaymentProfileInfo(),this.paymentProfileInfoDataService.getPaymentProfileInfo().pipe((0,a.map)((e=>(this.isFtd=e.ftd,this.isFtd))),(0,a.catchError)((e=>(0,o.throwError)(e||"Internal Server Error")))))}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.PO),s["ɵɵinject"](r.B))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},47490:(e,t,n)=>{"use strict";n.d(t,{W:()=>p});var i=n(2470),r=n(23550),o=n(30173),a=n(45965),s=n(92947),c=n(4309),l=n(42998),d=n(57826);class u{constructor(e="",t=null,n=[],i,r){this.brand=e,this.profile=t,this.tags=n,this.tier=i,this.urlPrefix=r}}let p=(()=>{class e{constructor(e,t,n,i,r){this.httpClient=e,this.deviceService=t,this.profileService=n,this.siteConfigService=i,this.paymentProfileInfoDataService=r,this.hasTTPSubject=new c.ReplaySubject(1),this.hasCBTSubject=new c.ReplaySubject(1)}loadLoginPaymentMethods(){if(this.siteConfigService.evalFeature("site.config.cashier.paymentMethodGroup.enabled")){const t=(0,c.of)(this.siteConfigService.getSiteConfigProp(e.BRAND_CODE)),n=this.profileService.getProfileDetailsPlayer(),i=this.paymentProfileInfoDataService.getPaymentProfileInfo(),r=(0,c.of)(this.siteConfigService.getSiteConfigProp(e.URL_PREFIX));(0,c.combineLatest)([t,n,i,r]).pipe((0,l.map)((e=>this.createPaymentMethodsGroupRequest(e)))).pipe((0,l.concatMap)((e=>this.requestLoginPaymentMethods(e)))).subscribe((e=>{this.hasTTPSubject.next(this.containTTPMethod(e)),this.hasCBTSubject.next(this.containCBTMethod(e))}),(()=>{this.hasTTPSubject.next(!1),this.hasCBTSubject.next(!1)}))}else this.hasTTPSubject.next(!1),this.hasCBTSubject.next(!1),this.hasTTPSubject.complete(),this.hasCBTSubject.complete()}hasTTPMethod(){return this.hasTTPSubject}hasCBTMethod(){return this.hasCBTSubject}requestLoginPaymentMethods(t){return this.httpClient.get(e.LPM_URL,this.getOptions(t))}createPaymentMethodsGroupRequest(e){const t=e[2];return new u(e[0],e[1],t.cp,t.ct,e[3])}containTTPMethod(t){return null!=t.find((t=>t.code===e.TTP_PAYMENT_METHOD))}containCBTMethod(t){return null!=t.find((t=>t.code===e.CBT_PAYMENT_METHOD))}getOptions(e){let t=this.getGenericOptions(e);return e.urlPrefix&&(t.params.context=e.urlPrefix),e.tier&&(t.params.ct=e.tier),Array.isArray(e.tags)&&e.tags.length&&(t.params.cp=e.tags.toString()),t}getGenericOptions(e){return{withCredentials:!0,params:{channel:this.getChannelCode(),region:this.composeRegion(e.profile),brand:this.getBrandCode(e.profile,e.brand),paymentType:"W",currency:e.profile.attributes.currency}}}getChannelCode(){return this.deviceService.isDesktop()?"W":"M"}getBrandCode(e,t){return e.brandCode||t}composeRegion(e){return e.address.subdivision?e.address.countryCode+" "+e.address.subdivision:e.address.countryCode}}return e.LPM_URL="/services/routing/config/payment-methods/method-groups",e.TTP_PAYMENT_METHOD="TTP",e.CBT_PAYMENT_METHOD="CBT",e.BRAND_CODE="brandCode",e.URL_PREFIX="urlPrefix",e.ɵfac=function(t){return new(t||e)(d["ɵɵinject"](r.HttpClient),d["ɵɵinject"](o.U),d["ɵɵinject"](s.H),d["ɵɵinject"](a.r),d["ɵɵinject"](i.B))},e.ɵprov=d["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},23696:(e,t,n)=>{"use strict";n.d(t,{s:()=>u});var i=n(73753),r=n(45965),o=n(92947),a=n(616),s=n(4309),c=n(42998);const l="pin-code";var d=n(57826);let u=(()=>{class e{constructor(e,t,n,i){this.profileService=e,this.profileStore=t,this.router=n,this.configService=i}skipPinCode(){return this.configService.hasFeature("ams.profile.skip_pincode")}canActivate(e,t){return this.profileStore.isDone?this.profileStore.profile.hasPinCode?(0,s.of)(-1===t.url.indexOf(l)):(-1!==t.url.indexOf(l)||this.skipPinCode()||this.router.navigate([l],{queryParams:{returnUrl:t.url.replace(/\(overlay:(.+?)\)/,"")}}),(0,s.of)(-1!==t.url.indexOf(l))):this.profileStore.isError?(0,s.of)(!0):this.profileService.getProfileDetailsPlayer().pipe((0,c.switchMap)((e=>e.hasPinCode?(0,s.of)(-1===t.url.indexOf(l)):(-1!==t.url.indexOf(l)||this.skipPinCode()||this.router.navigate([l],{queryParams:{returnUrl:t.url.replace(/\(overlay:(.+?)\)/,"")}}),(0,s.of)(-1!==t.url.indexOf(l))))),(0,c.catchError)((()=>(0,s.of)(!0))))}}return e.ɵfac=function(t){return new(t||e)(d["ɵɵinject"](o.H),d["ɵɵinject"](a.s),d["ɵɵinject"](i.Router),d["ɵɵinject"](r.r))},e.ɵprov=d["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},54474:(e,t,n)=>{"use strict";n.d(t,{a:()=>o});var i=n(73753),r=n(57826);let o=(()=>{class e{constructor(e){this.router=e}handleClose(e,t){t?this.router.navigateByUrl(t):e()}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](i.Router))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},54348:(e,t,n)=>{"use strict";n.d(t,{J:()=>o});var i=n(54474),r=n(57826);let o=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:[i.a]}),e})()},34580:(e,t,n)=>{"use strict";n.d(t,{a:()=>c});var i=n(73753),r=n(64174),o=n(21311),a=n(64041),s=n(57826);let c=(()=>{class e{constructor(e,t,n){this.sessionService=e,this.authService=t,this.router=n,this.HEADLESS_PREFIX_URL="headless/",this.additionalQueryParams={}}canActivate(e,t){this.authService.setLastPage(t.url,!0);const n=t.url.indexOf(this.HEADLESS_PREFIX_URL)>-1;if(!this.sessionService.isAuthenticated()){const i=n?a.N6:a.ZE,r={destination:t.url,closeUrl:e.queryParams.closeUrl};return this.router.navigate([`/${i}`],{queryParams:Object.assign(r,this.additionalQueryParams)}),!1}return!0}canActivateChild(e,t){return this.canActivate(e,t)}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](r.m),s["ɵɵinject"](o.i),s["ɵɵinject"](i.Router))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},21311:(e,t,n)=>{"use strict";n.d(t,{i:()=>T});var i=n(6856),r=n(57826),o=n(73753),a=n(94224),s=n(71063),c=n(37424),l=n(2470),d=n(64174),u=n(99604),p=n(55640),h=n(82846),m=n(36957),f=n(81899),g=n(41931),v=n(24144),b=n(45965),y=n(6969),S=n(39597),C=n(42312),x=n(47490),I=n(59851),w=n(30986),E=n(64041);let T=(()=>{class e{constructor(e,t,n,i,r,o,a,s,c,l,d,u,p,h,m,f,g,v,b,y,S){this.router=e,this.route=t,this.loginService=n,this.logoutService=i,this.registrationService=r,this.invitationService=o,this.conversionFunnelService=a,this.sessionService=s,this.storageService=c,this.routesToolsService=l,this.platformId=d,this.cookieService=u,this.windowService=p,this.reactiveChatService=h,this.firstTimeDepositorService=m,this.playerChatMetadataService=f,this.siteConfigService=g,this.discourseForumService=v,this.cashierCustomMessagesDataService=b,this.loginPaymentMethodsService=y,this.paymentProfileInfoDataService=S}init(){this.loginSubscription=this.loginService.loginEvent.subscribe((()=>this.onLogin())),this.logoutSubscription=this.logoutService.logoutEvent.subscribe((e=>this.onLogout(e))),this.sessionSubscription=this.sessionService.unauthorizedEvent.subscribe((e=>this.onUnauthorizedEvent(e))),this.registrationSubscription=this.registrationService.getRegistrationEvent().subscribe((e=>{this.cookieService.set("JOINED","true"),this.cookieService.get("url-prefix")||this.cookieService.set("url-prefix","/"+this.siteConfigService.getSiteConfigProp("urlPrefix")),this.onRegistration(e)})),this.validationCodeSubscription=this.conversionFunnelService.getValidationCodeEvents().subscribe((e=>this.onValidationCode(e))),this.routerSubscription=this.router.events.subscribe((e=>{e instanceof o.NavigationStart&&!this.isLoginOrRegistration(e.url)&&this.setLastPage(e.url,!1);const t=this.route.snapshot.queryParams.destination?decodeURIComponent(this.route.snapshot.queryParams.destination):this.route.snapshot.queryParams.destination;e instanceof o.NavigationEnd&&this.isLoginOrRegistration(e.url)&&t&&this.setLastPage(t,!1)})),this.activateAccountSubscription=this.invitationService.getActivateAccountEvent().subscribe((e=>{this.cookieService.set("JOINED","true"),this.cookieService.get("url-prefix")||this.cookieService.set("url-prefix","/"+this.siteConfigService.getSiteConfigProp("urlPrefix")),this.onActivatedAccount(e)})),(0,i.isPlatformBrowser)(this.platformId)&&(this.sessionSubscription=this.sessionService.sessionObserver.subscribe((e=>{e.isAuthenticated?(this.paymentProfileInfoDataService.loadPaymentProfileInfo(),this.cashierCustomMessagesDataService.loadCashierCustomMessages(),this.loginPaymentMethodsService.loadLoginPaymentMethods(),this.resolveFirstTimeDepositor()):this.playerChatMetadataService.onFirstTimeDepositorChange(this.playerChatMetadataService.getPlayerStatus().firstTimeVisitor)})))}setLastPage(t,n){if((0,i.isPlatformBrowser)(this.platformId)){let i={url:this.routesToolsService.getPath(t)};this.routesToolsService.getFragment(t)&&(i.fragment=this.routesToolsService.getFragment(t)),i.url=i.url.replace(/([^(]*)\((overlay)\:([\w-_]+)\)/gi,"/$3"),this.storageService.set(e.LAST_PAGE,JSON.stringify(i)),this.lastPageUrl=i,this.lastPageSecured=n,this.lastPageQueryParams=this.router.parseUrl(t).queryParams}}ngOnDestroy(){this.unsubscribeMethods()}isLoginOrRegistration(e){return e.startsWith(`/${E.ZE}`)||e.startsWith(`/${E.ts}`)||e.startsWith(`/${E.N6}`)||e.startsWith(`/${E.jU}`)}buildUrlWithQueryParams(e){const t=this.router.parseUrl(e);return t.queryParams=this.lastPageQueryParams,delete t.queryParams.overlay,t.toString()}onLogin(){this.navigateToLastPage(),this.countryCookieExists()&&(this.cookieService.get(e.PIN_CODE_COOKIE)&&(this.lastPageUrl.url="/"+I.H3),this.reloadToLastPage())}navigateToLastPage(){const t=this.discourseForumService.getDiscourseForumUrl(this.windowService.location(),this.route.snapshot.queryParams);if(t&&(this.windowService.location().href=t),!this.lastPageUrl){let t=this.storageService.get(e.LAST_PAGE);this.lastPageUrl=t?JSON.parse(t):{}}this.navigate(this.lastPageUrl)}navigate(e){this.router.navigate([this.lastPageUrl.url||`/${E.ft}`],{replaceUrl:!0,fragment:this.lastPageUrl.fragment})}onLogout(e){this.closeChatSession(),e.sessionExpired?this.router.navigate([`/${E.ft}`],{queryParams:{sessionExpired:!0}}):this.router.navigate([`/${E.ft}`]),this.countryCookieExists()&&(this.removeCountryCookie(),this.reloadPage("/"))}onUnauthorizedEvent(e){401==e.status&&e.isAuthenticated&&this.logoutService.logout(!0)}onRegistration(e){e instanceof y.Yc&&(this.sessionService.session=e.sessionId,this.navigateToLastPage())}onValidationCode(e){(e instanceof w.aj||e instanceof w.N$)&&this.navigateToLastPage()}onActivatedAccount(e){e instanceof S.i&&(this.sessionService.session=e.sessionId,this.navigateToLastPage())}resolveFirstTimeDepositor(){this.firstTimeSubscription=this.firstTimeDepositorService.getFirstTimeDepositorAtLogin().subscribe((e=>{this.playerChatMetadataService.onFirstTimeDepositorChange(e)}),(e=>{this.emitPlayerChatEvent(e)}))}emitPlayerChatEvent(e){"99"==e.minorCode&&this.playerChatMetadataService.onFirstTimeDepositorChange(!0)}closeChatSession(){this.reactiveChatService.closeChat()}countryCookieExists(){return!!this.cookieService.get("Country")}removeCountryCookie(){this.cookieService.remove("Country")}reloadPage(e){setTimeout((()=>{this.windowService.location().replace(e)}))}reloadToLastPage(){let e=this.lastPageUrl?this.lastPageUrl.url:"";e=this.buildUrlWithQueryParams(e);const t=this.windowService.origin()+e;this.reloadPage(t)}unsubscribeMethods(){this.loginSubscription&&this.loginSubscription.unsubscribe(),this.firstTimeSubscription&&this.firstTimeSubscription.unsubscribe(),this.logoutSubscription&&this.logoutSubscription.unsubscribe(),this.sessionSubscription&&this.sessionSubscription.unsubscribe(),this.routerSubscription&&this.routerSubscription.unsubscribe(),this.registrationSubscription&&this.registrationSubscription.unsubscribe(),this.validationCodeSubscription&&this.validationCodeSubscription.unsubscribe(),this.activateAccountSubscription&&this.activateAccountSubscription.unsubscribe()}}return e.LAST_PAGE="lastpage",e.PIN_CODE_COOKIE="cf_spc",e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](o.Router),r["ɵɵinject"](o.ActivatedRoute),r["ɵɵinject"](s.r6),r["ɵɵinject"](c.P),r["ɵɵinject"](y.H8),r["ɵɵinject"](S.e),r["ɵɵinject"](w.Kx),r["ɵɵinject"](d.m),r["ɵɵinject"](p.z),r["ɵɵinject"](m.T),r["ɵɵinject"](r.PLATFORM_ID),r["ɵɵinject"](h.G),r["ɵɵinject"](f.u),r["ɵɵinject"](v.R),r["ɵɵinject"](C.$),r["ɵɵinject"](g.w),r["ɵɵinject"](b.r),r["ɵɵinject"](u.p),r["ɵɵinject"](a.G),r["ɵɵinject"](x.W),r["ɵɵinject"](l.B))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},64041:(e,t,n)=>{"use strict";n.d(t,{N6:()=>a,ZE:()=>r,ft:()=>i,jU:()=>s,ts:()=>o});const i="",r="login",o="join",a="headless/login",s="headless/join"},50474:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var i=n(57826),r=n(21311),o=n(34580),a=n(25);let s=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:r.i,useClass:t},o.a]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[a.T]]}),e})()},92870:(e,t,n)=>{"use strict";n.d(t,{D2:()=>o.D,a1:()=>i.a,ib:()=>r.i});var i=n(34580),r=n(21311),o=n(50474)},12666:(e,t,n)=>{"use strict";n.d(t,{S:()=>r});var i=n(57826);let r=(()=>{class e{canDeactivate(){return!1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},60448:(e,t,n)=>{"use strict";n.d(t,{n:()=>E});var i=n(6856),r=n(73753),o=n(84704),a=n(8100),s=n(12666),c=n(63155),l=n(20339),d=n(95872),u=n(81899),p=n(71518),h=n(8239),m=n(42998),f=n(45965),g=n(61493),v=n(64174),b=n(39597),y=n(82846),S=n(23550),C=n(57826);let x=(()=>{class e{constructor(e){this.http=e}isValidRegistrationToken(t){return this.http.get(e.validateTokenUrl+t)}}return e.validateTokenUrl="/services/signup-service/v1/invitation/validate/",e.ɵfac=function(t){return new(t||e)(C["ɵɵinject"](S.HttpClient))},e.ɵprov=C["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var I=n(59851);let w=(()=>{class e{constructor(e,t,n,i,r,o){this.router=e,this.siteConfigService=t,this.sessionService=n,this.invitationService=i,this.cookieStorageService=r,this.validationTokenService=o,this.INVITATION_URL_PARTS_WITHOUT_TOKEN=2,this.TOKEN_PART=2}canActivate(e,t){return!this.isAVIPInvitationRequest(t)||(this.isUserAuthenticated()||this.doesUserHaveCookieJoined()?this.redirectToHome():this.processTokenAndRedirect(t))}isAVIPInvitationRequest(e){return this.isVIPFeatureFlagEnabled()&&this.doesPathContainInvitation(e)}isUserAuthenticated(){return this.sessionService.isAuthenticated()}isVIPFeatureFlagEnabled(){return this.siteConfigService.evalFeature(g.A.vipInvitationEnabled)}doesPathContainInvitation(t){return t.url.startsWith(e.ROUTE_INVITATION)}doesUserHaveCookieJoined(){return"true"===this.cookieStorageService.get(e.COOKIE_JOINED)}isValidUUIDTokenFormat(t){return t.match(e.TOKEN_REGEX)}isValidToken(e){var t=this;return this.validationTokenService.isValidRegistrationToken(e).pipe((0,m.map)((()=>this.redirectToInvitation())),(0,m.catchError)((0,h.Z)((function*(){return t.redirectToHome()}))))}redirectToHome(){return this.router.parseUrl(I.ft)}redirectToInvitation(){return this.router.parseUrl(e.ROUTE_INVITATION)}extractToken(e){let t="";const n=e.url.split("/");return n.length>this.INVITATION_URL_PARTS_WITHOUT_TOKEN&&(t=n[this.TOKEN_PART]),t}processTokenAndRedirect(e){let t=!1;const n=this.extractToken(e);return!this.invitationService.getRegistrationToken()&&this.isValidUUIDTokenFormat(n)&&(this.invitationService.publishRegistrationToken(n),t=!0),this.invitationService.getRegistrationToken()?!t||this.isValidToken(this.invitationService.getRegistrationToken()):this.redirectToHome()}}return e.TOKEN_REGEX=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/gi,e.ROUTE_INVITATION="/usp-bvx",e.COOKIE_JOINED="JOINED",e.ɵfac=function(t){return new(t||e)(C["ɵɵinject"](r.Router),C["ɵɵinject"](f.r),C["ɵɵinject"](v.m),C["ɵɵinject"](b.e),C["ɵɵinject"](y.G),C["ɵɵinject"](x))},e.ɵprov=C["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),E=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=C["ɵɵdefineNgModule"]({type:e}),e.ɵinj=C["ɵɵdefineInjector"]({providers:[a.V,s.S,c.T,l.q,d.o,u.u,p.D,w,x],imports:[[i.CommonModule,o.a,r.RouterModule.forChild([])],r.RouterModule]}),e})()},71518:(e,t,n)=>{"use strict";n.d(t,{D:()=>r});var i=n(57826);let r=(()=>{class e{canActivate(){return!1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},95872:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var i=n(45965),r=n(12596),o=n(42998),a=n(57826);let s=(()=>{class e{constructor(e,t){this.translateService=e,this.siteConfigService=t}buildTranslatedMessage(e){return this.brandLabel=this.siteConfigService.getSiteConfigProp("brandLabel")||"site",this.translateService.translate(e,{brandName:this.brandLabel}).pipe((0,o.filter)((t=>t!=e)))}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](r.s),a["ɵɵinject"](i.r))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},41621:(e,t,n)=>{"use strict";n.d(t,{W:()=>f});var i=n(73753),r=n(55640),o=n(92116),a=n(45965),s=n(57826),c=n(6856),l=n(86014);function d(e,t){1&e&&(s["ɵɵelementStart"](0,"figcaption",10),s["ɵɵtext"](1,"block.site_not_available"),s["ɵɵelementEnd"]())}const u=function(e){return{value:e}},p=function(e){return{tag:"textContent",label:"block.site_not_available_alt_site",values:e}},h=function(e){return[e]};function m(e,t){if(1&e&&(s["ɵɵelementStart"](0,"div"),s["ɵɵtext"](1,"\n                        "),s["ɵɵelementStart"](2,"figcaption",10),s["ɵɵtext"](3,"\n                        "),s["ɵɵelementEnd"](),s["ɵɵtext"](4,"\n                        "),s["ɵɵelement"](5,"br"),s["ɵɵtext"](6,"\n                        "),s["ɵɵelementStart"](7,"figcaption"),s["ɵɵtext"](8,"\n                            "),s["ɵɵelementStart"](9,"a",11),s["ɵɵtext"](10),s["ɵɵelementEnd"](),s["ɵɵtext"](11,"\n                        "),s["ɵɵelementEnd"](),s["ɵɵtext"](12,"\n                "),s["ɵɵelementEnd"]()),2&e){const e=s["ɵɵnextContext"]();s["ɵɵadvance"](2),s["ɵɵproperty"]("bxTranslate",s["ɵɵpureFunction1"](7,h,s["ɵɵpureFunction1"](5,p,s["ɵɵpureFunction1"](3,u,e.altSiteText)))),s["ɵɵadvance"](7),s["ɵɵproperty"]("href",e.altSiteLink,s["ɵɵsanitizeUrl"]),s["ɵɵadvance"](1),s["ɵɵtextInterpolate"](e.altSiteText)}}let f=(()=>{class e{constructor(e,t,n){this.route=e,this.storageService=t,this.siteConfigService=n}ngOnInit(){if(this.mainLogo=this.siteConfigService.getSiteConfigProp("mainLogo"),this.altSiteParam=this.route.snapshot.queryParams.altSite,this.altSiteParam){this.altSiteText=this.altSiteParam.replace(/https?:\/\//,""),this.altSiteLink=this.altSiteParam;let e=this.storageService.get(o.EI);e&&(this.altSiteLink+="?myafftoken="+e)}}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵdirectiveInject"](i.ActivatedRoute),s["ɵɵdirectiveInject"](r.z),s["ɵɵdirectiveInject"](a.r))},e.ɵcmp=s["ɵɵdefineComponent"]({type:e,selectors:[["bx-hard-block"]],decls:27,vars:3,consts:[[1,"navbar-wrapper","blocked","navbar-fixed-top"],[1,"navbar"],["href","/",1,"brand-logo"],["alt","logo",3,"src"],[1,"background"],[1,"content"],[1,"custom-notification","alert","info"],[1,"icon","icon-info"],[3,"bxTranslate",4,"ngIf"],[4,"ngIf"],[3,"bxTranslate"],[1,"altSiteLink",3,"href"]],template:function(e,t){1&e&&(s["ɵɵtext"](0,"\n    "),s["ɵɵelementStart"](1,"div",0),s["ɵɵtext"](2,"\n      "),s["ɵɵelementStart"](3,"nav",1),s["ɵɵtext"](4,"\n        "),s["ɵɵelementStart"](5,"a",2),s["ɵɵtext"](6,"\n          "),s["ɵɵelement"](7,"img",3),s["ɵɵtext"](8,"\n        "),s["ɵɵelementEnd"](),s["ɵɵtext"](9,"\n      "),s["ɵɵelementEnd"](),s["ɵɵtext"](10,"\n    "),s["ɵɵelementEnd"](),s["ɵɵtext"](11,"\n        "),s["ɵɵelementStart"](12,"div",4),s["ɵɵtext"](13,"\n            "),s["ɵɵelementStart"](14,"div",5),s["ɵɵtext"](15,"\n                "),s["ɵɵelementStart"](16,"figure",6),s["ɵɵtext"](17,"\n                    "),s["ɵɵelement"](18,"i",7),s["ɵɵtext"](19,"\n                    "),s["ɵɵtemplate"](20,d,2,0,"figcaption",8),s["ɵɵtext"](21,"\n                    "),s["ɵɵtemplate"](22,m,13,9,"div",9),s["ɵɵtext"](23,"\n                "),s["ɵɵelementEnd"](),s["ɵɵtext"](24,"\n        "),s["ɵɵelementEnd"](),s["ɵɵtext"](25,"\n    "),s["ɵɵelementEnd"](),s["ɵɵtext"](26,"\n    ")),2&e&&(s["ɵɵadvance"](7),s["ɵɵproperty"]("src",t.mainLogo,s["ɵɵsanitizeUrl"]),s["ɵɵadvance"](13),s["ɵɵproperty"]("ngIf",!t.altSiteParam),s["ɵɵadvance"](2),s["ɵɵproperty"]("ngIf",t.altSiteParam))},directives:[c.NgIf,l.P],encapsulation:2}),e})()},63155:(e,t,n)=>{"use strict";n.d(t,{T:()=>u});var i=n(73753),r=n(64174),o=n(79308),a=n(50371),s=n(4309),c=n(42998),l=n(8100),d=n(57826);let u=(()=>{class e{constructor(e,t,n,r,o){this.jurisdictionService=e,this.sessionStorage=t,this.sessionService=n,this.global=r,this.router=o,o.events.pipe((0,c.filter)((e=>e instanceof i.NavigationStart))).subscribe((e=>this.routingDestination=e.url))}canActivate(){return this.isJurisdictionBlocked()}canActivateChild(){return this.isJurisdictionBlocked()}canDeactivate(){return this.isLoginBlocked()}isJurisdictionBlocked(){return void 0===this.global.nativeGlobal.isJurisdictionBlocked?(this.jurisdictionService.checkAccess(),(0,s.of)(!0)):"/404"==this.routingDestination&&!this.sessionService.isAuthenticated()&&this.sessionStorage.get("softBlocked")?(this.router.navigate(["/login"]),(0,s.of)(!0)):"/404"!=this.routingDestination||this.sessionService.isAuthenticated()||this.sessionStorage.get("softBlocked")?(0,s.of)(!this.global.nativeGlobal.isJurisdictionBlocked):(0,s.of)(!0)}isLoginBlocked(){return!this.sessionStorage.get("softBlocked")||!!this.sessionStorage.get("requiredAction")||this.sessionService.isAuthenticated()}}return e.ɵfac=function(t){return new(t||e)(d["ɵɵinject"](l.V),d["ɵɵinject"](o.u),d["ɵɵinject"](r.m),d["ɵɵinject"](a.w),d["ɵɵinject"](i.Router))},e.ɵprov=d["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},8100:(e,t,n)=>{"use strict";n.d(t,{V:()=>m});var i=n(57826),r=n(6856),o=n(73753),a=n(23550),s=n(50371),c=n(64174),l=n(79308),d=n(81899),u=n(45965),p=n(8995),h=(()=>(function(e){e.ALLOWED="ALLOWED",e.BLOCKED="BLOCKED",e.SOFTBLOCKED="SOFTBLOCKED",e.ALLOWED_WITH_BLOCKED_SUBDIVISIONS="ALLOWED_WITH_BLOCKED_SUBDIVISIONS"}(h||(h={})),h))();let m=(()=>{class e{constructor(e,t,n,i,r,o,a,s,c){this.http=e,this.router=t,this.route=n,this.global=i,this.sessionStorage=r,this.sessionService=o,this.windowService=a,this.siteConfigService=s,this.platformId=c,this.accessStatusHandlers=this.buildAccessStatusHandlers()}buildAccessStatusHandlers(){const e=new Array;return e[h.ALLOWED]=this.manageAllowedAccess,e[h.BLOCKED]=this.manageBlockedAccess,e[h.SOFTBLOCKED]=this.manageSoftBlockedAccess,e[h.ALLOWED_WITH_BLOCKED_SUBDIVISIONS]=this.manageAllowedAccess,e}checkAccess(){if((0,r.isPlatformBrowser)(this.platformId)){let t=this.siteConfigService.getSiteConfig().countryAccessPolicy;if(!0===this.global.nativeGlobal.isJurisdictionBlocked)return void this.goToBlocked(this.global.nativeGlobal.alternativeSite);if(void 0===this.global.nativeGlobal.isJurisdictionBlocked){if("ALLOWED"===t)return void this.manageAllowedAccess();const n=this.global.nativeGlobal.preloadedAccessByJurisdiction;if(n&&n.status)this.handleAccessStatus(n.status,n.alternativeSite);else{const n={headers:{[p.X]:e.JURISDICTION_ACCESS_TIMEOUT.toString()}};this.http.get(e.JURISDICTION_ACCESS_URL,n).subscribe((e=>{this.handleAccessStatus(h[e.status],e.alternativeSite,e.customBlockMessage)}),(()=>{this.validateStatus(t)&&this.handleAccessStatus(h[t])}))}}}}handleAccessStatus(e,t,n){const i=this.accessStatusHandlers[e];i?i.apply(this,[t,n]):this.goToOutage()}manageAllowedAccess(){this.clearSoftBlockedSessionStorage(),this.global.nativeGlobal.isJurisdictionBlocked=!1}manageBlockedAccess(e){this.clearSoftBlockedSessionStorage(),this.global.nativeGlobal.isJurisdictionBlocked=!0,this.global.nativeGlobal.alternativeSite=e,this.goToBlocked(e)}manageSoftBlockedAccess(e,t){this.sessionService.isAuthenticated()||(this.global.nativeGlobal.isJurisdictionBlocked=!1,t&&this.sessionStorage.set("customBlockMessage","true"),null!=e&&this.sessionStorage.set("alternativeSite",e),this.sessionStorage.set("softBlocked","true"),"login"!==this.route.snapshot.queryParams.overlay&&this.router.navigate(["/login"],this.route.snapshot.queryParams))}checkStatus(){if((0,r.isPlatformBrowser)(this.platformId)){let t="https://"+this.windowService.getHostname()+"/";this.http.get(e.JURISDICTION_ACCESS_URL).subscribe((e=>{this.validateStatus(e.status)&&this.goToHome(t)}),(()=>{}))}}validateStatus(e){return Object.values(h).includes(h[e])}goToBlocked(e){let t={};e&&Object.keys(e).length>0&&(t.altSite=e),this.router.navigate(["/blocked"],{queryParams:t})}goToOutage(){this.router.navigate(["/outage"])}goToHome(e){this.windowService.location().href=e}clearSoftBlockedSessionStorage(){this.sessionStorage.get("softBlocked")&&(this.sessionStorage.remove("softBlocked"),this.sessionStorage.remove("alternativeSite"),this.sessionStorage.remove("customBlockMessage"))}}return e.JURISDICTION_ACCESS_URL="/services/jurisdiction/v2/access",e.JURISDICTION_ACCESS_TIMEOUT=1e4,e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](a.HttpClient),i["ɵɵinject"](o.Router),i["ɵɵinject"](o.ActivatedRoute),i["ɵɵinject"](s.w),i["ɵɵinject"](l.u),i["ɵɵinject"](c.m),i["ɵɵinject"](d.u),i["ɵɵinject"](u.r),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},4853:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var i=n(45965),r=n(95872),o=n(8100),a=n(57826),s=n(86014);let c=(()=>{class e{constructor(e,t,n){this.siteConfigService=e,this.brandNameResolverService=t,this.jurisdictionService=n}ngOnInit(){this.mainLogo=this.siteConfigService.getSiteConfigProp("mainLogo"),this.brandCode=this.siteConfigService.getSiteConfigProp("brandCode"),this.brandNameResolverService.buildTranslatedMessage("outage.somethingWentWrong").subscribe((e=>{this.outageTopLabel=e})),this.jurisdictionTimer=setInterval((()=>{this.jurisdictionService.checkStatus()}),2e4)}ngOnDestroy(){null!=this.jurisdictionTimer&&clearInterval(this.jurisdictionTimer)}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵdirectiveInject"](i.r),a["ɵɵdirectiveInject"](r.o),a["ɵɵdirectiveInject"](o.V))},e.ɵcmp=a["ɵɵdefineComponent"]({type:e,selectors:[["bx-outage"]],decls:26,vars:2,consts:[[1,"navbar-wrapper","outage","navbar-fixed-top"],[1,"navbar"],["href","/",1,"brand-logo"],["alt","logo",3,"src"],["id","page-outage","role","group"],[1,"banner-content"],[1,"upper-outage-label"],["src","/content/images/outage.png","alt","outage",1,"img-responsive"],[1,"lower-outage-label",3,"bxTranslate"]],template:function(e,t){1&e&&(a["ɵɵtext"](0,"\n\n    "),a["ɵɵelementStart"](1,"div",0),a["ɵɵtext"](2,"\n      "),a["ɵɵelementStart"](3,"nav",1),a["ɵɵtext"](4,"\n        "),a["ɵɵelementStart"](5,"a",2),a["ɵɵtext"](6,"\n          "),a["ɵɵelement"](7,"img",3),a["ɵɵtext"](8,"\n        "),a["ɵɵelementEnd"](),a["ɵɵtext"](9,"\n      "),a["ɵɵelementEnd"](),a["ɵɵtext"](10,"\n    "),a["ɵɵelementEnd"](),a["ɵɵtext"](11,"\n    "),a["ɵɵelementStart"](12,"section",4),a["ɵɵtext"](13,"\n        "),a["ɵɵelementStart"](14,"figure",5),a["ɵɵtext"](15,"\n            "),a["ɵɵelementStart"](16,"figcaption",6),a["ɵɵtext"](17),a["ɵɵelementEnd"](),a["ɵɵtext"](18,"\n            "),a["ɵɵelement"](19,"img",7),a["ɵɵtext"](20,"\n            "),a["ɵɵelementStart"](21,"figcaption",8),a["ɵɵtext"](22,"outage.workingHard"),a["ɵɵelementEnd"](),a["ɵɵtext"](23,"\n        "),a["ɵɵelementEnd"](),a["ɵɵtext"](24,"\n    "),a["ɵɵelementEnd"](),a["ɵɵtext"](25,"\n    ")),2&e&&(a["ɵɵadvance"](7),a["ɵɵproperty"]("src",t.mainLogo,a["ɵɵsanitizeUrl"]),a["ɵɵadvance"](10),a["ɵɵtextInterpolate"](t.outageTopLabel))},directives:[s.P],encapsulation:2}),e})()},20339:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});var i=n(73753),r=n(45965),o=n(59851),a=n(57826);let s=(()=>{class e{constructor(e,t){this.router=e,this.siteConfigService=t}canLoad(e){return this.canActivate(null,{url:`/${e.path}`})}canActivate(e,t){return!!this.isAllowed(t.url)||(this.isInMaintenance(t.url)?(this.redirectToMaintenancePage(),!1):(this.redirectToNotFoundPage(),!1))}isAllowed(e){return!this.siteConfigService.getSiteConfigProp("disabledMultiproducts").some((t=>this.asUrlRegex(t).test(e.toLowerCase())))}isInMaintenance(e){return this.siteConfigService.getSiteConfigProp("multiProductMaintenance").some((t=>this.asUrlRegex(t).test(e.toLowerCase())))}redirectToNotFoundPage(){this.router.navigate([o.wF])}redirectToMaintenancePage(){this.router.navigate([o.Wq])}asUrlRegex(e){return new RegExp("^/"+e.toLowerCase()+"(%3f|/|$)")}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.Router),a["ɵɵinject"](r.r))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},30986:(e,t,n)=>{"use strict";n.d(t,{Kx:()=>a,N$:()=>s,aj:()=>c});var i=n(4309),r=n(42998),o=n(57826);let a=(()=>{class e{constructor(){this.event$=new i.Subject}getValidationCodeEvents(){return this.event$.pipe((0,r.filter)((e=>e instanceof s||e instanceof c)))}emit(e){this.event$.next(e)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();class s{}class c{}},44362:(e,t,n)=>{"use strict";n.d(t,{P:()=>a});var i=n(64762),r=n(91184),o=n(57826);class a{setPlaceholderValues(e){this.placeholderValues=e}}a.ɵfac=function(e){return new(e||a)},a.ɵprov=o["ɵɵdefineInjectable"]({token:a,factory:a.ɵfac}),(0,i.__decorate)([r.LO,(0,i.__metadata)("design:type",Object)],a.prototype,"placeholderValues",void 0),(0,i.__decorate)([r.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[Object]),(0,i.__metadata)("design:returntype",void 0)],a.prototype,"setPlaceholderValues",null)},81243:(e,t,n)=>{"use strict";n.d(t,{j:()=>d});var i=n(57826),r=n(6856),o=n(77247),a=n(81899),s=n(45965),c=n(80112);const l="overlay";let d=(()=>{class e{constructor(e,t,n,i,r){this.platformId=e,this.siteConfigService=t,this.urlPrefixService=n,this.request=i,this.windowService=r}calculateURL(e){return this.isHttpAbsolute(e)?e:this.composeAbsoluteURL(e)}calculateCanonicalURL(e){return e?this.isHttpAbsolute(e)?e:this.composeCanonicalURLFromRelative(e):this.purgeQueryParamsOtherThanOverlay(this.getCurrentCanonicalURL())}getPath(){const e=(0,r.isPlatformBrowser)(this.platformId)?this.windowService.window().location.pathname:this.request.path;let t=this.siteConfigService.getSiteConfigProp("urlPrefix");return t&&e.startsWith("/"+t)?e.substring(t.length+1):e}purgeQueryParamsOtherThanOverlay(e){const t=e.split("?");if(1===t.length)return e;const n=t[0],i=t[1];return i.includes(l)?[n,this.getOverlayParamValue(i)].join("?"):n}getCanonicalOrigin(){let e=this.siteConfigService.getSiteConfigProp("canonicalDomain");return e?`https://${e}`:this.getURLOrigin()}getPathIncludingParams(){return(this.getPath()||"")+(this.getParams()||"")}getOverlayParamValue(e){return e.split("&").find((e=>e.split("=")[0]===l))}isHttpAbsolute(e){return e.startsWith("http")}composeCanonicalURLFromRelative(e){const t=e.startsWith("/")?e:`${this.getCuratedAbsolutePath()}/${e}`;return`${this.getCanonicalOrigin()}${this.urlPrefixService.addUrlPrefix(t)}`}getCurrentCanonicalURL(){return`${this.getCanonicalOrigin()}${this.urlPrefixService.addUrlPrefix(this.getPathIncludingParams())}`}getCuratedAbsolutePath(){const e=this.getPath();return this.sanitizePath(e)}sanitizePath(e){return"/"===e?"":e}composeAbsoluteURL(e){return e.startsWith("/")?`${this.getURLOrigin()}${e}`:`${this.getURLOrigin()}${this.getCuratedAbsolutePath()}/${e}`}getURLOrigin(){return(0,r.isPlatformBrowser)(this.platformId)?this.windowService.window().location.origin:`https://${this.request.headers["x-requested-domain"].toString()}`}getParams(){return(0,r.isPlatformBrowser)(this.platformId)?this.windowService.window().location.search:this.getParamsForUniversal(this.request.url)}getParamsForUniversal(e){if(e){const t=e.split("?");return 1===t.length?"":"?"+t[1]}return""}removeQueryParams(e){return decodeURIComponent(e).split(/[?#]/)[0]}getQueryParams(e){return decodeURIComponent(e).split(/[?#]/)[1]}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](s.r),i["ɵɵinject"](c.z),i["ɵɵinject"](o.Z,8),i["ɵɵinject"](a.u,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},79603:(e,t,n)=>{"use strict";n.d(t,{B:()=>r,J:()=>o});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();function o(e){const t=1===e.length,n=2===e.length&&["articles","pages","promotions"].includes(e[0].path);return{consumed:e,posParams:{isDefinedRoute:{path:(t||n).toString()}}}}},3491:(e,t,n)=>{"use strict";n.d(t,{X:()=>m});var i=n(63253),r=n(25300),o=n(54411),a=n(44960),s=n(52344),c=n(20734),l=n(52036),d=n(79603),u=n(36765),p=n(42998),h=n(57826);let m=(()=>{class e{constructor(e,t,n,i,r,o,a){this.routerDataConfig=e,this.marketingPageService=t,this.promotionsMapper=n,this.articlesModelCmsMapper=i,this.contentService=r,this.contentNotFoundHandler=o,this.overlayPageService=a}fetchContentByUri(e){return this.contentService.getContentByUri(e).pipe((0,p.catchError)((e=>this.contentNotFoundHandler.resolveContentNotFoundOrThrow(e))))}enrichRouterData(e){let t={contentType:e.contentType,slugname:e.slugname};if(e.contentType===r.z.MARKETING_PAGE)t={...t,contentType:e.contentType,marketingPage:this.marketingPageService.processPage(e),...this.routerDataConfig.dynamicRoutesConfig[r.z.MARKETING_PAGE]};else if(e.contentType===r.z.CONTENT_PAGE){const n=i(["fields","page_type"],e);switch(n){case o.G.PROMOTION:t={contentType:e.contentType,slugname:e.slugname,pageType:n,promotion:this.promotionsMapper.mapPromotion(e),...this.routerDataConfig.dynamicRoutesConfig[o.G.PROMOTION]};break;case o.G.ARTICLE:t={...t,contentType:e.contentType,pageType:n,article:this.articlesModelCmsMapper.mapArticle(e),...this.routerDataConfig.dynamicRoutesConfig[o.G.ARTICLE]};break;case o.G.GENERIC:t={...t,contentType:e.contentType,pageType:n,resourceData:this.overlayPageService.processPage(e),...this.routerDataConfig.dynamicRoutesConfig[o.G.GENERIC]}}}return t}getType(e){return e[e.contentType===r.z.MARKETING_PAGE?"contentType":"pageType"]}}return e.ɵfac=function(t){return new(t||e)(h["ɵɵinject"](d.B),h["ɵɵinject"](a.F),h["ɵɵinject"](c.Q),h["ɵɵinject"](l.C),h["ɵɵinject"](s._s),h["ɵɵinject"](s.Bo),h["ɵɵinject"](u.av))},e.ɵprov=h["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},66427:(e,t,n)=>{"use strict";n.d(t,{u:()=>f});var i=n(73753),r=n(64174),o=n(5752),a=n(45965),s=n(30173),c=n(82846),l=n(81899),d=n(28530),u=n(83471),p=n(21311),h=n(64041),m=n(57826);let f=(()=>{class e{constructor(e,t,n,i,r,o,a,s,c,l){this.sessionService=e,this.authService=t,this.router=n,this.overlayToolsService=i,this.siteConfigService=r,this.deviceService=o,this.cookieStorageService=a,this.routingStateService=s,this.gameService=c,this.windowService=l}canActivate(e,t){this.authService.setLastPage(t.url,!0);const n=this.overlayToolsService.transformOutletToPath(t.url);if(this.sessionService.isAuthenticated()){if(this.hasToBeOpenedInCurrentWindow(e))return!0;{const t=e.params.gameId,i=e.params.table,r=e.params.limit,o=+e.params.seat>0?e.params.seat:null;return this.gameService.getLiveDealerUrl(t,i,r,o).subscribe((e=>{this.openGameOnNewWindow(e,n)})),!1}}return this.router.navigate([`/${h.ZE}`],{queryParams:{destination:n,closeUrl:e.queryParams?e.queryParams.closeUrl:""}}),!1}canActivateChild(e,t){return this.canActivate(e,t)}hasToBeOpenedInCurrentWindow(e){return!(!(e.queryParams&&e.queryParams.currentWindow||!this.featureFlagLiveDealerLobby2Enabled())&&this.deviceService.isDesktop())||this.onNewWindow()}onNewWindow(){return 1===this.routingStateService.getHistory().length}featureFlagLiveDealerLobby2Enabled(){return this.siteConfigService.hasFeature(e.LIVEDEALER_NW_FEATURE)||"true"===this.cookieStorageService.get(e.LIVEDEABLER_NW_COOKIE)}openGameOnNewWindow(e,t){let n=e;this.siteConfigService.getSiteConfig().urlPrefix&&(n=this.siteConfigService.getSiteConfig().urlPrefix+"/"+e);let i=this.windowService.window().open(n,"_blank","toolbar=0,location=0,menubar=0");i?this.router.navigate(["/live-dealer"]):setTimeout((()=>{i||this.router.navigate([t],{queryParams:{currentWindow:!0,replaceUrl:!0}})}),1e3)}}return e.LIVEDEALER_NW_FEATURE="live-dealer.lobby.2",e.LIVEDEABLER_NW_COOKIE="LIVEDEALERLOBBY2",e.ɵfac=function(t){return new(t||e)(m["ɵɵinject"](r.m),m["ɵɵinject"](p.i),m["ɵɵinject"](i.Router),m["ɵɵinject"](o.a),m["ɵɵinject"](a.r),m["ɵɵinject"](s.U),m["ɵɵinject"](c.G),m["ɵɵinject"](d.Y),m["ɵɵinject"](u.A),m["ɵɵinject"](l.u))},e.ɵprov=m["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},94631:(e,t,n)=>{"use strict";n.d(t,{B:()=>p});var i=n(73753),r=n(4788),o=n(90388),a=n(16462),s=n(12473),c=n(4309),l=n(42998),d=n(45965),u=n(57826);let p=(()=>{class e{constructor(e,t,n,i){this.router=e,this.contentService=t,this.contentNotFoundHandler=n,this.siteConfigService=i}canActivate(e,t){if(this.siteConfigService.getSiteConfigProp("casinoPracticePlayDisabled")&&-1!==decodeURIComponent(t.url).indexOf("#practice"))return this.router.navigate(["/404"]),(0,c.of)(!1);if(!this.isGameDescriptionPath(e)&&e.url.length<3)return(0,c.of)(!0);const n=this.removeQueryParams(t.url).replace(/\(overlay:(.+?)\)/,"").split("/");return this.contentService.getContentByUriSuffix(n[n.length-1],r.GH.SECTION,r.GH.CMS_GAME_CONTENT_TYPE).pipe((0,l.take)(1),(0,l.catchError)((()=>(this.contentNotFoundHandler.navigateToNotFoundPage(),(0,c.of)(!0)))),(0,l.map)((n=>!0===n?n:(this.router.navigate([this.router.url.split("?")[0].split("#")[0].replace(/\(overlay:(.+?)\)/,"")],{queryParams:s(e.queryParams,{overlay:e.data.overlayUrl||decodeURIComponent(t.url).replace("#real","").replace("/","").replace(/\(overlay:(.+?)\)/,"")})}),!1))))}isGameDescriptionPath(e){return"description"===(e.url.length>0?e.url[0].path:"")}removeQueryParams(e){return decodeURIComponent(e).split("?")[0]}}return e.ɵfac=function(t){return new(t||e)(u["ɵɵinject"](i.Router),u["ɵɵinject"](a._),u["ɵɵinject"](o.B),u["ɵɵinject"](d.r))},e.ɵprov=u["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},34097:(e,t,n)=>{"use strict";n.d(t,{D:()=>o,v:()=>r});var i=n(57826);const r="h2-heading",o=new i.InjectionToken("HeaderAndMenuPageConfig")},33211:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});const i=new(n(57826).InjectionToken)("DISPLAY_ROUTER_OUTLET")},10380:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-hidden-overlay"]],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})()},85259:(e,t,n)=>{"use strict";n.d(t,{s:()=>m});var i=n(94410),r=n(42974),o=n(53001),a=n(52450),s=n(28850),c=n(73753),l=n(41306),d=n(97163),u=n(43304),p=n(79308),h=n(57826);let m=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=h["ɵɵdefineNgModule"]({type:e}),e.ɵinj=h["ɵɵdefineInjector"]({providers:[d.g,p.u],imports:[[i.n,r.n,o.J,a.P.forRoot(),s.U,l.I,c.RouterModule.forChild([]),u.Q]]}),e})()},97163:(e,t,n)=>{"use strict";n.d(t,{g:()=>o});var i=n(4309),r=n(57826);let o=(()=>{class e{constructor(){this.isOverlayDisplayed=new i.Subject}setOverlayDisplayed(e){this.isOverlayDisplayed.next(!!e)}getOverlayDisplayed(){return this.isOverlayDisplayed.asObservable()}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},75009:(e,t,n)=>{"use strict";n.d(t,{$x:()=>l,Mh:()=>c,OO:()=>s});var i=n(81435),r=n(76795),o=n(68964),a=n(66427);const s="live-dealer";function c(e,t){return[{path:`${s}/:gameId/:table/:limit/:seat`,component:e,outlet:"overlay",children:[{path:"",loadChildren:t,canActivate:[a.u],resolve:{gameUrl:i.U,game:r.j}}]}]}function l(){return[{path:`${s}/:gameId/:table/:limit/:seat`,canActivate:[o.v],children:[]}]}},9464:(e,t,n)=>{"use strict";n.d(t,{Tz:()=>C});var i=n(73753),r=n(71063),o=n(2986),a=n(84285),s=n(12596),c=n(24426),l=n(42998),d=n(3491),u=n(57826),p=n(6856),h=n(42680),m=n(98645),f=n(27726);function g(e,t){if(1&e&&(u["ɵɵelementStart"](0,"h1",6),u["ɵɵtext"](1),u["ɵɵelementEnd"]()),2&e){const e=u["ɵɵnextContext"](2);u["ɵɵadvance"](1),u["ɵɵtextInterpolate1"]("\n                ",e.marketingPage.title,"\n            ")}}function v(e,t){if(1&e&&(u["ɵɵelementStart"](0,"div",3),u["ɵɵtext"](1,"\n            "),u["ɵɵtemplate"](2,g,2,1,"h1",4),u["ɵɵtext"](3,"\n            "),u["ɵɵelement"](4,"bx-marketing-page",5),u["ɵɵtext"](5,"\n        "),u["ɵɵelementEnd"]()),2&e){const e=u["ɵɵnextContext"]();u["ɵɵadvance"](2),u["ɵɵproperty"]("ngIf",!1!==e.marketingPage.h1Enabled),u["ɵɵadvance"](2),u["ɵɵproperty"]("data",e.marketingPage)}}function b(e,t){if(1&e&&(u["ɵɵelementStart"](0,"h1",11),u["ɵɵtext"](1),u["ɵɵelementEnd"]()),2&e){const e=u["ɵɵnextContext"](2);u["ɵɵadvance"](1),u["ɵɵtextInterpolate1"]("\n                ",e.marketingPage.title,"\n            ")}}function y(e,t){if(1&e&&(u["ɵɵelementStart"](0,"div",7),u["ɵɵtext"](1,"\n            "),u["ɵɵelement"](2,"bx-breadcrumb",8),u["ɵɵtext"](3,"\n            "),u["ɵɵtemplate"](4,b,2,1,"h1",9),u["ɵɵtext"](5,"\n            "),u["ɵɵelementStart"](6,"div",10),u["ɵɵtext"](7,"\n                "),u["ɵɵelement"](8,"bx-marketing-page",5),u["ɵɵtext"](9,"\n            "),u["ɵɵelementEnd"](),u["ɵɵtext"](10,"\n        "),u["ɵɵelementEnd"]()),2&e){const e=u["ɵɵnextContext"]();u["ɵɵadvance"](2),u["ɵɵproperty"]("breadcrumb",e.breadcrumb),u["ɵɵadvance"](2),u["ɵɵproperty"]("ngIf",e.marketingPage.title&&!1!==e.marketingPage.h1Enabled),u["ɵɵadvance"](4),u["ɵɵproperty"]("data",e.marketingPage)}}function S(e,t){if(1&e&&(u["ɵɵelementStart"](0,"bx-marketing-page-menu",5),u["ɵɵtext"](1,"\n        "),u["ɵɵelementEnd"]()),2&e){const e=u["ɵɵnextContext"]();u["ɵɵproperty"]("data",e.marketingPage)}}let C=(()=>{class e{constructor(e,t,n,i){this.route=e,this.translateService=t,this.loginService=n,this.dynamicContentService=i,this.MARKETING_PAGE_FULL_WIDTH_TAG="mkFullWidth",this.MARKETING_PAGE_FRAME_TAG="mkFrame",this.MARKETING_PAGE_MENU="mkMenu",this.inputData=!1,this.breadcrumb=[]}set data(e){this.inputData=!0;const t=e.breadcrumb?e.breadcrumb[0].text:void 0;this.setMarketingPage([e.pageData.marketingPage,t])}ngOnInit(){this.inputData||(this.subscription=this.route.data.pipe((0,l.filter)((e=>e.marketingPage)),(0,l.map)((e=>[e.marketingPage,e.breadcrumbText]))).subscribe((e=>{this.setMarketingPage(e)}))),this.loginSubscription=this.loginService.loginEvent.pipe((0,l.mergeMap)((()=>this.dynamicContentService.fetchContentByUri(`/${this.getCurrentUrl()}`)))).subscribe((e=>{let t;t=this.dynamicContentService.enrichRouterData(e),this.setMarketingPage([t.marketingPage,t.breadcrumbText])}))}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe(),this.loginSubscription&&this.loginSubscription.unsubscribe()}generateContentBlockFromMarketingData(e){if(e.img||e.body){let t="";return e.img&&(t+=`\n                    <img class="img-responsive marketing-page-image" src="${e.img.url}" alt="${e.img.alt}"/>`),e.body&&(t+='<div class="marketing-page-content-block-body">'+e.body+"<div>"),{component:o.T,data:{data:{body:t}}}}}getCurrentUrl(){return this.route.pathFromRoot.filter((e=>e.snapshot.url.length)).map((e=>e.snapshot.url.toString())).reduce(((e,t)=>e+`/${t}`),"")}setMarketingPage(e){let t=e[0];this.breadcrumbText=e[1],this.marketingPage=c(t);let n=this.generateContentBlockFromMarketingData(t);n&&(this.marketingPage.components=this.marketingPage.components||[],this.marketingPage.components.unshift(n)),this.marketingPageType=this.checkMarketingPageType()}checkMarketingPageType(){return!this.marketingPage.tags||this.containTag(this.MARKETING_PAGE_FULL_WIDTH_TAG)?this.MARKETING_PAGE_FULL_WIDTH_TAG:this.containTag(this.MARKETING_PAGE_FRAME_TAG)?(this.generateBreadcrumb(),this.MARKETING_PAGE_FRAME_TAG):this.containTag(this.MARKETING_PAGE_MENU)?this.MARKETING_PAGE_MENU:void 0}containTag(e){return-1!=this.marketingPage.tags.indexOf(e)}generateBreadcrumb(){if(this.breadcrumbText){let e=new a.g(this.breadcrumbText,"..");this.breadcrumb.push(e),this.breadcrumb.push(new a.g(this.marketingPage.title,".")),this.translateService.translate(e.text).subscribe((t=>{e.text=t}))}}}return e.ɵfac=function(t){return new(t||e)(u["ɵɵdirectiveInject"](i.ActivatedRoute),u["ɵɵdirectiveInject"](s.s),u["ɵɵdirectiveInject"](r.r6),u["ɵɵdirectiveInject"](d.X))},e.ɵcmp=u["ɵɵdefineComponent"]({type:e,selectors:[["ng-component"]],inputs:{data:"data"},decls:7,vars:3,consts:[["class","marketing-page-container",4,"ngIf"],["class","marketing-page-frame-container max-container",4,"ngIf"],[3,"data",4,"ngIf"],[1,"marketing-page-container"],["role","heading","class","h2-heading marketing-page-title",4,"ngIf"],[3,"data"],["role","heading",1,"h2-heading","marketing-page-title"],[1,"marketing-page-frame-container","max-container"],[1,"breadcrumbContainer",3,"breadcrumb"],["role","heading","class","h3-heading marketing-page-frame-title",4,"ngIf"],["data-dynamic-element","dynamicElement",1,"marketing-page-frame-content"],["role","heading",1,"h3-heading","marketing-page-frame-title"]],template:function(e,t){1&e&&(u["ɵɵtext"](0,"\n        "),u["ɵɵtemplate"](1,v,6,2,"div",0),u["ɵɵtext"](2,"\n        "),u["ɵɵtemplate"](3,y,11,3,"div",1),u["ɵɵtext"](4,"\n        "),u["ɵɵtemplate"](5,S,2,1,"bx-marketing-page-menu",2),u["ɵɵtext"](6,"\n    ")),2&e&&(u["ɵɵadvance"](1),u["ɵɵproperty"]("ngIf",t.marketingPageType===t.MARKETING_PAGE_FULL_WIDTH_TAG),u["ɵɵadvance"](2),u["ɵɵproperty"]("ngIf",t.marketingPageType===t.MARKETING_PAGE_FRAME_TAG),u["ɵɵadvance"](2),u["ɵɵproperty"]("ngIf",t.marketingPageType===t.MARKETING_PAGE_MENU))},directives:[p.NgIf,h.n,m.L,f.v],styles:["h1.marketing-page-title[_ngcontent-%COMP%] {\n  display: none; }\n\ndiv.marketing-page-frame[_ngcontent-%COMP%] {\n  background-color: white;\n  color: #855f5f;\n  border: 0;\n  margin-top: 16px; }"]}),e})()},71497:(e,t,n)=>{"use strict";n.d(t,{J:()=>c}),n(73753);var i=n(90388),r=n(44960),o=n(86958),a=n(42998),s=n(57826);let c=(()=>{class e{constructor(e,t,n){this.marketingPageService=e,this.contentNotFoundHandler=t,this.impressionHelper=n}resolve(e,t){let n=this.getSlug(e);const i=this.getPresetFilter();return this.marketingPageService.getMarketingPageByUriSuffix(n,null,{filter:i}).pipe((0,a.tap)((e=>this.impressionHelper.pageView(e))),(0,a.first)(),(0,a.catchError)((e=>this.contentNotFoundHandler.resolveContentNotFoundOrThrow(e))))}getSlug(e){return e.params.slug}getPresetFilter(){}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](r.F),s["ɵɵinject"](i.B),s["ɵɵinject"](o.P))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},76504:(e,t,n)=>{"use strict";n.d(t,{t:()=>d});var i=n(28850),r=n(53001),o=n(71497),a=n(51029),s=n(6856),c=n(7294),l=n(57826);let d=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=l["ɵɵdefineNgModule"]({type:e}),e.ɵinj=l["ɵɵdefineInjector"]({providers:[o.J],imports:[[r.J,i.U,s.CommonModule,c.w,a.F]]}),e})()},70640:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var i=n(73753),r=n(57826),o=n(97637),a=n(84853),s=n(96940);let c=(()=>{class e{constructor(e){this.route=e}ngOnInit(){this.data=this.route.snapshot.data.resourceData}wrapStyleTag(e){return"<style>"+e+"</style>"}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](i.ActivatedRoute))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-overlay-page"]],decls:16,vars:4,consts:[["overlayType","large"],[1,"legal-pages"],["role","heading",1,"h2-heading"],[1,"overlay-page-content",3,"innerHTML"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"bx-overlay-container",0),r["ɵɵtext"](2,"\n            "),r["ɵɵelementStart"](3,"div",1),r["ɵɵtext"](4,"\n                "),r["ɵɵelementStart"](5,"bx-overlay-header"),r["ɵɵtext"](6,"\n                    "),r["ɵɵelementStart"](7,"h1",2),r["ɵɵtext"](8),r["ɵɵelementEnd"](),r["ɵɵtext"](9,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](10,"\n\n                "),r["ɵɵelement"](11,"div",3),r["ɵɵpipe"](12,"bxTrustyHtml"),r["ɵɵtext"](13,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](14,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](15,"\n    ")),2&e&&(r["ɵɵadvance"](8),r["ɵɵtextInterpolate"](null==t.data?null:t.data.title),r["ɵɵadvance"](3),r["ɵɵproperty"]("innerHTML",r["ɵɵpipeBind1"](12,2,t.wrapStyleTag(null==t.data?null:t.data.style)+(null==t.data?null:t.data.content)),r["ɵɵsanitizeHtml"]))},directives:[o.l,a.z],pipes:[s.d],styles:["h2.h2-heading[_ngcontent-%COMP%] {\n  padding: 20px 0;\n  color: #000000; }\n\n.modal-overlay[_ngcontent-%COMP%]   h2.h2-heading[_ngcontent-%COMP%] {\n  padding: 20px 0; }\n\n.modal-text-content[_ngcontent-%COMP%] {\n  padding: 0 20px 20px; }"]}),e})()},98165:(e,t,n)=>{"use strict";n.d(t,{P:()=>a});var i=n(28850),r=n(73502),o=n(57826);let a=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({imports:[[i.U,r.D]]}),e})()},36765:(e,t,n)=>{"use strict";n.d(t,{gN:()=>u,av:()=>l});var i=n(52344),r=n(25300),o=n(43431),a=n(63253),s=n(42998),c=n(57826);let l=(()=>{class e{constructor(e,t){this.cmsFeatureService=e,this.contentService=t,this.CONTENT_SECTION="overlay-pages",this.CONTENT_PAGE_TYPE="generic"}getContentResource(e){return this.fetchContentResource(e).pipe((0,s.take)(1))}processPage(e){return{title:a(["fields","title"],e)||"",content:a(["fields","body"],e)||"",style:a(["fields","style"],e)||"",h1Enabled:!1!==(e.fields&&e.fields.h1Enabled)}}fetchContentResource(e){return this.contentService.getContentByUriSuffix(e,this.CONTENT_SECTION,r.z.CONTENT_PAGE,this.CONTENT_PAGE_TYPE).pipe((0,s.map)((e=>this.cmsFeatureService.isSectionEnabled(this.CONTENT_SECTION)?this.processPage(e):e)))}}return e.ɵfac=function(t){return new(t||e)(c["ɵɵinject"](o.u),c["ɵɵinject"](i._s))},e.ɵprov=c["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();n(73753);var d=n(90388);let u=(()=>{class e{constructor(e,t){this.overlayPageService=e,this.contentNotFoundHandler=t}resolve(e,t){let n=e.data.resource||e.params.uriSuffix;return this.overlayPageService.getContentResource(n).pipe((0,s.catchError)((e=>this.contentNotFoundHandler.resolveContentNotFoundOrThrow(e))))}}return e.ɵfac=function(t){return new(t||e)(c["ɵɵinject"](l),c["ɵɵinject"](d.B))},e.ɵprov=c["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();n(70640),n(98165)},29862:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s}),n(73753);var i=n(45965),r=n(81899);const o=function(){const e={};return t=>e[t]?Promise.resolve():(e[t]=!0,new Promise(((e,n)=>{let i=document.createElement("link");i.href=t,i.type="text/css",i.rel="stylesheet",i.onload=e,i.onerror=n,document.getElementsByTagName("head")[0].appendChild(i)})))}();var a=n(57826);let s=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.windowService=t}resolve(e){const t=this.getLazyLoadStylesheet(e);return t?o(t):Promise.resolve()}getLazyLoadStylesheet(e){if(this.windowService&&this.windowService.getIsPlatformBrowser()){const t=this.windowService.window().cssChannels,n=t&&t[e.data.channel]||"";if(n)return"assets/css/"+e.data.channel+"-"+this.getTheme()+"-"+n+".css"}return""}getTheme(){return this.siteConfigService.getSiteConfigProp("theme")||"default"}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.r),a["ɵɵinject"](r.u,8))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},68964:(e,t,n)=>{"use strict";n.d(t,{v:()=>a});var i=n(73753),r=n(12473),o=n(57826);let a=(()=>{class e{constructor(e){this.router=e}canActivate(e,t){return this.router.navigate([this.router.url.split("?")[0].split("#")[0].replace(/\(overlay:(.+?)\)/,"")],{queryParams:r(e.queryParams,{overlay:e.data.overlayUrl||t.url.replace("/","").replace(/\(overlay:(.+?)\)/,"")}),replaceUrl:t.root.queryParams.replaceUrl||!1}),!1}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](i.Router))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},28405:(e,t,n)=>{"use strict";n.d(t,{W:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-placeholder"]],decls:12,vars:0,consts:[[1,"placeholder-wrapper"],[1,"placeholder-box"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n    "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n        "),i["ɵɵelement"](3,"div",1),i["ɵɵtext"](4,"\n        "),i["ɵɵelement"](5,"div",1),i["ɵɵtext"](6,"\n        "),i["ɵɵelement"](7,"div",1),i["ɵɵtext"](8,"\n        "),i["ɵɵelement"](9,"div",1),i["ɵɵtext"](10,"\n    "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n    "))},encapsulation:2}),e})()},43304:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});var i=n(57826);let r=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})()},50206:(e,t,n)=>{"use strict";n.d(t,{T:()=>p});var i=n(4869),r=n(57826),o=n(6856),a=n(2046),s=n(73753),c=n(86014);function l(e,t){if(1&e&&r["ɵɵelement"](0,"bx-section",2),2&e){const e=t.ngIf;r["ɵɵproperty"]("data",e)}}const d=function(){return{label:"referAFriend.how_it_works",tag:"textContent"}};function u(e,t){1&e&&(r["ɵɵtext"](0,"\n           "),r["ɵɵelementStart"](1,"div",3),r["ɵɵtext"](2,"\n               "),r["ɵɵelement"](3,"a",4),r["ɵɵtext"](4,"\n           "),r["ɵɵelementEnd"](),r["ɵɵtext"](5,"\n       ")),2&e&&(r["ɵɵadvance"](3),r["ɵɵproperty"]("bxTranslate",r["ɵɵpureFunction0"](1,d)))}let p=(()=>{class e{constructor(e){this.rafCustomCMSLinkService=e}ngOnInit(){this.content=this.rafCustomCMSLinkService.getRAFSectionContent()}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](i.i))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-raf-custom-cms-link"]],decls:7,vars:4,consts:[[3,"data",4,"ngIf","ngIfElse"],["link",""],[3,"data"],[1,"refer-a-friend-link"],["routerLink","/refer",1,"custom-link",3,"bxTranslate"]],template:function(e,t){if(1&e&&(r["ɵɵtext"](0,"\n       "),r["ɵɵtemplate"](1,l,1,1,"bx-section",0),r["ɵɵpipe"](2,"async"),r["ɵɵtext"](3,"\n       "),r["ɵɵtemplate"](4,u,6,2,"ng-template",null,1,r["ɵɵtemplateRefExtractor"]),r["ɵɵtext"](6,"\n    ")),2&e){const e=r["ɵɵreference"](5);r["ɵɵadvance"](1),r["ɵɵproperty"]("ngIf",r["ɵɵpipeBind1"](2,2,t.content))("ngIfElse",e)}},directives:[o.NgIf,a.e,s.RouterLinkWithHref,c.P],pipes:[o.AsyncPipe],encapsulation:2}),e})()},4869:(e,t,n)=>{"use strict";n.d(t,{i:()=>s});var i=n(16462),r=n(4309),o=n(42998),a=n(57826);let s=(()=>{class e{constructor(e){this.contentService=e}getRAFSectionContent(){return this.contentService.getContentBySlug(e.SLUG,e.CONTENT_SECTION).pipe((0,o.first)(),(0,o.catchError)((e=>(0,r.of)(!1))))}}return e.CONTENT_SECTION="section",e.SLUG="account-referafriend",e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i._))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},23056:(e,t,n)=>{"use strict";n.d(t,{p:()=>g});var i=n(64762),r=n(30173),o=n(12596),a=n(71710),s=n(81899),c=n(75330),l=n(3336),d=n(57826),u=n(6856),p=n(86014),h=n(3935);function m(e,t){1&e&&(d["ɵɵelementStart"](0,"figure",2),d["ɵɵtext"](1,"\n            "),d["ɵɵelement"](2,"i",3),d["ɵɵtext"](3,"\n            "),d["ɵɵelementStart"](4,"figcaption",4),d["ɵɵtext"](5,"raf.shareLinks.error"),d["ɵɵelementEnd"](),d["ɵɵtext"](6,"\n        "),d["ɵɵelementEnd"]())}function f(e,t){if(1&e){const e=d["ɵɵgetCurrentView"]();d["ɵɵelementStart"](0,"div",5),d["ɵɵtext"](1,"\n            "),d["ɵɵelementStart"](2,"p",6),d["ɵɵtext"](3,"raf.shareOn"),d["ɵɵelementEnd"](),d["ɵɵtext"](4,"\n            "),d["ɵɵelementStart"](5,"bx-share-buttons",7),d["ɵɵlistener"]("clickOnSharingMethod",(function(t){return d["ɵɵrestoreView"](e),d["ɵɵnextContext"]().share(t)})),d["ɵɵtext"](6,"\n            "),d["ɵɵelementEnd"](),d["ɵɵtext"](7,"\n        "),d["ɵɵelementEnd"]()}if(2&e){const e=d["ɵɵnextContext"]();d["ɵɵadvance"](5),d["ɵɵproperty"]("theme",e.theme)("shareLinks",e.shareLinks)("copyFullRow",e.copyFullRow)}}class g{constructor(e,t,n,i){this.deviceService=e,this.translateService=t,this.windowService=n,this.analyticsService=i,this.copyFullRow=!1}ngOnInit(){this.rafUrl?(this.initComponent(),this.showShareButtons=!0):this.showShareButtons=!1}share(e){switch(e){case"email":this.sendEmail();break;case"sms":this.sendSms();break;case"copy":this.sendCopy()}}initComponent(){"light"!==this.theme&&"dark"!==this.theme&&(this.theme="dark");let e=this.deviceService.isMobile();this.copyFullRow=e;let t={id:"email",title:"Email",img:"assets/images/"+this.theme+"_share_mail.svg",icon:"icon-envelope"},n={id:"sms",title:"Text message",img:"assets/images/"+this.theme+"_share_sms.svg",icon:"icon-contact"},i={id:"copy",title:"Copy url:",url:this.rafUrl+a.mJ,icon:"icon-link"};const r=this.getBrandName(),o=r.replace(/\.[^\.]*$/,"");this.translateService.loadTranslations("raf").subscribe((e=>{t.title=e["raf.shareLinks.email"],n.title=e["raf.shareLinks.sms"],i.title=e["raf.shareLinks.copy"]+":",e["raf.shareBySms.template"]&&(this.smsBody=this.translateService.interpolate(e["raf.shareBySms.template"],{brand:r,rafLink:this.rafUrl+a.Fq,brandNameWithouTLD:o})),this.mailSubject=e["raf.shareByEmail.subject.template"],this.mailBody=e["raf.shareByEmail.body.template"],this.mailSubject&&this.mailBody&&(this.mailSubject=this.translateService.interpolate(this.mailSubject,{brand:r}),this.mailBody=this.translateService.interpolate(this.mailBody,{brand:r,rafLink:this.rafUrl+a.kA}))})),this.shareLinks=e?[[n,t],[i]]:[[t,i]]}sendEmail(){this.windowService.location().href="mailto:?subject="+encodeURIComponent(this.mailSubject)+"&body="+encodeURIComponent(this.mailBody)}sendSms(){this.windowService.location().href="sms:?&body="+this.smsBody}sendCopy(){}getBrandName(){return this.windowService.getHostname().replace(/^(www\.)/,"").replace(/\b\w/,(e=>e.toUpperCase()))}}g.rafLinkCustomValue=()=>({1:"true"}),g.ɵfac=function(e){return new(e||g)(d["ɵɵdirectiveInject"](r.U),d["ɵɵdirectiveInject"](o.s),d["ɵɵdirectiveInject"](s.u),d["ɵɵdirectiveInject"](l.y))},g.ɵcmp=d["ɵɵdefineComponent"]({type:g,selectors:[["bx-raf-links"]],inputs:{theme:"theme",rafUrl:"rafUrl"},decls:5,vars:2,consts:[["role","alert","class","custom-notification alert info high-contrast",4,"ngIf"],["class","raf-links-container",4,"ngIf"],["role","alert",1,"custom-notification","alert","info","high-contrast"],[1,"icon","icon-info"],[3,"bxTranslate"],[1,"raf-links-container"],[1,"share-on",3,"bxTranslate"],[3,"theme","shareLinks","copyFullRow","clickOnSharingMethod"]],template:function(e,t){1&e&&(d["ɵɵtext"](0,"\n        "),d["ɵɵtemplate"](1,m,7,0,"figure",0),d["ɵɵtext"](2,"\n        "),d["ɵɵtemplate"](3,f,8,3,"div",1),d["ɵɵtext"](4,"\n    ")),2&e&&(d["ɵɵadvance"](1),d["ɵɵproperty"]("ngIf",!t.showShareButtons),d["ɵɵadvance"](2),d["ɵɵproperty"]("ngIf",t.showShareButtons))},directives:[u.NgIf,p.P,h.u],styles:[".share-on[_ngcontent-%COMP%] { font-size: 1.3em; padding-bottom: 5px; }"]}),(0,i.__decorate)([(0,c.ob)("RAF_CTA_Email_Click",!0,g.rafLinkCustomValue),(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],g.prototype,"sendEmail",null),(0,i.__decorate)([(0,c.ob)("RAF_CTA_Sms_Click",!0,g.rafLinkCustomValue),(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],g.prototype,"sendSms",null),(0,i.__decorate)([(0,c.ob)("RAF_CTA_Sms_CopyLink",!0,g.rafLinkCustomValue),(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[]),(0,i.__metadata)("design:returntype",void 0)],g.prototype,"sendCopy",null)},71710:(e,t,n)=>{"use strict";n.d(t,{EG:()=>a,Fq:()=>o,kA:()=>r,mJ:()=>i});const i="rafcopy",r="rafemail",o="rafsms";function a(e,t,n){return`${e}${t}/welcome/${n}/join?extcmpid=`}},75025:(e,t,n)=>{"use strict";n.r(t),n.d(t,{RAFLinksModule:()=>m});var i=n(6856),r=n(23056),o=n(50206),a=n(61733),s=n(80953),c=n(4869),l=n(84704),d=n(63576),u=n(73753),p=n(42890),h=n(57826);let m=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=h["ɵɵdefineNgModule"]({type:e,bootstrap:[r.p,o.T]}),e.ɵinj=h["ɵɵdefineInjector"]({providers:[s.p,c.i,a.w],imports:[[i.CommonModule,l.a,d.Q,u.RouterModule,p.H]]}),e})()},61733:(e,t,n)=>{"use strict";n.d(t,{w:()=>l}),n(73753);var i=n(80112),r=n(4309),o=n(42998),a=n(71710),s=n(80953),c=n(57826);let l=(()=>{class e{constructor(e,t){this.rafLinksService=e,this.urlPrefixService=t}resolve(e){return this.rafLinksService.getReferralProfile().pipe((0,o.map)((e=>(0,a.EG)(this.rafLinksService.getReferralDomain(),this.urlPrefixService.getUrlPrefix(),e.trackingCode))),(0,o.catchError)((e=>(0,r.empty)())))}}return e.ɵfac=function(t){return new(t||e)(c["ɵɵinject"](s.p),c["ɵɵinject"](i.z))},e.ɵprov=c["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},80953:(e,t,n)=>{"use strict";n.d(t,{p:()=>s});var i=n(23550),r=n(81899),o=n(45965),a=n(57826);let s=(()=>{class e{constructor(e,t,n){this.httpClient=e,this.siteConfigService=t,this.windowService=n}getReferralProfileUrl(){return`${e.REFERRALS_BASE_URL}/<sessionId>`}getReferralProfile(){return this.httpClient.get(this.getReferralProfileUrl(),{withCredentials:!0})}getReferralDomain(){return this.siteConfigService.getSiteConfigProp("rafDomain")||this.windowService.location().origin}}return e.REFERRALS_BASE_URL="/services/referral/v1/profiles",e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.HttpClient),a["ɵɵinject"](o.r),a["ɵɵinject"](r.u))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},3935:(e,t,n)=>{"use strict";n.d(t,{u:()=>d});var i=n(57826),r=n(6856);function o(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div",5),i["ɵɵlistener"]("click",(function(){i["ɵɵrestoreView"](e);const t=i["ɵɵnextContext"]().$implicit;return i["ɵɵnextContext"](2).selectMethod(t.id)})),i["ɵɵtext"](1,"\n                        "),i["ɵɵelementStart"](2,"div",6),i["ɵɵtext"](3,"\n                            "),i["ɵɵelement"](4,"i",7),i["ɵɵtext"](5,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](6),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]().$implicit,t=i["ɵɵnextContext"](2);i["ɵɵclassMapInterpolate1"]("table-cell ",t.theme,"-cell clickable-cell"),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngClass",e.icon),i["ɵɵadvance"](2),i["ɵɵtextInterpolate1"]("\n                        ",e.title,"\n                    ")}}function a(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div"),i["ɵɵtext"](1,"\n                        "),i["ɵɵelementStart"](2,"div",6),i["ɵɵtext"](3,"\n                            "),i["ɵɵelement"](4,"i",7),i["ɵɵtext"](5,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n                        "),i["ɵɵelementStart"](7,"div",8),i["ɵɵtext"](8),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n                        "),i["ɵɵelementStart"](10,"input",9),i["ɵɵlistener"]("click",(function(t){i["ɵɵrestoreView"](e);const n=i["ɵɵnextContext"]().$implicit;return i["ɵɵnextContext"](2).selectMethod(n.id,t)})),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n                    "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]().$implicit,t=i["ɵɵnextContext"](2);i["ɵɵclassMapInterpolate1"]("table-cell copy-url-cell ",t.theme,"-cell"),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngClass",e.icon),i["ɵɵadvance"](4),i["ɵɵtextInterpolate"](e.title),i["ɵɵadvance"](2),i["ɵɵpropertyInterpolate"]("value",e.url)}}function s(e,t){if(1&e&&(i["ɵɵelementContainerStart"](0),i["ɵɵtext"](1,"\n                    "),i["ɵɵtemplate"](2,o,7,5,"div",4),i["ɵɵtext"](3,"\n\n                    "),i["ɵɵtemplate"](4,a,12,6,"div",1),i["ɵɵtext"](5,"\n                "),i["ɵɵelementContainerEnd"]()),2&e){const e=t.$implicit;i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf","copy"!==e.id),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf","copy"===e.id)}}function c(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",2),i["ɵɵtext"](1,"\n                "),i["ɵɵtemplate"](2,s,6,2,"ng-container",3),i["ɵɵtext"](3,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=t.$implicit;i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",e)}}function l(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div"),i["ɵɵtext"](1,"\n            "),i["ɵɵelementStart"](2,"div",2),i["ɵɵtext"](3,"\n                "),i["ɵɵelementStart"](4,"div",10),i["ɵɵtext"](5,"\n                    "),i["ɵɵelementStart"](6,"div",6),i["ɵɵtext"](7,"\n                         "),i["ɵɵelement"](8,"i",7),i["ɵɵtext"](9,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n                    "),i["ɵɵelementStart"](11,"div",8),i["ɵɵtext"](12),i["ɵɵelementEnd"](),i["ɵɵtext"](13,"\n                    "),i["ɵɵelementStart"](14,"input",9),i["ɵɵlistener"]("click",(function(t){i["ɵɵrestoreView"](e);const n=i["ɵɵnextContext"]();return n.selectMethod(n.copyRow.id,t)})),i["ɵɵelementEnd"](),i["ɵɵtext"](15,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n        "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵclassMapInterpolate1"]("table ",e.theme,"-copy-table bx-share-buttons"),i["ɵɵadvance"](8),i["ɵɵproperty"]("ngClass",e.copyRow.icon),i["ɵɵadvance"](4),i["ɵɵtextInterpolate"](null==e.copyRow?null:e.copyRow.title),i["ɵɵadvance"](2),i["ɵɵpropertyInterpolate"]("value",null==e.copyRow?null:e.copyRow.url)}}let d=(()=>{class e{constructor(){this.clickOnSharingMethod=new i.EventEmitter}selectMethod(e,t){"copy"===e&&(/Android/i.test(navigator.userAgent)||(t.target.selectionStart=0,t.target.selectionEnd=t.target.value.length)),this.clickOnSharingMethod.emit(e)}ngOnInit(){this.copyFullRow&&this.shareLinks.forEach(((e,t,n)=>{e.forEach((e=>{"copy"===e.id&&(this.copyRow=e,n.splice(t,1))}))}))}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-share-buttons"]],inputs:{theme:"theme",shareLinks:"shareLinks",copyFullRow:"copyFullRow"},outputs:{clickOnSharingMethod:"clickOnSharingMethod"},decls:8,vars:5,consts:[["class","table-row",4,"ngFor","ngForOf"],[3,"class",4,"ngIf"],[1,"table-row"],[4,"ngFor","ngForOf"],[3,"class","click",4,"ngIf"],[3,"click"],[1,"icon-container"],[1,"icon","static-icon","small-icon",3,"ngClass"],[1,"cell-title"],["type","text","readonly","",1,"url-container",3,"value","click"],[1,"table-cell","copy-full-row-url-cell"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div"),i["ɵɵtext"](2,"\n            "),i["ɵɵtemplate"](3,c,4,1,"div",0),i["ɵɵtext"](4,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n        "),i["ɵɵtemplate"](6,l,18,6,"div",1),i["ɵɵtext"](7,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵclassMapInterpolate1"]("table ",t.theme,"-table bx-share-buttons"),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",t.shareLinks),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",t.copyFullRow))},directives:[r.NgForOf,r.NgIf,r.NgClass],styles:[".table[_ngcontent-%COMP%] {\n  display: table;\n  width: 100%;\n  table-layout: fixed; }\n\n.dark-table[_ngcontent-%COMP%] {\n  background-color: #424242;\n  border: 1px solid black; }\n\n.light-table[_ngcontent-%COMP%] {\n  background-color: #FEFEFF;\n  border: 1px solid #E4E4E5; }\n\n.dark-copy-table[_ngcontent-%COMP%] {\n  color: white;\n  background-color: #424242;\n  border: 2px solid black;\n  border-top: 0; }\n\n.light-copy-table[_ngcontent-%COMP%] {\n  color: #404040;\n  background-color: #FEFEFF;\n  border: 2px solid #E4E4E5;\n  border-top: 0; }\n\n.table-row[_ngcontent-%COMP%] {\n  display: table-row;\n  width: auto;\n  height: 80px; }\n\n.table-cell[_ngcontent-%COMP%] {\n  display: table-cell;\n  vertical-align: middle;\n  text-align: left;\n  font-weight: 600;\n  position: relative; }\n\n.copy-url-cell[_ngcontent-%COMP%] {\n  padding-left: 20px; }\n\n.copy-full-row-url-cell[_ngcontent-%COMP%] {\n  padding-left: 24px; }\n\n.clickable-cell[_ngcontent-%COMP%] {\n  cursor: pointer;\n  padding-left: 75px; }\n\n.dark-cell[_ngcontent-%COMP%] {\n  color: white;\n  border: 1px solid black; }\n\n.dark-cell[_ngcontent-%COMP%]   .icon-container[_ngcontent-%COMP%] {\n    color: #404040; }\n\n.dark-cell[_ngcontent-%COMP%]   .url-container[_ngcontent-%COMP%] {\n    border: 1.5px solid grey;\n    background-color: transparent; }\n\n.light-cell[_ngcontent-%COMP%] {\n  border: 1px solid #E4E4E5;\n  color: #404040; }\n\n.icon-container[_ngcontent-%COMP%] {\n  border-radius: 50%;\n  height: 32px;\n  width: 32px;\n  position: absolute;\n  top: 24px;\n  left: 24px;\n  background-color: #F2F2F2;\n  border: 1px solid #C2C2C2; }\n\n.icon-container[_ngcontent-%COMP%]   .small-icon[_ngcontent-%COMP%] {\n    position: absolute;\n    left: 0.45em;\n    top: 0.45em;\n    font-size: 16px; }"]}),e})()},59677:(e,t,n)=>{"use strict";n.d(t,{S:()=>i.RAFLinksModule,pt:()=>r.p,wB:()=>o.w});var i=n(75025),r=n(80953),o=(n(4869),n(61733));n(23056),n(50206),n(3935)},34033:(e,t,n)=>{"use strict";n.d(t,{J:()=>l});var i=n(57826),r=n(6856),o=n(73753),a=n(68576),s=n(55640),c=n(66168);let l=(()=>{class e{constructor(e,t,n,i,r){this.destinationService=e,this.multilingualRoutesService=t,this.browserStorageService=n,this.router=i,this.platformId=r}canActivate(t){const n=t.queryParams.destination;if(n)this.destinationService.setDestination(this.getDestination(this.fullyDecodeURI(n)));else if((0,r.isPlatformBrowser)(this.platformId)){const t=this.browserStorageService.get(e.PREVIOUS_URL_KEY);t&&this.destinationService.setDestination(this.fullyDecodeURI(t))}return!0}canDeactivate(){return this.destinationService.setDestination(null),!0}getDestination(e){var t;let n={};const i=this.router.parseUrl(e),r=null!==(t=i.root.children[o.PRIMARY_OUTLET])&&void 0!==t?t:"",a=new c.MS(r.toString()),s=this.multilingualRoutesService.processPath(a).url;return n.path=s&&!s.startsWith("/")?"/"+s:s,n.queryParams=i.queryParams,n.outlets=Object.entries(i.root.children).filter((([e,t])=>e!==o.PRIMARY_OUTLET)).reduce(((e,[t,n])=>({...e,[t]:n.toString()})),{}),n}isEncoded(e){return(e=e||"")!==decodeURIComponent(e)}fullyDecodeURI(e){for(;this.isEncoded(e);)e=decodeURIComponent(e);return e}}return e.PREVIOUS_URL_KEY="previousUrl",e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](a.B),i["ɵɵinject"](c.JH),i["ɵɵinject"](s.z),i["ɵɵinject"](o.Router),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},52652:(e,t,n)=>{"use strict";n.d(t,{g:()=>c});var i=n(73753),r=n(34033),o=n(68576),a=n(55640),s=n(57826);let c=(()=>{class e{static forRoot(){return{ngModule:e,imports:[i.RouterModule],providers:[a.z,o.B,r.J]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=s["ɵɵdefineNgModule"]({type:e}),e.ɵinj=s["ɵɵdefineInjector"]({}),e})()},68576:(e,t,n)=>{"use strict";n.d(t,{B:()=>r});var i=n(57826);let r=(()=>{class e{getDestination(){return this.destination}setDestination(e){this.destination=e}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},8122:(e,t,n)=>{"use strict";n.d(t,{I:()=>c});var i=n(73753),r=n(81899),o=n(33087),a=n(81243),s=n(57826);let c=(()=>{class e{constructor(e,t,n,i){this.router=e,this.urlService=t,this.windowService=n,this.langService=i,this.langService.getLanguage().subscribe((e=>this.lang=e))}redirect(e,t=301){if(this.windowService.getIsPlatformBrowser()&&e.includes("prerender=true")){const n=this.ensureUrlStartsWithLang(e),i=this.urlService.calculateURL(n);this.windowService.document().body.innerHTML=this.windowService.document().body.innerHTML+`<bx-redirect-to status="${t}" location="${i}"></bx-redirect-to>`}else this.router.navigateByUrl(e)}ensureUrlStartsWithLang(e){return this.langService.defaultLanguage===this.lang||e.startsWith(`/${this.lang}/`)?e:`/${this.lang}${e}`}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.Router),s["ɵɵinject"](a.j),s["ɵɵinject"](r.u),s["ɵɵinject"](o.TS))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},14186:(e,t,n)=>{"use strict";n.d(t,{o:()=>a});var i=n(23550),r=n(30986),o=n(57826);let a=(()=>{class e{constructor(e,t){this.conversionFunnelService=e,this.httpClient=t,this.buildConfirmationCodeUrl=e=>`/services/player-verification/v1/profiles/<sessionId>/operation/${e}/confirmationCode`}emit(e){this.conversionFunnelService.emit(e)}requestConfirmationCode(e){return this.httpClient.post(this.buildConfirmationCodeUrl(e),{},{withCredentials:!0})}}return e.ɵfac=function(t){return new(t||e)(o["ɵɵinject"](r.Kx),o["ɵɵinject"](i.HttpClient))},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},45242:(e,t,n)=>{"use strict";n.d(t,{Y:()=>r});var i=n(57826);let r=(()=>{class e{constructor(){this.skipButtonStyleClass=""}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},51487:(e,t,n)=>{"use strict";n.d(t,{Nb:()=>r});var i=n(57826);class r{}r.DEFAULT=new r,r.ɵfac=function(e){return new(e||r)},r.ɵprov=i["ɵɵdefineInjectable"]({token:r,factory:r.ɵfac})},85100:(e,t,n)=>{"use strict";n.d(t,{y:()=>i});class i{constructor(e,t,n){this.type=e,this.amount=t,this.currency=n}}new i("",0,"")},36631:(e,t,n)=>{"use strict";n.d(t,{j:()=>s});var i=n(45965),r=n(55640),o=n(12095),a=n(57826);let s=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.browserStorageService=t}isFishHunterEnabled(){return this.isFeatureFlagOrOverrideEnabled(o.IM)}isOneworksEnabled(){return this.isFeatureFlagOrOverrideEnabled(o.nu)}isMatchPayEnabled(){return this.isFeatureFlagOrOverrideEnabled(o.BI)}isCMMatchPayEnabled(){return this.isFeatureFlagOrOverrideEnabled(o.nw)}isFeatureFlagOrOverrideEnabled(e){const t=this.browserStorageService.get(e);return null==t?this.siteConfigService.evalFeature(e):"true"==t}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.r),a["ɵɵinject"](r.z))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},64076:(e,t,n)=>{"use strict";n.d(t,{Q:()=>b});var i=n(6856),r=n(73753),o=n(38960),a=n(4060),s=n(84704),c=n(91184),l=n(14739),d=n(2967),u=n(94768),p=n(80823),h=n(73076),m=n(26995),f=n(36631),g=n(40606),v=n(57826);let b=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=v["ɵɵdefineNgModule"]({type:e}),e.ɵinj=v["ɵɵdefineInjector"]({providers:[o.m,l.L,d.e,u.Y,p.n,h.s,m.l,f.j,g.W],imports:[[i.CommonModule,a.P,s.a,r.RouterModule,c.nA],a.P]}),e})()},38960:(e,t,n)=>{"use strict";n.d(t,{m:()=>u});var i=n(58132),r=n(3150),o=n(23550),a=n(25695),s=n(40809),c=n(4309),l=n(42998),d=n(57826);class u{constructor(e,t){this.http=e,this.bonusListService=t}getBalances(){return this.balancesUpdates$||(this.balancesUpdates$=new c.ReplaySubject(1),this.initPolling()),this.balances$||(this.balances$=this.fetchBalance().pipe((0,l.publishLast)(),(0,l.refCount)(),(0,l.finalize)((()=>{this.balances$=null}))),this.balances$.subscribe((()=>{}))),this.balancesUpdates$}getBalancesMap(){return this.getBalances().pipe((0,l.map)((e=>s(a("type")(e),e))))}fetchBalance(){return this.http.get(u.URL_BALANCES,{withCredentials:!0}).pipe((0,l.map)((e=>{this.balancesUpdates$.next(e)})))}initPolling(){(0,c.merge)((0,c.interval)(u.POLLING_INTERVAL_MILISECONDS),this.bonusListService.onActiveBonusChange.asObservable()).pipe((0,l.mergeMap)((()=>this.fetchBalance()))).subscribe((()=>{}))}}u.POLLING_INTERVAL_MILISECONDS=3e4,u.URL_BALANCES="/services/wallet-gateway/v1/profiles/"+i.Y.SESSION_ID_PLACEHOLDER+"/balances",u.ɵfac=function(e){return new(e||u)(d["ɵɵinject"](o.HttpClient),d["ɵɵinject"](r.u))},u.ɵprov=d["ɵɵdefineInjectable"]({token:u,factory:u.ɵfac})},58710:(e,t,n)=>{"use strict";n.d(t,{r:()=>C});var i=n(64762),r=n(6856),o=n(57826),a=n(93758),s=n(35294),c=n(84781),l=n(32711),d=n(91184),u=n(25695),p=n(40809),h=n(4309),m=n(42998),f=n(85100),g=n(38960),v=n(2967),b=n(26995),y=n(40644),S=n(80823);class C extends c.d{constructor(e,t,n,i,o,a,s){super(),this.service=e,this.fishService=t,this.oneworksService=n,this.matchpayService=i,this.stateStore=o,this.monetaryAmountService=a,this.platformId=s,this.balances=l.LO.map(),this.products=l.LO.map(),(0,r.isPlatformBrowser)(this.platformId)&&(this.listenLoginStore(),this.setBalances(this.initObject()),(0,l.U5)((()=>this.mustRefresh),(()=>{this.service.getBalancesMap(),this.getFishBalanceMap(!0),this.getOneworksBalanceMap(!0),this.getMatchpayBalanceMap(!0)})),(0,h.merge)(this.service.getBalancesMap(),this.getFishBalanceMap(),this.getOneworksBalanceMap(),this.getMatchpayBalanceMap()).subscribe((e=>{this.setBalances(e),this.done()}),(()=>{this.error()})))}getFishBalanceMap(e){return this.fishService.getBalance(e).pipe((0,m.map)((e=>p(u("type")([e]),[e]))))}getOneworksBalanceMap(e){return this.oneworksService.getBalance(e).pipe((0,m.map)((e=>p(u("type")([e]),[e]))))}getMatchpayBalanceMap(e){return this.matchpayService.getBalance(e).pipe((0,m.map)((e=>p(u("type")([e]),[e]))))}get playable(){return this.balances.get(y.s.PLAYABLE).amount}get withdrawable(){return this.balances.get(y.s.WITHDRAWABLE).amount}get bonus(){return this.balances.get(y.s.BONUS).amount}get locked(){return this.balances.get(y.s.LOCKED).amount}get unlocked(){return this.balances.get(y.s.UNLOCKED).amount}get pendingWithdrawal(){return this.balances.get(y.s.PENDING_WITHDRAWAL).amount}get total(){return this.balances.get(y.s.TOTAL)}get nonPlayableBonus(){return this.balances.get(y.s.NON_PLAYABLE_BONUS)}get lockedBalance(){return this.balances.get(y.s.LOCKED)}get unlockedBalance(){return this.balances.get(y.s.UNLOCKED)}get bonusBalance(){return this.balances.get(y.s.BONUS)}get playableBalance(){return this.balances.get(y.s.PLAYABLE)}get pendingWithdrawalBalance(){return this.balances.get(y.s.PENDING_WITHDRAWAL)}get playableWithExternalWallets(){let e=this.balances.get(y.s.PLAYABLE),t=this.balances.get(y.s.FISH_HUNTER),n=this.balances.get(y.s.ONEWORKS);return e.currency?{amount:(e.amount||0)+(t.amount||0)+(n.amount||0),currency:e.currency}:this.emptyBalance()}get totalWithExternalWallets(){let e=this.balances.get(y.s.TOTAL),t=this.balances.get(y.s.FISH_HUNTER),n=this.balances.get(y.s.ONEWORKS);return e.currency?{amount:(e.amount||0)+(t.amount||0)+(n.amount||0)-(this.nonPlayableBonus.amount||0),currency:e.currency}:this.emptyBalance()}get fishHunter(){return this.balances.get(y.s.FISH_HUNTER)}get oneworks(){return this.balances.get(y.s.ONEWORKS)}get matchpay(){return this.balances.get(y.s.MATCHPAY)}get playableBalanceFormatter(){return this.getBalanceFormatter(y.s.PLAYABLE)}get playableCurrencyAmount(){return void 0===this.balances.get(y.s.PLAYABLE).amount?"":this.monetaryAmountService.format({amount:this.balances.get(y.s.PLAYABLE).amount})}get withdrawableBalanceFormatter(){return this.getBalanceFormatter(y.s.WITHDRAWABLE)}get bonusBalanceFormatter(){return this.getBalanceFormatter(y.s.BONUS)}get lockedBalanceFormatter(){return this.getBalanceFormatter(y.s.LOCKED)}get unlockedBalanceFormatter(){return this.getBalanceFormatter(y.s.UNLOCKED)}get pendingWithdrawalBalanceFormatter(){return this.getBalanceFormatter(y.s.PENDING_WITHDRAWAL)}get playableCasino(){return this.balances.get(y.s.PLAYABLE_CASINO)}get playableSports(){return this.balances.get(y.s.PLAYABLE_SPORTS)}get playablePoker(){return this.balances.get(y.s.PLAYABLE_POKER)}get playableHorses(){return this.balances.get(y.s.PLAYABLE_HORSES)}setBalances(e){Object.keys(e).forEach((t=>{this.balances.set(t,e[t])}))}getBalanceFormatter(e){let t=this.balances.get(e);return null==t.amount?"":this.monetaryAmountService.formatNativeCurrency(t.amount)}emptyBalance(){return new f.y("",void 0,"")}initObject(){return{Playable:this.emptyBalance(),PlayableCasino:this.emptyBalance(),PlayableSports:this.emptyBalance(),PlayablePoker:this.emptyBalance(),PlayableHorses:this.emptyBalance(),Withdrawable:this.emptyBalance(),Bonus:this.emptyBalance(),Locked:this.emptyBalance(),Unlocked:this.emptyBalance(),PendingWithdrawal:this.emptyBalance(),FishHunter:this.emptyBalance(),Oneworks:this.emptyBalance(),MatchPay:this.emptyBalance(),Total:this.emptyBalance(),NonPlayableBonus:this.emptyBalance()}}fetchNewBalance(){this.stateStore.loginState&&this.refresh()}listenLoginStore(){(0,l.EH)((()=>{this.stateStore.loginState?this.refresh():this.setBalances(this.initObject())}))}}C.ɵfac=function(e){return new(e||C)(o["ɵɵinject"](g.m),o["ɵɵinject"](v.e),o["ɵɵinject"](S.n),o["ɵɵinject"](b.l),o["ɵɵinject"](s.X),o["ɵɵinject"](a.S),o["ɵɵinject"](o.PLATFORM_ID))},C.ɵprov=o["ɵɵdefineInjectable"]({token:C,factory:C.ɵfac}),(0,i.__decorate)([d.LO,(0,i.__metadata)("design:type",l.vP)],C.prototype,"balances",void 0),(0,i.__decorate)([d.LO,(0,i.__metadata)("design:type",l.vP)],C.prototype,"products",void 0),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Number),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"playable",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Number),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"withdrawable",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Number),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"bonus",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Number),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"locked",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Number),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"unlocked",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Number),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"pendingWithdrawal",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"total",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"nonPlayableBonus",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"lockedBalance",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"unlockedBalance",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"bonusBalance",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"playableBalance",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"pendingWithdrawalBalance",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"playableWithExternalWallets",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"totalWithExternalWallets",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"fishHunter",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"oneworks",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"matchpay",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"playableBalanceFormatter",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"playableCurrencyAmount",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"withdrawableBalanceFormatter",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"bonusBalanceFormatter",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"lockedBalanceFormatter",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"unlockedBalanceFormatter",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"pendingWithdrawalBalanceFormatter",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"playableCasino",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"playableSports",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"playablePoker",null),(0,i.__decorate)([d.Fl,(0,i.__metadata)("design:type",Object),(0,i.__metadata)("design:paramtypes",[])],C.prototype,"playableHorses",null),(0,i.__decorate)([d.aD,(0,i.__metadata)("design:type",Function),(0,i.__metadata)("design:paramtypes",[Object]),(0,i.__metadata)("design:returntype",void 0)],C.prototype,"setBalances",null)},14739:(e,t,n)=>{"use strict";n.d(t,{L:()=>c});var i=n(23550),r=n(42998),o=n(85100),a=n(40644),s=n(57826);let c=(()=>{class e{constructor(e){this.http=e}getBalance(e="<sessionId>"){let t=`/services/casino/casino-integration-services/v1/agfishhunter/sites/<siteId>/players/${e}/balance`;return this.http.get(t,{withCredentials:!0}).pipe((0,r.map)((e=>new o.y(a.s.FISH_HUNTER,this.fromCents(e.balance),e.currency))))}fromCents(e){return(e||0)/100}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.HttpClient))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},2967:(e,t,n)=>{"use strict";n.d(t,{e:()=>l});var i=n(6856),r=n(57826),o=n(4309),a=n(42998),s=n(36631),c=n(14739);let l=(()=>{class e{constructor(t,n,r){this.fishHunterBalanceService=t,this.balanceConfigService=n,this.platformId=r,this.forceRefresh$=new o.BehaviorSubject(!0),this.holdBalance$=new o.BehaviorSubject(!1),(0,i.isPlatformBrowser)(this.platformId)&&(this.balances$=(0,o.combineLatest)(this.holdBalance$.pipe((0,a.distinctUntilChanged)(),(0,a.switchMap)((t=>(0,o.iif)((()=>!t),(0,o.timer)(0,e.POLLING_INTERVAL_MS),o.EMPTY)))),this.forceRefresh$).pipe((0,a.filter)((()=>this.balanceConfigService.isFishHunterEnabled())),(0,a.switchMap)((()=>this.fishHunterBalanceService.getBalance().pipe((0,a.onErrorResumeNext)(o.EMPTY)))),(0,a.share)()),this.balances$.subscribe((e=>this.holdBalance$.next(0===e.amount))))}getBalance(e){return e&&!this.holdBalance$.value?this.forceRefresh$.next(!0):e&&this.holdBalance$.value&&this.holdBalance$.next(!1),this.balances$}}return e.POLLING_INTERVAL_MS=18e4,e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](c.L),r["ɵɵinject"](s.j),r["ɵɵinject"](r.PLATFORM_ID))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},73076:(e,t,n)=>{"use strict";n.d(t,{s:()=>l});var i=n(58132),r=n(23550),o=n(42998),a=n(85100),s=n(40644),c=n(57826);let l=(()=>{class e{constructor(e){this.http=e}getBalance(e){let t=`/services/ecomm/matchpay/${i.Y.SESSION_ID_PLACEHOLDER}/balance`;return this.http.get(t,{headers:e,withCredentials:!0}).pipe((0,o.map)((e=>new a.y(s.s.MATCHPAY,e.balance,e.currency))))}}return e.ɵfac=function(t){return new(t||e)(c["ɵɵinject"](r.HttpClient))},e.ɵprov=c["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},26995:(e,t,n)=>{"use strict";n.d(t,{l:()=>d});var i=n(6856),r=n(57826),o=n(35294),a=n(4309),s=n(42998),c=n(36631),l=n(73076);let d=(()=>{class e{constructor(t,n,r,o){this.matchpayBalanceService=t,this.balanceConfigService=n,this.stateStore=r,this.platformId=o,this.forceRefresh$=new a.BehaviorSubject(!0),this.holdBalance$=new a.BehaviorSubject(!1),(0,i.isPlatformBrowser)(this.platformId)&&(this.balances$=(0,a.combineLatest)(this.holdBalance$.pipe((0,s.distinctUntilChanged)(),(0,s.switchMap)((t=>(0,a.iif)((()=>!t),(0,a.timer)(0,e.POLLING_INTERVAL_MS),a.EMPTY)))),this.forceRefresh$).pipe((0,s.filter)((()=>this.balanceConfigService.isMatchPayEnabled()&&this.isUserLogged())),(0,s.switchMap)((()=>this.matchpayBalanceService.getBalance().pipe((0,s.onErrorResumeNext)(a.EMPTY)))),(0,s.share)()),this.balances$.subscribe((e=>this.holdBalance$.next(0===e.amount))))}getBalance(e){return e&&!this.holdBalance$.value?this.forceRefresh$.next(!0):e&&this.holdBalance$.value&&this.holdBalance$.next(!1),this.balances$}isUserLogged(){return this.stateStore.loginState}}return e.POLLING_INTERVAL_MS=18e4,e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](l.s),r["ɵɵinject"](c.j),r["ɵɵinject"](o.X),r["ɵɵinject"](r.PLATFORM_ID))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},94768:(e,t,n)=>{"use strict";n.d(t,{Y:()=>c});var i=n(23550),r=n(42998),o=n(85100),a=n(40644),s=n(57826);let c=(()=>{class e{constructor(e){this.http=e}getBalance(e){return this.http.get("/services/sports/oneworks/v1/balance",{headers:e,withCredentials:!0}).pipe((0,r.map)((e=>new o.y(a.s.ONEWORKS,e.balance,e.currency))))}}return e.ɵfac=function(t){return new(t||e)(s["ɵɵinject"](i.HttpClient))},e.ɵprov=s["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},80823:(e,t,n)=>{"use strict";n.d(t,{n:()=>d});var i=n(6856),r=n(57826),o=n(35294),a=n(4309),s=n(42998),c=n(36631),l=n(94768);let d=(()=>{class e{constructor(t,n,r,o){this.oneworksBalanceService=t,this.balanceConfigService=n,this.stateStore=r,this.platformId=o,this.forceRefresh$=new a.BehaviorSubject(!0),this.holdBalance$=new a.BehaviorSubject(!1),(0,i.isPlatformBrowser)(this.platformId)&&(this.balances$=(0,a.combineLatest)(this.holdBalance$.pipe((0,s.distinctUntilChanged)(),(0,s.switchMap)((t=>(0,a.iif)((()=>!t),(0,a.timer)(0,e.POLLING_INTERVAL_MS),a.EMPTY)))),this.forceRefresh$).pipe((0,s.filter)((()=>this.balanceConfigService.isOneworksEnabled()&&this.isUserLogged())),(0,s.switchMap)((()=>this.oneworksBalanceService.getBalance().pipe((0,s.onErrorResumeNext)(a.EMPTY)))),(0,s.share)()),this.balances$.subscribe((e=>this.holdBalance$.next(0===e.amount))))}getBalance(e){return e&&!this.holdBalance$.value?this.forceRefresh$.next(!0):e&&this.holdBalance$.value&&this.holdBalance$.next(!1),this.balances$}isUserLogged(){return this.stateStore.loginState}}return e.POLLING_INTERVAL_MS=18e4,e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](l.Y),r["ɵɵinject"](c.j),r["ɵɵinject"](o.X),r["ɵɵinject"](r.PLATFORM_ID))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},40644:(e,t,n)=>{"use strict";n.d(t,{s:()=>i});let i=(()=>{class e{}return e.PLAYABLE="Playable",e.PLAYABLE_CASINO="PlayableCasino",e.PLAYABLE_SPORTS="PlayableSports",e.PLAYABLE_POKER="PlayablePoker",e.PLAYABLE_HORSES="PlayableHorses",e.NON_PLAYABLE_BONUS="NonPlayableBonus",e.WITHDRAWABLE="Withdrawable",e.BONUS="Bonus",e.LOCKED="Locked",e.UNLOCKED="Unlocked",e.PENDING_WITHDRAWAL="PendingWithdrawal",e.FISH_HUNTER="FishHunter",e.ONEWORKS="Oneworks",e.MATCHPAY="MatchPay",e.TOTAL="Total",e})()},65357:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});var i=n(57826);let r=(()=>{class e{getWithdrawButtonClass(e,t,n,i){return"account-withdraw-button custom-cta flex-buttons "+e+(!t||n&&i?" one-button-row":" two-buttons-row")}getTransferButtonClass(e,t,n){return"account-transfer-button custom-cta flex-buttons "+e+(t&&n?" two-buttons-row":"")}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},12095:(e,t,n)=>{"use strict";n.d(t,{BI:()=>o,IM:()=>i,nu:()=>r,nw:()=>a});const i="site.config.casino.fish.hunter.enabled",r="site.config.sports.oneworks.enabled",o="site.config.matchpay.enabled",a="site.config.cm.matchpay.enabled"},27409:(e,t,n)=>{"use strict";n.d(t,{h:()=>s});var i=n(45965),r=n(55640),o=n(12095),a=n(57826);let s=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.browserStorageService=t}isTransferEnabled(){return this.isFishHunterEnabled()||this.isOneworksEnabled()}isFishHunterEnabled(){return this.isFeatureFlagOrOverrideEnabled(o.IM)}isOneworksEnabled(){return this.isFeatureFlagOrOverrideEnabled(o.nu)}isFeatureFlagOrOverrideEnabled(e){const t=this.browserStorageService.get(e);return null==t?this.siteConfigService.evalFeature(e):"true"==t}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.r),a["ɵɵinject"](r.z))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},94254:(e,t,n)=>{"use strict";n.d(t,{n:()=>p});var i=n(6856),r=n(91184),o=n(27409),a=n(84704),s=n(4060),c=n(8807),l=n(73753),d=n(52450),u=n(57826);let p=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=u["ɵɵdefineNgModule"]({type:e}),e.ɵinj=u["ɵɵdefineInjector"]({providers:[o.h],imports:[[i.CommonModule,a.a,s.P,r.nA,c.E,l.RouterModule,d.P]]}),e})()},46821:function(e,t,n){var i;!function(r){"use strict";var o,a=1e6,s={},c=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function l(e,t,n){var i=e.constructor,r=t-(e=new i(e)).e,o=e.c;for(o.length>++t&&d(e,r,i.RM),o[0]?n?r=t:(o=e.c,r=e.e+r+1):++r;o.length<r;o.push(0));return r=e.e,1===n||n&&(t<=r||r<=i.E_NEG)?(e.s<0&&o[0]?"-":"")+(o.length>1?o[0]+"."+o.join("").slice(1):o[0])+(r<0?"e":"e+")+r:e.toString()}function d(e,t,n,i){var r,o=e.c,a=e.e+t+1;if(1===n?i=o[a]>=5:2===n?i=o[a]>5||5==o[a]&&(i||a<0||o[a+1]!==r||1&o[a-1]):3===n?i=i||o[a]!==r||a<0:(i=!1,0!==n&&u("!Big.RM!")),a<1||!o[0])i?(e.e=-t,e.c=[1]):e.c=[e.e=0];else{if(o.length=a--,i)for(;++o[a]>9;)o[a]=0,a--||(++e.e,o.unshift(1));for(a=o.length;!o[--a];o.pop());}return e}function u(e){var t=new Error(e);throw t.name="BigError",t}s.abs=function(){var e=new this.constructor(this);return e.s=1,e},s.cmp=function(e){var t,n=this,i=n.c,r=(e=new n.constructor(e)).c,o=n.s,a=e.s,s=n.e,c=e.e;if(!i[0]||!r[0])return i[0]?o:r[0]?-a:0;if(o!=a)return o;if(t=o<0,s!=c)return s>c^t?1:-1;for(o=-1,a=(s=i.length)<(c=r.length)?s:c;++o<a;)if(i[o]!=r[o])return i[o]>r[o]^t?1:-1;return s==c?0:s>c^t?1:-1},s.div=function(e){var t=this,n=t.constructor,i=t.c,r=(e=new n(e)).c,o=t.s==e.s?1:-1,s=n.DP;if((s!==~~s||s<0||s>a)&&u("!Big.DP!"),!i[0]||!r[0])return i[0]==r[0]&&u(NaN),r[0]||u(o/0),new n(0*o);var c,l,p,h,m,f,g=r.slice(),v=c=r.length,b=i.length,y=i.slice(0,c),S=y.length,C=e,x=C.c=[],I=0,w=s+(C.e=t.e-e.e)+1;for(C.s=o,o=w<0?0:w,g.unshift(0);S++<c;y.push(0));do{for(p=0;p<10;p++){if(c!=(S=y.length))h=c>S?1:-1;else for(m=-1,h=0;++m<c;)if(r[m]!=y[m]){h=r[m]>y[m]?1:-1;break}if(!(h<0))break;for(l=S==c?r:g;S;){if(y[--S]<l[S]){for(m=S;m&&!y[--m];y[m]=9);--y[m],y[S]+=10}y[S]-=l[S]}for(;!y[0];y.shift());}x[I++]=h?p:++p,y[0]&&h?y[S]=i[v]||0:y=[i[v]]}while((v++<b||y[0]!==f)&&o--);return x[0]||1==I||(x.shift(),C.e--),I>w&&d(C,s,n.RM,y[0]!==f),C},s.eq=function(e){return!this.cmp(e)},s.gt=function(e){return this.cmp(e)>0},s.gte=function(e){return this.cmp(e)>-1},s.lt=function(e){return this.cmp(e)<0},s.lte=function(e){return this.cmp(e)<1},s.sub=s.minus=function(e){var t,n,i,r,o=this,a=o.constructor,s=o.s,c=(e=new a(e)).s;if(s!=c)return e.s=-c,o.plus(e);var l=o.c.slice(),d=o.e,u=e.c,p=e.e;if(!l[0]||!u[0])return u[0]?(e.s=-c,e):new a(l[0]?o:0);if(s=d-p){for((r=s<0)?(s=-s,i=l):(p=d,i=u),i.reverse(),c=s;c--;i.push(0));i.reverse()}else for(n=((r=l.length<u.length)?l:u).length,s=c=0;c<n;c++)if(l[c]!=u[c]){r=l[c]<u[c];break}if(r&&(i=l,l=u,u=i,e.s=-e.s),(c=(n=u.length)-(t=l.length))>0)for(;c--;l[t++]=0);for(c=t;n>s;){if(l[--n]<u[n]){for(t=n;t&&!l[--t];l[t]=9);--l[t],l[n]+=10}l[n]-=u[n]}for(;0===l[--c];l.pop());for(;0===l[0];)l.shift(),--p;return l[0]||(e.s=1,l=[p=0]),e.c=l,e.e=p,e},s.mod=function(e){var t,n=this,i=n.constructor,r=n.s,o=(e=new i(e)).s;return e.c[0]||u(NaN),n.s=e.s=1,t=1==e.cmp(n),n.s=r,e.s=o,t?new i(n):(r=i.DP,o=i.RM,i.DP=i.RM=0,n=n.div(e),i.DP=r,i.RM=o,this.minus(n.times(e)))},s.add=s.plus=function(e){var t,n=this,i=n.constructor,r=n.s,o=(e=new i(e)).s;if(r!=o)return e.s=-o,n.minus(e);var a=n.e,s=n.c,c=e.e,l=e.c;if(!s[0]||!l[0])return l[0]?e:new i(s[0]?n:0*r);if(s=s.slice(),r=a-c){for(r>0?(c=a,t=l):(r=-r,t=s),t.reverse();r--;t.push(0));t.reverse()}for(s.length-l.length<0&&(t=l,l=s,s=t),r=l.length,o=0;r;)o=(s[--r]=s[r]+l[r]+o)/10|0,s[r]%=10;for(o&&(s.unshift(o),++c),r=s.length;0===s[--r];s.pop());return e.c=s,e.e=c,e},s.pow=function(e){var t=this,n=new t.constructor(1),i=n,r=e<0;for((e!==~~e||e<-1e6||e>1e6)&&u("!pow!"),e=r?-e:e;1&e&&(i=i.times(t)),e>>=1;)t=t.times(t);return r?n.div(i):i},s.round=function(e,t){var n=this,i=n.constructor;return null==e?e=0:(e!==~~e||e<0||e>a)&&u("!round!"),d(n=new i(n),e,null==t?i.RM:t),n},s.sqrt=function(){var e,t,n,i=this,r=i.constructor,o=i.c,a=i.s,s=i.e,c=new r("0.5");if(!o[0])return new r(i);a<0&&u(NaN),0===(a=Math.sqrt(i.toString()))||a===1/0?((e=o.join("")).length+s&1||(e+="0"),(t=new r(Math.sqrt(e).toString())).e=((s+1)/2|0)-(s<0||1&s)):t=new r(a.toString()),a=t.e+(r.DP+=4);do{n=t,t=c.times(n.plus(i.div(n)))}while(n.c.slice(0,a).join("")!==t.c.slice(0,a).join(""));return d(t,r.DP-=4,r.RM),t},s.mul=s.times=function(e){var t,n=this,i=n.constructor,r=n.c,o=(e=new i(e)).c,a=r.length,s=o.length,c=n.e,l=e.e;if(e.s=n.s==e.s?1:-1,!r[0]||!o[0])return new i(0*e.s);for(e.e=c+l,a<s&&(t=r,r=o,o=t,l=a,a=s,s=l),t=new Array(l=a+s);l--;t[l]=0);for(c=s;c--;){for(s=0,l=a+c;l>c;)s=t[l]+o[c]*r[l-c-1]+s,t[l--]=s%10,s=s/10|0;t[l]=(t[l]+s)%10}for(s&&++e.e,t[0]||t.shift(),c=t.length;!t[--c];t.pop());return e.c=t,e},s.toString=s.valueOf=s.toJSON=function(){var e=this,t=e.constructor,n=e.e,i=e.c.join(""),r=i.length;if(n<=t.E_NEG||n>=t.E_POS)i=i.charAt(0)+(r>1?"."+i.slice(1):"")+(n<0?"e":"e+")+n;else if(n<0){for(;++n;i="0"+i);i="0."+i}else if(n>0)if(++n>r)for(n-=r;n--;i+="0");else n<r&&(i=i.slice(0,n)+"."+i.slice(n));else r>1&&(i=i.charAt(0)+"."+i.slice(1));return e.s<0&&e.c[0]?"-"+i:i},s.toExponential=function(e){return null==e?e=this.c.length-1:(e!==~~e||e<0||e>a)&&u("!toExp!"),l(this,e,1)},s.toFixed=function(e){var t,n=this,i=n.constructor,r=i.E_NEG,o=i.E_POS;return i.E_NEG=-(i.E_POS=1/0),null==e?t=n.toString():e===~~e&&e>=0&&e<=a&&(t=l(n,n.e+e),n.s<0&&n.c[0]&&t.indexOf("-")<0&&(t="-"+t)),i.E_NEG=r,i.E_POS=o,t||u("!toFix!"),t},s.toPrecision=function(e){return null==e?this.toString():((e!==~~e||e<1||e>a)&&u("!toPre!"),l(this,e-1,2))},o=function e(){function t(n){var i=this;if(!(i instanceof t))return void 0===n?e():new t(n);n instanceof t?(i.s=n.s,i.e=n.e,i.c=n.c.slice()):function(e,t){var n,i,r;for(0===t&&1/t<0?t="-0":c.test(t+="")||u(NaN),e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".","")),(i=t.search(/e/i))>0?(n<0&&(n=i),n+=+t.slice(i+1),t=t.substring(0,i)):n<0&&(n=t.length),r=t.length,i=0;i<r&&"0"==t.charAt(i);i++);if(i==r)e.c=[e.e=0];else{for(;r>0&&"0"==t.charAt(--r););for(e.e=n-i-1,e.c=[];i<=r;e.c.push(+t.charAt(i++)));}}(i,n),i.constructor=t}return t.prototype=s,t.DP=20,t.RM=1,t.E_NEG=-7,t.E_POS=21,t}(),void 0===(i=function(){return o}.call(t,n,t,e))||(e.exports=i)}()},77388:(e,t,n)=>{"use strict";n.d(t,{Eb:()=>o,Th:()=>a});class i{constructor(e){this.name=e.dealername||"",this.image=e.photoURL||"",this.start=new Date(e.start)||new Date}}class r{constructor(e){this.name=e.limitname||"",this.min=e.min||"",this.max=e.max||""}}let o=(()=>{class e{constructor(t){this.json=t,this.gameId=t.gameId||e.ERROR_ID,this.vendorGameId=t.vendorGameId||"",this.id=t.table||"",this.status=t.status||"",this.uniqueId=this.gameId+":"+this.id,this.currency=t.limits.currency,this.dealer=new i(t.dealer),this.limits=t.limits.limits.map((e=>new r(e))),t.seats&&(this._seats=t.seats)}set seats(e){this._seats=e,this.json.seats=e}get seats(){return this._seats}get game(){return this.vendorGameId}get seatsAvailable(){return!!this.seats&&this.seats.includes(1)}get maximum(){if(!this.limits.length)return 0;let e=this.limits.map((e=>parseInt(e.max)));return Math.max(...e)}}return e.ERROR_ID=-1,e})();class a{}},76795:(e,t,n)=>{"use strict";n.d(t,{j:()=>s}),n(73753);var i=n(4788),r=n(90388),o=n(42998),a=n(57826);let s=(()=>{class e{constructor(e,t){this.gameService=e,this.contentNotFoundHandler=t}resolve(e,t){const n=+e.params.gameId;return this.gameService.getGameCardById(n).pipe((0,o.switchMap)((({slug:e})=>this.gameService.getGame(e))),(0,o.catchError)((e=>this.contentNotFoundHandler.resolveContentNotFoundOrThrow(e))))}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](i.GH),a["ɵɵinject"](r.B))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},83471:(e,t,n)=>{"use strict";n.d(t,{A:()=>m});var i=n(6856),r=n(57826),o=n(23550),a=n(22274),s=n(49379),c=n(81899),l=n(48108),d=n(45965),u=n(92947),p=n(4309),h=n(42998);let m=(()=>{class e{constructor(e,t,n,r,o,a,s,c){this.http=e,this.channelTypeService=t,this.languageService=n,this.siteConfigService=r,this.hostnameService=o,this.windowService=a,this.profileService=s,this.platformId=c,this.casinoServiceUrl="/services/casino/casino-lobby-services",this.casinoConfigProp="casino",this.playUrl=(e,t)=>`${this.casinoServiceUrl}/${e}/games/${t}/url`;const l=this.siteConfigService.getSiteConfigProp(this.casinoConfigProp).gameSubdomain,d=(0,i.isPlatformBrowser)(this.platformId)?this.windowService.getHostnameWithoutWWW():"";this.brandCode=this.siteConfigService.getSiteConfigProp("brandCode"),this.territory=this.siteConfigService.getSiteConfigProp("territory")||"DEFAULT",this.hostOrigin=this.hostnameService.hostname,this.homeURL=(0,i.isPlatformBrowser)(this.platformId)?this.windowService.getLocationUrl():"",this.minigames=this.siteConfigService.hasFeature("casino.live-dealer.minigames.enabled"),this.miniGamesHostOrigin=`https://${l}.${d}`,this.apmUrl=this.siteConfigService.getSiteConfigProp("apmUri")||"",this.languageService.getLanguage().subscribe((e=>this.language=e))}getLiveDealerUrl(e,t,n,i,r){return this.getPlayerCurrency().pipe((0,h.mergeMap)((a=>{let s=(new o.HttpParams).set("currencyCode",a).set("mode","real").set("language",this.language).set("table",t).set("limitname",n).set("channelType",r||this.channelTypeService.getChannelType());return i&&(s=s.set("seat",i)),s=s.set("integrationParams",JSON.stringify({brandCode:this.brandCode,territory:this.territory,minigames:this.minigames,miniGamesHostOrigin:this.miniGamesHostOrigin,apmUrl:this.apmUrl,hostOrigin:`https://${this.hostOrigin}`,cashierUrl:`https://${this.hostOrigin}/account/cashier/deposit`,homeUrl:`https://${this.hostOrigin}/${this.homeURL.substr(0,this.homeURL.indexOf("("))}`})),this.http.get(this.playUrl("v1",e),{params:s,withCredentials:!0,headers:new o.HttpHeaders}).pipe((0,h.map)((e=>e.url)),(0,h.catchError)((e=>(0,p.throwError)(e))))})))}getPlayerCurrency(){return this.currencyCached?(0,p.of)(this.currencyCached):this.profileService.getProfileDetailsPlayer().pipe((0,h.map)((e=>(this.currencyCached=e.attributes.currency,this.currencyCached))),(0,h.catchError)((()=>(0,p.empty)())),(0,h.defaultIfEmpty)(e.DEFAULT_CURRENCY))}}return e.DEFAULT_CURRENCY="USD",e.ɵfac=function(t){return new(t||e)(r["ɵɵinject"](o.HttpClient),r["ɵɵinject"](a.x),r["ɵɵinject"](l.T),r["ɵɵinject"](d.r),r["ɵɵinject"](s.M),r["ɵɵinject"](c.u),r["ɵɵinject"](u.H),r["ɵɵinject"](r.PLATFORM_ID))},e.ɵprov=r["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},81435:(e,t,n)=>{"use strict";n.d(t,{U:()=>s}),n(73753);var i=n(90388),r=n(42998),o=n(83471),a=n(57826);let s=(()=>{class e{constructor(e,t){this.gameService=e,this.contentNotFoundHandler=t}resolve(e,t){const n=e.params.gameId,i=e.params.table,o=e.params.limit,a=+e.params.seat>0?e.params.seat:null,s=e.queryParams.channelType?e.queryParams.channelType:null;return this.gameService.getLiveDealerUrl(n,i,o,a,s).pipe((0,r.catchError)((e=>this.contentNotFoundHandler.resolveContentNotFoundOrThrow(e))))}}return e.ɵfac=function(t){return new(t||e)(a["ɵɵinject"](o.A),a["ɵɵinject"](i.B))},e.ɵprov=a["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},95238:function(e){e.exports=function(){"use strict";function e(){return(e=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}var t="millisecond",n="second",i="minute",r="hour",o="day",a="week",s="month",c="year",l="date",d=/^(\d{4})-?(\d{1,2})-?(\d{0,2})(.*?(\d{1,2}):(\d{1,2}):(\d{1,2}))?.?(\d{1,3})?$/,u=/\[.*?\]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},h=function(e,t,n){var i=String(e);return!i||i.length>=t?e:""+Array(t+1-i.length).join(n)+e},m={padStart:h,padZoneStr:function(e){var t=Math.abs(e),n=Math.floor(t/60),i=t%60;return(e<=0?"+":"-")+h(n,2,"0")+":"+h(i,2,"0")},monthDiff:function(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months"),r=t-i<0,o=e.clone().add(n+(r?-1:1),"months"),a=Number(-(n+(t-i)/(r?i-o:o-i)));return 0===Math.abs(a)?0:a},absFloor:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},prettyUnit:function(e){return{M:s,y:c,w:a,d:o,h:r,m:i,s:n,ms:t}[e]||String(e||"").toLowerCase().replace(/s$/,"")},isUndefined:function(e){return void 0===e}},f="en",g={};g[f]=p;var v=function(e){return e instanceof x},b=function(e,t,n){var i;if(!e)return null;if("string"==typeof e)g[e]&&(i=e),t&&(g[e]=t,i=e);else{var r=e.name;g[r]=e,i=r}return n||(f=i),i},y=function(e,t){if(v(e)){if(!t)return e.clone();e=e.toDate()}var n=t||{};return e instanceof Date&&!1!==n.cloneDate&&(e=new Date(e)),n.date=e,new x(n)},S=function(e,t,n){return y(e,{locale:t.$L,utc:t.$u,cloneDate:n})},C=m;C.parseLocale=b,C.getLocale=function(e){if("string"==typeof e)return g[e];if(e){var t=e.name;g[t]=e}else e=g[f];return e},C.isDayjs=v,C.wrapper=S;var x=function(){function e(e){this.parse(e)}var p=e.prototype;return p.parse=function(e){this.$d=function(e){var t,n=e.date;if(null===n)return new Date(NaN);if(C.isUndefined(n))return new Date;if(n instanceof Date)return n;if("string"==typeof n&&n.charCodeAt(n.length-1)<=57&&(t=n.match(d))){var i=t[1],r=t[2]-1,o=t[3]||1,a=t[5]||0,s=t[6]||0,c=t[7]||0,l=t[8]||0;return e&&e.utc?new Date(Date.UTC(i,r,o,a,s,c,l)):new Date(i,r,o,a,s,c,l)}return new Date(n)}(e),this.init(e)},p.init=function(e){var t=e&&!!e.utc,n=this.$d;this.$u=t,this.$ms=t?(this.$y=n.getUTCFullYear(),this.$M=n.getUTCMonth(),this.$D=n.getUTCDate(),this.$W=n.getUTCDay(),this.$H=n.getUTCHours(),this.$m=n.getUTCMinutes(),this.$s=n.getUTCSeconds(),n.getUTCMilliseconds()):(this.$y=n.getFullYear(),this.$M=n.getMonth(),this.$D=n.getDate(),this.$W=n.getDay(),this.$H=n.getHours(),this.$m=n.getMinutes(),this.$s=n.getSeconds(),n.getMilliseconds()),this.$L=this.$L||b(e.locale,null,!0)||f},p.$utils=function(){return C},p.isValid=function(){return!("Invalid Date"===this.$d.toString())},p.$compare=function(e){return this.valueOf()-y(e).valueOf()},p.isSame=function(e){return 0===this.$compare(e)},p.isBefore=function(e){return this.$compare(e)<0},p.isAfter=function(e){return 0<this.$compare(e)},p.year=function(){return this.$y},p.month=function(){return this.$M},p.day=function(){return this.$W},p.date=function(){return this.$D},p.hour=function(){return this.$H},p.minute=function(){return this.$m},p.second=function(){return this.$s},p.millisecond=function(){return this.$ms},p.unix=function(){return Math.floor(this.valueOf()/1e3)},p.valueOf=function(){return this.$d.getTime()},p.startOf=function(e,t){var d=this,u=!!C.isUndefined(t)||t,p=C.prettyUnit(e),h=this.$u?["setUTCHours","setUTCMinutes","setUTCSeconds","setUTCMilliseconds"]:["setHours","setMinutes","setSeconds","setMilliseconds"],m=function(e,t){var n=d.$u?new Date(Date.UTC(d.$y,t,e)):new Date(d.$y,t,e),i=S(n,d,!1);return u?i:i.endOf(o)},f=function(e){var t=d.toDate();return S(t[h[e]].apply(t,u?[0,0,0,0].slice(e):[23,59,59,999].slice(e)),d,!1)};switch(p){case c:return u?m(1,0):m(31,11);case s:return u?m(1,this.$M):m(0,this.$M+1);case a:return m(u?this.$D-this.$W:this.$D+(6-this.$W),this.$M);case o:case l:return f(0);case r:return f(1);case i:return f(2);case n:return f(3);default:return this.clone()}},p.endOf=function(e){return this.startOf(e,!1)},p.$set=function(e,a){var d=C.prettyUnit(e),u=this.$u?{year:"setUTCFullYear",month:"setUTCMonth",date:"setUTCDate",hours:"setUTCHours",minutes:"setUTCMinutes",seconds:"setUTCSeconds",milliseconds:"setUTCMilliseconds"}:{year:"setFullYear",month:"setMonth",date:"setDate",hours:"setHours",minutes:"setMinutes",seconds:"setSeconds",milliseconds:"setMilliseconds"};switch(d){case o:this.$d[u.date](this.$D+(a-this.$W));break;case l:this.$d[u.date](a);break;case s:this.$d[u.month](a);break;case c:this.$d[u.year](a);break;case r:this.$d[u.hours](a);break;case i:this.$d[u.minutes](a);break;case n:this.$d[u.seconds](a);break;case t:this.$d[u.milliseconds](a)}return this.init(),this},p.set=function(e,t){return this.clone().$set(e,t)},p.add=function(e,t){var d=this;e=Number(e);var u,p=C.prettyUnit(t),h=function(t,n){var i=d.set(l,1).set(t,n+e);return i.set(l,Math.min(d.$D,i.daysInMonth()))},m=function(t){var n=new Date(d.$d);return n.setDate(n.getDate()+t*e),S(n,d)};if(p===s)return h(s,this.$M);if(p===c)return h(c,this.$y);if(p===o)return m(1);if(p===a)return m(7);switch(p){case i:u=6e4;break;case r:u=36e5;break;case n:u=1e3;break;default:u=1}var f=this.valueOf()+e*u;return S(f,this)},p.subtract=function(e,t){return this.add(-1*e,t)},p.format=function(e){var t=this,n=e||"YYYY-MM-DDTHH:mm:ssZ",i=this.$u?"+00:00":C.padZoneStr(this.$d.getTimezoneOffset()),r=this.$locale(),o=r.weekdays,a=r.months,s=function(e,t,n,i){return e&&e[t]||n[t].substr(0,i)};return n.replace(u,(function(e){if(-1<e.indexOf("["))return e.replace(/\[|\]/g,"");switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return String(t.$y);case"M":return String(t.$M+1);case"MM":return C.padStart(t.$M+1,2,"0");case"MMM":return s(r.monthsShort,t.$M,a,3);case"MMMM":return a[t.$M];case"D":return String(t.$D);case"DD":return C.padStart(t.$D,2,"0");case"d":return String(t.$W);case"dd":return s(r.weekdaysMin,t.$W,o,2);case"ddd":return s(r.weekdaysShort,t.$W,o,3);case"dddd":return o[t.$W];case"H":return String(t.$H);case"HH":return C.padStart(t.$H,2,"0");case"h":case"hh":return 0===t.$H?12:C.padStart(t.$H<13?t.$H:t.$H-12,"hh"===e?2:1,"0");case"a":return t.$H<12?"am":"pm";case"A":return t.$H<12?"AM":"PM";case"m":return String(t.$m);case"mm":return C.padStart(t.$m,2,"0");case"s":return String(t.$s);case"ss":return C.padStart(t.$s,2,"0");case"SSS":return C.padStart(t.$ms,3,"0");case"Z":return i;default:return i.replace(":","")}}))},p.diff=function(e,t,l){var d=C.prettyUnit(t),u=y(e),p=this-u,h=C.monthDiff(this,u);switch(d){case c:h/=12;break;case s:break;case"quarter":h/=3;break;case a:h=p/6048e5;break;case o:h=p/864e5;break;case r:h=p/36e5;break;case i:h=p/6e4;break;case n:h=p/1e3;break;default:h=p}return l?h:C.absFloor(h)},p.daysInMonth=function(){return this.endOf(s).$D},p.$locale=function(){return g[this.$L]},p.locale=function(e,t){var n=this.clone();return n.$L=b(e,t,!0),n},p.clone=function(){return S(this.toDate(),this,!1)},p.toDate=function(){return new Date(this.$d)},p.toArray=function(){return[this.$y,this.$M,this.$D,this.$H,this.$m,this.$s,this.$ms]},p.toJSON=function(){return this.toISOString()},p.toISOString=function(){return this.$d.toISOString()},p.toObject=function(){return{years:this.$y,months:this.$M,date:this.$D,hours:this.$H,minutes:this.$m,seconds:this.$s,milliseconds:this.$ms}},p.toString=function(){return this.$d.toUTCString()},p.isUTC=function(){return this.$u},p.utc=function(){return y(this.$d.valueOf(),{locale:this.$L,utc:!0})},p.local=function(){return y(this.$d.valueOf(),{locale:this.$L,utc:!1})},p.utcOffset=function(){return this.$u?0:this.$d.getTimezoneOffset()},e}();return y.prototype=x.prototype,y.utc=function(t,n){var i=e({},n,{utc:!0});return y(t,i)},y.extend=function(e,t){return e(t,x,y),y},y.locale=b,y.isDayjs=v,y.unix=function(e){return y(1e3*e)},y.en=g[f],y}()},94600:function(e){e.exports=function(){"use strict";var e=/(\[[^[]*\])|([-:/.()\s]+)|(A|a|YYYY|YY?|MM?|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,t=/\d\d/,n=/\d\d?/,i=/[+-]\d\d:?\d\d/,r={},o={},a={},s=[31,0,31,30,31,30,31,31,30,31,30,31];function c(t){var n=t.match(e);if(!n)throw new Error('Invalid format: "'+t+'".');for(var i=n.length,a=0;a<i;a+=1){var c=n[a],l=r[c],d=o[c];n[a]=d?{regex:l,parser:d}:c.replace(/^\[|\]$/g,"")}return function(e){for(var t={},r=0,o=0;r<i;r+=1){var a=n[r];if("string"==typeof a){if(e.indexOf(a,o)!==o){var c=e.substr(o,a.length);throw new Error('Expected "'+a+'" at character '+o+', found "'+c+'".')}o+=a.length}else{var l=a.regex,d=a.parser,u=e.substr(o),p=l.exec(u);if(!p||0!==p.index)throw new Error('Matching "'+l+'" at character '+o+' failed with "'+u+'".');var h=p[0];d.call(t,h),o+=h.length}}return function(e){var t,n,i=e.day,r=e.month;if(t=2===r?(n=e.year)%4==0&&n%100!=0||n%400==0?29:28:s[r-1],!(1<=i&&i<=t))throw new Error('Invalid day: "'+i+'".')}(t),function(e){var t=e.afternoon;if(void 0!==t){var n=e.hours;t?n<12&&(e.hours+=12):12===n&&(e.hours=0),delete e.afternoon}}(t),t}}function l(e,t){r[e]=t}function d(e,t,n){var i;"string"==typeof e&&(e=[e]),i="string"==typeof t?n?function(e){var i=+e;if(!n(i))throw new Error("Invalid "+t+': "'+e+'".');this[t]=i}:function(e){this[t]=+e}:t;for(var r=0,a=e.length;r<a;r+=1)o[e[r]]=i}l("A",/[AP]M/),d(["A"],(function(e){this.afternoon="PM"===e})),l("a",/[ap]m/),d(["a"],(function(e){this.afternoon="pm"===e})),l("S",/\d/),l("SS",t),l("SSS",/\d{3}/);for(var u=function(e,t){d(e,(function(e){this.milliseconds=+e*t}))},p="S",h=100;1<=h;p+="S",h/=10)u(p,h);return l("s",n),l("ss",t),d(["s","ss"],"seconds",(function(e){return e<=59})),l("m",n),l("mm",t),d(["m","mm"],"minutes",(function(e){return e<=59})),l("H",n),l("h",n),l("HH",t),l("hh",t),d(["H","HH"],"hours",(function(e){return e<=23})),d(["h","hh"],"hours",(function(e){return 1<=e&&e<=12})),l("D",n),l("DD",t),d(["D","DD"],"day"),l("M",n),l("MM",t),d(["M","MM"],"month",(function(e){return 1<=e&&e<=12})),l("Y",/[+-]?\d+/),l("YY",t),l("YYYY",/\d{4}/),d(["Y","YYYY"],"year"),d("YY",(function(e){e=+e,this.year=e+(68<e?1900:2e3)})),l("z",/[A-Z]{3,4}/),d("z",(function(e){(this.zone||(this.zone={})).abbreviation=e})),l("Z",i),l("ZZ",i),d(["Z","ZZ"],(function(e){(this.zone||(this.zone={})).offset=function(e){var t=e.match(/([+-]|\d\d)/g),n=60*t[1]+ +t[2],i=0===n?0:"+"===t[0]?-n:n;if(!(i%15==0&&Math.abs(i)<=765))throw new Error('Invalid time zone offset: "'+e+'".');return i}(e)})),function(e,t){var n=t.prototype,i=n.parse;n.parse=function(e){var t,n,r,o=e.date,s=e.format;if(s){try{var l,d=(t=o,(r=a[n=s])||(r=c(n),a[n]=r),r(t)),u=d.year,p=d.month,h=d.day,m=d.hours,f=d.minutes,g=d.seconds,v=d.milliseconds,b=d.zone;if(b){var y=Date.UTC(u,p-1,h,m||0,f||0,g||0,v||0)+60*b.offset*1e3;l=new Date(y)}else l=new Date(u,p-1,h,m||0,f||0,g||0,v||0);this.$d=l}catch(e){this.$d=new Date(Number.NaN)}this.init(e)}else i.call(this,e)}}}()},52179:function(e,t,n){e.exports=function(e){"use strict";return function(t,n,i){var r=n.prototype;i.en.relativeTime={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};var o=function(t,n,r,o){var a,s,c=r.$locale(),l=c.relativeTime,d=[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],u=d.length;!function(e){var t,n,i,r,o,a;e.s&&(n=(t=e).future,i=t.past,r=Object.keys(t).reduce((function(e,n){var i=n.length;if(i<=2){var r=t[n];if(1===i){e[n]=r;var o=n+n,a=e[o];a||(a=e[o]=[]),a.unshift(r)}else{var s=e[n];s||(s=e[n]=[]),s.push(r)}}return delete t[n],e}),{}),o={},a={},Object.keys(r).forEach((function(e){var t=r[e];a[e]="string"==typeof t?(o[e]=n.replace("%s",t),i.replace("%s",t)):(o[e]=t.map((function(e){return n.replace("%s",e)})),t.map((function(e){return i.replace("%s",e)})))})),t.duration=r,t.future=o,t.past=a)}(l);for(var p=0;p<u;p+=1){var h=d[p],m=h.d;m&&(a=o?i(t).diff(r,m,!0):r.diff(t,m,!0));var f=Math.ceil(Math.abs(a)),g=h.r;if(f<=g||!g){var v=void 0;v=n?l.duration:0<a?l.future:l.past;var b=h.l;s=1===b.length?v[b]:v[b][e.getPluralFormForCardinalByLocale(c.name,f)].replace("%d",f);break}}return s};r.to=function(e,t){return o(e,t,this,!0)},r.from=function(e,t){return o(e,t,this)},r.toNow=function(e){return this.to(i(),e)},r.fromNow=function(e){return this.from(i(),e)}}}(n(60109))},92778:function(e,t,n){e.exports=function(e){"use strict";function t(e){return 9<e?e:"0"+e}function n(e,n){return(e<=0?(e=-e,"+"):"-")+t(Math.floor(e/60))+n+t(e%60)}return function(t,i){var r=i.prototype,o=r.parse,a=r.format;r.parse=function(t){o.call(this,t);var n=t.timeZone,i=t.convertTimeZone;if(n){var r=this.$d;try{var a=e.findTimeZone(n);!function(e,t,n){var i=t.year,r=t.month,o=t.day,a=t.dayOfWeek,s=t.hours,c=t.minutes,l=t.epoch,d=t.zone,u=e.$d;if(u.setTime(l),n){e.$Y=i,e.$M=r-1,e.$D=o,e.$W=a,e.$H=s,e.$m=c;var p=d.abbreviation,h=d.offset;e.$z=p,e.$o=h}else e.$Y=u.getFullYear(),e.$M=u.getMonth(),e.$D=u.getDate(),e.$W=u.getDay(),e.$H=u.getHours(),e.$m=u.getMinutes()}(this,i?e.getZonedTime(r,a):e.setTimeZone(r,a,{useUTC:!1}),i)}catch(n){r.setTime(Number.NaN),this.init(t)}}},r.format=function(e,t){void 0===t&&(t={}),"object"!=typeof e||e instanceof String||(t=e,e=void 0);var r,o,s=t.timeZone;return s?(r=new i({date:this.$d.valueOf(),locale:this.$L,timeZone:s,convertTimeZone:!0}),o=r,e=(e||"YYYY-MM-DDTHH:mm:ssZ").replace(/z|ZZ|Z/g,(function(e){switch(e){case"z":return"["+o.$z+"]";case"Z":return n(o.$o,":");default:return n(o.$o,"")}}))):r=this,a.call(r,e)}}}(n(69033))},93105:e=>{"use strict";var t,n="object"==typeof Reflect?Reflect:null,i=n&&"function"==typeof n.apply?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};t=n&&"function"==typeof n.ownKeys?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var r=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise((function(n,i){function r(n){e.removeListener(t,o),i(n)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",r),n([].slice.call(arguments))}f(e,t,o,{once:!0}),"error"!==t&&function(e,t,n){"function"==typeof e.on&&f(e,"error",t,{once:!0})}(e,r)}))},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function l(e,t,n,i){var r,o,a,l;if(s(n),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),o=e._events),a=o[t]),void 0===a)a=o[t]=n,++e._eventsCount;else if("function"==typeof a?a=o[t]=i?[n,a]:[a,n]:i?a.unshift(n):a.push(n),(r=c(e))>0&&a.length>r&&!a.warned){a.warned=!0;var d=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");d.name="MaxListenersExceededWarning",d.emitter=e,d.type=t,d.count=a.length,l=d,console&&console.warn&&console.warn(l)}return e}function d(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function u(e,t,n){var i={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},r=d.bind(i);return r.listener=n,i.wrapFn=r,r}function p(e,t,n){var i=e._events;if(void 0===i)return[];var r=i[t];return void 0===r?[]:"function"==typeof r?n?[r.listener||r]:[r]:n?function(e){for(var t=new Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}(r):m(r,r.length)}function h(e){var t=this._events;if(void 0!==t){var n=t[e];if("function"==typeof n)return 1;if(void 0!==n)return n.length}return 0}function m(e,t){for(var n=new Array(t),i=0;i<t;++i)n[i]=e[i];return n}function f(e,t,n,i){if("function"==typeof e.on)i.once?e.once(t,n):e.on(t,n);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function r(o){i.once&&e.removeEventListener(t,r),n(o)}))}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||r(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||r(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return c(this)},o.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var r="error"===e,o=this._events;if(void 0!==o)r=r&&void 0===o.error;else if(!r)return!1;if(r){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)i(c,this,t);else{var l=c.length,d=m(c,l);for(n=0;n<l;++n)i(d[n],this,t)}return!0},o.prototype.addListener=function(e,t){return l(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return l(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,u(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,u(this,e,t)),this},o.prototype.removeListener=function(e,t){var n,i,r,o,a;if(s(t),void 0===(i=this._events))return this;if(void 0===(n=i[e]))return this;if(n===t||n.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete i[e],i.removeListener&&this.emit("removeListener",e,n.listener||t));else if("function"!=typeof n){for(r=-1,o=n.length-1;o>=0;o--)if(n[o]===t||n[o].listener===t){a=n[o].listener,r=o;break}if(r<0)return this;0===r?n.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(n,r),1===n.length&&(i[e]=n[0]),void 0!==i.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,n,i;if(void 0===(n=this._events))return this;if(void 0===n.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==n[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete n[e]),this;if(0===arguments.length){var r,o=Object.keys(n);for(i=0;i<o.length;++i)"removeListener"!==(r=o[i])&&this.removeAllListeners(r);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=n[e]))this.removeListener(e,t);else if(void 0!==t)for(i=t.length-1;i>=0;i--)this.removeListener(e,t[i]);return this},o.prototype.listeners=function(e){return p(this,e,!0)},o.prototype.rawListeners=function(e){return p(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},o.prototype.listenerCount=h,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},60109:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=[function(){return 0},function(e){return 1===e?0:1},function(e){return e<=1?0:1},function(e){return e%10==1&&e%100!=11?0:e%10!=0?1:2},function(e){return 1===e||11===e?0:2===e||12===e?1:e>2&&e<20?2:3},function(e){return 1===e?0:0===e||e%100>0&&e%100<20?1:2},function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},function(e){return 1===e?0:e>=2&&e<=4?1:2},function(e){return 1===e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},function(e){return e%100==1?0:e%100==2?1:e%100==3||e%100==4?2:3},function(e){return 1===e?0:2===e?1:e>2&&e<7?2:e>6&&e<11?3:4},function(e){return 1===e?0:2===e?1:e%100>=3&&e%100<=10?2:e%100>=11?3:0!==e?4:5},function(e){return 1===e?0:0===e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},function(e){return e%10==1?0:e%10==2?1:2},function(e){return e%10==1&&e%100!=11?0:1},function(e){return e%10==1&&e%100!=11&&e%100!=71&&e%100!=91?0:e%10==2&&e%100!=12&&e%100!=72&&e%100!=92?2:e%10==3&&e%100!=13&&e%100!=73&&e%100!=93||e%10==4&&e%100!=14&&e%100!=74&&e%100!=94||e%10==9&&e%100!=19&&e%100!=79&&e%100!=99?3:4},function(e){return 0!==e?0:1},function(e){return 1===e?0:2===e?1:3===e?2:6===e?3:0!==e?4:5},function(e){return 1===e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},function(e){return 1===e?0:2===e?1:3===e?2:3},function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},function(e){return 0===e?0:1===e?1:2}],i={ach:2,af:1,ak:2,am:2,an:1,anp:1,ar:12,arn:2,as:1,ast:1,ay:0,az:1,be:7,bg:1,bn:1,bo:0,br:2,brx:1,bs:7,ca:1,cgg:0,cs:8,csb:19,cy:18,da:1,de:1,doi:1,dz:0,el:1,en:1,eo:1,es:1,"es-ar":1,et:1,eu:1,fa:2,ff:1,fi:1,fil:2,fo:1,fr:2,fur:1,fy:1,ga:11,gd:4,gl:1,gu:1,gun:2,ha:1,he:1,hi:1,hne:1,hr:7,hu:1,hy:1,ia:1,id:0,is:15,it:1,ja:0,jbo:0,jv:17,ka:0,kk:1,kl:1,km:0,kn:1,ko:0,ku:1,kw:20,ky:1,lb:1,ln:2,lo:0,lt:6,lv:3,mai:1,me:21,mfe:2,mg:2,mi:2,mk:15,ml:1,mn:1,mni:1,mnk:22,mr:1,ms:0,mt:13,my:0,nah:1,nap:1,nb:1,ne:1,nl:1,nn:1,no:1,nso:1,oc:2,or:1,pa:1,pap:1,pl:9,pms:1,ps:1,pt:1,"pt-br":2,rm:1,ro:5,ru:7,rw:1,sah:0,sat:1,sco:1,sd:1,se:1,si:1,sk:8,sl:10,so:1,son:1,sq:1,sr:7,su:0,sv:1,sw:1,ta:1,te:1,tg:2,th:0,ti:2,tk:1,tr:2,tt:0,ug:0,uk:7,ur:1,uz:2,vi:0,wa:2,wo:0,yo:1,"zh-cn":0,"zh-tw":2};function r(e){e=function(e){return e.toLowerCase().replace("_","-")}(e);var t=i[e];if(void 0===t){var r=function(e){var t=e.indexOf("-");return t>0?e.substr(0,t):e}(e);t=i[r]}if(void 0===t)throw new Error('Unrecognized locale: "'+e+'".');return n[t]}function o(e){var t=n[e];if(void 0===t)throw new Error('Invalid index: "'+e+'".');return t}t.getPluralRuleForCardinalsByLocale=r,t.getPluralFormForCardinalByLocale=function(e,t){return r(e)(t)},t.getPluralRuleForCardinalsByIndex=o,t.getPluralFormForCardinalByIndex=function(e,t){return o(e)(t)}},11524:(e,t,n)=>{var i;!function(r,o,a,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],d=o.createElement("div"),u=Math.round,p=Math.abs,h=Date.now;function m(e,t,n){return setTimeout(C(e,n),t)}function f(e,t,n){return!!Array.isArray(e)&&(g(e,n[t],n),!0)}function g(e,t,n){var i;if(e)if(e.forEach)e.forEach(t,n);else if(e.length!==s)for(i=0;i<e.length;)t.call(n,e[i],i,e),i++;else for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e)}function v(e,t,n){var i="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=r.console&&(r.console.warn||r.console.log);return o&&o.call(r.console,i,n),e.apply(this,arguments)}}c="function"!=typeof Object.assign?function(e){if(e===s||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var i=arguments[n];if(i!==s&&null!==i)for(var r in i)i.hasOwnProperty(r)&&(t[r]=i[r])}return t}:Object.assign;var b=v((function(e,t,n){for(var i=Object.keys(t),r=0;r<i.length;)(!n||n&&e[i[r]]===s)&&(e[i[r]]=t[i[r]]),r++;return e}),"extend","Use `assign`."),y=v((function(e,t){return b(e,t,!0)}),"merge","Use `assign`.");function S(e,t,n){var i,r=t.prototype;(i=e.prototype=Object.create(r)).constructor=e,i._super=r,n&&c(i,n)}function C(e,t){return function(){return e.apply(t,arguments)}}function x(e,t){return"function"==typeof e?e.apply(t&&t[0]||s,t):e}function I(e,t){return e===s?t:e}function w(e,t,n){g(A(t),(function(t){e.addEventListener(t,n,!1)}))}function E(e,t,n){g(A(t),(function(t){e.removeEventListener(t,n,!1)}))}function T(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function P(e,t){return e.indexOf(t)>-1}function A(e){return e.trim().split(/\s+/g)}function _(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var i=0;i<e.length;){if(n&&e[i][n]==t||!n&&e[i]===t)return i;i++}return-1}function M(e){return Array.prototype.slice.call(e,0)}function O(e,t,n){for(var i=[],r=[],o=0;o<e.length;){var a=t?e[o][t]:e[o];_(r,a)<0&&i.push(e[o]),r[o]=a,o++}return n&&(i=t?i.sort((function(e,n){return e[t]>n[t]})):i.sort()),i}function k(e,t){for(var n,i,r=t[0].toUpperCase()+t.slice(1),o=0;o<l.length;){if((i=(n=l[o])?n+r:t)in e)return i;o++}return s}var j=1;function N(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r}var D="ontouchstart"in r,L=k(r,"PointerEvent")!==s,R=D&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),F="touch",B="mouse",U=["x","y"],H=["clientX","clientY"];function V(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){x(e.options.enable,[e])&&n.handler(t)},this.init()}function G(e,t,n){var i=n.pointers.length,r=n.changedPointers.length,o=1&t&&i-r==0,a=12&t&&i-r==0;n.isFirst=!!o,n.isFinal=!!a,o&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,i=t.pointers,r=i.length;n.firstInput||(n.firstInput=$(t)),r>1&&!n.firstMultiple?n.firstMultiple=$(t):1===r&&(n.firstMultiple=!1);var o=n.firstInput,a=n.firstMultiple,c=a?a.center:o.center,l=t.center=z(i);t.timeStamp=h(),t.deltaTime=t.timeStamp-o.timeStamp,t.angle=X(c,l),t.distance=K(c,l),function(e,t){var n=t.center,i=e.offsetDelta||{},r=e.prevDelta||{},o=e.prevInput||{};1!==t.eventType&&4!==o.eventType||(r=e.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=e.offsetDelta={x:n.x,y:n.y}),t.deltaX=r.x+(n.x-i.x),t.deltaY=r.y+(n.y-i.y)}(n,t),t.offsetDirection=q(t.deltaX,t.deltaY);var d,u,m=W(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=m.x,t.overallVelocityY=m.y,t.overallVelocity=p(m.x)>p(m.y)?m.x:m.y,t.scale=a?(d=a.pointers,K((u=i)[0],u[1],H)/K(d[0],d[1],H)):1,t.rotation=a?function(e,t){return X(t[1],t[0],H)+X(e[1],e[0],H)}(a.pointers,i):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,i,r,o,a=e.lastInterval||t,c=t.timeStamp-a.timeStamp;if(8!=t.eventType&&(c>25||a.velocity===s)){var l=t.deltaX-a.deltaX,d=t.deltaY-a.deltaY,u=W(c,l,d);i=u.x,r=u.y,n=p(u.x)>p(u.y)?u.x:u.y,o=q(l,d),e.lastInterval=t}else n=a.velocity,i=a.velocityX,r=a.velocityY,o=a.direction;t.velocity=n,t.velocityX=i,t.velocityY=r,t.direction=o}(n,t);var f=e.element;T(t.srcEvent.target,f)&&(f=t.srcEvent.target),t.target=f}(e,n),e.emit("hammer.input",n),e.recognize(n),e.session.prevInput=n}function $(e){for(var t=[],n=0;n<e.pointers.length;)t[n]={clientX:u(e.pointers[n].clientX),clientY:u(e.pointers[n].clientY)},n++;return{timeStamp:h(),pointers:t,center:z(t),deltaX:e.deltaX,deltaY:e.deltaY}}function z(e){var t=e.length;if(1===t)return{x:u(e[0].clientX),y:u(e[0].clientY)};for(var n=0,i=0,r=0;r<t;)n+=e[r].clientX,i+=e[r].clientY,r++;return{x:u(n/t),y:u(i/t)}}function W(e,t,n){return{x:t/e||0,y:n/e||0}}function q(e,t){return e===t?1:p(e)>=p(t)?e<0?2:4:t<0?8:16}function K(e,t,n){n||(n=U);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return Math.sqrt(i*i+r*r)}function X(e,t,n){n||(n=U);var i=t[n[0]]-e[n[0]],r=t[n[1]]-e[n[1]];return 180*Math.atan2(r,i)/Math.PI}V.prototype={handler:function(){},init:function(){this.evEl&&w(this.element,this.evEl,this.domHandler),this.evTarget&&w(this.target,this.evTarget,this.domHandler),this.evWin&&w(N(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&E(this.element,this.evEl,this.domHandler),this.evTarget&&E(this.target,this.evTarget,this.domHandler),this.evWin&&E(N(this.element),this.evWin,this.domHandler)}};var Y={mousedown:1,mousemove:2,mouseup:4},J="mousedown",Q="mousemove mouseup";function Z(){this.evEl=J,this.evWin=Q,this.pressed=!1,V.apply(this,arguments)}S(Z,V,{handler:function(e){var t=Y[e.type];1&t&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=4),this.pressed&&(4&t&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:B,srcEvent:e}))}});var ee={pointerdown:1,pointermove:2,pointerup:4,pointercancel:8,pointerout:8},te={2:F,3:"pen",4:B,5:"kinect"},ne="pointerdown",ie="pointermove pointerup pointercancel";function re(){this.evEl=ne,this.evWin=ie,V.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}r.MSPointerEvent&&!r.PointerEvent&&(ne="MSPointerDown",ie="MSPointerMove MSPointerUp MSPointerCancel"),S(re,V,{handler:function(e){var t=this.store,n=!1,i=e.type.toLowerCase().replace("ms",""),r=ee[i],o=te[e.pointerType]||e.pointerType,a=o==F,s=_(t,e.pointerId,"pointerId");1&r&&(0===e.button||a)?s<0&&(t.push(e),s=t.length-1):12&r&&(n=!0),s<0||(t[s]=e,this.callback(this.manager,r,{pointers:t,changedPointers:[e],pointerType:o,srcEvent:e}),n&&t.splice(s,1))}});var oe={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ae="touchstart",se="touchstart touchmove touchend touchcancel";function ce(){this.evTarget=ae,this.evWin=se,this.started=!1,V.apply(this,arguments)}function le(e,t){var n=M(e.touches),i=M(e.changedTouches);return 12&t&&(n=O(n.concat(i),"identifier",!0)),[n,i]}S(ce,V,{handler:function(e){var t=oe[e.type];if(1===t&&(this.started=!0),this.started){var n=le.call(this,e,t);12&t&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:e})}}});var de={touchstart:1,touchmove:2,touchend:4,touchcancel:8},ue="touchstart touchmove touchend touchcancel";function pe(){this.evTarget=ue,this.targetIds={},V.apply(this,arguments)}function he(e,t){var n=M(e.touches),i=this.targetIds;if(3&t&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,a=M(e.changedTouches),s=[],c=this.target;if(o=n.filter((function(e){return T(e.target,c)})),1===t)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<a.length;)i[a[r].identifier]&&s.push(a[r]),12&t&&delete i[a[r].identifier],r++;return s.length?[O(o.concat(s),"identifier",!0),s]:void 0}function me(){V.apply(this,arguments);var e=C(this.handler,this);this.touch=new pe(this.manager,e),this.mouse=new Z(this.manager,e),this.primaryTouch=null,this.lastTouches=[]}function fe(e,t){1&e?(this.primaryTouch=t.changedPointers[0].identifier,ge.call(this,t)):12&e&&ge.call(this,t)}function ge(e){var t=e.changedPointers[0];if(t.identifier===this.primaryTouch){var n={x:t.clientX,y:t.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout((function(){var e=i.indexOf(n);e>-1&&i.splice(e,1)}),2500)}}function ve(e){for(var t=e.srcEvent.clientX,n=e.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(t-r.x),a=Math.abs(n-r.y);if(o<=25&&a<=25)return!0}return!1}S(pe,V,{handler:function(e){var t=de[e.type],n=he.call(this,e,t);n&&this.callback(this.manager,t,{pointers:n[0],changedPointers:n[1],pointerType:F,srcEvent:e})}}),S(me,V,{handler:function(e,t,n){var i=n.pointerType==F,r=n.pointerType==B;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)fe.call(this,t,n);else if(r&&ve.call(this,n))return;this.callback(e,t,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var be=k(d.style,"touchAction"),ye=be!==s,Se="compute",Ce="auto",xe="manipulation",Ie="none",we="pan-x",Ee="pan-y",Te=function(){if(!ye)return!1;var e={},t=r.CSS&&r.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach((function(n){e[n]=!t||r.CSS.supports("touch-action",n)})),e}();function Pe(e,t){this.manager=e,this.set(t)}Pe.prototype={set:function(e){e==Se&&(e=this.compute()),ye&&this.manager.element.style&&Te[e]&&(this.manager.element.style[be]=e),this.actions=e.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var e=[];return g(this.manager.recognizers,(function(t){x(t.options.enable,[t])&&(e=e.concat(t.getTouchAction()))})),function(e){if(P(e,Ie))return Ie;var t=P(e,we),n=P(e,Ee);return t&&n?Ie:t||n?t?we:Ee:P(e,xe)?xe:Ce}(e.join(" "))},preventDefaults:function(e){var t=e.srcEvent,n=e.offsetDirection;if(this.manager.session.prevented)t.preventDefault();else{var i=this.actions,r=P(i,Ie)&&!Te.none,o=P(i,Ee)&&!Te["pan-y"],a=P(i,we)&&!Te["pan-x"];if(r){var s=1===e.pointers.length,c=e.distance<2,l=e.deltaTime<250;if(s&&c&&l)return}if(!a||!o)return r||o&&6&n||a&&24&n?this.preventSrc(t):void 0}},preventSrc:function(e){this.manager.session.prevented=!0,e.preventDefault()}};var Ae=32;function _e(e){this.options=c({},this.defaults,e||{}),this.id=j++,this.manager=null,this.options.enable=I(this.options.enable,!0),this.state=1,this.simultaneous={},this.requireFail=[]}function Me(e){return 16&e?"cancel":8&e?"end":4&e?"move":2&e?"start":""}function Oe(e){return 16==e?"down":8==e?"up":2==e?"left":4==e?"right":""}function ke(e,t){var n=t.manager;return n?n.get(e):e}function je(){_e.apply(this,arguments)}function Ne(){je.apply(this,arguments),this.pX=null,this.pY=null}function De(){je.apply(this,arguments)}function Le(){_e.apply(this,arguments),this._timer=null,this._input=null}function Re(){je.apply(this,arguments)}function Fe(){je.apply(this,arguments)}function Be(){_e.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function Ue(e,t){return(t=t||{}).recognizers=I(t.recognizers,Ue.defaults.preset),new He(e,t)}function He(e,t){this.options=c({},Ue.defaults,t||{}),this.options.inputTarget=this.options.inputTarget||e,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=e,this.input=new(this.options.inputClass||(L?re:R?pe:D?me:Z))(this,G),this.touchAction=new Pe(this,this.options.touchAction),Ve(this,!0),g(this.options.recognizers,(function(e){var t=this.add(new e[0](e[1]));e[2]&&t.recognizeWith(e[2]),e[3]&&t.requireFailure(e[3])}),this)}function Ve(e,t){var n,i=e.element;i.style&&(g(e.options.cssProps,(function(r,o){n=k(i.style,o),t?(e.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=e.oldCssProps[n]||""})),t||(e.oldCssProps={}))}_e.prototype={defaults:{},set:function(e){return c(this.options,e),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(e){if(f(e,"recognizeWith",this))return this;var t=this.simultaneous;return t[(e=ke(e,this)).id]||(t[e.id]=e,e.recognizeWith(this)),this},dropRecognizeWith:function(e){return f(e,"dropRecognizeWith",this)||(e=ke(e,this),delete this.simultaneous[e.id]),this},requireFailure:function(e){if(f(e,"requireFailure",this))return this;var t=this.requireFail;return-1===_(t,e=ke(e,this))&&(t.push(e),e.requireFailure(this)),this},dropRequireFailure:function(e){if(f(e,"dropRequireFailure",this))return this;e=ke(e,this);var t=_(this.requireFail,e);return t>-1&&this.requireFail.splice(t,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(e){return!!this.simultaneous[e.id]},emit:function(e){var t=this,n=this.state;function i(n){t.manager.emit(n,e)}n<8&&i(t.options.event+Me(n)),i(t.options.event),e.additionalEvent&&i(e.additionalEvent),n>=8&&i(t.options.event+Me(n))},tryEmit:function(e){if(this.canEmit())return this.emit(e);this.state=Ae},canEmit:function(){for(var e=0;e<this.requireFail.length;){if(!(33&this.requireFail[e].state))return!1;e++}return!0},recognize:function(e){var t=c({},e);if(!x(this.options.enable,[this,t]))return this.reset(),void(this.state=Ae);56&this.state&&(this.state=1),this.state=this.process(t),30&this.state&&this.tryEmit(t)},process:function(e){},getTouchAction:function(){},reset:function(){}},S(je,_e,{defaults:{pointers:1},attrTest:function(e){var t=this.options.pointers;return 0===t||e.pointers.length===t},process:function(e){var t=this.state,n=e.eventType,i=6&t,r=this.attrTest(e);return i&&(8&n||!r)?16|t:i||r?4&n?8|t:2&t?4|t:2:Ae}}),S(Ne,je,{defaults:{event:"pan",threshold:10,pointers:1,direction:30},getTouchAction:function(){var e=this.options.direction,t=[];return 6&e&&t.push(Ee),24&e&&t.push(we),t},directionTest:function(e){var t=this.options,n=!0,i=e.distance,r=e.direction,o=e.deltaX,a=e.deltaY;return r&t.direction||(6&t.direction?(r=0===o?1:o<0?2:4,n=o!=this.pX,i=Math.abs(e.deltaX)):(r=0===a?1:a<0?8:16,n=a!=this.pY,i=Math.abs(e.deltaY))),e.direction=r,n&&i>t.threshold&&r&t.direction},attrTest:function(e){return je.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},emit:function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=Oe(e.direction);t&&(e.additionalEvent=this.options.event+t),this._super.emit.call(this,e)}}),S(De,je,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ie]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.scale-1)>this.options.threshold||2&this.state)},emit:function(e){if(1!==e.scale){var t=e.scale<1?"in":"out";e.additionalEvent=this.options.event+t}this._super.emit.call(this,e)}}),S(Le,_e,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ce]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime>t.time;if(this._input=e,!i||!n||12&e.eventType&&!r)this.reset();else if(1&e.eventType)this.reset(),this._timer=m((function(){this.state=8,this.tryEmit()}),t.time,this);else if(4&e.eventType)return 8;return Ae},reset:function(){clearTimeout(this._timer)},emit:function(e){8===this.state&&(e&&4&e.eventType?this.manager.emit(this.options.event+"up",e):(this._input.timeStamp=h(),this.manager.emit(this.options.event,this._input)))}}),S(Re,je,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ie]},attrTest:function(e){return this._super.attrTest.call(this,e)&&(Math.abs(e.rotation)>this.options.threshold||2&this.state)}}),S(Fe,je,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:30,pointers:1},getTouchAction:function(){return Ne.prototype.getTouchAction.call(this)},attrTest:function(e){var t,n=this.options.direction;return 30&n?t=e.overallVelocity:6&n?t=e.overallVelocityX:24&n&&(t=e.overallVelocityY),this._super.attrTest.call(this,e)&&n&e.offsetDirection&&e.distance>this.options.threshold&&e.maxPointers==this.options.pointers&&p(t)>this.options.velocity&&4&e.eventType},emit:function(e){var t=Oe(e.offsetDirection);t&&this.manager.emit(this.options.event+t,e),this.manager.emit(this.options.event,e)}}),S(Be,_e,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[xe]},process:function(e){var t=this.options,n=e.pointers.length===t.pointers,i=e.distance<t.threshold,r=e.deltaTime<t.time;if(this.reset(),1&e.eventType&&0===this.count)return this.failTimeout();if(i&&r&&n){if(4!=e.eventType)return this.failTimeout();var o=!this.pTime||e.timeStamp-this.pTime<t.interval,a=!this.pCenter||K(this.pCenter,e.center)<t.posThreshold;if(this.pTime=e.timeStamp,this.pCenter=e.center,a&&o?this.count+=1:this.count=1,this._input=e,0==this.count%t.taps)return this.hasRequireFailures()?(this._timer=m((function(){this.state=8,this.tryEmit()}),t.interval,this),2):8}return Ae},failTimeout:function(){return this._timer=m((function(){this.state=Ae}),this.options.interval,this),Ae},reset:function(){clearTimeout(this._timer)},emit:function(){8==this.state&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),Ue.VERSION="2.0.7",Ue.defaults={domEvents:!1,touchAction:Se,enable:!0,inputTarget:null,inputClass:null,preset:[[Re,{enable:!1}],[De,{enable:!1},["rotate"]],[Fe,{direction:6}],[Ne,{direction:6},["swipe"]],[Be],[Be,{event:"doubletap",taps:2},["tap"]],[Le]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},He.prototype={set:function(e){return c(this.options,e),e.touchAction&&this.touchAction.update(),e.inputTarget&&(this.input.destroy(),this.input.target=e.inputTarget,this.input.init()),this},stop:function(e){this.session.stopped=e?2:1},recognize:function(e){var t=this.session;if(!t.stopped){var n;this.touchAction.preventDefaults(e);var i=this.recognizers,r=t.curRecognizer;(!r||r&&8&r.state)&&(r=t.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===t.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(e),!r&&14&n.state&&(r=t.curRecognizer=n),o++}},get:function(e){if(e instanceof _e)return e;for(var t=this.recognizers,n=0;n<t.length;n++)if(t[n].options.event==e)return t[n];return null},add:function(e){if(f(e,"add",this))return this;var t=this.get(e.options.event);return t&&this.remove(t),this.recognizers.push(e),e.manager=this,this.touchAction.update(),e},remove:function(e){if(f(e,"remove",this))return this;if(e=this.get(e)){var t=this.recognizers,n=_(t,e);-1!==n&&(t.splice(n,1),this.touchAction.update())}return this},on:function(e,t){if(e!==s&&t!==s){var n=this.handlers;return g(A(e),(function(e){n[e]=n[e]||[],n[e].push(t)})),this}},off:function(e,t){if(e!==s){var n=this.handlers;return g(A(e),(function(e){t?n[e]&&n[e].splice(_(n[e],t),1):delete n[e]})),this}},emit:function(e,t){this.options.domEvents&&function(e,t){var n=o.createEvent("Event");n.initEvent(e,!0,!0),n.gesture=t,t.target.dispatchEvent(n)}(e,t);var n=this.handlers[e]&&this.handlers[e].slice();if(n&&n.length){t.type=e,t.preventDefault=function(){t.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](t),i++}},destroy:function(){this.element&&Ve(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},c(Ue,{INPUT_START:1,INPUT_MOVE:2,INPUT_END:4,INPUT_CANCEL:8,STATE_POSSIBLE:1,STATE_BEGAN:2,STATE_CHANGED:4,STATE_ENDED:8,STATE_RECOGNIZED:8,STATE_CANCELLED:16,STATE_FAILED:Ae,DIRECTION_NONE:1,DIRECTION_LEFT:2,DIRECTION_RIGHT:4,DIRECTION_UP:8,DIRECTION_DOWN:16,DIRECTION_HORIZONTAL:6,DIRECTION_VERTICAL:24,DIRECTION_ALL:30,Manager:He,Input:V,TouchAction:Pe,TouchInput:pe,MouseInput:Z,PointerEventInput:re,TouchMouseInput:me,SingleTouchInput:ce,Recognizer:_e,AttrRecognizer:je,Tap:Be,Pan:Ne,Swipe:Fe,Pinch:De,Rotate:Re,Press:Le,on:w,off:E,each:g,merge:y,extend:b,assign:c,inherit:S,bindFn:C,prefixed:k}),(void 0!==r?r:"undefined"!=typeof self?self:{}).Hammer=Ue,(i=function(){return Ue}.call(t,n,t,e))===s||(e.exports=i)}(window,document)},91184:(e,t,n)=>{"use strict";n.d(t,{nA:()=>u,fF:()=>a,Hn:()=>d,aD:()=>p,Fl:()=>h,LO:()=>m});var i,r=n(57826),o=n(32711),a=function(){function e(e,t){this.templateRef=e,this.viewContainer=t,this.templateBindings={}}return e.prototype.ngOnInit=function(){this.view=this.viewContainer.createEmbeddedView(this.templateRef),this.dispose&&this.dispose(),this.shouldDetach()&&this.view.detach(),this.autoDetect(this.view)},e.prototype.shouldDetach=function(){return this.mobxAutorun&&this.mobxAutorun.detach},e.prototype.autoDetect=function(e){this.dispose=(0,o.EH)((function(){return e.detectChanges()}))},e.prototype.ngOnDestroy=function(){this.dispose&&this.dispose()},e.ctorParameters=function(){return[{type:r.TemplateRef},{type:r.ViewContainerRef}]},e.propDecorators={mobxAutorun:[{type:r.Input}]},e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](r.TemplateRef),r["ɵɵdirectiveInject"](r.ViewContainerRef))},e.ɵdir=r["ɵɵdefineDirective"]({type:e,selectors:[["","mobxAutorun",""]],inputs:{mobxAutorun:"mobxAutorun"}}),"undefined"==typeof ngDevMode||ngDevMode,e}(),s=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},i(e,t)},function(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.templateRef=t,i.viewContainer=n,i}return s(t,e),t.prototype.autoDetect=function(e){console.warn("mobxAutorunSync is deprecated, please use mobxAutorun instead - it's doing exactly the same thing"),this.dispose=(0,o.EH)((function(){e.detectChanges()}))},t.ctorParameters=function(){return[{type:r.TemplateRef},{type:r.ViewContainerRef}]},t.ɵfac=function(e){return new(e||t)(r["ɵɵdirectiveInject"](r.TemplateRef),r["ɵɵdirectiveInject"](r.ViewContainerRef))},t.ɵdir=r["ɵɵdefineDirective"]({type:t,selectors:[["","mobxAutorunSync",""]],features:[r["ɵɵInheritDefinitionFeature"]]}),"undefined"==typeof ngDevMode||ngDevMode,t}(a),l=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},e(t,n)};return function(t,n){function i(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(i.prototype=n.prototype,new i)}}(),d=function(e){function t(t,n){var i=e.call(this,t,n)||this;return i.templateRef=t,i.viewContainer=n,i}return l(t,e),t.prototype.autoDetect=function(e){this.dispose=(0,o.U5)(this.mobxReaction,(function(){e.detectChanges()}),{fireImmediately:!0})},t.ctorParameters=function(){return[{type:r.TemplateRef},{type:r.ViewContainerRef}]},t.propDecorators={mobxReaction:[{type:r.Input}]},t.ɵfac=function(e){return new(e||t)(r["ɵɵdirectiveInject"](r.TemplateRef),r["ɵɵdirectiveInject"](r.ViewContainerRef))},t.ɵdir=r["ɵɵdefineDirective"]({type:t,selectors:[["","mobxReaction",""]],inputs:{mobxReaction:"mobxReaction"},features:[r["ɵɵInheritDefinitionFeature"]]}),"undefined"==typeof ngDevMode||ngDevMode,t}(a),u=function(){function e(){}return e.ctorParameters=function(){return[]},e.ɵfac=function(t){return new(t||e)},e.ɵmod=r["ɵɵdefineNgModule"]({type:e}),e.ɵinj=r["ɵɵdefineInjector"]({providers:[],imports:[[]]}),"undefined"==typeof ngDevMode||ngDevMode,("undefined"==typeof ngJitMode||ngJitMode)&&r["ɵɵsetNgModuleScope"](e,{declarations:[a,c,d],exports:[a,c,d]}),e}(),p=Object.assign((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.aD.apply(void 0,e)}),o.aD),h=Object.assign((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.Fl.apply(void 0,e)}),o.Fl),m=Object.assign((function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o.LO.apply(void 0,e)}),o.LO)},32711:(e,t,n)=>{"use strict";n.d(t,{EH:()=>le,Fl:()=>hn,LO:()=>Re,N7:()=>mn,U5:()=>pe,ZN:()=>fn,aD:()=>J,gx:()=>de,lz:()=>ue,p6:()=>ce,v8:()=>V,vP:()=>Ke,z:()=>Z});var i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])};function r(e,t){function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){function e(e){void 0===e&&(e="Atom@"+Qe()),this.name=e,this.isPendingUnobservation=!0,this.observers=[],this.observersIndexes={},this.diffValue=0,this.lastAccessedBy=0,this.lowestObserverState=Vt.NOT_TRACKING}return e.prototype.onBecomeUnobserved=function(){},e.prototype.reportObserved=function(){Bt(this)},e.prototype.reportChanged=function(){Rt(),function(e){if(e.lowestObserverState!==Vt.STALE){e.lowestObserverState=Vt.STALE;for(var t=e.observers,n=t.length;n--;){var i=t[n];i.dependenciesState===Vt.UP_TO_DATE&&(i.isTracing!==Gt.NONE&&Ut(i,e),i.onBecomeStale()),i.dependenciesState=Vt.STALE}}}(this),Ft()},e.prototype.toString=function(){return this.name},e}(),a=function(e){function t(t,n,i){void 0===t&&(t="Atom@"+Qe()),void 0===n&&(n=rt),void 0===i&&(i=rt);var r=e.call(this,t)||this;return r.name=t,r.onBecomeObservedHandler=n,r.onBecomeUnobservedHandler=i,r.isPendingUnobservation=!1,r.isBeingTracked=!1,r}return r(t,e),t.prototype.reportObserved=function(){return Rt(),e.prototype.reportObserved.call(this),this.isBeingTracked||(this.isBeingTracked=!0,this.onBecomeObservedHandler()),Ft(),!!xt.trackingDerivation},t.prototype.onBecomeUnobserved=function(){this.isBeingTracked=!1,this.onBecomeUnobservedHandler()},t}(o),s=gt("Atom",o);function c(e){return e.interceptors&&e.interceptors.length>0}function l(e,t){var n=e.interceptors||(e.interceptors=[]);return n.push(t),it((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function d(e,t){var n=Qt();try{var i=e.interceptors;if(i)for(var r=0,o=i.length;r<o&&(et(!(t=i[r](t))||t.type,"Intercept handlers should return nothing or a change object"),t);r++);return t}finally{Zt(n)}}function u(e){return e.changeListeners&&e.changeListeners.length>0}function p(e,t){var n=e.changeListeners||(e.changeListeners=[]);return n.push(t),it((function(){var e=n.indexOf(t);-1!==e&&n.splice(e,1)}))}function h(e,t){var n=Qt(),i=e.changeListeners;if(i){for(var r=0,o=(i=i.slice()).length;r<o;r++)i[r](t);Zt(n)}}function m(){return!!xt.spyListeners.length}function f(e){if(xt.spyListeners.length)for(var t=xt.spyListeners,n=0,i=t.length;n<i;n++)t[n](e)}function g(e){f(lt({},e,{spyReportStart:!0}))}var v={spyReportEnd:!0};function b(e){f(e?lt({},e,v):v)}function y(e){return xt.spyListeners.push(e),it((function(){var t=xt.spyListeners.indexOf(e);-1!==t&&xt.spyListeners.splice(t,1)}))}function S(e){et(!0!==e.__$$iterating,"Illegal state: cannot recycle array as iterator"),ht(e,"__$$iterating",!0);var t=-1;return ht(e,"next",(function(){return{done:++t>=this.length,value:t<this.length?this[t]:void 0}})),e}function C(e,t){ht(e,"function"==typeof Symbol&&Symbol.iterator||"@@iterator",t)}var x,I,w=function(){var e=!1,t={};return Object.defineProperty(t,"0",{set:function(){e=!0}}),Object.create(t)[0]=1,!1===e}(),E=0,T=function(){};x=T,I=Array.prototype,void 0!==Object.setPrototypeOf?Object.setPrototypeOf(x.prototype,I):void 0!==x.prototype.__proto__?x.prototype.__proto__=I:x.prototype=I,Object.isFrozen(Array)&&["constructor","push","shift","concat","pop","unshift","replace","find","findIndex","splice","reverse","sort"].forEach((function(e){Object.defineProperty(T.prototype,e,{configurable:!0,writable:!0,value:Array.prototype[e]})}));var P=function(){function e(e,t,n,i){this.array=n,this.owned=i,this.values=[],this.lastKnownLength=0,this.interceptors=null,this.changeListeners=null,this.atom=new o(e||"ObservableArray@"+Qe()),this.enhancer=function(n,i){return t(n,i,e+"[..]")}}return e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.dehanceValues=function(e){return void 0!==this.dehancer?e.map(this.dehancer):e},e.prototype.intercept=function(e){return l(this,e)},e.prototype.observe=function(e,t){return void 0===t&&(t=!1),t&&e({object:this.array,type:"splice",index:0,added:this.values.slice(),addedCount:this.values.length,removed:[],removedCount:0}),p(this,e)},e.prototype.getArrayLength=function(){return this.atom.reportObserved(),this.values.length},e.prototype.setArrayLength=function(e){if("number"!=typeof e||e<0)throw new Error("[mobx.array] Out of range: "+e);var t=this.values.length;if(e!==t)if(e>t){for(var n=new Array(e-t),i=0;i<e-t;i++)n[i]=void 0;this.spliceWithArray(t,0,n)}else this.spliceWithArray(e,t-e)},e.prototype.updateArrayLength=function(e,t){if(e!==this.lastKnownLength)throw new Error("[mobx] Modification exception: the internal structure of an observable array was changed. Did you use peek() to change it?");this.lastKnownLength+=t,t>0&&e+t+1>E&&k(e+t+1)},e.prototype.spliceWithArray=function(e,t,n){var i=this;Kt(this.atom);var r=this.values.length;if(void 0===e?e=0:e>r?e=r:e<0&&(e=Math.max(0,r+e)),t=1===arguments.length?r-e:null==t?0:Math.max(0,Math.min(t,r-e)),void 0===n&&(n=[]),c(this)){var o=d(this,{object:this.array,type:"splice",index:e,removedCount:t,added:n});if(!o)return Ye;t=o.removedCount,n=o.added}var a=(n=n.map((function(e){return i.enhancer(e,void 0)}))).length-t;this.updateArrayLength(r,a);var s=this.spliceItemsIntoValues(e,t,n);return 0===t&&0===n.length||this.notifyArraySplice(e,n,s),this.dehanceValues(s)},e.prototype.spliceItemsIntoValues=function(e,t,n){if(n.length<1e4)return(i=this.values).splice.apply(i,[e,t].concat(n));var i,r=this.values.slice(e,e+t);return this.values=this.values.slice(0,e).concat(n,this.values.slice(e+t)),r},e.prototype.notifyArrayChildUpdate=function(e,t,n){var i=!this.owned&&m(),r=u(this),o=r||i?{object:this.array,type:"update",index:e,newValue:t,oldValue:n}:null;i&&g(o),this.atom.reportChanged(),r&&h(this,o),i&&b()},e.prototype.notifyArraySplice=function(e,t,n){var i=!this.owned&&m(),r=u(this),o=r||i?{object:this.array,type:"splice",index:e,removed:n,added:t,removedCount:n.length,addedCount:t.length}:null;i&&g(o),this.atom.reportChanged(),r&&h(this,o),i&&b()},e}(),A=function(e){function t(t,n,i,r){void 0===i&&(i="ObservableArray@"+Qe()),void 0===r&&(r=!1);var o=e.call(this)||this,a=new P(i,n,o,r);return ht(o,"$mobx",a),t&&t.length&&o.spliceWithArray(0,0,t),w&&Object.defineProperty(a.array,"0",_),o}return r(t,e),t.prototype.intercept=function(e){return this.$mobx.intercept(e)},t.prototype.observe=function(e,t){return void 0===t&&(t=!1),this.$mobx.observe(e,t)},t.prototype.clear=function(){return this.splice(0)},t.prototype.concat=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.$mobx.atom.reportObserved(),Array.prototype.concat.apply(this.peek(),e.map((function(e){return N(e)?e.peek():e})))},t.prototype.replace=function(e){return this.$mobx.spliceWithArray(0,this.$mobx.values.length,e)},t.prototype.toJS=function(){return this.slice()},t.prototype.toJSON=function(){return this.toJS()},t.prototype.peek=function(){return this.$mobx.atom.reportObserved(),this.$mobx.dehanceValues(this.$mobx.values)},t.prototype.find=function(e,t,n){void 0===n&&(n=0);var i=this.findIndex.apply(this,arguments);return-1===i?void 0:this.get(i)},t.prototype.findIndex=function(e,t,n){void 0===n&&(n=0);for(var i=this.peek(),r=i.length,o=n;o<r;o++)if(e.call(t,i[o],o,this))return o;return-1},t.prototype.splice=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];switch(arguments.length){case 0:return[];case 1:return this.$mobx.spliceWithArray(e);case 2:return this.$mobx.spliceWithArray(e,t)}return this.$mobx.spliceWithArray(e,t,n)},t.prototype.spliceWithArray=function(e,t,n){return this.$mobx.spliceWithArray(e,t,n)},t.prototype.push=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(n.values.length,0,e),n.values.length},t.prototype.pop=function(){return this.splice(Math.max(this.$mobx.values.length-1,0),1)[0]},t.prototype.shift=function(){return this.splice(0,1)[0]},t.prototype.unshift=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.$mobx;return n.spliceWithArray(0,0,e),n.values.length},t.prototype.reverse=function(){var e=this.slice();return e.reverse.apply(e,arguments)},t.prototype.sort=function(e){var t=this.slice();return t.sort.apply(t,arguments)},t.prototype.remove=function(e){var t=this.$mobx.dehanceValues(this.$mobx.values).indexOf(e);return t>-1&&(this.splice(t,1),!0)},t.prototype.move=function(e,t){function n(e){if(e<0)throw new Error("[mobx.array] Index out of bounds: "+e+" is negative");var t=this.$mobx.values.length;if(e>=t)throw new Error("[mobx.array] Index out of bounds: "+e+" is not smaller than "+t)}if(n.call(this,e),n.call(this,t),e!==t){var i,r=this.$mobx.values;i=e<t?r.slice(0,e).concat(r.slice(e+1,t+1),[r[e]],r.slice(t+1)):r.slice(0,t).concat([r[e]],r.slice(t,e),r.slice(e+1)),this.replace(i)}},t.prototype.get=function(e){var t=this.$mobx;if(t){if(e<t.values.length)return t.atom.reportObserved(),t.dehanceValue(t.values[e]);console.warn("[mobx.array] Attempt to read an array index ("+e+") that is out of bounds ("+t.values.length+"). Please check length first. Out of bound indices will not be tracked by MobX")}},t.prototype.set=function(e,t){var n=this.$mobx,i=n.values;if(e<i.length){Kt(n.atom);var r=i[e];if(c(n)){var o=d(n,{type:"update",object:this,index:e,newValue:t});if(!o)return;t=o.newValue}(t=n.enhancer(t,r))!==r&&(i[e]=t,n.notifyArrayChildUpdate(e,t,r))}else{if(e!==i.length)throw new Error("[mobx.array] Index out of bounds, "+e+" is larger than "+i.length);n.spliceWithArray(e,0,[t])}},t}(T);C(A.prototype,(function(){return S(this.slice())})),Object.defineProperty(A.prototype,"length",{enumerable:!1,configurable:!0,get:function(){return this.$mobx.getArrayLength()},set:function(e){this.$mobx.setArrayLength(e)}}),["every","filter","forEach","indexOf","join","lastIndexOf","map","reduce","reduceRight","slice","some","toString","toLocaleString"].forEach((function(e){var t=Array.prototype[e];et("function"==typeof t,"Base function not defined on Array prototype: '"+e+"'"),pt(A.prototype,e,(function(){return t.apply(this.peek(),arguments)}))})),function(e,t){for(var n=0;n<t.length;n++)pt(e,t[n],e[t[n]])}(A.prototype,["constructor","intercept","observe","clear","concat","get","replace","toJS","toJSON","peek","find","findIndex","splice","spliceWithArray","push","pop","set","shift","unshift","reverse","sort","remove","move","toString","toLocaleString"]);var _=M(0);function M(e){return{enumerable:!1,configurable:!1,get:function(){return this.get(e)},set:function(t){this.set(e,t)}}}function O(e){Object.defineProperty(A.prototype,""+e,M(e))}function k(e){for(var t=E;t<e;t++)O(t);E=e}k(1e3);var j=gt("ObservableArrayAdministration",P);function N(e){return st(e)&&j(e.$mobx)}var D={},L=function(e){function t(t,n,i,r){void 0===i&&(i="ObservableValue@"+Qe()),void 0===r&&(r=!0);var o=e.call(this,i)||this;return o.enhancer=n,o.hasUnreportedChange=!1,o.dehancer=void 0,o.value=n(t,void 0,i),r&&m()&&f({type:"create",object:o,newValue:o.value}),o}return r(t,e),t.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},t.prototype.set=function(e){var t=this.value;if((e=this.prepareNewValue(e))!==D){var n=m();n&&g({type:"update",object:this,newValue:e,oldValue:t}),this.setNewValue(e),n&&b()}},t.prototype.prepareNewValue=function(e){if(Kt(this),c(this)){var t=d(this,{object:this,type:"update",newValue:e});if(!t)return D;e=t.newValue}return e=this.enhancer(e,this.value,this.name),this.value!==e?e:D},t.prototype.setNewValue=function(e){var t=this.value;this.value=e,this.reportChanged(),u(this)&&h(this,{type:"update",object:this,newValue:e,oldValue:t})},t.prototype.get=function(){return this.reportObserved(),this.dehanceValue(this.value)},t.prototype.intercept=function(e){return l(this,e)},t.prototype.observe=function(e,t){return t&&e({object:this,type:"update",newValue:this.value,oldValue:void 0}),p(this,e)},t.prototype.toJSON=function(){return this.get()},t.prototype.toString=function(){return this.name+"["+this.value+"]"},t.prototype.valueOf=function(){return yt(this.get())},t}(o);L.prototype[bt()]=L.prototype.valueOf;var R=gt("ObservableValue",L),F={m001:"It is not allowed to assign new values to @action fields",m002:"`runInAction` expects a function",m003:"`runInAction` expects a function without arguments",m004:"autorun expects a function",m005:"Warning: attempted to pass an action to autorun. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.",m006:"Warning: attempted to pass an action to autorunAsync. Actions are untracked and will not trigger on state changes. Use `reaction` or wrap only your state modification code in an action.",m007:"reaction only accepts 2 or 3 arguments. If migrating from MobX 2, please provide an options object",m008:"wrapping reaction expression in `asReference` is no longer supported, use options object instead",m009:"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'. It looks like it was used on a property.",m010:"@computed can only be used on getter functions, like: '@computed get myProps() { return ...; }'",m011:"First argument to `computed` should be an expression. If using computed as decorator, don't pass it arguments",m012:"computed takes one or two arguments if used as function",m013:"[mobx.expr] 'expr' should only be used inside other reactive functions.",m014:"extendObservable expected 2 or more arguments",m015:"extendObservable expects an object as first argument",m016:"extendObservable should not be used on maps, use map.merge instead",m017:"all arguments of extendObservable should be objects",m018:"extending an object with another observable (object) is not supported. Please construct an explicit propertymap, using `toJS` if need. See issue #540",m019:"[mobx.isObservable] isObservable(object, propertyName) is not supported for arrays and maps. Use map.has or array.length instead.",m020:"modifiers can only be used for individual object properties",m021:"observable expects zero or one arguments",m022:"@observable can not be used on getters, use @computed instead",m024:"whyRun() can only be used if a derivation is active, or by passing an computed value / reaction explicitly. If you invoked whyRun from inside a computation; the computation is currently suspended but re-evaluating because somebody requested its value.",m025:"whyRun can only be used on reactions and computed values",m026:"`action` can only be invoked on functions",m028:"It is not allowed to set `useStrict` when a derivation is running",m029:"INTERNAL ERROR only onBecomeUnobserved shouldn't be called twice in a row",m030a:"Since strict-mode is enabled, changing observed observable values outside actions is not allowed. Please wrap the code in an `action` if this change is intended. Tried to modify: ",m030b:"Side effects like changing state are not allowed at this point. Are you trying to modify state from, for example, the render function of a React component? Tried to modify: ",m031:"Computed values are not allowed to cause side effects by changing observables that are already being observed. Tried to modify: ",m032:"* This computation is suspended (not in use by any reaction) and won't run automatically.\n\tDidn't expect this computation to be suspended at this point?\n\t  1. Make sure this computation is used by a reaction (reaction, autorun, observer).\n\t  2. Check whether you are using this computation synchronously (in the same stack as they reaction that needs it).",m033:"`observe` doesn't support the fire immediately property for observable maps.",m034:"`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead",m035:"Cannot make the designated object observable; it is not extensible",m036:"It is not possible to get index atoms from arrays",m037:'Hi there! I\'m sorry you have just run into an exception.\nIf your debugger ends up here, know that some reaction (like the render() of an observer component, autorun or reaction)\nthrew an exception and that mobx caught it, to avoid that it brings the rest of your application down.\nThe original cause of the exception (the code that caused this reaction to run (again)), is still in the stack.\n\nHowever, more interesting is the actual stack trace of the error itself.\nHopefully the error is an instanceof Error, because in that case you can inspect the original stack of the error from where it was thrown.\nSee `error.stack` property, or press the very subtle "(...)" link you see near the console.error message that probably brought you here.\nThat stack is more interesting than the stack of this console.error itself.\n\nIf the exception you see is an exception you created yourself, make sure to use `throw new Error("Oops")` instead of `throw "Oops"`,\nbecause the javascript environment will only preserve the original stack trace in the first form.\n\nYou can also make sure the debugger pauses the next time this very same exception is thrown by enabling "Pause on caught exception".\n(Note that it might pause on many other, unrelated exception as well).\n\nIf that all doesn\'t help you out, feel free to open an issue https://github.com/mobxjs/mobx/issues!\n',m038:"Missing items in this list?\n    1. Check whether all used values are properly marked as observable (use isObservable to verify)\n    2. Make sure you didn't dereference values too early. MobX observes props, not primitives. E.g: use 'person.name' instead of 'name' in your computation.\n"};function B(e){return F[e]}function U(e,t){et("function"==typeof t,B("m026")),et("string"==typeof e&&e.length>0,"actions should have valid names, got: '"+e+"'");var n=function(){return H(e,t,this,arguments)};return n.originalFn=t,n.isMobxAction=!0,n}function H(e,t,n,i){var r=function(e,t,n,i){var r=m()&&!!e,o=0;if(r){o=Date.now();var a=i&&i.length||0,s=new Array(a);if(a>0)for(var c=0;c<a;c++)s[c]=i[c];g({type:"action",name:e,fn:t,object:n,arguments:s})}var l=Qt();return Rt(),{prevDerivation:l,prevAllowStateChanges:G(!0),notifySpy:r,startTime:o}}(e,t,n,i);try{return t.apply(n,i)}finally{!function(e){$(e.prevAllowStateChanges),Ft(),Zt(e.prevDerivation),e.notifySpy&&b({time:Date.now()-e.startTime})}(r)}}function V(e){et(null===xt.trackingDerivation,B("m028")),xt.strictMode=e,xt.allowStateChanges=!e}function G(e){var t=xt.allowStateChanges;return xt.allowStateChanges=e,t}function $(e){xt.allowStateChanges=e}function z(e,t,n,i,r){function o(o,a,s,c,l){if(void 0===l&&(l=0),et(r||K(arguments),"This function is a decorator, but it wasn't invoked like a decorator"),s){ut(o,"__mobxLazyInitializers")||pt(o,"__mobxLazyInitializers",o.__mobxLazyInitializers&&o.__mobxLazyInitializers.slice()||[]);var d=s.value,u=s.initializer;return o.__mobxLazyInitializers.push((function(t){e(t,a,u?u.call(t):d,c,s)})),{enumerable:i,configurable:!0,get:function(){return!0!==this.__mobxDidRunLazyInitializers&&q(this),t.call(this,a)},set:function(e){!0!==this.__mobxDidRunLazyInitializers&&q(this),n.call(this,a,e)}}}var p={enumerable:i,configurable:!0,get:function(){return this.__mobxInitializedProps&&!0===this.__mobxInitializedProps[a]||W(this,a,void 0,e,c,s),t.call(this,a)},set:function(t){this.__mobxInitializedProps&&!0===this.__mobxInitializedProps[a]?n.call(this,a,t):W(this,a,t,e,c,s)}};return(arguments.length<3||5===arguments.length&&l<3)&&Object.defineProperty(o,a,p),p}return r?function(){if(K(arguments))return o.apply(null,arguments);var e=arguments,t=arguments.length;return function(n,i,r){return o(n,i,r,e,t)}}:o}function W(e,t,n,i,r,o){ut(e,"__mobxInitializedProps")||pt(e,"__mobxInitializedProps",{}),e.__mobxInitializedProps[t]=!0,i(e,t,n,r,o)}function q(e){!0!==e.__mobxDidRunLazyInitializers&&e.__mobxLazyInitializers&&(pt(e,"__mobxDidRunLazyInitializers",!0),e.__mobxDidRunLazyInitializers&&e.__mobxLazyInitializers.forEach((function(t){return t(e)})))}function K(e){return(2===e.length||3===e.length)&&"string"==typeof e[1]}var X=z((function(e,t,n,i,r){var o=i&&1===i.length?i[0]:n.name||t||"<unnamed action>";pt(e,t,J(o,n))}),(function(e){return this[e]}),(function(){et(!1,B("m001"))}),!1,!0),Y=z((function(e,t,n){te(e,t,n)}),(function(e){return this[e]}),(function(){et(!1,B("m001"))}),!1,!1),J=function(e,t,n,i){return 1===arguments.length&&"function"==typeof e?U(e.name||"<unnamed action>",e):2===arguments.length&&"function"==typeof t?U(e,t):1===arguments.length&&"string"==typeof e?Q(e):Q(t).apply(null,arguments)};function Q(e){return function(t,n,i){if(i&&"function"==typeof i.value)return i.value=U(e,i.value),i.enumerable=!1,i.configurable=!0,i;if(void 0!==i&&void 0!==i.get)throw new Error("[mobx] action is not expected to be used with getters");return X(e).apply(this,arguments)}}function Z(e,t,n){var i="string"==typeof e?e:e.name||"<unnamed action>",r="function"==typeof e?e:t,o="function"==typeof e?t:n;return et("function"==typeof r,B("m002")),et(0===r.length,B("m003")),et("string"==typeof i&&i.length>0,"actions should have valid names, got: '"+i+"'"),H(i,r,o,void 0)}function ee(e){return"function"==typeof e&&!0===e.isMobxAction}function te(e,t,n){var i=function(){return H(t,n,e,arguments)};i.isMobxAction=!0,pt(e,t,i)}J.bound=function(e,t,n){if("function"==typeof e){var i=U("<not yet bound action>",e);return i.autoBind=!0,i}return Y.apply(null,arguments)};var ne=Object.prototype.toString;function ie(e,t){return re(e,t)}function re(e,t,n,i){if(e===t)return 0!==e||1/e==1/t;if(null==e||null==t)return!1;if(e!=e)return t!=t;var r=typeof e;return("function"===r||"object"===r||"object"==typeof t)&&function(e,t,n,i){e=oe(e),t=oe(t);var r=ne.call(e);if(r!==ne.call(t))return!1;switch(r){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!=+e?+t!=+t:0==+e?1/+e==1/t:+e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object Symbol]":return"undefined"!=typeof Symbol&&Symbol.valueOf.call(e)===Symbol.valueOf.call(t)}var o="[object Array]"===r;if(!o){if("object"!=typeof e||"object"!=typeof t)return!1;var a=e.constructor,s=t.constructor;if(a!==s&&!("function"==typeof a&&a instanceof a&&"function"==typeof s&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}i=i||[];for(var c=(n=n||[]).length;c--;)if(n[c]===e)return i[c]===t;if(n.push(e),i.push(t),o){if((c=e.length)!==t.length)return!1;for(;c--;)if(!re(e[c],t[c],n,i))return!1}else{var l,d=Object.keys(e);if(c=d.length,Object.keys(t).length!==c)return!1;for(;c--;)if(!ae(t,l=d[c])||!re(e[l],t[l],n,i))return!1}return n.pop(),i.pop(),!0}(e,t,n,i)}function oe(e){return N(e)?e.peek():Xe(e)?e.entries():vt(e)?function(e){for(var t=[];;){var n=e.next();if(n.done)break;t.push(n.value)}return t}(e.entries()):e}function ae(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function se(e,t){return e===t}var ce={identity:se,structural:function(e,t){return ie(e,t)},default:function(e,t){return function(e,t){return"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}(e,t)||se(e,t)}};function le(e,t,n){var i,r,o;"string"==typeof e?(i=e,r=t,o=n):(i=e.name||"Autorun@"+Qe(),r=e,o=t),et("function"==typeof r,B("m004")),et(!1===ee(r),B("m005")),o&&(r=r.bind(o));var a=new rn(i,(function(){this.track(s)}));function s(){r(a)}return a.schedule(),a.getDisposer()}function de(e,t,n,i){var r,o,a,s;return"string"==typeof e?(r=e,o=t,a=n,s=i):(r="When@"+Qe(),o=e,a=t,s=n),le(r,(function(e){if(o.call(s)){e.dispose();var t=Qt();a.call(s),Zt(t)}}))}function ue(e,t,n,i){var r,o,a,s;"string"==typeof e?(r=e,o=t,a=n,s=i):(r=e.name||"AutorunAsync@"+Qe(),o=e,a=t,s=n),et(!1===ee(o),B("m006")),void 0===a&&(a=1),s&&(o=o.bind(s));var c=!1,l=new rn(r,(function(){c||(c=!0,setTimeout((function(){c=!1,l.isDisposed||l.track(d)}),a))}));function d(){o(l)}return l.schedule(),l.getDisposer()}function pe(e,t,n){var i;arguments.length>3&&Ze(B("m007")),Be(e)&&Ze(B("m008")),(i="object"==typeof n?n:{}).name=i.name||e.name||t.name||"Reaction@"+Qe(),i.fireImmediately=!0===n||!0===i.fireImmediately,i.delay=i.delay||0,i.compareStructural=i.compareStructural||i.struct||!1,t=J(i.name,i.context?t.bind(i.context):t),i.context&&(e=e.bind(i.context));var r,o=!0,a=!1,s=i.equals?i.equals:i.compareStructural||i.struct?ce.structural:ce.default,c=new rn(i.name,(function(){o||i.delay<1?l():a||(a=!0,setTimeout((function(){a=!1,l()}),i.delay))}));function l(){if(!c.isDisposed){var n=!1;c.track((function(){var t=e(c);n=o||!s(r,t),r=t})),o&&i.fireImmediately&&t(r,c),o||!0!==n||t(r,c),o&&(o=!1)}}return c.schedule(),c.getDisposer()}var he=function(){function e(e,t,n,i,r){this.derivation=e,this.scope=t,this.equals=n,this.dependenciesState=Vt.NOT_TRACKING,this.observing=[],this.newObserving=null,this.isPendingUnobservation=!1,this.observers=[],this.observersIndexes={},this.diffValue=0,this.runId=0,this.lastAccessedBy=0,this.lowestObserverState=Vt.UP_TO_DATE,this.unboundDepsCount=0,this.__mapid="#"+Qe(),this.value=new $t(null),this.isComputing=!1,this.isRunningSetter=!1,this.isTracing=Gt.NONE,this.name=i||"ComputedValue@"+Qe(),r&&(this.setter=U(i+"-setter",r))}return e.prototype.onBecomeStale=function(){!function(e){if(e.lowestObserverState===Vt.UP_TO_DATE){e.lowestObserverState=Vt.POSSIBLY_STALE;for(var t=e.observers,n=t.length;n--;){var i=t[n];i.dependenciesState===Vt.UP_TO_DATE&&(i.dependenciesState=Vt.POSSIBLY_STALE,i.isTracing!==Gt.NONE&&Ut(i,e),i.onBecomeStale())}}}(this)},e.prototype.onBecomeUnobserved=function(){Yt(this),this.value=void 0},e.prototype.get=function(){et(!this.isComputing,"Cycle detected in computation "+this.name,this.derivation),0===xt.inBatch?(Rt(),Wt(this)&&(this.isTracing!==Gt.NONE&&console.log("[mobx.trace] '"+this.name+"' is being read outside a reactive context and doing a full recompute"),this.value=this.computeValue(!1)),Ft()):(Bt(this),Wt(this)&&this.trackAndCompute()&&function(e){if(e.lowestObserverState!==Vt.STALE){e.lowestObserverState=Vt.STALE;for(var t=e.observers,n=t.length;n--;){var i=t[n];i.dependenciesState===Vt.POSSIBLY_STALE?i.dependenciesState=Vt.STALE:i.dependenciesState===Vt.UP_TO_DATE&&(e.lowestObserverState=Vt.UP_TO_DATE)}}}(this));var e=this.value;if(zt(e))throw e.cause;return e},e.prototype.peek=function(){var e=this.computeValue(!1);if(zt(e))throw e.cause;return e},e.prototype.set=function(e){if(this.setter){et(!this.isRunningSetter,"The setter of computed value '"+this.name+"' is trying to update itself. Did you intend to update an _observable_ value, instead of the computed property?"),this.isRunningSetter=!0;try{this.setter.call(this.scope,e)}finally{this.isRunningSetter=!1}}else et(!1,"[ComputedValue '"+this.name+"'] It is not possible to assign a new value to a computed value.")},e.prototype.trackAndCompute=function(){m()&&f({object:this.scope,type:"compute",fn:this.derivation});var e=this.value,t=this.dependenciesState===Vt.NOT_TRACKING,n=this.value=this.computeValue(!0);return t||zt(e)||zt(n)||!this.equals(e,n)},e.prototype.computeValue=function(e){var t;if(this.isComputing=!0,xt.computationDepth++,e)t=Xt(this,this.derivation,this.scope);else try{t=this.derivation.call(this.scope)}catch(e){t=new $t(e)}return xt.computationDepth--,this.isComputing=!1,t},e.prototype.observe=function(e,t){var n=this,i=!0,r=void 0;return le((function(){var o=n.get();if(!i||t){var a=Qt();e({type:"update",object:n,newValue:o,oldValue:r}),Zt(a)}i=!1,r=o}))},e.prototype.toJSON=function(){return this.get()},e.prototype.toString=function(){return this.name+"["+this.derivation.toString()+"]"},e.prototype.valueOf=function(){return yt(this.get())},e.prototype.whyRun=function(){var e=Boolean(xt.trackingDerivation),t=ot(this.isComputing?this.newObserving:this.observing).map((function(e){return e.name})),n=ot(jt(this).map((function(e){return e.name})));return"\nWhyRun? computation '"+this.name+"':\n * Running because: "+(e?"[active] the value of this computation is needed by a reaction":this.isComputing?"[get] The value of this computed was requested outside a reaction":"[idle] not running at the moment")+"\n"+(this.dependenciesState===Vt.NOT_TRACKING?B("m032"):" * This computation will re-run if any of the following observables changes:\n    "+at(t)+"\n    "+(this.isComputing&&e?" (... or any observable accessed during the remainder of the current run)":"")+"\n    "+B("m038")+"\n\n  * If the outcome of this computation changes, the following observers will be re-run:\n    "+at(n)+"\n")},e}();he.prototype[bt()]=he.prototype.valueOf;var me=gt("ComputedValue",he),fe=function(){function e(e,t){this.target=e,this.name=t,this.values={},this.changeListeners=null,this.interceptors=null}return e.prototype.observe=function(e,t){return et(!0!==t,"`observe` doesn't support the fire immediately property for observable objects."),p(this,e)},e.prototype.intercept=function(e){return l(this,e)},e}();function ge(e,t){if(Ee(e)&&e.hasOwnProperty("$mobx"))return e.$mobx;et(Object.isExtensible(e),B("m035")),ct(e)||(t=(e.constructor.name||"ObservableObject")+"@"+Qe()),t||(t="ObservableObject@"+Qe());var n=new fe(e,t);return ht(e,"$mobx",n),n}function ve(e,t,n,i){if(e.values[t]&&!me(e.values[t]))return et("value"in n,"The property "+t+" in "+e.name+" is already observable, cannot redefine it as computed property"),void(e.target[t]=n.value);if("value"in n)if(Be(n.value)){var r=n.value;be(e,t,r.initialValue,r.enhancer)}else ee(n.value)&&!0===n.value.autoBind?te(e.target,t,n.value.originalFn):me(n.value)?function(e,t,n){var i=e.name+"."+t;n.name=i,n.scope||(n.scope=e.target),e.values[t]=n,Object.defineProperty(e.target,t,xe(t))}(e,t,n.value):be(e,t,n.value,i);else ye(e,t,n.get,n.set,ce.default,!0)}function be(e,t,n,i){if(ft(e.target,t),c(e)){var r=d(e,{object:e.target,name:t,type:"add",newValue:n});if(!r)return;n=r.newValue}n=(e.values[t]=new L(n,i,e.name+"."+t,!1)).value,Object.defineProperty(e.target,t,function(e){return Se[e]||(Se[e]={configurable:!0,enumerable:!0,get:function(){return this.$mobx.values[e].get()},set:function(t){Ie(this,e,t)}})}(t)),function(e,t,n,i){var r=u(e),o=m(),a=r||o?{type:"add",object:t,name:n,newValue:i}:null;o&&g(a),r&&h(e,a),o&&b()}(e,e.target,t,n)}function ye(e,t,n,i,r,o){o&&ft(e.target,t),e.values[t]=new he(n,e.target,r,e.name+"."+t,i),o&&Object.defineProperty(e.target,t,xe(t))}var Se={},Ce={};function xe(e){return Ce[e]||(Ce[e]={configurable:!0,enumerable:!1,get:function(){return this.$mobx.values[e].get()},set:function(t){return this.$mobx.values[e].set(t)}})}function Ie(e,t,n){var i=e.$mobx,r=i.values[t];if(c(i)){if(!(s=d(i,{type:"update",object:e,name:t,newValue:n})))return;n=s.newValue}if((n=r.prepareNewValue(n))!==D){var o=u(i),a=m(),s=o||a?{type:"update",object:e,oldValue:r.value,name:t,newValue:n}:null;a&&g(s),r.setNewValue(n),o&&h(i,s),a&&b()}}var we=gt("ObservableObjectAdministration",fe);function Ee(e){return!!st(e)&&(q(e),we(e.$mobx))}function Te(e,t){if(null==e)return!1;if(void 0!==t){if(N(e)||Xe(e))throw new Error(B("m019"));if(Ee(e)){var n=e.$mobx;return n.values&&!!n.values[t]}return!1}return Ee(e)||!!e.$mobx||s(e)||ln(e)||me(e)}function Pe(e){return et(!!e,":("),z((function(t,n,i,r,o){ft(t,n),et(!o||!o.get,B("m022")),be(ge(t,void 0),n,i,e)}),(function(e){var t=this.$mobx.values[e];if(void 0!==t)return t.get()}),(function(e,t){Ie(this,e,t)}),!0,!1)}function Ae(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Me(e,He,t)}function _e(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return Me(e,Ge,t)}function Me(e,t,n){et(arguments.length>=2,B("m014")),et("object"==typeof e,B("m015")),et(!Xe(e),B("m016")),n.forEach((function(e){et("object"==typeof e,B("m017")),et(!Te(e),B("m018"))}));for(var i=ge(e),r={},o=n.length-1;o>=0;o--){var a=n[o];for(var s in a)if(!0!==r[s]&&ut(a,s)){if(r[s]=!0,e===a&&!mt(e,s))continue;var c=Object.getOwnPropertyDescriptor(a,s);ve(i,s,c,t)}}return e}var Oe=Pe(He),ke=Pe(Ve),je=Pe(Ge),Ne=Pe($e),De=Pe(ze),Le={box:function(e,t){return arguments.length>2&&Fe("box"),new L(e,He,t)},shallowBox:function(e,t){return arguments.length>2&&Fe("shallowBox"),new L(e,Ge,t)},array:function(e,t){return arguments.length>2&&Fe("array"),new A(e,He,t)},shallowArray:function(e,t){return arguments.length>2&&Fe("shallowArray"),new A(e,Ge,t)},map:function(e,t){return arguments.length>2&&Fe("map"),new Ke(e,He,t)},shallowMap:function(e,t){return arguments.length>2&&Fe("shallowMap"),new Ke(e,Ge,t)},object:function(e,t){arguments.length>2&&Fe("object");var n={};return ge(n,t),Ae(n,e),n},shallowObject:function(e,t){arguments.length>2&&Fe("shallowObject");var n={};return ge(n,t),_e(n,e),n},ref:function(){return arguments.length<2?Ue(Ge,arguments[0]):je.apply(null,arguments)},shallow:function(){return arguments.length<2?Ue(Ve,arguments[0]):ke.apply(null,arguments)},deep:function(){return arguments.length<2?Ue(He,arguments[0]):Oe.apply(null,arguments)},struct:function(){return arguments.length<2?Ue($e,arguments[0]):Ne.apply(null,arguments)}},Re=function(e){if(void 0===e&&(e=void 0),"string"==typeof arguments[1])return Oe.apply(null,arguments);if(et(arguments.length<=1,B("m021")),et(!Be(e),B("m020")),Te(e))return e;var t=He(e,0,void 0);return t!==e?t:Re.box(e)};function Fe(e){Ze("Expected one or two arguments to observable."+e+". Did you accidentally try to use observable."+e+" as decorator?")}function Be(e){return"object"==typeof e&&null!==e&&!0===e.isMobxModifierDescriptor}function Ue(e,t){return et(!Be(t),"Modifiers cannot be nested"),{isMobxModifierDescriptor:!0,initialValue:t,enhancer:e}}function He(e,t,n){return Be(e)&&Ze("You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it"),Te(e)?e:Array.isArray(e)?Re.array(e,n):ct(e)?Re.object(e,n):vt(e)?Re.map(e,n):e}function Ve(e,t,n){return Be(e)&&Ze("You tried to assign a modifier wrapped value to a collection, please define modifiers when creating the collection, not when modifying it"),null==e||Ee(e)||N(e)||Xe(e)?e:Array.isArray(e)?Re.shallowArray(e,n):ct(e)?Re.shallowObject(e,n):vt(e)?Re.shallowMap(e,n):Ze("The shallow modifier / decorator can only used in combination with arrays, objects and maps")}function Ge(e){return e}function $e(e,t,n){if(ie(e,t))return t;if(Te(e))return e;if(Array.isArray(e))return new A(e,$e,n);if(vt(e))return new Ke(e,$e,n);if(ct(e)){var i={};return ge(i,n),Me(i,$e,[e]),i}return e}function ze(e,t,n){return ie(e,t)?t:e}function We(e,t){void 0===t&&(t=void 0),Rt();try{return e.apply(t)}finally{Ft()}}Object.keys(Le).forEach((function(e){return Re[e]=Le[e]})),Re.deep.struct=Re.struct,Re.ref.struct=function(){return arguments.length<2?Ue(ze,arguments[0]):De.apply(null,arguments)};var qe={},Ke=function(){function e(e,t,n){void 0===t&&(t=He),void 0===n&&(n="ObservableMap@"+Qe()),this.enhancer=t,this.name=n,this.$mobx=qe,this._data=Object.create(null),this._hasMap=Object.create(null),this._keys=new A(void 0,Ge,this.name+".keys()",!0),this.interceptors=null,this.changeListeners=null,this.dehancer=void 0,this.merge(e)}return e.prototype._has=function(e){return void 0!==this._data[e]},e.prototype.has=function(e){return!!this.isValidKey(e)&&(e=""+e,this._hasMap[e]?this._hasMap[e].get():this._updateHasMapEntry(e,!1).get())},e.prototype.set=function(e,t){this.assertValidKey(e),e=""+e;var n=this._has(e);if(c(this)){var i=d(this,{type:n?"update":"add",object:this,newValue:t,name:e});if(!i)return this;t=i.newValue}return n?this._updateValue(e,t):this._addValue(e,t),this},e.prototype.delete=function(e){var t=this;if(this.assertValidKey(e),e=""+e,c(this)&&!(r=d(this,{type:"delete",object:this,name:e})))return!1;if(this._has(e)){var n=m(),i=u(this),r=i||n?{type:"delete",object:this,oldValue:this._data[e].value,name:e}:null;return n&&g(r),We((function(){t._keys.remove(e),t._updateHasMapEntry(e,!1),t._data[e].setNewValue(void 0),t._data[e]=void 0})),i&&h(this,r),n&&b(),!0}return!1},e.prototype._updateHasMapEntry=function(e,t){var n=this._hasMap[e];return n?n.setNewValue(t):n=this._hasMap[e]=new L(t,Ge,this.name+"."+e+"?",!1),n},e.prototype._updateValue=function(e,t){var n=this._data[e];if((t=n.prepareNewValue(t))!==D){var i=m(),r=u(this),o=r||i?{type:"update",object:this,oldValue:n.value,name:e,newValue:t}:null;i&&g(o),n.setNewValue(t),r&&h(this,o),i&&b()}},e.prototype._addValue=function(e,t){var n=this;We((function(){var i=n._data[e]=new L(t,n.enhancer,n.name+"."+e,!1);t=i.value,n._updateHasMapEntry(e,!0),n._keys.push(e)}));var i=m(),r=u(this),o=r||i?{type:"add",object:this,name:e,newValue:t}:null;i&&g(o),r&&h(this,o),i&&b()},e.prototype.get=function(e){return e=""+e,this.has(e)?this.dehanceValue(this._data[e].get()):this.dehanceValue(void 0)},e.prototype.dehanceValue=function(e){return void 0!==this.dehancer?this.dehancer(e):e},e.prototype.keys=function(){return S(this._keys.slice())},e.prototype.values=function(){return S(this._keys.map(this.get,this))},e.prototype.entries=function(){var e=this;return S(this._keys.map((function(t){return[t,e.get(t)]})))},e.prototype.forEach=function(e,t){var n=this;this.keys().forEach((function(i){return e.call(t,n.get(i),i,n)}))},e.prototype.merge=function(e){var t=this;return Xe(e)&&(e=e.toJS()),We((function(){ct(e)?Object.keys(e).forEach((function(n){return t.set(n,e[n])})):Array.isArray(e)?e.forEach((function(e){var n=e[0],i=e[1];return t.set(n,i)})):vt(e)?e.forEach((function(e,n){return t.set(n,e)})):null!=e&&Ze("Cannot initialize map from "+e)})),this},e.prototype.clear=function(){var e=this;We((function(){Jt((function(){e.keys().forEach(e.delete,e)}))}))},e.prototype.replace=function(e){var t=this;return We((function(){var n,i=ct(n=e)?Object.keys(n):Array.isArray(n)?n.map((function(e){return e[0]})):vt(n)?Array.from(n.keys()):Xe(n)?n.keys():Ze("Cannot get keys from "+n);t.keys().filter((function(e){return-1===i.indexOf(e)})).forEach((function(e){return t.delete(e)})),t.merge(e)})),this},Object.defineProperty(e.prototype,"size",{get:function(){return this._keys.length},enumerable:!0,configurable:!0}),e.prototype.toJS=function(){var e=this,t={};return this.keys().forEach((function(n){return t[n]=e.get(n)})),t},e.prototype.toJSON=function(){return this.toJS()},e.prototype.isValidKey=function(e){return null!=e&&("string"==typeof e||"number"==typeof e||"boolean"==typeof e)},e.prototype.assertValidKey=function(e){if(!this.isValidKey(e))throw new Error("[mobx.map] Invalid key: '"+e+"', only strings, numbers and booleans are accepted as key in observable maps.")},e.prototype.toString=function(){var e=this;return this.name+"[{ "+this.keys().map((function(t){return t+": "+e.get(t)})).join(", ")+" }]"},e.prototype.observe=function(e,t){return et(!0!==t,B("m033")),p(this,e)},e.prototype.intercept=function(e){return l(this,e)},e}();C(Ke.prototype,(function(){return this.entries()}));var Xe=gt("ObservableMap",Ke),Ye=[];function Je(){return"undefined"!=typeof window?window:global}function Qe(){return++xt.mobxGuid}function Ze(e,t){throw et(!1,e,t),"X"}function et(e,t,n){if(!e)throw new Error("[mobx] Invariant failed: "+t+(n?" in '"+n+"'":""))}Object.freeze(Ye);var tt=[];function nt(e){return-1===tt.indexOf(e)&&(tt.push(e),console.error("[mobx] Deprecated: "+e),!0)}function it(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}var rt=function(){};function ot(e){var t=[];return e.forEach((function(e){-1===t.indexOf(e)&&t.push(e)})),t}function at(e,t,n){return void 0===t&&(t=100),void 0===n&&(n=" - "),e?e.slice(0,t).join(n)+(e.length>t?" (... and "+(e.length-t)+"more)":""):""}function st(e){return null!==e&&"object"==typeof e}function ct(e){if(null===e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}function lt(){for(var e=arguments[0],t=1,n=arguments.length;t<n;t++){var i=arguments[t];for(var r in i)ut(i,r)&&(e[r]=i[r])}return e}var dt=Object.prototype.hasOwnProperty;function ut(e,t){return dt.call(e,t)}function pt(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!0,configurable:!0,value:n})}function ht(e,t,n){Object.defineProperty(e,t,{enumerable:!1,writable:!1,configurable:!0,value:n})}function mt(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!n||!1!==n.configurable&&!1!==n.writable}function ft(e,t){et(mt(e,t),"Cannot make property '"+t+"' observable, it is not configurable and writable in the target object")}function gt(e,t){var n="isMobX"+e;return t.prototype[n]=!0,function(e){return st(e)&&!0===e[n]}}function vt(e){return void 0!==Je().Map&&e instanceof Je().Map}function bt(){return"function"==typeof Symbol&&Symbol.toPrimitive||"@@toPrimitive"}function yt(e){return null===e?null:"object"==typeof e?""+e:e}var St=["mobxGuid","resetId","spyListeners","strictMode","runId"],Ct=function(){this.version=5,this.trackingDerivation=null,this.computationDepth=0,this.runId=0,this.mobxGuid=0,this.inBatch=0,this.pendingUnobservations=[],this.pendingReactions=[],this.isRunningReactions=!1,this.allowStateChanges=!0,this.strictMode=!1,this.resetId=0,this.spyListeners=[],this.globalReactionErrorHandlers=[]},xt=new Ct,It=!1,wt=!1,Et=!1,Tt=Je();function Pt(e,t){if("object"==typeof e&&null!==e){if(N(e))return et(void 0===t,B("m036")),e.$mobx.atom;if(Xe(e)){var n=e;return void 0===t?Pt(n._keys):(et(!!(i=n._data[t]||n._hasMap[t]),"the entry '"+t+"' does not exist in the observable map '"+_t(e)+"'"),i)}var i;if(q(e),t&&!e.$mobx&&e[t],Ee(e))return t?(et(!!(i=e.$mobx.values[t]),"no observable property '"+t+"' found on the observable object '"+_t(e)+"'"),i):Ze("please specify a property");if(s(e)||me(e)||ln(e))return e}else if("function"==typeof e&&ln(e.$mobx))return e.$mobx;return Ze("Cannot obtain atom from "+e)}function At(e,t){return et(e,"Expecting some object"),void 0!==t?At(Pt(e,t)):s(e)||me(e)||ln(e)||Xe(e)?e:(q(e),e.$mobx?e.$mobx:void et(!1,"Cannot obtain administration from "+e))}function _t(e,t){return(void 0!==t?Pt(e,t):Ee(e)||Xe(e)?At(e):Pt(e)).name}function Mt(e,t){return Ot(Pt(e,t))}function Ot(e){var t={name:e.name};return e.observing&&e.observing.length>0&&(t.dependencies=ot(e.observing).map(Ot)),t}function kt(e){var t={name:e.name};return function(e){return e.observers&&e.observers.length>0}(e)&&(t.observers=jt(e).map(kt)),t}function jt(e){return e.observers}function Nt(e,t){var n=e.observers.length;n&&(e.observersIndexes[t.__mapid]=n),e.observers[n]=t,e.lowestObserverState>t.dependenciesState&&(e.lowestObserverState=t.dependenciesState)}function Dt(e,t){if(1===e.observers.length)e.observers.length=0,Lt(e);else{var n=e.observers,i=e.observersIndexes,r=n.pop();if(r!==t){var o=i[t.__mapid]||0;o?i[r.__mapid]=o:delete i[r.__mapid],n[o]=r}delete i[t.__mapid]}}function Lt(e){e.isPendingUnobservation||(e.isPendingUnobservation=!0,xt.pendingUnobservations.push(e))}function Rt(){xt.inBatch++}function Ft(){if(0==--xt.inBatch){sn();for(var e=xt.pendingUnobservations,t=0;t<e.length;t++){var n=e[t];n.isPendingUnobservation=!1,0===n.observers.length&&n.onBecomeUnobserved()}xt.pendingUnobservations=[]}}function Bt(e){var t=xt.trackingDerivation;null!==t?t.runId!==e.lastAccessedBy&&(e.lastAccessedBy=t.runId,t.newObserving[t.unboundDepsCount++]=e):0===e.observers.length&&Lt(e)}function Ut(e,t){if(console.log("[mobx.trace] '"+e.name+"' is invalidated due to a change in: '"+t.name+"'"),e.isTracing===Gt.BREAK){var n=[];Ht(Mt(e),n,1),new Function("debugger;\n/*\nTracing '"+e.name+"'\n\nYou are entering this break point because derivation '"+e.name+"' is being traced and '"+t.name+"' is now forcing it to update.\nJust follow the stacktrace you should now see in the devtools to see precisely what piece of your code is causing this update\nThe stackframe you are looking for is at least ~6-8 stack-frames up.\n\n"+(e instanceof he?e.derivation.toString():"")+"\n\nThe dependencies for this derivation are:\n\n"+n.join("\n")+"\n*/\n    ")()}}function Ht(e,t,n){t.length>=1e3?t.push("(and many more)"):(t.push(""+new Array(n).join("\t")+e.name),e.dependencies&&e.dependencies.forEach((function(e){return Ht(e,t,n+1)})))}Tt.__mobxInstanceCount?(Tt.__mobxInstanceCount++,setTimeout((function(){It||wt||Et||(Et=!0,console.warn("[mobx] Warning: there are multiple mobx instances active. This might lead to unexpected results. See https://github.com/mobxjs/mobx/issues/1082 for details."))}),1)):Tt.__mobxInstanceCount=1;var Vt=(()=>(function(e){e[e.NOT_TRACKING=-1]="NOT_TRACKING",e[e.UP_TO_DATE=0]="UP_TO_DATE",e[e.POSSIBLY_STALE=1]="POSSIBLY_STALE",e[e.STALE=2]="STALE"}(Vt||(Vt={})),Vt))(),Gt=(()=>(function(e){e[e.NONE=0]="NONE",e[e.LOG=1]="LOG",e[e.BREAK=2]="BREAK"}(Gt||(Gt={})),Gt))(),$t=function(e){this.cause=e};function zt(e){return e instanceof $t}function Wt(e){switch(e.dependenciesState){case Vt.UP_TO_DATE:return!1;case Vt.NOT_TRACKING:case Vt.STALE:return!0;case Vt.POSSIBLY_STALE:for(var t=Qt(),n=e.observing,i=n.length,r=0;r<i;r++){var o=n[r];if(me(o)){try{o.get()}catch(e){return Zt(t),!0}if(e.dependenciesState===Vt.STALE)return Zt(t),!0}}return en(e),Zt(t),!1}}function qt(){return null!==xt.trackingDerivation}function Kt(e){var t=e.observers.length>0;xt.computationDepth>0&&t&&Ze(B("m031")+e.name),!xt.allowStateChanges&&t&&Ze(B(xt.strictMode?"m030a":"m030b")+e.name)}function Xt(e,t,n){en(e),e.newObserving=new Array(e.observing.length+100),e.unboundDepsCount=0,e.runId=++xt.runId;var i,r=xt.trackingDerivation;xt.trackingDerivation=e;try{i=t.call(n)}catch(e){i=new $t(e)}return xt.trackingDerivation=r,function(e){for(var t=e.observing,n=e.observing=e.newObserving,i=Vt.UP_TO_DATE,r=0,o=e.unboundDepsCount,a=0;a<o;a++)0===(s=n[a]).diffValue&&(s.diffValue=1,r!==a&&(n[r]=s),r++),s.dependenciesState>i&&(i=s.dependenciesState);for(n.length=r,e.newObserving=null,o=t.length;o--;)0===(s=t[o]).diffValue&&Dt(s,e),s.diffValue=0;for(;r--;){var s;1===(s=n[r]).diffValue&&(s.diffValue=0,Nt(s,e))}i!==Vt.UP_TO_DATE&&(e.dependenciesState=i,e.onBecomeStale())}(e),i}function Yt(e){var t=e.observing;e.observing=[];for(var n=t.length;n--;)Dt(t[n],e);e.dependenciesState=Vt.NOT_TRACKING}function Jt(e){var t=Qt(),n=e();return Zt(t),n}function Qt(){var e=xt.trackingDerivation;return xt.trackingDerivation=null,e}function Zt(e){xt.trackingDerivation=e}function en(e){if(e.dependenciesState!==Vt.UP_TO_DATE){e.dependenciesState=Vt.UP_TO_DATE;for(var t=e.observing,n=t.length;n--;)t[n].lowestObserverState=Vt.UP_TO_DATE}}function tn(e){return console.log(e),e}function nn(e){switch(e.length){case 0:return xt.trackingDerivation;case 1:return Pt(e[0]);case 2:return Pt(e[0],e[1])}}var rn=function(){function e(e,t){void 0===e&&(e="Reaction@"+Qe()),this.name=e,this.onInvalidate=t,this.observing=[],this.newObserving=[],this.dependenciesState=Vt.NOT_TRACKING,this.diffValue=0,this.runId=0,this.unboundDepsCount=0,this.__mapid="#"+Qe(),this.isDisposed=!1,this._isScheduled=!1,this._isTrackPending=!1,this._isRunning=!1,this.isTracing=Gt.NONE}return e.prototype.onBecomeStale=function(){this.schedule()},e.prototype.schedule=function(){this._isScheduled||(this._isScheduled=!0,xt.pendingReactions.push(this),sn())},e.prototype.isScheduled=function(){return this._isScheduled},e.prototype.runReaction=function(){this.isDisposed||(Rt(),this._isScheduled=!1,Wt(this)&&(this._isTrackPending=!0,this.onInvalidate(),this._isTrackPending&&m()&&f({object:this,type:"scheduled-reaction"})),Ft())},e.prototype.track=function(e){Rt();var t,n=m();n&&(t=Date.now(),g({object:this,type:"reaction",fn:e})),this._isRunning=!0;var i=Xt(this,e,void 0);this._isRunning=!1,this._isTrackPending=!1,this.isDisposed&&Yt(this),zt(i)&&this.reportExceptionInDerivation(i.cause),n&&b({time:Date.now()-t}),Ft()},e.prototype.reportExceptionInDerivation=function(e){var t=this;if(this.errorHandler)this.errorHandler(e,this);else{var n="[mobx] Encountered an uncaught exception that was thrown by a reaction or observer component, in: '"+this,i=B("m037");console.error(n||i,e),m()&&f({type:"error",message:n,error:e,object:this}),xt.globalReactionErrorHandlers.forEach((function(n){return n(e,t)}))}},e.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this._isRunning||(Rt(),Yt(this),Ft()))},e.prototype.getDisposer=function(){var e=this.dispose.bind(this);return e.$mobx=this,e.onError=on,e},e.prototype.toString=function(){return"Reaction["+this.name+"]"},e.prototype.whyRun=function(){var e=ot(this._isRunning?this.newObserving:this.observing).map((function(e){return e.name}));return"\nWhyRun? reaction '"+this.name+"':\n * Status: ["+(this.isDisposed?"stopped":this._isRunning?"running":this.isScheduled()?"scheduled":"idle")+"]\n * This reaction will re-run if any of the following observables changes:\n    "+at(e)+"\n    "+(this._isRunning?" (... or any observable accessed during the remainder of the current run)":"")+"\n\t"+B("m038")+"\n"},e.prototype.trace=function(e){void 0===e&&(e=!1),function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=!1;"boolean"==typeof e[e.length-1]&&(n=e.pop());var i=nn(e);if(!i)return Ze("'trace(break?)' can only be used inside a tracked computed value or a Reaction. Consider passing in the computed value or reaction explicitly");i.isTracing===Gt.NONE&&console.log("[mobx.trace] '"+i.name+"' tracing enabled"),i.isTracing=n?Gt.BREAK:Gt.LOG}(this,e)},e}();function on(e){et(this&&this.$mobx&&ln(this.$mobx),"Invalid `this`"),et(!this.$mobx.errorHandler,"Only one onErrorHandler can be registered"),this.$mobx.errorHandler=e}var an=function(e){return e()};function sn(){xt.inBatch>0||xt.isRunningReactions||an(cn)}function cn(){xt.isRunningReactions=!0;for(var e=xt.pendingReactions,t=0;e.length>0;){100==++t&&(console.error("Reaction doesn't converge to a stable state after 100 iterations. Probably there is a cycle in the reactive function: "+e[0]),e.splice(0));for(var n=e.splice(0),i=0,r=n.length;i<r;i++)n[i].runReaction()}xt.isRunningReactions=!1}var ln=gt("Reaction",rn);function dn(e){return z((function(t,n,i,r,o){et(void 0!==o,B("m009")),et("function"==typeof o.get,B("m010")),ye(ge(t,""),n,o.get,o.set,e,!1)}),(function(e){var t=this.$mobx.values[e];if(void 0!==t)return t.get()}),(function(e,t){this.$mobx.values[e].set(t)}),!1,!1)}var un=dn(ce.default),pn=dn(ce.structural),hn=function(e,t,n){if("string"==typeof t)return un.apply(null,arguments);et("function"==typeof e,B("m011")),et(arguments.length<3,B("m012"));var i="object"==typeof t?t:{};i.setter="function"==typeof t?t:i.setter;var r=i.equals?i.equals:i.compareStructural||i.struct?ce.structural:ce.default;return new he(e,i.context,r,i.name||e.name||"",i.setter)};function mn(e,t,n,i){return"function"==typeof n?function(e,t,n,i){return At(e,t).observe(n,i)}(e,t,n,i):function(e,t,n){return At(e).observe(t,n)}(e,t,n)}function fn(e,t,n){function i(i){return t&&n.push([e,i]),i}if(void 0===t&&(t=!0),void 0===n&&(n=[]),Te(e)){if(t&&null===n&&(n=[]),t&&null!==e&&"object"==typeof e)for(var r=0,o=n.length;r<o;r++)if(n[r][0]===e)return n[r][1];if(N(e)){var a=i([]),s=e.map((function(e){return fn(e,t,n)}));for(a.length=s.length,r=0,o=s.length;r<o;r++)a[r]=s[r];return a}if(Ee(e)){for(var c in a=i({}),e)a[c]=fn(e[c],t,n);return a}if(Xe(e)){var l=i({});return e.forEach((function(e,i){return l[i]=fn(e,t,n)})),l}if(R(e))return fn(e.get(),t,n)}return e}hn.struct=pn,hn.equals=dn;var gn={allowStateChanges:function(e,t){var n,i=G(e);try{n=t()}finally{$(i)}return n},deepEqual:ie,getAtom:Pt,getDebugName:_t,getDependencyTree:Mt,getAdministration:At,getGlobalState:function(){return xt},getObserverTree:function(e,t){return kt(Pt(e,t))},interceptReads:function(e,t,n){var i;if(Xe(e)||N(e)||R(e))i=At(e);else{if(!Ee(e))return Ze("Expected observable map, object or array as first array");if("string"!=typeof t)return Ze("InterceptReads can only be used with a specific property, not with an object in general");i=At(e,t)}return void 0!==i.dehancer?Ze("An intercept reader was already established"):(i.dehancer="function"==typeof t?t:n,function(){i.dehancer=void 0})},isComputingDerivation:qt,isSpyEnabled:m,onReactionError:function(e){return xt.globalReactionErrorHandlers.push(e),function(){var t=xt.globalReactionErrorHandlers.indexOf(e);t>=0&&xt.globalReactionErrorHandlers.splice(t,1)}},reserveArrayBuffer:k,resetGlobalState:function(){xt.resetId++;var e=new Ct;for(var t in e)-1===St.indexOf(t)&&(xt[t]=e[t]);xt.allowStateChanges=!xt.strictMode},isolateGlobalState:function(){wt=!0,Je().__mobxInstanceCount--},shareGlobalState:function(){nt("Using `shareGlobalState` is not recommended, use peer dependencies instead. See https://github.com/mobxjs/mobx/issues/1082 for details."),It=!0;var e=Je(),t=xt;if(e.__mobservableTrackingStack||e.__mobservableViewStack)throw new Error("[mobx] An incompatible version of mobservable is already loaded.");if(e.__mobxGlobal&&e.__mobxGlobal.version!==t.version)throw new Error("[mobx] An incompatible version of mobx is already loaded.");e.__mobxGlobal?xt=e.__mobxGlobal:e.__mobxGlobal=t},spyReport:f,spyReportEnd:b,spyReportStart:g,setReactionScheduler:function(e){var t=an;an=function(n){return e((function(){return t(n)}))}}},vn={Reaction:rn,untracked:Jt,Atom:a,BaseAtom:o,useStrict:V,isStrictModeEnabled:function(){return xt.strictMode},spy:y,comparer:ce,asReference:function(e){return nt("asReference is deprecated, use observable.ref instead"),Re.ref(e)},asFlat:function(e){return nt("asFlat is deprecated, use observable.shallow instead"),Re.shallow(e)},asStructure:function(e){return nt("asStructure is deprecated. Use observable.struct, computed.struct or reaction options instead."),Re.struct(e)},asMap:function(e){return nt("asMap is deprecated, use observable.map or observable.shallowMap instead"),Re.map(e||{})},isModifierDescriptor:Be,isObservableObject:Ee,isBoxedObservable:R,isObservableArray:N,ObservableMap:Ke,isObservableMap:Xe,map:function(e){return nt("`mobx.map` is deprecated, use `new ObservableMap` or `mobx.observable.map` instead"),Re.map(e)},transaction:We,observable:Re,computed:hn,isObservable:Te,isComputed:function(e,t){if(null==e)return!1;if(void 0!==t){if(!1===Ee(e))return!1;if(!e.$mobx.values[t])return!1;var n=Pt(e,t);return me(n)}return me(e)},extendObservable:Ae,extendShallowObservable:_e,observe:mn,intercept:function(e,t,n){return"function"==typeof n?function(e,t,n){return At(e,t).intercept(n)}(e,t,n):function(e,t){return At(e).intercept(t)}(e,t)},autorun:le,autorunAsync:ue,when:de,reaction:pe,action:J,isAction:ee,runInAction:Z,expr:function(e,t){return qt()||console.warn(B("m013")),hn(e,{context:t}).get()},toJS:fn,createTransformer:function(e,t){et("function"==typeof e&&e.length<2,"createTransformer expects a function that accepts one argument");var n={},i=xt.resetId,o=function(i){function o(t,n){var r=i.call(this,(function(){return e(n)}),void 0,ce.default,"Transformer-"+e.name+"-"+t,void 0)||this;return r.sourceIdentifier=t,r.sourceObject=n,r}return r(o,i),o.prototype.onBecomeUnobserved=function(){var e=this.value;i.prototype.onBecomeUnobserved.call(this),delete n[this.sourceIdentifier],t&&t(e,this.sourceObject)},o}(he);return function(e){i!==xt.resetId&&(n={},i=xt.resetId);var t=function(e){if("string"==typeof e||"number"==typeof e)return e;if(null===e||"object"!=typeof e)throw new Error("[mobx] transform expected some kind of object or primitive value, got: "+e);var t=e.$transformId;return void 0===t&&pt(e,"$transformId",t=Qe()),t}(e),r=n[t];return r?r.get():(r=n[t]=new o(t,e)).get()}},whyRun:function(e,t){return nt("`whyRun` is deprecated in favor of `trace`"),(e=nn(arguments))?me(e)||ln(e)?tn(e.whyRun()):Ze(B("m025")):tn(B("m024"))},isArrayLike:function(e){return Array.isArray(e)||N(e)},extras:gn},bn=!1,yn=function(e){var t=vn[e];Object.defineProperty(vn,e,{get:function(){return bn||(bn=!0,console.warn("Using default export (`import mobx from 'mobx'`) is deprecated and won’t work in [email protected]\nUse `import * as mobx from 'mobx'` instead")),t}})};for(var Sn in vn)yn(Sn);"object"==typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__&&__MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({spy:y,extras:gn})},13811:(e,t,n)=>{"use strict";n.d(t,{Fy:()=>f,bB:()=>v,o6:()=>g});var i=n(57826),r=n(51103),o=n(6856);function a(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"li",7),i["ɵɵlistener"]("click",(function(){const t=i["ɵɵrestoreView"](e).index;return i["ɵɵnextContext"](2).selectSlide(t)})),i["ɵɵtext"](1,"\n    "),i["ɵɵelementEnd"]()}if(2&e){const e=t.$implicit;i["ɵɵclassProp"]("active",!0===e.active)}}function s(e,t){if(1&e&&(i["ɵɵelementStart"](0,"ol",5),i["ɵɵtext"](1,"\n    "),i["ɵɵtemplate"](2,a,2,2,"li",6),i["ɵɵtext"](3,"\n  "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",e.indicatorsSlides())}}function c(e,t){1&e&&(i["ɵɵelementStart"](0,"span",11),i["ɵɵtext"](1,"Previous"),i["ɵɵelementEnd"]())}function l(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"a",8),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().previousSlide()})),i["ɵɵtext"](1,"\n    "),i["ɵɵelement"](2,"span",9),i["ɵɵtext"](3,"\n    "),i["ɵɵtemplate"](4,c,2,0,"span",10),i["ɵɵtext"](5,"\n  "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵclassProp"]("disabled",0===e.activeSlide&&e.noWrap),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngIf",e.isBs4)}}function d(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"a",12),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().nextSlide()})),i["ɵɵtext"](1,"\n    "),i["ɵɵelement"](2,"span",13),i["ɵɵtext"](3,"\n    "),i["ɵɵelementStart"](4,"span",11),i["ɵɵtext"](5,"Next"),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n  "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵclassProp"]("disabled",e.isLast(e.activeSlide)&&e.noWrap)}}const u=function(e){return{display:e}},p=["*"];let h=(()=>{class e{constructor(){this.interval=5e3,this.noPause=!1,this.noWrap=!1,this.showIndicators=!0,this.pauseOnFocus=!1,this.indicatorsByChunk=!1,this.itemsPerSlide=1,this.singleSlideOffset=!1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=(0,i["ɵɵdefineInjectable"])({factory:function(){return new e},token:e,providedIn:"root"}),e})();"undefined"==typeof ngDevMode||ngDevMode;const m={UNKNOWN:0,NEXT:1,PREV:2};m[m.UNKNOWN]="UNKNOWN",m[m.NEXT]="NEXT",m[m.PREV]="PREV";let f=(()=>{class e{constructor(e,t){this.ngZone=t,this.indicatorsByChunk=!1,this.itemsPerSlide=1,this.singleSlideOffset=!1,this.isAnimated=!1,this.activeSlideChange=new i.EventEmitter(!1),this.slideRangeChange=new i.EventEmitter,this.startFromIndex=0,this._slides=new r.Su,this._currentVisibleSlidesIndex=0,this.destroyed=!1,this.getActive=e=>e.active,this.makeSlidesConsistent=e=>{e.forEach(((e,t)=>e.item.order=t))},Object.assign(this,e)}set activeSlide(e){this.multilist||this._slides.length&&e!==this._currentActiveSlide&&this._select(e)}get activeSlide(){return this._currentActiveSlide}get interval(){return this._interval}set interval(e){this._interval=e,this.restartTimer()}get slides(){return this._slides.toArray()}get isBs4(){return!(0,r.XA)()}ngAfterViewInit(){setTimeout((()=>{this.singleSlideOffset&&(this.indicatorsByChunk=!1),this.multilist&&(this._chunkedSlides=function(e,t){const n=[],i=Math.ceil(e.length/t);let r=0;for(;r<i;){const o=e.splice(0,r===i-1&&t<e.length?e.length:t);n.push(o),r++}return n}(this.mapSlidesAndIndexes(),this.itemsPerSlide),this.selectInitialSlides())}),0)}ngOnDestroy(){this.destroyed=!0}addSlide(e){this._slides.add(e),this.multilist&&this._slides.length<=this.itemsPerSlide&&(e.active=!0),!this.multilist&&this.isAnimated&&(e.isAnimated=!0),this.multilist||1!==this._slides.length||(this._currentActiveSlide=void 0,this.activeSlide=0,this.play()),this.multilist&&this._slides.length>this.itemsPerSlide&&this.play()}removeSlide(e){const t=this._slides.indexOf(e);if(this._currentActiveSlide===t){let e;this._slides.length>1&&(e=this.isLast(t)?this.noWrap?t-1:0:t),this._slides.remove(t),setTimeout((()=>{this._select(e)}),0)}else{this._slides.remove(t);const e=this.getCurrentSlideIndex();setTimeout((()=>{this._currentActiveSlide=e,this.activeSlideChange.emit(this._currentActiveSlide)}),0)}}nextSlideFromInterval(e=!1){this.move(m.NEXT,e)}nextSlide(e=!1){this.isPlaying&&this.restartTimer(),this.move(m.NEXT,e)}previousSlide(e=!1){this.isPlaying&&this.restartTimer(),this.move(m.PREV,e)}getFirstVisibleIndex(){return this.slides.findIndex(this.getActive)}getLastVisibleIndex(){return function(e,t){let n=e.length;for(;n--;)if(t(e[n],n,e))return n;return-1}(this.slides,this.getActive)}move(e,t=!1){const n=this.getFirstVisibleIndex(),i=this.getLastVisibleIndex();this.noWrap&&(e===m.NEXT&&this.isLast(i)||e===m.PREV&&0===n)||(this.multilist?this.moveMultilist(e):this.activeSlide=this.findNextSlideIndex(e,t))}keydownPress(e){if(13===e.keyCode||"Enter"===e.key||32===e.keyCode||"Space"===e.key)return this.nextSlide(),void e.preventDefault();37!==e.keyCode&&"LeftArrow"!==e.key?39!==e.keyCode&&"RightArrow"!==e.key||this.nextSlide():this.previousSlide()}onMouseLeave(){this.pauseOnFocus||this.play()}onMouseUp(){this.pauseOnFocus||this.play()}pauseFocusIn(){this.pauseOnFocus&&(this.isPlaying=!1,this.resetTimer())}pauseFocusOut(){this.play()}selectSlide(e){this.isPlaying&&this.restartTimer(),this.multilist?this.selectSlideRange(this.indicatorsByChunk?e*this.itemsPerSlide:e):this.activeSlide=this.indicatorsByChunk?e*this.itemsPerSlide:e}play(){this.isPlaying||(this.isPlaying=!0,this.restartTimer())}pause(){this.noPause||(this.isPlaying=!1,this.resetTimer())}getCurrentSlideIndex(){return this._slides.findIndex(this.getActive)}isLast(e){return e+1>=this._slides.length}isFirst(e){return 0===e}indicatorsSlides(){return this.slides.filter(((e,t)=>!this.indicatorsByChunk||t%this.itemsPerSlide==0))}selectInitialSlides(){const e=this.startFromIndex<=this._slides.length?this.startFromIndex:0;if(this.hideSlides(),this.singleSlideOffset){if(this._slidesWithIndexes=this.mapSlidesAndIndexes(),this._slides.length-e<this.itemsPerSlide){const t=this._slidesWithIndexes.slice(0,e);this._slidesWithIndexes=[...this._slidesWithIndexes,...t].slice(t.length).slice(0,this.itemsPerSlide)}else this._slidesWithIndexes=this._slidesWithIndexes.slice(e,e+this.itemsPerSlide);this._slidesWithIndexes.forEach((e=>e.item.active=!0)),this.makeSlidesConsistent(this._slidesWithIndexes)}else this.selectRangeByNestedIndex(e);this.slideRangeChange.emit(this.getVisibleIndexes())}findNextSlideIndex(e,t){let n=0;if(t||!this.isLast(this.activeSlide)||e===m.PREV||!this.noWrap){switch(e){case m.NEXT:n=this.isLast(this._currentActiveSlide)?!t&&this.noWrap?this._currentActiveSlide:0:this._currentActiveSlide+1;break;case m.PREV:n=this._currentActiveSlide>0?this._currentActiveSlide-1:!t&&this.noWrap?this._currentActiveSlide:this._slides.length-1;break;default:throw new Error("Unknown direction")}return n}}mapSlidesAndIndexes(){return this.slides.slice().map(((e,t)=>({index:t,item:e})))}selectSlideRange(e){if(!this.isIndexInRange(e)){if(this.hideSlides(),this.singleSlideOffset){const t=this.isIndexOnTheEdges(e)?e:e-this.itemsPerSlide+1,n=this.isIndexOnTheEdges(e)?e+this.itemsPerSlide:e+1;this._slidesWithIndexes=this.mapSlidesAndIndexes().slice(t,n),this.makeSlidesConsistent(this._slidesWithIndexes),this._slidesWithIndexes.forEach((e=>e.item.active=!0))}else this.selectRangeByNestedIndex(e);this.slideRangeChange.emit(this.getVisibleIndexes())}}selectRangeByNestedIndex(e){const t=this._chunkedSlides.map(((e,t)=>({index:t,list:e}))).find((t=>void 0!==t.list.find((t=>t.index===e))));this._currentVisibleSlidesIndex=t.index,this._chunkedSlides[t.index].forEach((e=>{e.item.active=!0}))}isIndexOnTheEdges(e){return e+1-this.itemsPerSlide<=0||e+this.itemsPerSlide<=this._slides.length}isIndexInRange(e){return this.singleSlideOffset?this._slidesWithIndexes.map((e=>e.index)).indexOf(e)>=0:e<=this.getLastVisibleIndex()&&e>=this.getFirstVisibleIndex()}hideSlides(){this.slides.forEach((e=>e.active=!1))}isVisibleSlideListLast(){return this._currentVisibleSlidesIndex===this._chunkedSlides.length-1}isVisibleSlideListFirst(){return 0===this._currentVisibleSlidesIndex}moveSliderByOneItem(e){let t,n,i,r;if(this.noWrap){t=this.getFirstVisibleIndex(),n=this.getLastVisibleIndex(),i=e===m.NEXT?t:n,r=e!==m.NEXT?t-1:this.isLast(n)?0:n+1,this._slides.get(i).active=!1,this._slides.get(r).active=!0;const o=this.mapSlidesAndIndexes().filter((e=>e.item.active));this.makeSlidesConsistent(o),this.slideRangeChange.emit(this.getVisibleIndexes())}else{let i;t=this._slidesWithIndexes[0].index,n=this._slidesWithIndexes[this._slidesWithIndexes.length-1].index,e===m.NEXT?(this._slidesWithIndexes.shift(),i=this.isLast(n)?0:n+1,this._slidesWithIndexes.push({index:i,item:this._slides.get(i)})):(this._slidesWithIndexes.pop(),i=this.isFirst(t)?this._slides.length-1:t-1,this._slidesWithIndexes=[{index:i,item:this._slides.get(i)},...this._slidesWithIndexes]),this.hideSlides(),this._slidesWithIndexes.forEach((e=>e.item.active=!0)),this.makeSlidesConsistent(this._slidesWithIndexes),this.slideRangeChange.emit(this._slidesWithIndexes.map((e=>e.index)))}}moveMultilist(e){this.singleSlideOffset?this.moveSliderByOneItem(e):(this.hideSlides(),this.noWrap?this._currentVisibleSlidesIndex=e===m.NEXT?this._currentVisibleSlidesIndex+1:this._currentVisibleSlidesIndex-1:e===m.NEXT?this._currentVisibleSlidesIndex=this.isVisibleSlideListLast()?0:this._currentVisibleSlidesIndex+1:this._currentVisibleSlidesIndex=this.isVisibleSlideListFirst()?this._chunkedSlides.length-1:this._currentVisibleSlidesIndex-1,this._chunkedSlides[this._currentVisibleSlidesIndex].forEach((e=>e.item.active=!0)),this.slideRangeChange.emit(this.getVisibleIndexes()))}getVisibleIndexes(){return this.singleSlideOffset?this._slidesWithIndexes.map((e=>e.index)):this._chunkedSlides[this._currentVisibleSlidesIndex].map((e=>e.index))}_select(e){if(isNaN(e))return void this.pause();if(!this.multilist){const e=this._slides.get(this._currentActiveSlide);e&&(e.active=!1)}const t=this._slides.get(e);t&&(this._currentActiveSlide=e,t.active=!0,this.activeSlide=e,this.activeSlideChange.emit(e))}restartTimer(){this.resetTimer();const e=+this.interval;!isNaN(e)&&e>0&&(this.currentInterval=this.ngZone.runOutsideAngular((()=>setInterval((()=>{const e=+this.interval;this.ngZone.run((()=>{this.isPlaying&&!isNaN(this.interval)&&e>0&&this.slides.length?this.nextSlideFromInterval():this.pause()}))}),e))))}get multilist(){return this.itemsPerSlide>1}resetTimer(){this.currentInterval&&(clearInterval(this.currentInterval),this.currentInterval=void 0)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](h),i["ɵɵdirectiveInject"](i.NgZone))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["carousel"]],inputs:{indicatorsByChunk:"indicatorsByChunk",itemsPerSlide:"itemsPerSlide",singleSlideOffset:"singleSlideOffset",isAnimated:"isAnimated",startFromIndex:"startFromIndex",activeSlide:"activeSlide",interval:"interval",noWrap:"noWrap",noPause:"noPause",showIndicators:"showIndicators",pauseOnFocus:"pauseOnFocus"},outputs:{activeSlideChange:"activeSlideChange",slideRangeChange:"slideRangeChange"},ngContentSelectors:p,decls:14,vars:6,consts:[["tabindex","0",1,"carousel","slide",3,"mouseenter","mouseleave","mouseup","keydown","focusin","focusout"],["class","carousel-indicators",4,"ngIf"],[1,"carousel-inner",3,"ngStyle"],["class","left carousel-control carousel-control-prev","tabindex","0","role","button",3,"disabled","click",4,"ngIf"],["class","right carousel-control carousel-control-next","tabindex","0","role","button",3,"disabled","click",4,"ngIf"],[1,"carousel-indicators"],[3,"active","click",4,"ngFor","ngForOf"],[3,"click"],["tabindex","0","role","button",1,"left","carousel-control","carousel-control-prev",3,"click"],["aria-hidden","true",1,"icon-prev","carousel-control-prev-icon"],["class","sr-only",4,"ngIf"],[1,"sr-only"],["tabindex","0","role","button",1,"right","carousel-control","carousel-control-next",3,"click"],["aria-hidden","true",1,"icon-next","carousel-control-next-icon"]],template:function(e,t){1&e&&(i["ɵɵprojectionDef"](),i["ɵɵelementStart"](0,"div",0),i["ɵɵlistener"]("mouseenter",(function(){return t.pause()}))("mouseleave",(function(){return t.onMouseLeave()}))("mouseup",(function(){return t.onMouseUp()}))("keydown",(function(e){return t.keydownPress(e)}))("focusin",(function(){return t.pauseFocusIn()}))("focusout",(function(){return t.pauseFocusOut()})),i["ɵɵtext"](1,"\n  "),i["ɵɵtemplate"](2,s,4,1,"ol",1),i["ɵɵtext"](3,"\n  "),i["ɵɵelementStart"](4,"div",2),i["ɵɵtext"](5,"\n    "),i["ɵɵprojection"](6),i["ɵɵtext"](7,"\n  "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n  "),i["ɵɵtemplate"](9,l,6,3,"a",3),i["ɵɵtext"](10,"\n  "),i["ɵɵtemplate"](11,d,7,2,"a",4),i["ɵɵtext"](12,"\n"),i["ɵɵelementEnd"](),i["ɵɵtext"](13,"\n")),2&e&&(i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.showIndicators&&t.slides.length>1),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngStyle",i["ɵɵpureFunction1"](4,u,t.multilist?"flex":"block")),i["ɵɵadvance"](5),i["ɵɵproperty"]("ngIf",t.slides.length>1),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.slides.length>1))},directives:[o.NgIf,o.NgStyle,o.NgForOf],encapsulation:2}),e})();"undefined"==typeof ngDevMode||ngDevMode;let g=(()=>{class e{constructor(e){this.itemWidth="100%",this.order=0,this.addClass=!0,this.carousel=e}ngOnInit(){this.carousel.addSlide(this),this.itemWidth=100/this.carousel.itemsPerSlide+"%"}ngOnDestroy(){this.carousel.removeSlide(this)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](f))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["slide"]],hostVars:13,hostBindings:function(e,t){2&e&&(i["ɵɵattribute"]("aria-hidden",!t.active),i["ɵɵstyleProp"]("width",t.itemWidth)("order",t.order),i["ɵɵclassProp"]("item",t.addClass)("carousel-item",t.addClass)("active",t.active)("carousel-animation",t.isAnimated))},inputs:{active:"active"},ngContentSelectors:p,decls:6,vars:2,consts:[[1,"item"]],template:function(e,t){1&e&&(i["ɵɵprojectionDef"](),i["ɵɵtext"](0,"\n    "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n      "),i["ɵɵprojection"](3),i["ɵɵtext"](4,"\n    "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n  ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵclassProp"]("active",t.active))},styles:[".carousel-animation[_nghost-%COMP%] {\n       transition: opacity 0.6s ease, visibility 0.6s ease;\n       float: left;\n    }\n    .carousel-animation.active[_nghost-%COMP%] {\n      opacity: 1;\n      visibility: visible;\n    }\n    .carousel-animation[_nghost-%COMP%]:not(.active) {\n      display: block;\n      position: absolute;\n      opacity: 0;\n      visibility: hidden;\n    }"]}),e})();"undefined"==typeof ngDevMode||ngDevMode;let v=(()=>{class e{static forRoot(){return{ngModule:e,providers:[]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[o.CommonModule]]}),e})();"undefined"==typeof ngDevMode||ngDevMode,("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](v,{declarations:function(){return[g,f]},imports:function(){return[o.CommonModule]},exports:function(){return[g,f]}})},51103:(e,t,n)=>{"use strict";n.d(t,{AL:()=>a,C:()=>l,GU:()=>m,O4:()=>v,Rg:()=>c,Su:()=>h,XA:()=>p,wo:()=>s});var i=n(57826);class r{constructor(e,t){this.open=e,this.close=t||e}isManual(){return"manual"===this.open||"manual"===this.close}}const o={hover:["mouseover","mouseout"],focus:["focusin","focusout"]};function a(e,t=o){const n=(e||"").trim();if(0===n.length)return[];const i=n.split(/\s+/).map((e=>e.split(":"))).map((e=>{const n=t[e[0]]||e;return new r(n[0],n[1])})),a=i.filter((e=>e.isManual()));if(a.length>1)throw new Error("Triggers parse error: only one manual trigger is allowed");if(1===a.length&&i.length>1)throw new Error("Triggers parse error: manual trigger can't be mixed with other triggers");return i}function s(e,t){const n=a(t.triggers),i=t.target;if(1===n.length&&n[0].isManual())return Function.prototype;const r=[],o=[],s=()=>{o.forEach((e=>r.push(e()))),o.length=0};return n.forEach((n=>{const a=n.open===n.close,c=a?t.toggle:t.show;a||o.push((()=>e.listen(i,n.close,t.hide))),r.push(e.listen(i,n.open,(()=>c(s))))})),()=>{r.forEach((e=>e()))}}function c(e,t){return t.outsideClick?e.listen("document","click",(e=>{t.target&&t.target.contains(e.target)||t.targets&&t.targets.some((t=>t.contains(e.target)))||t.hide()})):Function.prototype}function l(e,t){return t.outsideEsc?e.listen("document","keyup.esc",(e=>{t.target&&t.target.contains(e.target)||t.targets&&t.targets.some((t=>t.contains(e.target)))||t.hide()})):Function.prototype}const d="undefined"!=typeof window&&window||{};let u;function p(){return void 0===d||(void 0===d.__theme?(u||(u=function(){if("undefined"==typeof document)return null;const e=document.createElement("span");e.innerText="test bs version",document.body.appendChild(e),e.classList.add("d-none");const t=e.getBoundingClientRect();return document.body.removeChild(e),t&&0===t.top?"bs4":"bs3"}()),"bs3"===u):"bs4"!==d.__theme)}d.document,d.location,d.gc,d.performance&&d.performance,d.Event,d.MouseEvent,d.KeyboardEvent,d.EventTarget,d.History,d.Location,d.EventListener;class h{constructor(){this.length=0,this.asArray=[]}get(e){if(0===this.length||e<0||e>=this.length)return;let t=this.head;for(let n=0;n<e;n++)t=t.next;return t.value}add(e,t=this.length){if(t<0||t>this.length)throw new Error("Position is out of the list");const n={value:e,next:void 0,previous:void 0};if(0===this.length)this.head=n,this.tail=n,this.current=n;else if(0===t)n.next=this.head,this.head.previous=n,this.head=n;else if(t===this.length)this.tail.next=n,n.previous=this.tail,this.tail=n;else{const e=this.getNode(t-1),i=e.next;e.next=n,i.previous=n,n.previous=e,n.next=i}this.length++,this.createInternalArrayRepresentation()}remove(e=0){if(0===this.length||e<0||e>=this.length)throw new Error("Position is out of the list");if(0===e)this.head=this.head.next,this.head?this.head.previous=void 0:this.tail=void 0;else if(e===this.length-1)this.tail=this.tail.previous,this.tail.next=void 0;else{const t=this.getNode(e);t.next.previous=t.previous,t.previous.next=t.next}this.length--,this.createInternalArrayRepresentation()}set(e,t){if(0===this.length||e<0||e>=this.length)throw new Error("Position is out of the list");this.getNode(e).value=t,this.createInternalArrayRepresentation()}toArray(){return this.asArray}findAll(e){let t=this.head;const n=[];for(let i=0;i<this.length;i++)e(t.value,i)&&n.push({index:i,value:t.value}),t=t.next;return n}push(...e){return e.forEach((e=>{this.add(e)})),this.length}pop(){if(0===this.length)return;const e=this.tail;return this.remove(this.length-1),e.value}unshift(...e){return e.reverse(),e.forEach((e=>{this.add(e,0)})),this.length}shift(){if(0===this.length)return;const e=this.head.value;return this.remove(),e}forEach(e){let t=this.head;for(let n=0;n<this.length;n++)e(t.value,n),t=t.next}indexOf(e){let t=this.head,n=0;for(let i=0;i<this.length;i++){if(t.value===e){n=i;break}t=t.next}return n}some(e){let t=this.head,n=!1;for(;t&&!n;){if(e(t.value)){n=!0;break}t=t.next}return n}every(e){let t=this.head,n=!0;for(;t&&n;)e(t.value)||(n=!1),t=t.next;return n}toString(){return"[Linked List]"}find(e){let t,n=this.head;for(let i=0;i<this.length;i++){if(e(n.value,i)){t=n.value;break}n=n.next}return t}findIndex(e){let t,n=this.head;for(let i=0;i<this.length;i++){if(e(n.value,i)){t=i;break}n=n.next}return t}getNode(e){if(0===this.length||e<0||e>=this.length)throw new Error("Position is out of the list");let t=this.head;for(let n=0;n<e;n++)t=t.next;return t}createInternalArrayRepresentation(){const e=[];let t=this.head;for(;t;)e.push(t.value),t=t.next;this.asArray=e}}function m(e){const t="Change";return function(e,n){const i=` __${n}Value`;Object.defineProperty(e,n,{get(){return this[i]},set(e){const r=this[i];this[i]=e,r!==e&&this[n+t]&&this[n+t].emit(e)}})}}const f={},g="undefined"==typeof console||!("warn"in console);function v(e){!(0,i.isDevMode)()||g||e in f||(f[e]=!0,console.warn(e))}},47361:(e,t,n)=>{"use strict";function i(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function r(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))}n.d(t,{m7:()=>ue,zP:()=>le,vO:()=>me});var o=n(57826),a=n(40475),s=n(6856);function c(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}var l=n(76547);function d(e,t){1&e&&(o["ɵɵelementStart"](0,"span",3),o["ɵɵtext"](1,"\n        "),o["ɵɵnamespaceSVG"](),o["ɵɵelementStart"](2,"svg",4),o["ɵɵelement"](3,"path",5),o["ɵɵelement"](4,"g"),o["ɵɵelement"](5,"g"),o["ɵɵelement"](6,"g"),o["ɵɵelement"](7,"g"),o["ɵɵelement"](8,"g"),o["ɵɵelement"](9,"g"),o["ɵɵelementEnd"](),o["ɵɵtext"](10,"\n    "),o["ɵɵelementEnd"]())}const u=["*"];function p(e,t){if(1&e){const e=o["ɵɵgetCurrentView"]();o["ɵɵelementStart"](0,"div",2),o["ɵɵlistener"]("click",(function(){return o["ɵɵrestoreView"](e),o["ɵɵnextContext"]().hide()})),o["ɵɵelementEnd"]()}}const h=[[["ng2-dropdown-button"]],[["ng2-dropdown-menu"]]],m=["ng2-dropdown-button","ng2-dropdown-menu"];let f=(()=>{let e=class{constructor(e){this.element=e,this.onMenuToggled=new o.EventEmitter,this.showCaret=!0}toggleMenu(){this.onMenuToggled.emit(!0)}getPosition(){return this.element.nativeElement.getBoundingClientRect()}};return e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](o.ElementRef))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["ng2-dropdown-button"]],inputs:{showCaret:"showCaret"},outputs:{onMenuToggled:"onMenuToggled"},ngContentSelectors:u,decls:10,vars:1,consts:[["type","button","tabindex","0s",1,"ng2-dropdown-button",3,"click"],[1,"ng2-dropdown-button__label"],["class","ng2-dropdown-button__caret",4,"ngIf"],[1,"ng2-dropdown-button__caret"],["enable-background","new 0 0 32 32","height","16px","id","Слой_1","version","1.1","viewBox","0 0 32 32","width","16px",0,"xml","space","preserve","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink"],["d","M24.285,11.284L16,19.571l-8.285-8.288c-0.395-0.395-1.034-0.395-1.429,0  c-0.394,0.395-0.394,1.035,0,1.43l8.999,9.002l0,0l0,0c0.394,0.395,1.034,0.395,1.428,0l8.999-9.002  c0.394-0.395,0.394-1.036,0-1.431C25.319,10.889,24.679,10.889,24.285,11.284z","fill","#121313","id","Expand_More"]],template:function(e,t){1&e&&(o["ɵɵprojectionDef"](),o["ɵɵelementStart"](0,"button",0),o["ɵɵlistener"]("click",(function(){return t.toggleMenu()})),o["ɵɵtext"](1,"\n    "),o["ɵɵelementStart"](2,"span",1),o["ɵɵtext"](3,"\n        "),o["ɵɵprojection"](4),o["ɵɵtext"](5,"\n    "),o["ɵɵelementEnd"](),o["ɵɵtext"](6,"\n\n    "),o["ɵɵtemplate"](7,d,11,0,"span",2),o["ɵɵtext"](8,"\n"),o["ɵɵelementEnd"](),o["ɵɵtext"](9,"\n")),2&e&&(o["ɵɵadvance"](7),o["ɵɵproperty"]("ngIf",t.showCaret))},directives:[s.NgIf],styles:['.ng2-dropdown-button[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",Helvetica,Arial;background:#fff;padding:.45rem .25rem;font-size:14px;letter-spacing:.08rem;color:#444;outline:0;cursor:pointer;font-weight:400;border:none;border-bottom:1px solid #efefef;text-align:left;min-width:100px;width:100%;display:flex;flex-direction:row;max-width:150px}.ng2-dropdown-button[_ngcontent-%COMP%]:hover{color:#222}.ng2-dropdown-button[_ngcontent-%COMP%]:active, .ng2-dropdown-button[_ngcontent-%COMP%]:focus{color:#222;border-bottom:2px solid #2196f3}.ng2-dropdown-button__label[_ngcontent-%COMP%]{flex:1 1 95%}.ng2-dropdown-button__caret[_ngcontent-%COMP%]{width:12px;height:12px;display:flex;flex:1 1 6%}.ng2-dropdown-button--icon[_nghost-%COMP%]   .ng2-dropdown-button[_ngcontent-%COMP%], .ng2-dropdown-button--icon   [_nghost-%COMP%]   .ng2-dropdown-button[_ngcontent-%COMP%]{border:none;min-width:40px;width:40px;border-radius:100%;transition:.2s;text-align:center;height:40px;padding:.5em}.ng2-dropdown-button--icon[_nghost-%COMP%]   .ng2-dropdown-button[_ngcontent-%COMP%]:active, .ng2-dropdown-button--icon   [_nghost-%COMP%]   .ng2-dropdown-button[_ngcontent-%COMP%]:active{background:rgba(0,0,0,.2)}']}),c([(0,o.Output)()],e.prototype,"onMenuToggled",void 0),c([(0,o.Input)()],e.prototype,"showCaret",void 0),e})();const g={9:(e,t,n)=>{e<t.length-1?n.select(t[e+1],!0):n.select(t[0],!0)},38:(e,t,n)=>{e>0&&n.select(t[e-1],!0)},40:(e,t,n)=>{e<t.length-1&&n.select(t[e+1],!0)},13:(e,t,n)=>n.selectedItem?n.selectedItem.click():void 0,27:function(){this.hide()}};function v(e){[38,40].indexOf(e.keyCode)>-1&&e.preventDefault()}class b{constructor(){this.onItemSelected=new o.EventEmitter,this.onItemClicked=new o.EventEmitter,this.onItemDestroyed=new o.EventEmitter}get selectedItem(){return this._selectedItem}select(e,t=!0){this._selectedItem=e,t&&e&&(e.focus(),this.onItemSelected.emit(e))}unselect(){this._selectedItem=void 0}}let y=(()=>{let e=class{constructor(){this.menuState={isVisible:!1,toString(){return!0===this.isVisible?"visible":"hidden"}},this.dropdownState=new b}};return e.ɵfac=function(t){return new(t||e)},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:function(t){return e.ɵfac(t)}}),e})(),S=(()=>{let e=class{constructor(e,t){this.state=e,this.element=t,this.preventClose=!1}ngOnDestroy(){this.state.dropdownState.onItemDestroyed.emit(this)}get isSelected(){return this===this.state.dropdownState.selectedItem}select(e){this.state.dropdownState.select(this,!0),e&&(e.stopPropagation(),e.preventDefault())}click(){this.state.dropdownState.onItemClicked.emit(this)}focus(){this.element.nativeElement.children[0].focus()}};return e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](y),o["ɵɵdirectiveInject"](o.ElementRef))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["ng2-menu-item"]],inputs:{preventClose:"preventClose",value:"value"},ngContentSelectors:u,decls:6,vars:2,consts:[["role","button","tabindex","0",1,"ng2-menu-item",3,"keydown.enter","click","mouseover"]],template:function(e,t){1&e&&(o["ɵɵprojectionDef"](),o["ɵɵtext"](0,"\n        "),o["ɵɵelementStart"](1,"div",0),o["ɵɵlistener"]("keydown.enter",(function(){return t.click()}))("click",(function(){return t.click()}))("mouseover",(function(){return t.select()})),o["ɵɵtext"](2,"\n            "),o["ɵɵprojection"](3),o["ɵɵtext"](4,"\n        "),o["ɵɵelementEnd"](),o["ɵɵtext"](5,"\n    ")),2&e&&(o["ɵɵadvance"](1),o["ɵɵclassProp"]("ng2-menu-item--selected",t.isSelected))},styles:['.ng2-menu-item[_ngcontent-%COMP%]{font-family:Roboto,"Helvetica Neue",Helvetica,Arial;background:#fff;color:rgba(0,0,0,.87);cursor:pointer;font-size:.9em;text-transform:none;font-weight:400;letter-spacing:.03em;height:48px;line-height:48px;padding:.3em 1.25rem;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;transition:background .25s}.ng2-menu-item--selected[_ngcontent-%COMP%]{background:rgba(158,158,158,.2);outline:0}.ng2-menu-item[_ngcontent-%COMP%]:focus{outline:0}.ng2-menu-item[_ngcontent-%COMP%]:active{background:rgba(158,158,158,.4)}ng2-menu-item[_nghost-%COMP%]     [ng2-menu-item-icon]{vertical-align:middle;font-size:28px;width:1.5em;height:30px;color:rgba(0,0,0,.44)}']}),c([(0,o.Input)()],e.prototype,"preventClose",void 0),c([(0,o.Input)()],e.prototype,"value",void 0),e})(),C=(()=>{let e=class{constructor(e,t,n){this.dropdownState=e,this.element=t,this.renderer=n,this.width=4,this.focusFirstElement=!0,this.appendToBody=!0,this.zIndex=1e3,this.listeners={arrowHandler:void 0,handleKeypress:void 0}}show(e,t=!0){const n="undefined"!=typeof document?document:void 0,i="undefined"!=typeof window?window:void 0;this.dropdownState.menuState.isVisible||(this.listeners.handleKeypress=this.renderer.listen(n.body,"keydown",this.handleKeypress.bind(this)),this.listeners.arrowHandler=this.renderer.listen(i,"keydown",v)),this.dropdownState.menuState.isVisible=!0,e&&this.updatePosition(e,t)}hide(){this.dropdownState.menuState.isVisible=!1,this.dropdownState.dropdownState.unselect(),this.listeners.arrowHandler&&this.listeners.arrowHandler(),this.listeners.handleKeypress&&this.listeners.handleKeypress()}updatePosition(e,t){this.position=e,this.updateOnChange(t)}handleKeypress(e){const t=e.keyCode,n=this.items.toArray(),i=n.indexOf(this.dropdownState.dropdownState.selectedItem);g.hasOwnProperty(t)&&g[t].call(this,i,n,this.dropdownState.dropdownState)}getMenuElement(){return this.element.nativeElement.children[0]}calcPositionOffset(e){const t="undefined"!=typeof window?window:void 0,n="undefined"!=typeof document?document:void 0;if(!t||!n||!e)return;const i=this.getMenuElement(),r=void 0!==t.pageXOffset,o="CSS1Compat"===(n.compatMode||""),a=r?t.pageXOffset:o?n.documentElement.scrollLeft:n.body.scrollLeft,s=r?t.pageYOffset:o?n.documentElement.scrollTop:n.body.scrollTop;let{top:c,left:l}=this.applyOffset(`${e.top+(this.appendToBody?s-15:0)}px`,e.left+a-5+"px");const d=i.clientWidth,u=i.clientHeight,p=parseInt(c)+u+(this.appendToBody?0:s-15),h=parseInt(l)+d,m=t.innerHeight+t.scrollY,f=t.innerWidth+t.scrollX;if(p>=m&&(c=parseInt(c.replace("px",""))-u+"px"),h>=f){const e=h-f+30;l=parseInt(l.replace("px",""))-e+"px"}return{top:c,left:l}}applyOffset(e,t){if(!this.offset)return{top:e,left:t};const n=this.offset.split(" ");return n[1]||(n[1]="0"),{top:e=`${parseInt(e.replace("px",""))+parseInt(n[0])}px`,left:t=`${parseInt(t.replace("px",""))+parseInt(n[1])}px`}}ngOnInit(){const e="undefined"!=typeof document?document:void 0;this.appendToBody&&e.body.appendChild(this.element.nativeElement)}updateOnChange(e=!0){const t=this.getMenuElement(),n=this.calcPositionOffset(this.position);n&&(this.renderer.setStyle(t,"top",n.top.toString()),this.renderer.setStyle(t,"left",n.left.toString())),this.focusFirstElement&&this.items.first&&!this.dropdownState.dropdownState.selectedItem&&this.dropdownState.dropdownState.select(this.items.first,!1)}ngOnDestroy(){const e=this.element.nativeElement;e.parentNode.removeChild(e),this.listeners.handleKeypress&&this.listeners.handleKeypress()}};return e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](y),o["ɵɵdirectiveInject"](o.ElementRef),o["ɵɵdirectiveInject"](o.Renderer2))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["ng2-dropdown-menu"]],contentQueries:function(e,t,n){if(1&e&&o["ɵɵcontentQuery"](n,S,5),2&e){let e;o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.items=e)}},inputs:{width:"width",focusFirstElement:"focusFirstElement",appendToBody:"appendToBody",zIndex:"zIndex",offset:"offset"},ngContentSelectors:u,decls:13,vars:12,consts:[[1,"ng2-dropdown-menu__options-container"],["class","ng2-dropdown-backdrop",3,"click",4,"ngIf"],[1,"ng2-dropdown-backdrop",3,"click"]],template:function(e,t){1&e&&(o["ɵɵprojectionDef"](),o["ɵɵtext"](0,"\n        "),o["ɵɵtext"](1,"\n        "),o["ɵɵelementStart"](2,"div"),o["ɵɵtext"](3,"\n            "),o["ɵɵelementStart"](4,"div",0),o["ɵɵtext"](5,"\n                "),o["ɵɵprojection"](6),o["ɵɵtext"](7,"\n            "),o["ɵɵelementEnd"](),o["ɵɵtext"](8,"\n        "),o["ɵɵelementEnd"](),o["ɵɵtext"](9,"\n\n        "),o["ɵɵtext"](10,"\n        "),o["ɵɵtemplate"](11,p,1,0,"div",1),o["ɵɵtext"](12,"\n    ")),2&e&&(o["ɵɵadvance"](2),o["ɵɵclassMapInterpolate1"]("ng2-dropdown-menu ng2-dropdown-menu---width--",t.width,""),o["ɵɵstyleProp"]("z-index",t.zIndex),o["ɵɵclassProp"]("ng2-dropdown-menu--inside-element",!t.appendToBody)("ng2-dropdown-menu--open",t.dropdownState.menuState.isVisible),o["ɵɵproperty"]("@fade",t.dropdownState.menuState.toString()),o["ɵɵadvance"](2),o["ɵɵproperty"]("@opacity",t.dropdownState.menuState.toString()),o["ɵɵadvance"](7),o["ɵɵproperty"]("ngIf",t.dropdownState.menuState.isVisible))},directives:[s.NgIf],styles:["[_nghost-%COMP%]{display:block}.ng2-dropdown-menu[_ngcontent-%COMP%]{overflow-y:auto;box-shadow:0 1px 2px 0 rgba(0,0,0,.3);position:absolute;padding:.5em 0;background:#fff;border-radius:1px;max-height:400px;width:260px;min-height:0;display:block}.ng2-dropdown-menu.ng2-dropdown-menu--inside-element[_ngcontent-%COMP%]{position:fixed}.ng2-dropdown-menu.ng2-dropdown-menu--width--2[_ngcontent-%COMP%]{width:200px}.ng2-dropdown-menu.ng2-dropdown-menu--width--4[_ngcontent-%COMP%]{width:260px}.ng2-dropdown-menu.ng2-dropdown-menu--width--6[_ngcontent-%COMP%]{width:320px}.ng2-dropdown-backdrop[_ngcontent-%COMP%]{position:fixed;top:0;left:0;width:100%;height:100%;z-index:1;overflow:hidden}[_nghost-%COMP%]     .ng2-menu-divider{height:1px;min-height:1px;max-height:1px;width:100%;display:block;background:#f9f9f9}"],data:{animation:[(0,l.trigger)("fade",[(0,l.state)("visible",(0,l.style)({opacity:1,height:"*",width:"*"})),(0,l.state)("hidden",(0,l.style)({opacity:0,overflow:"hidden",height:0,width:0})),(0,l.transition)("hidden => visible",[(0,l.animate)("250ms ease-in",(0,l.style)({opacity:1,height:"*",width:"*"}))]),(0,l.transition)("visible => hidden",[(0,l.animate)("350ms ease-out",(0,l.style)({opacity:0,width:0,height:0}))])]),(0,l.trigger)("opacity",[(0,l.transition)("hidden => visible",[(0,l.animate)("450ms ease-in",(0,l.keyframes)([(0,l.style)({opacity:0,offset:0}),(0,l.style)({opacity:1,offset:1})]))]),(0,l.transition)("visible => hidden",[(0,l.animate)("250ms ease-out",(0,l.keyframes)([(0,l.style)({opacity:1,offset:0}),(0,l.style)({opacity:.5,offset:.3}),(0,l.style)({opacity:0,offset:1})]))])])]}}),c([(0,o.Input)()],e.prototype,"width",void 0),c([(0,o.Input)()],e.prototype,"focusFirstElement",void 0),c([(0,o.Input)()],e.prototype,"offset",void 0),c([(0,o.Input)()],e.prototype,"appendToBody",void 0),c([(0,o.Input)()],e.prototype,"zIndex",void 0),c([(0,o.ContentChildren)(S,{descendants:!0})],e.prototype,"items",void 0),e})(),x=(()=>{let e=class{constructor(e){this.state=e,this.dynamicUpdate=!0,this.onItemClicked=new o.EventEmitter,this.onItemSelected=new o.EventEmitter,this.onShow=new o.EventEmitter,this.onHide=new o.EventEmitter}ngOnInit(){this.state.dropdownState.onItemClicked.subscribe((e=>{this.onItemClicked.emit(e),e.preventClose||this.hide.call(this)})),this.button&&this.button.onMenuToggled.subscribe((()=>{this.toggleMenu()})),this.state.dropdownState.onItemSelected.subscribe((e=>{this.onItemSelected.emit(e)})),this.state.dropdownState.onItemDestroyed.subscribe((e=>{let t;const n=this.menu.items.toArray();e===this.state.dropdownState.selectedItem&&(this.menu.focusFirstElement&&(t=e===n[0]&&n.length>1?n[1]:n[0]),this.state.dropdownState.select(t))}))}toggleMenu(e=this.button.getPosition()){this.state.menuState.isVisible?this.hide():this.show(e)}hide(){this.menu.hide(),this.onHide.emit(this)}show(e=this.button.getPosition()){this.menu.show(e,this.dynamicUpdate),this.onShow.emit(this)}scrollListener(){this.button&&this.dynamicUpdate&&this.menu.updatePosition(this.button.getPosition(),!0)}};return e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](y))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["ng2-dropdown"]],contentQueries:function(e,t,n){if(1&e&&(o["ɵɵcontentQuery"](n,f,7),o["ɵɵcontentQuery"](n,C,7)),2&e){let e;o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.button=e.first),o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.menu=e.first)}},hostBindings:function(e,t){1&e&&o["ɵɵlistener"]("scroll",(function(){return t.scrollListener()}),!1,o["ɵɵresolveWindow"])},inputs:{dynamicUpdate:"dynamicUpdate"},outputs:{onItemClicked:"onItemClicked",onItemSelected:"onItemSelected",onShow:"onShow",onHide:"onHide"},features:[o["ɵɵProvidersFeature"]([y])],ngContentSelectors:m,decls:8,vars:0,consts:[[1,"ng2-dropdown-container"]],template:function(e,t){1&e&&(o["ɵɵprojectionDef"](h),o["ɵɵtext"](0,"\n        "),o["ɵɵelementStart"](1,"div",0),o["ɵɵtext"](2,"\n            "),o["ɵɵprojection"](3),o["ɵɵtext"](4,"\n            "),o["ɵɵprojection"](5,1),o["ɵɵtext"](6,"\n        "),o["ɵɵelementEnd"](),o["ɵɵtext"](7,"\n    "))},encapsulation:2}),c([(0,o.ContentChild)(f,{static:!0})],e.prototype,"button",void 0),c([(0,o.ContentChild)(C,{static:!0})],e.prototype,"menu",void 0),c([(0,o.Input)()],e.prototype,"dynamicUpdate",void 0),c([(0,o.Output)()],e.prototype,"onItemClicked",void 0),c([(0,o.Output)()],e.prototype,"onItemSelected",void 0),c([(0,o.Output)()],e.prototype,"onShow",void 0),c([(0,o.Output)()],e.prototype,"onHide",void 0),c([(0,o.HostListener)("window:scroll")],e.prototype,"scrollListener",null),e})(),I=(()=>{let e=class{};return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({imports:[[s.CommonModule]]}),e})();"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,("undefined"==typeof ngJitMode||ngJitMode)&&o["ɵɵsetNgModuleScope"](I,{declarations:function(){return[x,S,f,C]},imports:function(){return[s.CommonModule]},exports:function(){return[S,f,C,x]}});var w=n(42998);const E=["input"];function T(e,t){1&e&&o["ɵɵtext"](0,"\n        ")}const P=function(e,t){return{item:e,index:t}};function A(e,t){if(1&e&&(o["ɵɵelementStart"](0,"div"),o["ɵɵtext"](1,"\n        "),o["ɵɵtext"](2,"\n        "),o["ɵɵtemplate"](3,T,1,0,"ng-template",4),o["ɵɵtext"](4,"\n    "),o["ɵɵelementEnd"]()),2&e){const e=o["ɵɵnextContext"]();o["ɵɵattribute"]("contenteditable",e.editing),o["ɵɵadvance"](3),o["ɵɵproperty"]("ngTemplateOutletContext",o["ɵɵpureFunction2"](3,P,e.model,e.index))("ngTemplateOutlet",e.template)}}function _(e,t){if(1&e){const e=o["ɵɵgetCurrentView"]();o["ɵɵelementStart"](0,"delete-icon",8),o["ɵɵlistener"]("click",(function(t){return o["ɵɵrestoreView"](e),o["ɵɵnextContext"](2).remove(t)})),o["ɵɵtext"](1,"\n        "),o["ɵɵelementEnd"]()}}function M(e,t){if(1&e){const e=o["ɵɵgetCurrentView"]();o["ɵɵelementStart"](0,"div",5),o["ɵɵtext"](1,"\n        "),o["ɵɵtext"](2,"\n        "),o["ɵɵelementStart"](3,"div",6),o["ɵɵlistener"]("keydown.enter",(function(t){return o["ɵɵrestoreView"](e),o["ɵɵnextContext"]().disableEditMode(t)}))("keydown.escape",(function(t){return o["ɵɵrestoreView"](e),o["ɵɵnextContext"]().disableEditMode(t)}))("click",(function(t){return o["ɵɵrestoreView"](e),o["ɵɵnextContext"]().editing?t.stopPropagation():void 0}))("blur",(function(t){return o["ɵɵrestoreView"](e),o["ɵɵnextContext"]().onBlurred(t)})),o["ɵɵtext"](4),o["ɵɵelementEnd"](),o["ɵɵtext"](5,"\n\n        "),o["ɵɵtext"](6,"\n        "),o["ɵɵtemplate"](7,_,2,0,"delete-icon",7),o["ɵɵtext"](8,"\n    "),o["ɵɵelementEnd"]()}if(2&e){const e=o["ɵɵnextContext"]();o["ɵɵadvance"](3),o["ɵɵattribute"]("contenteditable",e.editing)("title",e.getDisplayValue(e.model)),o["ɵɵadvance"](1),o["ɵɵtextInterpolate1"]("\n            ",e.getDisplayValue(e.model),"\n        "),o["ɵɵadvance"](3),o["ɵɵproperty"]("ngIf",e.isDeleteIconVisible())}}function O(e,t){if(1&e&&(o["ɵɵelementStart"](0,"tag-ripple",9),o["ɵɵtext"](1,"\n"),o["ɵɵelementEnd"]()),2&e){const e=o["ɵɵnextContext"]();o["ɵɵproperty"]("state",e.rippleState),o["ɵɵattribute"]("tabindex",-1)}}function k(e,t){if(1&e&&(o["ɵɵelementStart"](0,"span",6),o["ɵɵpipe"](1,"highlight"),o["ɵɵtext"](2,"\n            "),o["ɵɵelementEnd"]()),2&e){const e=o["ɵɵnextContext"]().$implicit,t=o["ɵɵnextContext"]();o["ɵɵproperty"]("innerHTML",o["ɵɵpipeBind2"](1,1,e[t.displayBy],t.tagInput.inputForm.value.value),o["ɵɵsanitizeHtml"])}}function j(e,t){1&e&&o["ɵɵtext"](0,"\n            ")}const N=function(e,t,n){return{item:e,index:t,last:n}};function D(e,t){if(1&e&&o["ɵɵtemplate"](0,j,1,0,"ng-template",7),2&e){const e=o["ɵɵnextContext"](),t=e.$implicit,n=e.index,i=e.last,r=o["ɵɵnextContext"]();o["ɵɵproperty"]("ngTemplateOutlet",r.templates.first)("ngTemplateOutletContext",o["ɵɵpureFunction3"](2,N,t,n,i))}}function L(e,t){if(1&e&&(o["ɵɵelementStart"](0,"ng2-menu-item",3),o["ɵɵtext"](1,"\n\n            "),o["ɵɵtemplate"](2,k,3,4,"span",4),o["ɵɵtext"](3,"\n\n            "),o["ɵɵtemplate"](4,D,1,6,void 0,5),o["ɵɵtext"](5,"\n        "),o["ɵɵelementEnd"]()),2&e){const e=t.$implicit,n=o["ɵɵnextContext"]();o["ɵɵproperty"]("value",e)("ngSwitch",!!n.templates.length),o["ɵɵadvance"](2),o["ɵɵproperty"]("ngSwitchCase",!1)}}function R(e,t){if(1&e){const e=o["ɵɵgetCurrentView"]();o["ɵɵelementStart"](0,"tag",6),o["ɵɵlistener"]("onSelect",(function(){const t=o["ɵɵrestoreView"](e).$implicit;return o["ɵɵnextContext"]().selectItem(t)}))("onRemove",(function(){const t=o["ɵɵrestoreView"](e),n=t.$implicit,i=t.index;return o["ɵɵnextContext"]().onRemoveRequested(n,i)}))("onKeyDown",(function(t){return o["ɵɵrestoreView"](e),o["ɵɵnextContext"]().handleKeydown(t)}))("onTagEdited",(function(t){return o["ɵɵrestoreView"](e),o["ɵɵnextContext"]().updateEditedTag(t)}))("onBlur",(function(t){const n=o["ɵɵrestoreView"](e).index;return o["ɵɵnextContext"]().onTagBlurred(t,n)}))("dragstart",(function(t){const n=o["ɵɵrestoreView"](e),i=n.$implicit,r=n.index,a=o["ɵɵnextContext"]();return a.dragZone?a.onDragStarted(t,i,r):void 0}))("drop",(function(t){const n=o["ɵɵrestoreView"](e).index,i=o["ɵɵnextContext"]();return i.dragZone?i.onTagDropped(t,n):void 0}))("dragenter",(function(t){o["ɵɵrestoreView"](e);const n=o["ɵɵnextContext"]();return n.dragZone?n.onDragOver(t):void 0}))("dragover",(function(t){const n=o["ɵɵrestoreView"](e).index,i=o["ɵɵnextContext"]();return i.dragZone?i.onDragOver(t,n):void 0}))("dragleave",(function(){o["ɵɵrestoreView"](e);const t=o["ɵɵnextContext"]();return t.dragZone?t.dragProvider.onDragEnd():void 0})),o["ɵɵtext"](1,"\n        "),o["ɵɵelementEnd"]()}if(2&e){const e=t.$implicit,n=t.index,i=o["ɵɵnextContext"]();o["ɵɵpropertyInterpolate"]("draggable",i.editable),o["ɵɵproperty"]("canAddTag",i.isTagValid)("disabled",i.disable)("@animation",i.animationMetadata)("hasRipple",i.ripple)("index",n)("removable",i.removable)("editable",i.editable)("displayBy",i.displayBy)("identifyBy",i.identifyBy)("template",i.hasCustomTemplate()?i.templates.first:void 0)("draggable",i.dragZone)("model",e),o["ɵɵattribute"]("tabindex",0)}}function F(e,t){1&e&&o["ɵɵelement"](0,"div",7)}function B(e,t){if(1&e&&(o["ɵɵelementStart"](0,"p",10),o["ɵɵtext"](1,"\n        "),o["ɵɵelementStart"](2,"span"),o["ɵɵtext"](3),o["ɵɵelementEnd"](),o["ɵɵtext"](4,"\n    "),o["ɵɵelementEnd"]()),2&e){const e=t.$implicit;o["ɵɵadvance"](3),o["ɵɵtextInterpolate"](e)}}function U(e,t){if(1&e&&(o["ɵɵelementStart"](0,"div",8),o["ɵɵtext"](1,"\n    "),o["ɵɵtemplate"](2,B,5,1,"p",9),o["ɵɵtext"](3,"\n"),o["ɵɵelementEnd"]()),2&e){const e=o["ɵɵnextContext"]();o["ɵɵproperty"]("ngClass",e.theme),o["ɵɵadvance"](2),o["ɵɵproperty"]("ngForOf",e.errors)}}const H=["*"];let V=(()=>{let e=class{transform(e,t){if(!t.trim())return e;try{const i=new RegExp(`(${n=t,n.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")})`,"i");return e.replace(i,"<b>$1</b>")}catch(t){return e}var n}};return e.ɵfac=function(t){return new(t||e)},e.ɵpipe=o["ɵɵdefinePipe"]({name:"highlight",type:e,pure:!0}),e})();const G="keydown",$="DELETE",z="SWITCH_PREV",W="SWITCH_NEXT",q={8:$,46:$,37:z,39:W,9:"TAB"},K="Text",X="NEXT",Y="PREV";let J=(()=>{let e=class{constructor(){this.state={dragging:!1,dropping:!1,index:void 0}}setDraggedItem(e,t){e&&e.dataTransfer&&e.dataTransfer.setData(K,JSON.stringify(t))}getDraggedItem(e){if(e&&e.dataTransfer){const t=e.dataTransfer.getData(K);try{return JSON.parse(t)}catch(e){return}}}setSender(e){this.sender=e}setReceiver(e){this.receiver=e}onTagDropped(e,t,n){this.onDragEnd(),this.sender.onRemoveRequested(e,t),this.receiver.onAddingRequested(!1,e,n)}setState(e){this.state=Object.assign(Object.assign({},this.state),e)}getState(e){return e?this.state[e]:this.state}onDragEnd(){this.setState({dragging:!1,dropping:!1,index:void 0})}};return e.ɵfac=function(t){return new(t||e)},e.ɵprov=o["ɵɵdefineInjectable"]({token:e,factory:function(t){return e.ɵfac(t)}}),e})();const Q={tagInput:{separatorKeys:[],separatorKeyCodes:[],maxItems:1/0,placeholder:"+ Tag",secondaryPlaceholder:"Enter a new tag",validators:[],asyncValidators:[],onlyFromAutocomplete:!1,errorMessages:{},theme:"",onTextChangeDebounce:250,inputId:null,inputClass:"",clearOnBlur:!1,hideForm:!1,addOnBlur:!1,addOnPaste:!1,pasteSplitPattern:",",blinkIfDupe:!0,removable:!0,editable:!1,allowDupes:!1,modelAsStrings:!1,trimTags:!0,ripple:!0,tabIndex:"",disable:!1,dragZone:"",onRemoving:void 0,onAdding:void 0,displayBy:"display",identifyBy:"value",animationDuration:{enter:"250ms",leave:"150ms"}},dropdown:{displayBy:"display",identifyBy:"value",appendToBody:!0,offset:"50 0",focusFirstElement:!1,showDropdownIfEmpty:!1,minimumTextLength:1,limitItemsTo:1/0,keepOpen:!0,dynamicUpdate:!0,zIndex:1e3,matchingFn:function(e,t){const n=t[this.displayBy].toString();return n&&n.toLowerCase().indexOf(e.toLowerCase())>=0}}};let Z=(()=>{class e{setOptions(t){e.defaults.tagInput=Object.assign(Object.assign({},Q.tagInput),t.tagInput),e.defaults.dropdown=Object.assign(Object.assign({},Q.dropdown),t.dropdown)}}return e.defaults=Q,e})();function ee(e){return e===Object(e)}let te=(()=>{let e=class{constructor(){this._items=[],this.displayBy=Z.defaults.tagInput.displayBy,this.identifyBy=Z.defaults.tagInput.identifyBy}get items(){return this._items}set items(e){this._items=e,this._onChangeCallback(this._items)}onTouched(){this._onTouchedCallback()}writeValue(e){this._items=e||[]}registerOnChange(e){this._onChangeCallback=e}registerOnTouched(e){this._onTouchedCallback=e}getItemValue(e,t=!1){const n=t&&this.dropdown?this.dropdown.identifyBy:this.identifyBy;return ee(e)?e[n]:e}getItemDisplay(e,t=!1){const n=t&&this.dropdown?this.dropdown.displayBy:this.displayBy;return ee(e)?e[n]:e}getItemsWithout(e){return this.items.filter(((t,n)=>n!==e))}};return e.ɵfac=function(t){return new(t||e)},e.ɵdir=o["ɵɵdefineDirective"]({type:e,inputs:{displayBy:"displayBy",identifyBy:"identifyBy"}}),i([(0,o.Input)()],e.prototype,"displayBy",void 0),i([(0,o.Input)()],e.prototype,"identifyBy",void 0),e})();function ne(e,t,n=!0){if(!this.listeners.hasOwnProperty(e))throw new Error("The event entered may be wrong");n&&this.listeners[e].push(t)}let ie=(()=>{let e=class{constructor(){this.onSubmit=new o.EventEmitter,this.onBlur=new o.EventEmitter,this.onFocus=new o.EventEmitter,this.onKeyup=new o.EventEmitter,this.onKeydown=new o.EventEmitter,this.inputTextChange=new o.EventEmitter,this.validators=[],this.asyncValidators=[],this.tabindex="",this.disabled=!1,this.item=new a.FormControl({value:"",disabled:this.disabled})}get inputText(){return this.item.value}set inputText(e){this.item.setValue(e),this.inputTextChange.emit(e)}ngOnInit(){this.item.setValidators(this.validators),this.item.setAsyncValidators(this.asyncValidators),this.form=new a.FormGroup({item:this.item})}ngOnChanges(e){e.disabled&&!e.disabled.firstChange&&(e.disabled.currentValue?this.form.controls.item.disable():this.form.controls.item.enable())}get value(){return this.form.get("item")}isInputFocused(){const e="undefined"!=typeof document?document:void 0;return!!e&&e.activeElement===this.input.nativeElement}getErrorMessages(e){return Object.keys(e).filter((e=>this.value.hasError(e))).map((t=>e[t]))}hasErrors(){const{dirty:e,value:t,valid:n}=this.form;return e&&t.item&&!n}focus(){this.input.nativeElement.focus()}blur(){this.input.nativeElement.blur()}getElementPosition(){return this.input.nativeElement.getBoundingClientRect()}destroy(){const e=this.input.nativeElement;e.parentElement.removeChild(e)}onKeyDown(e){if(this.inputText=this.value.value,"Enter"!==e.key)return this.onKeydown.emit(e);this.submit(e)}onKeyUp(e){return this.inputText=this.value.value,this.onKeyup.emit(e)}submit(e){e.preventDefault(),this.onSubmit.emit(e)}};return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["tag-input-form"]],viewQuery:function(e,t){if(1&e&&o["ɵɵviewQuery"](E,5),2&e){let e;o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.input=e.first)}},inputs:{validators:"validators",asyncValidators:"asyncValidators",tabindex:"tabindex",disabled:"disabled",inputText:"inputText",placeholder:"placeholder",inputId:"inputId",inputClass:"inputClass"},outputs:{onSubmit:"onSubmit",onBlur:"onBlur",onFocus:"onFocus",onKeyup:"onKeyup",onKeydown:"onKeydown",inputTextChange:"inputTextChange"},features:[o["ɵɵNgOnChangesFeature"]],decls:7,vars:8,consts:[[3,"formGroup","ngSubmit"],["type","text","autocomplete","off","minlength","1","formControlName","item",1,"ng2-tag-input__text-input",3,"tabindex","ngClass","focus","blur","keydown","keyup"],["input",""]],template:function(e,t){1&e&&(o["ɵɵtext"](0,"\n"),o["ɵɵelementStart"](1,"form",0),o["ɵɵlistener"]("ngSubmit",(function(e){return t.submit(e)})),o["ɵɵtext"](2,"\n    "),o["ɵɵelementStart"](3,"input",1,2),o["ɵɵlistener"]("focus",(function(e){return t.onFocus.emit(e)}))("blur",(function(e){return t.onBlur.emit(e)}))("keydown",(function(e){return t.onKeyDown(e)}))("keyup",(function(e){return t.onKeyUp(e)})),o["ɵɵelementEnd"](),o["ɵɵtext"](5,"\n"),o["ɵɵelementEnd"](),o["ɵɵtext"](6,"\n")),2&e&&(o["ɵɵadvance"](1),o["ɵɵproperty"]("formGroup",t.form),o["ɵɵadvance"](2),o["ɵɵpropertyInterpolate"]("tabindex",t.disabled?-1:t.tabindex?t.tabindex:0),o["ɵɵproperty"]("ngClass",t.inputClass),o["ɵɵattribute"]("id",t.inputId)("placeholder",t.placeholder)("aria-label",t.placeholder)("tabindex",t.tabindex)("disabled",t.disabled?t.disabled:null))},directives:[a["ɵNgNoValidate"],a.NgControlStatusGroup,a.FormGroupDirective,a.DefaultValueAccessor,a.MinLengthValidator,a.NgControlStatus,a.FormControlName,s.NgClass],styles:['.dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 1px #323232}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]{background-color:#fff;display:inline-block;color:#555;vertical-align:middle;max-width:100%;height:42px;line-height:44px}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:none;box-shadow:none;outline:0;background-color:transparent;padding:0 6px;margin:0;width:auto;max-width:inherit}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-moz-placeholder{color:#777;opacity:1}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#777}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#777}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{border:none;box-shadow:none}.bootstrap3-info.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{box-shadow:inset 0 1px 1px rgba(0,0,0,.4);border:1px solid #ccc}.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;transition:.25s;padding:.25rem 0;min-height:32px;cursor:text;border-bottom:2px solid #efefef}.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{border-bottom:2px solid #2196f3}.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{border-bottom:2px solid #f44336}.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.ng2-tag-input[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin:.1em 0}.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.minimal.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:1px solid transparent}.minimal.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.minimal.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.minimal.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.minimal.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.minimal.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.dark.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:2px solid #444}.dark.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.dark.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.dark.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.dark.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.dark.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:2px solid #efefef}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.bootstrap.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.bootstrap.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{border-bottom:2px solid #0275d8}.bootstrap.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{border-bottom:2px solid #d9534f}.bootstrap.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.bootstrap.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;padding:4px;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);border-radius:4px}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.bootstrap3-info.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.bootstrap3-info.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{box-shadow:inset 0 1px 1px #d9534f;border-bottom:1px solid #d9534f}.bootstrap3-info.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.bootstrap3-info.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin:.1em 0}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.error-message[_ngcontent-%COMP%]{font-size:.8em;color:#f44336;margin:.5em 0 0}.bootstrap[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{color:#d9534f}.ng2-tag-input__text-input[_ngcontent-%COMP%]{display:inline;vertical-align:middle;border:none;padding:0 .5rem;height:38px;font-size:1em;font-family:Roboto,"Helvetica Neue",sans-serif}.ng2-tag-input__text-input[_ngcontent-%COMP%]:focus{outline:0}.ng2-tag-input__text-input[disabled=true][_ngcontent-%COMP%]{opacity:.5;background:#fff}']}),i([(0,o.Output)()],e.prototype,"onSubmit",void 0),i([(0,o.Output)()],e.prototype,"onBlur",void 0),i([(0,o.Output)()],e.prototype,"onFocus",void 0),i([(0,o.Output)()],e.prototype,"onKeyup",void 0),i([(0,o.Output)()],e.prototype,"onKeydown",void 0),i([(0,o.Output)()],e.prototype,"inputTextChange",void 0),i([(0,o.Input)()],e.prototype,"placeholder",void 0),i([(0,o.Input)()],e.prototype,"validators",void 0),i([(0,o.Input)()],e.prototype,"asyncValidators",void 0),i([(0,o.Input)()],e.prototype,"inputId",void 0),i([(0,o.Input)()],e.prototype,"inputClass",void 0),i([(0,o.Input)()],e.prototype,"tabindex",void 0),i([(0,o.Input)()],e.prototype,"disabled",void 0),i([(0,o.ViewChild)("input")],e.prototype,"input",void 0),i([(0,o.Input)()],e.prototype,"inputText",null),e})(),re=(()=>{let e=class{constructor(){this.state="none"}};return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["tag-ripple"]],inputs:{state:"state"},decls:3,vars:1,consts:[[1,"tag-ripple"]],template:function(e,t){1&e&&(o["ɵɵtext"](0,"\n        "),o["ɵɵelement"](1,"div",0),o["ɵɵtext"](2,"\n    ")),2&e&&(o["ɵɵadvance"](1),o["ɵɵproperty"]("@ink",t.state))},styles:["[_nghost-%COMP%] {\n            width: 100%;\n            height: 100%;\n            left: 0;\n            overflow: hidden;\n            position: absolute;\n        }\n\n        .tag-ripple[_ngcontent-%COMP%] {\n            background: rgba(0, 0, 0, 0.1);\n            top: 50%;\n            left: 50%;\n            height: 100%;\n            transform: translate(-50%, -50%);\n            position: absolute;\n        }"],data:{animation:[(0,l.trigger)("ink",[(0,l.state)("none",(0,l.style)({width:0,opacity:0})),(0,l.transition)("none => clicked",[(0,l.animate)(300,(0,l.keyframes)([(0,l.style)({opacity:1,offset:0,width:"30%",borderRadius:"100%"}),(0,l.style)({opacity:1,offset:.5,width:"50%"}),(0,l.style)({opacity:.5,offset:1,width:"100%",borderRadius:"16px"})]))])])]}}),i([(0,o.Input)()],e.prototype,"state",void 0),e})();const oe="undefined"!=typeof window?window.navigator:{userAgent:"Chrome",vendor:"Google Inc"},ae=/Chrome/.test(oe.userAgent)&&/Google Inc/.test(oe.vendor);let se=(()=>{let e=class{constructor(e,t,n){this.element=e,this.renderer=t,this.cdRef=n,this.disabled=!1,this.onSelect=new o.EventEmitter,this.onRemove=new o.EventEmitter,this.onBlur=new o.EventEmitter,this.onKeyDown=new o.EventEmitter,this.onTagEdited=new o.EventEmitter,this.editing=!1,this.rippleState="none"}get readonly(){return"string"!=typeof this.model&&!0===this.model.readonly}select(e){this.readonly||this.disabled||(e&&e.stopPropagation(),this.focus(),this.onSelect.emit(this.model))}remove(e){e.stopPropagation(),this.onRemove.emit(this)}focus(){this.element.nativeElement.focus()}move(){this.moving=!0}keydown(e){if(this.editing){if(13===e.keyCode)return this.disableEditMode(e)}else this.onKeyDown.emit({event:e,model:this.model})}blink(){const e=this.element.nativeElement.classList;e.add("blink"),setTimeout((()=>e.remove("blink")),50)}toggleEditMode(){if(this.editable)return this.editing?void 0:this.activateEditMode()}onBlurred(e){if(!this.editable)return;this.disableEditMode();const t=e.target.innerText,n="string"==typeof this.model?t:Object.assign(Object.assign({},this.model),{[this.displayBy]:t});this.onBlur.emit(n)}getDisplayValue(e){return"string"==typeof e?e:e[this.displayBy]}get isRippleVisible(){return!this.readonly&&!this.editing&&ae&&this.hasRipple}disableEditMode(e){const t=this.element.nativeElement.classList,n=this.getContentEditableText();this.editing=!1,t.remove("tag--editing"),n?(this.storeNewValue(n),this.cdRef.detectChanges(),e&&e.preventDefault()):this.setContentEditableText(this.model)}isDeleteIconVisible(){return!this.readonly&&!this.disabled&&this.removable&&!this.editing}getContentEditableText(){const e=this.getContentEditable();return e?e.innerText.trim():""}setContentEditableText(e){const t=this.getContentEditable(),n=this.getDisplayValue(e);t.innerText=n}activateEditMode(){this.element.nativeElement.classList.add("tag--editing"),this.editing=!0}storeNewValue(e){if((t=>"string"==typeof t?t===e:t[this.displayBy]===e)(this.model))return;const t="string"==typeof this.model?e:{index:this.index,[this.identifyBy]:(()=>this.model[this.identifyBy]!==this.model[this.displayBy])()?this.model[this.identifyBy]:e,[this.displayBy]:e};this.canAddTag(t)?this.onTagEdited.emit({tag:t,index:this.index}):this.setContentEditableText(this.model)}getContentEditable(){return this.element.nativeElement.querySelector("[contenteditable]")}};return e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](o.ElementRef),o["ɵɵdirectiveInject"](o.Renderer2),o["ɵɵdirectiveInject"](o.ChangeDetectorRef))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["tag"]],viewQuery:function(e,t){if(1&e&&o["ɵɵviewQuery"](re,5),2&e){let e;o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.ripple=e.first)}},hostVars:2,hostBindings:function(e,t){1&e&&o["ɵɵlistener"]("keydown",(function(e){return t.keydown(e)})),2&e&&o["ɵɵclassProp"]("moving",t.moving)},inputs:{disabled:"disabled",model:"model",removable:"removable",editable:"editable",template:"template",displayBy:"displayBy",identifyBy:"identifyBy",index:"index",hasRipple:"hasRipple",canAddTag:"canAddTag"},outputs:{onSelect:"onSelect",onRemove:"onRemove",onBlur:"onBlur",onKeyDown:"onKeyDown",onTagEdited:"onTagEdited"},decls:9,vars:8,consts:[[3,"ngSwitch","click","dblclick","mousedown","mouseup"],[4,"ngSwitchCase"],["class","tag-wrapper",4,"ngSwitchCase"],[3,"state",4,"ngIf"],[3,"ngTemplateOutletContext","ngTemplateOutlet"],[1,"tag-wrapper"],["spellcheck","false",1,"tag__text","inline",3,"keydown.enter","keydown.escape","click","blur"],["aria-label","Remove tag","role","button",3,"click",4,"ngIf"],["aria-label","Remove tag","role","button",3,"click"],[3,"state"]],template:function(e,t){1&e&&(o["ɵɵelementStart"](0,"div",0),o["ɵɵlistener"]("click",(function(e){return t.select(e)}))("dblclick",(function(){return t.toggleEditMode()}))("mousedown",(function(){return t.rippleState="clicked"}))("mouseup",(function(){return t.rippleState="none"})),o["ɵɵtext"](1,"\n\n    "),o["ɵɵtemplate"](2,A,5,6,"div",1),o["ɵɵtext"](3,"\n\n    "),o["ɵɵtemplate"](4,M,9,4,"div",2),o["ɵɵtext"](5,"\n"),o["ɵɵelementEnd"](),o["ɵɵtext"](6,"\n\n"),o["ɵɵtemplate"](7,O,2,2,"tag-ripple",3),o["ɵɵtext"](8,"\n")),2&e&&(o["ɵɵclassProp"]("disabled",t.disabled),o["ɵɵproperty"]("ngSwitch",!!t.template),o["ɵɵattribute"]("tabindex",-1)("aria-label",t.getDisplayValue(t.model)),o["ɵɵadvance"](2),o["ɵɵproperty"]("ngSwitchCase",!0),o["ɵɵadvance"](2),o["ɵɵproperty"]("ngSwitchCase",!1),o["ɵɵadvance"](3),o["ɵɵproperty"]("ngIf",t.isRippleVisible))},directives:function(){return[s.NgSwitch,s.NgSwitchCase,s.NgIf,s.NgTemplateOutlet,pe,re]},styles:["[_nghost-%COMP%], [_nghost-%COMP%] > div[_ngcontent-%COMP%], [_nghost-%COMP%] > div[_ngcontent-%COMP%]:focus{outline:0;overflow:hidden;transition:opacity 1s;z-index:1}[_nghost-%COMP%]{max-width:400px}.blink[_nghost-%COMP%]{-webkit-animation:.3s ease-in-out forwards blink;animation:.3s ease-in-out forwards blink}@-webkit-keyframes blink{0%{opacity:.3}}@keyframes blink{0%{opacity:.3}}[_nghost-%COMP%]   .disabled[_ngcontent-%COMP%]{cursor:not-allowed}[_nghost-%COMP%]   [contenteditable=true][_ngcontent-%COMP%]{outline:0}.tag-wrapper[_ngcontent-%COMP%]{flex-direction:row;display:flex}.tag__text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}"]}),i([(0,o.Input)()],e.prototype,"model",void 0),i([(0,o.Input)()],e.prototype,"removable",void 0),i([(0,o.Input)()],e.prototype,"editable",void 0),i([(0,o.Input)()],e.prototype,"template",void 0),i([(0,o.Input)()],e.prototype,"displayBy",void 0),i([(0,o.Input)()],e.prototype,"identifyBy",void 0),i([(0,o.Input)()],e.prototype,"index",void 0),i([(0,o.Input)()],e.prototype,"hasRipple",void 0),i([(0,o.Input)()],e.prototype,"disabled",void 0),i([(0,o.Input)()],e.prototype,"canAddTag",void 0),i([(0,o.Output)()],e.prototype,"onSelect",void 0),i([(0,o.Output)()],e.prototype,"onRemove",void 0),i([(0,o.Output)()],e.prototype,"onBlur",void 0),i([(0,o.Output)()],e.prototype,"onKeyDown",void 0),i([(0,o.Output)()],e.prototype,"onTagEdited",void 0),i([(0,o.HostBinding)("class.moving")],e.prototype,"moving",void 0),i([(0,o.ViewChild)(re)],e.prototype,"ripple",void 0),i([(0,o.HostListener)("keydown",["$event"])],e.prototype,"keydown",null),e})();const ce=[(0,l.trigger)("animation",[(0,l.state)("in",(0,l.style)({opacity:1})),(0,l.state)("out",(0,l.style)({opacity:0})),(0,l.transition)(":enter",[(0,l.animate)("{{ enter }}",(0,l.keyframes)([(0,l.style)({opacity:0,offset:0,transform:"translate(0px, 20px)"}),(0,l.style)({opacity:.3,offset:.3,transform:"translate(0px, -10px)"}),(0,l.style)({opacity:.5,offset:.5,transform:"translate(0px, 0px)"}),(0,l.style)({opacity:.75,offset:.75,transform:"translate(0px, 5px)"}),(0,l.style)({opacity:1,offset:1,transform:"translate(0px, 0px)"})]))]),(0,l.transition)(":leave",[(0,l.animate)("{{ leave }}",(0,l.keyframes)([(0,l.style)({opacity:1,transform:"translateX(0)",offset:0}),(0,l.style)({opacity:1,transform:"translateX(-15px)",offset:.7}),(0,l.style)({opacity:0,transform:"translateX(100%)",offset:1})]))])])];let le=(()=>{let e=class{constructor(e){this.injector=e,this.offset=Q.dropdown.offset,this.focusFirstElement=Q.dropdown.focusFirstElement,this.showDropdownIfEmpty=Q.dropdown.showDropdownIfEmpty,this.minimumTextLength=Q.dropdown.minimumTextLength,this.limitItemsTo=Q.dropdown.limitItemsTo,this.displayBy=Q.dropdown.displayBy,this.identifyBy=Q.dropdown.identifyBy,this.matchingFn=Q.dropdown.matchingFn,this.appendToBody=Q.dropdown.appendToBody,this.keepOpen=Q.dropdown.keepOpen,this.dynamicUpdate=Q.dropdown.dynamicUpdate,this.zIndex=Q.dropdown.zIndex,this.items=[],this.tagInput=this.injector.get(ue),this._autocompleteItems=[],this.show=()=>{const e=this.tagInput.items.length===this.tagInput.maxItems,t=this.getFormValue(),n=t.trim().length>=this.minimumTextLength,i=this.calculatePosition(),r=this.getMatchingItems(t),o=r.length>0,a=!1===this.isVisible,s=this.showDropdownIfEmpty&&o&&!t,c=this.tagInput.disable,l=a&&(o&&n||s),d=this.isVisible&&!o;return this.autocompleteObservable&&n?this.getItemsFromObservable(t):!this.showDropdownIfEmpty&&!t||e||c?this.dropdown.hide():(this.setItems(r),void(l?this.dropdown.show(i):d&&this.hide()))},this.requestAdding=e=>r(this,void 0,void 0,(function*(){const t=this.createTagModel(e);yield this.tagInput.onAddingRequested(!0,t).catch((()=>{}))})),this.resetItems=()=>{this.items=[]},this.getItemsFromObservable=e=>{this.setLoadingState(!0),this.autocompleteObservable(e).pipe((0,w.first)()).subscribe((t=>{this.setLoadingState(!1).populateItems(t),this.setItems(this.getMatchingItems(e)),this.items.length?this.dropdown.show(this.calculatePosition()):this.dropdown.hide()}),(()=>this.setLoadingState(!1)))}}set autocompleteItems(e){this._autocompleteItems=e}get autocompleteItems(){const e=this._autocompleteItems;return e?e.map((e=>"string"==typeof e?{[this.displayBy]:e,[this.identifyBy]:e}:e)):[]}ngAfterViewInit(){this.onItemClicked().subscribe((e=>{this.requestAdding(e)})),this.onHide().subscribe(this.resetItems);const e=this.keepOpen;this.tagInput.onTextChange.asObservable().pipe((0,w.distinctUntilChanged)(),(0,w.debounceTime)(200),(0,w.filter)((t=>!1!==e||t.length>0))).subscribe(this.show)}updatePosition(){const e=this.tagInput.inputForm.getElementPosition();this.dropdown.menu.updatePosition(e,this.dynamicUpdate)}get isVisible(){return this.dropdown.menu.dropdownState.menuState.isVisible}onHide(){return this.dropdown.onHide}onItemClicked(){return this.dropdown.onItemClicked}get selectedItem(){return this.dropdown.menu.dropdownState.dropdownState.selectedItem}get state(){return this.dropdown.menu.dropdownState}hide(){this.resetItems(),this.dropdown.hide()}scrollListener(){this.isVisible&&this.dynamicUpdate&&this.updatePosition()}onWindowBlur(){this.dropdown.hide()}getFormValue(){const e=this.tagInput.formValue;return e?e.toString().trim():""}calculatePosition(){return this.tagInput.inputForm.getElementPosition()}createTagModel(e){const t="string"==typeof e.value?e.value:e.value[this.displayBy],n="string"==typeof e.value?e.value:e.value[this.identifyBy];return Object.assign(Object.assign({},e.value),{[this.tagInput.displayBy]:t,[this.tagInput.identifyBy]:n})}getMatchingItems(e){if(!e&&!this.showDropdownIfEmpty)return[];const t=this.tagInput.allowDupes;return this.autocompleteItems.filter((n=>{const i=!t&&this.tagInput.tags.some((e=>{const t=this.tagInput.identifyBy;return("string"==typeof e.model?e.model:e.model[t])===n[this.identifyBy]}));return this.matchingFn(e,n)&&!1===i}))}setItems(e){this.items=e.slice(0,this.limitItemsTo||e.length)}populateItems(e){return this.autocompleteItems=e.map((e=>"string"==typeof e?{[this.displayBy]:e,[this.identifyBy]:e}:e)),this}setLoadingState(e){return this.tagInput.isLoading=e,this}};return e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](o.Injector))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["tag-input-dropdown"]],contentQueries:function(e,t,n){if(1&e&&o["ɵɵcontentQuery"](n,o.TemplateRef,4),2&e){let e;o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.templates=e)}},viewQuery:function(e,t){if(1&e&&o["ɵɵviewQuery"](x,5),2&e){let e;o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.dropdown=e.first)}},hostBindings:function(e,t){1&e&&o["ɵɵlistener"]("scroll",(function(){return t.scrollListener()}),!1,o["ɵɵresolveWindow"])("blur",(function(){return t.onWindowBlur()}),!1,o["ɵɵresolveWindow"])},inputs:{offset:"offset",focusFirstElement:"focusFirstElement",showDropdownIfEmpty:"showDropdownIfEmpty",minimumTextLength:"minimumTextLength",limitItemsTo:"limitItemsTo",displayBy:"displayBy",identifyBy:"identifyBy",matchingFn:"matchingFn",appendToBody:"appendToBody",keepOpen:"keepOpen",dynamicUpdate:"dynamicUpdate",zIndex:"zIndex",autocompleteItems:"autocompleteItems",autocompleteObservable:"autocompleteObservable"},decls:8,vars:6,consts:[[3,"dynamicUpdate"],[3,"focusFirstElement","zIndex","appendToBody","offset"],[3,"value","ngSwitch",4,"ngFor","ngForOf"],[3,"value","ngSwitch"],[3,"innerHTML",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"innerHTML"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,t){1&e&&(o["ɵɵelementStart"](0,"ng2-dropdown",0),o["ɵɵtext"](1,"\n    "),o["ɵɵelementStart"](2,"ng2-dropdown-menu",1),o["ɵɵtext"](3,"\n        "),o["ɵɵtemplate"](4,L,6,3,"ng2-menu-item",2),o["ɵɵtext"](5,"\n    "),o["ɵɵelementEnd"](),o["ɵɵtext"](6,"\n"),o["ɵɵelementEnd"](),o["ɵɵtext"](7,"\n")),2&e&&(o["ɵɵproperty"]("dynamicUpdate",t.dynamicUpdate),o["ɵɵadvance"](2),o["ɵɵproperty"]("focusFirstElement",t.focusFirstElement)("zIndex",t.zIndex)("appendToBody",t.appendToBody)("offset",t.offset),o["ɵɵadvance"](2),o["ɵɵproperty"]("ngForOf",t.items))},directives:[x,C,s.NgForOf,S,s.NgSwitch,s.NgSwitchCase,s.NgSwitchDefault,s.NgTemplateOutlet],pipes:[V],encapsulation:2}),i([(0,o.ViewChild)(x)],e.prototype,"dropdown",void 0),i([(0,o.ContentChildren)(o.TemplateRef)],e.prototype,"templates",void 0),i([(0,o.Input)()],e.prototype,"offset",void 0),i([(0,o.Input)()],e.prototype,"focusFirstElement",void 0),i([(0,o.Input)()],e.prototype,"showDropdownIfEmpty",void 0),i([(0,o.Input)()],e.prototype,"autocompleteObservable",void 0),i([(0,o.Input)()],e.prototype,"minimumTextLength",void 0),i([(0,o.Input)()],e.prototype,"limitItemsTo",void 0),i([(0,o.Input)()],e.prototype,"displayBy",void 0),i([(0,o.Input)()],e.prototype,"identifyBy",void 0),i([(0,o.Input)()],e.prototype,"matchingFn",void 0),i([(0,o.Input)()],e.prototype,"appendToBody",void 0),i([(0,o.Input)()],e.prototype,"keepOpen",void 0),i([(0,o.Input)()],e.prototype,"dynamicUpdate",void 0),i([(0,o.Input)()],e.prototype,"zIndex",void 0),i([(0,o.Input)()],e.prototype,"autocompleteItems",null),i([(0,o.HostListener)("window:scroll")],e.prototype,"scrollListener",null),i([(0,o.HostListener)("window:blur")],e.prototype,"onWindowBlur",null),e})();"undefined"!=typeof window&&window.DragEvent;const de={provide:a.NG_VALUE_ACCESSOR,useExisting:(0,o.forwardRef)((()=>ue)),multi:!0};let ue=(()=>{let e=class extends te{constructor(e,t){super(),this.renderer=e,this.dragProvider=t,this.separatorKeys=Q.tagInput.separatorKeys,this.separatorKeyCodes=Q.tagInput.separatorKeyCodes,this.placeholder=Q.tagInput.placeholder,this.secondaryPlaceholder=Q.tagInput.secondaryPlaceholder,this.maxItems=Q.tagInput.maxItems,this.validators=Q.tagInput.validators,this.asyncValidators=Q.tagInput.asyncValidators,this.onlyFromAutocomplete=Q.tagInput.onlyFromAutocomplete,this.errorMessages=Q.tagInput.errorMessages,this.theme=Q.tagInput.theme,this.onTextChangeDebounce=Q.tagInput.onTextChangeDebounce,this.inputId=Q.tagInput.inputId,this.inputClass=Q.tagInput.inputClass,this.clearOnBlur=Q.tagInput.clearOnBlur,this.hideForm=Q.tagInput.hideForm,this.addOnBlur=Q.tagInput.addOnBlur,this.addOnPaste=Q.tagInput.addOnPaste,this.pasteSplitPattern=Q.tagInput.pasteSplitPattern,this.blinkIfDupe=Q.tagInput.blinkIfDupe,this.removable=Q.tagInput.removable,this.editable=Q.tagInput.editable,this.allowDupes=Q.tagInput.allowDupes,this.modelAsStrings=Q.tagInput.modelAsStrings,this.trimTags=Q.tagInput.trimTags,this.ripple=Q.tagInput.ripple,this.tabindex=Q.tagInput.tabIndex,this.disable=Q.tagInput.disable,this.dragZone=Q.tagInput.dragZone,this.onRemoving=Q.tagInput.onRemoving,this.onAdding=Q.tagInput.onAdding,this.animationDuration=Q.tagInput.animationDuration,this.onAdd=new o.EventEmitter,this.onRemove=new o.EventEmitter,this.onSelect=new o.EventEmitter,this.onFocus=new o.EventEmitter,this.onBlur=new o.EventEmitter,this.onTextChange=new o.EventEmitter,this.onPaste=new o.EventEmitter,this.onValidationError=new o.EventEmitter,this.onTagEdited=new o.EventEmitter,this.isLoading=!1,this.listeners={[G]:[],keyup:[]},this.inputTextChange=new o.EventEmitter,this.inputTextValue="",this.errors=[],this.appendTag=(e,t=this.items.length)=>{const n=this.items,i=this.modelAsStrings?e[this.identifyBy]:e;this.items=[...n.slice(0,t),i,...n.slice(t,n.length)]},this.createTag=e=>{const t=(e,t)=>"string"==typeof e?e.trim():e[t];return Object.assign(Object.assign({},"string"!=typeof e?e:{}),{[this.displayBy]:this.trimTags?t(e,this.displayBy):e,[this.identifyBy]:this.trimTags?t(e,this.identifyBy):e})},this.isTagValid=(e,t=!1)=>{const n=this.dropdown?this.dropdown.selectedItem:void 0,i=this.getItemDisplay(e).trim();if(n&&!t||!i)return!1;const r=this.findDupe(e,t);if(!this.allowDupes&&r&&this.blinkIfDupe){const e=this.tags.find((e=>this.getItemValue(e.model)===this.getItemValue(r)));e&&e.blink()}const o=t&&this.onlyFromAutocomplete,a=[!r||this.allowDupes,!this.maxItemsReached,o||!this.onlyFromAutocomplete];return a.filter(Boolean).length===a.length},this.onPasteCallback=e=>r(this,void 0,void 0,(function*(){const t=(()=>{const t=Boolean(window.clipboardData),n=t?window.clipboardData:e.clipboardData,i=t?"Text":"text/plain";return null===n?"":n.getData(i)||""})(),n=t.split(this.pasteSplitPattern).map((e=>{const t=this.createTag(e);return this.setInputValue(t[this.displayBy]),this.onAddingRequested(!1,t)})),i=()=>setTimeout((()=>this.setInputValue("")),50);Promise.all(n).then((()=>{this.onPaste.emit(t),i()})).catch(i)}))}get inputText(){return this.inputTextValue}set inputText(e){this.inputTextValue=e,this.inputTextChange.emit(e)}get tabindexAttr(){return""!==this.tabindex?"-1":""}ngAfterViewInit(){this.setUpKeypressListeners(),this.setupSeparatorKeysListener(),this.setUpInputKeydownListeners(),this.onTextChange.observers.length&&this.setUpTextChangeSubscriber(),(this.clearOnBlur||this.addOnBlur)&&this.setUpOnBlurSubscriber(),this.addOnPaste&&this.setUpOnPasteListener();const e=this.inputForm.form.statusChanges;e.pipe((0,w.filter)((e=>"PENDING"!==e))).subscribe((()=>{this.errors=this.inputForm.getErrorMessages(this.errorMessages)})),this.isProgressBarVisible$=e.pipe((0,w.map)((e=>"PENDING"===e||this.isLoading))),this.hideForm&&this.inputForm.destroy()}ngOnInit(){void 0!==this.maxItems&&this.items&&this.items.length>this.maxItems&&(this.maxItems=this.items.length,console.warn("The number of items specified was greater than the property max-items.")),this.editable=!this.onlyFromAutocomplete&&this.editable,this.setAnimationMetadata()}onRemoveRequested(e,t){return new Promise((n=>{const i=i=>{this.removeItem(i,t),n(e)};this.onRemoving?this.onRemoving(e).pipe((0,w.first)()).subscribe(i):i(e)}))}onAddingRequested(e,t,n,i){return new Promise(((r,o)=>{const a=t=>this.addItem(e,t,n,i).then(r).catch(o);return this.onAdding?this.onAdding(t).pipe((0,w.first)()).subscribe(a,o):a(t)}))}selectItem(e,t=!0){e&&"string"!=typeof e&&e.readonly||this.selectedTag===e||(this.selectedTag=e,t&&this.onSelect.emit(e))}fireEvents(e,t){this.listeners[e].forEach((e=>e.call(this,t)))}handleKeydown(e){const t=e.event,n=t.keyCode||t.which,i=t.shiftKey||!1;switch(q[n]){case $:if(this.selectedTag&&this.removable){const e=this.items.indexOf(this.selectedTag);this.onRemoveRequested(this.selectedTag,e)}break;case z:this.moveToTag(e.model,Y);break;case W:this.moveToTag(e.model,X);break;case"TAB":if(i){if(this.isFirstTag(e.model))return;this.moveToTag(e.model,Y)}else{if(this.isLastTag(e.model)&&(this.disable||this.maxItemsReached))return;this.moveToTag(e.model,X)}break;default:return}t.preventDefault()}onFormSubmit(){return r(this,void 0,void 0,(function*(){try{yield this.onAddingRequested(!1,this.formValue)}catch(e){return}}))}setInputValue(e,t=!0){this.getControl().setValue(e,{emitEvent:t})}getControl(){return this.inputForm.value}focus(e=!1,t=!1){this.dragProvider.getState("dragging")||(this.selectItem(void 0,!1),e&&(this.inputForm.focus(),this.onFocus.emit(this.formValue)))}blur(){this.onTouched(),this.onBlur.emit(this.formValue)}hasErrors(){return!!this.inputForm&&this.inputForm.hasErrors()}isInputFocused(){return!!this.inputForm&&this.inputForm.isInputFocused()}hasCustomTemplate(){const e=this.templates?this.templates.first:void 0,t=this.dropdown&&this.dropdown.templates?this.dropdown.templates.first:void 0;return Boolean(e&&e!==t)}get maxItemsReached(){return void 0!==this.maxItems&&this.items.length>=this.maxItems}get formValue(){const e=this.inputForm.value;return e?e.value:""}onDragStarted(e,t,n){e.stopPropagation();const i={zone:this.dragZone,tag:t,index:n};this.dragProvider.setSender(this),this.dragProvider.setDraggedItem(e,i),this.dragProvider.setState({dragging:!0,index:n})}onDragOver(e,t){this.dragProvider.setState({dropping:!0}),this.dragProvider.setReceiver(this),e.preventDefault()}onTagDropped(e,t){const n=this.dragProvider.getDraggedItem(e);n&&n.zone===this.dragZone&&(this.dragProvider.onTagDropped(n.tag,n.index,t),e.preventDefault(),e.stopPropagation())}isDropping(){const e=this.dragProvider.receiver===this,t=this.dragProvider.getState("dropping");return Boolean(e&&t)}onTagBlurred(e,t){this.items[t]=e,this.blur()}trackBy(e,t){return t[this.identifyBy]}updateEditedTag({tag:e,index:t}){this.onTagEdited.emit(e)}moveToTag(e,t){const n=this.isLastTag(e),i=this.isFirstTag(e);if(t===X&&n||t===Y&&i)return void this.focus(!0);const r=t===X?1:-1,o=this.getTagIndex(e)+r,a=this.getTagAtIndex(o);return a.select.call(a)}isFirstTag(e){return this.tags.first.model===e}isLastTag(e){return this.tags.last.model===e}getTagIndex(e){return this.tags.toArray().findIndex((t=>t.model===e))}getTagAtIndex(e){return this.tags.toArray()[e]}removeItem(e,t){this.items=this.getItemsWithout(t),this.selectedTag===e&&this.selectItem(void 0,!1),this.focus(!0,!1),this.onRemove.emit(e)}addItem(e=!1,t,n,i){const r=this.getItemDisplay(t),o=this.createTag(t);return e&&this.setInputValue(this.getItemValue(t,!0)),new Promise(((t,a)=>{const s=()=>{this.setInputValue(""),i?this.focus(!1,!1):this.focus(!0,!1),t(r)},c=()=>{this.appendTag(o,n),this.onAdd.emit(o),this.dropdown&&(this.dropdown.hide(),this.dropdown.showDropdownIfEmpty&&this.dropdown.show())},l=this.inputForm.form.status,d=this.isTagValid(o,e),u=()=>(this.onValidationError.emit(o),a());return"VALID"===l&&d?(c(),s()):"INVALID"!==l&&d?"PENDING"===l?this.inputForm.form.statusChanges.pipe((0,w.filter)((e=>"PENDING"!==e)),(0,w.first)()).subscribe((e=>"VALID"===e&&d?(c(),s()):(s(),u()))):void 0:(s(),u())}))}setupSeparatorKeysListener(){const e=this.separatorKeyCodes.length>0||this.separatorKeys.length>0;ne.call(this,G,(e=>{const t=this.separatorKeyCodes.indexOf(e.keyCode)>=0,n=this.separatorKeys.indexOf(e.key)>=0,i=229===e.keyCode;(t||n&&!i)&&(e.preventDefault(),this.onAddingRequested(!1,this.formValue).catch((()=>{})))}),e)}setUpKeypressListeners(){ne.call(this,G,(e=>{(37===e.keyCode||8===e.keyCode)&&!this.formValue&&this.items.length&&this.tags.last.select.call(this.tags.last)}))}setUpInputKeydownListeners(){this.inputForm.onKeydown.subscribe((e=>{"Backspace"===e.key&&""===this.formValue.trim()&&e.preventDefault()}))}setUpOnPasteListener(){const e=this.inputForm.input.nativeElement;this.renderer.listen(e,"paste",(e=>(this.onPasteCallback(e),e.preventDefault(),!0)))}setUpTextChangeSubscriber(){this.inputForm.form.valueChanges.pipe((0,w.debounceTime)(this.onTextChangeDebounce)).subscribe((e=>{this.onTextChange.emit(e.item)}))}setUpOnBlurSubscriber(){this.inputForm.onBlur.pipe((0,w.debounceTime)(100),(0,w.filter)((()=>!(this.dropdown&&this.dropdown.isVisible||!this.formValue)))).subscribe((()=>{const e=()=>this.setInputValue("");if(this.addOnBlur)return this.onAddingRequested(!1,this.formValue,void 0,!0).then(e).catch(e);e()}))}findDupe(e,t){const n=e[t?this.dropdown.identifyBy:this.identifyBy];return this.items.find((e=>this.getItemValue(e)===n))}setAnimationMetadata(){this.animationMetadata={value:"in",params:Object.assign({},this.animationDuration)}}};return e.ɵfac=function(t){return new(t||e)(o["ɵɵdirectiveInject"](o.Renderer2),o["ɵɵdirectiveInject"](J))},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["tag-input"]],contentQueries:function(e,t,n){if(1&e&&(o["ɵɵcontentQuery"](n,le,5),o["ɵɵcontentQuery"](n,o.TemplateRef,4)),2&e){let e;o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.dropdown=e.first),o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.templates=e)}},viewQuery:function(e,t){if(1&e&&(o["ɵɵviewQuery"](ie,5),o["ɵɵviewQuery"](se,5)),2&e){let e;o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.inputForm=e.first),o["ɵɵqueryRefresh"](e=o["ɵɵloadQuery"]())&&(t.tags=e)}},hostVars:1,hostBindings:function(e,t){2&e&&o["ɵɵattribute"]("tabindex",t.tabindexAttr)},inputs:{separatorKeys:"separatorKeys",separatorKeyCodes:"separatorKeyCodes",placeholder:"placeholder",secondaryPlaceholder:"secondaryPlaceholder",maxItems:"maxItems",validators:"validators",asyncValidators:"asyncValidators",onlyFromAutocomplete:"onlyFromAutocomplete",errorMessages:"errorMessages",theme:"theme",onTextChangeDebounce:"onTextChangeDebounce",inputId:"inputId",inputClass:"inputClass",clearOnBlur:"clearOnBlur",hideForm:"hideForm",addOnBlur:"addOnBlur",addOnPaste:"addOnPaste",pasteSplitPattern:"pasteSplitPattern",blinkIfDupe:"blinkIfDupe",removable:"removable",editable:"editable",allowDupes:"allowDupes",modelAsStrings:"modelAsStrings",trimTags:"trimTags",ripple:"ripple",tabindex:"tabindex",disable:"disable",dragZone:"dragZone",onRemoving:"onRemoving",onAdding:"onAdding",animationDuration:"animationDuration",inputText:"inputText"},outputs:{onAdd:"onAdd",onRemove:"onRemove",onSelect:"onSelect",onFocus:"onFocus",onBlur:"onBlur",onTextChange:"onTextChange",onPaste:"onPaste",onValidationError:"onValidationError",onTagEdited:"onTagEdited",inputTextChange:"inputTextChange"},features:[o["ɵɵProvidersFeature"]([de]),o["ɵɵInheritDefinitionFeature"]],ngContentSelectors:H,decls:20,vars:27,consts:[[1,"ng2-tag-input",3,"ngClass","click","drop","dragenter","dragover","dragend"],[1,"ng2-tags-container"],[3,"draggable","canAddTag","disabled","hasRipple","index","removable","editable","displayBy","identifyBy","template","model","onSelect","onRemove","onKeyDown","onTagEdited","onBlur","dragstart","drop","dragenter","dragover","dragleave",4,"ngFor","ngForOf","ngForTrackBy"],[3,"inputText","disabled","validators","asyncValidators","hidden","placeholder","inputClass","inputId","tabindex","onSubmit","onBlur","click","onKeydown","onKeyup"],["class","progress-bar",4,"ngIf"],["class","error-messages",3,"ngClass",4,"ngIf"],[3,"draggable","canAddTag","disabled","hasRipple","index","removable","editable","displayBy","identifyBy","template","model","onSelect","onRemove","onKeyDown","onTagEdited","onBlur","dragstart","drop","dragenter","dragover","dragleave"],[1,"progress-bar"],[1,"error-messages",3,"ngClass"],["class","error-message",4,"ngFor","ngForOf"],[1,"error-message"]],template:function(e,t){1&e&&(o["ɵɵprojectionDef"](),o["ɵɵelementStart"](0,"div",0),o["ɵɵlistener"]("click",(function(){return t.focus(!0,!1)}))("drop",(function(e){return t.dragZone?t.onTagDropped(e,void 0):void 0}))("dragenter",(function(e){return t.dragZone?t.onDragOver(e):void 0}))("dragover",(function(e){return t.dragZone?t.onDragOver(e):void 0}))("dragend",(function(){return t.dragZone?t.dragProvider.onDragEnd():void 0})),o["ɵɵtext"](1,"\n\n    "),o["ɵɵtext"](2,"\n    "),o["ɵɵelementStart"](3,"div",1),o["ɵɵtext"](4,"\n        "),o["ɵɵtemplate"](5,R,2,14,"tag",2),o["ɵɵtext"](6,"\n\n        "),o["ɵɵelementStart"](7,"tag-input-form",3),o["ɵɵlistener"]("onSubmit",(function(){return t.onFormSubmit()}))("onBlur",(function(){return t.blur()}))("click",(function(){return t.dropdown?t.dropdown.show():void 0}))("onKeydown",(function(e){return t.fireEvents("keydown",e)}))("onKeyup",(function(e){return t.fireEvents("keyup",e)})),o["ɵɵtext"](8,"\n        "),o["ɵɵelementEnd"](),o["ɵɵtext"](9,"\n    "),o["ɵɵelementEnd"](),o["ɵɵtext"](10,"\n\n    "),o["ɵɵtemplate"](11,F,1,0,"div",4),o["ɵɵpipe"](12,"async"),o["ɵɵtext"](13,"\n"),o["ɵɵelementEnd"](),o["ɵɵtext"](14,"\n\n"),o["ɵɵtext"](15,"\n"),o["ɵɵtemplate"](16,U,4,2,"div",5),o["ɵɵtext"](17,"\n"),o["ɵɵprojection"](18),o["ɵɵtext"](19,"\n")),2&e&&(o["ɵɵclassProp"]("ng2-tag-input--dropping",t.isDropping())("ng2-tag-input--disabled",t.disable)("ng2-tag-input--loading",t.isLoading)("ng2-tag-input--invalid",t.hasErrors())("ng2-tag-input--focused",t.isInputFocused()),o["ɵɵproperty"]("ngClass",t.theme),o["ɵɵattribute"]("tabindex",-1),o["ɵɵadvance"](5),o["ɵɵproperty"]("ngForOf",t.items)("ngForTrackBy",t.trackBy),o["ɵɵadvance"](2),o["ɵɵproperty"]("inputText",t.inputText)("disabled",t.disable)("validators",t.validators)("asyncValidators",t.asyncValidators)("hidden",t.maxItemsReached)("placeholder",t.items.length?t.placeholder:t.secondaryPlaceholder)("inputClass",t.inputClass)("inputId",t.inputId)("tabindex",t.tabindex),o["ɵɵadvance"](4),o["ɵɵproperty"]("ngIf",o["ɵɵpipeBind1"](12,25,t.isProgressBarVisible$)),o["ɵɵadvance"](5),o["ɵɵproperty"]("ngIf",t.hasErrors()))},directives:[s.NgClass,s.NgForOf,ie,s.NgIf,se],pipes:[s.AsyncPipe],styles:['.dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 1px #323232}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]{background-color:#fff;display:inline-block;color:#555;vertical-align:middle;max-width:100%;height:42px;line-height:44px}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:none;box-shadow:none;outline:0;background-color:transparent;padding:0 6px;margin:0;width:auto;max-width:inherit}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-moz-placeholder{color:#777;opacity:1}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#777}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#777}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{border:none;box-shadow:none}.bootstrap3-info.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{box-shadow:inset 0 1px 1px rgba(0,0,0,.4);border:1px solid #ccc}.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;transition:.25s;padding:.25rem 0;min-height:32px;cursor:text;border-bottom:2px solid #efefef}.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{border-bottom:2px solid #2196f3}.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{border-bottom:2px solid #f44336}.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.ng2-tag-input[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin:.1em 0}.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.minimal.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:1px solid transparent}.minimal.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.minimal.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.minimal.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.minimal.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.minimal.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.dark.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:2px solid #444}.dark.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.dark.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.dark.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.dark.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.dark.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:2px solid #efefef}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.bootstrap.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.bootstrap.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{border-bottom:2px solid #0275d8}.bootstrap.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{border-bottom:2px solid #d9534f}.bootstrap.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.bootstrap.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;padding:4px;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);border-radius:4px}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.bootstrap3-info.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.bootstrap3-info.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{box-shadow:inset 0 1px 1px #d9534f;border-bottom:1px solid #d9534f}.bootstrap3-info.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.bootstrap3-info.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin:.1em 0}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.error-message[_ngcontent-%COMP%]{font-size:.8em;color:#f44336;margin:.5em 0 0}.bootstrap[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{color:#d9534f}.progress-bar[_ngcontent-%COMP%], .progress-bar[_ngcontent-%COMP%]:before{height:2px;width:100%;margin:0}.progress-bar[_ngcontent-%COMP%]{background-color:#2196f3;display:flex;position:absolute;bottom:0}.progress-bar[_ngcontent-%COMP%]:before{background-color:#82c4f8;content:"";-webkit-animation:2s cubic-bezier(.4,0,.2,1) infinite running-progress;animation:2s cubic-bezier(.4,0,.2,1) infinite running-progress}@-webkit-keyframes running-progress{0%{margin-left:0;margin-right:100%}50%{margin-left:25%;margin-right:0}100%{margin-left:100%;margin-right:0}}@keyframes running-progress{0%{margin-left:0;margin-right:100%}50%{margin-left:25%;margin-right:0}100%{margin-left:100%;margin-right:0}}tag[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;font-family:Roboto,"Helvetica Neue",sans-serif;font-weight:400;font-size:1em;letter-spacing:.05rem;color:#444;border-radius:16px;transition:.3s;margin:.1rem .3rem .1rem 0;padding:.08rem .45rem;height:32px;line-height:34px;background:#efefef;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;outline:0;cursor:pointer;position:relative}tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):focus{background:#2196f3;color:#fff;box-shadow:0 2px 3px 1px #d4d1d1}tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):active{background:#0d8aee;color:#fff;box-shadow:0 2px 3px 1px #d4d1d1}tag[_ngcontent-%COMP%]:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover{background:#e2e2e2;color:initial;box-shadow:0 2px 3px 1px #d4d1d1}tag.readonly[_ngcontent-%COMP%]{cursor:default}tag.readonly[_ngcontent-%COMP%]:focus, tag[_ngcontent-%COMP%]:focus{outline:0}tag.tag--editing[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ccc;cursor:text}.minimal[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;border-radius:0;background:#f9f9f9;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;outline:0;cursor:pointer;position:relative}.minimal[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):active, .minimal[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):focus{background:#d0d0d0;color:initial}.minimal[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover{background:#ececec}.minimal[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]{cursor:default}.minimal[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]:focus, .minimal[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{outline:0}.minimal[_ngcontent-%COMP%]   tag.tag--editing[_ngcontent-%COMP%]{cursor:text}.dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;color:#f9f9f9;border-radius:3px;background:#444;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;outline:0;cursor:pointer;position:relative}.dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):focus{background:#efefef;color:#444}.dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover{background:#2b2b2b;color:#f9f9f9}.dark[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]{cursor:default}.dark[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]:focus, .dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{outline:0}.dark[_ngcontent-%COMP%]   tag.tag--editing[_ngcontent-%COMP%]{cursor:text}.bootstrap[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;color:#f9f9f9;border-radius:.25rem;background:#0275d8;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;outline:0;cursor:pointer;position:relative}.bootstrap[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):active, .bootstrap[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):focus{background:#025aa5}.bootstrap[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover{background:#0267bf;color:#f9f9f9}.bootstrap[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]{cursor:default}.bootstrap[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]:focus, .bootstrap[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{outline:0}.bootstrap[_ngcontent-%COMP%]   tag.tag--editing[_ngcontent-%COMP%]{cursor:text}.bootstrap3-info[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;font-family:inherit;font-weight:400;font-size:95%;color:#fff;border-radius:.25em;background:#5bc0de;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden;outline:0;cursor:pointer;position:relative;padding:.25em .6em;text-align:center;white-space:nowrap}.bootstrap3-info[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):active, .bootstrap3-info[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(.readonly):not(.tag--editing):focus{background:#28a1c5}.bootstrap3-info[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:not(:focus):not(.tag--editing):not(:active):not(.readonly):hover{background:#46b8da;color:#fff}.bootstrap3-info[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]{cursor:default}.bootstrap3-info[_ngcontent-%COMP%]   tag.readonly[_ngcontent-%COMP%]:focus, .bootstrap3-info[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{outline:0}.bootstrap3-info[_ngcontent-%COMP%]   tag.tag--editing[_ngcontent-%COMP%]{cursor:text}[_nghost-%COMP%]{display:block}'],data:{animation:ce}}),i([(0,o.Input)()],e.prototype,"separatorKeys",void 0),i([(0,o.Input)()],e.prototype,"separatorKeyCodes",void 0),i([(0,o.Input)()],e.prototype,"placeholder",void 0),i([(0,o.Input)()],e.prototype,"secondaryPlaceholder",void 0),i([(0,o.Input)()],e.prototype,"maxItems",void 0),i([(0,o.Input)()],e.prototype,"validators",void 0),i([(0,o.Input)()],e.prototype,"asyncValidators",void 0),i([(0,o.Input)()],e.prototype,"onlyFromAutocomplete",void 0),i([(0,o.Input)()],e.prototype,"errorMessages",void 0),i([(0,o.Input)()],e.prototype,"theme",void 0),i([(0,o.Input)()],e.prototype,"onTextChangeDebounce",void 0),i([(0,o.Input)()],e.prototype,"inputId",void 0),i([(0,o.Input)()],e.prototype,"inputClass",void 0),i([(0,o.Input)()],e.prototype,"clearOnBlur",void 0),i([(0,o.Input)()],e.prototype,"hideForm",void 0),i([(0,o.Input)()],e.prototype,"addOnBlur",void 0),i([(0,o.Input)()],e.prototype,"addOnPaste",void 0),i([(0,o.Input)()],e.prototype,"pasteSplitPattern",void 0),i([(0,o.Input)()],e.prototype,"blinkIfDupe",void 0),i([(0,o.Input)()],e.prototype,"removable",void 0),i([(0,o.Input)()],e.prototype,"editable",void 0),i([(0,o.Input)()],e.prototype,"allowDupes",void 0),i([(0,o.Input)()],e.prototype,"modelAsStrings",void 0),i([(0,o.Input)()],e.prototype,"trimTags",void 0),i([(0,o.Input)()],e.prototype,"inputText",null),i([(0,o.Input)()],e.prototype,"ripple",void 0),i([(0,o.Input)()],e.prototype,"tabindex",void 0),i([(0,o.Input)()],e.prototype,"disable",void 0),i([(0,o.Input)()],e.prototype,"dragZone",void 0),i([(0,o.Input)()],e.prototype,"onRemoving",void 0),i([(0,o.Input)()],e.prototype,"onAdding",void 0),i([(0,o.Input)()],e.prototype,"animationDuration",void 0),i([(0,o.Output)()],e.prototype,"onAdd",void 0),i([(0,o.Output)()],e.prototype,"onRemove",void 0),i([(0,o.Output)()],e.prototype,"onSelect",void 0),i([(0,o.Output)()],e.prototype,"onFocus",void 0),i([(0,o.Output)()],e.prototype,"onBlur",void 0),i([(0,o.Output)()],e.prototype,"onTextChange",void 0),i([(0,o.Output)()],e.prototype,"onPaste",void 0),i([(0,o.Output)()],e.prototype,"onValidationError",void 0),i([(0,o.Output)()],e.prototype,"onTagEdited",void 0),i([(0,o.ContentChild)(le)],e.prototype,"dropdown",void 0),i([(0,o.ContentChildren)(o.TemplateRef,{descendants:!1})],e.prototype,"templates",void 0),i([(0,o.ViewChild)(ie)],e.prototype,"inputForm",void 0),i([(0,o.ViewChildren)(se)],e.prototype,"tags",void 0),i([(0,o.Output)()],e.prototype,"inputTextChange",void 0),i([(0,o.HostBinding)("attr.tabindex")],e.prototype,"tabindexAttr",null),e})(),pe=(()=>{let e=class{};return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=o["ɵɵdefineComponent"]({type:e,selectors:[["delete-icon"]],decls:7,vars:0,consts:[["height","16px","viewBox","0 0 32 32","width","16px"],["d","M17.459,16.014l8.239-8.194c0.395-0.391,0.395-1.024,0-1.414c-0.394-0.391-1.034-0.391-1.428,0  l-8.232,8.187L7.73,6.284c-0.394-0.395-1.034-0.395-1.428,0c-0.394,0.396-0.394,1.037,0,1.432l8.302,8.303l-8.332,8.286  c-0.394,0.391-0.394,1.024,0,1.414c0.394,0.391,1.034,0.391,1.428,0l8.325-8.279l8.275,8.276c0.394,0.395,1.034,0.395,1.428,0  c0.394-0.396,0.394-1.037,0-1.432L17.459,16.014z","fill","#121313"]],template:function(e,t){1&e&&(o["ɵɵelementStart"](0,"span"),o["ɵɵtext"](1,"\n    "),o["ɵɵnamespaceSVG"](),o["ɵɵelementStart"](2,"svg",0),o["ɵɵtext"](3,"\n        "),o["ɵɵelement"](4,"path",1),o["ɵɵtext"](5,"\n    "),o["ɵɵelementEnd"](),o["ɵɵtext"](6,"\n"),o["ɵɵelementEnd"]())},styles:[".dark[_ngcontent-%COMP%]   tag[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 1px #323232}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]{background-color:#fff;display:inline-block;color:#555;vertical-align:middle;max-width:100%;height:42px;line-height:44px}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{border:none;box-shadow:none;outline:0;background-color:transparent;padding:0 6px;margin:0;width:auto;max-width:inherit}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-moz-placeholder{color:#777;opacity:1}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:-ms-input-placeholder{color:#777}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   .form-control[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:#777}.ng2-tag-input.bootstrap3-info[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus{border:none;box-shadow:none}.bootstrap3-info.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{box-shadow:inset 0 1px 1px rgba(0,0,0,.4);border:1px solid #ccc}.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;transition:.25s;padding:.25rem 0;min-height:32px;cursor:text;border-bottom:2px solid #efefef}.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{border-bottom:2px solid #2196f3}.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{border-bottom:2px solid #f44336}.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.ng2-tag-input[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin:.1em 0}.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.minimal.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:1px solid transparent}.minimal.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.minimal.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.minimal.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.minimal.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.minimal.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.dark.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:2px solid #444}.dark.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.dark.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.dark.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.dark.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.dark.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;cursor:text;border-bottom:2px solid #efefef}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.bootstrap.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.bootstrap.ng2-tag-input.ng2-tag-input--focused[_ngcontent-%COMP%]{border-bottom:2px solid #0275d8}.bootstrap.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{border-bottom:2px solid #d9534f}.bootstrap.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.bootstrap.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.bootstrap.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]{display:block;flex-direction:row;flex-wrap:wrap;position:relative;padding:4px;cursor:text;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);border-radius:4px}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]:focus{outline:0}.bootstrap3-info.ng2-tag-input.ng2-tag-input--dropping[_ngcontent-%COMP%]{opacity:.7}.bootstrap3-info.ng2-tag-input.ng2-tag-input--invalid[_ngcontent-%COMP%]{box-shadow:inset 0 1px 1px #d9534f;border-bottom:1px solid #d9534f}.bootstrap3-info.ng2-tag-input.ng2-tag-input--loading[_ngcontent-%COMP%]{border:none}.bootstrap3-info.ng2-tag-input.ng2-tag-input--disabled[_ngcontent-%COMP%]{opacity:.5;cursor:not-allowed}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{margin:.1em 0}.bootstrap3-info.ng2-tag-input[_ngcontent-%COMP%]   .ng2-tags-container[_ngcontent-%COMP%]{flex-wrap:wrap;display:flex}.error-message[_ngcontent-%COMP%]{font-size:.8em;color:#f44336;margin:.5em 0 0}.bootstrap[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{color:#d9534f}delete-icon[_nghost-%COMP%]{width:20px;height:16px;transition:.15s;display:inline-block;text-align:right}delete-icon[_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#444}delete-icon[_nghost-%COMP%]   svg[_ngcontent-%COMP%]{vertical-align:bottom;height:34px}delete-icon[_nghost-%COMP%]:hover{transform:scale(1.5) translateY(-3px)}.dark[_nghost-%COMP%], .dark   [_nghost-%COMP%]{text-align:right}.dark[_nghost-%COMP%]   path[_ngcontent-%COMP%], .dark   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff}.dark[_nghost-%COMP%]   svg[_ngcontent-%COMP%], .dark   [_nghost-%COMP%]   svg[_ngcontent-%COMP%]{vertical-align:bottom;height:34px}.minimal[_nghost-%COMP%], .minimal   [_nghost-%COMP%]{text-align:right}.minimal[_nghost-%COMP%]   path[_ngcontent-%COMP%], .minimal   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#444}.minimal[_nghost-%COMP%]   svg[_ngcontent-%COMP%], .minimal   [_nghost-%COMP%]   svg[_ngcontent-%COMP%]{vertical-align:bottom;height:34px}.bootstrap[_nghost-%COMP%], .bootstrap   [_nghost-%COMP%]{text-align:right}.bootstrap[_nghost-%COMP%]   path[_ngcontent-%COMP%], .bootstrap   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff}.bootstrap[_nghost-%COMP%]   svg[_ngcontent-%COMP%], .bootstrap   [_nghost-%COMP%]   svg[_ngcontent-%COMP%]{vertical-align:bottom;height:34px}tag:active[_nghost-%COMP%]   path[_ngcontent-%COMP%], tag:active   [_nghost-%COMP%]   path[_ngcontent-%COMP%], tag:focus[_nghost-%COMP%]   path[_ngcontent-%COMP%], tag:focus   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff}.darktag:active[_nghost-%COMP%]   path[_ngcontent-%COMP%], .darktag:active   [_nghost-%COMP%]   path[_ngcontent-%COMP%], .darktag:focus[_nghost-%COMP%]   path[_ngcontent-%COMP%], .darktag:focus   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#000}.minimaltag:active[_nghost-%COMP%]   path[_ngcontent-%COMP%], .minimaltag:active   [_nghost-%COMP%]   path[_ngcontent-%COMP%], .minimaltag:focus[_nghost-%COMP%]   path[_ngcontent-%COMP%], .minimaltag:focus   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#000}.bootstraptag:active[_nghost-%COMP%]   path[_ngcontent-%COMP%], .bootstraptag:active   [_nghost-%COMP%]   path[_ngcontent-%COMP%], .bootstraptag:focus[_nghost-%COMP%]   path[_ngcontent-%COMP%], .bootstraptag:focus   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff}.bootstrap3-info[_nghost-%COMP%], .bootstrap3-info   [_nghost-%COMP%]{height:inherit}.bootstrap3-info[_nghost-%COMP%]   path[_ngcontent-%COMP%], .bootstrap3-info   [_nghost-%COMP%]   path[_ngcontent-%COMP%]{fill:#fff}"]}),e})();const he=new Z;let me=(()=>{let e=class{static withDefaults(e){he.setOptions(e)}};return e.ɵfac=function(t){return new(t||e)},e.ɵmod=o["ɵɵdefineNgModule"]({type:e}),e.ɵinj=o["ɵɵdefineInjector"]({providers:[J,{provide:a.COMPOSITION_BUFFER_MODE,useValue:!1}],imports:[[s.CommonModule,a.ReactiveFormsModule,a.FormsModule,I]]}),e})();"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode,("undefined"==typeof ngJitMode||ngJitMode)&&o["ɵɵsetNgModuleScope"](me,{declarations:function(){return[ue,pe,ie,se,V,le,re]},imports:function(){return[s.CommonModule,a.ReactiveFormsModule,a.FormsModule,I]},exports:function(){return[ue,pe,ie,se,V,le,re]}})},1135:(e,t,n)=>{"use strict";n.d(t,{x0:()=>I});var i=n(57826),r=n(6856);const o={UKNOWN:"Unknown"},a={CHROME:"Chrome",FIREFOX:"Firefox",SAFARI:"Safari",OPERA:"Opera",IE:"IE",MS_EDGE:"MS-Edge",MS_EDGE_CHROMIUM:"MS-Edge-Chromium",FB_MESSANGER:"FB-Messanger",SAMSUNG:"Samsung",UCBROWSER:"UC-Browser",UNKNOWN:o.UKNOWN},s={HTC:/HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\bEVO\b|T-Mobile G1|Z520m|Android [0-9.]+; Pixel/,NEXUS_PHONE:/Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6/,DELL:/Dell[;]? (Streak|Aero|Venue|Venue Pro|Flash|Smoke|Mini 3iX)|XCD28|XCD35|\b001DL\b|\b101DL\b|\bGS01\b/,MOTOROLA:new RegExp("Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|\n      A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|\n      MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|\n      ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|\n      WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|\n      XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|\n      XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b|XT1068|XT1092|XT1052"),SAMSUNG:new RegExp("\\bSamsung\\b|SM-G950F|SM-G955F|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|\n      GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|\n      GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|\n      GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|\n      GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|\n      GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|\n      GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|\n      GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|\n      GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|\n      GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|\n      GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|\n      GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|\n      GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|\n      GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|\n      GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|\n      GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|\n      GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|\n      GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|\n      SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|\n      SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|\n      SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|\n      SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|\n      SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|\n      SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|\n      SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|\n      SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|\n      SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|\n      SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|\n      SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|\n      SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|\n      SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|\n      SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|\n      SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|\n      SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|\n      SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|\n      SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|\n      SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|\n      SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|\n      SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|\n      SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|\n      SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|\n      SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|\n      SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|\n      SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|\n      SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|\n      SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|\n      SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|\n      SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|\n      SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|\n      GT-N7105|SCH-I535|SM-N900A|SM-N900T|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|\n      GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|\n      GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|\n      SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|\n      SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|\n      SM-N910C|SM-A310F|GT-I9190|SM-J500FN|SM-G903F|SM-J330F"),LG:new RegExp("\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|\n      LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|\n      C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|\n      LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|\n      VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|\n      MS323|M257)"),SONY:/SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533/,ASUS:/Asus.*Galaxy|PadFone.*Mobile/,NOKIA_LUMIA:/Lumia [0-9]{3,4}/,MICROMAX:/Micromax.*\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\b/,PALM:/PalmSource|Palm/,VERTU:/Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature/,PANTECH:new RegExp("PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|\n        IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|\n        IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|\n        CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|\n        P2000|P7040|P7000|C790"),FLY:/IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250/,WIKO:new RegExp("KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|\n        SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLIM|CINK SLIM 2|CINK +|\n        CINK KING|CINK PEAX|CINK SLIM|SUBLIM"),I_MOBILE:/i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)/,SIMVALLEY:/\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\b/,WOLFGANG:/AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q/,ALCATEL:/Alcatel/,NINTENDO:/Nintendo (3DS|Switch)/,AMOI:/Amoi/,INQ:/INQ/,VITA:/\bVita\b/,BLACKBERRY:/\bBlackBerry\b|\bBB10\b|rim[0-9]+/,FIREFOX_OS:/\bFirefox-OS\b/,IPHONE:/\biPhone\b/,iPod:/\biPod\b/,ANDROID:/\bAndroid\b/,WINDOWS_PHONE:/\bWindows-Phone\b/,GENERIC_PHONE:new RegExp("Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|\n        up.link|vodafone|\\bwap\\b|nokia|Nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser")},c={iPad:/iPad|iPad.*Mobile/,NexusTablet:/Android.*Nexus[\s]+(7|9|10)/,GoogleTablet:/Android.*Pixel C/,SamsungTablet:new RegExp("SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|\n        GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|\n        SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|\n        GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|\n        SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|\n        GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|\n        SHV-E230S|SHW-M180K|SHW-M180L|SM-T290|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|\n        SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|\n        GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|\n        SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|\n        GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|\n        SM-T510|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|\n        SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|\n        SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|\n        SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-T116BU|SM-P550|\n        SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|\n        SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|\n        SM-T719|SM-T813|SM-T819|SM-T580|SM-T590|SM-T355Y?|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587|SM-P350|\n        SM-P555M|SM-P355M|SM-T113NU|SM-T815Y|SM-T585|SM-T285|SM-T825|SM-W708|SM-T835|SM-P585Y"),Kindle:new RegExp("Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|\n        KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome        /[0-9.]+ (?!Mobile)"),SurfaceTablet:/Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)/,HPTablet:/HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10/,AsusTablet:new RegExp("^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|\n        TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|\n        Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|\n        ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|\n        ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z|\\bP027\\b|\\bP024\\b|\\bP00C\\b"),BlackBerryTablet:/PlayBook|RIM Tablet/,HTCtablet:/HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410/,MotorolaTablet:/xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617/,NookTablet:/Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2/,AcerTablet:new RegExp("Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|\n        W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\n        \\bA3-A20\\b|\\bA3-A30"),ToshibaTablet:/Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO/,LGTablet:/\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\b/,FujitsuTablet:/Android.*\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\b/,PrestigioTablet:new RegExp("PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|\n        PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|\n        PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|\n        PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|\n        PMT5887|PMT5001|PMT5002"),LenovoTablet:new RegExp("Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-850M|YT3-X90L|YT3-X90F|\n        YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|\n        B8000|B8080)(-|)(FL|F|HV|H|)|TB-X103F|TB-X304F|TB-X304L|TB-X704F|TB-8703F|Tab2A7-10F|TB2-X30L|TB-8504F"),DellTablet:/Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7/,YarvikTablet:new RegExp("Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|\n        TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|\n        TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|\n        TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|\n        TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b"),MedionTablet:/Android.*\bOYO\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB/,ArnovaTablet:/97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2/,IntensoTablet:/INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004/,IRUTablet:/M702pro/,MegafonTablet:/MegaFon V9|\bZTE V9\b|Android.*\bMT7A\b/,EbodaTablet:/E-Boda (Supreme|Impresspeed|Izzycomm|Essential)/,AllViewTablet:/Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)/,ArchosTablet:new RegExp("\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10|\n         Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b"),AinolTablet:/NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark/,NokiaLumiaTablet:/Lumia 2520/,SonyTablet:new RegExp("Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|\n        SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|\n        EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP641|SGP612|SOT31|SGP771|SGP611|\n        SGP612|SGP712"),PhilipsTablet:/\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\b/,CubeTablet:/Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT/,CobyTablet:new RegExp("MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|\n        MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010"),MIDTablet:new RegExp("M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|\n        MID125|MID810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|\n        MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10"),MSITablet:new RegExp("MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|\n        Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b"),SMiTTablet:/Android.*(\bMID\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)/,RockChipTablet:/Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A/,FlyTablet:/IQ310|Fly Vision/,bqTablet:new RegExp("Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|\n        Livingstone|Cervantes|Avant|Aquaris ([E|M]10|M8))|Maxwell.*Lite|Maxwell.*Plus"),HuaweiTablet:new RegExp("MediaPad|MediaPad 7 Youth|MediaPad T3 10|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|\n        S7-201|S7-Slim|M2-A01L|BAH-L09|BAH-W09|AGS-W09"),NecTablet:/\bN-06D|\bN-08D/,PantechTablet:/Pantech.*P4100/,BronchoTablet:/Broncho.*(N701|N708|N802|a710)/,VersusTablet:/TOUCHPAD.*[78910]|\bTOUCHTAB\b/,ZyncTablet:/z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900/,PositivoTablet:/TB07STA|TB10STA|TB07FTA|TB10FTA/,NabiTablet:/Android.*\bNabi/,KoboTablet:/Kobo Touch|\bK080\b|\bVox\b Build|\bArc\b Build/,DanewTablet:/DSlide.*\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\b/,TexetTablet:new RegExp("NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|\n        TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|\n        TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|\n        TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|\n        TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|\n        TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|\n        TB-436|TB-416|TB-146SE|TB-126SE"),PlaystationTablet:/Playstation.*(Portable|Vita)/,TrekstorTablet:/ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab/,PyleAudioTablet:/\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\b/,AdvanTablet:new RegExp("Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|\n        T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b"),DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|\n        Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:/Android.*\bG1\b(?!\))/,MicromaxTablet:/Funbook|Micromax.*\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\b/,KarbonnTablet:/Android.*\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\b/,AllFineTablet:/Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide/,PROSCANTablet:new RegExp("\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|\n        PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|\n        PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|\n        PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b"),YONESTablet:/BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026/,ChangJiaTablet:new RegExp("TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|\n        TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|\n        TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|\n        TPC10111|TPC10203|TPC10205|TPC10503"),GUTablet:/TX-A1301|TX-M9002|Q702|kf026/,PointOfViewTablet:new RegExp("TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|\n        TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|\n        TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|\n        TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10"),OvermaxTablet:new RegExp("OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|\n        MagicTab|Stream|TB-08|TB-09)|Qualcore 1027"),HCLTablet:/HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync/,DPSTablet:/DPS Dream 9|DPS Dual 7/,VistureTablet:/V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10/,CrestaTablet:/CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989/,MediatekTablet:/\bMT8125|MT8389|MT8135|MT8377\b/,ConcordeTablet:/Concorde([ ]+)?Tab|ConCorde ReadMan/,GoCleverTablet:new RegExp("GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|\n        TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|\n        GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|\n        TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|\n        TAB R104|TAB R83.3|TAB A1042"),ModecomTablet:new RegExp("FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|\n        FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|\n        FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003"),VoninoTablet:new RegExp("\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|\n        Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|\n        Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b"),ECSTablet:/V07OT2|TM105A|S10OT1|TR10CS1/,StorexTablet:/eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab/,VodafoneTablet:/SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497/,EssentielBTablet:/Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2/,RossMoorTablet:/RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711/,iMobileTablet:/i-mobile i-note/,TolinoTablet:/tolino tab [0-9.]+|tolino shine/,AudioSonicTablet:/\bC-22Q|T7-QC|T-17B|T-17P\b/,AMPETablet:/Android.* A78 /,SkkTablet:/Android.* (SKYPAD|PHOENIX|CYCLOPS)/,TecnoTablet:/TECNO P9|TECNO DP8D/,JXDTablet:new RegExp("Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|\n        S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|\n        P1000|P300|S18|S6600|S9100)\\b"),iJoyTablet:new RegExp("Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|\n        Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|\n        Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|\n        Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|\n        Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)"),FX2Tablet:/FX2 PAD7|FX2 PAD10/,XoroTablet:new RegExp("KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|\n        PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|\n        PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|\n        TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151"),ViewsonicTablet:/ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a/,VerizonTablet:/QTAQZ3|QTAIR7|QTAQTZ3|QTASUN1|QTASUN2|QTAXIA1/,OdysTablet:/LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\bXELIO\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10/,CaptivaTablet:/CAPTIVA PAD/,IconbitTablet:new RegExp("NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|\n        NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S"),TeclastTablet:new RegExp("T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\n        \\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\n        \\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\n        \\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\n        \\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\n        \\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\n        \\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\n        \\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\n        \\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi"),OndaTablet:new RegExp("\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|\n        V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|\n        V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|\n        Vi40)\\b[s]+|V10 \\b4G\\b"),JaytechTablet:/TPC-PA762/,BlaupunktTablet:/Endeavour 800NG|Endeavour 1010/,DigmaTablet:/\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\b/,EvolioTablet:/ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\bEvotab\b|\bNeura\b/,LavaTablet:/QPAD E704|\bIvoryS\b|E-TAB IVORY|\bE-TAB\b/,AocTablet:/MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712/,MpmanTablet:new RegExp("MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\n        \\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|\n        MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010"),CelkonTablet:/CT695|CT888|CT[\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\bCT-1\b/,WolderTablet:new RegExp("miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|\n        POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|\n        FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b"),MediacomTablet:"M-MPI10C3G|M-SP10EG|M-SP10EGP|M-SP10HXAH|M-SP7HXAH|M-SP10HXBH|M-SP8HXAH|M-SP8MXA",MiTablet:/\bMI PAD\b|\bHM NOTE 1W\b/,NibiruTablet:/Nibiru M1|Nibiru Jupiter One/,NexoTablet:/NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI/,LeaderTablet:new RegExp("TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|\n        TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100"),UbislateTablet:/UbiSlate[\s]?7C/,PocketBookTablet:/Pocketbook/,KocasoTablet:/\b(TB-1207)\b/,HisenseTablet:/\b(F5281|E2371)\b/,Hudl:/Hudl HT7S3|Hudl 2/,TelstraTablet:/T-Hub2/,GenericTablet:new RegExp("Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|\n        A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|\n        Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b|\\bQTAQZ3\\b|WVT101|TM1088|KT107")},l={BLACKBERRY:"Blackberry",FIREFOX_OS:"Firefox-OS",CHROME_BOOK:"Chrome-Book",WINDOWS_PHONE:"Windows-Phone",VITA:"Vita",PS4:"PS4",CHROMECAST:"Chromecast",APPLE_TV:"Apple-TV",GOOGLE_TV:"Google-TV",ANDROID:"Android",Tesla:"Tesla",iPad:"iPad",IPHONE:"iPhone",iPod:"iPod",UNKNOWN:o.UKNOWN,HTC:"HTC",NEXUS_PHONE:"Nexus Phone",NexusTablet:"Nexus Tablet",DELL:"Dell",MOTOROLA:"Motorola",SAMSUNG:"Samsung",LG:"LG",SONY:"Sony",ASUS:"Asus",NOKIA_LUMIA:"Nokia Lumia",MICROMAX:"Micromax",PALM:"Palm",VERTU:"Vertu",PANTECH:"PANTECH",FLY:"Fly",WIKO:"WIKO",I_MOBILE:"i-mobile",SIMVALLEY:"Simvalley",WOLFGANG:"Wolfgang",ALCATEL:"Alcatel",NINTENDO:"Nintendo",AMOI:"Amoi",INQ:"INQ",GENERIC_PHONE:"Generic Phone"},d={WINDOWS:"Windows",MAC:"Mac",IOS:"iOS",ANDROID:"Android",LINUX:"Linux",UNIX:"Unix",FIREFOX_OS:"Firefox-OS",CHROME_OS:"Chrome-OS",WINDOWS_PHONE:"Windows-Phone",UNKNOWN:o.UKNOWN},u={WINDOWS_3_11:"windows-3-11",WINDOWS_95:"windows-95",WINDOWS_ME:"windows-me",WINDOWS_98:"windows-98",WINDOWS_CE:"windows-ce",WINDOWS_2000:"windows-2000",WINDOWS_XP:"windows-xp",WINDOWS_SERVER_2003:"windows-server-2003",WINDOWS_VISTA:"windows-vista",WINDOWS_7:"windows-7",WINDOWS_8_1:"windows-8-1",WINDOWS_8:"windows-8",WINDOWS_10:"windows-10",WINDOWS_PHONE_7_5:"windows-phone-7-5",WINDOWS_PHONE_8_1:"windows-phone-8-1",WINDOWS_PHONE_10:"windows-phone-10",WINDOWS_NT_4_0:"windows-nt-4-0",MACOSX_15:"mac-os-x-15",MACOSX_14:"mac-os-x-14",MACOSX_13:"mac-os-x-13",MACOSX_12:"mac-os-x-12",MACOSX_11:"mac-os-x-11",MACOSX_10:"mac-os-x-10",MACOSX_9:"mac-os-x-9",MACOSX_8:"mac-os-x-8",MACOSX_7:"mac-os-x-7",MACOSX_6:"mac-os-x-6",MACOSX_5:"mac-os-x-5",MACOSX_4:"mac-os-x-4",MACOSX_3:"mac-os-x-3",MACOSX_2:"mac-os-x-2",MACOSX:"mac-os-x",iOS:"iOS",UNKNOWN:o.UKNOWN.toLowerCase()},p=Object.assign(Object.assign(Object.assign({},s),c),{FIREFOX_OS:{and:[/\bFirefox\b/,/\bMobile\b/]},CHROME_BOOK:/\bCrOS\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,CHROMECAST:/\bCrKey\b/,APPLE_TV:/^iTunes-AppleTV\/4.1$/,GOOGLE_TV:/\bGoogleTV\b/,Tesla:/Tesla\/([0-9]{4}.[0-9]{1,2}.?[0-9]{0,2}.?[0-9]{0,2})-(.{7})/}),h={WINDOWS_3_11:/Win16/,WINDOWS_95:/(Windows 95|Win95|Windows_95)/,WINDOWS_ME:/(Win 9x 4.90|Windows ME)/,WINDOWS_98:/(Windows 98|Win98)/,WINDOWS_CE:/Windows CE/,WINDOWS_2000:/(Windows NT 5.0|Windows 2000)/,WINDOWS_XP:/(Windows NT 5.1|Windows XP)/,WINDOWS_SERVER_2003:/Windows NT 5.2/,WINDOWS_VISTA:/Windows NT 6.0/,WINDOWS_7:/(Windows 7|Windows NT 6.1)/,WINDOWS_8_1:/(Windows 8.1|Windows NT 6.3)/,WINDOWS_8:/(Windows 8|Windows NT 6.2)/,WINDOWS_10:/(Windows NT 10.0)/,WINDOWS_PHONE_7_5:/(Windows Phone OS 7.5)/,WINDOWS_PHONE_8_1:/(Windows Phone 8.1)/,WINDOWS_PHONE_10:/(Windows Phone 10)/,WINDOWS_NT_4_0:{and:[/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/,{not:/Windows NT 10.0/}]},MACOSX:/(MAC OS X\s*[^ 0-9])/,MACOSX_3:/(Darwin 10.3|Mac OS X 10.3)/,MACOSX_4:/(Darwin 10.4|Mac OS X 10.4)/,MACOSX_5:/(Mac OS X 10.5)/,MACOSX_6:/(Mac OS X 10.6)/,MACOSX_7:/(Mac OS X 10.7)/,MACOSX_8:/(Mac OS X 10.8)/,MACOSX_9:/(Mac OS X 10.9)/,MACOSX_10:/(Mac OS X 10.10)/,MACOSX_11:/(Mac OS X 10.11)/,MACOSX_12:/(Mac OS X 10.12)/,MACOSX_13:/(Mac OS X 10.13)/,MACOSX_14:/(Mac OS X 10.14)/,MACOSX_15:/(Mac OS X 10.15)/,iOS:/(iPhone OS\s*[0-9_]+)/},m={CHROME:[/\bChrome\/([\d\.]+)\b/,/\bCriOS\/([\d\.]+)\b/,/\bHeadlessChrome\/([\d\.]+)\b/],FIREFOX:[/\bFirefox\/([\d\.]+)\b/,/\bFxiOS\/([\d\.]+)\b/],SAFARI:[/\bVersion\/([\d\.]+)\b/,/\bSafari\/([\d\.]+)\b/],OPERA:[/\bVersion\/([\d\.]+)\b/,/\bOPR\/([\d\.]+)\b/],IE:[/\bMSIE ([\d\.]+\w?)\b/,/\brv:([\d\.]+\w?)\b/],MS_EDGE:/\bEdg(?:e|A|iOS)\/([\d\.]+)\b/,MS_EDGE_CHROMIUM:/\bEdg\/([\d\.]+)\b/,SAMSUNG:/\bSamsungBrowser\/([\d\.]+)\b/,UCBROWSER:/\bUCBrowser\/([\d\.]+)\b/},f=(e,t)=>(e[t]=h[t],e),g=Object.keys(h).reduce(f,{}),v=(e,t)=>(e[a[t]]=m[t],e),b=Object.keys(m).reduce(v,{});var y=Object.freeze({__proto__:null,GENERAL:o,BROWSERS:a,MOBILES_RE:s,TABLETS_RE:c,DEVICES:l,OS:d,OS_VERSIONS:u,OS_RE:{WINDOWS:{and:[{or:[/\bWindows|(Win\d\d)\b/,/\bWin 9x\b/]},{not:/\bWindows Phone\b/}]},MAC:{and:[/\bMac OS\b/,{not:{or:[/\biPhone\b/,/\biPad\b/,/\biPod\b/,/\bWindows Phone\b/]}}]},IOS:{and:[{or:[/\biPad\b/,/\biPhone\b/,/\biPod\b/]},{not:/\bWindows Phone\b/}]},ANDROID:{and:[/\bAndroid\b/,{not:/\bWindows Phone\b/}]},LINUX:/\bLinux\b/,UNIX:/\bUNIX\b/,FIREFOX_OS:{and:[/\bFirefox\b/,/Mobile\b/]},CHROME_OS:/\bCrOS\b/,WINDOWS_PHONE:{or:[/\bIEMobile\b/,/\bWindows Phone\b/]},PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/},BROWSERS_RE:{CHROME:{and:[{or:[/\bChrome\b/,/\bCriOS\b/,/\bHeadlessChrome\b/]},{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},FIREFOX:{or:[/\bFirefox\b/,/\bFxiOS\b/]},SAFARI:{and:[/^((?!CriOS).)*\Safari\b.*$/,{not:{or:[/\bOPR\b/,/\bEdg(e|A|iOS)\b/,/\bEdg\/\b/,/\bWindows Phone\b/,/\bSamsungBrowser\b/,/\bUCBrowser\b/]}}]},OPERA:{or:[/Opera\b/,/\bOPR\b/]},IE:{or:[/\bMSIE\b/,/\bTrident\b/,/^Mozilla\/5\.0 \(Windows NT 10\.0; Win64; x64\)$/]},MS_EDGE:{or:[/\bEdg(e|A|iOS)\b/]},MS_EDGE_CHROMIUM:/\bEdg\/\b/,PS4:/\bMozilla\/5.0 \(PlayStation 4\b/,VITA:/\bMozilla\/5.0 \(Play(S|s)tation Vita\b/,FB_MESSANGER:/\bFBAN\/MessengerForiOS\b/,SAMSUNG:/\bSamsungBrowser\b/,UCBROWSER:/\bUCBrowser\b/},DEVICES_RE:p,OS_VERSIONS_RE_MAP:h,BROWSER_VERSIONS_RE_MAP:m,OS_VERSIONS_RE:g,BROWSER_VERSIONS_RE:b,ɵ0:f,ɵ1:v});class S{constructor(){}test(e,t){return"string"==typeof t&&(t=new RegExp(t)),t instanceof RegExp?t.test(e):t&&Array.isArray(t.and)?t.and.every((t=>this.test(e,t))):t&&Array.isArray(t.or)?t.or.some((t=>this.test(e,t))):!(!t||!t.not||this.test(e,t.not))}exec(e,t){return"string"==typeof t&&(t=new RegExp(t)),t instanceof RegExp?t.exec(e):t&&Array.isArray(t)?t.reduce(((t,n)=>t||this.exec(e,n)),null):null}}var C=(()=>(function(e){e.Mobile="mobile",e.Tablet="tablet",e.Desktop="desktop",e.Unknown="unknown"}(C||(C={})),C))(),x=(()=>(function(e){e.Portrait="portrait",e.Landscape="landscape"}(x||(x={})),x))();let I=(()=>{class e{constructor(e){this.platformId=e,this.ua="",this.userAgent="",this.os="",this.browser="",this.device="",this.os_version="",this.browser_version="",this.reTree=new S,this.deviceType="",this.orientation="",(0,r.isPlatformBrowser)(this.platformId)&&"undefined"!=typeof window&&(this.userAgent=window.navigator.userAgent),this.setDeviceInfo(this.userAgent)}setDeviceInfo(e=this.userAgent){e!==this.userAgent&&(this.userAgent=e);const t=[{const:"OS",prop:"os"},{const:"BROWSERS",prop:"browser"},{const:"DEVICES",prop:"device"},{const:"OS_VERSIONS",prop:"os_version"}];if(t.forEach((t=>{this[t.prop]=Object.keys(y[t.const]).reduce(((n,i)=>"device"===y[t.const][i]&&(0,r.isPlatformBrowser)(this.platformId)&&(this.reTree.test(this.userAgent,c.iPad)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)?(n[y[t.const][i]]="iPad",Object):(n[y[t.const][i]]=this.reTree.test(e,y[`${t.const}_RE`][i]),n)),{})})),t.forEach((e=>{this[e.prop]=Object.keys(y[e.const]).map((t=>y[e.const][t])).reduce(((t,n)=>"device"===e.prop&&t===y[e.const].ANDROID?this[e.prop][n]?n:t:t===y[e.const].UNKNOWN&&this[e.prop][n]?n:t),y[e.const].UNKNOWN)})),this.browser_version="0",this.browser!==a.UNKNOWN){const t=b[this.browser],n=this.reTree.exec(e,t);n&&(this.browser_version=n[1])}"undefined"!=typeof window&&window.matchMedia?this.orientation=window.matchMedia("(orientation: landscape)").matches?x.Landscape:x.Portrait:this.orientation=o.UKNOWN,this.deviceType=this.isTablet()?C.Tablet:this.isMobile(this.userAgent)?C.Mobile:this.isDesktop(this.userAgent)?C.Desktop:C.Unknown}getDeviceInfo(){return{userAgent:this.userAgent,os:this.os,browser:this.browser,device:this.device,os_version:this.os_version,browser_version:this.browser_version,deviceType:this.deviceType,orientation:this.orientation}}isMobile(e=this.userAgent){return!this.isTablet(e)&&!!Object.keys(s).find((t=>this.reTree.test(e,s[t])))}isTablet(e=this.userAgent){return!(!(0,r.isPlatformBrowser)(this.platformId)||!(this.reTree.test(this.userAgent,c.iPad)||"undefined"!=typeof navigator&&"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1))||!!Object.keys(c).find((t=>!!this.reTree.test(e,c[t])))}isDesktop(e=this.userAgent){const t=[l.PS4,l.CHROME_BOOK,l.UNKNOWN];return(this.device!==l.UNKNOWN||!this.isMobile(e)&&!this.isTablet(e))&&t.indexOf(this.device)>-1}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=(0,i["ɵɵdefineInjectable"])({factory:function(){return new e((0,i["ɵɵinject"])(i.PLATFORM_ID))},token:e,providedIn:"root"}),e})();"undefined"==typeof ngDevMode||ngDevMode},38026:(e,t,n)=>{var i=n(83006);e.exports=i((function(e,t,n){var i={};for(var r in n)i[r]=n[r];return i[e]=t,i}))},10205:(e,t,n)=>{var i=n(72265),r=n(97562);e.exports=r((function(e,t){return i(e.length,(function(){return e.apply(t,arguments)}))}))},24426:(e,t,n)=>{var i=n(26655),r=n(10771);e.exports=r((function(e){return null!=e&&"function"==typeof e.clone?e.clone():i(e,[],[],!0)}))},6884:(e,t,n)=>{var i=n(97562),r=n(50636),o=n(98332),a=n(10779);e.exports=i((function(e,t){if(null==e||!o(e.concat))throw new TypeError(a(e)+' does not have a method named "concat"');if(r(e)&&!r(t))throw new TypeError(a(t)+" is not an array");return e.concat(t)}))},61211:(e,t,n)=>{var i=n(72265),r=n(10771),o=n(97562),a=n(82371);e.exports=o((function(e,t){return 1===e?r(t):i(e,a(e,[],t))}))},16071:(e,t,n)=>{var i=n(97562);e.exports=i((function(e,t){return null==t||t!=t?e:t}))},2593:(e,t,n)=>{var i=n(10771),r=n(76844),o=n(50636),a=n(43146),s=n(1879);e.exports=i((function(e){return null!=e&&"function"==typeof e.empty?e.empty():null!=e&&null!=e.constructor&&"function"==typeof e.constructor.empty?e.constructor.empty():o(e)?[]:s(e)?"":a(e)?{}:r(e)?function(){return arguments}():void 0}))},65299:(e,t,n)=>{var i=n(97562),r=n(4181);e.exports=i((function(e,t){return r(e,t,[],[])}))},9638:(e,t,n)=>{var i=n(97562),r=n(67072),o=n(15892),a=n(43146),s=n(54797),c=n(22416),l=n(6806);e.exports=i(r(["filter"],c,(function(e,t){return a(t)?s((function(n,i){return e(t[i])&&(n[i]=t[i]),n}),{},l(t)):o(e,t)})))},35944:(e,t,n)=>{var i=n(79193),r=n(97562);e.exports=r(i("forEach",(function(e,t){for(var n=t.length,i=0;i<n;)e(t[i]),i+=1;return t})))},12546:(e,t,n)=>{var i=n(97562);e.exports=i((function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}))},14710:(e,t,n)=>{var i=n(10771),r=n(19919);e.exports=i(r)},42560:(e,t,n)=>{var i=n(48570);e.exports=function(){function e(){this._nativeSet="function"==typeof Set?new Set:null,this._items={}}function t(e,t,n){var r,o=typeof e;switch(o){case"string":case"number":return 0===e&&1/e==-1/0?!!n._items["-0"]||(t&&(n._items["-0"]=!0),!1):null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):o in n._items?e in n._items[o]||(t&&(n._items[o][e]=!0),!1):(t&&(n._items[o]={},n._items[o][e]=!0),!1);case"boolean":if(o in n._items){var a=e?1:0;return!!n._items[o][a]||(t&&(n._items[o][a]=!0),!1)}return t&&(n._items[o]=e?[!1,!0]:[!0,!1]),!1;case"function":return null!==n._nativeSet?t?(r=n._nativeSet.size,n._nativeSet.add(e),n._nativeSet.size===r):n._nativeSet.has(e):o in n._items?!!i(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1);case"undefined":return!!n._items[o]||(t&&(n._items[o]=!0),!1);case"object":if(null===e)return!!n._items.null||(t&&(n._items.null=!0),!1);default:return(o=Object.prototype.toString.call(e))in n._items?!!i(e,n._items[o])||(t&&n._items[o].push(e),!1):(t&&(n._items[o]=[e]),!1)}}return e.prototype.add=function(e){return!t(e,!0,this)},e.prototype.has=function(e){return t(e,!1,this)},e}()},72265:e=>{e.exports=function(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,i){return t.apply(this,arguments)};case 4:return function(e,n,i,r){return t.apply(this,arguments)};case 5:return function(e,n,i,r,o){return t.apply(this,arguments)};case 6:return function(e,n,i,r,o,a){return t.apply(this,arguments)};case 7:return function(e,n,i,r,o,a,s){return t.apply(this,arguments)};case 8:return function(e,n,i,r,o,a,s,c){return t.apply(this,arguments)};case 9:return function(e,n,i,r,o,a,s,c,l){return t.apply(this,arguments)};case 10:return function(e,n,i,r,o,a,s,c,l,d){return t.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}},14905:e=>{e.exports=function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}},28284:(e,t,n)=>{var i=n(62049);e.exports="function"==typeof Object.assign?Object.assign:i},79193:(e,t,n)=>{var i=n(50636);e.exports=function(e,t){return function(){var n=arguments.length;if(0===n)return t();var r=arguments[n-1];return i(r)||"function"!=typeof r[e]?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}},26655:(e,t,n)=>{var i=n(82118),r=n(52765);e.exports=function e(t,n,o,a){var s=function(i){for(var r=n.length,s=0;s<r;){if(t===n[s])return o[s];s+=1}for(var c in n[s+1]=t,o[s+1]=i,t)i[c]=a?e(t[c],n,o,!0):t[c];return i};switch(r(t)){case"Object":return s({});case"Array":return s([]);case"Date":return new Date(t.valueOf());case"RegExp":return i(t);default:return t}}},82118:e=>{e.exports=function(e){return new RegExp(e.source,(e.global?"g":"")+(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.sticky?"y":"")+(e.unicode?"u":""))}},86351:e=>{e.exports=function(e){return function(){return!e.apply(this,arguments)}}},48570:(e,t,n)=>{var i=n(32356);e.exports=function(e,t){return i(t,e,0)>=0}},10771:(e,t,n)=>{var i=n(65376);e.exports=function(e){return function t(n){return 0===arguments.length||i(n)?t:e.apply(this,arguments)}}},97562:(e,t,n)=>{var i=n(10771),r=n(65376);e.exports=function(e){return function t(n,o){switch(arguments.length){case 0:return t;case 1:return r(n)?t:i((function(t){return e(n,t)}));default:return r(n)&&r(o)?t:r(n)?i((function(t){return e(t,o)})):r(o)?i((function(t){return e(n,t)})):e(n,o)}}}},83006:(e,t,n)=>{var i=n(10771),r=n(97562),o=n(65376);e.exports=function(e){return function t(n,a,s){switch(arguments.length){case 0:return t;case 1:return o(n)?t:r((function(t,i){return e(n,t,i)}));case 2:return o(n)&&o(a)?t:o(n)?r((function(t,n){return e(t,a,n)})):o(a)?r((function(t,i){return e(n,t,i)})):i((function(t){return e(n,a,t)}));default:return o(n)&&o(a)&&o(s)?t:o(n)&&o(a)?r((function(t,n){return e(t,n,s)})):o(n)&&o(s)?r((function(t,n){return e(t,a,n)})):o(a)&&o(s)?r((function(t,i){return e(n,t,i)})):o(n)?i((function(t){return e(t,a,s)})):o(a)?i((function(t){return e(n,t,s)})):o(s)?i((function(t){return e(n,a,t)})):e(n,a,s)}}}},82371:(e,t,n)=>{var i=n(72265),r=n(65376);e.exports=function e(t,n,o){return function(){for(var a=[],s=0,c=t,l=0;l<n.length||s<arguments.length;){var d;l<n.length&&(!r(n[l])||s>=arguments.length)?d=n[l]:(d=arguments[s],s+=1),a[l]=d,r(d)||(c-=1),l+=1}return c<=0?o.apply(this,a):i(c,e(t,a,o))}}},67072:(e,t,n)=>{var i=n(50636),r=n(64374);e.exports=function(e,t,n){return function(){if(0===arguments.length)return n();var o=Array.prototype.slice.call(arguments,0),a=o.pop();if(!i(a)){for(var s=0;s<e.length;){if("function"==typeof a[e[s]])return a[e[s]].apply(a,o);s+=1}if(r(a)){var c=t.apply(null,o);return c(a)}}return n.apply(this,arguments)}}},4181:(e,t,n)=>{var i=n(14905),r=n(5726),o=n(27640),a=n(12546),s=n(6806),c=n(52765);e.exports=function e(t,n,l,d){if(a(t,n))return!0;if(c(t)!==c(n))return!1;if(null==t||null==n)return!1;if("function"==typeof t.equals||"function"==typeof n.equals)return"function"==typeof t.equals&&t.equals(n)&&"function"==typeof n.equals&&n.equals(t);switch(c(t)){case"Arguments":case"Array":case"Object":if("function"==typeof t.constructor&&"Promise"===r(t.constructor))return t===n;break;case"Boolean":case"Number":case"String":if(typeof t!=typeof n||!a(t.valueOf(),n.valueOf()))return!1;break;case"Date":if(!a(t.valueOf(),n.valueOf()))return!1;break;case"Error":return t.name===n.name&&t.message===n.message;case"RegExp":if(t.source!==n.source||t.global!==n.global||t.ignoreCase!==n.ignoreCase||t.multiline!==n.multiline||t.sticky!==n.sticky||t.unicode!==n.unicode)return!1;break;case"Map":case"Set":if(!e(i(t.entries()),i(n.entries()),l,d))return!1;break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var u=s(t);if(u.length!==s(n).length)return!1;for(var p=l.length-1;p>=0;){if(l[p]===t)return d[p]===n;p-=1}for(l.push(t),d.push(n),p=u.length-1;p>=0;){var h=u[p];if(!o(h,n)||!e(n[h],t[h],l,d))return!1;p-=1}return l.pop(),d.pop(),!0}},15892:e=>{e.exports=function(e,t){for(var n=0,i=t.length,r=[];n<i;)e(t[n])&&(r[r.length]=t[n]),n+=1;return r}},5726:e=>{e.exports=function(e){var t=String(e).match(/^function (\w*)/);return null==t?"":t[1]}},27640:e=>{e.exports=function(e,t){return Object.prototype.hasOwnProperty.call(t,e)}},19919:e=>{e.exports=function(e){return e}},32356:(e,t,n)=>{var i=n(65299);e.exports=function(e,t,n){var r,o;if("function"==typeof e.indexOf)switch(typeof t){case"number":if(0===t){for(r=1/t;n<e.length;){if(0===(o=e[n])&&1/o===r)return n;n+=1}return-1}if(t!=t){for(;n<e.length;){if("number"==typeof(o=e[n])&&o!=o)return n;n+=1}return-1}return e.indexOf(t,n);case"string":case"boolean":case"function":case"undefined":return e.indexOf(t,n);case"object":if(null===t)return e.indexOf(t,n)}for(;n<e.length;){if(i(e[n],t))return n;n+=1}return-1}},76844:(e,t,n)=>{var i=n(27640);e.exports=function(){var e=Object.prototype.toString;return"[object Arguments]"===e.call(arguments)?function(t){return"[object Arguments]"===e.call(t)}:function(e){return i("callee",e)}}()},50636:e=>{e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&"[object Array]"===Object.prototype.toString.call(e)}},98332:e=>{e.exports=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},43146:e=>{e.exports=function(e){return"[object Object]"===Object.prototype.toString.call(e)}},65376:e=>{e.exports=function(e){return null!=e&&"object"==typeof e&&!0===e["@@functional/placeholder"]}},1879:e=>{e.exports=function(e){return"[object String]"===Object.prototype.toString.call(e)}},64374:e=>{e.exports=function(e){return"function"==typeof e["@@transducer/step"]}},57001:e=>{e.exports=function(e,t){for(var n=0,i=t.length,r=Array(i);n<i;)r[n]=e(t[n]),n+=1;return r}},62049:(e,t,n)=>{var i=n(27640);e.exports=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1,r=arguments.length;n<r;){var o=arguments[n];if(null!=o)for(var a in o)i(a,o)&&(t[a]=o[a]);n+=1}return t}},71186:e=>{e.exports=function(e,t){return function(){return t.call(this,e.apply(this,arguments))}}},5941:e=>{e.exports=function(e){return'"'+e.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0").replace(/"/g,'\\"')+'"'}},54797:(e,t,n)=>{var i=n(60035),r=n(10205),o=n(68444);e.exports=function(){function e(e,t,n){for(var i=n.next();!i.done;){if((t=e["@@transducer/step"](t,i.value))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}i=n.next()}return e["@@transducer/result"](t)}var t="undefined"!=typeof Symbol?Symbol.iterator:"@@iterator";return function(n,a,s){if("function"==typeof n&&(n=i(n)),o(s))return function(e,t,n){for(var i=0,r=n.length;i<r;){if((t=e["@@transducer/step"](t,n[i]))&&t["@@transducer/reduced"]){t=t["@@transducer/value"];break}i+=1}return e["@@transducer/result"](t)}(n,a,s);if("function"==typeof s.reduce)return function(e,t,n){return e["@@transducer/result"](n.reduce(r(e["@@transducer/step"],e),t))}(n,a,s);if(null!=s[t])return e(n,a,s[t]());if("function"==typeof s.next)return e(n,a,s);throw new TypeError("reduce: list must be array or iterable")}}()},67196:e=>{var t;e.exports=(t=function(e){return(e<10?"0":"")+e},"function"==typeof Date.prototype.toISOString?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"})},34412:(e,t,n)=>{var i=n(48570),r=n(57001),o=n(5941),a=n(67196),s=n(6806),c=n(60903);e.exports=function e(t,n){var l=function(r){var o=n.concat([t]);return i(r,o)?"<Circular>":e(r,o)},d=function(e,t){return r((function(t){return o(t)+": "+l(e[t])}),t.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+r(l,t).join(", ")+"))";case"[object Array]":return"["+r(l,t).concat(d(t,c((function(e){return/^\d+$/.test(e)}),s(t)))).join(", ")+"]";case"[object Boolean]":return"object"==typeof t?"new Boolean("+l(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?l(NaN):o(a(t)))+")";case"[object Null]":return"null";case"[object Number]":return"object"==typeof t?"new Number("+l(t.valueOf())+")":1/t==-1/0?"-0":t.toString(10);case"[object String]":return"object"==typeof t?"new String("+l(t.valueOf())+")":o(t);case"[object Undefined]":return"undefined";default:if("function"==typeof t.toString){var u=t.toString();if("[object Object]"!==u)return u}return"{"+d(t,s(t)).join(", ")+"}"}}},4597:e=>{e.exports={init:function(){return this.xf["@@transducer/init"]()},result:function(e){return this.xf["@@transducer/result"](e)}}},22416:(e,t,n)=>{var i=n(97562),r=n(4597);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=r.init,e.prototype["@@transducer/result"]=r.result,e.prototype["@@transducer/step"]=function(e,t){return this.f(t)?this.xf["@@transducer/step"](e,t):e},i((function(t,n){return new e(t,n)}))}()},61640:(e,t,n)=>{var i=n(97562),r=n(4597);e.exports=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype["@@transducer/init"]=r.init,e.prototype["@@transducer/result"]=r.result,e.prototype["@@transducer/step"]=function(e,t){return this.xf["@@transducer/step"](e,this.f(t))},i((function(t,n){return new e(t,n)}))}()},60035:e=>{e.exports=function(){function e(e){this.f=e}return e.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},e.prototype["@@transducer/result"]=function(e){return e},e.prototype["@@transducer/step"]=function(e,t){return this.f(e,t)},function(t){return new e(t)}}()},68444:(e,t,n)=>{var i=n(10771),r=n(50636),o=n(1879);e.exports=i((function(e){return!!r(e)||!!e&&"object"==typeof e&&!o(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1))}))},92920:(e,t,n)=>{var i=n(10771),r=n(2593),o=n(65299);e.exports=i((function(e){return null!=e&&o(e,r(e))}))},9293:(e,t,n)=>{var i=n(10771);e.exports=i((function(e){return null==e}))},6806:(e,t,n)=>{var i,r,o,a,s=n(10771),c=n(27640),l=n(76844);e.exports=(i=!{toString:null}.propertyIsEnumerable("toString"),r=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],o=function(){"use strict";return arguments.propertyIsEnumerable("length")}(),a=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},"function"!=typeof Object.keys||o?s((function(e){if(Object(e)!==e)return[];var t,n,s=[],d=o&&l(e);for(t in e)!c(t,e)||d&&"length"===t||(s[s.length]=t);if(i)for(n=r.length-1;n>=0;)c(t=r[n],e)&&!a(s,t)&&(s[s.length]=t),n-=1;return s})):s((function(e){return Object(e)!==e?[]:Object.keys(e)})))},24287:(e,t,n)=>{var i=n(97562),r=n(67072),o=n(57001),a=n(54797),s=n(61640),c=n(61211),l=n(6806);e.exports=i(r(["map"],s,(function(e,t){switch(Object.prototype.toString.call(t)){case"[object Function]":return c(t.length,(function(){return e.call(this,t.apply(this,arguments))}));case"[object Object]":return a((function(n,i){return n[i]=e(t[i]),n}),{},l(t));default:return o(e,t)}})))},12473:(e,t,n)=>{var i=n(28284),r=n(97562);e.exports=r((function(e,t){return i({},e,t)}))},16465:(e,t,n)=>{var i=n(83006),r=n(80864);e.exports=i((function(e,t,n){return r((function(t,n,i){return e(n,i)}),t,n)}))},80864:(e,t,n)=>{var i=n(83006),r=n(27640);e.exports=i((function(e,t,n){var i,o={};for(i in t)r(i,t)&&(o[i]=r(i,n)?e(i,t[i],n[i]):t[i]);for(i in n)r(i,n)&&!r(i,o)&&(o[i]=n[i]);return o}))},76053:(e,t,n)=>{var i=n(10771);e.exports=i((function(e){return!e}))},63253:(e,t,n)=>{var i=n(97562);e.exports=i((function(e,t){for(var n=t,i=0;i<e.length;){if(null==n)return;n=n[e[i]],i+=1}return n}))},54503:(e,t,n)=>{var i=n(97562);e.exports=i((function(e,t){for(var n={},i=0;i<e.length;)e[i]in t&&(n[e[i]]=t[e[i]]),i+=1;return n}))},50680:(e,t,n)=>{var i=n(72265),r=n(71186),o=n(62892),a=n(27834);e.exports=function(){if(0===arguments.length)throw new Error("pipe requires at least one argument");return i(arguments[0].length,o(r,arguments[0],a(arguments)))}},25695:(e,t,n)=>{var i=n(97562),r=n(24287),o=n(12495);e.exports=i((function(e,t){return r(o(e),t)}))},12495:(e,t,n)=>{var i=n(97562);e.exports=i((function(e,t){return t[e]}))},62892:(e,t,n)=>{var i=n(83006),r=n(54797);e.exports=i(r)},60903:(e,t,n)=>{var i=n(86351),r=n(97562),o=n(9638);e.exports=r((function(e,t){return o(i(e),t)}))},71923:(e,t,n)=>{var i=n(83006);e.exports=i((function(e,t,n){var i=Array.prototype.slice.call(n,0);return i.splice(e,t),i}))},49765:(e,t,n)=>{var i=n(83006);e.exports=i((function(e,t,n){return n.replace(e,t)}))},41650:(e,t,n)=>{var i=n(79193),r=n(83006);e.exports=r(i("slice",(function(e,t,n){return Array.prototype.slice.call(n,e,t)})))},27834:(e,t,n)=>{var i=n(79193),r=n(10771),o=n(41650);e.exports=r(i("tail",o(1,1/0)))},10779:(e,t,n)=>{var i=n(10771),r=n(34412);e.exports=i((function(e){return r(e,[])}))},52765:(e,t,n)=>{var i=n(10771);e.exports=i((function(e){return null===e?"Null":void 0===e?"Undefined":Object.prototype.toString.call(e).slice(8,-1)}))},50377:(e,t,n)=>{var i=n(14710),r=n(32930);e.exports=r(i)},32930:(e,t,n)=>{var i=n(42560),r=n(97562);e.exports=r((function(e,t){for(var n,r,o=new i,a=[],s=0;s<t.length;)n=e(r=t[s]),o.add(n)&&a.push(r),s+=1;return a}))},40809:(e,t,n)=>{var i=n(97562);e.exports=i((function(e,t){for(var n=0,i=Math.min(e.length,t.length),r={};n<i;)r[e[n]]=t[n],n+=1;return r}))},42775:function(e){e.exports=function(e){function t(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return e[i].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);Object.defineProperty(t,"conformToMask",{enumerable:!0,get:function(){return i(r).default}});var o=n(2);Object.defineProperty(t,"adjustCaretPosition",{enumerable:!0,get:function(){return i(o).default}});var a=n(5);Object.defineProperty(t,"createTextMaskInputElement",{enumerable:!0,get:function(){return i(a).default}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.placeholderChar="_",t.strFunction="function"},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.previousConformedValue,r=void 0===t?i:t,o=e.previousPlaceholder,a=void 0===o?i:o,s=e.currentCaretPosition,c=void 0===s?0:s,l=e.conformedValue,d=e.rawValue,u=e.placeholderChar,p=e.placeholder,h=e.indexesOfPipedChars,m=void 0===h?n:h,f=e.caretTrapIndexes,g=void 0===f?n:f;if(0===c||!d.length)return 0;var v=d.length,b=r.length,y=p.length,S=l.length,C=v-b,x=C>0;if(C>1&&!x&&0!==b)return c;var I=0,w=void 0,E=void 0;if(!x||r!==l&&l!==p){var T=l.toLowerCase(),P=d.toLowerCase().substr(0,c).split(i).filter((function(e){return-1!==T.indexOf(e)}));E=P[P.length-1];var A=a.substr(0,P.length).split(i).filter((function(e){return e!==u})).length,_=p.substr(0,P.length).split(i).filter((function(e){return e!==u})).length,M=_!==A,O=void 0!==a[P.length-1]&&void 0!==p[P.length-2]&&a[P.length-1]!==u&&a[P.length-1]!==p[P.length-1]&&a[P.length-1]===p[P.length-2];!x&&(M||O)&&A>0&&p.indexOf(E)>-1&&void 0!==d[c]&&(w=!0,E=d[c]);for(var k=m.map((function(e){return T[e]})),j=k.filter((function(e){return e===E})).length,N=P.filter((function(e){return e===E})).length,D=p.substr(0,p.indexOf(u)).split(i).filter((function(e,t){return e===E&&d[t]!==e})).length,L=D+N+j+(w?1:0),R=0,F=0;F<S&&(I=F+1,T[F]===E&&R++,!(R>=L));F++);}else I=c-C;if(x){for(var B=I,U=I;U<=y;U++)if(p[U]===u&&(B=U),p[U]===u||-1!==g.indexOf(U)||U===y)return B}else if(w){for(var H=I-1;H>=0;H--)if(l[H]===E||-1!==g.indexOf(H)||0===H)return H}else for(var V=I;V>=0;V--)if(p[V-1]===u||-1!==g.indexOf(V)||0===V)return V};var n=[],i=""},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!(0,r.isArray)(t)){if((void 0===t?"undefined":i(t))!==o.strFunction)throw new Error("Text-mask:conformToMask; The mask property must be an array.");t=t(e,n),t=(0,r.processCaretTraps)(t).maskWithoutCaretTraps}var c=n.guide,l=void 0===c||c,d=n.previousConformedValue,u=void 0===d?s:d,p=n.placeholderChar,h=void 0===p?o.placeholderChar:p,m=n.placeholder,f=void 0===m?(0,r.convertMaskToPlaceholder)(t,h):m,g=n.currentCaretPosition,v=n.keepCharPositions,b=!1===l&&void 0!==u,y=e.length,S=u.length,C=f.length,x=t.length,I=y-S,w=I>0,E=g+(w?-I:0),T=E+Math.abs(I);if(!0===v&&!w){for(var P=s,A=E;A<T;A++)f[A]===h&&(P+=h);e=e.slice(0,E)+P+e.slice(E,y)}for(var _=e.split(s).map((function(e,t){return{char:e,isNew:t>=E&&t<T}})),M=y-1;M>=0;M--){var O=_[M].char;O!==h&&O===f[M>=E&&S===x?M-I:M]&&_.splice(M,1)}var k=s,j=!1;e:for(var N=0;N<C;N++){var D=f[N];if(D===h){if(_.length>0)for(;_.length>0;){var L=_.shift(),R=L.char,F=L.isNew;if(R===h&&!0!==b){k+=h;continue e}if(t[N].test(R)){if(!0===v&&!1!==F&&u!==s&&!1!==l&&w){for(var B=_.length,U=null,H=0;H<B;H++){var V=_[H];if(V.char!==h&&!1===V.isNew)break;if(V.char===h){U=H;break}}null!==U?(k+=R,_.splice(U,1)):N--}else k+=R;continue e}j=!0}!1===b&&(k+=f.substr(N,C));break}k+=D}if(b&&!1===w){for(var G=null,$=0;$<k.length;$++)f[$]===h&&(G=$);k=null!==G?k.substr(0,G+1):s}return{conformedValue:k,meta:{someCharsRejected:j}}};var r=n(4),o=n(1),a=[],s=""},function(e,t,n){"use strict";function i(e){return Array.isArray&&Array.isArray(e)||e instanceof Array}Object.defineProperty(t,"__esModule",{value:!0}),t.convertMaskToPlaceholder=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.placeholderChar;if(!i(e))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(-1!==e.indexOf(t))throw new Error("Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.\n\nThe placeholder character that was received is: "+JSON.stringify(t)+"\n\nThe mask that was received is: "+JSON.stringify(e));return e.map((function(e){return e instanceof RegExp?t:e})).join("")},t.isArray=i,t.isString=function(e){return"string"==typeof e||e instanceof String},t.isNumber=function(e){return"number"==typeof e&&void 0===e.length&&!isNaN(e)},t.processCaretTraps=function(e){for(var t=[],n=void 0;-1!==(n=e.indexOf(a));)t.push(n),e.splice(n,1);return{maskWithoutCaretTraps:e,indexes:t}};var r=n(1),o=[],a="[]"},function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function r(e,t){document.activeElement===e&&(f?g((function(){return e.setSelectionRange(t,t,h)}),0):e.setSelectionRange(t,t,h))}function o(e){if((0,d.isString)(e))return e;if((0,d.isNumber)(e))return String(e);if(null==e)return p;throw new Error("The 'value' provided to Text Mask needs to be a string or a number. The value received was:\n\n "+JSON.stringify(e))}Object.defineProperty(t,"__esModule",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){var t={previousConformedValue:void 0,previousPlaceholder:void 0};return{state:t,update:function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,h=i.inputElement,f=i.mask,g=i.guide,v=i.pipe,b=i.placeholderChar,y=void 0===b?u.placeholderChar:b,S=i.keepCharPositions,C=void 0!==S&&S,x=i.showMask,I=void 0!==x&&x;if(void 0===n&&(n=h.value),n!==t.previousConformedValue){(void 0===f?"undefined":s(f))===m&&void 0!==f.pipe&&void 0!==f.mask&&(v=f.pipe,f=f.mask);var w=void 0,E=void 0;if(f instanceof Array&&(w=(0,d.convertMaskToPlaceholder)(f,y)),!1!==f){var T=o(n),P=h.selectionEnd,A=t.previousConformedValue,_=t.previousPlaceholder,M=void 0;if((void 0===f?"undefined":s(f))===u.strFunction){if(!1===(E=f(T,{currentCaretPosition:P,previousConformedValue:A,placeholderChar:y})))return;var O=(0,d.processCaretTraps)(E);E=O.maskWithoutCaretTraps,M=O.indexes,w=(0,d.convertMaskToPlaceholder)(E,y)}else E=f;var k={previousConformedValue:A,guide:g,placeholderChar:y,pipe:v,placeholder:w,currentCaretPosition:P,keepCharPositions:C},j=(0,l.default)(T,E,k).conformedValue,N=(void 0===v?"undefined":s(v))===u.strFunction,D={};N&&(!1===(D=v(j,a({rawValue:T},k)))?D={value:A,rejected:!0}:(0,d.isString)(D)&&(D={value:D}));var L=N?D.value:j,R=(0,c.default)({previousConformedValue:A,previousPlaceholder:_,conformedValue:L,placeholder:w,rawValue:T,currentCaretPosition:P,placeholderChar:y,indexesOfPipedChars:D.indexesOfPipedChars,caretTrapIndexes:M}),F=L===w&&0===R?I?w:p:L;t.previousConformedValue=F,t.previousPlaceholder=w,h.value!==F&&(h.value=F,r(h,R))}}}}};var c=i(n(2)),l=i(n(3)),d=n(4),u=n(1),p="",h="none",m="object",f="undefined"!=typeof navigator&&/Android/i.test(navigator.userAgent),g="undefined"!=typeof requestAnimationFrame?requestAnimationFrame:setTimeout}])},69033:(e,t)=>{"use strict";function n(e){return e>96?e-87:e>64?e-29:e-48}function i(e){var t=e.split("."),i=t[0],r=t[1]||"",o=1,a=0,s=0,c=1;45===e.charCodeAt(0)&&(a=1,c=-1);for(var l=a,d=i.length;l<d;++l)s=60*s+n(i.charCodeAt(l));for(var u=0,p=r.length;u<p;++u)s+=n(r.charCodeAt(u))*(o/=60);return s*c}function r(e){for(var t=0,n=e.length;t<n;++t)e[t]=i(e[t])}function o(e,t){for(var n=[],i=0,r=t.length;i<r;++i)n[i]=e[t[i]];return n}var a,s,c,l;function d(e){var t=e.year,n=e.month,i=e.day,r=e.hours,o=e.minutes,a=e.seconds,s=void 0===a?0:a,c=e.milliseconds,l=void 0===c?0:c;return Date.UTC(t,n-1,i,r,o,s,l)}function u(e){return{year:e.getUTCFullYear(),month:e.getUTCMonth()+1,day:e.getUTCDate(),dayOfWeek:e.getUTCDay(),hours:e.getUTCHours(),minutes:e.getUTCMinutes(),seconds:e.getUTCSeconds()||0,milliseconds:e.getUTCMilliseconds()||0}}function p(e){return{year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate(),dayOfWeek:e.getDay(),hours:e.getHours(),minutes:e.getMinutes(),seconds:e.getSeconds()||0,milliseconds:e.getMilliseconds()||0}}function h(e,t){var n=function(e,t){for(var n=t.untils,i=0,r=n.length;i<r;++i)if(e<n[i])return i}(e,t);return{abbreviation:t.abbreviations[n],offset:t.offsets[n]}}function m(e,t){Object.defineProperty(e,"epoch",{value:t})}Object.defineProperty(t,"__esModule",{value:!0}),t.populateTimeZones=function(e){var t=e.zones,n=e.links;a={},s=t.map((function(e){var t=e.substr(0,e.indexOf("|"));return a[t]=e,t})),c=n.reduce((function(e,t){var n=t.split("|"),i=n[0];return e[n[1]]=i,e}),{}),l={}},t.listTimeZones=function(){return s.slice()},t.findTimeZone=function(e){var t=c[e]||e,n=l[t];if(!n){var i=a[t];if(!i)throw new Error('Unknown time zone "'+t+'".');n=l[t]=function(e){var t=e.split("|"),n=t[2].split(" "),i=t[3].split(""),a=t[4].split(" ");r(n),r(i),r(a),function(e,t){for(var n=0;n<t;++n)e[n]=Math.round((e[n-1]||0)+6e4*e[n]);e[t-1]=1/0}(a,i.length);var s=t[0],c=o(t[1].split(" "),i),l=0|t[5];return{name:s,abbreviations:c,offsets:n=o(n,i),untils:a,population:l}}(i)}return n},t.getUTCOffset=function(e,t){var n=h("number"==typeof e?e:e.getTime(),t);return{abbreviation:n.abbreviation,offset:n.offset}},t.getZonedTime=function(e,t){var n="number"==typeof e,i=n?e:e.getTime(),r=h(i,t),o=r.abbreviation,a=r.offset;(n||a)&&(e=new Date(i-6e4*a));var s=u(e);return s.zone={abbreviation:o,offset:a},m(s,i),s},t.getUnixTime=function(e,t){var n=e.zone,i=e.epoch;if(i){if(t)throw new Error("Both epoch and other time zone specified. Omit the other one.");return i}var r=d(e);if(n){if(t)throw new Error("Both own and other time zones specified. Omit the other one.")}else{if(!t)throw new Error("Missing other time zone.");n=h(r,t)}return r+6e4*n.offset},t.setTimeZone=function(e,t,n){if(e instanceof Date)e=function(e,t){var n,i=(t||{}).useUTC;if(!0===i)n=u;else{if(!1!==i)throw new Error("Extract local or UTC date? Set useUTC option.");n=p}return n(e)}(e,n);else{var i=e,r=i.year,o=i.month,a=i.day,s=i.hours,c=i.minutes,l=i.seconds,f=void 0===l?0:l,g=i.milliseconds;e={year:r,month:o,day:a,hours:s,minutes:c,seconds:f,milliseconds:void 0===g?0:g}}var v=d(e),b=new Date(v);e.dayOfWeek=b.getUTCDay();var y=h(v,t),S=y.abbreviation,C=y.offset;return e.zone={abbreviation:S,offset:C},m(e,v+6e4*C),e},t.convertTimeToDate=function(e){var t=e.epoch;if(void 0!==t)return new Date(t);var n,i,r,o,a,s,c,l,u,p=(e.zone||{}).offset;if(void 0===p)return i=(n=e).year,r=n.month,o=n.day,a=n.hours,s=n.minutes,l=void 0===(c=n.seconds)?0:c,u=n.milliseconds,new Date(i,r-1,o,a,s,l,void 0===u?0:u);var h=d(e);return new Date(h+6e4*p)},t.convertDateToTime=function(e){var t=p(e),n=/\(([^)]+)\)$/.exec(e.toTimeString());return t.zone={abbreviation:n?n[1]:"???",offset:e.getTimezoneOffset()},m(t,e.getTime()),t}},91605:(e,t,n)=>{var i=n(67816),r=n(42893),o=r;o.v1=i,o.v4=r,e.exports=o},74754:e=>{for(var t=[],n=0;n<256;++n)t[n]=(n+256).toString(16).substr(1);e.exports=function(e,n){var i=n||0,r=t;return[r[e[i++]],r[e[i++]],r[e[i++]],r[e[i++]],"-",r[e[i++]],r[e[i++]],"-",r[e[i++]],r[e[i++]],"-",r[e[i++]],r[e[i++]],"-",r[e[i++]],r[e[i++]],r[e[i++]],r[e[i++]],r[e[i++]],r[e[i++]]].join("")}},34368:e=>{var t="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(t){var n=new Uint8Array(16);e.exports=function(){return t(n),n}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)0==(3&t)&&(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},67816:(e,t,n)=>{var i,r,o=n(34368),a=n(74754),s=0,c=0;e.exports=function(e,t,n){var l=t&&n||0,d=t||[],u=(e=e||{}).node||i,p=void 0!==e.clockseq?e.clockseq:r;if(null==u||null==p){var h=o();null==u&&(u=i=[1|h[0],h[1],h[2],h[3],h[4],h[5]]),null==p&&(p=r=16383&(h[6]<<8|h[7]))}var m=void 0!==e.msecs?e.msecs:(new Date).getTime(),f=void 0!==e.nsecs?e.nsecs:c+1,g=m-s+(f-c)/1e4;if(g<0&&void 0===e.clockseq&&(p=p+1&16383),(g<0||m>s)&&void 0===e.nsecs&&(f=0),f>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");s=m,c=f,r=p;var v=(1e4*(268435455&(m+=122192928e5))+f)%4294967296;d[l++]=v>>>24&255,d[l++]=v>>>16&255,d[l++]=v>>>8&255,d[l++]=255&v;var b=m/4294967296*1e4&268435455;d[l++]=b>>>8&255,d[l++]=255&b,d[l++]=b>>>24&15|16,d[l++]=b>>>16&255,d[l++]=p>>>8|128,d[l++]=255&p;for(var y=0;y<6;++y)d[l+y]=u[y];return t||a(d)}},42893:(e,t,n)=>{var i=n(34368),r=n(74754);e.exports=function(e,t,n){var o=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var a=(e=e||{}).random||(e.rng||i)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var s=0;s<16;++s)t[o+s]=a[s];return t||r(a)}},5380:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r,x:()=>i});const i=768,r=[{url:"/casino",productId:"CASINO"},{url:"/poker",productId:"POKER"},{url:"/sports",productId:"SPORTS"},{url:"/horses",productId:"HORSES"},{url:"/live-dealer",productId:"LIVE-DEALER"}]},55057:(e,t,n)=>{"use strict";n.d(t,{A1:()=>V,DV:()=>Q,EJ:()=>K,FJ:()=>F,Fi:()=>k,Gq:()=>ie,HY:()=>x,I6:()=>q,If:()=>C,J4:()=>_,Jp:()=>H,Kd:()=>U,LE:()=>S,Lb:()=>c,MD:()=>I,Mk:()=>X,N6:()=>v,Pi:()=>m,Px:()=>j,Q:()=>f,RC:()=>w,Se:()=>P,TV:()=>Z,To:()=>d,Uc:()=>ee,VH:()=>E,Vf:()=>a,WT:()=>te,X$:()=>z,XQ:()=>A,X_:()=>s,Xf:()=>N,Z0:()=>W,ZE:()=>r,aI:()=>p,aK:()=>b,ap:()=>g,d4:()=>R,dU:()=>B,fp:()=>T,ft:()=>i,i0:()=>ne,i4:()=>J,jA:()=>L,jU:()=>h,l7:()=>y,ne:()=>M,p$:()=>O,qf:()=>Y,sz:()=>G,t5:()=>u,ts:()=>l,uJ:()=>o,uz:()=>re,vi:()=>$,vu:()=>D});const i="",r="login",o="blocked",a="maintenance",s="outage",c="pin-code",l="join",d="validation-code",u="send-validation-code",p="headless/",h="headless/join",m="headless/cashier",f="headless/account",g="headless/bonuses",v="headless/login",b="headless/casino/games",y="headless/sports",S="headless/oneworks-app-login",C="forgot-password",x="blocked-document-status",I="validate-document",w="account",E="wallet",T="settings",P="bonuses",A="bonus",_="offers",M="transactions",O="transactions/:type",k="messages",j="cashier",N="refer-a-friend",D="change-password",L="bonus-selection",R="bonus-terms-conditions",F="reset-password/:resetToken",B="cashier/deposit",U="cashier/withdraw/cryptoreward",H="contact-us",V="faq",G="terms-of-service",$="casino",z="poker",W="help",q="ayuda",K="ajuda",X="casino-guide",Y="(overlay:login)",J="live-dealer/game/:gameId/:language/:currency",Q="casino/description/:slug",Z="updateForumUsername",ee=new Map([["/join","registration:form_view"],["/?overlay=join","registration:form_view"],["/login","login:form_view"],["/cashier/deposit","cashier:deposit"],["/account/cashier/deposit","cashier:deposit"],["/","home"],["/casino",":casino"],["/sports",":sports"],["/horses",":horses"],["/poker",":poker"],["/promotions",":promotions"],["/live-dealer",":live-dealer"]]),te={"#3:game_overlay":{regex:/(\bcasino\b)\/(.*)\/(.*)/,isLoggedIn:!0}},ne="transfer",ie="info",re="two-factor-authenticator"},86564:(e,t,n)=>{"use strict";n.d(t,{N:()=>Ie});var i=n(6856),r=n(57826),o=n(73753),a=n(37424),s=n(3336),c=n(55640),l=n(79308),d=n(81899),u=n(45965),p=n(12596),h=n(72558),m=n(60725),f=n(92947),g=n(47490),v=n(27409),b=n(42998),y=n(55057),S=n(62943),C=n(616),x=n(32711),I=n(89309),w=n(93758),E=n(40606),T=n(67344);let P=(()=>{class e{}return e.DEFAULT={userIcon:{tierColorProperty:"background"}},e})(),A=(()=>{class e{constructor(e,t){this.injector=t,this.loyaltyStore=e}ngOnInit(){this.loyaltyThemeConfig=this.injector.get(P,P.DEFAULT)}calculateColor(){let e={};return this.loyaltyStore.playerLoyaltyInfoAvailable&&this.loyaltyThemeConfig&&(e[this.loyaltyThemeConfig.userIcon.tierColorProperty]=this.loyaltyStore.currentTierColor),e}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](I.r),r["ɵɵdirectiveInject"](r.Injector))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-loyalty-user-icon"]],decls:3,vars:1,consts:[[1,"icon","icon-user",3,"ngStyle"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelement"](1,"i",0),r["ɵɵtext"](2,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngStyle",t.calculateColor()))},directives:[i.NgStyle],styles:["i[_ngcontent-%COMP%] {\n            border-radius: 50px;\n        }"]}),e})();var _=n(86014);function M(e,t){if(1&e&&(r["ɵɵelementStart"](0,"span",6),r["ɵɵtext"](1),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵadvance"](1),r["ɵɵtextInterpolate"](e.playerName)}}function O(e,t){if(1&e&&(r["ɵɵelementStart"](0,"span",7),r["ɵɵtext"](1),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngStyle",e.generateTierNameColorStyle()),r["ɵɵadvance"](1),r["ɵɵtextInterpolate1"]("\n                    ",e.loyaltyStore.currentTierName,"\n                ")}}function k(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",8),r["ɵɵtext"](1,"\n                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("bxTranslate",e.generatePointsRatioTranslation())}}let j=(()=>{class e{constructor(e,t,n,i){this.siteConfigService=t,this.monetaryAmountPipe=n,this.pointsPipe=i,this.loyaltyStore=e}ngOnInit(){}generateTierNameColorStyle(){return{color:this.loyaltyStore.currentTierColor}}generatePointsRatioTranslation(){return this.loyaltyStore.playerLoyaltyInfoAvailable?{label:"loyaltyProfileSummary.ratio",tag:"textContent",values:{points:this.pointsPipe.transform(this.loyaltyStore.updatedPlayerDetails.redemptionPoints.toFixed(2),this.getLocale()),pointsName:this.loyaltyStore.updatedPlayerDetails.redemptionPointsName,formattedAmount:this.monetaryAmountPipe.transform(w.S.asMonetaryAmount(this.loyaltyStore.updatedPlayerDetails.redemptionAmount,this.loyaltyStore.updatedPlayerDetails.currencyCode))}}:{}}showRewardPoints(){return this.loyaltyStore.playerLoyaltyInfoAvailable&&!this.siteConfigService.evalFeature("site.config.hide_reward_points")}getLocale(){return this.siteConfigService.getSiteConfigProp("locale")}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](I.r),r["ɵɵdirectiveInject"](u.r),r["ɵɵdirectiveInject"](E.W),r["ɵɵdirectiveInject"](T.k))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-loyalty-profile-summary"]],inputs:{playerName:"playerName"},decls:18,vars:3,consts:[[1,"loyalty-profile-summary-wrapper"],[1,"userIconContainer"],[1,"summaryContainer"],["class","nameContainer",4,"ngIf"],["class","tierNameContainer",3,"ngStyle",4,"ngIf"],["class","pointsRatio",3,"bxTranslate",4,"ngIf"],[1,"nameContainer"],[1,"tierNameContainer",3,"ngStyle"],[1,"pointsRatio",3,"bxTranslate"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"div",0),r["ɵɵtext"](2,"\n            "),r["ɵɵelementStart"](3,"div",1),r["ɵɵtext"](4,"\n                "),r["ɵɵelement"](5,"bx-loyalty-user-icon"),r["ɵɵtext"](6,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](7,"\n            "),r["ɵɵelementStart"](8,"div",2),r["ɵɵtext"](9,"\n                "),r["ɵɵtemplate"](10,M,2,1,"span",3),r["ɵɵtext"](11,"\n                "),r["ɵɵtemplate"](12,O,2,2,"span",4),r["ɵɵtext"](13,"\n                "),r["ɵɵtemplate"](14,k,2,1,"div",5),r["ɵɵtext"](15,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](16,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](17,"\n    ")),2&e&&(r["ɵɵadvance"](10),r["ɵɵproperty"]("ngIf",t.playerName),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.loyaltyStore.playerLoyaltyInfoAvailable),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.showRewardPoints()))},directives:[A,i.NgIf,i.NgStyle,_.P],encapsulation:2}),e})();var N=n(58710),D=n(91184);function L(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",9),r["ɵɵtext"](1,"\n                "),r["ɵɵelementStart"](2,"span",3),r["ɵɵtext"](3,"extendedBalance.matchPay.heading"),r["ɵɵelementEnd"](),r["ɵɵelementStart"](4,"span"),r["ɵɵtext"](5,": "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,"\n                "),r["ɵɵelementStart"](7,"span",4),r["ɵɵtext"](8),r["ɵɵpipe"](9,"bxMonetaryAmount"),r["ɵɵelementEnd"](),r["ɵɵtext"](10,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2);r["ɵɵadvance"](8),r["ɵɵtextInterpolate"](r["ɵɵpipeBind1"](9,1,e.balanceStore.matchpay))}}function R(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",10),r["ɵɵtext"](1,"\n                "),r["ɵɵelementStart"](2,"span",3),r["ɵɵtext"](3,"extendedBalance.bonus.heading\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](4,":"),r["ɵɵelementStart"](5,"span",4),r["ɵɵtext"](6),r["ɵɵpipe"](7,"bxMonetaryAmount"),r["ɵɵelementEnd"](),r["ɵɵtext"](8,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2);r["ɵɵadvance"](6),r["ɵɵtextInterpolate1"](" ",r["ɵɵpipeBind1"](7,1,e.balanceStore.bonusBalance),"")}}function F(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div"),r["ɵɵtext"](1,"\n                "),r["ɵɵelementStart"](2,"div",11),r["ɵɵtext"](3,"\n                    "),r["ɵɵelementStart"](4,"span",3),r["ɵɵtext"](5,"extendedBalance.locked.heading"),r["ɵɵelementEnd"](),r["ɵɵelementStart"](6,"span"),r["ɵɵtext"](7,": "),r["ɵɵelementEnd"](),r["ɵɵtext"](8,"\n                    "),r["ɵɵelementStart"](9,"span",4),r["ɵɵtext"](10),r["ɵɵpipe"](11,"bxMonetaryAmount"),r["ɵɵelementEnd"](),r["ɵɵtext"](12,"\n\n                    "),r["ɵɵelementStart"](13,"div",12),r["ɵɵtext"](14,"\n                        "),r["ɵɵelement"](15,"i",13),r["ɵɵtext"](16,"\n                        "),r["ɵɵelementStart"](17,"div",14),r["ɵɵtext"](18,"extendedBalance.locked.tooltip"),r["ɵɵelementEnd"](),r["ɵɵtext"](19,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](20,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](21,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2);r["ɵɵadvance"](10),r["ɵɵtextInterpolate1"](" ",r["ɵɵpipeBind1"](11,1,e.balanceStore.lockedBalance),"")}}function B(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div"),r["ɵɵtext"](1,"\n                "),r["ɵɵelementStart"](2,"div",15),r["ɵɵtext"](3,"\n                    "),r["ɵɵelementStart"](4,"span",3),r["ɵɵtext"](5,"extendedBalance.nonPlayable.heading"),r["ɵɵelementEnd"](),r["ɵɵelementStart"](6,"span"),r["ɵɵtext"](7,": "),r["ɵɵelementEnd"](),r["ɵɵtext"](8,"\n                    "),r["ɵɵelementStart"](9,"span",4),r["ɵɵtext"](10),r["ɵɵpipe"](11,"bxMonetaryAmount"),r["ɵɵelementEnd"](),r["ɵɵtext"](12,"\n                    "),r["ɵɵelementStart"](13,"div",16),r["ɵɵtext"](14,"\n                        "),r["ɵɵelement"](15,"i",13),r["ɵɵtext"](16,"\n                        "),r["ɵɵelementStart"](17,"div",17),r["ɵɵtext"](18,"\n                            "),r["ɵɵelementStart"](19,"p",18),r["ɵɵtext"](20,"extendedBalance.locked.non.playable.tooltip.txt1"),r["ɵɵelementEnd"](),r["ɵɵtext"](21,"\n                            "),r["ɵɵelement"](22,"br"),r["ɵɵtext"](23,"\n                            "),r["ɵɵelementStart"](24,"p",19),r["ɵɵtext"](25,"extendedBalance.locked.non.playable.tooltip.txt2"),r["ɵɵelementEnd"](),r["ɵɵtext"](26,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](27,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](28,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](29,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2);r["ɵɵadvance"](10),r["ɵɵtextInterpolate1"](" ",r["ɵɵpipeBind1"](11,1,e.balanceStore.nonPlayableBonus),"")}}function U(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",23),r["ɵɵtext"](1,"\n                    "),r["ɵɵelementStart"](2,"span",3),r["ɵɵtext"](3,"extendedBalance.hunter.heading"),r["ɵɵelementEnd"](),r["ɵɵtext"](4,":"),r["ɵɵelementStart"](5,"span",4),r["ɵɵtext"](6),r["ɵɵpipe"](7,"bxMonetaryAmount"),r["ɵɵelementEnd"](),r["ɵɵtext"](8,"\n                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](3);r["ɵɵadvance"](6),r["ɵɵtextInterpolate1"](" ",r["ɵɵpipeBind1"](7,1,e.balanceStore.fishHunter),"")}}function H(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",24),r["ɵɵtext"](1,"\n                    "),r["ɵɵelementStart"](2,"span",3),r["ɵɵtext"](3,"extendedBalance.oneworks.heading"),r["ɵɵelementEnd"](),r["ɵɵtext"](4,":"),r["ɵɵelementStart"](5,"span",4),r["ɵɵtext"](6),r["ɵɵpipe"](7,"bxMonetaryAmount"),r["ɵɵelementEnd"](),r["ɵɵtext"](8,"\n                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](3);r["ɵɵadvance"](6),r["ɵɵtextInterpolate1"](" ",r["ɵɵpipeBind1"](7,1,e.balanceStore.oneworks),"")}}function V(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",20),r["ɵɵtext"](1,"\n\n                "),r["ɵɵtemplate"](2,U,9,3,"div",21),r["ɵɵtext"](3,"\n\n                "),r["ɵɵtemplate"](4,H,9,3,"div",22),r["ɵɵtext"](5,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2);r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.balanceStore.fishHunter&&e.balanceStore.fishHunter.amount>=0),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.balanceStore.oneworks&&e.balanceStore.oneworks.amount>=0)}}function G(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",1),r["ɵɵtext"](1,"\n            "),r["ɵɵelementStart"](2,"div",2),r["ɵɵtext"](3,"\n                "),r["ɵɵelementStart"](4,"span",3),r["ɵɵtext"](5,"extendedBalance.withdrawable.heading\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](6,":"),r["ɵɵelementStart"](7,"span",4),r["ɵɵtext"](8),r["ɵɵpipe"](9,"bxMonetaryAmount"),r["ɵɵelementEnd"](),r["ɵɵtext"](10,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](11,"\n            "),r["ɵɵtemplate"](12,L,11,3,"div",5),r["ɵɵtext"](13,"\n            "),r["ɵɵtemplate"](14,R,9,3,"div",6),r["ɵɵtext"](15,"\n            "),r["ɵɵtemplate"](16,F,22,3,"div",7),r["ɵɵtext"](17,"\n            "),r["ɵɵtemplate"](18,B,30,3,"div",7),r["ɵɵtext"](19,"\n            "),r["ɵɵtemplate"](20,V,6,2,"div",8),r["ɵɵtext"](21,"\n        "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵadvance"](8),r["ɵɵtextInterpolate1"](" ",r["ɵɵpipeBind1"](9,6,e.balanceStore.unlockedBalance),"\n                "),r["ɵɵadvance"](4),r["ɵɵproperty"]("ngIf",e.balanceStore.matchpay&&e.balanceStore.matchpay.amount>0),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.balanceStore.bonusBalance&&e.balanceStore.bonusBalance.amount>0),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.balanceStore.lockedBalance&&e.balanceStore.lockedBalance.amount>0),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.balanceStore.nonPlayableBonus&&e.balanceStore.nonPlayableBonus.amount>0),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.balanceStore.fishHunter&&e.balanceStore.fishHunter.amount>=0||e.balanceStore.oneworks&&e.balanceStore.oneworks.amount>=0)}}let $=(()=>{class e{constructor(e){this.balanceStore=e}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](N.r))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-extended-balance-ch"]],decls:3,vars:0,consts:[["class","extended-balance",4,"mobxAutorun"],[1,"extended-balance"],[1,"withdrawable-balance"],[3,"bxTranslate"],[1,"player-balance-amount"],["class","matchpay-balance",4,"ngIf"],["class","bonus-balance",4,"ngIf"],[4,"ngIf"],["class","external-balances",4,"ngIf"],[1,"matchpay-balance"],[1,"bonus-balance"],[1,"locked-balance"],[1,"tooltip-popover-container"],[1,"icon","icon-info","tooltip-toggle"],[1,"tooltip-popover-msg","bottom",3,"bxTranslate"],[1,"non-playable-balance"],[1,"tooltip-popover-container","non-playable"],[1,"tooltip-popover-msg","bottom"],[1,"non-playable-txt1",3,"bxTranslate"],[1,"non-playable-txt2",3,"bxTranslate"],[1,"external-balances"],["class","hunter-balance",4,"ngIf"],["class","oneworks-balance",4,"ngIf"],[1,"hunter-balance"],[1,"oneworks-balance"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵtemplate"](1,G,22,8,"div",0),r["ɵɵtext"](2,"\n    "))},directives:[D.fF,_.P,i.NgIf],pipes:[E.W],styles:[".banner-container[_ngcontent-%COMP%] {\n  margin-bottom: 10px; }\n\n.review-btn[_ngcontent-%COMP%] {\n  width: auto;\n  display: flex;\n  font-size: 1em;\n  padding: 3px;\n  align-items: center;\n  max-width: 78px;\n  cursor: pointer; }\n\n.pending-withdraw-balance[_ngcontent-%COMP%] {\n  margin: 12px -1em -23px -1em; }\n\n.external-balances[_ngcontent-%COMP%] {\n  margin-top: 15px;\n  padding-top: 15px;\n  border-top: 1px solid;\n  width: -webkit-fit-content;\n  width: -moz-fit-content;\n  width: fit-content; }\n\n.external-balances[_ngcontent-%COMP%]   .hunter-balance[_ngcontent-%COMP%] {\n    margin-bottom: 5px; }\n\nbutton[_ngcontent-%COMP%]   i[_ngcontent-%COMP%] {\n  max-height: 78px;\n  bottom: -1px;\n  position: relative; }\n\n.non-playable-balance[_ngcontent-%COMP%]   .tooltip-popover-container[_ngcontent-%COMP%]   .tooltip-popover-msg.bottom[_ngcontent-%COMP%] {\n  z-index: 100;\n  left: -61px; }\n\n.non-playable-balance[_ngcontent-%COMP%]   .tooltip-popover-container[_ngcontent-%COMP%]   .tooltip-popover-msg.bottom[_ngcontent-%COMP%]:before, .non-playable-balance[_ngcontent-%COMP%]   .tooltip-popover-container[_ngcontent-%COMP%]   .tooltip-popover-msg.bottom[_ngcontent-%COMP%]:after {\n    left: 75%; }\n\n@media screen and (min-width: 769px) {\n  .custom-notification.alert[_ngcontent-%COMP%] {\n    font-size: 1em;\n    padding: 8px 16px; } }"],changeDetection:0}),e})();function z(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div"),r["ɵɵtext"](1,"\n                    "),r["ɵɵelementStart"](2,"div",3),r["ɵɵtext"](3,"\n                        "),r["ɵɵelementStart"](4,"figure",4),r["ɵɵtext"](5,"\n                            "),r["ɵɵelement"](6,"i",5),r["ɵɵtext"](7,"\n                            "),r["ɵɵelement"](8,"figcaption",6),r["ɵɵtext"](9,"\n                            "),r["ɵɵelementStart"](10,"button",7),r["ɵɵtext"](11,"\n                                "),r["ɵɵelementStart"](12,"span",8),r["ɵɵtext"](13,"extendedBalance.payoutBannerButtonText"),r["ɵɵelementEnd"](),r["ɵɵtext"](14,"\n                                "),r["ɵɵelement"](15,"i",9),r["ɵɵtext"](16,"\n                            "),r["ɵɵelementEnd"](),r["ɵɵtext"](17,"\n                        "),r["ɵɵelementEnd"](),r["ɵɵtext"](18,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](19,"\n                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](3);r["ɵɵadvance"](8),r["ɵɵproperty"]("innerHTML",e.pendingWithdrawableMessage,r["ɵɵsanitizeHtml"]),r["ɵɵadvance"](2),r["ɵɵpropertyInterpolate"]("routerLink",e.pendingWithdrawalsUrl)}}function W(e,t){if(1&e&&(r["ɵɵelementStart"](0,"div",2),r["ɵɵtext"](1,"\n                "),r["ɵɵtemplate"](2,z,20,2,"div",0),r["ɵɵtext"](3,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"](2);r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",e.pendingWithdrawableMessage)}}function q(e,t){1&e&&(r["ɵɵelementStart"](0,"div"),r["ɵɵtext"](1,"\n            "),r["ɵɵtemplate"](2,W,4,1,"div",1),r["ɵɵtext"](3,"\n        "),r["ɵɵelementEnd"]())}let K=(()=>{class e{constructor(e,t,n,i,r){this.balanceStore=e,this.translateService=t,this.monetaryAmountPipe=n,this.siteConfigService=i,this.changeDetector=r}ngOnInit(){this.isCashierInMaintenance=this.siteConfigService.getSiteConfigProp("maintenanceEnabled"),this.isCashierInMaintenance||(this.pendingWithdrawalsUrl="/account/cashier/withdraw/cancel-pending",this.balanceStoreDisposer=(0,x.EH)((()=>{let e=this.balanceStore.pendingWithdrawalBalance;e.amount?this.translateService.translate("extendedBalance.payoutBannerText",{pendingWithdrawalsValue:this.monetaryAmountPipe.transform(e,!0,!1,null,!0)}).subscribe((e=>this.updateMsg(e))):this.updateMsg(null)})))}updateMsg(e){this.pendingWithdrawableMessage=e,this.changeDetector.detectChanges()}ngOnDestroy(){this.balanceStoreDisposer&&this.balanceStoreDisposer()}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](N.r),r["ɵɵdirectiveInject"](p.s),r["ɵɵdirectiveInject"](E.W),r["ɵɵdirectiveInject"](u.r),r["ɵɵdirectiveInject"](r.ChangeDetectorRef))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-pending-withdrawal-ch"]],decls:3,vars:1,consts:[[4,"ngIf"],["class","pending-withdraw-balance",4,"mobxAutorun"],[1,"pending-withdraw-balance"],[1,"banner-container","pending-withdrawal-balance"],["role","alert",1,"custom-notification","alert","info","high-contrast"],[1,"icon","icon-info"],[3,"innerHTML"],[1,"btn","review-btn",3,"routerLink"],[3,"bxTranslate"],[1,"icon","icon-arrow-next"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵtemplate"](1,q,4,0,"div",0),r["ɵɵtext"](2,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngIf",!t.isCashierInMaintenance))},directives:[i.NgIf,D.fF,o.RouterLink,_.P],styles:[".banner-container[_ngcontent-%COMP%] {\n  margin-bottom: 10px; }\n\n.review-btn[_ngcontent-%COMP%] {\n  width: auto;\n  display: flex;\n  font-size: 1em;\n  padding: 3px;\n  align-items: center;\n  max-width: 78px;\n  cursor: pointer; }\n\n.pending-withdraw-balance[_ngcontent-%COMP%] {\n  margin: 12px -1em -23px -1em; }\n\n.external-balances[_ngcontent-%COMP%] {\n  margin-top: 15px;\n  padding-top: 15px;\n  border-top: 1px solid;\n  width: -webkit-fit-content;\n  width: -moz-fit-content;\n  width: fit-content; }\n\n.external-balances[_ngcontent-%COMP%]   .hunter-balance[_ngcontent-%COMP%] {\n    margin-bottom: 5px; }\n\nbutton[_ngcontent-%COMP%]   i[_ngcontent-%COMP%] {\n  max-height: 78px;\n  bottom: -1px;\n  position: relative; }\n\n.non-playable-balance[_ngcontent-%COMP%]   .tooltip-popover-container[_ngcontent-%COMP%]   .tooltip-popover-msg.bottom[_ngcontent-%COMP%] {\n  z-index: 100;\n  left: -61px; }\n\n.non-playable-balance[_ngcontent-%COMP%]   .tooltip-popover-container[_ngcontent-%COMP%]   .tooltip-popover-msg.bottom[_ngcontent-%COMP%]:before, .non-playable-balance[_ngcontent-%COMP%]   .tooltip-popover-container[_ngcontent-%COMP%]   .tooltip-popover-msg.bottom[_ngcontent-%COMP%]:after {\n    left: 75%; }\n\n@media screen and (min-width: 769px) {\n  .custom-notification.alert[_ngcontent-%COMP%] {\n    font-size: 1em;\n    padding: 8px 16px; } }"],changeDetection:0}),e})();var X=(()=>(function(e){e.TELEPHONE="telephone",e.DOCUMENT="document",e.ACCOUNT="account",e.UNKNOWN=""}(X||(X={})),X))(),Y=n(20151),J=n(91377),Q=n(21111);const Z=function(e){return{tag:"textContent",label:e}},ee=function(e){return[e]},te=function(){return{tag:"textContent",label:"validationCode.notification.button.verify.now"}};function ne(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"figure",1),r["ɵɵtext"](1,"\n            "),r["ɵɵelement"](2,"i",2),r["ɵɵtext"](3,"\n            "),r["ɵɵelement"](4,"figcaption",3),r["ɵɵtext"](5,"\n            "),r["ɵɵelementStart"](6,"a",4),r["ɵɵlistener"]("click",(function(){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().onLinkClicked()})),r["ɵɵtext"](7,"\n                "),r["ɵɵelement"](8,"span",3),r["ɵɵtext"](9,"\n                "),r["ɵɵelement"](10,"i",5),r["ɵɵtext"](11,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](12,"\n        "),r["ɵɵelementEnd"]()}if(2&e){const e=r["ɵɵnextContext"]();r["ɵɵadvance"](4),r["ɵɵproperty"]("bxTranslate",r["ɵɵpureFunction1"](4,ee,r["ɵɵpureFunction1"](2,Z,e.getBannerMessage()))),r["ɵɵadvance"](4),r["ɵɵproperty"]("bxTranslate",r["ɵɵpureFunction0"](6,te))}}let ie=(()=>{class e{constructor(e,t){this.phoneStatusStore=e,this.documentStatusStore=t,this.linkClicked=new r.EventEmitter,this.hasView=!1}ngOnInit(){this.setVisible(this.phoneStatusStore.phoneStatus,this.documentStatusStore.documentStatus),this.reactionPhoneStatusDisposer=(0,x.U5)((()=>this.phoneStatusStore.phoneStatus),(()=>this.setVisible(this.phoneStatusStore.phoneStatus,this.documentStatusStore.documentStatus))),this.reactionDocumentDisposer=(0,x.U5)((()=>this.documentStatusStore.documentStatus),(e=>this.setVisible(this.phoneStatusStore.phoneStatus,e))),this.reactionTimesUpdatedDisposer=(0,x.U5)((()=>this.phoneStatusStore.timesUpdated),(()=>this.setVisible(this.phoneStatusStore.phoneStatus,this.documentStatusStore.documentStatus)))}ngOnDestroy(){this.reactionPhoneStatusDisposer&&this.reactionPhoneStatusDisposer(),this.reactionDocumentDisposer&&this.reactionDocumentDisposer(),this.reactionTimesUpdatedDisposer&&this.reactionTimesUpdatedDisposer()}getBannerMessage(){switch(this.banner){case X.TELEPHONE:return"validationCode.notification.phoneNotVerifiedYet.warning";case X.DOCUMENT:return"validationCode.notification.documentVerificationNotYet.warning";case X.ACCOUNT:return"validationCode.notification.accountNotVerifiedYet.warning";default:return""}}setVisible(t,n){let i=e.isAValidPhoneStatus(this.phoneStatuses,t),r=e.isAValidProfileStatus(this.documentStatuses,n),o=n===Y.e.BLOCKED;i&&!r?(this.banner=X.TELEPHONE,this.showComponent()):i||!r&&!o?i&&r?(this.banner=X.ACCOUNT,this.showComponent()):i||r||(this.banner=X.UNKNOWN,this.hideComponent()):(this.banner=X.DOCUMENT,this.showComponent())}showComponent(){this.hasView=!0}hideComponent(){this.hasView=!1}static isAValidPhoneStatus(e,t){return e.indexOf(t)>-1}static isAValidProfileStatus(e,t){return e.indexOf(t)>-1}onLinkClicked(){let e={validateBannerStatus:this.banner,profileStatus:this.documentStatusStore.documentStatus};this.linkClicked.emit(e)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](Q.G),r["ɵɵdirectiveInject"](J.E))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["validate-profile-notification"]],inputs:{phoneStatuses:"phoneStatuses",documentStatuses:"documentStatuses"},outputs:{linkClicked:"linkClicked"},decls:3,vars:1,consts:[["role","alert","class","custom-notification alert warning",4,"ngIf"],["role","alert",1,"custom-notification","alert","warning"],[1,"icon","icon-warning"],[3,"bxTranslate"],[3,"click"],[1,"icon","icon-arrow-next"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵtemplate"](1,ne,13,7,"figure",0),r["ɵɵtext"](2,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngIf",t.hasView))},directives:[i.NgIf,_.P],encapsulation:2}),e})();const re=function(){return["NOT_VALIDATED"]},oe=function(){return["INVALID","REQUESTED"]};let ae=(()=>{class e{constructor(e){this.router=e}requestConfirmationCode(e){e.validateBannerStatus===X.TELEPHONE?this.router.navigate(["/","validation-code","validatePhone"]):e.validateBannerStatus===X.DOCUMENT&&e.profileStatus===Y.e.BLOCKED?this.router.navigate(["/","blocked-document-status"]):this.router.navigate(["/","validate-document"])}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](o.Router))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-validate-profile-notification"]],decls:4,vars:4,consts:[[3,"phoneStatuses","documentStatuses","linkClicked"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"validate-profile-notification",0),r["ɵɵlistener"]("linkClicked",(function(e){return t.requestConfirmationCode(e)})),r["ɵɵtext"](2,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](3,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("phoneStatuses",r["ɵɵpureFunction0"](2,re))("documentStatuses",r["ɵɵpureFunction0"](3,oe)))},directives:[ie],encapsulation:2}),e})();var se=n(65357),ce=n(59386);function le(e,t){if(1&e&&(r["ɵɵelementStart"](0,"button",8),r["ɵɵtext"](1,"\n                    account.deposit\n                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("routerLink",e.depositUrl)("ngClass",e.showTTPButton||e.showTransferButton?"one-button-row":"two-buttons-row")("bxTrackClick","account.deposit:click")}}function de(e,t){if(1&e){const e=r["ɵɵgetCurrentView"]();r["ɵɵelementStart"](0,"button",9),r["ɵɵlistener"]("click",(function(){return r["ɵɵrestoreView"](e),r["ɵɵnextContext"]().navigateToCashier()})),r["ɵɵtext"](1,"\n                    account.deposit\n                "),r["ɵɵelementEnd"]()}if(2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("ngClass",e.showTTPButton||e.showTransferButton?"one-button-row":"two-buttons-row")("bxTrackClick","account.deposit:click")}}function ue(e,t){1&e&&(r["ɵɵelementStart"](0,"figure",10),r["ɵɵtext"](1,"\n                    "),r["ɵɵelement"](2,"i",11),r["ɵɵtext"](3,"\n                "),r["ɵɵelementEnd"]())}function pe(e,t){if(1&e&&(r["ɵɵelementStart"](0,"button",12),r["ɵɵtext"](1,"\n                    account.withdraw\n                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("routerLink",e.withdrawUrl)("ngClass",e.actionsService.getWithdrawButtonClass(e.withdrawClass,e.showDepositButton||e.spinnerDeposit,e.showTTPButton,e.showTransferButton))}}function he(e,t){if(1&e&&(r["ɵɵelementStart"](0,"button",13),r["ɵɵtext"](1,"\n                    account.cbtransfer\n                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("routerLink",e.transferUrl)("ngClass",e.actionsService.getTransferButtonClass(e.withdrawClass,e.showDepositButton||e.spinnerDeposit,e.showWithdrawalButton))}}function me(e,t){if(1&e&&(r["ɵɵelementStart"](0,"button",14),r["ɵɵtext"](1,"\n                    account.playerTransfer\n                "),r["ɵɵelementEnd"]()),2&e){const e=r["ɵɵnextContext"]();r["ɵɵproperty"]("routerLink",e.ttpUrl)("ngClass",e.actionsService.getTransferButtonClass(e.withdrawClass,e.showDepositButton||e.spinnerDeposit,e.showWithdrawalButton))}}let fe=(()=>{class e{constructor(e){this.actionsService=e,this.spinnerDeposit=!1,this.loading=!1,this.clickDeposit=new r.EventEmitter}navigateToCashier(){this.clickDeposit.emit(!0)}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](se.j))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-account-menu-cashier-actions"]],inputs:{depositUrl:"depositUrl",withdrawUrl:"withdrawUrl",transferUrl:"transferUrl",ttpUrl:"ttpUrl",spinnerDeposit:"spinnerDeposit",loading:"loading",showDepositButton:"showDepositButton",showWithdrawalButton:"showWithdrawalButton",showTransferButton:"showTransferButton",showTTPButton:"showTTPButton",withdrawClass:"withdrawClass"},outputs:{clickDeposit:"clickDeposit"},decls:19,vars:6,consts:[[1,"account-deposit-buttons","button-rows"],[1,"buttons-container","cashier-actions-row"],["id","depositButton","type","button","class","account-deposit-button custom-cta primary flex-buttons",3,"routerLink","ngClass","bxTranslate","bxTrackClick",4,"ngIf"],["id","spinnerDepositButton","type","button","class","account-deposit-button custom-cta primary flex-buttons",3,"ngClass","bxTranslate","bxTrackClick","click",4,"ngIf"],["class","loading-spinner",4,"ngIf"],["type","button","id","withdrawButton",3,"routerLink","ngClass","bxTranslate",4,"ngIf"],["type","button","id","cbtransferButton",3,"routerLink","ngClass","bxTranslate",4,"ngIf"],["type","button","id","playerTransferButton",3,"routerLink","ngClass","bxTranslate",4,"ngIf"],["id","depositButton","type","button",1,"account-deposit-button","custom-cta","primary","flex-buttons",3,"routerLink","ngClass","bxTranslate","bxTrackClick"],["id","spinnerDepositButton","type","button",1,"account-deposit-button","custom-cta","primary","flex-buttons",3,"ngClass","bxTranslate","bxTrackClick","click"],[1,"loading-spinner"],[1,"icon","icon-loading"],["type","button","id","withdrawButton",3,"routerLink","ngClass","bxTranslate"],["type","button","id","cbtransferButton",3,"routerLink","ngClass","bxTranslate"],["type","button","id","playerTransferButton",3,"routerLink","ngClass","bxTranslate"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"div",0),r["ɵɵtext"](2,"\n            "),r["ɵɵelementStart"](3,"div",1),r["ɵɵtext"](4,"\n                "),r["ɵɵtemplate"](5,le,2,3,"button",2),r["ɵɵtext"](6,"\n                "),r["ɵɵtemplate"](7,de,2,2,"button",3),r["ɵɵtext"](8,"\n                "),r["ɵɵtemplate"](9,ue,4,0,"figure",4),r["ɵɵtext"](10,"\n                "),r["ɵɵtemplate"](11,pe,2,2,"button",5),r["ɵɵtext"](12,"\n                "),r["ɵɵtemplate"](13,he,2,2,"button",6),r["ɵɵtext"](14,"\n                "),r["ɵɵtemplate"](15,me,2,2,"button",7),r["ɵɵtext"](16,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](17,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](18,"\n    ")),2&e&&(r["ɵɵadvance"](5),r["ɵɵproperty"]("ngIf",t.showDepositButton),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.spinnerDeposit),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.loading&&t.spinnerDeposit),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.showWithdrawalButton),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.showTransferButton),r["ɵɵadvance"](2),r["ɵɵproperty"]("ngIf",t.showTTPButton))},directives:[i.NgIf,o.RouterLink,i.NgClass,_.P,ce.X],encapsulation:2}),e})();var ge=n(56479);function ve(e,t){1&e&&(r["ɵɵelementStart"](0,"i"),r["ɵɵtext"](1,"\n                            "),r["ɵɵelement"](2,"bx-communications-counter",7),r["ɵɵtext"](3,"\n                        "),r["ɵɵelementEnd"]())}const be=function(){return["active"]};function ye(e,t){if(1&e&&(r["ɵɵelementStart"](0,"li",2),r["ɵɵtext"](1,"\n                "),r["ɵɵelementStart"](2,"button",3),r["ɵɵtext"](3,"\n                    "),r["ɵɵelementStart"](4,"div",4),r["ɵɵtext"](5,"\n                        "),r["ɵɵtemplate"](6,ve,4,0,"i",5),r["ɵɵtext"](7,"\n                        "),r["ɵɵelement"](8,"i"),r["ɵɵtext"](9,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](10,"\n                    "),r["ɵɵelementStart"](11,"span",6),r["ɵɵtext"](12),r["ɵɵelementEnd"](),r["ɵɵtext"](13,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](14,"\n            "),r["ɵɵelementEnd"]()),2&e){const e=t.$implicit;r["ɵɵpropertyInterpolate"]("title",e.title),r["ɵɵpropertyInterpolate"]("routerLink",e.link),r["ɵɵproperty"]("routerLinkActive",r["ɵɵpureFunction0"](8,be)),r["ɵɵadvance"](6),r["ɵɵproperty"]("ngIf",e.iconClass.indexOf("icon-envelope")>-1),r["ɵɵadvance"](2),r["ɵɵclassMap"](e.iconClass),r["ɵɵadvance"](4),r["ɵɵtextInterpolate"](e.title)}}let Se=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-menu-navigation"]],inputs:{accountMenuItems:"accountMenuItems"},decls:6,vars:1,consts:[["role","list",1,"custom-tab","tab-menu"],["role","button",3,"title","routerLink","routerLinkActive",4,"ngFor","ngForOf"],["role","button",3,"title","routerLink","routerLinkActive"],[1,"static-btn"],[1,"icon-wrapper"],[4,"ngIf"],[1,"static-title"],[1,"message-number"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"ul",0),r["ɵɵtext"](2,"\n            "),r["ɵɵtemplate"](3,ye,15,9,"li",1),r["ɵɵtext"](4,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](5,"\n    ")),2&e&&(r["ɵɵadvance"](3),r["ɵɵproperty"]("ngForOf",t.accountMenuItems))},directives:[i.NgForOf,o.RouterLink,o.RouterLinkActive,i.NgIf,ge.V],encapsulation:2}),e})();const Ce=function(e){return{"red-top-border":e}},xe=function(e){return{hidden:e}};let Ie=(()=>{class e{constructor(e,t,n,i,r,o,a,s,c,l,d,u,p,h,m,f){this.logoutService=e,this.accountMenuService=t,this.toastNotificationService=n,this.translateService=i,this.profileService=r,this.profileStore=o,this.loyaltyStore=a,this.siteConfigService=s,this.router=c,this.sessionStorage=l,this.transferConfigService=d,this.analyticsService=u,this.windowService=p,this.browserStorageService=h,this.platformId=m,this.loginPaymentMethodsService=f,this.depositUrl="/"+y.RC+"/"+y.Px+"/deposit",this.withdrawUrl="/"+y.RC+"/"+y.Px+"/withdraw",this.cbtUrl="/"+y.RC+"/"+y.Px+"/withdraw/cbt",this.ttpUrl="/"+y.RC+"/"+y.Px+"/withdraw/ttp",this.showTopBorder=!1,this.showTransferToPlayerButton=!1,this.hasCBTMethod=!1,this.hasLinkedAccounts=!1}ngOnInit(){this.translateService.translate("account.logout.message").subscribe((e=>this.successMessage=e)),(0,i.isPlatformBrowser)(this.platformId)&&this.profileService.getProfileDetailsPlayer().subscribe((e=>{this.playerName=this.profileService.resolvePlayerName(e)})),this.accountMenuService.getAllMenuItems().subscribe((e=>{this.accountMenuItems=e,this.filterAccountMenuByFeatureFlag("site.config.raf.enabled","/account/refer-a-friend"),this.filterAccountMenuByFeatureFlag("site.config.item-change-password.enabled","/account/change-password"),this.siteConfigService.evalFeature("site.config.messages.disabled")&&(this.accountMenuItems=this.accountMenuItems.filter((e=>"/account/messages"!==e.link)))})),this.loginPaymentMethodsService.hasTTPMethod().subscribe((e=>{this.showTransferToPlayerButton=e})),this.loginPaymentMethodsService.hasCBTMethod().subscribe((e=>{this.hasCBTMethod=e})),this.router.events.pipe((0,b.filter)((e=>e instanceof o.NavigationEnd))).subscribe((e=>this.browserStorageService.set("previousUrl",e.url))),(0,x.EH)((()=>{this.hasLinkedAccounts=this.profileStore.personaLinkedAccounts.length>0}))}getLoyaltyTierBorderStyle(){return this.loyaltyStore.currentTierColor&&this.showTopBorder?{"border-top":"2px solid "+this.loyaltyStore.currentTierColor}:{}}logoutClick(){const e=this.getCurrentPath();return this.logoutService.logout().subscribe((()=>{this.trackLogoutSuccess(e),this.toastNotificationService.add({msg:this.successMessage,modal:!0,onRemove:()=>{this.doAfterLogout()}})})),!1}isCBTransferEnabled(){return this.hasCBTMethod&&this.hasLinkedAccounts}trackLogoutSuccess(e){this.analyticsService.sendEvent("click","logout:success",!0,{2:e})}getCurrentPath(){return this.windowService.window().location.href.split("?")[0]}isHiddenAccountDepositButtons(){return!(this.showCashierDeposit()||this.showCashierWithdrawal()||this.transferConfigService.isTransferEnabled()||this.showTransferToPlayerButton)}showCashierDeposit(){return this.siteConfigService.evalFeature("site.config.cashier.deposit.enabled")}showCashierWithdrawal(){return this.siteConfigService.evalFeature("site.config.cashier.withdrawal.enabled")}redirectToHomeAndShowLoginOverlay(){this.router.navigate(["/"],{skipLocationChange:!0}).then((()=>{this.router.navigate(["/login"])}))}doAfterLogout(){this.profileService.cleanProfileDetailsPlayer(),this.siteConfigService.evalFeature("site.config.sitewide_auth_required")||this.sessionStorage.get("softBlocked")?this.redirectToHomeAndShowLoginOverlay():this.router.navigate(["/"])}filterAccountMenuByFeatureFlag(e,t){this.siteConfigService.evalFeature(e)||(this.accountMenuItems=this.accountMenuItems.filter((e=>e.link!==t)))}}return e.ɵfac=function(t){return new(t||e)(r["ɵɵdirectiveInject"](a.P),r["ɵɵdirectiveInject"](S.L),r["ɵɵdirectiveInject"](h.il),r["ɵɵdirectiveInject"](p.s),r["ɵɵdirectiveInject"](f.H),r["ɵɵdirectiveInject"](C.s),r["ɵɵdirectiveInject"](m.K),r["ɵɵdirectiveInject"](u.r),r["ɵɵdirectiveInject"](o.Router),r["ɵɵdirectiveInject"](l.u),r["ɵɵdirectiveInject"](v.h),r["ɵɵdirectiveInject"](s.y),r["ɵɵdirectiveInject"](d.u),r["ɵɵdirectiveInject"](c.z),r["ɵɵdirectiveInject"](r.PLATFORM_ID),r["ɵɵdirectiveInject"](g.W))},e.ɵcmp=r["ɵɵdefineComponent"]({type:e,selectors:[["bx-account-menu-navigation"]],inputs:{showTopBorder:"showTopBorder"},decls:44,vars:18,consts:[["id","root-for-bx-account-menu-navigation",3,"ngStyle","ngClass"],[1,"modal-body"],[1,"account-status"],[1,"account-info"],[3,"playerName"],[1,"account-balance-pending"],[1,"account-balance-logout"],[1,"account-balance"],[1,"account-logout"],["type","button",1,"account-logout-button","custom-cta","tertiary","cta-small",3,"bxTranslate","click"],[1,"pending-withdrawal"],[3,"ngClass","depositUrl","withdrawUrl","transferUrl","ttpUrl","withdrawClass","showDepositButton","showWithdrawalButton","showTransferButton","showTTPButton"],[3,"accountMenuItems"]],template:function(e,t){1&e&&(r["ɵɵtext"](0,"\n        "),r["ɵɵelementStart"](1,"div",0),r["ɵɵtext"](2,"\n            "),r["ɵɵelementStart"](3,"section",1),r["ɵɵtext"](4,"\n                "),r["ɵɵelementStart"](5,"div",2),r["ɵɵtext"](6,"\n                    "),r["ɵɵelementStart"](7,"div",3),r["ɵɵtext"](8,"\n                        "),r["ɵɵelement"](9,"bx-loyalty-profile-summary",4),r["ɵɵtext"](10,"\n                        "),r["ɵɵelementStart"](11,"div",5),r["ɵɵtext"](12,"\n                            "),r["ɵɵelementStart"](13,"div",6),r["ɵɵtext"](14,"\n                                "),r["ɵɵelementStart"](15,"div",7),r["ɵɵtext"](16,"\n                                    "),r["ɵɵelement"](17,"bx-extended-balance-ch"),r["ɵɵtext"](18,"\n                                "),r["ɵɵelementEnd"](),r["ɵɵtext"](19,"\n                                "),r["ɵɵelementStart"](20,"div",8),r["ɵɵtext"](21,"\n                                    "),r["ɵɵelementStart"](22,"button",9),r["ɵɵlistener"]("click",(function(){return t.logoutClick()})),r["ɵɵtext"](23,"\n                                        account.logout\n                                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](24,"\n                                "),r["ɵɵelementEnd"](),r["ɵɵtext"](25,"\n                            "),r["ɵɵelementEnd"](),r["ɵɵtext"](26,"\n                            "),r["ɵɵelementStart"](27,"div",10),r["ɵɵtext"](28,"\n                                "),r["ɵɵelement"](29,"bx-pending-withdrawal-ch"),r["ɵɵtext"](30,"\n                            "),r["ɵɵelementEnd"](),r["ɵɵtext"](31,"\n                         "),r["ɵɵelementEnd"](),r["ɵɵtext"](32,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](33,"\n                    "),r["ɵɵelement"](34,"bx-validate-profile-notification"),r["ɵɵtext"](35,"\n                    "),r["ɵɵelementStart"](36,"bx-account-menu-cashier-actions",11),r["ɵɵtext"](37,"\n                    "),r["ɵɵelementEnd"](),r["ɵɵtext"](38,"\n                    "),r["ɵɵelement"](39,"bx-menu-navigation",12),r["ɵɵtext"](40,"\n                "),r["ɵɵelementEnd"](),r["ɵɵtext"](41,"\n            "),r["ɵɵelementEnd"](),r["ɵɵtext"](42,"\n        "),r["ɵɵelementEnd"](),r["ɵɵtext"](43,"\n    ")),2&e&&(r["ɵɵadvance"](1),r["ɵɵproperty"]("ngStyle",t.getLoyaltyTierBorderStyle())("ngClass",r["ɵɵpureFunction1"](14,Ce,t.showTopBorder)),r["ɵɵadvance"](8),r["ɵɵproperty"]("playerName",t.playerName),r["ɵɵadvance"](27),r["ɵɵproperty"]("ngClass",r["ɵɵpureFunction1"](16,xe,t.isHiddenAccountDepositButtons()))("depositUrl",t.depositUrl)("withdrawUrl",t.withdrawUrl)("transferUrl",t.cbtUrl)("ttpUrl",t.ttpUrl)("withdrawClass","secondary")("showDepositButton",t.showCashierDeposit())("showWithdrawalButton",t.showCashierWithdrawal())("showTransferButton",t.isCBTransferEnabled())("showTTPButton",t.showTransferToPlayerButton),r["ɵɵadvance"](3),r["ɵɵproperty"]("accountMenuItems",t.accountMenuItems))},directives:[i.NgStyle,i.NgClass,j,$,_.P,K,ae,fe,Se],encapsulation:2}),e})()},62943:(e,t,n)=>{"use strict";n.d(t,{L:()=>l});var i=n(80112),r=n(23550),o=n(48108),a=n(42998);class s{}var c=n(57826);let l=(()=>{class e{constructor(e,t,n){this.http=e,this.languageService=t,this.urlPrefixService=n,this.menuItemsUrl=e=>`/content/${e}/account-menu.json`,this.languageService.getLanguage().subscribe((e=>this.language=e))}getAllMenuItems(){const e=this.urlPrefixService.addUrlPrefix(this.menuItemsUrl(this.language));return this.http.get(e).pipe((0,a.map)((e=>this.mapMenuItems(e.value))))}mapMenuItems(e){return e.map((e=>this.mapMenuItem(e)))}mapMenuItem(e){let t=new s;return t.title=e.title.value,t.iconClass=e.iconClass.value,t.link=e.link.value,t}}return e.ɵfac=function(t){return new(t||e)(c["ɵɵinject"](r.HttpClient),c["ɵɵinject"](o.T),c["ɵɵinject"](i.z))},e.ɵprov=c["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})()},78625:(e,t,n)=>{"use strict";n.d(t,{P:()=>P});var i=n(6856),r=n(73753),o=n(41306),a=n(84704),s=n(72855),c=n(19799),l=n(67344),d=n(57826);let u=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=d["ɵɵdefineNgModule"]({type:e}),e.ɵinj=d["ɵɵdefineInjector"]({providers:[l.k],imports:[[i.CommonModule,c.R,a.a]]}),e})();var p=n(69937),h=n(26090),m=n(73502),f=n(46630),g=n(45965),v=n(92947),b=n(86014);let y=(()=>{class e{constructor(e,t){this.profileService=e,this.siteConfigService=t}ngOnInit(){this.profileService.updateDocumentVerificationStatusToPending().subscribe()}getIconClass(){return"SLLV"===this.siteConfigService.getSiteConfigProp("brandCode")?"icon icon-success":"icon icon-status-win"}}return e.ɵfac=function(t){return new(t||e)(d["ɵɵdirectiveInject"](v.H),d["ɵɵdirectiveInject"](g.r))},e.ɵcmp=d["ɵɵdefineComponent"]({type:e,selectors:[["bx-identity-verification-landing-page"]],decls:12,vars:1,consts:[[1,"identity-verification-landing-icon"],[3,"ngClass"],[1,"content-title",3,"bxTranslate"],[1,"content-body",3,"bxTranslate"]],template:function(e,t){1&e&&(d["ɵɵtext"](0,"\n        "),d["ɵɵelementStart"](1,"div",0),d["ɵɵtext"](2,"\n            "),d["ɵɵelement"](3,"i",1),d["ɵɵtext"](4,"\n            "),d["ɵɵelementStart"](5,"p",2),d["ɵɵtext"](6,"validationCode.overlay.content.message.info.identityVerificationSubmitted"),d["ɵɵelementEnd"](),d["ɵɵtext"](7,"\n            "),d["ɵɵelementStart"](8,"p",3),d["ɵɵtext"](9,"validationCode.overlay.content.message.info.processCanTakeMinutes"),d["ɵɵelementEnd"](),d["ɵɵtext"](10,"\n        "),d["ɵɵelementEnd"](),d["ɵɵtext"](11,"\n    ")),2&e&&(d["ɵɵadvance"](3),d["ɵɵproperty"]("ngClass",t.getIconClass()))},directives:[i.NgClass,b.P],encapsulation:2}),e})(),S=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=d["ɵɵdefineNgModule"]({type:e}),e.ɵinj=d["ɵɵdefineInjector"]({imports:[[a.a,i.CommonModule,m.D,f.I,r.RouterModule.forChild([{path:"identity-verification/result",component:y}])]]}),e})();var C=n(54348);let x=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=d["ɵɵdefineNgModule"]({type:e}),e.ɵinj=d["ɵɵdefineInjector"]({imports:[[i.CommonModule,a.a,p.p,h.Z,r.RouterModule,C.J,S]]}),e})();var I=n(64076),w=n(65357);let E=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=d["ɵɵdefineNgModule"]({type:e}),e.ɵinj=d["ɵɵdefineInjector"]({providers:[w.j],imports:[[i.CommonModule,a.a,r.RouterModule,o.I]]}),e})();var T=n(94254);let P=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=d["ɵɵdefineNgModule"]({type:e}),e.ɵinj=d["ɵɵdefineInjector"]({providers:[],imports:[[i.CommonModule,a.a,I.Q,T.n,r.RouterModule,u,o.I,x,E,s.k]]}),e})()},55298:(e,t,n)=>{"use strict";n(36291);var i=n(57826);var r=n(6856),o=n(73753),a=n(64762),s=n(4309),c=n(42998);const l=new i.InjectionToken("ComponentInjector");let d=(()=>{class e{constructor(e){this.componentOutlet=e}get componentRef(){return this.componentOutlet._componentRef}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](r.NgComponentOutlet,1))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","ngComponentOutlet",""]],exportAs:["ndcComponentOutletInjector"]}),e})();"undefined"==typeof ngDevMode||ngDevMode;let u=(()=>{class e{constructor(e,t,n,i,r){this.renderer=e,this.differs=t,this.injector=n,this.componentInjectorType=i,this.componentOutletInjector=r,this._attrsDiffer=this.differs.find({}).create(),this._componentInjector=this.injector.get(this.componentInjectorType,null)}get _attributes(){return this.ndcDynamicAttributes||this.ngComponentOutletNdcDynamicAttributes}get _compInjector(){return this.componentOutletInjector||this._componentInjector}get _nativeElement(){return this._compInjector.componentRef&&this._compInjector.componentRef.location.nativeElement}get _compType(){return this._compInjector.componentRef&&this._compInjector.componentRef.componentType}get _isCompChanged(){return this._lastCompType!==this._compType&&(this._lastCompType=this._compType,!0)}ngDoCheck(){const e=this._isCompChanged,t=this._attrsDiffer.diff(this._attributes);t&&(this._lastAttrActions=this._changesToAttrActions(t)),(t||e&&this._lastAttrActions)&&this._updateAttributes(this._lastAttrActions)}setAttribute(e,t,n){this._nativeElement&&this.renderer.setAttribute(this._nativeElement,e,t,n)}removeAttribute(e,t){this._nativeElement&&this.renderer.removeAttribute(this._nativeElement,e,t)}_updateAttributes(e){this._compType&&(Object.keys(e.set).forEach((t=>this.setAttribute(t,e.set[t]))),e.remove.forEach((e=>this.removeAttribute(e))))}_changesToAttrActions(e){const t={set:{},remove:[]};return e.forEachAddedItem((e=>t.set[e.key]=e.currentValue)),e.forEachChangedItem((e=>t.set[e.key]=e.currentValue)),e.forEachRemovedItem((e=>t.remove.push(e.key))),t}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.Renderer2),i["ɵɵdirectiveInject"](i.KeyValueDiffers),i["ɵɵdirectiveInject"](i.Injector),i["ɵɵdirectiveInject"](l),i["ɵɵdirectiveInject"](d,9))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","ndcDynamicAttributes",""],["","ngComponentOutletNdcDynamicAttributes",""]],inputs:{ndcDynamicAttributes:"ndcDynamicAttributes",ngComponentOutletNdcDynamicAttributes:"ngComponentOutletNdcDynamicAttributes"},exportAs:["ndcDynamicAttributes"]}),e})();function p(e){return new i.SimpleChange(void 0,e,!0)}function h(e,t){return n=>t(n,function(e,t=!1){return t?p(e.currentValue):new i.SimpleChange(e.previousValue,e.currentValue,!1)}(n,e))}"undefined"==typeof ngDevMode||ngDevMode;const m={isFirstChanges:!1,onlyNewChanges:!1};function f(e=m){return e.onlyNewChanges?(t=e.isFirstChanges,e=>h(t,((t,n)=>{e[t.key]||(e[t.key]=n)}))):function(e){return t=>h(e,((e,n)=>t[e.key]=n))}(e.isFirstChanges);var t}function g(){}const v=f({isFirstChanges:!0}),b=f({onlyNewChanges:!0});let y=(()=>{class e{constructor(e,t){this._differs=e,this._cfr=t,this.checkInit=this.failInit,this._lastComponentInst=null,this._inputsDiffer=this._differs.find({}).create(),this._compFactory=null,this._outputsShouldDisconnect$=new s.Subject,this._outputsChanged=()=>!1}get _compRef(){return this._compInjector.componentRef}get _componentInst(){return this._compRef?this._compRef.instance:null}get _componentInstChanged(){return this._lastComponentInst!==this._componentInst&&(this._lastComponentInst=this._componentInst,!0)}get _compCdr(){return this._compRef?this._compRef.injector.get(i.ChangeDetectorRef):null}ngOnDestroy(){this._disconnectOutputs()}init(e,t={}){if(this.checkInit=e?g:this.failInit,this._compInjector=e,t.trackOutputChanges){const e=this._differs.find({}).create();this._outputsChanged=t=>!!e.diff(t)}}update(e,t,n,i){this.checkInit(),this.updateIO(e,t);const r=this._componentInstChanged;if(r||n){const e=this._getInputsChanges(this._inputs);e&&this._updateInputChanges(e),this.updateInputs(r||!this._lastInputChanges)}(r||i)&&this.bindOutputs()}maybeUpdate(){if(this.checkInit(),this._componentInstChanged)return this.updateInputs(!0),void this.bindOutputs();if(this._outputsChanged(this._outputs)&&this.bindOutputs(),!this._inputs)return;const e=this._getInputsChanges(this._inputs);if(e){const t=!!this._lastInputChanges;this._updateInputChanges(e),t&&this.updateInputs()}}updateIO(e,t){this._inputs=e,this._outputs=t}updateInputs(e=!1){e&&this._updateCompFactory();const t=this._componentInst;let n=this._inputs;n&&t&&(n=this._resolveInputs(n),Object.keys(n).forEach((e=>t[e]=n[e])),this._compCdr&&this._compCdr.markForCheck(),this.notifyOnInputChanges(this._lastInputChanges,e))}bindOutputs(){this._disconnectOutputs();const e=this._componentInst;let t=this._outputs;t&&e&&(t=this._resolveOutputs(t),Object.keys(t).filter((t=>e[t])).forEach((n=>e[n].pipe((0,c.takeUntil)(this._outputsShouldDisconnect$)).subscribe(t[n]))))}notifyOnInputChanges(e={},t){this._componentInst.ngOnChanges&&(t&&(e=this._collectFirstChanges()),this._componentInst.ngOnChanges(e))}_disconnectOutputs(){this._outputsShouldDisconnect$.next()}_getInputsChanges(e){return this._inputsDiffer.diff(this._inputs)}_updateInputChanges(e){this._lastInputChanges=this._collectChangesFromDiffer(e)}_collectFirstChanges(){const e={},t=this._inputs;return Object.keys(t).forEach((n=>e[n]=p(t[n]))),this._resolveChanges(e)}_collectChangesFromDiffer(e){const t={};return e.forEachAddedItem(v(t)),e.forEachItem(b(t)),this._resolveChanges(t)}_resolveCompFactory(){try{try{return this._cfr.resolveComponentFactory(this._compRef.componentType)}catch(e){return this._cfr.resolveComponentFactory(this._compRef.instance.constructor)}}catch(e){return null}}_updateCompFactory(){this._compFactory=this._resolveCompFactory()}_resolveInputs(e){return this._compFactory?this._remapIO(e,this._compFactory.inputs):e}_resolveOutputs(e){return this._compFactory?this._remapIO(e,this._compFactory.outputs):e}_resolveChanges(e){return this._compFactory?this._remapIO(e,this._compFactory.inputs):e}_remapIO(e,t){const n={};return Object.keys(e).forEach((i=>{const r=this._findPropByTplInMapping(i,t)||i;n[r]=e[i]})),n}_findPropByTplInMapping(e,t){for(const n of t)if(n.templateName===e)return n.propName;return null}failInit(){throw Error("IoService: ComponentInjector was not set! Please call init() method!")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.KeyValueDiffers),i["ɵɵinject"](i.ComponentFactoryResolver))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();"undefined"==typeof ngDevMode||ngDevMode;let S=(()=>{class e{constructor(e,t){this.differs=e,this.cfr=t}create(){return new y(this.differs,this.cfr)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.KeyValueDiffers),i["ɵɵinject"](i.ComponentFactoryResolver))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();"undefined"==typeof ngDevMode||ngDevMode;const C=new i.InjectionToken("WindowRef");let x=(()=>{class e{constructor(e){this.injector=e,this.nativeWindow=this.injector.get(C,null)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.Injector))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();"undefined"==typeof ngDevMode||ngDevMode;let I=(()=>{class e{constructor(e,t,n,r,o,a){this.injector=e,this.iterableDiffers=t,this.ioFactoryService=n,this.windowRef=r,this.componentInjectorType=o,this.componentOutletInjector=a,this.ndcDynamicDirectivesCreated=new i.EventEmitter,this.componentInjector=this.injector.get(this.componentInjectorType,null),this.dirRef=new Map,this.dirIo=new Map,this.dirsDiffer=this.iterableDiffers.find([]).create(((e,t)=>t.type))}get directives(){return this.ndcDynamicDirectives||this.ngComponentOutletNdcDynamicDirectives}get compInjector(){return this.componentOutletInjector||this.componentInjector}get componentRef(){return this.compInjector.componentRef}get compInstance(){return this.componentRef&&this.componentRef.instance}get isCompChanged(){return this.lastCompInstance!==this.compInstance&&(this.lastCompInstance=this.compInstance,!0)}get hostInjector(){return this.componentRef.injector}get hostVcr(){return this.componentRef._viewRef._viewContainerRef}get reflect(){return this.windowRef.nativeWindow.Reflect}ngDoCheck(){if(this.maybeDestroyDirectives())return;const e=this.dirsDiffer.diff(this.directives);if(!e)return this.updateDirectives();this.processDirChanges(e)}ngOnDestroy(){this.destroyAllDirectives()}maybeDestroyDirectives(){return!this.isCompChanged&&this.componentRef||(this.dirsDiffer.diff([]),this.destroyAllDirectives()),!this.componentRef}processDirChanges(e){e.forEachRemovedItem((({item:e})=>this.destroyDirective(e)));const t=[];e.forEachAddedItem((({item:e})=>t.push(this.initDirective(e)))),t.length&&this.ndcDynamicDirectivesCreated.emit(t.filter(Boolean))}updateDirectives(){this.directives.forEach((e=>this.updateDirective(e)))}updateDirective(e){const t=this.dirIo.get(e.type);t.update(e.inputs,e.outputs,!1,!1),t.maybeUpdate()}initDirective(e){if(this.dirRef.has(e.type))return;const t=this.createDirective(e.type),n={instance:t,type:e.type,injector:this.hostInjector,hostComponent:this.componentRef.instance,hostView:this.componentRef.hostView,location:this.componentRef.location,changeDetectorRef:this.componentRef.changeDetectorRef,onDestroy:this.componentRef.onDestroy};return this.initDirIO(n,e.inputs,e.outputs),this.callInitHooks(t),this.dirRef.set(n.type,n),n}destroyAllDirectives(){this.dirRef.forEach((e=>this.destroyDirRef(e))),this.dirRef.clear(),this.dirIo.clear()}destroyDirective(e){this.destroyDirRef(this.dirRef.get(e.type)),this.dirRef.delete(e.type),this.dirIo.delete(e.type)}initDirIO(e,t,n){const i=this.ioFactoryService.create();i.init({componentRef:this.dirToCompDef(e)},{trackOutputChanges:!0}),i.update(t,n,!!t,!!n),this.dirIo.set(e.type,i)}dirToCompDef(e){return Object.assign({},this.componentRef,{destroy:this.componentRef.destroy,onDestroy:this.componentRef.onDestroy,injector:this.componentRef.injector,instance:e.instance,componentType:e.type})}destroyDirRef(e){this.dirIo.get(e.type).ngOnDestroy(),"ngOnDestroy"in e.instance&&e.instance.ngOnDestroy()}createDirective(e){var t;return new e(...(t=e,this.reflect.getMetadata("design:paramtypes",t)).map((e=>this.resolveDep(e))))}resolveDep(e){return this.maybeResolveVCR(e)||this.hostInjector.get(e)}maybeResolveVCR(e){if(e===i.ViewContainerRef)return this.hostVcr}callInitHooks(e){this.callHook(e,"ngOnInit"),this.callHook(e,"ngDoCheck"),this.callHook(e,"ngAfterContentInit"),this.callHook(e,"ngAfterContentChecked"),this.callHook(e,"ngAfterViewInit"),this.callHook(e,"ngAfterViewChecked")}callHook(e,t,n=[]){e[t]&&e[t](...n)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.Injector),i["ɵɵdirectiveInject"](i.IterableDiffers),i["ɵɵdirectiveInject"](S),i["ɵɵdirectiveInject"](x),i["ɵɵdirectiveInject"](l),i["ɵɵdirectiveInject"](d,9))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","ndcDynamicDirectives",""],["","ngComponentOutletNdcDynamicDirectives",""]],inputs:{ndcDynamicDirectives:"ndcDynamicDirectives",ngComponentOutletNdcDynamicDirectives:"ngComponentOutletNdcDynamicDirectives"},outputs:{ndcDynamicDirectivesCreated:"ndcDynamicDirectivesCreated"}}),e})();"undefined"==typeof ngDevMode||ngDevMode;let w=(()=>{class e{constructor(e,t){this._vcr=e,this._cfr=t,this.ndcDynamicCreated=new i.EventEmitter}ngOnChanges(e){e.ndcDynamicComponent&&this.createDynamicComponent()}createDynamicComponent(){this._vcr.clear(),this.componentRef=null,this.ndcDynamicComponent&&(this.componentRef=this._vcr.createComponent(this._cfr.resolveComponentFactory(this.ndcDynamicComponent),0,this._resolveInjector(),this.ndcDynamicContent),this.ndcDynamicCreated.emit(this.componentRef))}_resolveInjector(){let e=this.ndcDynamicInjector||this._vcr.parentInjector;return this.ndcDynamicProviders&&(e=i.Injector.create({providers:this.ndcDynamicProviders,parent:e})),e}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](i.ComponentFactoryResolver))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["ndc-dynamic"]],inputs:{ndcDynamicComponent:"ndcDynamicComponent",ndcDynamicInjector:"ndcDynamicInjector",ndcDynamicProviders:"ndcDynamicProviders",ndcDynamicContent:"ndcDynamicContent"},outputs:{ndcDynamicCreated:"ndcDynamicCreated"},features:[i["ɵɵNgOnChangesFeature"]],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();"undefined"==typeof ngDevMode||ngDevMode;let E=(()=>{class e{constructor(e,t,n,i){this._injector=e,this.ioService=t,this._componentInjectorType=n,this._componentOutletInjector=i,this._componentInjector=this._injector.get(this._componentInjectorType,null),this.ioService.init(this._compInjector)}get _inputs(){return this.ndcDynamicInputs||this.ngComponentOutletNdcDynamicInputs}get _outputs(){return this.ndcDynamicOutputs||this.ngComponentOutletNdcDynamicOutputs}get _compInjector(){return this._componentOutletInjector||this._componentInjector}ngOnChanges(e){this.ioService.update(this._inputs,this._outputs,this._inputsChanged(e),this._outputsChanged(e))}ngDoCheck(){this.ioService.maybeUpdate()}_inputsChanged(e){return"ngComponentOutletNdcDynamicInputs"in e||"ndcDynamicInputs"in e}_outputsChanged(e){return"ngComponentOutletNdcDynamicOutputs"in e||"ndcDynamicOutputs"in e}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.Injector),i["ɵɵdirectiveInject"](y),i["ɵɵdirectiveInject"](l),i["ɵɵdirectiveInject"](d,9))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","ndcDynamicInputs",""],["","ndcDynamicOutputs",""],["","ngComponentOutletNdcDynamicInputs",""],["","ngComponentOutletNdcDynamicOutputs",""]],inputs:{ndcDynamicInputs:"ndcDynamicInputs",ngComponentOutletNdcDynamicInputs:"ngComponentOutletNdcDynamicInputs",ndcDynamicOutputs:"ndcDynamicOutputs",ngComponentOutletNdcDynamicOutputs:"ngComponentOutletNdcDynamicOutputs"},features:[i["ɵɵProvidersFeature"]([y]),i["ɵɵNgOnChangesFeature"]]}),e})();function T(){return window}"undefined"==typeof ngDevMode||ngDevMode;let P=(()=>{class e{static withComponents(t,n=w){return{ngModule:e,providers:[{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,useValue:t,multi:!0},{provide:l,useValue:n},S,{provide:C,useFactory:T},x]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[r.CommonModule]]}),e})();"undefined"==typeof ngDevMode||ngDevMode,("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](P,{declarations:function(){return[w,E,d,u,I]},imports:function(){return[r.CommonModule]},exports:function(){return[w,E,d,u,I]}});var A=n(1459);function _(e,t){if(1&e&&i["ɵɵelementContainer"](0,1),2&e){const e=t.ngIf,n=i["ɵɵnextContext"]();i["ɵɵproperty"]("ndcDynamicInputs",n.inputs)("ndcDynamicOutputs",n.outputs)("ngComponentOutletNgModuleFactory",e.ngModuleFactory)("ngComponentOutlet",e.componentType)}}const M=new i.InjectionToken("REACTIVE_COMPONENT_LOADER_MODULE_REGISTRY");function O(e){return new Error(`Component '<${e}>' not found.`)}class k{constructor(e,t,n,i){this._compiler=e,this._injector=t,this._ngModuleFactoryLoader=n,this._moduleRegistry=i}getComponentRecipe(e){return null==e?(0,s.of)(null):(0,s.defer)((()=>(0,a.__awaiter)(this,void 0,void 0,(function*(){const{moduleId:t,selector:n}=e,i=this._findModuleInfo(t),r=yield this._getModuleFactory(i),o=r.create(this._injector);return{componentType:this._tryGetComponentType(o,n),ngModuleFactory:r}}))))}_tryGetComponentType(e,t){const n=e.componentFactoryResolver;if(n._factories){const e=Array.from(n._factories.values()).find((e=>e.selector===t));if(null==e)throw O(t);return e.componentType}const[i]=e._bootstrapComponents;if(null==i)throw O(t);return n.resolveComponentFactory(i).componentType}_getModuleFactory(e){return(0,a.__awaiter)(this,void 0,void 0,(function*(){if("string"==typeof e.loadChildren)return yield this._ngModuleFactoryLoader.load(e.loadChildren);const t=yield e.loadChildren();return t instanceof i.NgModuleFactory?t:yield this._compiler.compileModuleAsync(t)}))}_findModuleInfo(e){const t=this._moduleRegistry.filter((t=>t.moduleId===e)),n=t[0];if(null==n)throw function(e){return new Error(`Module with id '${e}' not found.`)}(e);if(t.filter((e=>e.loadChildren!==n.loadChildren)).length>0)throw function(e){return new Error(`Module with id '${e}' has been declared more than once with different locations.`)}(n.moduleId);return n}}k.ɵfac=function(e){return new(e||k)(i["ɵɵinject"](i.Compiler),i["ɵɵinject"](i.Injector),i["ɵɵinject"](i.NgModuleFactoryLoader),i["ɵɵinject"](M))},k.ɵprov=i["ɵɵdefineInjectable"]({token:k,factory:k.ɵfac,providedIn:"root"}),k.ngInjectableDef=(0,i["ɵɵdefineInjectable"])({factory:function(){return new k((0,i["ɵɵinject"])(i.Compiler),(0,i["ɵɵinject"])(i.INJECTOR),(0,i["ɵɵinject"])(i.NgModuleFactoryLoader),(0,i["ɵɵinject"])(M))},token:k,providedIn:"root"}),"undefined"==typeof ngDevMode||ngDevMode;let j=(()=>{class e{constructor(e){this._dynamicComponentLoader=e}ngOnChanges(e){null!=e.location&&(this.componentRecipe$=this._dynamicComponentLoader.getComponentRecipe(this.location))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](k))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["wt-lazy"]],inputs:{location:"location",inputs:"inputs",outputs:"outputs"},features:[i["ɵɵNgOnChangesFeature"]],decls:3,vars:3,consts:[[3,"ndcDynamicInputs","ndcDynamicOutputs","ngComponentOutletNgModuleFactory","ngComponentOutlet",4,"ngIf"],[3,"ndcDynamicInputs","ndcDynamicOutputs","ngComponentOutletNgModuleFactory","ngComponentOutlet"]],template:function(e,t){1&e&&(i["ɵɵtemplate"](0,_,1,4,"ng-container",0),i["ɵɵpipe"](1,"async"),i["ɵɵtext"](2,"\n")),2&e&&i["ɵɵproperty"]("ngIf",i["ɵɵpipeBind1"](1,1,t.componentRecipe$))},directives:[r.NgIf,E,r.NgComponentOutlet,d],pipes:[r.AsyncPipe],encapsulation:2}),e})();"undefined"==typeof ngDevMode||ngDevMode;let N=(()=>{class e extends r.NgComponentOutlet{constructor(e,t){super(t),this._reactiveComponentLoader=e,this._scavenger=new A.u8(this)}get componentRef(){return this._componentRef}ngOnChanges(e){e.location&&this._onLocationChange(e.location.isFirstChange())}ngOnDestroy(){}_onLocationChange(e){this._reactiveComponentLoader.getComponentRecipe(this.location).pipe(this._scavenger.collectByKey("getComponentRecipe")).subscribe((t=>this._onRecipeChange({isFirstChange:e,recipe:t})))}_onRecipeChange({isFirstChange:e,recipe:t}){const{componentType:n=null,ngModuleFactory:r=null}=t||{},o={ngComponentOutlet:new i.SimpleChange(this.ngComponentOutlet,this.ngComponentOutlet=n,e),ngComponentOutletNgModuleFactory:new i.SimpleChange(this.ngComponentOutletNgModuleFactory,this.ngComponentOutletNgModuleFactory=r,e)};super.ngOnChanges(o)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](k),i["ɵɵdirectiveInject"](i.ViewContainerRef))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","wtLazy",""]],inputs:{location:["wtLazy","location"]},features:[i["ɵɵInheritDefinitionFeature"],i["ɵɵNgOnChangesFeature"]]}),e})();function D(){return null}"undefined"==typeof ngDevMode||ngDevMode;let L=(()=>{class e{static forRoot(){return{ngModule:e,providers:[{provide:i.NgModuleFactoryLoader,useClass:i.SystemJsNgModuleLoader}]}}static withModule(t){return{ngModule:e,providers:[(0,o.provideRoutes)([{loadChildren:t.loadChildren,matcher:D}]),{provide:M,useValue:t,multi:!0}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[(0,o.provideRoutes)([])],imports:[[r.CommonModule,P.withComponents([])],P]}),e})();"undefined"==typeof ngDevMode||ngDevMode,("undefined"==typeof ngJitMode||ngJitMode)&&i["ɵɵsetNgModuleScope"](L,{declarations:function(){return[j,N]},imports:function(){return[r.CommonModule,P]},exports:function(){return[P,j,N]}});var R=n(7114),F=n(66168),B=n(25938),U=n(71063),H=n(64174),V=n(45965),G=n(6969);let $=(()=>{class e{constructor(e,t,n,i,r){this.sessionService=e,this.loginService=t,this.profileRegistrationService=n,this.deviceProtectService=i,this.siteConfigService=r,this.deviceProtectConfigProp="deviceProtect",this.deviceProtectDomainProp="domain",this.deviceProtectEnabledProp="enabled",this.loadModule()}loadModule(){if(this.isDeviceProtectEnabled()){const e=this.siteConfigService.getSiteConfigProp(this.deviceProtectConfigProp)[this.deviceProtectDomainProp];this.deviceProtectUrl="https://"+e}}init(){if(this.isDeviceProtectEnabled()){let e=this.deviceProtectService.listenBlackBoxGenerationResults(this.deviceProtectUrl);this.subscribeToEvents(e)}}subscribeToEvents(e){e.subscribe((()=>{if(this.sessionService.isAuthenticated()){let e=this.sessionService.session;this.deviceProtectService.sendSessionId(e,this.deviceProtectUrl)}else this.loginService.loginEvent.subscribe((()=>{let e=this.sessionService.session;this.deviceProtectService.sendSessionId(e,this.deviceProtectUrl)})),this.profileRegistrationService.getRegistrationEvent().subscribe((e=>{this.deviceProtectService.sendSessionId(e.sessionId,this.deviceProtectUrl)}))}))}isDeviceProtectEnabled(){let e=this.siteConfigService.getSiteConfigProp(this.deviceProtectConfigProp);return e&&e[this.deviceProtectEnabledProp]}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](H.m),i["ɵɵinject"](U.r6),i["ɵɵinject"](G.H8),i["ɵɵinject"](B.Xp),i["ɵɵinject"](V.r))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();class z{preload(e,t){return e.data&&e.data.preload?t():(0,s.of)(null)}}var W=n(53001),q=n(17990),K=n(25300);function X(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",1),i["ɵɵtext"](1,"\n            "),i["ɵɵelementStart"](2,"div",2),i["ɵɵtext"](3,"\n                "),i["ɵɵelement"](4,"wt-lazy",3),i["ɵɵtext"](5,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n        "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](4),i["ɵɵproperty"]("location",e.location)("inputs",e.inputs)}}const Y="LazyProfileRegistrationModule";let J=class{constructor(e){this.sessionService=e,this.location={moduleId:Y,selector:"bx-profile-registration-page"},this.inputs={lazyRegistration:!0}}isAuthenticated(){return this.sessionService.isAuthenticated()}};J.ɵfac=function(e){return new(e||J)(i["ɵɵdirectiveInject"](H.m))},J.ɵcmp=i["ɵɵdefineComponent"]({type:J,selectors:[["bx-lazy-profile-registration-page"]],decls:3,vars:1,consts:[["class","registration-container modal-overlay dark-overlay",4,"ngIf"],[1,"registration-container","modal-overlay","dark-overlay"],[1,"modal-content","modal-medium","modal-body"],[3,"location","inputs"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,X,7,2,"div",0),i["ɵɵtext"](2,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",!t.isAuthenticated()))},directives:[r.NgIf,j],styles:[".registration-container.modal-overlay.dark-overlay[_ngcontent-%COMP%] {\n  background-color: transparent;\n  overflow: hidden;\n  position: inherit;\n}\n\n.registration-container.modal-overlay.dark-overlay[_ngcontent-%COMP%]   .modal-content[_ngcontent-%COMP%] {\n  margin: 0 auto;\n}\n\n.registration-container.modal-overlay.dark-overlay[_ngcontent-%COMP%]   .modal-content.modal-medium.modal-body[_ngcontent-%COMP%] {\n  border: none;\n}"]}),J=(0,a.__decorate)([(0,q.DE)({name:"Profile Registration page Functional Placeholder",matcher:e=>e.contentType===K.z.FUNCTIONAL&&e.fields.tags&&e.fields.tags.split(",").indexOf("mkJoin")>=0}),(0,a.__metadata)("design:paramtypes",[H.m])],J);let Q=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[r.CommonModule,W.J.withComponents([J]),L.withModule({moduleId:Y,loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(9760),n.e(3248),n.e(163)]).then(n.bind(n,90163)).then((e=>e.ProfileRegistrationModule))})]]}),e})();var Z=n(57597),ee=n(81899),te=n(31018),ne=n(69703),ie=n(4473),re=n(3336),oe=n(13429),ae=n(52723),se=n(32711),ce=n(25858);let le=(()=>{class e{constructor(e,t,n,i,r,o){this.notificationsStore=e,this.notificationPopupService=t,this.router=n,this.windowService=i,this.notificationDisplayService=r,this.analyticsService=o,this.displayAllowed=!0,this.notifications=[]}init(){this.notificationReaction(),this.navigationReaction(),this.subscribeNotificationsAllowed()}subscribeNotificationsAllowed(){this.notificationDisplayService.subscribeNotificationsAllowed().subscribe((e=>{this.displayAllowed=e,e?this.displayPendingNotifications():this.closeCurrentNotification()}))}navigationReaction(){this.router.events.pipe((0,c.filter)((e=>e instanceof o.NavigationStart))).subscribe((()=>{this.closeCurrentNotification(),this.notificationShownOnPage=!1})),this.router.events.pipe((0,c.filter)((e=>e instanceof o.NavigationEnd))).subscribe((()=>{this.displayPendingNotifications()}))}closeCurrentNotification(){this.notificationIndex&&(this.notificationPopupService.close(this.notificationIndex),this.notificationIndex=void 0)}notificationReaction(){(0,se.EH)((()=>{this.notificationsStore.isDone&&(this.notifications=this.notificationsStore.notifications,this.displayPendingNotifications())}))}displayPendingNotifications(){setTimeout((()=>{const e=this.notificationToDisplay();e&&(this.notificationIndex=this.notificationPopupService.open({title:e.content.subject,body:e.content.popup.body,label:e.content.popup.label,image:e.content.popup.image,tags:e.content.popup.tags,bonusCode:e.content.popup.url,displayCountable:!0,onClick:()=>this.onClickNotification(e)}),(0,se.z)((()=>{e.displayed=!0,this.notificationsStore.setNotificationAsDisplayed(e.notificationId)})),this.analyticsService.trackNotificationEvent("display",e.notificationId))}),2e3)}notificationToDisplay(){if(this.isEntitledToDisplay()){let e=this.notifications.filter((e=>0==e.displayed&&0==e.acknowledged&&e.expiresAt>new Date&&!!e.content.popup.body));if(e.length>0)return this.notificationShownOnPage=!0,e[0]}}isEntitledToDisplay(){return this.notificationDisplayService.isDisplayLimitNotExceeded()&&!this.notificationShownOnPage&&this.displayAllowed}onClickNotification(e){this.analyticsService.trackNotificationEvent("click",e.notificationId),e.content.popup.tags?this.notificationsStore.setNotificationAsRead(e.notificationId):e.content.popup.url?(this.notificationsStore.setNotificationAsRead(e.notificationId),(0,se.gx)((()=>e.acknowledged),(()=>this.windowService.window().location.href=e.content.popup.url))):this.router.navigateByUrl("/account/messages?tab=notifications")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](ce.p),i["ɵɵinject"](ae.n),i["ɵɵinject"](o.Router),i["ɵɵinject"](ee.u),i["ɵɵinject"](oe.t),i["ɵɵinject"](re.y))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();var de=n(7171),ue=n(60725),pe=n(616),he=n(82846),me=n(40475),fe=n(12596),ge=n(99576),ve=n(92947);let be=(()=>{class e{constructor(){this.headerLevel2=!0}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var ye=n(1890),Se=n(86014);function Ce(e,t){1&e&&(i["ɵɵelementStart"](0,"p",10),i["ɵɵtext"](1,"\n                    pinCodeUpdate.form.advertisement1\n                "),i["ɵɵelementEnd"]())}function xe(e,t){1&e&&(i["ɵɵelementStart"](0,"p",10),i["ɵɵtext"](1,"\n                    pinCodeUpdate.form.advertisement2\n                "),i["ɵɵelementEnd"]())}function Ie(e,t){1&e&&(i["ɵɵelementStart"](0,"span",11),i["ɵɵtext"](1,"pinCodeUpdate.form.label"),i["ɵɵelementEnd"]())}function we(e,t){1&e&&(i["ɵɵelementStart"](0,"figure",12),i["ɵɵtext"](1,"\n                    "),i["ɵɵelement"](2,"i",13),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementStart"](4,"figcaption",14),i["ɵɵtext"](5,"pinCodeUpdate.form.information"),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n                "),i["ɵɵelementEnd"]())}function Ee(e,t){1&e&&(i["ɵɵelementStart"](0,"p",14),i["ɵɵtext"](1,"\n                    pinCodeUpdate.form.verification.alert\n                "),i["ɵɵelementEnd"]())}const Te=function(){return["/contact-us"]};function Pe(e,t){1&e&&(i["ɵɵelementStart"](0,"div",1),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"p"),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementStart"](4,"span",14),i["ɵɵtext"](5,"pinCodeUpdate.form.label.contactUs"),i["ɵɵelementEnd"](),i["ɵɵtext"](6," "),i["ɵɵelementStart"](7,"a",15),i["ɵɵtext"](8,"\n                            pinCodeUpdate.form.link.contactUs\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n            "),i["ɵɵelementEnd"]()),2&e&&(i["ɵɵadvance"](7),i["ɵɵproperty"]("routerLink",i["ɵɵpureFunction0"](1,Te)))}class Ae{constructor(e,t,n,i,r,o,a){this.formBuilder=e,this.profileService=t,this.profileStore=n,this.translateService=i,this.toastNotificationService=r,this.pinCodeUpdateConfig=o,this.analyticsService=a,this.processingCall=!1,this.allDigitsEntered=!1,this.isForceUpdatePinCode=!1,this.publishNotification=e=>this.toastNotificationService.add(e),this.toLoadingNotification=e=>this.toNotification("loading",e,0,2e3)}ngOnInit(){this.pinCodeForm=this.formBuilder.group({pinCode:this.formBuilder.control("",[me.Validators.required,me.Validators.minLength(4),me.Validators.maxLength(4)])})}sendPinCode(){if(this.pinCodeForm.valid){if(this.processingCall)return;this.processingCall=!0,this.errorMessage=null,this.translateService.translate("pinCodeUpdate.loading").pipe((0,c.map)(this.toLoadingNotification)).subscribe((e=>this.publishNotification(e))),this.analyticsService.sendEvent("click",Ae.BUTTON_EVENT_NAME,!0,Ae.BUTTON_CUSTOM_VALUE,Ae.OVERRIDE_CONTEXT),this.profileService.updatePinCode(this.pinCodeForm.value.pinCode).subscribe((()=>{this.profileStore.refresh(),this.toastNotificationService.close(),this.toastNotificationService.doClose.subscribe((()=>{this.processingCall=!1}))}),(e=>this.processingCall=!1))}else this.errorMessage="pinCodeUpdate.error.message"}getButtonTag(){return this.isForceUpdatePinCode?"pinCodeUpdate.form.button.done":"pinCodeUpdate.form.button"}onPinCodeInputChanged(e){this.allDigitsEntered=e}shouldHideSubmitButton(){return this.pinCodeUpdateConfig.autoHideSubmitButton&&!this.allDigitsEntered}toNotification(e,t,n=3e3,i=0){return{msg:t,modal:!0,type:e,timeout:n,delay:i}}}Ae.BUTTON_EVENT_NAME="submit_pinCodeOverlay",Ae.BUTTON_CUSTOM_VALUE={1:Ae.BUTTON_EVENT_NAME},Ae.OVERRIDE_CONTEXT={contentId:"pin_code"},Ae.ɵfac=function(e){return new(e||Ae)(i["ɵɵdirectiveInject"](me.FormBuilder),i["ɵɵdirectiveInject"](ve.H),i["ɵɵdirectiveInject"](pe.s),i["ɵɵdirectiveInject"](fe.s),i["ɵɵdirectiveInject"](ge.i),i["ɵɵdirectiveInject"](be),i["ɵɵdirectiveInject"](re.y))},Ae.ɵcmp=i["ɵɵdefineComponent"]({type:Ae,selectors:[["bx-pin-code-update-form"]],inputs:{isForceUpdatePinCode:"isForceUpdatePinCode"},decls:28,vars:18,consts:[["novalidate","",3,"formGroup","ngClass","submit"],[1,"pin-code-form"],["class","align-left",3,"bxTranslate",4,"ngIf"],["class","label",3,"bxTranslate",4,"ngIf"],["formControlName","pinCode",3,"errorMessage","hidePinCodeEye","alwaysShowPinCode","showPinCodeLegend","showPinCodeInfoTooltip","additionalClasses","allDigitsEntered"],["class","custom-notification alert info",4,"ngIf"],[3,"bxTranslate",4,"ngIf"],[1,"full-width-ctas"],["type","submit",1,"custom-cta","primary","cta-large",3,"disabled","bxTranslate"],["class","pin-code-form",4,"ngIf"],[1,"align-left",3,"bxTranslate"],[1,"label",3,"bxTranslate"],[1,"custom-notification","alert","info"],[1,"icon","icon-info"],[3,"bxTranslate"],[1,"contact-us-link",3,"routerLink","bxTranslate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"form",0),i["ɵɵlistener"]("submit",(function(){return t.sendPinCode()})),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵtemplate"](5,Ce,2,0,"p",2),i["ɵɵtext"](6,"\n                "),i["ɵɵtemplate"](7,xe,2,0,"p",2),i["ɵɵtext"](8,"\n                "),i["ɵɵtemplate"](9,Ie,2,0,"span",3),i["ɵɵtext"](10,"\n                "),i["ɵɵelementStart"](11,"bx-pin-code",4),i["ɵɵlistener"]("allDigitsEntered",(function(e){return t.onPinCodeInputChanged(e)})),i["ɵɵtext"](12,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](13,"\n                "),i["ɵɵtemplate"](14,we,7,0,"figure",5),i["ɵɵtext"](15,"\n                "),i["ɵɵtemplate"](16,Ee,2,0,"p",6),i["ɵɵtext"](17,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](18,"\n            "),i["ɵɵelementStart"](19,"div",7),i["ɵɵtext"](20,"\n                "),i["ɵɵelementStart"](21,"button",8),i["ɵɵtext"](22),i["ɵɵelementEnd"](),i["ɵɵtext"](23,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](24,"\n            "),i["ɵɵtemplate"](25,Pe,11,2,"div",9),i["ɵɵtext"](26,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](27,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("formGroup",t.pinCodeForm)("ngClass",t.pinCodeUpdateConfig.additionalClasses),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngIf",t.isForceUpdatePinCode),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.isForceUpdatePinCode&&!t.pinCodeUpdateConfig.hideSecondPinCodeAdvertisement),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.pinCodeUpdateConfig.alwaysShowPinCodeFormLabel||!t.isForceUpdatePinCode),i["ɵɵadvance"](2),i["ɵɵproperty"]("errorMessage",t.errorMessage)("hidePinCodeEye",t.pinCodeUpdateConfig.hidePinCodeEye)("alwaysShowPinCode",t.pinCodeUpdateConfig.alwaysShowPinCode)("showPinCodeLegend",t.pinCodeUpdateConfig.showPinCodeLegend)("showPinCodeInfoTooltip",t.pinCodeUpdateConfig.showPinCodeInfoTooltip)("additionalClasses",t.pinCodeUpdateConfig.additionalClasses),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",!t.pinCodeUpdateConfig.hidePinCodeNotModifiableMessage),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!t.isForceUpdatePinCode),i["ɵɵadvance"](3),i["ɵɵclassProp"]("invisible",t.shouldHideSubmitButton()),i["ɵɵadvance"](2),i["ɵɵproperty"]("disabled",t.processingCall),i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"]("",t.getButtonTag(),"\n                "),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",t.isForceUpdatePinCode))},directives:[me["ɵNgNoValidate"],me.NgControlStatusGroup,me.FormGroupDirective,r.NgClass,r.NgIf,ye.b,me.NgControlStatus,me.FormControlName,Se.P,o.RouterLinkWithHref],styles:[".full-width-ctas[_ngcontent-%COMP%] {\n  margin-top: 15px; }\n\n[_nghost-%COMP%]     div.invalid-field {\n  display: table-cell;\n  height: 20px; }\n\n[_nghost-%COMP%]     .custom-field label.active-field {\n  padding: 15px 10px; }\n\n.pin-code-form[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%] {\n  width: auto;\n  margin-top: 30px; }\n\n.bodog88[_ngcontent-%COMP%]   .pin-code-form[_ngcontent-%COMP%] {\n  display: block;\n  align-items: center;\n  flex-direction: column; }\n\n.bodog88[_ngcontent-%COMP%]   .pin-code-form[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n    font-size: 12px;\n    line-height: 14px;\n    color: #2b2b2b;\n    width: 100%;\n    margin-top: 15px;\n    text-align: center; }\n\n.bodog88[_ngcontent-%COMP%]   .pin-code-form[_ngcontent-%COMP%]   span.label[_ngcontent-%COMP%] {\n    margin-top: 18px;\n    margin-bottom: 16px;\n    font-size: 14px;\n    font-weight: bold;\n    line-height: 16px;\n    width: 100%; }\n\n.bodog88[_ngcontent-%COMP%]   .pin-code-form[_ngcontent-%COMP%]   figure[_ngcontent-%COMP%] {\n    width: auto;\n    margin-top: 30px; }\n\n.bodog88[_ngcontent-%COMP%]   .pin-code-form[_ngcontent-%COMP%]   p.align-left[_ngcontent-%COMP%] {\n    text-align: left;\n    margin-top: 0;\n    margin-bottom: 20px; }\n\n.bodog88[_ngcontent-%COMP%]   div.full-width-ctas[_ngcontent-%COMP%] {\n  margin-top: 16px; }\n\n.bodog88[_ngcontent-%COMP%]   div.full-width-ctas[_ngcontent-%COMP%]   button.custom-cta.primary.full-width-ctas[_ngcontent-%COMP%] {\n    font-size: 16px;\n    line-height: 19px;\n    padding-top: 11px;\n    padding-bottom: 6px;\n    margin: 0;\n    box-shadow: inset 0 -4px 0 0 #aa1207; }\n\n.bodog88[_ngcontent-%COMP%]   div.full-width-ctas[_ngcontent-%COMP%]   button.custom-cta.primary.full-width-ctas[disabled][_ngcontent-%COMP%] {\n    box-shadow: none;\n    color: white; }\n\n.bodog88[_ngcontent-%COMP%]   .invisible[_ngcontent-%COMP%] {\n  visibility: hidden; }"]});const _e="pin-code-update";let Me=(()=>{class e{constructor(e,t,n){this.cookieStorageService=e,this.loginService=t,this.router=n}init(){this.loginService.loginEvent.pipe((0,c.first)()).subscribe((()=>{this.cookieStorageService.get(e.COOKIE_NAME)&&this.router.navigate(["/",_e])}))}}return e.COOKIE_NAME="cf_spc",e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](he.G),i["ɵɵinject"](U.r6),i["ɵɵinject"](o.Router))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Oe=(()=>{class e{constructor(e){this.router=e,this.isRedirect=!1,this.isBackNavigation=!1,this.overlayPath=null,this.navigatingToOverlay=!1}init(){this.router.events.pipe((0,c.filter)((e=>!this.navigatingToOverlay&&e instanceof o.NavigationEnd))).subscribe((e=>{const t=this.router.routerState.snapshot.root.queryParams.overlay,n=this.router.routerState.snapshot.root.fragment,i={queryParamsHandling:"merge",replaceUrl:!0};t&&this.overlayPath!==t?this.navigateToOverlay({outlets:{overlay:decodeURIComponent(t)+(n?"#"+n:"")}},i,(()=>this.overlayPath=t)):this.overlayPath&&!t&&this.navigateToOverlay({outlets:{overlay:null}},i,(()=>this.overlayPath=null))}))}navigateToOverlay(e,t,n){this.navigatingToOverlay=!0,this.router.navigate([e],t).then((()=>{n(),this.navigatingToOverlay=!1}))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](o.Router))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var ke=n(48108),je=n(46093);let Ne=(()=>{class e{constructor(e,t,n){this.languageService=e,this.translateService=t,this.notificationPopupService=n}init(){this.preloadTranslations()}notifyConnectivityError(e){this.notificationPopupService.open({icon:"warning",title:this.headline,body:this.subheading,position:je.z.TOP_RIGHT,timeout:e})}preloadTranslations(){this.languageService.getLanguage().pipe((0,c.tap)((()=>this.translateService.loadTranslations("error"))),(0,c.tap)((()=>this.translateService.loadTranslations("cashier"))),(0,c.tap)((()=>this.translateService.loadTranslations("phoneVerifyNow"))),(0,c.switchMap)((()=>this.translateService.loadTranslations("connectivityIssues")))).subscribe((e=>{this.headline=e["connectivityIssues.notification.headline"],this.subheading=e["connectivityIssues.notification.subheading"]}))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](ke.T),i["ɵɵinject"](fe.s),i["ɵɵinject"](ae.n))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var De=n(42497);const Le=/Loading chunk .* failed/,Re=[/.*cashier\/deposit.*/,/.*cashier\/error.*/],Fe=[/.*cashier\/api\/init.*/];let Be=(()=>{class e{constructor(e,t,n){this.siteConfigService=e,this.notificationService=t,this.errorInterceptor=n}init(t,n){this.siteConfigService.evalFeature("site.config.notification.connectivityError.enabled")&&(this.zone=t,this.router=n,this.notificationService.init(),this.navigationError$=this.router.events.pipe((0,c.filter)((e=>e instanceof o.NavigationError))),this.httpError$=this.errorInterceptor.httpErrors(),this.navigationError$.pipe((0,c.filter)(e.shouldNotifyConnectivityErrorForRoute),(0,c.filter)(e.shouldNotifyConnectivityErrorForMessage)).pipe((0,c.merge)(this.httpError$.pipe((0,c.filter)(e.shouldNotifyConnectivityErrorForService))),(0,c.throttleTime)(3)).subscribe((()=>{this.showConnectivityErrorNotification(3)})))}static shouldNotifyConnectivityErrorForRoute(e){return e.url&&Re.some((t=>t.test(e.url)))}static shouldNotifyConnectivityErrorForMessage(e){return e.error&&e.error.message&&Le.test(e.error.message)}static shouldNotifyConnectivityErrorForService(e){return e.request&&e.request.url&&Fe.some((t=>t.test(e.request.url)))}showConnectivityErrorNotification(e){this.zone.run((t=>this.notificationService.notifyConnectivityError(e)))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](Ne),i["ɵɵinject"](De.a))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Ue=n(49379);function He(e,t){1&e&&(i["ɵɵelementStart"](0,"div",1),i["ɵɵtext"](1,"\n            "),i["ɵɵelementStart"](2,"figure",2),i["ɵɵtext"](3,"\n                "),i["ɵɵelement"](4,"i",3),i["ɵɵtext"](5,"\n                "),i["ɵɵelementStart"](6,"figcaption",4),i["ɵɵtext"](7,"previewNotification.message"),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n        "),i["ɵɵelementEnd"]())}let Ve=(()=>{class e{constructor(e,t,n){this.platformId=e,this.hostnameService=t,this.document=n,this.hasPreviewNotification=!1}ngOnInit(){if((0,r.isPlatformBrowser)(this.platformId)){const e=this.document.body,t="preview-notification",n=this.hostnameService.hostname;this.hasPreviewNotification=n.startsWith("preview"),this.hasPreviewNotification?e.classList.add(t):e.classList.remove(t)}}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](Ue.M),i["ɵɵdirectiveInject"](r.DOCUMENT))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-preview-notification"]],decls:3,vars:1,consts:[["class","preview-notification-bar",4,"ngIf"],[1,"preview-notification-bar"],["role","alert",1,"custom-notification","alert","info","high-contrast"],[1,"icon","icon-info"],[3,"bxTranslate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,He,10,0,"div",0),i["ɵɵtext"](2,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",t.hasPreviewNotification))},directives:[r.NgIf,Se.P],styles:[".preview-notification-bar[_ngcontent-%COMP%] {\n  position: fixed;\n  z-index: 8;\n  background: gray;\n  width: 100%;\n  top: 0; }\n\n  .preview-indicator {\n  border: 1px dashed red;\n  border-left: 8px solid red; }"]}),e})();var Ge=n(38945);let $e=(()=>{class e{constructor(e,t,n,i,r,a,s,c,l,d,u,p,h,m,f,g,v){this.deviceProtectLoader=e,this.pinCodeUpdateLoginListener=t,this.zone=n,this.router=i,this.windowService=r,this.profileStore=a,this.loyaltyStore=s,this.overlayNavigationService=c,this.loyaltyFeatureFlag=l,this.noDblClickService=d,this.siteLoadService=u,this.platformId=p,this.transferStateServiceCache=h,this.notificationsStore=m,this.notificationEnabledService=f,this.browserErrorHandler=g,this.notificationsPopupManagementService=v,this.router.events.subscribe((e=>{e instanceof o.NavigationStart&&(this.clearFromUniversalIfNeeded(),this.windowService.setLocationUrl(e.url))})),this.initErrorHandler()}clearFromUniversalIfNeeded(){(0,r.isPlatformBrowser)(this.platformId)&&this.transferStateServiceCache.clearFromUniversal()}ngOnInit(){this.deviceProtectLoader&&this.deviceProtectLoader.init(),this.pinCodeUpdateLoginListener.init(),this.profileStore.init(),this.loyaltyFeatureFlag.loyaltyEnabled()&&(0,r.isPlatformBrowser)(this.platformId)&&this.loyaltyStore.init(),this.overlayNavigationService.init(),this.notificationEnabledService.isNotificationEnabled()&&(0,r.isPlatformBrowser)(this.platformId)&&(this.notificationsStore.init(),this.notificationsPopupManagementService.init()),!(0,r.isPlatformBrowser)(this.platformId)||"ontouchstart"in document.documentElement||navigator.maxTouchPoints||navigator.msMaxTouchPoints||(document.body.className+=" no-touch"),(0,r.isPlatformBrowser)(this.platformId)&&this.noDblClickService.init()}ngAfterViewInit(){(0,r.isPlatformBrowser)(this.platformId)&&(this.siteLoadService.init(),setTimeout((()=>{let e=this.windowService.document().querySelectorAll("[data-placeholder]");for(let t=0,n=e.length;t<n;t++)e[t].parentNode.removeChild(e[t])}),0))}initErrorHandler(){(0,r.isPlatformBrowser)(this.platformId)&&this.browserErrorHandler.init(this.zone,this.router)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"]($,8),i["ɵɵdirectiveInject"](Me),i["ɵɵdirectiveInject"](i.NgZone),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](ee.u),i["ɵɵdirectiveInject"](pe.s),i["ɵɵdirectiveInject"](ue.K),i["ɵɵdirectiveInject"](Oe),i["ɵɵdirectiveInject"](de.e),i["ɵɵdirectiveInject"](te.E),i["ɵɵdirectiveInject"](Z.W),i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](ie.m),i["ɵɵdirectiveInject"](ce.p),i["ɵɵdirectiveInject"](ne.j),i["ɵɵdirectiveInject"](Be),i["ɵɵdirectiveInject"](le))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-site"]],decls:9,vars:0,consts:[["name","overlay"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelement"](1,"bx-preview-notification"),i["ɵɵtext"](2,"\n        "),i["ɵɵelement"](3,"bx-toast-notification"),i["ɵɵtext"](4,"\n        "),i["ɵɵelement"](5,"router-outlet"),i["ɵɵtext"](6,"\n        "),i["ɵɵelement"](7,"router-outlet",0),i["ɵɵtext"](8,"\n    "))},directives:[Ve,Ge.f,o.RouterOutlet],styles:['[_nghost-%COMP%]     bx-cashier #presetAmountTitle {\n  color: gray;\n  font-size: 1.17em;\n}\n\n[_nghost-%COMP%]     bx-cashier .cs-amount {\n  min-width: 160px;\n}\n\n[_nghost-%COMP%]     bx-cashier .custom-checkbox label.btc-iagree-lbl, [_nghost-%COMP%]     bx-cashier .custom-checkbox label.bch-iagree-lbl, [_nghost-%COMP%]     bx-cashier .custom-checkbox label.white-text {\n  color: inherit;\n}\n\n[_nghost-%COMP%]     bx-cashier fieldset.withdrawal-fieldset-inline-text {\n  margin-left: 0;\n}\n\n[_nghost-%COMP%]     bx-cashier .cs-reduced-text {\n  font-size: 0.9em;\n}\n\n[_nghost-%COMP%]     bx-cashier .custom-separator.horizontal {\n  color: #000;\n}\n\n[_nghost-%COMP%]     bx-cashier .cs-payment-details-container {\n  width: 100%;\n}\n\n[_nghost-%COMP%]     bx-cashier .cs-payment-details-container .button-area {\n  text-align: center;\n}\n\n[_nghost-%COMP%]     bx-cashier .cs-payment-details-container .button-area button {\n  float: none;\n}\n\n[_nghost-%COMP%]     bx-cashier .cs-payment-details-container .cashier-button {\n  float: none;\n  width: 100%;\n}\n\n@media (min-width: 730px) {\n  [_nghost-%COMP%]     bx-cashier .cs-payment-details-container {\n    max-width: 412px;\n    margin: 0 auto;\n  }\n}\n\n[_nghost-%COMP%]     bx-cashier .first-deposit, [_nghost-%COMP%]     bx-cashier .bank-registered {\n  color: #368031;\n}\n\n[_nghost-%COMP%]     bx-cashier .cs-payment-details-table-title {\n  font-size: 1em;\n  padding-left: 8px;\n  display: block;\n  text-align: left;\n  font-weight: bold;\n  margin-bottom: 8px;\n  color: #000;\n}\n\n[_nghost-%COMP%]     bx-cashier .cs-highlight-text {\n  color: #000;\n}\n\n@media (min-width: 730px) {\n  [_nghost-%COMP%]     bx-cashier .bonus-area {\n    order: -1;\n  }\n}\n\n[_nghost-%COMP%]     bx-cashier .btc-iagree-lbl, [_nghost-%COMP%]     bx-cashier .bch-iagree-lbl {\n  color: inherit;\n}\n\n[_nghost-%COMP%]     bx-cashier .custom-menu.primary {\n  color: #2b2b2b;\n  background: #fff;\n}\n\n[_nghost-%COMP%]     bx-cashier .custom-menu.primary li {\n  background: #fff;\n  border: solid 1px #c2c2c2;\n}\n\n[_nghost-%COMP%]     bx-cashier .custom-menu.primary ul {\n  background: #fff;\n  border: solid 1px #c2c2c2;\n}\n\n[_nghost-%COMP%]     bx-cashier .custom-menu.primary.options li {\n  background: #fff;\n  border: solid 1px #c2c2c2;\n}\n\n[_nghost-%COMP%]     bx-cashier .howitworks-link {\n  color: #e51977 !important;\n}\n\n[_nghost-%COMP%]     bx-cashier .list-table-title {\n  color: #2b2b2b;\n}\n\n[_nghost-%COMP%]     bx-cashier .two-column-container {\n  display: flex;\n  flex-flow: row wrap;\n  justify-content: space-between;\n  background-color: #fff;\n}\n\n[_nghost-%COMP%]     bx-cashier .two-column-container .form-field-50 {\n  display: block;\n  width: 100%;\n  margin-bottom: 15px;\n}\n\n[_nghost-%COMP%]     bx-cashier .two-column-container .left-panel {\n  width: 100%;\n  padding: 16px 32px;\n}\n\n[_nghost-%COMP%]     bx-cashier .two-column-container .right-panel {\n  width: 100%;\n  margin-top: 15px;\n  padding: 16px 32px;\n}\n\n[_nghost-%COMP%]     bx-cashier .two-column-container .spaced-below {\n  margin-bottom: 0;\n}\n\n[_nghost-%COMP%]     bx-cashier .two-column-container .withdrawal-button {\n  width: 100%;\n  margin-top: 15px;\n}\n\n[_nghost-%COMP%]     bx-cashier .two-column-container .pin-wrapper {\n  margin-top: 3px;\n}\n\n[_nghost-%COMP%]     bx-cashier #displayedAddress {\n  color: grey;\n}\n\n[_nghost-%COMP%]     bx-cashier .tooltip-popover-container .tooltip-popover-msg {\n  z-index: 20;\n}\n\n[_nghost-%COMP%]     bx-cashier .generic-withdrawal-grid {\n  background-color: #fff;\n  display: grid;\n}\n\n[_nghost-%COMP%]     bx-cashier .generic-withdrawal-grid .form-field-50 {\n  display: block;\n  width: 100%;\n  margin-bottom: 15px;\n}\n\n[_nghost-%COMP%]     bx-cashier .generic-withdrawal-grid .left-panel {\n  width: 100%;\n  padding: 16px 32px;\n}\n\n[_nghost-%COMP%]     bx-cashier .generic-withdrawal-grid .right-panel {\n  width: 100%;\n  margin-top: 15px;\n  padding: 16px 32px;\n}\n\n[_nghost-%COMP%]     bx-cashier .generic-withdrawal-grid .spaced-below {\n  margin-bottom: 0;\n}\n\n[_nghost-%COMP%]     bx-cashier .generic-withdrawal-grid .withdrawal-button {\n  width: 100%;\n  margin-top: 15px;\n}\n\n@media (min-width: 730px) {\n  [_nghost-%COMP%]     bx-cashier .two-column-container .left-panel {\n    width: calc(50% - 5px);\n  }\n  [_nghost-%COMP%]     bx-cashier .two-column-container .right-panel {\n    width: calc(50% - 5px);\n    margin-top: 0;\n  }\n  [_nghost-%COMP%]     bx-cashier .generic-withdrawal-grid .left-panel {\n    width: calc(100% - 10px);\n  }\n  [_nghost-%COMP%]     bx-cashier .generic-withdrawal-grid .right-panel {\n    width: calc(100% - 10px);\n    margin-top: 0;\n  }\n}\n\n[_nghost-%COMP%]     bx-cashier bx-authorized-payment .more-info {\n  display: none;\n  background-color: #f2f2f2;\n  line-height: 1;\n  transition: all 100ms ease-in-out;\n}\n\n[_nghost-%COMP%]     bx-cashier bx-authorized-payment .more-info + .active {\n  display: table-row;\n}\n\n@media (max-width: 730px) {\n  [_nghost-%COMP%]     bx-cashier bx-authorized-payment .more-info .hidden-expanding-cell {\n    padding: 0 0 0 10%;\n  }\n}\n\n[_nghost-%COMP%]     bx-cashier bx-authorized-payment .table-list {\n  margin-top: -20px;\n}\n\n@media (min-width: 730px) {\n  [_nghost-%COMP%]     bx-cashier bx-authorized-payment .table-list {\n    margin-top: -16px;\n    width: calc(100% + 32px);\n    margin-left: -16px;\n  }\n}\n\n[_nghost-%COMP%]     bx-cashier bx-authorized-payment .table-list .custom-link {\n  text-transform: none !important;\n}\n\n[_nghost-%COMP%]     bx-cashier bx-authorized-payment .table-list .table-expanded {\n  width: 100%;\n}\n\n[_nghost-%COMP%]     bx-cashier bx-authorized-payment .table-list .table-expanded tr:not(.additional-row) {\n  border-top: solid 1px #d9d9d9;\n}\n\n[_nghost-%COMP%]     bx-cashier bx-authorized-payment .table-list .table-expanded tr:first-of-type {\n  border: none;\n}\n\n[_nghost-%COMP%]     bx-cashier bx-authorized-payment .notification-container {\n  padding: 0 0 20px;\n  margin-top: -16px;\n}\n\n@media (max-width: 730px) {\n  [_nghost-%COMP%]     bx-cashier .cashier-button, [_nghost-%COMP%]     bx-cashier .custom-notification {\n    width: calc(100% - 3em);\n    margin-left: 1.5em;\n    margin-right: 1.5em;\n    float: none;\n  }\n  [_nghost-%COMP%]     bx-cashier .custom-menu.primary.options.payment-methods-list {\n    margin-left: 0;\n    margin-right: 0;\n  }\n  [_nghost-%COMP%]     bx-cashier .custom-notification {\n    margin-top: 15px;\n  }\n}\n\n  .bg-overlay-color {\n  background-color: #1f1f1f;\n}\n\n  .bg-color {\n  background-color: #1f1f1f;\n}\n\n  .font-color {\n  color: #ffffff;\n}\n\n  .modal-overlay.game-wrapper-overlay {\n  background-color: #2b2b2b;\n}\n\n  .modal-overlay .game-wrapper-overlay-container .modal-header {\n  border-bottom: solid 2px black;\n}\n\n  .game-wrapper-body .game-description {\n  margin: 0px 8px 0 0px;\n}\n\n  .game-wrapper-body .game-iframe {\n  height: 100%;\n  width: 100%;\n}\n\n[_nghost-%COMP%]     .bx-notification-container {\n  position: fixed;\n  top: 0px;\n  width: 100%;\n  overflow: hidden;\n}\n\n[_nghost-%COMP%]     .navbar-wrapper.not-found {\n  background: #ED0024;\n}\n\n[_nghost-%COMP%]     .navbar-wrapper.blocked {\n  background: #ED0024;\n}\n\n  img.ng-lazyloaded {\n  animation: fadeIn 400ms linear;\n  animation-play-state: running;\n}\n\n@keyframes fadeIn {\n  0% {\n    opacity: 0;\n  }\n  100% {\n    opacity: 1;\n  }\n}\n\n  bx-overlay .modal-overlay.dark-overlay   bx-bonus-selection .modal-body.modal-body-full-width {\n  padding: 0;\n}\n\n[_nghost-%COMP%]     bx-account-menu-cashier .modal-body .bonus-area bx-widget-bonus-list .h3-heading {\n  padding: 10px 0 !important;\n  font-weight: 600 !important;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-wrapper ul.inline-list {\n  margin: 0 4%;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-wrapper ul.inline-list li.inline-item {\n  width: 30.66%;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-type-filters {\n  float: left;\n  width: 100%;\n  margin-top: 20px;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-type-filters ul.custom-tab.tertiary {\n  background-color: #F2F2F2;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-type-filters ul.custom-tab.tertiary li {\n  color: #2B2B2B;\n  background-color: #F2F2F2;\n  font-weight: 400;\n  border-bottom: 2px solid #C2C2C2;\n  text-align: left;\n  padding: 9px 16px;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-type-filters ul.custom-tab.tertiary li:hover {\n  color: #2B2B2B;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-type-filters ul.custom-tab.tertiary li.active {\n  color: #2B2B2B;\n  background-color: white;\n  border-bottom: 2px solid  #808080;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-type-filters ul.custom-tab.tertiary:last-child:after {\n  content: "";\n  width: 100%;\n  border-bottom: 2px solid #C2C2C2;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-subCategory-filter-content {\n  float: left;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-subCategory-filter-content ul.custom-tab.tertiary {\n  background-color: white;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-subCategory-filter-content ul.custom-tab.tertiary li {\n  background-color: white;\n  font-weight: 100;\n  color: #E22521;\n  padding: 10px;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-subCategory-filter-content ul.custom-tab.tertiary li.active {\n  color: #333333;\n}\n\n[_nghost-%COMP%]     div.bx-transaction-subCategory-filter-content ul.custom-tab.tertiary li:hover {\n  color: #333333;\n}\n\n  .preview-notification .navbar-fixed-top {\n  margin-top: 44px;\n}\n\n  .preview-notification .marketing-page-container {\n  margin-top: 116px;\n}\n\n  .preview-notification bx-promotion-details-ch div.max-container {\n  margin-top: 120px;\n}']}),e})();var ze=n(15982),We=n(41109),qe=n(23550),Ke=n(56020),Xe=n(65629),Ye=n(5693);let Je=(()=>{class e{static forRoot(){return{ngModule:e,providers:[Xe.F,Ye.H]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})();var Qe=n(77558);let Ze=(()=>{class e{static forRoot(){return{ngModule:e,providers:[Qe.o]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[],imports:[[]]}),e})();var et=n(84570),tt=n(59851);let nt=(()=>{class e{constructor(e,t){this.router=e,this.siteConfigService=t}canLoad(e){return this.canActivate(null,{url:`/${e.path}`})}canActivate(t,n){const i=this.siteConfigService.evalFeature(e.routeAllowedFeatureFlag);return i||this.redirectToNotFoundPage(),i}redirectToNotFoundPage(){this.router.navigate([tt.wF])}}return e.routeAllowedFeatureFlag="site.config.sports.oneworks.enabled",e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](o.Router),i["ɵɵinject"](V.r))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var it=n(23166),rt=n(17040),ot=n(89647),at=n(30199),st=n(99860),ct=n(13192),lt=(n(5711),n(45335),n(86594),n(95539)),dt=n(74511);let ut=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[o.RouterModule]]}),e})(),pt=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})();var ht=n(63800),mt=n(4363),ft=n(73475),gt=n(76460),vt=n(56159),bt=n(2470);let yt=(()=>{class e{static forRoot(){return{ngModule:e,providers:[bt.B]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})();var St=n(89986),Ct=n(47913),xt=n(36211),It=n(14089),wt=n(95556),Et=n(3442),Tt=n(56647),Pt=n(99176),At=n(99191);let _t=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Mt=n(84285),Ot=n(22291),kt=n(77247);let jt=(()=>{class e{constructor(e,t,n,i,r){this.windowService=e,this.siteConfigService=t,this.doc=n,this.request=i,this.platformId=r,this.CANONICAL_DOMAIN_PROP="canonicalDomain"}createAMPLink(e,t,n,i){let r=this.doc.createElement("link");r.setAttribute("rel","amphtml"),e?r.setAttribute("href",this.getUrlForCanonicalTag(e)+"/amp"):r.setAttribute("href",this.getUrlForSuffix(t,n,i)+"/amp"),this.doc.head.appendChild(r)}removeAMPLink(){this.doc.head.removeChild(this.doc.head.querySelector('link[rel="amphtml"]'))}getUrlForCanonicalTag(e){if(e.match("https?:.+"))return e;let t=this.getCanonicalDomain();return e.startsWith("/")?`https://${t}${e}`:`https://${t}/${e}`}getUrlForSuffix(e,t,n){let i=this.getCanonicalDomain();return t!==n?`https://${i}/${t}/articles/${e}`:`https://${i}/articles/${e}`}getCanonicalDomain(){return this.siteConfigService.getSiteConfigProp(this.CANONICAL_DOMAIN_PROP)||this.getDomain()}getDomain(){return this.getIsPlatformBrowser()?this.windowService.getHostname():this.request.headers["x-requested-domain"]}getIsPlatformBrowser(){return(0,r.isPlatformBrowser)(this.platformId)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](ee.u),i["ɵɵinject"](V.r),i["ɵɵinject"](r.DOCUMENT),i["ɵɵinject"](kt.Z,8),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Nt=n(32716),Dt=n(97637),Lt=n(84853),Rt=n(38458),Ft=n(79952),Bt=n(55183);function Ut(e,t){if(1&e&&(i["ɵɵelementStart"](0,"h1",8),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"]("\n                        ",e.article.title,"\n                    ")}}function Ht(e,t){if(1&e&&i["ɵɵelement"](0,"img",9),2&e){const e=i["ɵɵnextContext"]();i["ɵɵpropertyInterpolate"]("alt",e.article.articleImageAltText),i["ɵɵproperty"]("src",e.article.articleImage,i["ɵɵsanitizeUrl"])("defaultImage",e.imageService.getPlaceholderImage(862,350,"transparent"))}}let Vt=(()=>{class e{constructor(e,t,n,i,r,o,a){this.route=e,this.router=t,this.domSanitizer=n,this.imageService=i,this.ampMarkupService=r,this.languageService=o,this.platformId=a}ngOnInit(){this.article=this.article||this.route.snapshot.data.article,this.bodySanitized=this.formatBody(this.article.body),(0,r.isPlatformBrowser)(this.platformId)&&this.article.ampEnabled&&this.languageService.getLanguage().subscribe((e=>{this.ampMarkupService.createAMPLink(this.article.canonicalTag,this.article.uriSuffix,e,this.languageService.defaultLanguage)}))}ngOnDestroy(){(0,r.isPlatformBrowser)(this.platformId)&&this.article.ampEnabled&&this.ampMarkupService.removeAMPLink()}goToArticlesPage(){this.router.navigate(["articles"])}formatBody(e){return this.domSanitizer.bypassSecurityTrustHtml(this.imageService.replaceImages(e))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.ActivatedRoute),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](ze.DomSanitizer),i["ɵɵdirectiveInject"](Ot.AJ),i["ɵɵdirectiveInject"](jt),i["ɵɵdirectiveInject"](ke.T),i["ɵɵdirectiveInject"](i.PLATFORM_ID))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-article-details"]],decls:26,vars:10,consts:[["data-dynamic-element","dynamicElement",3,"bxPreviewIndicator"],["overlayType","large",1,"article-details"],[3,"backButton","defaultBackHandling","back"],["role","heading","class","h1-heading article-title",4,"ngIf"],["bxImage","","class","img-responsive article-image",3,"alt","src","defaultImage",4,"ngIf"],[1,"article-date"],[1,"h4-heading"],[1,"article-body",3,"innerHTML"],["role","heading",1,"h1-heading","article-title"],["bxImage","",1,"img-responsive","article-image",3,"alt","src","defaultImage"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"article",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"bx-overlay-container",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"bx-overlay-header",2),i["ɵɵlistener"]("back",(function(){return t.goToArticlesPage()})),i["ɵɵtext"](6,"\n                    "),i["ɵɵtemplate"](7,Ut,2,1,"h1",3),i["ɵɵtext"](8,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n                "),i["ɵɵelementStart"](10,"bx-overlay-body"),i["ɵɵtext"](11,"\n                    "),i["ɵɵtemplate"](12,Ht,1,3,"img",4),i["ɵɵtext"](13,"\n                    "),i["ɵɵelementStart"](14,"div",5),i["ɵɵtext"](15,"\n                        "),i["ɵɵelementStart"](16,"h4",6),i["ɵɵtext"](17),i["ɵɵpipe"](18,"bxDate"),i["ɵɵelementEnd"](),i["ɵɵtext"](19,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](20,"\n                    "),i["ɵɵelement"](21,"div",7),i["ɵɵtext"](22,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](23,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](24,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](25,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("bxPreviewIndicator",t.article),i["ɵɵadvance"](4),i["ɵɵproperty"]("backButton",!0)("defaultBackHandling",!1),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!1!==t.article.h1Enabled),i["ɵɵadvance"](5),i["ɵɵproperty"]("ngIf",t.article.articleImage),i["ɵɵadvance"](5),i["ɵɵtextInterpolate1"]("\n                            ",i["ɵɵpipeBind2"](18,7,t.article.publishedDate||t.article.publicationDate,"mediumDate"),""),i["ɵɵadvance"](4),i["ɵɵproperty"]("innerHTML",t.bodySanitized,i["ɵɵsanitizeHtml"]))},directives:[Nt.Z,Dt.l,Lt.z,r.NgIf,Rt.l,Ft.t],pipes:[Bt.a],styles:[".article-title[_ngcontent-%COMP%] {\n  padding: 20px;\n  color: #000000;\n  font-size: 1.67em; }\n\n.article-date[_ngcontent-%COMP%] {\n  padding-top: 20px; }\n\n.article-body[_ngcontent-%COMP%] {\n  padding-top: 20px; }\n\n.article-body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n    padding-bottom: 10px; }"]}),e})();class Gt{constructor(e){this.breadcrumb=e,this.breadcrumbParts=[]}static breadcrumb(e){return new Gt(e)}add(e){return e&&this.breadcrumbParts.push(e),this}addAll(e){return e&&e.forEach((e=>this.add(e))),this}defaultIfEmpty(e){return 0===this.breadcrumbParts.length&&this.addAll(e),this}build(){return this.breadcrumbParts.forEach((e=>this.breadcrumb.push(e))),this.breadcrumbParts=null,this.breadcrumb}}var $t=n(16462);let zt=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Wt=n(98645);function qt(e,t){if(1&e&&i["ɵɵelementContainer"](0,11),2&e){i["ɵɵnextContext"]();const e=i["ɵɵreference"](34);i["ɵɵproperty"]("ngTemplateOutlet",e)}}function Kt(e,t){if(1&e&&i["ɵɵelementContainer"](0,11),2&e){i["ɵɵnextContext"]();const e=i["ɵɵreference"](31);i["ɵɵproperty"]("ngTemplateOutlet",e)}}function Xt(e,t){if(1&e&&i["ɵɵelementContainer"](0,11),2&e){i["ɵɵnextContext"]();const e=i["ɵɵreference"](31);i["ɵɵproperty"]("ngTemplateOutlet",e)}}function Yt(e,t){if(1&e&&i["ɵɵelementContainer"](0,11),2&e){i["ɵɵnextContext"]();const e=i["ɵɵreference"](34);i["ɵɵproperty"]("ngTemplateOutlet",e)}}function Jt(e,t){if(1&e&&(i["ɵɵelementStart"](0,"h1",13),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.article.title)}}function Qt(e,t){if(1&e&&(i["ɵɵtext"](0,"\n                "),i["ɵɵtemplate"](1,Jt,2,1,"h1",12),i["ɵɵtext"](2,"\n        ")),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",!1!==e.article.h1Enabled)}}function Zt(e,t){if(1&e&&(i["ɵɵtext"](0,"\n            "),i["ɵɵelementStart"](1,"div",14),i["ɵɵtext"](2),i["ɵɵpipe"](3,"bxDate"),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n        ")),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵtextInterpolate1"]("\n                ",i["ɵɵpipeBind3"](3,1,e.article.publishedDate,"MMM DD, YYYY",e.article.publishedDate),"\n            ")}}let en=(()=>{class e extends Vt{constructor(e,t,n,i,r,o,a,s,c,l,d){super(e,t,n,i,o,a,s),this.translateService=r,this.articleDetailsCopperheadConfig=c,this.contentService=l,this.siteConfigService=d,this.inputBreadcrumb=[],this.breadcrumb=[]}set data(e){this.inputBreadcrumb=e.breadcrumb,this.article=e.pageData.article}ngOnInit(){super.ngOnInit(),this.buildBreadcrumbs()}ngOnDestroy(){super.ngOnDestroy()}buildBreadcrumbs(){const e=this.siteConfigService.getSiteConfigProp("products")||[];this.contentService.getAncestorsBySlug(this.article.slugname).subscribe((t=>{t.ancestors=t.ancestors||[];let n=t.ancestors.find((t=>e.find((e=>e.toUpperCase()===t.uriSuffix.toUpperCase()))));if(this.buildDefaultBreadcrumb(),n){const e=new Mt.g(n.uriSuffix.replace(/^./,n.uriSuffix[0].toUpperCase()),`/${n.uriSuffix}`);this.breadcrumb.splice(0,0,e)}}))}buildDefaultBreadcrumb(){Gt.breadcrumb(this.breadcrumb).addAll(this.inputBreadcrumb).defaultIfEmpty(this.contextBaseBreadcrumb()).defaultIfEmpty(this.translateContextBaseBreadcrumb()).defaultIfEmpty(this.defaultBaseBreadcrumb()).add(this.selfBreadcrumb()).build()}defaultBaseBreadcrumb(){let e=new Mt.g("breadcrumb.articles","..");return this.translateService.translate(e.text).subscribe((t=>{e.text=t})),[e]}selfBreadcrumb(){return new Mt.g(this.article.title,".")}contextBaseBreadcrumb(){return this.route.snapshot.data.breadcrumbs}translateContextBaseBreadcrumb(){if(this.route.snapshot.data.breadcrumbText){let e=new Mt.g(this.route.snapshot.data.breadcrumbText,"..");return this.translateService.translate(e.text).subscribe((t=>{e.text=t})),[e]}}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.ActivatedRoute),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](ze.DomSanitizer),i["ɵɵdirectiveInject"](Ot.AJ),i["ɵɵdirectiveInject"](fe.s),i["ɵɵdirectiveInject"](jt),i["ɵɵdirectiveInject"](ke.T),i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](zt),i["ɵɵdirectiveInject"]($t._),i["ɵɵdirectiveInject"](V.r))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-article-details-ch"]],inputs:{data:"data"},features:[i["ɵɵInheritDefinitionFeature"]],decls:36,vars:11,consts:[["data-dynamic-element","dynamicElement",1,"max-container","article-wrapper","article-copperhead",3,"bxPreviewIndicator","ngClass"],[1,"breadcrumb-wrapper"],[1,"breadcrumb-content"],[1,"breadcrumbContainer",3,"breadcrumb"],[3,"ngTemplateOutlet",4,"ngIf"],[1,"article-details"],[1,"img-wrapper"],["bxImage","",1,"img-responsive","article-image",3,"alt","src","defaultImage"],[1,"article-body",3,"innerHTML"],["heading",""],["publishedDate",""],[3,"ngTemplateOutlet"],["role","heading","class","h1-heading article-title",4,"ngIf"],["role","heading",1,"h1-heading","article-title"],[1,"article-date"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"div",2),i["ɵɵtext"](6,"\n                    "),i["ɵɵelement"](7,"bx-breadcrumb",3),i["ɵɵtext"](8,"\n                    "),i["ɵɵtemplate"](9,qt,1,1,"ng-container",4),i["ɵɵtext"](10,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](12,"\n            "),i["ɵɵelementStart"](13,"article",5),i["ɵɵtext"](14,"\n                "),i["ɵɵtemplate"](15,Kt,1,1,"ng-container",4),i["ɵɵtext"](16,"\n                "),i["ɵɵelementStart"](17,"div",6),i["ɵɵtext"](18,"\n                    "),i["ɵɵelement"](19,"img",7),i["ɵɵtext"](20,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](21,"\n                "),i["ɵɵtemplate"](22,Xt,1,1,"ng-container",4),i["ɵɵtext"](23,"\n                "),i["ɵɵtemplate"](24,Yt,1,1,"ng-container",4),i["ɵɵtext"](25,"\n                "),i["ɵɵelement"](26,"div",8),i["ɵɵtext"](27,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](28,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](29,"\n        "),i["ɵɵtemplate"](30,Qt,3,1,"ng-template",null,9,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](32,"\n        "),i["ɵɵtemplate"](33,Zt,5,5,"ng-template",null,10,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](35,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("bxPreviewIndicator",t.article)("ngClass",t.article.layoutType),i["ɵɵadvance"](6),i["ɵɵproperty"]("breadcrumb",t.breadcrumb),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf","top"==t.articleDetailsCopperheadConfig.date.position),i["ɵɵadvance"](6),i["ɵɵproperty"]("ngIf","top"==t.articleDetailsCopperheadConfig.title.position),i["ɵɵadvance"](4),i["ɵɵpropertyInterpolate"]("alt",t.article.articleImageAltText),i["ɵɵproperty"]("src",t.article.articleImage,i["ɵɵsanitizeUrl"])("defaultImage",t.imageService.getPlaceholderImage(862,350,"transparent")),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf","middle"==t.articleDetailsCopperheadConfig.title.position),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf","middle"==t.articleDetailsCopperheadConfig.date.position),i["ɵɵadvance"](2),i["ɵɵproperty"]("innerHTML",t.bodySanitized,i["ɵɵsanitizeHtml"]))},directives:[Nt.Z,r.NgClass,Wt.L,r.NgIf,Ft.t,r.NgTemplateOutlet],pipes:[Bt.a],encapsulation:2}),e})();var tn=n(90388),nn=n(43431),rn=n(52036),on=n(65568),an=n(7430);let sn=(()=>{class e{constructor(){}mapArticles(e){let t=new on.L;return t.title=this.getFields(e,"title"),t.browserTitle=this.getFields(e,"browserTitle"),t.articles=this.getFields(e,"items").map((e=>this.mapArticleCard(e))),t}mapArticle(e){return{meta:e.meta,title:this.getFields(e,"title"),browserTitle:this.getFields(e,"browserTitle"),category:this.getFields(e,"category"),publicationDate:this.getFields(e,"publicationDate"),articleImage:this.getFields(e,"articleImage"),articleImageAltText:this.getFields(e,"articleImageAltText"),body:this.getFields(e,"body"),ampEnabled:this.getFields(e,"AMPEnabled"),uriSuffix:this.getFields(e,"uriSuffix"),h1Enabled:!1!==this.getFields(e,"h1Enabled")}}mapArticleCard(e){let t=new an.T;return t.slug=e.slug,t.title=this.getFields(e,"title"),t.category=this.getFields(e,"category"),t.publicationDate=this.getFields(e,"publicationDate"),t.image=this.getFields(e,"cardImage"),t.imageAltText=this.getFields(e,"cardImageAltText"),t}getFields(e,t){return e.fields&&e.fields[t]&&e.fields[t].value}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),cn=(()=>{class e{constructor(e,t,n,i){this.contentService=e,this.cmsFeatureFlagService=t,this.articlesMapper=n,this.articlesCmsMapper=i,this.CONTENT_SECTION="articles"}getArticles(){let e;return e=this.contentService.getContentBySlug(this.CONTENT_SECTION,this.CONTENT_SECTION),this.mapResponse(e,"mapArticles")}getArticle(e){let t,n,i;return this.cmsFeatureFlagService.isSectionEnabled(this.CONTENT_SECTION)?(t="content_page",n="article"):e=`${this.CONTENT_SECTION}/${e}`,i=this.contentService.getContentByUriSuffix(e,this.CONTENT_SECTION,t,n),this.mapResponse(i,"mapArticle").pipe((0,c.take)(1))}mapResponse(e,t){return e.pipe((0,c.map)((e=>this.classMapper()[t](e))))}classMapper(){return this.cmsFeatureFlagService.isSectionEnabled(this.CONTENT_SECTION)?this.articlesCmsMapper:this.articlesMapper}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"]($t._),i["ɵɵinject"](nn.u),i["ɵɵinject"](sn),i["ɵɵinject"](rn.C))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),ln=(()=>{class e{constructor(e,t){this.articlesService=e,this.contentNotFoundHandler=t}resolve(e){let t=e.params.slug;return this.articlesService.getArticle(t).pipe((0,c.catchError)((e=>this.contentNotFoundHandler.resolveContentNotFoundOrThrow(e))))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](cn),i["ɵɵinject"](tn.B))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var dn=(()=>(function(e){e[e.large=0]="large",e[e.small=1]="small"}(dn||(dn={})),dn))(),un=n(94726),pn=n(93801),hn=n(84333),mn=n(63325);let fn=(()=>{class e{constructor(e,t){this.clickHandlerService=e,this.router=t,this.imageType=dn.large}ngOnInit(){this.articleCardlink=this.router.url.split("?")[0]+"/"+this.article.slug,this.notInSubdivisionList=pn.H.getNotInSubdivisionList(this.article.notInFilter)}trackEvent(e,t,n){e.eventClickTracked||(this.clickHandlerService.handleClick("article_card",!1,t,-1,n),e.eventClickTracked=!0)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](un.M),i["ɵɵdirectiveInject"](o.Router))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-article-card-bm"]],hostVars:1,hostBindings:function(e,t){2&e&&i["ɵɵattribute"]("class",t.articleClass)},inputs:{article:"article",defaultImage:"defaultImage",imageType:"imageType",element:"element"},decls:28,vars:12,consts:[["bxHideBySubdivision","",1,"article-card-wrapper"],[1,"article-card"],[3,"bxLink","click"],[1,"card",3,"bxPreviewIndicator"],["bxImage","",1,"img-responsive",3,"src","defaultImage"],[1,"card-text"],[1,"card-text","card-footer"],[1,"card-footer-text"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"article",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"a",2),i["ɵɵlistener"]("click",(function(e){return t.trackEvent(e,t.article.title,t.article.tracking)})),i["ɵɵtext"](6,"\n                    "),i["ɵɵelementStart"](7,"figure",3),i["ɵɵtext"](8,"\n                        "),i["ɵɵelement"](9,"img",4),i["ɵɵtext"](10,"\n                        "),i["ɵɵelementStart"](11,"figcaption",5),i["ɵɵtext"](12),i["ɵɵelementEnd"](),i["ɵɵtext"](13,"\n                        "),i["ɵɵelementStart"](14,"figcaption",6),i["ɵɵtext"](15,"\n                            "),i["ɵɵelementStart"](16,"span",7),i["ɵɵtext"](17),i["ɵɵelementEnd"](),i["ɵɵtext"](18,"\n                            "),i["ɵɵelementStart"](19,"span",7),i["ɵɵtext"](20),i["ɵɵpipe"](21,"bxDate"),i["ɵɵelementEnd"](),i["ɵɵtext"](22,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](23,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](24,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](25,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](26,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](27,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](4),i["ɵɵproperty"]("bxLink",t.articleCardlink),i["ɵɵadvance"](2),i["ɵɵproperty"]("bxPreviewIndicator",t.article),i["ɵɵadvance"](2),i["ɵɵproperty"]("src",t.article.image,i["ɵɵsanitizeUrl"])("defaultImage",t.defaultImage),i["ɵɵattribute"]("alt",t.article.imageAltText),i["ɵɵadvance"](3),i["ɵɵtextInterpolate1"]("\n                            ",t.article.title,"\n                        "),i["ɵɵadvance"](5),i["ɵɵtextInterpolate1"]("\n                                ",t.article.category,"\n                            "),i["ɵɵadvance"](3),i["ɵɵtextInterpolate1"]("\n                                ",i["ɵɵpipeBind2"](21,9,t.article.publishedDate||t.article.publicationDate,"mediumDate"),"\n                            "))},directives:[hn.e,mn.I,Nt.Z,Ft.t],pipes:[Bt.a],styles:[".article-card-wrapper[_ngcontent-%COMP%] {\n  margin: 0;\n  padding: 0;\n  border: 0;\n  display: inline-flex;\n  width: 33%; }\n  .article-card-wrapper[_ngcontent-%COMP%]   .article-card[_ngcontent-%COMP%] {\n    margin: 8px; }\n  .article-card-wrapper[_ngcontent-%COMP%]   .article-card[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%] {\n      height: 70px; }\n  .article-card-wrapper[_ngcontent-%COMP%]   .article-card[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%]   .card-footer-text[_ngcontent-%COMP%]:first-child {\n        text-align: left; }\n  .article-card-wrapper[_ngcontent-%COMP%]   .article-card[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%]   .card-footer-text[_ngcontent-%COMP%]:nth-child(2) {\n        text-align: right; }\n  @media only screen and (orientation: landscape) and (max-width: 767px) {\n  .article-card-wrapper[_ngcontent-%COMP%] {\n    width: 49%; } }\n  @media only screen and (orientation: portrait) and (max-width: 767px) {\n  .article-card-wrapper[_ngcontent-%COMP%] {\n    width: 100%;\n    display: inline-block; } }"]}),e})();function gn(e,t){if(1&e&&(i["ɵɵelementStart"](0,"figcaption",5),i["ɵɵtext"](1),i["ɵɵpipe"](2,"bxDate"),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"]("\n                    ",i["ɵɵpipeBind3"](2,1,e.article.publicationDate,"MMM DD, YYYY",e.article.publicationDate),"\n                ")}}let vn=(()=>{class e extends fn{}return e.ɵfac=function(){let t;return function(n){return(t||(t=i["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-articles-card-ch"]],features:[i["ɵɵInheritDefinitionFeature"]],decls:14,vars:8,consts:[["bxHideBySubdivision","",3,"bxLink","click"],[1,"card",3,"bxPreviewIndicator"],["bxImage","",1,"img-responsive",3,"src","defaultImage"],[1,"card-text"],["class","card-footer-text",4,"ngIf"],[1,"card-footer-text"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"a",0),i["ɵɵlistener"]("click",(function(e){return t.trackEvent(e,t.article.title,t.article.tracking)})),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"figure",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelement"](5,"img",2),i["ɵɵtext"](6,"\n                "),i["ɵɵelementStart"](7,"figcaption",3),i["ɵɵtext"](8),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n                "),i["ɵɵtemplate"](10,gn,3,5,"figcaption",4),i["ɵɵtext"](11,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](12,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](13,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("bxLink",t.articleCardlink),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](2),i["ɵɵproperty"]("bxPreviewIndicator",t.article),i["ɵɵadvance"](2),i["ɵɵproperty"]("src",t.article.image,i["ɵɵsanitizeUrl"])("defaultImage",t.defaultImage),i["ɵɵattribute"]("alt",t.article.imageAltText),i["ɵɵadvance"](3),i["ɵɵtextInterpolate"](t.article.title),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.article.publicationDate))},directives:[hn.e,mn.I,Nt.Z,Ft.t,r.NgIf],pipes:[Bt.a],encapsulation:2}),e})();var bn=n(40476),yn=n(33564);const Sn=function(e){return{active:e}};function Cn(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"li",3),i["ɵɵlistener"]("click",(function(){const t=i["ɵɵrestoreView"](e).$implicit;return i["ɵɵnextContext"]().selectTab(t)})),i["ɵɵtext"](1,"\n                    "),i["ɵɵelementStart"](2,"h2",4),i["ɵɵtext"](3),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n                "),i["ɵɵelementEnd"]()}if(2&e){const e=t.$implicit;i["ɵɵpropertyInterpolate"]("title",e.title),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](3,Sn,e.active)),i["ɵɵadvance"](3),i["ɵɵtextInterpolate"](e.title)}}let xn=(()=>{class e{constructor(){this.tabs=[],this.tabSelected=new i.EventEmitter}selectTab(e){this.tabs&&(this.tabs.forEach((e=>{e.active=!1})),e.active=!0,this.tabSelected.emit(e))}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-secondary-menu"]],inputs:{tabs:"tabs"},outputs:{tabSelected:"tabSelected"},decls:9,vars:1,consts:[[1,"custom-tab-scrollable-container"],["itemscope","","itemtype","http://www.schema.org/SiteNavigationElement",1,"custom-tab","promotion"],["role","button",3,"ngClass","title","click",4,"ngFor","ngForOf"],["role","button",3,"ngClass","title","click"],["itemprop","name"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"ul",1),i["ɵɵtext"](4,"\n                "),i["ɵɵtemplate"](5,Cn,5,5,"li",2),i["ɵɵtext"](6,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n    ")),2&e&&(i["ɵɵadvance"](5),i["ɵɵproperty"]("ngForOf",t.tabs))},directives:[r.NgForOf,r.NgClass],styles:[".custom-tab-scrollable-container[_ngcontent-%COMP%] {\n  overflow-x: auto;\n  overflow-y: hidden; }\n\n.custom-tab[_ngcontent-%COMP%] {\n  overflow: visible; }\n\n.custom-tab.promotion[_ngcontent-%COMP%] {\n  border-right: none;\n  border-left: none; }"]}),e})(),In=(()=>{class e{constructor(e,t,n){this.componentFactoryResolver=e,this.viewContainerRef=t,this.articleCardConfig=n,this.imageType=dn.large}ngOnInit(){const e=this.articleCardConfig.component||fn,t=this.componentFactoryResolver.resolveComponentFactory(e),n=this.viewContainerRef.createComponent(t).instance;n.articleClass=this.articleClass,n.article=this.article,n.defaultImage=this.defaultImage,n.imageType=this.imageType,n.element=this.element}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ComponentFactoryResolver),i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](_t))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-article-card"]],hostVars:1,hostBindings:function(e,t){2&e&&i["ɵɵattribute"]("class",t.articleClass)},inputs:{article:"article",defaultImage:"defaultImage",imageType:"imageType",element:"element"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();function wn(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div",6),i["ɵɵtext"](1,"\n            "),i["ɵɵelementStart"](2,"bx-secondary-menu",7),i["ɵɵlistener"]("tabSelected",(function(t){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().tabSelected(t)})),i["ɵɵelementEnd"](),i["ɵɵtext"](3,"\n        "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵattribute"]("data-notIn-subdivisions",e.notInSubdivisionList),i["ɵɵadvance"](2),i["ɵɵproperty"]("tabs",e.menuTabs)}}function En(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",8),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"bx-article-card",9),i["ɵɵtext"](3,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=t.$implicit,n=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("article",e)("element",n.scrollTarget)}}let Tn=class{constructor(e,t,n,i){this.windowService=e,this.platformId=t,this.router=n,this.trackingService=i,this.data={},this.menuTabs=[],this.menuCardList={},this.cardList=[],this.notInSubdivisionList=null}ngOnInit(){(0,r.isPlatformBrowser)(this.platformId)&&(this.scrollTarget=this.windowService.window()),this.data.items&&(this.data.items.forEach((e=>{if(e.contentType===K.z.MENU&&e.fields)this.menuTabs.push({active:!1,title:e.fields.title,slug:e.fields.slug}),e.fields.items&&(this.menuCardList[e.fields.slug]=[],e.fields.items.forEach((t=>{if(t.fields){const n=t.fields.default_card_image||t.fields.card_image;this.menuCardList[e.fields.slug].push({slug:t.fields.slug,title:t.fields.menuItemLabel||t.fields.title,image:n?n.url:null,imageAltText:n?n.alt:null,publicationDate:t.fields.published_date,draft:"draft"===t.status,tracking:this.trackingService.getTrackingData(t,e.fields,"custom_menu"),notInSubdivisionList:pn.H.getNotInSubdivisionList(pn.H.map(t.fields.filter))})}})));else if(e.contentType===K.z.CONTENT_PAGE&&e.fields&&(0===Object.keys(this.menuCardList).length&&(this.menuCardList[this.data.slug]=[]),this.menuCardList[this.data.slug])){const t=e.fields.default_card_image||e.fields.card_image;this.menuCardList[this.data.slug].push({slug:e.fields.slug,title:e.fields.menuItemLabel||e.fields.title,image:t?t.url:null,imageAltText:t?t.alt:null,draft:"draft"===e.status,tracking:this.trackingService.getTrackingData(e,this.data,this.data.contentType),notInSubdivisionList:pn.H.getNotInSubdivisionList(pn.H.map(e.fields.filter))})}})),this.menuTabs.length>0?(this.menuTabs[0].active=!0,this.tabSelected(this.menuTabs[0])):this.menuCardList[this.data.slug]&&(this.cardList=this.menuCardList[this.data.slug]),this.routerObservable=this.router.events,this.routerSubscription=this.routerObservable.subscribe((e=>{(e instanceof o.NavigationEnd||e instanceof o.ResolveEnd)&&window.scrollTo(0,0)})));const e=pn.H.map(this.data&&this.data.fields&&this.data.fields.filter);this.notInSubdivisionList=pn.H.getNotInSubdivisionList(e)}ngOnDestroy(){this.routerSubscription.unsubscribe()}tabSelected(e){e&&(this.cardList=this.menuCardList[e.slug])}};Tn.ɵfac=function(e){return new(e||Tn)(i["ɵɵdirectiveInject"](ee.u),i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](yn.e))},Tn.ɵcmp=i["ɵɵdefineComponent"]({type:Tn,selectors:[["bx-articles-ch"]],inputs:{data:"data"},decls:17,vars:5,consts:[["data-dynamic-element","dynamicElement","bxHideBySubdivision","",1,"max-container","articles-title-container"],[1,"max-container","articles-title"],["role","heading",1,"h3-heading"],["class","max-container articles-menu-container","bxHideBySubdivision","",4,"ngIf"],["bxHideBySubdivision","",1,"max-container","articles-container"],["class","articles-container-item",4,"ngFor","ngForOf"],["bxHideBySubdivision","",1,"max-container","articles-menu-container"],[3,"tabs","tabSelected"],[1,"articles-container-item"],[3,"article","element"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"h2",2),i["ɵɵtext"](6),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n        "),i["ɵɵtemplate"](10,wn,4,2,"div",3),i["ɵɵtext"](11,"\n        "),i["ɵɵelementStart"](12,"div",4),i["ɵɵtext"](13,"\n            "),i["ɵɵtemplate"](14,En,5,2,"div",5),i["ɵɵtext"](15,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](5),i["ɵɵtextInterpolate"](t.data.title),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngIf",t.menuTabs.length>0),i["ɵɵadvance"](2),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",t.cardList))},directives:[hn.e,r.NgIf,r.NgForOf,xn,In],encapsulation:2}),Tn=(0,a.__decorate)([(0,q.DE)({name:"Articles",matcher:e=>e.contentType===K.z.MENU&&e.fields.tags&&e.fields.tags.split(",").indexOf(bn.d.LIGHT_MENU)>=0}),(0,a.__metadata)("design:paramtypes",[ee.u,Object,o.Router,yn.e])],Tn);var Pn=n(40821);let An=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[],imports:[[o.RouterModule.forChild([]),ze.BrowserModule]]}),e})();var _n=n(34207),Mn=n(63749);let On=(()=>{class e{static withComponents(t=[]){return{ngModule:e,providers:[{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,useValue:t,multi:!0}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[_t],imports:[[_n.$,o.RouterModule,Mn.m]]}),e})();var kn=n(7294),jn=n(10749);let Nn=(()=>{class e{constructor(e){this.tagsToRename={img:"amp-img"},this.cssPropertiesToRemoveRegex=/([\s]?)(mso-|-webkit-text-stroke-width)(([\s\S]*?)\b[^:]*([\s\S]*?);)/gm,this.renderer=e.createRenderer(null,null)}replaceTags(e){Object.keys(this.tagsToRename).forEach((t=>{let n=e.querySelectorAll(t);Array.from(n).forEach((e=>{let n=this.renameTagNode(this.renderer,e,this.renderer.createElement(this.tagsToRename[t]));this.replaceChild(e,n)}))}))}transform(e){this.replaceTags(e.nativeElement),this.removeNoValidCssPropertiesFromInlineStyle(e.nativeElement);const t=e.nativeElement.querySelectorAll("style");t&&this.moveStylesFromComponent(t,e.nativeElement)}transformElementById(e,t){let n=e.getElementById(t);this.replaceTags(n),this.removeNoValidCssPropertiesFromInlineStyle(n);const i=n.querySelectorAll("style");i&&this.moveStylesFromComponent(i,e)}moveStylesFromComponent(e,t){const n=t.querySelector("#amp-custom-style");Array.from(e).forEach((e=>{if("amp-custom-style"!==e.id){let t=this.replaceImportantCssValue(e.innerHTML);t=this.replaceImgCssStyles(t),n.innerHTML+=t,e.parentElement.removeChild(e)}}))}replaceChild(e,t){e.parentNode.insertBefore(t,e),e.parentNode.removeChild(e)}renameTagNode(e,t,n){let i=t.attributes,r=new Map;return Object.keys(i).forEach((t=>{let o=i[t].name,a=i[t].value;a&&(e.setAttribute(n,o,a),r.set(o,a))})),"IMG".indexOf(t.tagName)>=0&&(r.get("height")&&r.get("width")||(e.setAttribute(n,"width","1px"),e.setAttribute(n,"height","1px"),e.setAttribute(n,"style","object-fit: cover")),e.setAttribute(n,"layout","responsive")),n}removeNoValidCssPropertiesFromInlineStyle(e){let t=this.removeValuesByRegex(this.cssPropertiesToRemoveRegex,e.innerHTML);return t=this.replaceImportantCssValue(t),e.innerHTML=t,e}replaceImportantCssValue(e){return e.replace(/([\s])(!important)/gm,"")}replaceImgCssStyles(e){return e.replace(" img {"," amp-img {")}removeValuesByRegex(e,t){let n,i=new Array;for(;n=e.exec(t);)i.push(n[0]);return i.forEach((e=>{t=t.replace(e,"")})),t}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.RendererFactory2))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Dn=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[jt,Nn]}),e})();var Ln=n(80417);let Rn=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e,bootstrap:[Tn]}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[ln,rn.C,sn,jn.I,cn,yn.e],imports:[[_n.$,An,Ot.$Q,r.CommonModule,o.RouterModule.forChild([]),Pn.o,kn.w,On.withComponents([vn]),Dn,Ln.LO,Mn.m]]}),e})();var Fn=n(16424),Bn=n(40879),Un=n(36330),Hn=n(69348);let Vn=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Gn=n(73502),$n=n(98953);class zn extends $n.w{constructor(){super()}}var Wn=n(54411),qn=n(56914),Kn=n(78482),Xn=n(63253);class Yn extends qn.x{map(e){let t=[];return Array.isArray(e.fields.items)&&(t=e.fields.items.map((e=>this.mapCard(e)))),{data:{cards:t,notInFilter:pn.H.map(e.fields.filter)}}}mapCard(e){let t=new zn;t.cardType=Xn(["fields","page_type"],e)||Wn.G.ARTICLE,t.slug=Kn.K.mapLinkUrl(e),t.title=Xn(["fields","title"],e),t.category=Xn(["fields","category"],e),t.publicationDate=e.publishedAt||e.updatedAt,t.draft="draft"===e.status,t.notInFilter=pn.H.map(e.fields.filter);let n=Xn(["fields","card_image"],e);return t.image=n&&n.url,t.imageAltText=n&&n.alt,t}}var Jn=n(26709);function Qn(e,t){if(1&e&&(i["ɵɵelementStart"](0,"figcaption",8),i["ɵɵtext"](1,"\n                            "),i["ɵɵelementStart"](2,"span",9),i["ɵɵtext"](3),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n                            "),i["ɵɵelementStart"](5,"span",10),i["ɵɵtext"](6),i["ɵɵpipe"](7,"bxDate"),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n                        "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵadvance"](3),i["ɵɵtextInterpolate1"]("\n                                ",e.card.category,"\n                            "),i["ɵɵadvance"](3),i["ɵɵtextInterpolate1"]("\n                                ",i["ɵɵpipeBind2"](7,2,e.card.publicationDate,"mediumDate"),"\n                            ")}}function Zn(e,t){if(1&e&&(i["ɵɵelementStart"](0,"article",1),i["ɵɵtext"](1,"\n            "),i["ɵɵelementStart"](2,"div",2),i["ɵɵtext"](3,"\n                "),i["ɵɵelementStart"](4,"a",3),i["ɵɵtext"](5,"\n                    "),i["ɵɵelementStart"](6,"figure",4),i["ɵɵtext"](7,"\n                        "),i["ɵɵelement"](8,"img",5),i["ɵɵtext"](9,"\n                        "),i["ɵɵelementStart"](10,"figcaption",6),i["ɵɵtext"](11),i["ɵɵelementEnd"](),i["ɵɵtext"](12,"\n                        "),i["ɵɵtemplate"](13,Qn,9,5,"figcaption",7),i["ɵɵtext"](14,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](15,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n        "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵattribute"]("data-notIn-subdivisions",e.getSubdivisionList()),i["ɵɵadvance"](4),i["ɵɵproperty"]("routerLink",e.card.slug),i["ɵɵadvance"](2),i["ɵɵproperty"]("bxPreviewIndicator",e.card),i["ɵɵadvance"](2),i["ɵɵproperty"]("src",e.card.image,i["ɵɵsanitizeUrl"])("defaultImage",e.defaultImage),i["ɵɵattribute"]("alt",e.card.imageAltText),i["ɵɵadvance"](3),i["ɵɵtextInterpolate1"]("\n                            ",e.card.title,"\n                        "),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.hasFeature(e.card.cardType,"footer"))}}let ei=(()=>{class e{constructor(e){this.cardsConfig=e,this.cardsConfig=this.cardsConfig||{}}hasFeature(e,t){return this.cardsConfig[t]&&this.cardsConfig[t].indexOf(e)>=0}getSubdivisionList(){return pn.H.getNotInSubdivisionList(this.card.notInFilter)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](Vn))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-grid-card"]],inputs:{card:"card",defaultImage:"defaultImage"},decls:3,vars:1,consts:[["class","grid-card-wrapper","bxHideBySubdivision","",4,"ngIf"],["bxHideBySubdivision","",1,"grid-card-wrapper"],[1,"grid-card"],["role","link",3,"routerLink"],[1,"card",3,"bxPreviewIndicator"],["bxImage","",1,"img-responsive",3,"src","defaultImage"],[1,"card-text"],["class","card-text card-footer",4,"ngIf"],[1,"card-text","card-footer"],[1,"card-footer-text","card-category"],[1,"card-footer-text","card-date"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,Zn,18,8,"article",0),i["ɵɵtext"](2,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",t.card))},directives:[r.NgIf,hn.e,o.RouterLinkWithHref,Nt.Z,Ft.t],pipes:[Bt.a],styles:[".grid-card-wrapper[_ngcontent-%COMP%] {\n  margin: 0;\n  padding: 0;\n  border: 0;\n  display: inline-block;\n  width: calc((100% / 3) - 2px);\n  vertical-align: middle; }\n  .grid-card-wrapper[_ngcontent-%COMP%]   .grid-card[_ngcontent-%COMP%] {\n    margin: 8px; }\n  .grid-card-wrapper[_ngcontent-%COMP%]   .grid-card[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%] {\n      height: 70px; }\n  .grid-card-wrapper[_ngcontent-%COMP%]   .grid-card[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%]   .card-footer-text[_ngcontent-%COMP%]:first-child {\n        text-align: left; }\n  .grid-card-wrapper[_ngcontent-%COMP%]   .grid-card[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]   .card-footer[_ngcontent-%COMP%]   .card-footer-text[_ngcontent-%COMP%]:nth-child(2) {\n        text-align: right; }\n  @media only screen and (orientation: landscape) and (max-width: 767px) {\n  .grid-card-wrapper[_ngcontent-%COMP%] {\n    width: calc(50% - 2px); } }\n  @media only screen and (orientation: portrait) and (max-width: 767px) {\n  .grid-card-wrapper[_ngcontent-%COMP%] {\n    width: 100%;\n    display: inline-block; } }"]}),e})();function ti(e,t){if(1&e&&(i["ɵɵelementStart"](0,"bx-grid-card",2),i["ɵɵtext"](1,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=t.$implicit,n=i["ɵɵnextContext"]();i["ɵɵproperty"]("card",e)("defaultImage",n.getDefaultImage())}}let ni=class{constructor(e,t){this.imageService=e,this.gridCardsConfig=t,this.notInSubdivisionList=null,t=t||{}}set data(e){this.cards=e.cards,this.notInSubdivisionList=pn.H.getNotInSubdivisionList(e.notInFilter)}getDefaultImage(){let e=this.gridCardsConfig.defaultImageDimension||{width:224,height:117};return this.imageService.getPlaceholderImage(e.width,e.height)}};ni.ɵfac=function(e){return new(e||ni)(i["ɵɵdirectiveInject"](Jn.A),i["ɵɵdirectiveInject"](Vn))},ni.ɵcmp=i["ɵɵdefineComponent"]({type:ni,selectors:[["bx-grid-cards"]],inputs:{data:"data"},decls:7,vars:4,consts:[["bxHideBySubdivision",""],[3,"card","defaultImage",4,"ngFor","ngForOf"],[3,"card","defaultImage"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵtemplate"](3,ti,2,2,"bx-grid-card",1),i["ɵɵtext"](4,"\n        "),i["ɵɵelementStart"](5,"div"),i["ɵɵtext"](6,"\n    "),i["ɵɵelementEnd"](),i["ɵɵelementEnd"]()),2&e&&(i["ɵɵadvance"](1),i["ɵɵclassProp"]("max-container",t.gridCardsConfig.maxContainer),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",t.cards))},directives:[hn.e,r.NgForOf,ei],encapsulation:2}),ni=(0,a.__decorate)([(0,q.DE)({name:"GridCards",mapper:Yn,matcher:e=>e.contentType===K.z.MENU&&e.fields.tags&&e.fields.tags.split(",").map((e=>e.trim())).indexOf(bn.d.GRID_LAYOUT)>=0}),(0,a.__metadata)("design:paramtypes",[Jn.A,Vn])],ni);let ii=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Vn,Ot.AJ],imports:[[r.CommonModule,o.RouterModule,Ot.$Q,_n.$,Gn.D,Pn.o,W.J.withComponents([ni]),Mn.m]]}),e})(),ri=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const oi=function(e){return[e]};let ai=(()=>{class e{constructor(){this.imageType=dn.large}ngOnInit(){this.notInSubdivisionList=pn.H.getNotInSubdivisionList(this.promotion.notInFilter)}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-promotion-card-bm"]],hostVars:1,hostBindings:function(e,t){2&e&&i["ɵɵattribute"]("class",t.promotionClass)},inputs:{promotion:"promotion",defaultImage:"defaultImage",imageType:"imageType",element:"element"},decls:18,vars:9,consts:[["bxHideBySubdivision","",1,"promotion-card-wrapper"],[1,"promotion-card"],[3,"routerLink"],[1,"card",3,"bxPreviewIndicator"],["bxImage","",1,"img-responsive",3,"src","defaultImage"],[1,"card-text"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"article",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"a",2),i["ɵɵtext"](6,"\n                    "),i["ɵɵelementStart"](7,"figure",3),i["ɵɵtext"](8,"\n                        "),i["ɵɵelement"](9,"img",4),i["ɵɵtext"](10,"\n                        "),i["ɵɵelementStart"](11,"figcaption",5),i["ɵɵtext"](12),i["ɵɵelementEnd"](),i["ɵɵtext"](13,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](15,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](4),i["ɵɵproperty"]("routerLink",i["ɵɵpureFunction1"](7,oi,t.promotion.slug)),i["ɵɵadvance"](2),i["ɵɵproperty"]("bxPreviewIndicator",t.promotion),i["ɵɵadvance"](2),i["ɵɵproperty"]("src",t.promotion.image,i["ɵɵsanitizeUrl"])("defaultImage",t.defaultImage),i["ɵɵattribute"]("alt",t.promotion.imageAltText),i["ɵɵadvance"](3),i["ɵɵtextInterpolate1"]("\n                            ",t.promotion.title,"\n                        "))},directives:[hn.e,o.RouterLinkWithHref,Nt.Z,Ft.t],styles:[".promotion-card-wrapper[_ngcontent-%COMP%] {\n  margin: 0;\n  padding: 0;\n  border: 0;\n  display: inline-block;\n  width: 33%;\n  vertical-align: middle; }\n  .promotion-card-wrapper[_ngcontent-%COMP%]   .promotion-card[_ngcontent-%COMP%] {\n    margin: 8px; }\n  @media only screen and (orientation: landscape) and (max-width: 767px) {\n  .promotion-card-wrapper[_ngcontent-%COMP%] {\n    width: 49%; } }\n  @media only screen and (orientation: portrait) and (max-width: 767px) {\n  .promotion-card-wrapper[_ngcontent-%COMP%] {\n    width: 100%; } }"]}),e})();const si=function(e){return[e]};let ci=(()=>{class e extends ai{}return e.ɵfac=function(){let t;return function(n){return(t||(t=i["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-promotion-card-ch"]],features:[i["ɵɵInheritDefinitionFeature"]],decls:12,vars:9,consts:[["bxHideBySubdivision","",3,"routerLink"],[1,"card",3,"bxPreviewIndicator"],["bxImage","",1,"img-responsive",3,"src","defaultImage"],[1,"card-text"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"a",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"figure",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelement"](5,"img",2),i["ɵɵtext"](6,"\n                "),i["ɵɵelementStart"](7,"figcaption",3),i["ɵɵtext"](8),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("routerLink",i["ɵɵpureFunction1"](7,si,t.promotion.slug)),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](2),i["ɵɵproperty"]("bxPreviewIndicator",t.promotion),i["ɵɵadvance"](2),i["ɵɵproperty"]("src",t.promotion.image,i["ɵɵsanitizeUrl"])("defaultImage",t.defaultImage),i["ɵɵattribute"]("alt",t.promotion.imageAltText),i["ɵɵadvance"](3),i["ɵɵtextInterpolate"](t.promotion.title))},directives:[o.RouterLinkWithHref,hn.e,Nt.Z,Ft.t],styles:["[_nghost-%COMP%]     a figure.card figcaption.card-text {\n  padding-bottom: 12px;\n  line-height: 1.1em;\n  width: 100%;\n  margin: 0; }\n\n@media (min-width: 769px) {\n  [_nghost-%COMP%]     a figure.card figcaption.card-text {\n    padding-right: 19px; } }",".promotion-card-wrapper[_ngcontent-%COMP%] {\n  margin: 0;\n  padding: 0;\n  border: 0;\n  display: inline-block;\n  width: 33%;\n  vertical-align: middle; }\n  .promotion-card-wrapper[_ngcontent-%COMP%]   .promotion-card[_ngcontent-%COMP%] {\n    margin: 8px; }\n  @media only screen and (orientation: landscape) and (max-width: 767px) {\n  .promotion-card-wrapper[_ngcontent-%COMP%] {\n    width: 49%; } }\n  @media only screen and (orientation: portrait) and (max-width: 767px) {\n  .promotion-card-wrapper[_ngcontent-%COMP%] {\n    width: 100%; } }"]}),e})();function li(e,t){if(1&e&&(i["ɵɵelementStart"](0,"h1",6),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"]("\n                        ",e.promotion.title,"\n                    ")}}let di=(()=>{class e{constructor(e,t,n,i,r){this.route=e,this.router=t,this.domSanitizer=n,this.imageService=i,this.transferStateServiceCache=r,this.fromUniversal=!1}ngOnInit(){this.promotion=this.promotion||this.route.snapshot.data.promotion,this.fromUniversal=this.transferStateServiceCache.isFromUniversal(),this.imageTransparent=Ot.f3,this.bodySanitized=this.formatBody(this.promotion.body)}goToPromotionsPage(){this.router.navigate(["promotions"])}formatBody(e){return this.domSanitizer.bypassSecurityTrustHtml(this.imageService.replaceImages(e))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.ActivatedRoute),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](ze.DomSanitizer),i["ɵɵdirectiveInject"](Ot.AJ),i["ɵɵdirectiveInject"](ie.m))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-promotion-details"]],decls:19,vars:9,consts:[["data-dynamic-element","dynamicElement",3,"bxPreviewIndicator"],["overlayType","large",1,"promotion-details"],[3,"backButton","defaultBackHandling","back"],["role","heading","class","h1-heading promotion-title",4,"ngIf"],["bxImage","",1,"img-responsive","promotion-image",3,"alt","src","defaultImage"],[1,"promotion-body",3,"innerHTML"],["role","heading",1,"h1-heading","promotion-title"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"article",0),i["ɵɵtext"](2,"\n             "),i["ɵɵelementStart"](3,"bx-overlay-container",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"bx-overlay-header",2),i["ɵɵlistener"]("back",(function(){return t.goToPromotionsPage()})),i["ɵɵtext"](6,"\n                    "),i["ɵɵtemplate"](7,li,2,1,"h1",3),i["ɵɵtext"](8,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n                "),i["ɵɵelementStart"](10,"bx-overlay-body"),i["ɵɵtext"](11,"\n                    "),i["ɵɵelement"](12,"img",4),i["ɵɵtext"](13,"\n                    "),i["ɵɵelement"](14,"div",5),i["ɵɵtext"](15,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](18,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("bxPreviewIndicator",t.promotion),i["ɵɵadvance"](4),i["ɵɵproperty"]("backButton",!0)("defaultBackHandling",!1),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!1!==t.promotion.h1Enabled),i["ɵɵadvance"](5),i["ɵɵpropertyInterpolate"]("alt",t.promotion.promotionImageAltText),i["ɵɵproperty"]("src",t.promotion.promotionImage,i["ɵɵsanitizeUrl"])("defaultImage",t.imageService.getPlaceholderImage(862,350,"transparent")),i["ɵɵattribute"]("src",t.fromUniversal?t.promotion.promotionImage:t.imageTransparent,i["ɵɵsanitizeUrl"]),i["ɵɵadvance"](2),i["ɵɵproperty"]("innerHTML",t.bodySanitized,i["ɵɵsanitizeHtml"]))},directives:[Nt.Z,Dt.l,Lt.z,r.NgIf,Rt.l,Ft.t],styles:[".promotion-title[_ngcontent-%COMP%] {\n  padding: 20px;\n  color: #000000;\n  font-size: 1.67em; }\n\n.promotion-body[_ngcontent-%COMP%] {\n  padding-top: 20px; }\n\n.promotion-body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n    padding-bottom: 10px; }\n\narticle.max-container[_ngcontent-%COMP%] {\n  max-width: 930px;\n  margin-top: 128px;\n  background-color: white;\n  color: #333333;\n  border: 16px solid #e3e3e3; }"]}),e})(),ui=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var pi=n(7006),hi=n(20734),mi=n(15390),fi=n(37292);let gi=(()=>{class e{constructor(){}mapPromotions(e){let t=new mi.j;return t.title=this.getFields(e,"title"),t.browserTitle=this.getFields(e,"browserTitle"),t.promotions=this.getFields(e,"items").map((e=>this.mapPromotionCard(e))),t}mapPromotion(e){return{meta:e.meta,title:this.getFields(e,"title"),browserTitle:this.getFields(e,"browserTitle"),promotionImage:this.getFields(e,"promotionImage"),promotionImageAltText:this.getFields(e,"promotionImageAltText"),body:this.getFields(e,"body"),h1Enabled:!1!==this.getFields(e,"h1Enabled")}}mapPromotionCard(e){let t=new fi.D;return t.slug=e.slug,t.title=this.getFields(e,"title"),t.image=this.getFields(e,"cardImage"),t.imageAltText=this.getFields(e,"cardImageAltText"),t}getFields(e,t){return e.fields&&e.fields[t]&&e.fields[t].value}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),vi=(()=>{class e{constructor(e,t,n,i){this.cmsFeatureFlagService=e,this.contentService=t,this.promotionsMapper=n,this.promotionsCmsMapper=i,this.CONTENT_SECTION="promotions"}getPromotions(){let e;return e=this.contentService.getContentBySlug(this.CONTENT_SECTION,this.CONTENT_SECTION),this.mapResponse(e,"mapPromotions")}getPromotion(e){let t,n,i;return this.cmsFeatureFlagService.isSectionEnabled(this.CONTENT_SECTION)?(t="content_page",n="promotion"):e=`${this.CONTENT_SECTION}/${e}`,i=this.contentService.getContentByUriSuffix(e,this.CONTENT_SECTION,t,n),this.mapResponse(i,"mapPromotion").pipe((0,c.take)(1))}getAdditionalPromoContent(){return this.contentService.getContentBySlug("additionalpromocontent","promotions").pipe((0,c.take)(1),(0,c.catchError)((e=>{if(e&&e.status&&404===e.status)return(0,s.empty)();(0,s.throwError)(e)})))}mapResponse(e,t){return e.pipe((0,c.map)((e=>this.classMapper()[t](e))))}classMapper(){return this.cmsFeatureFlagService.isSectionEnabled(this.CONTENT_SECTION)?this.promotionsCmsMapper:this.promotionsMapper}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](nn.u),i["ɵɵinject"]($t._),i["ɵɵinject"](gi),i["ɵɵinject"](hi.Q))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),bi=(()=>{class e{constructor(e,t){this.domSanitizer=e,this.promotionsService=t,this.showAdditionalPromotion="additional-content-hidden"}ngOnInit(){this.promotionsService.getAdditionalPromoContent().subscribe((e=>{this.promotionAdditionalContent=e,this.promotionAdditionalContent&&this.promotionAdditionalContent.fields&&this.promotionAdditionalContent.fields.body&&(this.showAdditionalPromotion="",this.bodySanitized=this.formatBody(this.promotionAdditionalContent.fields.body))}))}formatBody(e){return this.domSanitizer.bypassSecurityTrustHtml(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](ze.DomSanitizer),i["ɵɵdirectiveInject"](vi))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-promotion-additional-content"]],decls:10,vars:3,consts:[[1,"max-container","additional-content-wrapper",3,"ngClass"],[1,"h3-heading","promotion-additional-content-title"],[1,"promotion-additional-content-body",3,"innerHTML"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"h2",1),i["ɵɵtext"](4),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n            "),i["ɵɵelementStart"](6,"div",2),i["ɵɵtext"](7,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngClass",t.showAdditionalPromotion),i["ɵɵadvance"](3),i["ɵɵtextInterpolate1"]("\n                ",null==t.promotionAdditionalContent||null==t.promotionAdditionalContent.fields?null:t.promotionAdditionalContent.fields.title,"\n            "),i["ɵɵadvance"](2),i["ɵɵproperty"]("innerHTML",t.bodySanitized,i["ɵɵsanitizeHtml"]))},directives:[r.NgClass],styles:[".additional-content-hidden[_ngcontent-%COMP%] {\n  display: none; }\n\n.promotion-additional-content-title[_ngcontent-%COMP%] {\n  text-transform: uppercase; }\n\n.promotion-additional-content-body[_ngcontent-%COMP%] {\n  background-color: white;\n  margin-top: 16px; }\n\n.max-container.additional-content-wrapper[_ngcontent-%COMP%] {\n  margin-top: 24px;\n  margin-bottom: 16px; }\n\n@media screen and (max-width: 768px) {\n    .max-container.additional-content-wrapper[_ngcontent-%COMP%] {\n      margin-left: 16px;\n      margin-right: 16px; } }\n\n@media screen and (min-width: 769px) {\n    .max-container.additional-content-wrapper[_ngcontent-%COMP%] {\n      margin-left: auto;\n      margin-right: auto;\n      max-width: 1024px; } }"]}),e})();function yi(e,t){if(1&e&&i["ɵɵelementContainer"](0,9),2&e){i["ɵɵnextContext"]();const e=i["ɵɵreference"](26);i["ɵɵproperty"]("ngTemplateOutlet",e)}}function Si(e,t){if(1&e&&i["ɵɵelementContainer"](0,9),2&e){i["ɵɵnextContext"]();const e=i["ɵɵreference"](26);i["ɵɵproperty"]("ngTemplateOutlet",e)}}function Ci(e,t){if(1&e&&(i["ɵɵelementStart"](0,"h1",11),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.promotion.title)}}function xi(e,t){if(1&e&&(i["ɵɵtext"](0,"\n           "),i["ɵɵtemplate"](1,Ci,2,1,"h1",10),i["ɵɵtext"](2,"\n        ")),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",!1!==e.promotion.h1Enabled)}}let Ii=(()=>{class e extends di{constructor(e,t,n,i,r,o,a){super(e,t,n,i,a),this.translateService=r,this.promotionDetailsCopperheadConfig=o,this.inputBreadcrumb=[],this.breadcrumb=[]}set data(e){this.inputBreadcrumb=e.breadcrumb,this.promotion=e.pageData.promotion}ngOnInit(){super.ngOnInit(),this.buildBreadcrumbs()}buildBreadcrumbs(){Gt.breadcrumb(this.breadcrumb).addAll(this.inputBreadcrumb).defaultIfEmpty(this.contextBaseBreadcrumb()).defaultIfEmpty(this.translateContextBaseBreadcrumb()).defaultIfEmpty(this.defaultBaseBreadcrumb()).add(this.selfBreadcrumb()).build()}defaultBaseBreadcrumb(){let e=new Mt.g("breadcrumb.promotions","..");return this.translateService.translate(e.text).subscribe((t=>{e.text=t})),[e]}selfBreadcrumb(){return new Mt.g(this.promotion.title,".")}contextBaseBreadcrumb(){return this.route.snapshot.data.breadcrumbs}translateContextBaseBreadcrumb(){if(this.route.snapshot.data.breadcrumbText){let e=new Mt.g(this.route.snapshot.data.breadcrumbText,"..");return this.translateService.translate(e.text).subscribe((t=>{e.text=t})),[e]}}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.ActivatedRoute),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](ze.DomSanitizer),i["ɵɵdirectiveInject"](Ot.AJ),i["ɵɵdirectiveInject"](fe.s),i["ɵɵdirectiveInject"](ui),i["ɵɵdirectiveInject"](ie.m))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-promotion-details-ch"]],inputs:{data:"data"},features:[i["ɵɵInheritDefinitionFeature"]],decls:28,vars:9,consts:[["data-dynamic-element","dynamicElement",1,"max-container","promotion-wrapper","promotion-copperhead",3,"bxPreviewIndicator","ngClass"],[1,"breadcrumb-wrapper"],[1,"breadcrumbContainer",3,"breadcrumb"],[1,"promotion-details"],[3,"ngTemplateOutlet",4,"ngIf"],[1,"img-wrapper"],["bxImage","",1,"img-responsive","promotion-image",3,"alt","src","defaultImage"],["anchorLinksHandler","",1,"promotion-body",3,"innerHTML"],["heading",""],[3,"ngTemplateOutlet"],["role","heading","class","h1-heading promotion-title",4,"ngIf"],["role","heading",1,"h1-heading","promotion-title"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelement"](5,"bx-breadcrumb",2),i["ɵɵtext"](6,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n            "),i["ɵɵelementStart"](8,"article",3),i["ɵɵtext"](9,"\n                "),i["ɵɵtemplate"](10,yi,1,1,"ng-container",4),i["ɵɵtext"](11,"\n                "),i["ɵɵelementStart"](12,"div",5),i["ɵɵtext"](13,"\n                    "),i["ɵɵelement"](14,"img",6),i["ɵɵtext"](15,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n                "),i["ɵɵtemplate"](17,Si,1,1,"ng-container",4),i["ɵɵtext"](18,"\n                "),i["ɵɵelement"](19,"div",7),i["ɵɵtext"](20,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](21,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](22,"\n        "),i["ɵɵelement"](23,"bx-promotion-additional-content"),i["ɵɵtext"](24,"\n        "),i["ɵɵtemplate"](25,xi,3,1,"ng-template",null,8,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](27,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("bxPreviewIndicator",t.promotion)("ngClass",t.promotion.layoutType),i["ɵɵadvance"](4),i["ɵɵproperty"]("breadcrumb",t.breadcrumb),i["ɵɵadvance"](5),i["ɵɵproperty"]("ngIf","top"==t.promotionDetailsCopperheadConfig.title.position),i["ɵɵadvance"](4),i["ɵɵpropertyInterpolate"]("alt",t.promotion.promotionImageAltText),i["ɵɵproperty"]("src",t.promotion.promotionImage,i["ɵɵsanitizeUrl"])("defaultImage",t.imageService.getPlaceholderImage(862,350,"transparent")),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf","middle"==t.promotionDetailsCopperheadConfig.title.position),i["ɵɵadvance"](2),i["ɵɵproperty"]("innerHTML",t.bodySanitized,i["ɵɵsanitizeHtml"]))},directives:[Nt.Z,r.NgClass,Wt.L,r.NgIf,Ft.t,pi.$,bi,r.NgTemplateOutlet],styles:[".promotion-body[_ngcontent-%COMP%] {\n  padding-top: 20px; }\n  .promotion-body[_ngcontent-%COMP%]   p[_ngcontent-%COMP%] {\n    padding-bottom: 10px; }\n  .promotion-details[_ngcontent-%COMP%] {\n  background-color: white;\n  color: #855f5f;\n  border: 0;\n  margin-top: 16px; }\n  div.max-container[_ngcontent-%COMP%] {\n  max-width: 930px;\n  margin-top: 90px; }\n  @media (min-width: 769px) {\n  .layout-centered-aligned[_ngcontent-%COMP%]   .img-wrapper[_ngcontent-%COMP%] {\n    padding-right: 88px; }\n  .breadcrumbContainer[_ngcontent-%COMP%] {\n    display: inline; }\n  div.max-container[_ngcontent-%COMP%] {\n    max-width: 930px;\n    margin-top: 80px; }\n  .promotion-details[_ngcontent-%COMP%] {\n    background-color: white;\n    color: #855f5f;\n    border: 16px solid #e3e3e3; } }"]}),e})(),wi=(()=>{class e{constructor(e,t){this.promotionsService=e,this.contentNotFoundHandler=t}resolve(e){let t=e.params.slug;return this.promotionsService.getPromotion(t).pipe((0,c.catchError)((e=>this.contentNotFoundHandler.resolveContentNotFoundOrThrow(e))))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](vi),i["ɵɵinject"](tn.B))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Ei=n(46333),Ti=n(36873),Pi=n(75468);let Ai=(()=>{class e{static withComponents(t=[]){return{ngModule:e,providers:[{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,useValue:t,multi:!0}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e,bootstrap:[ai]}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[ri,jn.I],imports:[[Ei.d,Ti.U8,Ot.$Q,o.RouterModule,kn.w,r.CommonModule,Pn.o,Pi.$,Mn.m]]}),e})(),_i=(()=>{class e{constructor(e,t,n){this.componentFactoryResolver=e,this.viewContainerRef=t,this.promotionCardConfig=n,this.imageType=dn.large}ngOnInit(){const e=this.promotionCardConfig.component||ai,t=this.componentFactoryResolver.resolveComponentFactory(e),n=this.viewContainerRef.createComponent(t).instance;n.promotionClass=this.promotionClass,n.promotion=this.promotion,n.defaultImage=this.defaultImage,n.imageType=this.imageType,n.element=this.element}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ComponentFactoryResolver),i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](ri))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-promotion-card"]],hostVars:1,hostBindings:function(e,t){2&e&&i["ɵɵattribute"]("class",t.promotionClass)},inputs:{promotion:"promotion",defaultImage:"defaultImage",imageType:"imageType",element:"element"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();function Mi(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",2),i["ɵɵtext"](1,"\n            "),i["ɵɵelementStart"](2,"div",4),i["ɵɵtext"](3,"\n                "),i["ɵɵelementStart"](4,"h2",5),i["ɵɵtext"](5),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n        "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵattribute"]("data-notIn-subdivisions",e.notInSubdivisionList),i["ɵɵadvance"](5),i["ɵɵtextInterpolate"](e.data.title)}}function Oi(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div",6),i["ɵɵtext"](1,"\n            "),i["ɵɵelementStart"](2,"bx-secondary-menu",7),i["ɵɵlistener"]("tabSelected",(function(t){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().tabSelected(t)})),i["ɵɵtext"](3,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n        "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵattribute"]("data-notIn-subdivisions",e.notInSubdivisionList),i["ɵɵadvance"](2),i["ɵɵproperty"]("tabs",e.menuTabs)}}function ki(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",8),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"bx-promotion-card",9),i["ɵɵtext"](3,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=t.$implicit,n=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("promotion",e)("element",n.scrollTarget)}}let ji=class{constructor(e,t,n,i,r){this.windowService=e,this.platformId=t,this.router=n,this.promotionDetailsCopperheadConfig=i,this.trackingService=r,this.data={},this.menuTabs=[],this.menuCardList={},this.cardList=[],this.notInSubdivisionList=null}ngOnInit(){(0,r.isPlatformBrowser)(this.platformId)&&(this.scrollTarget=this.windowService.window()),this.data.items&&(this.data.items.forEach((e=>{if(e.contentType===K.z.MENU&&e.fields)this.menuTabs.push({active:!1,title:e.fields.title,slug:e.fields.slug}),e.fields.items&&(this.menuCardList[e.fields.slug]=[],e.fields.items.forEach((t=>{if(t.fields){const n=t.fields.default_card_image||t.fields.card_image;this.menuCardList[e.fields.slug].push({slug:t.fields.slug,title:t.fields.menuItemLabel||t.fields.title,image:n?n.url:null,imageAltText:n?n.alt:null,draft:"draft"===t.status,tracking:this.trackingService.getTrackingData(t,e.fields,"menu"),notInFilter:pn.H.map(t.fields.filter)})}})));else if(e.contentType===K.z.CONTENT_PAGE&&e.fields&&(0===Object.keys(this.menuCardList).length&&(this.menuCardList[this.data.slug]=[]),this.menuCardList[this.data.slug])){const t=e.fields.default_card_image||e.fields.card_image;this.menuCardList[this.data.slug].push({slug:e.fields.slug,title:e.fields.menuItemLabel||e.fields.title,image:t?t.url:null,imageAltText:t?t.alt:null,draft:"draft"===e.status,tracking:this.trackingService.getTrackingData(e),notInFilter:pn.H.map(e.fields.filter)})}})),this.menuTabs.length>0?(this.menuTabs[0].active=!0,this.tabSelected(this.menuTabs[0])):this.menuCardList[this.data.slug]&&(this.cardList=this.menuCardList[this.data.slug]),this.routerObservable=this.router.events,this.routerSubscription=this.routerObservable.subscribe((e=>{(e instanceof o.NavigationEnd||e instanceof o.ResolveEnd)&&window.scrollTo(0,0)})));const e=pn.H.map(this.data&&this.data.filter);this.notInSubdivisionList=pn.H.getNotInSubdivisionList(e)}ngOnDestroy(){this.routerSubscription.unsubscribe()}tabSelected(e){e&&(this.cardList=this.menuCardList[e.slug])}};ji.ɵfac=function(e){return new(e||ji)(i["ɵɵdirectiveInject"](ee.u),i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](ui),i["ɵɵdirectiveInject"](yn.e))},ji.ɵcmp=i["ɵɵdefineComponent"]({type:ji,selectors:[["bx-promotions-ch"]],inputs:{data:"data"},decls:10,vars:4,consts:[["class","max-container promotion-container","bxHideBySubdivision","",4,"ngIf"],["class","max-container","bxHideBySubdivision","",4,"ngIf"],["bxHideBySubdivision","",1,"max-container","promotion-container"],["class","promotion-container-item",4,"ngFor","ngForOf"],[1,"max-container","promotions-title"],["role","heading",1,"h3-heading"],["bxHideBySubdivision","",1,"max-container"],[3,"tabs","tabSelected"],[1,"promotion-container-item"],[3,"promotion","element"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,Mi,8,2,"div",0),i["ɵɵtext"](2,"\n        "),i["ɵɵtemplate"](3,Oi,5,2,"div",1),i["ɵɵtext"](4,"\n        "),i["ɵɵelementStart"](5,"div",2),i["ɵɵtext"](6,"\n            "),i["ɵɵtemplate"](7,ki,5,2,"div",3),i["ɵɵtext"](8,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",0==t.menuTabs.length||t.promotionDetailsCopperheadConfig.showBothMenuTitle),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.menuTabs.length>0),i["ɵɵadvance"](2),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",t.cardList))},directives:[r.NgIf,hn.e,r.NgForOf,xn,_i],styles:[".promotion-container[_ngcontent-%COMP%] {\n  margin-top: 32px;\n  display: flex;\n  width: 100%;\n  flex-wrap: wrap; }\n\n.promotion-container-item[_ngcontent-%COMP%] {\n  width: 16.666667%;\n  padding-right: 2px; }\n\n@media (max-width: 768px) {\n  .promotion-container-item[_ngcontent-%COMP%] {\n    width: 50%;\n    padding-right: 2px; } }\n\n.promotion-container-item[_ngcontent-%COMP%]:last-child {\n  padding-right: 0; }\n\n.promotion-card-wrapper[_ngcontent-%COMP%] {\n  width: 100%; }"]}),ji=(0,a.__decorate)([(0,q.DE)({name:"Promotions",matcher:e=>e.contentType===K.z.MENU&&e.fields.tags&&e.fields.tags.split(",").indexOf(bn.d.PROMOTIONS_MENU)>=0}),(0,a.__metadata)("design:paramtypes",[ee.u,Object,o.Router,ui,yn.e])],ji);var Ni=n(84704),Di=n(70025),Li=n(42680),Ri=n(80112),Fi=n(27218);let Bi=class extends Di.Xe{constructor(e,t){super(e,t),this.urlPrefixService=e,this.gameUrlService=t}matcher(e){let t=Xn(["fields","page_type"],e);return e.contentType===K.z.CONTENT_PAGE&&t===Wn.G.PROMOTION}createLink(e){let t=e.slugname||e.slug||Xn(["fields","slug"],e),n=Xn(["fields","uriSuffix"],e)||t;return n?`/promotions/${n}`:""}};Bi.ɵfac=function(e){return new(e||Bi)(i["ɵɵinject"](Ri.z),i["ɵɵinject"](Fi.X))},Bi.ɵprov=i["ɵɵdefineInjectable"]({token:Bi,factory:Bi.ɵfac}),Bi=(0,a.__decorate)([(0,Di.ST)(),(0,a.__metadata)("design:paramtypes",[Ri.z,Fi.X])],Bi);let Ui=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e,bootstrap:[ji]}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Bi,yn.e],imports:[[Ai.withComponents([ci]),An,o.RouterModule.forChild([]),ze.BrowserModule,Ot.$Q,kn.w,Ni.a,Mn.m]]}),e})();var Hi=n(49697),Vi=n(89138),Gi=n(8062),$i=n(35539),zi=n(76463),Wi=n(67197),qi=n(63850),Ki=n(65812);const Xi=["*"];let Yi=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-footer"]],inputs:{footerData:"footerData"},ngContentSelectors:Xi,decls:8,vars:1,consts:[[1,"footer-links"],[3,"data"]],template:function(e,t){1&e&&(i["ɵɵprojectionDef"](),i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"footer",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelement"](3,"bx-marketing-page",1),i["ɵɵtext"](4,"\n            "),i["ɵɵprojection"](5),i["ɵɵtext"](6,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n    ")),2&e&&(i["ɵɵadvance"](3),i["ɵɵproperty"]("data",t.footerData))},directives:[Li.n],encapsulation:2}),e})();var Ji=n(44960);let Qi=(()=>{class e{constructor(e){this.marketingPageService=e,this.CONTENT_SECTION="footer"}getContent(e){return this.marketingPageService.getMarketingPageBySlug(e,this.CONTENT_SECTION,{filter:"navigation"}).pipe((0,c.first)(),(0,c.catchError)((e=>(0,s.throwError)(e))))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Ji.F))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Zi=n(37355);class er{map(e){return e.contentType?er.mapCmsContent(e):er.mapStaticContent(e)}static mapCmsContent(e){return{title:e.fields.menuItemLabel||e.fields.title,url:Kn.K.mapLinkUrl(e),newTab:"new_tab"===e.fields.linkTarget,notInFilter:pn.H.map(e.fields&&e.fields.filter)}}static mapStaticContent(e){return{title:e.linkText,url:e.linkUrl,newTab:"new_tab"===e.linkTarget}}}class tr extends qn.x{constructor(){super(...arguments),this.menuItemMapper=new er}map(e){let t={footerLinks:[],notInFilter:pn.H.map(e.fields&&e.fields.filter)};for(let n of e.fields.items){let e;e=this.menuItemMapper.map(n),t.footerLinks.push(e)}return{content:t}}}let nr=(()=>{class e{}return e.DEFAULT={},e})();function ir(e,t){1&e&&(i["ɵɵelementContainerStart"](0),i["ɵɵtext"](1,"\n                    "),i["ɵɵelementContainerEnd"]())}function rr(e,t){if(1&e&&(i["ɵɵtext"](0,"\n                        "),i["ɵɵelementStart"](1,"a",7),i["ɵɵtext"](2),i["ɵɵelementEnd"](),i["ɵɵtext"](3,"\n                    ")),2&e){const e=i["ɵɵnextContext"]().$implicit;i["ɵɵadvance"](1),i["ɵɵpropertyInterpolate"]("target",e.newTab?"_blank":"_self"),i["ɵɵpropertyInterpolate"]("title",e.title),i["ɵɵattribute"]("href",e.url,i["ɵɵsanitizeUrl"])("data-notIn-subdivisions",e.notInSubdivisionList),i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.title)}}function or(e,t){if(1&e&&(i["ɵɵtext"](0,"\n                        "),i["ɵɵelementStart"](1,"a",8),i["ɵɵtext"](2),i["ɵɵelementEnd"](),i["ɵɵtext"](3,"\n                    ")),2&e){const e=i["ɵɵnextContext"]().$implicit;i["ɵɵadvance"](1),i["ɵɵpropertyInterpolate"]("target",e.newTab?"_blank":"_self"),i["ɵɵpropertyInterpolate"]("title",e.title),i["ɵɵproperty"]("routerLink",e.url),i["ɵɵattribute"]("data-notIn-subdivisions",e.notInSubdivisionList),i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](e.title)}}function ar(e,t){if(1&e&&(i["ɵɵelementStart"](0,"li",3),i["ɵɵtext"](1,"\n                    "),i["ɵɵtemplate"](2,ir,2,0,"ng-container",4),i["ɵɵtext"](3,"\n                    "),i["ɵɵtemplate"](4,rr,4,5,"ng-template",null,5,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](6,"\n                    "),i["ɵɵtemplate"](7,or,4,5,"ng-template",null,6,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](9,"\n                "),i["ɵɵelementEnd"]()),2&e){const e=t.$implicit,n=i["ɵɵreference"](5),r=i["ɵɵreference"](8);i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.url.startsWith("http"))("ngIfThen",n)("ngIfElse",r)}}let sr=class{constructor(e){this.injector=e}ngOnInit(){if(this.footerConfig=this.injector.get(nr,nr.DEFAULT),this.content.notInFilter&&(this.notInSubdivisionList=pn.H.getNotInSubdivisionList(this.content.notInFilter)),this.content.footerLinks)for(let e of this.content.footerLinks)e.url=this.multilingualDirective.translateUrl(e.url),e.notInSubdivisionList=pn.H.getNotInSubdivisionList(e.notInFilter)}};sr.ɵfac=function(e){return new(e||sr)(i["ɵɵdirectiveInject"](i.Injector))},sr.ɵcmp=i["ɵɵdefineComponent"]({type:sr,selectors:[["bx-footer-menu"]],viewQuery:function(e,t){if(1&e&&i["ɵɵviewQuery"](Zi.l,7),2&e){let e;i["ɵɵqueryRefresh"](e=i["ɵɵloadQuery"]())&&(t.multilingualDirective=e.first)}},inputs:{content:"content"},decls:9,vars:3,consts:[["bxTranslatePath","","bxHideBySubdivision","",1,"hide-scroll"],["role","list",1,"custom-tab","max-container",3,"ngClass"],["role","link",4,"ngFor","ngForOf"],["role","link"],[4,"ngIf","ngIfThen","ngIfElse"],["externalLink",""],["internalLink",""],["rel","noopener","bxHideBySubdivision","",3,"target","title"],["bxHideBySubdivision","",3,"target","title","routerLink"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"ul",1),i["ɵɵtext"](4,"\n                "),i["ɵɵtemplate"](5,ar,10,3,"li",2),i["ɵɵtext"](6,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngClass",(null==t.footerConfig||null==t.footerConfig.menu?null:t.footerConfig.menu.class)||"primary"),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",null==t.content?null:t.content.footerLinks))},directives:[Zi.l,hn.e,r.NgClass,r.NgForOf,r.NgIf,o.RouterLinkWithHref],encapsulation:2}),sr=(0,a.__decorate)([(0,q.DE)({name:"FooterMenu",mapper:tr,matcher:e=>e.contentType===K.z.MENU&&e.fields.tags&&e.fields.tags.split(",").indexOf(bn.d.FOOTER_MENU)>=0}),(0,a.__metadata)("design:paramtypes",[i.Injector])],sr);var cr=n(72688);let lr=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Qi],imports:[[r.CommonModule,Ot.$Q,o.RouterModule,W.J.withComponents([Yi,sr]),Wi.k.withComponents([Yi,sr]),o.RouterModule.forChild([]),cr.l,Mn.m]]}),e})();var dr=n(53664),ur=n(50536),pr=n(68698),hr=n(57685),mr=n(76771);let fr=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[mr.F],imports:[[r.CommonModule,ur.j,pr.T,Ni.a,hr.z.forBrowser()]]}),e})();var gr=n(27616),vr=n(35767),br=n(43601),yr=n(39926),Sr=n(75330),Cr=n(30173),xr=n(84860);class Ir{constructor(e,t,n,i,r,o){this.analyticsService=e,this.router=t,this.gameUrlService=n,this.siteConfigService=i,this.deviceService=r,this._list=o}highlightedText(){if(!this._list)return"";const e=new RegExp(`(${this._list.dataSource.filter})`,"i");return this.data.name.replace(e,"<span class='super-class'>$1</span>")}navigateTo(e,t){this.deviceService.isMobile()&&this.hasCasinoSearchBarOpenGameFeature()?this.router.navigate(this.gameUrlService.getPathList(this.data.category,this.data.slug,this.data.subCategory),{queryParams:{quickPlay:!0}}):this.router.navigate(this.gameUrlService.getPathList(this.data.category,this.data.slug,this.data.subCategory))}hasCasinoSearchBarOpenGameFeature(){return this.siteConfigService.isFeaturePresent(xr.L.casinoSearchBarOpenGame)}}Ir.ɵfac=function(e){return new(e||Ir)(i["ɵɵdirectiveInject"](re.y),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](Fi.X),i["ɵɵdirectiveInject"](V.r),i["ɵɵdirectiveInject"](Cr.U),i["ɵɵdirectiveInject"](br.V,8))},Ir.ɵcmp=i["ɵɵdefineComponent"]({type:Ir,selectors:[["bx-casino-search-list-item"]],inputs:{data:"data"},decls:19,vars:3,consts:[["role","listitem",1,"search-result",3,"click"],[1,"info-area"],[1,"thumb-container","game-thumbnail","img-xxsmall"],["alt","Placeholder image","src","/assets/images/thumbnail.png",1,"img-placeholder","img-responsive"],["bxImage","",1,"img-responsive","img-game",3,"src"],[1,"game-info"],["role","heading",3,"innerHTML"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n    "),i["ɵɵelementStart"](1,"li",0),i["ɵɵlistener"]("click",(function(){return t.navigateTo(t.data.name,t.data.id)})),i["ɵɵtext"](2,"\n        "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n            "),i["ɵɵelementStart"](5,"figure",2),i["ɵɵtext"](6,"\n                "),i["ɵɵelement"](7,"img",3),i["ɵɵtext"](8,"\n                "),i["ɵɵelement"](9,"img",4),i["ɵɵtext"](10,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n            "),i["ɵɵelementStart"](12,"header",5),i["ɵɵtext"](13,"\n                "),i["ɵɵelement"](14,"h3",6),i["ɵɵtext"](15,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n    "),i["ɵɵelementEnd"](),i["ɵɵtext"](18,"\n    ")),2&e&&(i["ɵɵadvance"](9),i["ɵɵproperty"]("src",t.data.cardImage,i["ɵɵsanitizeUrl"]),i["ɵɵattribute"]("alt",t.data.name),i["ɵɵadvance"](5),i["ɵɵproperty"]("innerHTML",t.highlightedText(),i["ɵɵsanitizeHtml"]))},directives:[Ft.t],encapsulation:2}),(0,a.__decorate)([(0,Sr.ob)("casino_search_result_clicked",!1,(function(e,t){return{33:JSON.stringify({name:e,game:t})}})),(0,a.__metadata)("design:type",Function),(0,a.__metadata)("design:paramtypes",[String,Number]),(0,a.__metadata)("design:returntype",void 0)],Ir.prototype,"navigateTo",null);var wr=n(42890);class Er extends $n.w{}var Tr=n(71844);class Pr extends $n.w{}let Ar=(()=>{class e{constructor(){this.createCardboard=e=>{let t=new Pr;if(t.image=e.fields.image.url,t.alt=e.fields.image.alt,t.text=e.fields.content,t.text_color=e.fields.text_color,e.fields.link_url){const n=this.getLink(e.fields.link_url);t.link={url:n,target:e.fields.link_target,isExternal:n.startsWith("http")}}if(e.fields.internal_name&&(t.name=e.fields.internal_name),t.tracking={},e.fields.isABTestingEnabled){const n={study:e.fields.testTitle,sample:e.fields.version};Object.assign(t.tracking,{abtStudy:n})}let n=[];return e.fields.marketingAudiences&&e.fields.marketingAudiences.length&&e.fields.marketingAudiences.map((e=>{let t={audienceName:e.name,audienceCode:e.code};n.push(t)})),Object.assign(t.tracking,{audiences:n}),e.fields.filter&&(t.notInFilter=pn.H.map(e.fields.filter||{})),e.contentType&&Object.assign(t.tracking,{componentType:e.contentType}),e.fields.internal_name&&Object.assign(t.tracking,{componentInternalName:e.fields.internal_name}),e.parentInternalName&&Object.assign(t.tracking,{parentInternalName:e.parentInternalName}),e.parentType&&Object.assign(t.tracking,{parentType:e.parentType}),t}}getLink(e){return e.linkUrl?e.linkUrl:Kn.K.mapLinkUrl(e)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var _r=n(88391),Mr=n(54056),Or=n(96940);function kr(e,t){if(1&e&&(i["ɵɵtext"](0,"\n            "),i["ɵɵelementStart"](1,"figure",5),i["ɵɵtext"](2,"\n                "),i["ɵɵelement"](3,"img",6),i["ɵɵtext"](4,"\n                "),i["ɵɵelement"](5,"img",7),i["ɵɵtext"](6,"\n                "),i["ɵɵelementStart"](7,"figcaption",8),i["ɵɵpipe"](8,"bxTrustyHtml"),i["ɵɵtext"](9,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n        ")),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](3),i["ɵɵproperty"]("src",e.thumbnailImage,i["ɵɵsanitizeUrl"]),i["ɵɵattribute"]("alt",e.thumbnailAlt),i["ɵɵadvance"](2),i["ɵɵproperty"]("src",e.cardProps.image,i["ɵɵsanitizeUrl"]),i["ɵɵattribute"]("alt",e.cardProps.alt),i["ɵɵadvance"](2),i["ɵɵstyleProp"]("color",e.cardProps.text_color),i["ɵɵproperty"]("innerHTML",i["ɵɵpipeBind1"](8,7,e.cardProps.text),i["ɵɵsanitizeHtml"])}}function jr(e,t){1&e&&i["ɵɵelementContainer"](0)}function Nr(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵtext"](0,"\n            "),i["ɵɵelementStart"](1,"a",9),i["ɵɵlistener"]("click",(function(t){i["ɵɵrestoreView"](e);const n=i["ɵɵnextContext"]();return n.handleClickOnSlide(t,n.cardProps.name,n.cardProps.tracking)})),i["ɵɵtext"](2,"\n                "),i["ɵɵtemplate"](3,jr,1,0,"ng-container",10),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n        ")}if(2&e){const e=i["ɵɵnextContext"](),t=i["ɵɵreference"](4);i["ɵɵadvance"](1),i["ɵɵproperty"]("routerLink",e.cmsLink.uri)("queryParams",e.cmsLink.queryParams),i["ɵɵattribute"]("alt",e.cardProps.text),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngTemplateOutlet",t)}}function Dr(e,t){1&e&&i["ɵɵelementContainer"](0)}function Lr(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵtext"](0,"\n            "),i["ɵɵelementStart"](1,"a",11),i["ɵɵlistener"]("click",(function(t){i["ɵɵrestoreView"](e);const n=i["ɵɵnextContext"]();return n.handleClickOnSlide(t,n.cardProps.name,n.cardProps.tracking)})),i["ɵɵtext"](2,"\n                "),i["ɵɵtemplate"](3,Dr,1,0,"ng-container",10),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n        ")}if(2&e){const e=i["ɵɵnextContext"](),t=i["ɵɵreference"](4);i["ɵɵadvance"](1),i["ɵɵproperty"]("target",e.cardProps.link.target),i["ɵɵattribute"]("alt",e.cardProps.text)("href",e.cardProps.link.url,i["ɵɵsanitizeUrl"]),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngTemplateOutlet",t)}}function Rr(e,t){1&e&&i["ɵɵelementContainer"](0)}function Fr(e,t){if(1&e&&(i["ɵɵelementContainerStart"](0),i["ɵɵtext"](1,"\n            "),i["ɵɵtemplate"](2,Rr,1,0,"ng-container",12),i["ɵɵtext"](3,"\n        "),i["ɵɵelementContainerEnd"]()),2&e){const e=i["ɵɵnextContext"](),t=i["ɵɵreference"](10),n=i["ɵɵreference"](7);i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.cardProps.link.isExternal)("ngIfThen",t)("ngIfElse",n)}}let Br=(()=>{class e{constructor(e,t,n,i){this.platformId=e,this.cmsExternalLinkService=t,this.clickHandlerService=n,this.windowService=i,this.thumbnailImage="/assets/images/thumbnail.png",this.thumbnailAlt="Placeholder image",this.notInSubdivisionList=null}set card(e){this.cmsLink=e.link?this.cmsExternalLinkService.toCmsExternalLink(e.link.url):{uri:"",queryParams:{}},this.cardProps=e,this.notInSubdivisionList=pn.H.getNotInSubdivisionList(this.cardProps&&this.cardProps.notInFilter)}handleClickOnSlide(e,t,n){this.clickHandlerService.handleClick("card_board",!1,t,-1,n),this.openLink(e)}openLink(e){(0,r.isPlatformBrowser)(this.platformId)&&this.windowService&&"popup"===this.cardProps.link.target&&(e.preventDefault(),e.stopPropagation(),this.windowService.window().open(this.cardProps.link.url,null,"width=1000,height=690"))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](Di.xG),i["ɵɵdirectiveInject"](un.M),i["ɵɵdirectiveInject"](ee.u,8))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-cardboard"]],inputs:{card:"card"},decls:15,vars:3,consts:[["bxHideBySubdivision","",1,"game-thumbnail","img-large"],["cardboard",""],["internalLink",""],["externalLink",""],[4,"ngIf","ngIfElse"],[1,"thumb-container"],[1,"img-placeholder","img-responsive",3,"src"],["bxImage","",1,"img-responsive","img-game",3,"src"],[1,"thumbnail-text",3,"innerHTML"],["role","link",3,"routerLink","queryParams","click"],[4,"ngTemplateOutlet"],["role","link","rel","noopener",3,"target","click"],[4,"ngIf","ngIfThen","ngIfElse"]],template:function(e,t){if(1&e&&(i["ɵɵtext"](0,"\n    "),i["ɵɵelementStart"](1,"article",0),i["ɵɵtext"](2,"\n        "),i["ɵɵtemplate"](3,kr,12,9,"ng-template",null,1,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](5,"\n\n        "),i["ɵɵtemplate"](6,Nr,6,4,"ng-template",null,2,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](8,"\n\n        "),i["ɵɵtemplate"](9,Lr,6,4,"ng-template",null,3,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](11,"\n\n        "),i["ɵɵtemplate"](12,Fr,4,3,"ng-container",4),i["ɵɵtext"](13,"\n    "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n    ")),2&e){const e=i["ɵɵreference"](4);i["ɵɵadvance"](1),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](11),i["ɵɵproperty"]("ngIf",t.cardProps.link)("ngIfElse",e)}},directives:[hn.e,r.NgIf,Ft.t,o.RouterLinkWithHref,r.NgTemplateOutlet],pipes:[Or.d],encapsulation:2}),e})();var Ur=n(60227);const Hr=["cardContainer"];function Vr(e,t){if(1&e&&(i["ɵɵelementStart"](0,"header",11),i["ɵɵtext"](1,"\n            "),i["ɵɵelementStart"](2,"h2",12),i["ɵɵtext"](3),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n        "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](3),i["ɵɵtextInterpolate"](e.title)}}function Gr(e,t){if(1&e&&(i["ɵɵelementStart"](0,"bx-cardboard",13),i["ɵɵtext"](1,"\n                "),i["ɵɵelementEnd"]()),2&e){const e=t.$implicit;i["ɵɵproperty"]("card",e)}}function $r(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",14),i["ɵɵtext"](1,"\n                    "),i["ɵɵelementStart"](2,"bx-slide-card",15),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n                "),i["ɵɵelementEnd"]()),2&e){const e=t.$implicit;i["ɵɵadvance"](2),i["ɵɵproperty"]("title",e.title)("cardText",e.cardText)("cardTextColor",e.cardTextColor)("imageSrc",e.imageSrc)("linkTo",e.linkTo)("target",e.target)("data",e),i["ɵɵattribute"]("data-notIn-subdivisions",e.notInSubdivisionList)}}function zr(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"li",16),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().scrollLeft()})),i["ɵɵtext"](1,"\n                    "),i["ɵɵelementStart"](2,"button",17),i["ɵɵtext"](3,"\n                        "),i["ɵɵelement"](4,"i",18),i["ɵɵtext"](5,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n                "),i["ɵɵelementEnd"]()}}function Wr(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"li",19),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().scrollRight()})),i["ɵɵtext"](1,"\n                    "),i["ɵɵelementStart"](2,"button",20),i["ɵɵtext"](3,"\n                        "),i["ɵɵelement"](4,"i",21),i["ɵɵtext"](5,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n                "),i["ɵɵelementEnd"]()}}let qr=(()=>{class e{constructor(e){this.horizontalScrollService=e,this.scrollRightButtonShown=!0,this.scrollLeftButtonShown=!1,this.cards=[new Pr],this.slideCards=[new Mr.q],this.notInSubdivisionList=null}ngOnInit(){this.title=this.cardSlider.title,this.cards=this.cardSlider.cards,this.slideCards=this.cardSlider.slideCards,this.scrollable=this.cardSlider.scrollable,this.scrollable?this.scrollSubscription=this.horizontalScrollService.getSubject().subscribe((e=>{"left"===e.button?this.scrollLeftButtonShown=e.display:this.scrollRightButtonShown=e.display})):this.scrollRightButtonShown=this.scrollLeftButtonShown=!1,this.notInSubdivisionList=pn.H.getNotInSubdivisionList(this.cardSlider.notInFilter)}ngAfterViewInit(){this.scrollable&&this.horizontalScrollService.initScroll(this.cardContainer)}scrollRight(){this.horizontalScrollService.scrollRight()}scrollLeft(){this.horizontalScrollService.scrollLeft()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](_r.c))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-card-slider"]],viewQuery:function(e,t){if(1&e&&i["ɵɵviewQuery"](Hr,5),2&e){let e;i["ɵɵqueryRefresh"](e=i["ɵɵloadQuery"]())&&(t.cardContainer=e.first)}},inputs:{cardSlider:"cardSlider"},features:[i["ɵɵProvidersFeature"]([_r.c])],decls:27,vars:6,consts:[["bxHideBySubdivision","",1,"carousel","primary"],[1,"component-wrapper","max-container"],["class","component-header",4,"ngIf"],[1,"hide-scroll"],[1,"content-slider","max-height-container"],["cardContainer",""],[3,"card",4,"ngFor","ngForOf"],["class","section-item section-1x1 outertext",4,"ngFor","ngForOf"],[1,"carousel-navigation"],["role","button","class","carousel-navigation-back",3,"click",4,"ngIf"],["role","button","class","carousel-navigation-next",3,"click",4,"ngIf"],[1,"component-header"],[1,"h3-heading","content-title"],[3,"card"],[1,"section-item","section-1x1","outertext"],["bxHideBySubdivision","",3,"title","cardText","cardTextColor","imageSrc","linkTo","target","data"],["role","button",1,"carousel-navigation-back",3,"click"],["aria-label","back",1,"carousel-navigation-btn"],[1,"icon","icon-arrow-back"],["role","button",1,"carousel-navigation-next",3,"click"],["aria-label","next",1,"carousel-navigation-btn"],[1,"icon","icon-arrow-next"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n"),i["ɵɵelementStart"](1,"section",0),i["ɵɵtext"](2,"\n    "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n        "),i["ɵɵtemplate"](5,Vr,5,1,"header",2),i["ɵɵtext"](6,"\n        "),i["ɵɵelementStart"](7,"div",3),i["ɵɵtext"](8,"\n            "),i["ɵɵelementStart"](9,"div",4,5),i["ɵɵtext"](11,"\n                "),i["ɵɵtemplate"](12,Gr,2,1,"bx-cardboard",6),i["ɵɵtext"](13,"\n                "),i["ɵɵtemplate"](14,$r,5,8,"div",7),i["ɵɵtext"](15,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n            "),i["ɵɵelementStart"](17,"ul",8),i["ɵɵtext"](18,"\n                "),i["ɵɵtemplate"](19,zr,7,0,"li",9),i["ɵɵtext"](20,"\n                "),i["ɵɵtemplate"](21,Wr,7,0,"li",10),i["ɵɵtext"](22,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](23,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](24,"\n    "),i["ɵɵelementEnd"](),i["ɵɵtext"](25,"\n"),i["ɵɵelementEnd"](),i["ɵɵtext"](26,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngIf",t.title),i["ɵɵadvance"](7),i["ɵɵproperty"]("ngForOf",t.cards),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",t.slideCards),i["ɵɵadvance"](5),i["ɵɵproperty"]("ngIf",t.scrollLeftButtonShown),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.scrollRightButtonShown))},directives:[hn.e,r.NgIf,r.NgForOf,Br,Ur._],encapsulation:2}),e})(),Kr=class{constructor(){this.data={},this.cardSlider=new Er,this.notInSubdivisionList=null}ngOnInit(){this.data&&this.getMarketingAudiencesData(),this.mapToDataModel(this.data)}ngOnChanges(){this.mapToDataModel(this.data)}mapToDataModel(e={}){this.cardSlider.title=e.title,this.getCards(e),this.cardSlider.scrollable=!0,this.cardSlider.notInFilter=pn.H.map(e.filter),this.notInSubdivisionList=pn.H.getNotInSubdivisionList(this.cardSlider.notInFilter)}getCards(e={}){let t=new Ar;this.cardSlider.cards=(e.items||[]).map(t.createCardboard)}getMarketingAudiencesData(){this.data.items.forEach((e=>{e.marketingAudiences=this.data.marketingAudiences,e.parentInternalName=this.data.internal_name,e.parentType=this.data.contentType}))}};Kr.ɵfac=function(e){return new(e||Kr)},Kr.ɵcmp=i["ɵɵdefineComponent"]({type:Kr,selectors:[["bx-scrollable-section"]],inputs:{data:"data"},features:[i["ɵɵNgOnChangesFeature"]],decls:4,vars:2,consts:[["bxHideBySubdivision","",3,"cardSlider"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"bx-card-slider",0),i["ɵɵtext"](2,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](3,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("cardSlider",t.cardSlider),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList))},directives:[qr,hn.e],encapsulation:2}),Kr=(0,a.__decorate)([(0,q.DE)({name:"Scrollable Section",matcher:e=>{const t=e.fields.tags?e.fields.tags.split(","):[];return e.contentType===K.z.SECTION&&t.indexOf(bn.d.SCROLLABLE)>=0}}),(0,a.__metadata)("design:paramtypes",[])],Kr);let Xr=class extends Kr{constructor(e){super(),this.slideCardCmsMapper=e,this.cardSlider=new Er}getCards(e={}){this.cardSlider.slideCards=(e.items||[]).map(this.slideCardCmsMapper.createSlideCard)}};Xr.ɵfac=function(e){return new(e||Xr)(i["ɵɵdirectiveInject"](Tr.G))},Xr.ɵcmp=i["ɵɵdefineComponent"]({type:Xr,selectors:[["bx-scrollable-slidecard-section"]],features:[i["ɵɵInheritDefinitionFeature"]],decls:4,vars:2,consts:[["bxHideBySubdivision","",3,"cardSlider"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"bx-card-slider",0),i["ɵɵtext"](2,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](3,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("cardSlider",t.cardSlider),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList))},directives:[qr,hn.e],encapsulation:2}),Xr=(0,a.__decorate)([(0,q.DE)({name:"Scrollable Section",matcher:e=>{const t=e.fields.tags?e.fields.tags.split(","):[];return e.contentType===K.z.SECTION&&t.indexOf(bn.d.SCROLLABLE)>=0}}),(0,a.__metadata)("design:paramtypes",[Tr.G])],Xr);var Yr=n(82939),Jr=n(89493),Qr=n(90054);let Zr=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Ar,Di.xG],imports:[[r.CommonModule,o.RouterModule,Gn.D,Ot.$Q,Qr.g.forRoot(),Mn.m]]}),e})(),eo=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[r.CommonModule,o.RouterModule,Jr.E,Zr,Yr.A,Mn.m]]}),e})(),to=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[r.CommonModule,o.RouterModule,Yr.A,eo,W.J.withComponents([Xr]),Mn.m]]}),e})();var no,io=n(55516),ro=n(8239),oo=n(52344),ao=n(90785);let so=no=class{constructor(e,t,n,i,r){this.casinoService=e,this.deviceService=t,this.windowService=n,this.domSanitizer=i,this.platformId=r}ngOnInit(){var e=this;(0,r.isPlatformBrowser)(this.platformId)&&this.casinoService.getGameUrl(no.GAME_ID).subscribe(function(){var t=(0,ro.Z)((function*(t){e.domSanitizer.bypassSecurityTrustResourceUrl(t),e.deviceService.isDesktop()?(yield e.appendWidgetIntegrationScript(t),e.appendLauncherScript(t)):e.windowService.location().replace(t)}));return function(e){return t.apply(this,arguments)}}(),(e=>{if(e.status===no.CURRENCY_NOT_SUPPORTED_ERROR)return this.casinoService.resolveCurrencyNotSupported()}))}appendWidgetIntegrationScript(e){var t=this;return(0,ro.Z)((function*(){const n=new URL(e);return new Promise(((e,i)=>{const r=`${n.protocol}//${n.hostname}/responsive/js/widgetIntegration.nocache.js`,o=t.windowService.document().createElement("script");o.setAttribute("async",""),o.setAttribute("src",r),o.onload=e,o.onerror=i,t.windowService.document().getElementsByTagName("head")[0].appendChild(o)}))}))()}appendLauncherScript(e){const t=this.windowService.document().createElement("script");t.innerHTML=`widgetAdapter.registerVirtualSports(document.getElementById('globalbet'), '${e}')`,this.windowService.document().getElementsByTagName("head")[0].appendChild(t)}};so.GAME_ID=1331,so.CURRENCY_NOT_SUPPORTED_ERROR=412,so.ɵfac=function(e){return new(e||so)(i["ɵɵdirectiveInject"](ao.nA),i["ɵɵdirectiveInject"](Cr.U),i["ɵɵdirectiveInject"](ee.u),i["ɵɵdirectiveInject"](ze.DomSanitizer),i["ɵɵdirectiveInject"](i.PLATFORM_ID))},so.ɵcmp=i["ɵɵdefineComponent"]({type:so,selectors:[["bx-virtual-sports"]],decls:6,vars:0,consts:[["data-dynamic-element","dynamicElement",1,"max-container"],["id","globalbet"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelement"](3,"div",1),i["ɵɵtext"](4,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n    "))},styles:["#globalbet[_ngcontent-%COMP%]   iframe[_ngcontent-%COMP%] {\n  min-height: 600px;\n  width: 100%; }"]}),so=no=(0,a.__decorate)([(0,q.DE)({name:"CasinoVirtualSports",matcher:e=>e.contentType===K.z.FUNCTIONAL&&(0,oo.ge)(e,bn.d.VIRTUALSPORTS)}),(0,a.__metadata)("design:paramtypes",[ao.nA,Cr.U,ee.u,ze.DomSanitizer,Object])],so);let co=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e,bootstrap:[so]}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})();var lo=n(48119);let uo=class extends Di.Xe{constructor(e,t){super(e,t),this.urlPrefixService=e,this.gameUrlService=t}matcher(e){let t=Xn(["fields","page_type"],e);return e.contentType===K.z.CONTENT_PAGE&&t===Wn.G.ARTICLE}createLink(e){let t=e.slugname||e.slug||Xn(["fields","slug"],e),n=Xn(["fields","uriSuffix"],e)||t;return n?`/articles/${n}`:""}};uo.ɵfac=function(e){return new(e||uo)(i["ɵɵinject"](Ri.z),i["ɵɵinject"](Fi.X))},uo.ɵprov=i["ɵɵdefineInjectable"]({token:uo,factory:uo.ɵfac}),uo=(0,a.__decorate)([(0,Di.ST)(),(0,a.__metadata)("design:paramtypes",[Ri.z,Fi.X])],uo);let po=class extends Di.Xe{constructor(e,t){super(e,t),this.urlPrefixService=e,this.gameUrlService=t,this.GENERIC_PAGE_BASE_ROUTE="pages"}matcher(e){let t=Xn(["fields","page_type"],e);return e.contentType===K.z.CONTENT_PAGE&&t===Wn.G.GENERIC}createLink(e){let t=e.slugname||e.slug||Xn(["fields","slug"],e),n=Xn(["fields","uriSuffix"],e)||t;return n?`/${this.GENERIC_PAGE_BASE_ROUTE}/${n}`:""}};po.ɵfac=function(e){return new(e||po)(i["ɵɵinject"](Ri.z),i["ɵɵinject"](Fi.X))},po.ɵprov=i["ɵɵdefineInjectable"]({token:po,factory:po.ɵfac}),po=(0,a.__decorate)([(0,Di.ST)(),(0,a.__metadata)("design:paramtypes",[Ri.z,Fi.X])],po);var ho=n(40556);let mo=class extends Di.Xe{constructor(e,t){super(e,t),this.urlPrefixService=e,this.gameUrlService=t,this.HELP_PAGE_BASE_ROUTE="help"}matcher(e){const t=Xn(["fields","page_type"],e);return e.contentType===K.z.CONTENT_PAGE&&t===Wn.G.HELP}createLink(e){const t=e.slugname||e.slug||Xn(["fields","slug"],e),n=Xn(["fields","uriSuffix"],e)||t;if(n){const t=new ho.Z({uriSuffix:n,paths:e.paths}).paths[0];return`/${this.HELP_PAGE_BASE_ROUTE}/${t}`}return""}};mo.ɵfac=function(e){return new(e||mo)(i["ɵɵinject"](Ri.z),i["ɵɵinject"](Fi.X))},mo.ɵprov=i["ɵɵdefineInjectable"]({token:mo,factory:mo.ɵfac}),mo=(0,a.__decorate)([(0,Di.ST)(),(0,a.__metadata)("design:paramtypes",[Ri.z,Fi.X])],mo);var fo=n(96199),go=n(41306),vo=n(91549),bo=n(11198),yo=n(93758),So=n(58548),Co=n(15287),xo=n(4060);let Io=(()=>{class e{static forRoot(){return{ngModule:e,providers:[yo.S,So.s,{provide:Co.OJ,useExisting:So.s}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[],imports:[[xo.P]]}),e})();var wo=n(94410),Eo=n(5752),To=n(90331),Po=n(46890),Ao=n(50371),_o=n(33087);let Mo=(()=>{class e{constructor(e,t){this.reactiveComponentLoader=e,this.injector=t,this.extendLibraryFunctionality(this.injector)}getService(e,t){return this.reactiveComponentLoader.getServiceRecipe({moduleId:e,service:t})}getComponent(e){return this.reactiveComponentLoader.getComponentRecipe(e)}extendLibraryFunctionality(e){k.prototype._tryGetServiceType=(e,t)=>{if(e._def){let n=Array.from(e._def.providers).find((e=>e.value&&t===e.value.serviceId));if(!n||!n.value)throw`Service with name '${t}', not found in Module`;return n.value}{const n=Array.from(e.instance.constructor["ɵinj"].providers).find((e=>e.serviceId===t));if(!n)throw`Service with name '${t}', not found in Module`;return n}},k.prototype.getServiceRecipe=function(t){const n=this;return null==t?(0,s.of)(null):(0,s.defer)((function(){return(0,a.__awaiter)(n,void 0,void 0,(function(){let n,i,r,o,s,c;return(0,a.__generator)(this,(function(a){switch(a.label){case 0:return n=t.moduleId,i=t.service,r=this._findModuleInfo(n),[4,this._getModuleFactory(r)];case 1:return o=a.sent(),s=o.create(this._injector),c=this._tryGetServiceType(s,i),[2,{serviceType:c,ngModuleFactory:o,injector:c.ngInjectableDef&&"root"===c.ngInjectableDef.providedIn?e:s.injector}]}}))}))}))}}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](k),i["ɵɵinject"](i.Injector))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})(),Oo=(()=>{class e{constructor(e){this.libExtended=e}getService(e,t){return this.libExtended.getService(e,t).pipe((0,c.map)((e=>e.injector.get(e.serviceType)))).pipe((0,c.catchError)((e=>{throw e})))}getComponent(e){return this.libExtended.getComponent(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Mo))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const ko=()=>{};let jo=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.lazyLoaderService=t}init(){this.isApmRumEnabled()&&this.lazyLoaderService.getService("EUMModule","EUMService").toPromise().then(ko)}isApmRumEnabled(){return this.siteConfigService.isFeaturePresent(xr.L.apmRum)&&!!this.siteConfigService.getSiteConfig().apmUri}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](Oo))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),No=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Oo],imports:[[]]}),e})(),Do=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[jo],imports:[[No,L.withModule({moduleId:"EUMModule",loadChildren:()=>Promise.all([n.e(9883),n.e(2793)]).then(n.bind(n,62793)).then((e=>e.EUMModule))})]]}),e})();var Lo=n(86333);let Ro=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.windowService=t}init(){this.injectScript()}injectScript(){const{id:e,enabled:t}=this.siteConfigService.getSiteConfigProp("hotjar"),n=this.siteConfigService.isFeaturePresent(xr.L.hotjarDefer);return!!t&&(n&&this.windowService.getIsPlatformBrowser()&&"complete"!==this.windowService.getDocumentReadyState()?(this.windowService.addEventListener("load",(()=>{this.windowService.injectScriptCode(this.generateScript(e))}),{once:!0}),!1):this.windowService.injectScriptCode(this.generateScript(e)))}generateScript(e){return"(function(h,o,t,j,a,r){h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)};h._hjSettings={hjid:%hotjar_id%,hjsv:6};a=o.getElementsByTagName('head')[0];r=o.createElement('script');r.async=1;r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv;a.appendChild(r);})(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv=');".replace("%hotjar_id%",e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](ee.u))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Fo=n(64375),Bo=n(72556),Uo=n(24144);let Ho=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.windowService=t}init(){this.injectScript()}injectScript(){const{id:e,enabled:t}=this.siteConfigService.getSiteConfigProp("googleAnalytics");return!!t&&this.windowService.injectScriptCode(this.generateScript(e))}generateScript(e){return`(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');ga('create', '${e}', 'auto');ga('send', 'pageview');`}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](ee.u))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const Vo={height:"0",width:"0",display:"none",visibility:"hidden"};let Go=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.windowService=t}init(){this.injectScript()}injectScript(){const e=this.siteConfigService.getSiteConfigProp("googleTagManagerContainerId");e&&""!==e&&(this.windowService.injectScriptCode(this.generateHeaderScript(e)),this.windowService.injectIframe(`https://www.googletagmanager.com/ns.html?id=${e}`,Vo))}generateHeaderScript(e){return`(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','${e}');`}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](ee.u))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),$o=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.cookieStorageService=t}isPWAEnable(){return this.isPWAFeatureEnable()||this.isPWACookieEnable()}areServiceWorkersSupported(e){return"serviceWorker"in e}isPWAFeatureEnable(){return this.siteConfigService.isFeaturePresent(xr.L.pwa)}isPWACookieEnable(){return!!this.cookieStorageService.get(xr.L.pwa)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](he.G))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),zo=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.languageService=t,this.fileName="sw.min.js",this.defaultBucket="default"}calculateURL(){var e=this;return(0,ro.Z)((function*(){const t=yield e.getEffectiveLanguage(),n=e.getBucket();return e.composeServiceWorkerURL(t,n)}))()}getEffectiveLanguage(){var e=this;return(0,ro.Z)((function*(){const t=yield e.getCurrentLanguage();return e.siteConfigService.getSiteConfigProp("defaultLanguage")===t?"":t}))()}getBucket(){return this.siteConfigService.getSiteConfigProp("bucket")||this.defaultBucket}getCurrentLanguage(){var e=this;return(0,ro.Z)((function*(){return e.languageService.getLanguage().pipe((0,c.take)(1)).toPromise()}))()}composeServiceWorkerURL(e,t){return`/${this.fileName}?language=${encodeURIComponent(e)}&bucket=${encodeURIComponent(t)}`}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](ke.T))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Wo=(()=>{class e{constructor(e,t,n){this.globalRef=e,this.pwaAvailability=t,this.urlCalculatorService=n}init(){var e=this;return(0,ro.Z)((function*(){if(e.pwaAvailability.isPWAEnable()){const t=e.getNavigator();e.pwaAvailability.areServiceWorkersSupported(t)&&(yield e.installServiceWorker(t))}}))()}getNavigator(){return this.globalRef.nativeGlobal.navigator}installServiceWorker(e){var t=this;return(0,ro.Z)((function*(){const n=yield t.urlCalculatorService.calculateURL();yield e.serviceWorker.register(n,{updateViaCache:"none"})}))()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Ao.w),i["ɵɵinject"]($o),i["ɵɵinject"](zo))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),qo=(()=>{class e{constructor(e,t,n,i,r,o,a,s){this.eumServiceLoader=e,this.hotjarInjectorService=t,this.googleAnalyticsInjectorService=n,this.googleTagManagerInjectorService=i,this.reCaptchaInjectorService=r,this.pageEventsService=o,this.reactiveChatService=a,this.serviceWorkerRegistrator=s}init(){(0,s.combineLatest)([this.pageEventsService.getEvents(1),this.pageEventsService.getEvents(0)]).pipe((0,c.take)(1)).subscribe((()=>{setTimeout((()=>{this.hotjarInjectorService.init(),this.googleAnalyticsInjectorService.init(),this.googleTagManagerInjectorService.init(),this.eumServiceLoader.init(),this.reactiveChatService.init(),this.serviceWorkerRegistrator.init(),this.reCaptchaInjectorService.init()}),100)}))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](jo),i["ɵɵinject"](Ro),i["ɵɵinject"](Ho),i["ɵɵinject"](Go),i["ɵɵinject"](Fo.F),i["ɵɵinject"](Bo.z),i["ɵɵinject"](Uo.R),i["ɵɵinject"](Wo))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Ko=n(93744);let Xo=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Ko.V]}),e})();var Yo=n(22311),Jo=n(10560),Qo=n(54075);let Zo=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Fo.F,Jo.h,Yo.Y,Qo.l]}),e})(),ea=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Ro,Ho,Go,Wo,$o,zo,qo],imports:[[Do,Lo.M,Xo,Zo,hr.z.forBrowser()]]}),e})();var ta=n(81736),na=n(83521),ia=n(41931);let ra=(()=>{class e{static forRoot(){return{ngModule:e,providers:[ia.w]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})();var oa=n(77472),aa=n(5875);class sa{constructor(e,t,n){this.type=e,this.name=t,this.url=n}}var ca=(()=>(function(e){e.PLACE="Place",e.POSTAL_ADDRESS="PostalAddress",e.SPORTS_EVENT="SportsEvent",e.BREADCRUMB_LIST="BreadcrumbList"}(ca||(ca={})),ca))();class la{constructor(e,t){this.id=e,this.name=t}toString(){return`{ "@id": "${this.id}", "name": "${this.name}" }`}}class da{constructor(e){this.position=e}setItem(e){e&&(this.item=new la(e.id,e.name))}toString(){return`{ "@type": "ListItem", "position": ${this.position},\n            "item": ${this.item?this.item.toString():{}} }`}}class ua extends sa{constructor(){super(ca.BREADCRUMB_LIST),this.itemListElement=[]}setItemListElement(e){e.forEach(((e,t)=>{this.itemListElement[t]=new da(e.position),this.itemListElement[t].setItem(e.item)}))}toString(){return`{ "@context": "http://schema.org", "@type": "${this.type}",\n            "itemListElement": [ ${this.itemListElement.toString()} ] }`}}var pa=n(16071);class ha extends sa{constructor(){super(ca.POSTAL_ADDRESS)}toString(){return`{"@type": "${this.type}"}`}}class ma extends sa{constructor(e){super(ca.PLACE,e)}setAddress(){this.address=new ha}toString(){return`{"@type": "${this.type}", "name": "${this.name}",\n        "address": ${this.address?this.address.toString():{}} }`}}class fa extends sa{constructor(e,t,n){super(ca.SPORTS_EVENT,e,t),this.startDate=n}setLocation(e){e&&(this.location=new ma(e),this.location.setAddress())}toString(){return`{ "@context": "http://schema.org", "@type": "${this.type}", "name": "${this.name}",\n        "url": "${this.url}", "startDate": "${this.startDate}",\n        "location": ${this.location?this.location.toString():{}} }`}}let ga=(()=>{class e{constructor(e,t,n,i){this.windowService=e,this.bxDatePipe=t,this.languageCookieSupplier=n,this.siteConfigService=i,this.defaultToEmptyString=pa(""),this.sportEventsReady=new s.Subject}setEventsProvider(e){this.eventsProvider=e}getSportsEventsReady(){return this.eventsProvider&&(0,se.U5)((()=>this.eventsProvider.data),(e=>{this.initSportsEvents(e)})),this.sportEventsReady}initSportsEvents(e){this.eventSportsList=this.sportsSnippetMapper(e),this.sportEventsReady.next(this.eventSportsList)}sportsSnippetMapper(e){this.domain=this.calculateDomain();let t=[];return e&&e.length>0&&e.forEach((e=>{t=t.concat(this.sportsNonGroupedSnippetsListBuilder(e))})),t}sportsNonGroupedSnippetsListBuilder(e){let t=[];if(e.path&&e.events){const n=e.path.filter((e=>1==e.leaf))[0].description;e.events.forEach((e=>{e&&t.push(this.sportsEventSnippetInfoBuilder(e,n))}))}return t}sportsEventSnippetInfoBuilder(e,t){const n=new fa;return n.name=this.defaultToEmptyString(e.description),n.url=e.link?`${this.domain}${e.link}`:"",n.startDate=this.getStartTime(e),n.setLocation(t),n}getStartTime(e){return this.bxDatePipe.transform(e.startTime,"YYYY-MM-DDTHH:mm:ssZ")}calculateDomain(){const e=this.siteConfigService.getSiteConfigProp("defaultLanguage"),t=this.languageCookieSupplier.language!==e?`/${this.languageCookieSupplier.language}`:"",{protocol:n,host:i}=this.windowService.location();return`${n}//${i}${t}/sports`}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](ee.u),i["ɵɵinject"](Bt.a),i["ɵɵinject"](aa.g),i["ɵɵinject"](V.r))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),va=(()=>{class e{constructor(e,t,n,i,r,o){this.sportsSnippetsService=e,this.rendererFactory=t,this.languageCookieSupplier=n,this.siteConfigService=i,this.doc=r,this.platformId=o,this.renderer=this.rendererFactory.createRenderer(null,null)}ngOnDestroy(){this.sportsSubscription&&this.sportsSubscription.unsubscribe()}subscribeSportsRichSnippets(){this.sportsSubscription=this.sportsSnippetsService.getSportsEventsReady().subscribe((e=>{this.addSportsEventSnippets(e)}))}addBreadcrumbListRichSnippets(e){const t=this.generateItemListElement(e);if(t.length>0){const e=new ua;e.setItemListElement(t),this.generateRichSnippet(e)}}addSportsEventSnippets(e){e.forEach((e=>{this.generateRichSnippet(e)}))}generateName(e){return e.charAt(0).toUpperCase()+e.slice(1).replace(/-/g," ")}removeQueryParam(e){return e.split(/[?#]/)[0]}getFinalUrl(e){let t=(e=decodeURIComponent(e)).match(/overlay=([^&\?#]+)/i);return t&&(e=`/${t[1]}`),this.removeQueryParam(e)}generateItemListElement(e){if((0,r.isPlatformServer)(this.platformId))return[];let t=[],n="";return(e=this.getFinalUrl(e)).split("/").slice(1).forEach(((e,i)=>{n+=`/${e}`,t[i]={position:i+1,item:{id:this.composeUrlOrigin()+n,name:this.generateName(e)}}})),t}generateRichSnippet(e){let t=this.doc.head,n=this.renderer.createElement("script");this.renderer.setAttribute(n,"type","application/ld+json"),this.renderer.appendChild(n,this.renderer.createText(e.toString())),this.renderer.appendChild(t,n)}composeUrlOrigin(){const e=this.siteConfigService.getSiteConfigProp("defaultLanguage"),t=this.languageCookieSupplier.language!==e?`/${this.languageCookieSupplier.language}`:"";return this.doc.location.origin+t}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](ga),i["ɵɵinject"](i.RendererFactory2),i["ɵɵinject"](aa.g),i["ɵɵinject"](V.r),i["ɵɵinject"](r.DOCUMENT),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),ba=(()=>{class e{constructor(e,t){this.richSnippetService=e,this.siteConfigService=t}getMarkupSchemas(){return this.siteConfigService.getSiteConfigProp("markupSchemas")||[]}resolve(e,t){if(this.isAnyMarkupSchemaConfigured()&&e.queryParams.prerender){this.isSportsConfigured()&&function(e){return e.indexOf("sports")>=0}(t.url)&&this.richSnippetService.subscribeSportsRichSnippets();const e=t.url.replace(/(\?|&|%3F)prerender(=|%3D)true/,"");this.isBreadcrumbListConfigured()&&!function(e){return"/"===e||function(e){return/\/pages($|\/.+)/.test(e)}(e)||function(e){return/\(overlay:(.+?)\)/.test(e)}(e)}(e)&&this.richSnippetService.addBreadcrumbListRichSnippets(e)}}isAnyMarkupSchemaConfigured(){return this.getMarkupSchemas().length>0}isSportsConfigured(){return this.getMarkupSchemas().includes(ca.SPORTS_EVENT)}isBreadcrumbListConfigured(){return this.getMarkupSchemas().includes(ca.BREADCRUMB_LIST)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](va),i["ɵɵinject"](V.r))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),ya=(()=>{class e{static forRoot(){return{ngModule:e,imports:[_n.$,Ei.d],providers:[ba,va,ga]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})();var Sa=n(28530),Ca=n(79346),xa=n(91691),Ia=n(51535),wa=n(71059),Ea=n(63576),Ta=n(32780),Pa=n(72558),Aa=n(28850);let _a=(()=>{class e{static forRoot(){return{ngModule:e,providers:[ie.m]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})();var Ma=n(22101),Oa=(n(3539),n(94708),n(22715),n(51015),n(65180),n(57106)),ka=(n(14969),n(92753)),ja=n(42356),Na=n(26918),Da=n(79560),La=n(81869),Ra=n(89309);let Fa=(()=>{class e{static forRoot(){return{ngModule:e,providers:[ue.K,{provide:Ra.r,useExisting:ue.K}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})();var Ba=n(87290),Ua=n(21111),Ha=n(14867),Va=n(91377),Ga=n(32866),$a=n(44236),za=n(88323);let Wa=(()=>{class e{constructor(e,t,n){this.cookieStorageService=e,this.localStorageService=t,this.router=n}canActivate(e,t){let n=-1!==t.url.indexOf(_e);if(-1===t.url.indexOf("contact-us")){let e=this.localStorageService.get("sessionId"),i=this.cookieStorageService.get("cf_spc");if(e&&i){if(n)return(0,s.of)(n);this.router.navigate([_e],{queryParams:{returnUrl:t.url}})}}return(0,s.of)(!n)}canActivateChild(e,t){return this.canActivate(e,t)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](he.G),i["ɵɵinject"](za.n),i["ɵɵinject"](o.Router))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var qa=n(34725),Ka=n(39211);let Xa=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Wa],imports:[[me.ReactiveFormsModule,Ti.U8,Ni.a,qa.x,Ka.N,o.RouterModule]]}),e})();var Ya=n(77194),Ja=n(39597);let Qa=(()=>{class e{static forRoot(){return{ngModule:e,providers:[Ja.e]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})();var Za=n(76580),es=n(17505),ts=n(17443),ns=n(33814),is=n(91605);let rs=(()=>{class e{constructor(e){this.windowService=e,this.serviceDomain=""}setServiceDomain(e){this.serviceDomain=e}getServiceDomain(){return this.serviceDomain}getServiceUrl(e){return-1===e.indexOf("://")?this.windowService.getProtocolOrDefault()+this.serviceDomain+e:e}generateTraceId(){return(0,is.v4)()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](ee.u))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})(),os=(()=>{class e{constructor(e){this.servicesRequestService=e}init(e){return!!e&&(this.servicesRequestService.setServiceDomain(e),!0)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](rs))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();var as=n(94966);let ss=(()=>{class e{constructor(e){this.servicesRequestService=e}intercept(e,t){if(e.url.match(as.J.exclude))return t.handle(e);if(e.url.includes("services/")||e.url.includes("api/")){const n=e.clone({url:this.servicesRequestService.getServiceUrl(e.url),headers:e.headers.set("traceId",this.servicesRequestService.generateTraceId())});return t.handle(n)}return t.handle(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](rs))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();var cs=n(63752);let ls=(()=>{class e{constructor(e){this.iFrameXHRService=e}build(){let e;return e=this.iFrameXHRService.isIFrameInterceptorActive()?this.iFrameXHRService.getIFrameXMLHttpRequest():XMLHttpRequest,new e}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](cs.P))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var ds=n(6289);let us=(()=>{class e{constructor(e){this.deviceService=e}init(e){this.fixedChannel=e}intercept(e,t){if(e.url.indexOf("services/")>=0||e.url.indexOf("api/")>=0){let n=this.fixedChannel?this.fixedChannel:this.deviceService.getDeviceType();const i=e.clone({setHeaders:{"X-CHANNEL":n}});return t.handle(i)}return t.handle(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Cr.U))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const ps="x-retries";let hs=(()=>{class e{constructor(){this.DEFAULT_RETRIES=1}intercept(e,t){if(e.headers.has(ps)){const n=parseInt(e.headers.get(ps))||this.DEFAULT_RETRIES,i=e.clone({headers:e.headers.delete(ps)});return t.handle(i).pipe((0,c.retry)(n))}return t.handle(e)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();var ms=n(8995),fs=n(80218);let gs=(()=>{class e{constructor(e){this.cdnService=e}init(e){this.prepareCdnConfig(e)}prepareCdnConfig(e){this.cdnService.prepareCdnConfig(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](fs.U))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})(),vs=(()=>{class e{constructor(e,t,n,i){this.platformId=e,this.servicesRequestConfigService=t,this.cdnConfigService=n,this.timeoutRequestHttpInterceptor=i}init(e){this.cdnConfigService.init(e.cdn),(0,r.isPlatformBrowser)(this.platformId)&&(this.servicesRequestConfigService.init(e.serviceDomain),this.timeoutRequestHttpInterceptor.init(e.httpTimeoutInMilliseconds))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](os),i["ɵɵinject"](gs),i["ɵɵinject"](ms._))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})(),bs=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[cs.P,...t,vs,{provide:qe.XhrFactory,useClass:ls}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})();var ys=n(10904),Ss=n(79126),Cs=n(13580),xs=n(73743),Is=n(29815),ws=n(42312),Es=n(93996),Ts=n(47490);let Ps=(()=>{class e{static forRoot(){return{ngModule:e,providers:[Ts.W]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[Es.M,Ca.C,yt.forRoot(),ts.S]]}),e})(),As=(()=>{class e{resolve(){return(0,s.of)(!0)}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),_s=(()=>{class e{constructor(e){this.firstTimeDepositorService=e}resolve(){return this.firstTimeDepositorService.getFirstTimeDepositor().pipe((0,c.map)((e=>void 0!==e&&(!0===e||400===e.status))),(0,c.catchError)((e=>(0,s.of)(!1))))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](ws.$))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Ms=(()=>{class e{constructor(){this.headerLevel2=!0}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Os=n(23696),ks=n(52450);let js=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Os.s,Me],imports:[[qa.x,o.RouterModule,ks.P,Ni.a,Aa.U,Xa]]}),e})();var Ns=n(79308);let Ds=(()=>{class e{constructor(){}match(e,t,n,i){const r=e.split("|");switch(r.length){case 1:return this.matchBrowserName(r[0],t);case 2:return this.matchBrowserName(r[0],t)&&this.matchDevice(r[1],n);case 3:return this.matchBrowserName(r[0],t)&&this.matchDevice(r[1],n)&&this.matchVersion(r[2],i)}}matchBrowserName(e,t){try{const n=new RegExp(e);return!!t&&n.test(t.toLocaleLowerCase())}catch{return!1}}matchDevice(e,t){return!(!t||e&&e!==t)}matchVersion(e,t){if(!t)return!1;const n=this.compareVersion(t,e);return-1===n||0===n}compareVersion(e,t){const n=e.split(".").map((e=>parseInt(e,10))),i=t.split(".").map((e=>parseInt(e,10))),r=Math.min(n.length,i.length);for(let e=0;e<r;++e){if(n[e]>i[e])return 1;if(n[e]<i[e])return-1}return n.length==i.length?0:n.length<i.length?-1:1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Ls=(()=>{class e{constructor(e,t,n,i,r,o){this.deviceService=e,this.siteConfigService=t,this.windowService=n,this.browserMatcher=i,this.sessionStorageService=r,this.platformId=o,this.BRAND_PROPERTY="browsersNotSupported",this.BROWSER_NOT_SUPPORTED_PATH="/contents/browser-not-supported",this.SKIP_BROWSER_DETECTION_KEY="skipBrowserCompatibility",this.notSupportedBrowsersRegex=[],this.userBrowser=this.deviceService.getBrowserNameExtended(),this.userDevice=this.deviceService.getDeviceType(),"tablet"===this.userDevice&&(this.userDevice="mobile"),this.userBrowserVersion=this.deviceService.getBrowserVersion()}checkBrowserSupported(){if(this.notSupportedBrowsersRegex=this.siteConfigService.getSiteConfigProp(this.BRAND_PROPERTY),this.shouldNavigate()){this.sessionStorageService.set(this.SKIP_BROWSER_DETECTION_KEY,"true");const e=this.siteConfigService.getSiteConfigProp("urlPrefix");let t=e?"/"+e+this.BROWSER_NOT_SUPPORTED_PATH:this.BROWSER_NOT_SUPPORTED_PATH;this.windowService.location().href=t}}shouldNavigate(){return(0,r.isPlatformBrowser)(this.platformId)&&!this.skipBrowserDetection()&&this.isBrowserNotSupported()}skipBrowserDetection(){return"true"===this.sessionStorageService.get(this.SKIP_BROWSER_DETECTION_KEY)}isBrowserNotSupported(){return this.notSupportedBrowsersRegex&&!!this.notSupportedBrowsersRegex.find((e=>this.browserMatcher.match(e,this.userBrowser,this.userDevice,this.userBrowserVersion)))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Cr.U),i["ɵɵinject"](V.r),i["ɵɵinject"](ee.u),i["ɵɵinject"](Ds),i["ɵɵinject"](Ns.u),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Rs=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Ns.u,Ds,Ls],imports:[[r.CommonModule,Es.M,Ca.C]]}),e})();var Fs=n(21311),Bs=n(64041);let Us=(()=>{class e{constructor(e,t,n,i,r,o,a,s,c,l){this.sessionService=e,this.authService=t,this.router=n,this.overlayToolsService=i,this.siteConfigService=r,this.deviceService=o,this.location=a,this.routingStateService=s,this.windowService=c,this.gameUrlService=l}canActivate(e,t){this.authService.setLastPage(t.url,!0);let n=this.overlayToolsService.transformOutletToPath(t.url);if(this.sessionService.isAuthenticated())return!!this.hasToBeOpenedInCurrentTab(e)||(this.openGameOnNewTab(n),!1);{let t={destination:n,replaceUrl:!0,closeUrl:this.siteConfigService.getSiteConfigProp("casinoPracticePlayDisabled")?"":this.getPracticeUrl(e)};return this.router.navigate([`/${Bs.ZE}`],{queryParams:t}),!1}}canActivateChild(e,t){return this.canActivate(e,t)}getPracticeUrl(e){let t=e.params.slug,n=e.params.category,i=e.params.subcategory,r="live-dealer"!==n,o=this.gameUrlService.getUrl(n,t,i);return r?`${o}#practice`:""}hasToBeOpenedInCurrentTab(e){if(e.queryParams&&e.queryParams.currentTab||!this.featureFlagForNewTabIsEnabled()||!this.deviceService.isDesktop())return!0;let t=this.routingStateService.getPreviousUrl();return this.comingFromLogin(t)||this.comingFromDeposit(t)||this.onNewTab()}featureFlagForNewTabIsEnabled(){let e=this.siteConfigService.getSiteConfig();return e.featuresList&&-1!==e.featuresList.indexOf("casino.games.new.tab")}onNewTab(){return 1===this.routingStateService.getHistory().length}comingFromLogin(e){return e&&-1!==e.indexOf("login")}comingFromDeposit(e){return e&&-1!==e.indexOf("deposit")}openGameOnNewTab(e){let t=e;this.siteConfigService.getSiteConfig().urlPrefix&&(t=this.siteConfigService.getSiteConfig().urlPrefix+"/"+e);let n=this.windowService.window().open(t);n?this.location.back():setTimeout((()=>{n||this.router.navigate([e],{queryParams:{currentTab:!0,replaceUrl:!0}})}),1e3)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](H.m),i["ɵɵinject"](Fs.i),i["ɵɵinject"](o.Router),i["ɵɵinject"](Eo.a),i["ɵɵinject"](V.r),i["ɵɵinject"](Cr.U),i["ɵɵinject"](r.Location),i["ɵɵinject"](Sa.Y),i["ɵɵinject"](ee.u),i["ɵɵinject"](Fi.X))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Hs=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:Fs.i,useClass:t},Us]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})();var Vs=n(92870),Gs=n(30986),$s=n(44362);let zs=(()=>{class e{constructor(){this.openPlaceHolderKey="{{",this.closePlaceHolderKey="}}",this.placeHolderExtractor=new RegExp(`\\${this.openPlaceHolderKey}(.*?)\\${this.closePlaceHolderKey}`,"g"),this.placeHolderKeys=new RegExp(`${this.openPlaceHolderKey}|${this.closePlaceHolderKey}`,"g")}hasPlaceHolders(e){return this.placeHolderExtractor.test(e)}resolvePlaceHolders(e,t){if(!e||!t)return e;const n=e.match(this.placeHolderExtractor);if(!n)return e;const i=n.reduce(((e,n)=>(e[n]=this.getDeepValue(this.sanitizeKey(n),t),e)),{});return this.replaceValues(e,i)}replaceValues(e,t){return e.replace(this.placeHolderExtractor,(e=>t[e]||e))}sanitizeKey(e){return this.cleanKey(e).toLocaleLowerCase()}cleanKey(e){return e.replace(this.placeHolderKeys,"")}getDeepValue(e,t){if(!t)return null;if(!e.includes("."))return t[e];const n=e.split("."),i=n.slice(1).join(".");return this.getDeepValue(i,t[n[0]])}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Ws=n(81243);let qs=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.templatingService=t,this.calculatedPlaceholderValues=this.composeCalculatedPlaceHolderValues()}resolvePlaceHolders(e){return this.templatingService.resolvePlaceHolders(e,this.calculatedPlaceholderValues)}composeCalculatedPlaceHolderValues(){return{site:{name:this.siteConfigService.getSiteConfigProp("brandLabel")}}}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](zs))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Ks=(()=>{class e{constructor(e,t,n,i,r){this.platformId=e,this.store=t,this.templatingService=n,this.urlServer=i,this.placeholderCalculated=r}resolve(e){const t=this.placeholderCalculated.resolvePlaceHolders(e);return this.allPlaceholdersWereResolved(t)?(0,s.of)(t):(0,r.isPlatformServer)(this.platformId)?(0,s.throwError)(t):new s.Observable((e=>{const n=(0,se.EH)((()=>{const n=this.store.placeholderValues;n&&this.urlServer.getPathIncludingParams()===n.url&&this.completeResolution(e,t,n)}));return{unsubscribe:()=>n()}})).pipe((0,c.timeout)(5e3))}completeResolution(e,t,n){const i=this.templatingService.resolvePlaceHolders(t,n);this.templatingService.hasPlaceHolders(i)?e.error(i):e.next(i),e.complete()}allPlaceholdersWereResolved(e){return!this.templatingService.hasPlaceHolders(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"]($s.P),i["ɵɵinject"](zs),i["ɵɵinject"](Ws.j),i["ɵɵinject"](qs))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const Xs=[{lang:"zh-hans",replacement:"zh"}];let Ys=(()=>{class e{constructor(e){this.metadataPlaceholder=e}set(e,t,n){if(this.isSettableValue(t)){const i=this.calculateValue(t);this.metadataPlaceholder.resolve(i).subscribe({next:this.onPlaceholdersResolved.bind(this,e,n),error:this.onPlaceholdersResolvedWithError.bind(this,e,n,i)})}}isSettableValue(e){return!!e}calculateValue(e){return e}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Ks))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Js=(()=>{class e extends Ys{constructor(e,t){super(e),this.placeholder=e,this.metaService=t}reset(e,t){this.metaService.removeTag(`name="${e}"`)}onPlaceholdersResolved(e,t,n){this.metaService.addTag({name:e,content:n})}onPlaceholdersResolvedWithError(e,t,n){this.removeCurrentMetadataValue(e,t,n);const i=this.getNextFallbackMetadata(e,t,n);i?this.set(e,i[e],t):this.metaService.addTag({name:e,content:n})}removeCurrentMetadataValue(e,t,n){const i=t.fallbackMetadata.find((t=>t[e]===n));i&&(i[e]=void 0)}getNextFallbackMetadata(e,t,n){return t.fallbackMetadata.find((t=>void 0!==t[e]))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Ks),i["ɵɵinject"](ze.Meta))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Qs=(()=>{class e extends Js{constructor(e,t,n){super(e,t),this.placeholder=e,this.metaService=t,this.titleService=n}reset(e,t){this.titleService.setTitle(""),super.reset(e,t)}onPlaceholdersResolved(e,t,n){this.titleService.setTitle(n),super.onPlaceholdersResolved(e,t,n)}onPlaceholdersResolvedWithError(e,t,n){this.titleService.setTitle(n),super.onPlaceholdersResolvedWithError(e,t,n)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Ks),i["ɵɵinject"](ze.Meta),i["ɵɵinject"](ze.Title))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Zs=(()=>{class e extends Js{constructor(e,t,n){super(e,t),this.placeholder=e,this.metaService=t,this.urlService=n}calculateValue(e){return this.urlService.calculateURL(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Ks),i["ɵɵinject"](ze.Meta),i["ɵɵinject"](Ws.j))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),ec=(()=>{class e extends Ys{constructor(e,t,n){super(e),this.metadataPlaceholder=e,this.doc=t,this.urlService=n}reset(e,t){this.removeLinkBasedOnRelationship(e)}calculateValue(e){return this.urlService.calculateURL(e)}onPlaceholdersResolved(e,t,n){this.appendLinkToHead(this.createLinkElement(e,n))}onPlaceholdersResolvedWithError(e,t,n){this.appendLinkToHead(this.createLinkElement(e,n))}createLinkElement(e,t){const n=this.doc.createElement("link");return n.setAttribute("rel",e),n.setAttribute("href",t),n}appendLinkToHead(e){this.doc.querySelector("head").appendChild(e)}removeLinkBasedOnRelationship(e){const t=this.doc.querySelector(`head > link[rel="${e}"]`);t&&t.parentNode.removeChild(t)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Ks),i["ɵɵinject"](r.DOCUMENT),i["ɵɵinject"](Ws.j))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();function tc(e){return e?e.replace(/\/$/,""):""}let nc=(()=>{class e extends ec{isSettableValue(e){return!0}calculateValue(e){return tc(this.urlService.calculateCanonicalURL(e))}}return e.ɵfac=function(){let t;return function(n){return(t||(t=i["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),ic=(()=>{class e{constructor(e,t){this.urlService=e,this.translateService=t,this.isCasinoGameOverlay=e=>!!e&&decodeURIComponent(e).includes("overlay=casino/"),this.calculateCasinoGamePath=e=>this.urlService.getPath().split("casino")[0]+decodeURIComponent(e.split("overlay=")[1]).split("#")[0].split("?")[0],this.isHomeWithoutOverlays=(e,t)=>"/"===e.split("?")[0]&&!t.includes("overlay"),this.calculateHomePath=e=>this.addFinalBar(e)+"homepage-firsttimevisitor"}calculatePath(e){const t=this.urlService.purgeQueryParamsOtherThanOverlay(this.urlService.getPathIncludingParams());return this.isCasinoGameOverlay(t)?this.calculateCasinoGamePath(t):this.isHomeWithoutOverlays(e,t)?this.calculateHomePath(t):t}addFinalBar(e){return e.endsWith("/")?e:e+"/"}getMetadataPaths(e,t){const n=new s.ReplaySubject(3);return n.next(e),this.getMarketTypeUrls().subscribe((i=>{const r=e.split("/"),o=[...r],a=o.pop();i.includes(a)&&n.next(o.join("/")),n.next(this.getDefaultFallback(r,t)),n.complete()})),n.asObservable()}getMarketTypeUrls(){return this.translateService.loadTranslations("spMarketTypeFilter").pipe((0,c.filter)((e=>Object.keys(e).length>0)),(0,c.map)((e=>this.getUrlProperties(e))))}getUrlProperties(e){return Object.entries(e).filter((([e,t])=>e.endsWith(".url"))).map((([e,t])=>t))}getDefaultFallback(e,t){const n=e.length>2&&e[1]===t?3:2;return e.slice(0,n).join("/")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Ws.j),i["ɵɵinject"](fe.s))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const rc="x-default";let oc=(()=>{class e{constructor(e,t,n,i,r,o,a){this.multilingualRoutesService=e,this.metadataPathService=i,this.windowService=o,this.request=a,this.currentLanguage=null,this.defaultLang=t.getSiteConfigProp("defaultLanguage"),this.regionalDeclarations=t.getSiteConfigProp("regionalDeclarations"),n.getAvailableLanguages().subscribe((e=>{this.languages=e,e&&r.getLanguage().pipe((0,c.take)(1)).subscribe((t=>{this.currentLanguage=e.find((e=>e.code===t))}))}))}evaluateAlternates(e){return this.addRegionalDeclarations(this.retagDefaultLang(this.getAlternates(e)))}getAlternates(e){return e&&e.length>0&&e||this.generateAlternates()}generateAlternates(){return this.languages.map((e=>({lang:e.code,path:this.composeLanguageAlternateLink(e)})))}addRegionalDeclarations(e){if(this.isRegionalDeclarationEnable()){let t=[];this.replacedDefaultLang=this.defaultLang,Xs.forEach((t=>this.replaceLanguage(t.lang,t.replacement,e))),Xs.filter((e=>this.defaultLang===e.lang)).forEach((e=>this.replacedDefaultLang=e.replacement)),this.regionalDeclarations.forEach((n=>{const i=this.getPathByLanguage(this.getLanguageByRegional(n),e);i&&t.push({lang:n,path:i})}));const n=this.getAlternateByLanguage(rc,e);return n&&t.push(n),t}return e}getPathByLanguage(e,t){const n=this.getAlternateByLanguage(this.replacedDefaultLang===e?rc:e,t);return n?n.path:""}replaceLanguage(e,t,n){n.forEach((n=>{n.lang===e&&(n.lang=t)}))}getAlternateByLanguage(e,t){return t.filter((t=>t.lang===e)).pop()}getLanguageByRegional(e){return e.split("-")[0]}isRegionalDeclarationEnable(){return this.regionalDeclarations&&this.regionalDeclarations.length&&""!==this.regionalDeclarations[0]}retagDefaultLang(e){return e.map((e=>(e.lang=e.lang===this.defaultLang?rc:e.lang,e))).sort(((e,t)=>e.lang===rc?-1:t.lang===rc?1:0))}composeLanguageAlternateLink(e){const t=this.multilingualRoutesService.translatePathBetweenLanguages(this.currentLanguage,e,new F.MS(this.getPath()));return this.getBaseURL()+this.cleanSlashes((e.code!==this.defaultLang?`/${e.code}/`:"/")+t.url)}cleanSlashes(e){return e.replace(/\/+/gi,"/").replace(/\/$/gi,"")}getBaseURL(){return this.windowService&&this.windowService.getIsPlatformBrowser()?this.windowService.window().location.origin:"https://"+this.request.headers["x-requested-domain"].toString()}getPath(){const[e,t]=this.metadataPathService.calculatePath("").split("?overlay=");return t||this.purgeLanguage(e)}purgeLanguage(e){const t=e.split("/")[1];if(this.languages.some((e=>e.code===t))){const n=new RegExp(`/${t}($|/)`);return e.replace(n,"/")}return e}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](F.JH),i["ɵɵinject"](V.r),i["ɵɵinject"](_o.Fl),i["ɵɵinject"](ic),i["ɵɵinject"](ke.T),i["ɵɵinject"](ee.u,8),i["ɵɵinject"](kt.Z,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),ac=(()=>{class e{constructor(e,t,n,i){this.metadataPlaceholder=e,this.doc=t,this.urlService=n,this.calculatorService=i}set(e,t,n){this.areAlternatesIncluded(n)&&this.calculatorService.evaluateAlternates(t).forEach((t=>{if(this.isSettableValue(t)){const n=this.calculateValue(t.path);this.metadataPlaceholder.resolve(n).subscribe(this.onPlaceholdersResolved.bind(this,e,t.lang),this.onPlaceholdersResolvedWithError.bind(this,e,t.lang,n))}}))}reset(e,t){this.areAlternatesIncluded(t)&&this.removeLinksBasedOnRelationship(e)}onPlaceholdersResolved(e,t,n){this.appendLinkToHead(this.createLinkElement(e,t,n))}onPlaceholdersResolvedWithError(e,t,n){this.appendLinkToHead(this.createLinkElement(e,t,n))}createLinkElement(e,t,n){const i=this.doc.createElement("link");return i.setAttribute("rel",e),i.setAttribute("href",n),i.setAttribute("hreflang",t),i}appendLinkToHead(e){this.doc.querySelector("head").appendChild(e)}isSettableValue(e){return!!e&&!!e.path&&!!e.lang}calculateValue(e){return tc(this.urlService.calculateURL(e))}areAlternatesIncluded(e){return!e||e.includeAlternates}removeLinksBasedOnRelationship(e){this.doc.querySelectorAll(`head > link[rel="${e}"]`).forEach((e=>e.parentNode.removeChild(e)))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Ks),i["ɵɵinject"](r.DOCUMENT),i["ɵɵinject"](Ws.j),i["ɵɵinject"](oc))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();let sc=(()=>{class e{constructor(e,t,n,i,r){this.handlers={},this.handlers.title=n,this.handlers.canonical=i,this.handlers["og:url"]=t,this.handlers["twitter:url"]=t,this.handlers.alternate=r,this.handlers.generic=e}set(e,t){Object.keys(e).forEach((n=>{const i=this.getHandler(this.handlers,n);i.reset(n,t),i.set(n,e[n],t)}))}getHandler(e,t){return e[this.getHandlerKey(e,t)]}getHandlerKey(e,t){return e.hasOwnProperty(t)?t:"generic"}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Js),i["ɵɵinject"](Zs),i["ɵɵinject"](Qs),i["ɵɵinject"](nc),i["ɵɵinject"](ac))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const cc="HTML";let lc=(()=>{class e extends Ys{constructor(e,t,n,i){super(t),this.siteConfigService=e,this.placeholder=t,this.doc=n,this.platformId=i,this.regionalDeclarations=e.getSiteConfigProp("regionalDeclarations")}reset(e,t){(0,r.isPlatformBrowser)(this.platformId)&&this.removeLanguageValue()}onPlaceholdersResolved(e,t,n){(0,r.isPlatformBrowser)(this.platformId)&&this.setLanguageValue(n)}onPlaceholdersResolvedWithError(e,t,n){(0,r.isPlatformBrowser)(this.platformId)&&this.setLanguageValue(n)}attributes(e){return[{name:"lang",value:e},{name:"xml:lang",value:e},{name:"xmlns",value:"http://www.w3.org/1999/xhtml"}]}removeLanguageValue(){this.removeAttributes(this.getTag(cc),this.attributes(""))}setLanguageValue(e){const t=this.getFullLanguage(e);this.setAttributes(this.getTag(cc),this.attributes(t))}setAttributes(e,t){t.forEach((t=>e.setAttribute(t.name,t.value)))}removeAttributes(e,t){t.forEach((t=>e.removeAttribute(t.name)))}getTag(e){return this.doc.querySelector(e)}getFullLanguage(e){let t=Xs.find((t=>t.lang===e));t=t?t.replacement:e;const n=`${t}-${this.siteConfigService.getSiteConfigProp("countryCode")}`;return this.regionalDeclarations.find((e=>e===n))?n:t}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](Ks),i["ɵɵinject"](r.DOCUMENT),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),dc=(()=>{class e{constructor(e){this.languageHandler=e}updateMetadata(e,t){this.languageHandler.set("language",e,t)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](lc))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),uc=(()=>{class e{composeCompleteOptions(e){return Object.assign(this.defaultOptions(),e)}defaultOptions(){return{includeAlternates:!0}}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),pc=(()=>{class e{constructor(e,t){this.http=e,this.urlPrefixService=t,this.pendingRequest={}}getMetadata(e,t,n){const i=`${e}-${t}-${n}`;return this.pendingRequest[i]||(this.pendingRequest[i]=this.http.get(this.composeMetadataURL(e,t,n))),this.pendingRequest[i]}composeMetadataURL(e,t,n){return`${this.urlPrefixService.addUrlPrefix("/content/content-metadata")}/v2/metadata/buckets/${e}/${t}?path=${n}`}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](qe.HttpClient),i["ɵɵinject"](Ri.z))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const hc={title:"title",description:"description",canonicalTag:"canonical",openGraphSiteName:"og:site_name",openGraphURL:"og:url",openGraphTitle:"og:title",openGraphDescription:"og:description",twitterCard:"twitter:card",twitterURL:"twitter:url",twitterTitle:"twitter:title",twitterDescription:"twitter:description",robotsMetadata:"robots",alternates:"alternate",googleSiteVerification:"google-site-verification",seobility:"seobility"};let mc=(()=>{class e{constructor(){this.metadataCahe={}}get(e){return this.metadataCahe[e]}set(e,t){this.metadataCahe[e]=t}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),fc=(()=>{class e{constructor(e,t,n,i,r){this.siteConfigService=e,this.metadataRetrieverService=t,this.metadataHandler=n,this.metadataCacheService=i,this.metadataPathService=r}updateMetadata(e,t,n){const i=this.metadataCacheService.get(t);i?this.metadataHandler.set(i,n):this.metadataPathService.getMetadataPaths(t,e).pipe((0,c.distinct)(),(0,c.mergeMap)(((t,n)=>this.getMetadata(e,t,n))),(0,c.reduce)(((e,t)=>(e.push(t),e)),[])).subscribe({next:e=>this.setBrowserMetadata({...n},e)})}getMetadata(e,t,n){return this.retrieveMetadata(e,t).pipe((0,c.map)((e=>({order:n,metadata:e}))),(0,c.tap)({next:e=>this.cacheMetadata(t,e.metadata)}),(0,c.catchError)((e=>(this.cacheMetadataWithError(t,e),(0,s.of)({order:n,metadata:{}})))))}retrieveMetadata(e,t){const n=this.siteConfigService.getSiteConfigProp("bucket")||"default";return this.metadataRetrieverService.getMetadata(n,e,t)}setBrowserMetadata(e,t){t.sort(((e,t)=>e.order-t.order));const n=t.map((e=>this.createBrowserMetadata(e.metadata))),i=n.shift();e.fallbackMetadata=n,this.metadataHandler.set(i,e)}cacheMetadataWithError(e,t){404==t.status&&this.cacheMetadata(e,{})}cacheMetadata(e,t){const n=this.createBrowserMetadata(t);this.metadataCacheService.set(e,n)}createBrowserMetadata(e){const t={title:"",description:"",canonical:"","og:site_name":"","og:url":"","og:title":"","og:description":"","twitter:card":"","twitter:url":"","twitter:title":"","twitter:description":"",robots:"",alternate:[],"google-site-verification":"",seobility:""};return Object.keys(e).forEach((n=>{const i=hc[n];i&&(t[i]=e[n])})),t}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](pc),i["ɵɵinject"](sc),i["ɵɵinject"](mc),i["ɵɵinject"](ic))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),gc=(()=>{class e{constructor(e,t,n,i,r,o){this.languageService=e,this.router=t,this.pathService=n,this.updaterService=i,this.updaterCalculatedService=r,this.updaterOptionsService=o}init(e){const t=this.updaterOptionsService.composeCompleteOptions(e);(0,s.combineLatest)(this.languageService.getLanguage(),this.router.events.pipe((0,c.filter)((e=>e instanceof o.NavigationEnd)))).subscribe(this.navigationEndCompleted.bind(this,t)),this.languageService.getLanguage().subscribe(this.updateCalculatedMetadata.bind(this,t))}refreshMetadata(e,t,n){const i=this.updaterOptionsService.composeCompleteOptions(n);this.updateMetadata(e,t,i)}navigationEndCompleted(e,[t,n]){this.updateMetadata(t,n.url,e)}updateMetadata(e,t,n){this.updaterService.updateMetadata(e,this.pathService.calculatePath(t),n)}updateCalculatedMetadata(e,t){this.updaterCalculatedService.updateMetadata(t,e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](ke.T),i["ɵɵinject"](o.Router),i["ɵɵinject"](ic),i["ɵɵinject"](fc),i["ɵɵinject"](dc),i["ɵɵinject"](uc))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),vc=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[sc,Js,Zs,Qs,ec,nc,ac,lc,gc,fc,dc,pc,ic,mc,Ks,qs,uc,oc,$s.P,Ws.j,zs,_o.Fl],imports:[[r.CommonModule]]}),e})();var bc=n(86958),yc=n(3491),Sc=n(64638);let Cc=(()=>{class e{constructor(e,t,n,i){this.dynamicContentService=e,this.impressionHelper=t,this.contentNotFoundHandler=n,this.metadataAlternateContentService=i}resolve(e,t){return this.metadataAlternateContentService.checkMetadataAlternates(t).pipe((0,c.mergeMap)((n=>n?this.fetchContent(t.url,e):this.navigateToNotFoundPage())),(0,c.first)())}fetchContent(e,t){return this.dynamicContentService.fetchContentByUri(e).pipe((0,c.tap)((e=>{t.data={...t.data,...this.dynamicContentService.enrichRouterData(e)},this.impressionHelper.pageView(e)})),(0,c.first)())}navigateToNotFoundPage(){return this.cmsContent$=new s.Subject,this.contentNotFoundHandler.navigateToNotFoundPage(),this.resolveObserver({})}resolveObserver(e){return this.cmsContent$.next(e),this.cmsContent$.complete(),this.cmsContent$.asObservable()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](yc.X),i["ɵɵinject"](bc.P),i["ɵɵinject"](tn.B),i["ɵɵinject"](Sc.B))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var xc=n(8566),Ic=n(56730),wc=n(81768);let Ec=(()=>{class e{constructor(e,t,n,i,r){this.siteConfigService=e,this.metadataCacheService=t,this.metadataRetrieverService=n,this.urlService=i,this.multilingualRoutesService=r}checkMetadataAlternates(e){if(this.isDefaultRoute(e))return(0,s.of)(!0);const t=new F.MS(this.urlService.getPath()),n=this.multilingualRoutesService.calculateLanguage(t);let i=this.getPathFromUrl(e.url);return this.isDefaultLanguage(n.code)||(i=`/${n.code}${i}`),this.getMetadata(n.code,i).pipe((0,c.map)((e=>this.checkMetadataAlternateMatchesPath(n.code,i,e))))}isDefaultRoute(e){const t=this.getPathArray(e.url.slice(1));return 1===t.length||2===t.length&&["articles","pages","promotions"].includes(t[0])}isDefaultLanguage(e){return this.siteConfigService.getSiteConfigProp("defaultLanguage")===e}getMetadata(e,t){const n=this.metadataCacheService.get(t);if(n)return(0,s.of)(n);const i=this.siteConfigService.getSiteConfigProp("bucket")||"default";return this.metadataRetrieverService.getMetadata(i,e,t)}checkMetadataAlternateMatchesPath(e,t,n){const i=n.alternates||n.alternate;if(!i||!i.length)return!0;const r=this.isDefaultLanguage(e)&&i.find((e=>"x-default"===e.lang))?"x-default":e;return(i.find((e=>r.includes(e.lang)))||{}).path===t}getPathFromUrl(e){return e.split("?")[0].split("#")[0].replace(/\(overlay:(.+?)\)/,"")}getPathArray(e){return this.getPathFromUrl(e).split("/")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](mc),i["ɵɵinject"](pc),i["ɵɵinject"](Ws.j),i["ɵɵinject"](F.JH))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Tc=(()=>{class e{static withComponents(t=[]){return{ngModule:e,providers:[{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,useValue:t,multi:!0}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Cc,yc.X,bc.P,Ic.Z,wc.V,{provide:Sc.B,useClass:Ec}],imports:[[r.CommonModule,xc.B,go.I,o.RouterModule]]}),e})();var Pc=n(79603),Ac=n(66427);const _c=new i.InjectionToken("CasinoPageConfig");let Mc=(()=>{class e{constructor(e,t,n,i){this.siteConfigService=e,this.windowService=t,this.config=n,this.platformId=i,this.MAXIMUM_WITH_TO_NAVIGATE=769,this.BYPASS_GAME_DESCRIPTION_SLUG_PARAM="quickPlay=true"}calculateURL(e,t){return this.checkGameDescriptionIsRequired(e,t)?this.config.gameDescriptionUrl.replace(":slug",t):""}checkGameDescriptionIsRequired(e,t){return this.isSmallScreen()&&this.isGameDescriptionEnable()&&!this.bypassShowDescription(t)}isSmallScreen(){return!!(0,r.isPlatformBrowser)(this.platformId)&&this.windowService.window().innerWidth<=this.MAXIMUM_WITH_TO_NAVIGATE}isGameDescriptionEnable(){return this.siteConfigService.getSiteConfigProp("showGameDescription")}bypassShowDescription(e){return-1!==e.indexOf(this.BYPASS_GAME_DESCRIPTION_SLUG_PARAM)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](ee.u),i["ɵɵinject"](_c),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Oc=(()=>{class e{constructor(e,t){this.showGameDescriptionService=e,this.router=t}canActivate(e,t){const n=this.showGameDescriptionService.calculateURL(this.router.url,e.params.slug);return!n||(this.router.navigate([n]),!1)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Mc),i["ɵɵinject"](o.Router))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),kc=(()=>{class e{constructor(e,t,n){this.showGameDescriptionService=e,this.location=t,this.router=n}canActivate(e,t){const n=this.showGameDescriptionService.calculateURL(this.router.url,e.params.slug);return!n||(this.router.navigate([n]).then((()=>{this.location.replaceState(this.router.url.split("?")[0].split("#")[0].replace(/\(overlay:(.+?)\)/,""))})),!1)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Mc),i["ɵɵinject"](r.Location),i["ɵɵinject"](o.Router))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var jc=n(94631);let Nc=(()=>{class e{constructor(e,t){this.router=e,this.siteConfigService=t}canActivate(e,t){return!this.siteConfigService.getSiteConfigProp("casinoPracticePlayDisabled")||this.router.parseUrl("/404")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](o.Router),i["ɵɵinject"](V.r))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Dc=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Mc,Oc,kc,jc.B,Nc]}),e})(),Lc=(()=>{class e{constructor(e,t,n){this.windowService=e,this.platformId=t,this.urlPrefixService=n,this.nonExistingPaths=["/contents","/betting-offers"]}canActivate(e,t){return!(0,r.isPlatformBrowser)(this.platformId)||(this.windowService.location().pathname=this.isNonExistingPath(t.url)?tt.wF:this.urlPrefixService.addUrlPrefix(t.url),!1)}isNonExistingPath(e){return this.nonExistingPaths.find((t=>t===e))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](ee.u),i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](Ri.z))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Rc=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Lc],imports:[[o.RouterModule,r.CommonModule]]}),e})();var Fc=n(70640);const Bc=function(){return[".."]};let Uc=(()=>{class e extends Fc.Z{}return e.ɵfac=function(){let t;return function(n){return(t||(t=i["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-generic-page"]],features:[i["ɵɵInheritDefinitionFeature"]],decls:16,vars:6,consts:[[1,"generic-page-container"],[1,"max-container","generic-page-title"],[1,"generic-page-return",3,"routerLink"],[1,"max-container"],[3,"innerHTML"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"h2",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"a",2),i["ɵɵtext"](6," < "),i["ɵɵelementEnd"](),i["ɵɵtext"](7),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n            "),i["ɵɵelementStart"](9,"article",3),i["ɵɵtext"](10,"\n                "),i["ɵɵelement"](11,"div",4),i["ɵɵpipe"](12,"bxTrustyHtml"),i["ɵɵtext"](13,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](15,"\n    ")),2&e&&(i["ɵɵadvance"](5),i["ɵɵproperty"]("routerLink",i["ɵɵpureFunction0"](5,Bc)),i["ɵɵadvance"](2),i["ɵɵtextInterpolate1"]("\n                ",t.data.title,"\n            "),i["ɵɵadvance"](4),i["ɵɵproperty"]("innerHTML",i["ɵɵpipeBind1"](12,3,t.wrapStyleTag(null==t.data?null:t.data.style)+(null==t.data?null:t.data.content)),i["ɵɵsanitizeHtml"]))},directives:[o.RouterLinkWithHref],pipes:[Or.d],styles:[".generic-page-container[_ngcontent-%COMP%] {\n  margin-top: 88px; }\n\narticle.max-container[_ngcontent-%COMP%] {\n  max-width: 930px;\n  background-color: white;\n  color: #000;\n  border: 16px solid #e3e3e3; }\n\n.generic-page-title[_ngcontent-%COMP%] {\n  max-width: 930px;\n  font-size: 20px;\n  color: #fff;\n  margin-bottom: 16px; }\n\n.generic-page-return[_ngcontent-%COMP%] {\n  visibility: hidden;\n  display: none; }\n\n@media (max-width: 768px) {\n  .generic-page-container[_ngcontent-%COMP%] {\n    margin-top: 88px; }\n  article.max-container[_ngcontent-%COMP%] {\n    max-width: 930px;\n    background-color: white;\n    color: #000;\n    border: 0;\n    border-bottom: 16px solid #e3e3e3; }\n  .generic-page-title[_ngcontent-%COMP%] {\n    font-size: 16px;\n    margin-bottom: 16px;\n    padding-top: 8px; }\n  .generic-page-return[_ngcontent-%COMP%] {\n    visibility: visible;\n    display: inline;\n    color: gray;\n    padding: 0 16px 0; } }"]}),e})();var Hc=n(98165);let Vc=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[Hc.P,Gn.D,o.RouterModule,r.CommonModule]]}),e})();var Gc=n(34097),$c=n(33211),zc=n(85259),Wc=n(9464),qc=n(76504),Kc=n(36765),Xc=n(29862);let Yc=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Jc=n(12744),Qc=n(65353);let Zc=(()=>{class e extends qn.x{constructor(){super(...arguments),this.abtFieldsMapper=new Qc.u1}map(e){return{bannerWelcomeModel:{backgroundColor:e.fields.background_color,backgroundImage:e.fields.background_image?e.fields.background_image.url:null,image:e.fields.image.url,subText:e.fields.title,text:e.fields.content,name:e.fields.internal_name,linkUrl:Kn.K.mapLinkUrl(e.fields.link_url),linkTarget:e.fields.link_target||Jc.e.NONE,tracking:{abtStudy:this.abtFieldsMapper.map(e)},notInFilter:pn.H.map(e.fields.filter)}}}}return e.ɵfac=function(){let t;return function(n){return(t||(t=i["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var el=n(81516);let tl=(()=>{class e{constructor(e){this.firstTimeVisitorService=e,this.headerSlidedDown=!0,this.headerVisible=!1,this.firstTimeVisitorService.getFirstTimeVisited().subscribe((e=>{this.headerVisible=!e,this.headerSlidedDown=!e}))}showHeader(){this.headerVisible=!0,this.headerSlidedDown=!0}hideHeader(){this.firstTimeVisitorService.isFirstTime&&(this.headerSlidedDown=!1)}get isHeaderVisible(){return this.headerVisible}get isHeaderSlidedDown(){return this.headerSlidedDown}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](el.HV))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var nl=n(88401);const il=["banner"],rl=["buttons"];function ol(e,t){if(1&e&&i["ɵɵelement"](0,"p",15),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("innerHTML",e.textHtml,i["ɵɵsanitizeHtml"])}}function al(e,t){if(1&e&&i["ɵɵelement"](0,"span",16),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("innerHTML",e.subTextHtml,i["ɵɵsanitizeHtml"])}}const sl=function(e){return[e]};let cl=class{constructor(e,t,n,i,r,o,a,s,c){this.bannerWelcomeConfig=e,this.windowService=t,this.imageService=n,this.firstTimeVisitorService=i,this.headerService=r,this.sanitizer=o,this.platformId=a,this.transferStateServiceCache=s,this.clickHandlerService=c,this.notInSubdivisionList=null,this.hideHeader=!0,this.buttonsBehindBanner=!1,this.fromUniversal=!1}set bannerWelcomeModel(e){this.model=e,this.model.linkUrl||(this.model.linkUrl="/join"),this.textHtml=this.getSafeHtml(this.model.text),this.subTextHtml=this.getSafeHtml(this.model.subText),this.backgroundStyle=this.model.backgroundImage?{"background-image":'url("'+this.model.backgroundImage+'")',"background-repeat":"no-repeat","background-size":"cover","background-position-x":"center","background-position-y":"center"}:{"background-color":this.model.backgroundColor},this.notInSubdivisionList=pn.H.getNotInSubdivisionList(this.model.notInFilter)}handleClickOnSlide(e,t){this.firstTimeVisitorService.setVisited(),this.clickHandlerService.handleClick("banner_promo",!1,e,-1,t)}handleClickOnSlideCTA(e,t,n){this.clickHandlerService.handleClick(`banner_promo_${n}`,!1,e,-1,t)}ngOnInit(){this.logoLazyLoadImage=this.imageService.getPlaceholderImage(1080,1440,"transparent"),this.fromUniversal=this.transferStateServiceCache.isFromUniversal()}ngAfterViewInit(){(0,r.isPlatformBrowser)(this.platformId)&&(this.scrollSubscription=(0,s.fromEvent)(this.windowService.window(),"scroll").pipe((0,c.debounceTime)(5)).subscribe((()=>{this.onScroll()})))}onScroll(){this.isBannerHidden()?this.headerService.showHeader():this.headerService.hideHeader(),this.buttonsBehindBanner=this.areButtonsBehindBanner()}ngOnDestroy(){this.scrollSubscription&&!this.scrollSubscription.closed&&this.scrollSubscription.unsubscribe()}isBannerHidden(){return this.windowService.window().pageYOffset>=this.banner.nativeElement.offsetTop+this.banner.nativeElement.offsetHeight}areButtonsBehindBanner(){return this.windowService.window().pageYOffset>=this.banner.nativeElement.offsetTop}getSafeHtml(e){return e?this.sanitizer.bypassSecurityTrustHtml(e):""}};cl.ɵfac=function(e){return new(e||cl)(i["ɵɵdirectiveInject"](Yc),i["ɵɵdirectiveInject"](ee.u),i["ɵɵdirectiveInject"](Ot.AJ),i["ɵɵdirectiveInject"](el.HV),i["ɵɵdirectiveInject"](tl),i["ɵɵdirectiveInject"](ze.DomSanitizer),i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](ie.m),i["ɵɵdirectiveInject"](un.M))},cl.ɵcmp=i["ɵɵdefineComponent"]({type:cl,selectors:[["bx-banner-welcome"]],viewQuery:function(e,t){if(1&e&&(i["ɵɵviewQuery"](il,5),i["ɵɵviewQuery"](rl,5)),2&e){let e;i["ɵɵqueryRefresh"](e=i["ɵɵloadQuery"]())&&(t.banner=e.first),i["ɵɵqueryRefresh"](e=i["ɵɵloadQuery"]())&&(t.buttons=e.first)}},inputs:{bannerWelcomeModel:"bannerWelcomeModel"},decls:40,vars:20,consts:[["role","group","bxHideBySubdivision","",1,"marketing-banner",3,"ngStyle"],["role","link",3,"bxLink","bxLinkTarget","click"],[1,"slots-banner"],["banner",""],["alt","logo",1,"img-responsive",3,"src"],[1,"ftv-banner","max-container"],["bxImage","","attr","welcome","alt","logo",1,"img-responsive",3,"src","defaultImage"],[1,"ftv-text"],["class","banner-welcome-text","anchorLinksHandler","",3,"innerHTML",4,"ngIf"],["class","banner-welcome-subtext","anchorLinksHandler","",3,"innerHTML",4,"ngIf"],[1,"login-container"],["buttons",""],["routerLink","/join","role","button",1,"custom-cta",3,"bxTranslate","ngClass","click"],["routerLink","/login","role","button",1,"custom-cta",3,"bxTranslate","ngClass","click"],[1,"lang-selector"],["anchorLinksHandler","",1,"banner-welcome-text",3,"innerHTML"],["anchorLinksHandler","",1,"banner-welcome-subtext",3,"innerHTML"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"section",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"a",1),i["ɵɵlistener"]("click",(function(){return t.handleClickOnSlide(t.model.name,t.model.tracking)})),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"figure",2,3),i["ɵɵtext"](7,"\n                    "),i["ɵɵelement"](8,"img",4),i["ɵɵtext"](9,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n                "),i["ɵɵelementStart"](11,"figure",5),i["ɵɵtext"](12,"\n                    "),i["ɵɵelement"](13,"img",6),i["ɵɵtext"](14,"\n                    "),i["ɵɵelementStart"](15,"figcaption",7),i["ɵɵtext"](16,"\n                        "),i["ɵɵtemplate"](17,ol,1,1,"p",8),i["ɵɵtext"](18,"\n                        "),i["ɵɵtemplate"](19,al,1,1,"span",9),i["ɵɵtext"](20,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](21,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](22,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](23,"\n            "),i["ɵɵelementStart"](24,"div",5),i["ɵɵtext"](25,"\n                "),i["ɵɵelementStart"](26,"div",10,11),i["ɵɵtext"](28,"\n                    "),i["ɵɵelementStart"](29,"a",12),i["ɵɵlistener"]("click",(function(){return t.handleClickOnSlideCTA(t.model.name,t.model.tracking,"join")})),i["ɵɵtext"](30,"bannerWelcome.join"),i["ɵɵelementEnd"](),i["ɵɵtext"](31,"\n                    "),i["ɵɵelementStart"](32,"a",13),i["ɵɵlistener"]("click",(function(){return t.handleClickOnSlideCTA(t.model.name,t.model.tracking,"login")})),i["ɵɵtext"](33,"bannerWelcome.login"),i["ɵɵelementEnd"](),i["ɵɵtext"](34,"\n                    "),i["ɵɵelement"](35,"bx-lang-select",14),i["ɵɵtext"](36,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](37,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](38,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](39,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngStyle",t.backgroundStyle),i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList),i["ɵɵadvance"](2),i["ɵɵproperty"]("bxLink",t.model.linkUrl)("bxLinkTarget",t.model.linkTarget),i["ɵɵadvance"](5),i["ɵɵproperty"]("src",t.bannerWelcomeConfig.brandLogo,i["ɵɵsanitizeUrl"]),i["ɵɵadvance"](5),i["ɵɵstyleProp"]("display",t.model.backgroundImage?"none":"block"),i["ɵɵproperty"]("src",null==t.model?null:t.model.image,i["ɵɵsanitizeUrl"])("defaultImage",t.logoLazyLoadImage),i["ɵɵattribute"]("src",t.fromUniversal?null==t.model?null:t.model.image:null,i["ɵɵsanitizeUrl"]),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngIf",t.model.text),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.model.subText),i["ɵɵadvance"](7),i["ɵɵclassProp"]("hide",t.buttonsBehindBanner),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](16,sl,(null==t.bannerWelcomeConfig.cta.join?null:t.bannerWelcomeConfig.cta.join.class)||"primary")),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](18,sl,(null==t.bannerWelcomeConfig.cta.login?null:t.bannerWelcomeConfig.cta.login.class)||"tertiary")))},directives:[hn.e,r.NgStyle,mn.I,Ft.t,r.NgIf,o.RouterLinkWithHref,Se.P,r.NgClass,nl.S,pi.$],styles:["@media screen and (max-width: 768px) and (orientation: landscape) {\n  .login-container[_ngcontent-%COMP%]   bx-lang-select[_ngcontent-%COMP%] {\n    display: none; } }\n\n[_nghost-%COMP%] {\n  display: block; }\n\n.marketing-banner[_ngcontent-%COMP%] {\n  background-color: #e0e0e0; }\n\n.slots-banner[_ngcontent-%COMP%] {\n  min-height: 70px; }"]}),cl=(0,a.__decorate)([(0,q.DE)({name:"BannerWelcome",mapper:Zc,matcher:e=>e.contentType===K.z.SLIDE&&e.fields.tags&&e.fields.tags.split(",").indexOf(bn.d.BANNER_WELCOME)>=0,contentMapper:{featureFlag:nn.u.CMS_SLIDE_MOBILE_IMAGES,mapper:(e,t)=>("mobile"===t.deviceType&&(e.fields.image_mobile&&e.fields.image_mobile.url&&(e.fields.image=e.fields.image_mobile),e.fields.background_image_mobile&&e.fields.background_image_mobile.url&&(e.fields.background_image=e.fields.background_image_mobile)),e)}}),(0,a.__metadata)("design:paramtypes",[Yc,ee.u,Ot.AJ,el.HV,tl,ze.DomSanitizer,Object,ie.m,un.M])],cl);var ll=n(49485);let dl=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Zc],imports:[[r.CommonModule,o.RouterModule,ll.s,Ni.a,Ei.d,Ot.$Q,W.J.withComponents([cl]),Pi.$,Ln.LO,Mn.m]]}),e})();var ul=n(68576);let pl=(()=>{class e{constructor(e,t){this.router=e,this.destinationStoreService=t}goUrl(){let e=this.destinationStoreService.getDestination();e?e.path?this.router.navigate([e.path],{queryParams:e.queryParams}):this.router.navigateByUrl(e):this.router.navigateByUrl("/")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](ul.B))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-btn-destination"]],decls:4,vars:0,consts:[["id","go-url-button","type","button",1,"custom-cta","primary","cta-large",3,"bxTranslate","click"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"button",0),i["ɵɵlistener"]("click",(function(){return t.goUrl()})),i["ɵɵtext"](2,"destinationStoredButton.continue"),i["ɵɵelementEnd"](),i["ɵɵtext"](3,"\n    "))},directives:[Se.P],encapsulation:2}),e})(),hl=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e,bootstrap:[pl]}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[r.CommonModule,o.RouterModule,Ei.d,Ca.C,ur.j,Ni.a]]}),e})(),ml=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Ne],imports:[[ks.P,ka.v,Ni.a]]}),e})();var fl=n(68964),gl=n(12473);let vl=(()=>{class e{constructor(e){this.router=e}canActivate(e,t){return this.router.navigate(["/"],{queryParams:gl(e.queryParams,{overlay:e.data.overlayUrl||t.url.replace("/","").replace(/\(overlay:(.+?)\)/,"")}),replaceUrl:t.root.queryParams.replaceUrl||!1}),!1}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](o.Router))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),bl=(()=>{class e{static forRoot(){return{ngModule:e,providers:[fl.v,vl]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[Aa.U,r.CommonModule,Ni.a,ks.P,o.RouterModule]]}),e})(),yl=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Eo.a],imports:[[Ei.d]]}),e})();var Sl=n(43304),Cl=n(80953),xl=n(71710);function Il(e,t){if(1&e&&i["ɵɵelement"](0,"wt-lazy",1),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("location",e.location)("inputs",e.inputs)}}const wl="RAFLinksModule";let El=class{constructor(e,t,n){this.rafLinksService=e,this.sessionService=t,this.urlPrefixService=n,this.location={moduleId:wl,selector:"bx-raf-links"}}ngOnInit(){this.sessionService.sessionObserver.subscribe((e=>{e.isAuthenticated&&!this.rafUrl&&this.getReferral()}))}getReferral(){this.rafUrl||this.rafLinksService.getReferralProfile().subscribe((e=>{this.rafUrl=(0,xl.EG)(this.rafLinksService.getReferralDomain(),this.urlPrefixService.getUrlPrefix(),e.trackingCode),this.inputs={rafUrl:this.rafUrl,theme:"light"}}))}};El.ɵfac=function(e){return new(e||El)(i["ɵɵdirectiveInject"](Cl.p),i["ɵɵdirectiveInject"](H.m),i["ɵɵdirectiveInject"](Ri.z))},El.ɵcmp=i["ɵɵdefineComponent"]({type:El,selectors:[["bx-raf"]],decls:3,vars:1,consts:[[3,"location","inputs",4,"ngIf"],[3,"location","inputs"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,Il,1,2,"wt-lazy",0),i["ɵɵtext"](2,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",t.rafUrl))},directives:[r.NgIf,j],encapsulation:2}),El=(0,a.__decorate)([(0,q.DE)({name:"RAF Functional Placeholder",matcher:e=>e.contentType===K.z.FUNCTIONAL&&e.fields.tags&&e.fields.tags.split(",").indexOf("RAF")>=0}),(0,a.__metadata)("design:paramtypes",[Cl.p,H.m,Ri.z])],El);var Tl=n(59677),Pl=n(10396);let Al=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Tl.pt],imports:[[r.CommonModule,o.RouterModule,Gn.D,wt.ny,Ni.a,L.withModule({moduleId:wl,loadChildren:()=>Promise.resolve().then(n.bind(n,75025)).then((e=>e.RAFLinksModule))}),Pl.U8,W.J.withComponents([El])]]}),e})();var _l=n(52652);let Ml=(()=>{class e{constructor(e){this.routingStateService=e}resolve(e){if(e.data&&e.data.postCFUrl)return(0,s.of)(e.data.postCFUrl);if(e.queryParams&&e.queryParams.postCFUrl)return(0,s.of)(e.queryParams.postCFUrl);const t=this.routingStateService.getHistory();if(t.length>0){let e=this.getPreviousUrl(t,1);return e.indexOf("?")>0&&(e=e.substring(0,e.indexOf("?"))),(0,s.of)(e)}return(0,s.of)(null)}getPreviousUrl(e,t){return e[e.length-t]}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Sa.Y))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Ol=(()=>{class e{getPostCFUrl(){return this.postCFUrl}setPostCFUrl(e){this.postCFUrl=e}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),kl=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Ml,Ol]}),e})();var jl=n(8122);let Nl=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[jl.I]}),e})();var Dl=n(90566);let Ll=(()=>{class e{constructor(e){this.document=e,this.close=new i.EventEmitter}ngOnInit(){this.removeScrollIfNeeded()}ngOnDestroy(){this.restoreScrollIfNeeded()}removeScrollIfNeeded(){this.hasScroll=!this.document.querySelectorAll("body.non-scroll").length,this.hasScroll&&this.document.querySelector("body").classList.add("non-scroll")}restoreScrollIfNeeded(){this.hasScroll&&this.document.querySelector("body").classList.remove("non-scroll")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](r.DOCUMENT))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-notification-overlay"]],inputs:{notification:"notification",context:"context"},outputs:{close:"close"},decls:10,vars:11,consts:[["tabindex","-1","role","dialog","aria-labelledby","modal",1,"modal-overlay",3,"ngClass"],[1,"modal-content",3,"ngClass"],["outputName","result",3,"component","context","output"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"bx-dynamic-loader-component",2),i["ɵɵtext"](6,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵclassProp"]("dark-overlay",t.notification.dark),i["ɵɵproperty"]("ngClass",t.notification.containerClassName),i["ɵɵadvance"](2),i["ɵɵclassProp"]("screen-center",t.notification.centered)("no-scroll-overlay",t.notification.noScroll),i["ɵɵproperty"]("ngClass",t.notification.className),i["ɵɵadvance"](2),i["ɵɵproperty"]("component",t.notification.content)("context",t.context)("output",t.close))},directives:[r.NgClass,Dl.W],styles:[".modal-overlay[_ngcontent-%COMP%] {\n            outline: none;\n        }\n        .modal-overlay[_ngcontent-%COMP%]   .modal-content.no-scroll-overlay[_ngcontent-%COMP%] {\n            overflow-x: hidden;\n            overflow-y: auto;\n        }\n        .modal-overlay[_ngcontent-%COMP%]   .modal-content[_ngcontent-%COMP%] {\n            margin-bottom: 0;\n        }"]}),e})();var Rl=n(42767),Fl=(()=>(function(e){e.withdraw="withdraw",e.updateProfile="updateProfile",e.login="login",e.enable2fa="enable2fa"}(Fl||(Fl={})),Fl))(),Bl=n(85443),Ul=n(14186);let Hl=(()=>{class e{constructor(e){this.analyticsService=e}sendClickEvent(e,t=null){this.sendEvent("click",e,t)}sendPageUpdateEvent(e,t=null){this.sendEvent("pageUpdate",e,t)}sendEvent(e,t,n){this.analyticsService.sendEvent(e,t,!0,n)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](re.y))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const Vl=function(e){return{tag:"textContent",label:e}};let Gl=(()=>{class e{constructor(){this.close=new i.EventEmitter}closeButtonClicked(){this.close.emit(!0)}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["mfa-verification-title"]],inputs:{titleKey:"titleKey"},outputs:{close:"close"},decls:7,vars:4,consts:[[3,"defaultCloseHandling","close"],[1,"h3-heading",3,"bxTranslate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"bx-overlay-header",0),i["ɵɵlistener"]("close",(function(){return t.closeButtonClicked()})),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"h3",1),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("defaultCloseHandling",!1),i["ɵɵadvance"](2),i["ɵɵproperty"]("bxTranslate",i["ɵɵpureFunction1"](2,Vl,t.titleKey)))},directives:[Lt.z,Se.P],encapsulation:2,changeDetection:0}),e})();const $l=function(e){return{"error-message":e}},zl=function(e){return{tag:"textContent",label:e}};function Wl(e,t){if(1&e&&i["ɵɵelement"](0,"p",3),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](2,$l,e.isInformationMessageAnError))("bxTranslate",i["ɵɵpureFunction1"](4,zl,e.informationMessage))}}function ql(e,t){if(1&e&&i["ɵɵelement"](0,"p",3),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](2,$l,e.isComplementaryMessageAnError))("bxTranslate",i["ɵɵpureFunction1"](4,zl,e.complementaryMessage))}}function Kl(e,t){if(1&e&&(i["ɵɵelementStart"](0,"p"),i["ɵɵtext"](1),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"](" ",e.phoneInfo," ")}}let Xl=(()=>{class e{getTitleText(){return this.errorKey?this.errorKey:this.titleKey}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["mfa-verification-info"]],inputs:{titleKey:"titleKey",errorKey:"errorKey",informationMessage:"informationMessage",isInformationMessageAnError:"isInformationMessageAnError",complementaryMessage:"complementaryMessage",isComplementaryMessageAnError:"isComplementaryMessageAnError",phoneInfo:"phoneInfo"},decls:10,vars:9,consts:[[1,"h5-heading",3,"ngClass","bxTranslate"],[3,"ngClass","bxTranslate",4,"ngIf"],[4,"ngIf"],[3,"ngClass","bxTranslate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"h5",0),i["ɵɵtext"](2,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](3,"\n        "),i["ɵɵtemplate"](4,Wl,1,6,"p",1),i["ɵɵtext"](5,"\n        "),i["ɵɵtemplate"](6,ql,1,6,"p",1),i["ɵɵtext"](7,"\n        "),i["ɵɵtemplate"](8,Kl,2,1,"p",2),i["ɵɵtext"](9,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](5,$l,t.errorKey))("bxTranslate",i["ɵɵpureFunction1"](7,zl,t.getTitleText())),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",""!==t.informationMessage),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",""!==t.complementaryMessage),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",""!==t.phoneInfo))},directives:[r.NgClass,Se.P,r.NgIf],encapsulation:2,changeDetection:0}),e})();var Yl=n(93144),Jl=n(82319),Ql=n(84245),Zl=n(58447),ed=n(74195),td=n(97241);const nd=function(e){return{tag:"textContent",label:e}};function id(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"a",7),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().onResendClicked()})),i["ɵɵtext"](1,"\n                    "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("bxTranslate",i["ɵɵpureFunction1"](1,nd,e.texts.resend))}}let rd=(()=>{class e{constructor(e){this.formService=e,this.proceed=new i.EventEmitter,this.resend=new i.EventEmitter,this.webtrekkPageEvent=new i.EventEmitter}ngOnInit(){this.initTextKeys(),this.formModel=new Yl.f({id:`${this.idFormPreffix}`,elements:{code:new Jl.b({id:`${this.idFormPreffix}-code`,type:"password",validators:{required:null,maxLength:20}})}}),this.formGroup=this.formService.createFormControl(this.formModel),this.webtrekkPageEvent.emit("sms_verification:form_view"),this.formGroup.valueChanges.pipe((0,c.take)(1)).subscribe((()=>{this.webtrekkPageEvent.emit("sms_verification:form_interaction")}))}initTextKeys(){this.texts={resend:`${this.keyText}.button.resendCode`,continue:`${this.keyText}.button.continue`}}onSubmit(){this.proceed.emit(this.formGroup.value)}onResendClicked(){this.resend.emit(!0)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](Ql.o))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["input-code-form"]],inputs:{idFormPreffix:"idFormPreffix",keyText:"keyText",canResend:"canResend"},outputs:{proceed:"proceed",resend:"resend",webtrekkPageEvent:"webtrekkPageEvent"},decls:22,vars:10,consts:[[3,"formGroup","ngSubmit"],[1,"form-body"],[3,"model","controlGroup"],[1,"after-link"],["class","custom-link",3,"bxTranslate","click",4,"ngIf"],[1,"buttons","full-width-ctas"],["type","submit","id","verification-code-submit",1,"custom-cta","cta-large","primary",3,"bxTranslate"],[1,"custom-link",3,"bxTranslate","click"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"bx-form",0),i["ɵɵlistener"]("ngSubmit",(function(){return t.onSubmit()})),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"bx-form-group",2),i["ɵɵpipe"](6,"bxTranslationKeys"),i["ɵɵtext"](7,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n                "),i["ɵɵelementStart"](9,"p",3),i["ɵɵtext"](10,"\n                    "),i["ɵɵtemplate"](11,id,2,3,"a",4),i["ɵɵtext"](12,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](13,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n            "),i["ɵɵelementStart"](15,"div",5),i["ɵɵtext"](16,"\n                "),i["ɵɵelementStart"](17,"button",6),i["ɵɵtext"](18,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](19,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](20,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](21,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("formGroup",t.formGroup),i["ɵɵadvance"](4),i["ɵɵproperty"]("model",i["ɵɵpipeBind2"](6,5,t.formModel,t.idFormPreffix))("controlGroup",t.formGroup),i["ɵɵadvance"](6),i["ɵɵproperty"]("ngIf",t.canResend),i["ɵɵadvance"](6),i["ɵɵproperty"]("bxTranslate",i["ɵɵpureFunction1"](8,nd,t.texts.continue)))},directives:[Zl.U,me.NgControlStatusGroup,me.FormGroupDirective,ed.E,r.NgIf,Se.P],pipes:[td.o],encapsulation:2,changeDetection:0}),e})(),od=(()=>{class e{constructor(){this.close=new i.EventEmitter,this.proceed=new i.EventEmitter,this.resend=new i.EventEmitter,this.webtrekkPageEvent=new i.EventEmitter}onClose(){this.close.emit()}onProceed(e){this.proceed.emit(e)}onResend(){this.resend.emit()}onWebtrekkPageEvent(e){this.webtrekkPageEvent.emit(e)}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["verification-code-root"]],inputs:{headerKey:"headerKey",titleKey:"titleKey",errorKey:"errorKey",informationMessage:"informationMessage",isInformationMessageAnError:"isInformationMessageAnError",complementaryMessage:"complementaryMessage",isComplementaryMessageAnError:"isComplementaryMessageAnError",phoneInfo:"phoneInfo",keyText:"keyText",canResend:"canResend"},outputs:{close:"close",proceed:"proceed",resend:"resend",webtrekkPageEvent:"webtrekkPageEvent"},decls:16,vars:11,consts:[[1,"verification-code-content"],[3,"titleKey","close"],[1,"modal-body"],[3,"titleKey","errorKey","informationMessage","isInformationMessageAnError","complementaryMessage","isComplementaryMessageAnError","phoneInfo"],[3,"keyText","idFormPreffix","canResend","proceed","resend","webtrekkPageEvent"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"mfa-verification-title",1),i["ɵɵlistener"]("close",(function(){return t.onClose()})),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n            "),i["ɵɵelementStart"](6,"section",2),i["ɵɵtext"](7,"\n                "),i["ɵɵelementStart"](8,"mfa-verification-info",3),i["ɵɵtext"](9,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n                "),i["ɵɵelementStart"](11,"input-code-form",4),i["ɵɵlistener"]("proceed",(function(e){return t.onProceed(e)}))("resend",(function(){return t.onResend()}))("webtrekkPageEvent",(function(e){return t.onWebtrekkPageEvent(e)})),i["ɵɵtext"](12,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](13,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](15,"\n    ")),2&e&&(i["ɵɵadvance"](3),i["ɵɵproperty"]("titleKey",t.headerKey),i["ɵɵadvance"](5),i["ɵɵproperty"]("titleKey",t.titleKey)("errorKey",t.errorKey)("informationMessage",t.informationMessage)("isInformationMessageAnError",t.isInformationMessageAnError)("complementaryMessage",t.complementaryMessage)("isComplementaryMessageAnError",t.isComplementaryMessageAnError)("phoneInfo",t.phoneInfo),i["ɵɵadvance"](3),i["ɵɵproperty"]("keyText",t.keyText)("idFormPreffix","verificationCode")("canResend",t.canResend))},directives:[Gl,Xl,rd],encapsulation:2,changeDetection:0}),e})(),ad=(()=>{class e{constructor(e,t,n,r,o){this.validationCodeService=e,this.profileStore=t,this.translateService=n,this.windowService=r,this.verificationAnalyticsService=o,this.blocked=!1,this.canResend=!0,this.componentAlive=!0,this.canReload=!0,this.result=new i.EventEmitter,this.profileStore.profile.phones.length||this.profileStore.refresh()}ngOnInit(){this.operation=this.context.operation,this.headerKey=`verification.${this.operation}.title`,this.shallWeSendSubmitEvent=!this.context.error,this.translateService.translate("validationCode.overlay.content.message.phoneNumber",{phoneNumber:""}).pipe((0,c.takeWhile)((()=>this.componentAlive))).subscribe((e=>this.phoneInfoValue=e)),this.context.error?this.getRemainingAttemptsMessage():this.requestConfirmationCode(),this.canResend="login"!==this.operation,this.canReload="enable2fa"!==this.operation}ngOnDestroy(){this.componentAlive=!1}getRemainingAttemptsMessage(){this.clearErrorsInformation(!0);let e=this.context.error.remainingAttempts;if(e){let t="verificationCode.overlay.error.invalidCode",n="";1===e?(this.sendLastAttemptEvent(),n="verificationCode.overlay.error.lastAttempt"):(this.sendCodeDoesNotMatchEvent(),n="verificationCode.overlay.error.remainingAttempts"),this.translateService.translate(t).pipe((0,c.takeWhile)((()=>this.componentAlive))).subscribe((e=>{this.informationMessage=e,this.isInformationMessageAnError=!0})),this.translateService.translate(n,{remainingAttempts:e}).pipe((0,c.takeWhile)((()=>this.componentAlive))).subscribe((e=>{this.complementaryMessage=e,this.isComplementaryMessageAnError=!0}))}}phoneInfo(){const e=this.profileStore.profile.phones[0];return e&&this.phoneInfoValue?this.phoneInfoValue+this.getMaskedPhone(e):""}getMaskedPhone(e){return e.length>2?Array(e.length-3).join("*")+e.substring(e.length-4):e}onCancel(){this.result.next({cancel:!0}),this.canReload&&this.windowService.window().location.reload()}onProceed(e){e&&(this.result.next({cancel:!1,code:e.code}),this.sendClickOnSubmitEvent())}onResend(){this.requestConfirmationCode(),this.verificationAnalyticsService.sendClickEvent("sms_verification:resend_code:"+this.operation)}requestConfirmationCode(){this.validationCodeService.requestConfirmationCode(this.operation).pipe((0,c.finalize)((()=>{this.clearErrorsInformation(!1)}))).subscribe((e=>{this.updateRequestConfirmationCodeMessagesSuccess(e.remainingSendAttempts),this.updateResendButton(e.remainingSendAttempts)}),(e=>{const t=e.error||{};this.handleRequestConfirmationCodeErrors(e.status,t.errorCode)}))}onWebtrekkPageEvent(e){this.context.error||this.verificationAnalyticsService.sendPageUpdateEvent(e+":"+this.operation)}updateRequestConfirmationCodeMessagesSuccess(e){this.errorKey="",this.informationMessage=0===e?"verificationCode.overlay.content.message.resend.lastCode":"verificationCode.overlay.content.message.pleaseEnterCode"}clearErrorsInformation(e){this.isInformationMessageAnError=!1,this.isComplementaryMessageAnError=!1,this.complementaryMessage="",e&&(this.informationMessage="")}updateResendButton(e){this.canResend=e>=1}handleRequestConfirmationCodeErrors(e,t){423===e?"ACCOUNT_BLOCKED"===t?this.blocked=!0:"NO_REMAINING_SEND_CODE_ATTEMPT"===t?this.canResend=!1:this.errorKey="verificationCode.overlay.error.errorValidatingPhone":this.errorKey="verificationCode.overlay.error.errorValidatingPhone"}sendClickOnSubmitEvent(){this.shallWeSendSubmitEvent&&(this.verificationAnalyticsService.sendPageUpdateEvent("sms_verification:user_click_submit:"+this.operation),this.shallWeSendSubmitEvent=!1)}sendLastAttemptEvent(){this.verificationAnalyticsService.sendClickEvent("sms_verification_error",{1:"one_more_fail_warning:"+this.operation})}sendCodeDoesNotMatchEvent(){this.verificationAnalyticsService.sendClickEvent("sms_verification_error",{1:"code_doesnt_match:"+this.operation})}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](Ul.o),i["ɵɵdirectiveInject"](pe.s),i["ɵɵdirectiveInject"](fe.s),i["ɵɵdirectiveInject"](ee.u),i["ɵɵdirectiveInject"](Hl))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-verification-code"]],inputs:{context:"context"},outputs:{result:"result"},decls:7,vars:10,consts:[[1,"wrapper","verification-code-confirmation"],[3,"headerKey","titleKey","keyText","errorKey","informationMessage","isInformationMessageAnError","complementaryMessage","isComplementaryMessageAnError","phoneInfo","canResend","close","proceed","resend","webtrekkPageEvent"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"verification-code-root",1),i["ɵɵlistener"]("close",(function(){return t.onCancel()}))("proceed",(function(e){return t.onProceed(e)}))("resend",(function(){return t.onResend()}))("webtrekkPageEvent",(function(e){return t.onWebtrekkPageEvent(e)})),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n    ")),2&e&&(i["ɵɵadvance"](3),i["ɵɵproperty"]("headerKey",t.headerKey)("titleKey","verificationCode.overlay.content.title.weHaveJustSentYouACode")("keyText","verificationCode.overlay.content")("errorKey",t.errorKey)("informationMessage",t.informationMessage)("isInformationMessageAnError",t.isInformationMessageAnError)("complementaryMessage",t.complementaryMessage)("isComplementaryMessageAnError",t.isComplementaryMessageAnError)("phoneInfo",t.phoneInfo())("canResend",t.canResend))},directives:[od],encapsulation:2}),e})();var sd=n(79611);function cd(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div",6),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"p",7),i["ɵɵtext"](3),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](3),i["ɵɵtextInterpolate1"](" ",e.errorMsg,"\n                ")}}function ld(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div"),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"a",8),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().onForgotPincode()})),i["ɵɵtext"](3),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](3),i["ɵɵtextInterpolate1"](" ",e.texts.forgot,"")}}const dd=function(e){return{tag:"textContent",label:e}};let ud=(()=>{class e{constructor(e){this.formBuilder=e,this.pinCodeDigitsEntered=0,this.proceed=new i.EventEmitter,this.forgotPinCode=new i.EventEmitter,this.webtrekkPageEvent=new i.EventEmitter}ngOnInit(){this.initTextKeys(),this.pinCodeForm=this.formBuilder.group({pinCode:this.formBuilder.control("",[me.Validators.required,me.Validators.minLength(4),me.Validators.maxLength(4)])}),this.webtrekkPageEvent.emit("pin_verification:form_view"),this.pinCodeForm.valueChanges.pipe((0,c.take)(1)).subscribe((()=>{this.webtrekkPageEvent.emit("pin_verification:form_interaction")}))}initTextKeys(){this.texts={label:`${this.keyText}.actual.pin`,forgot:`${this.keyText}.forgot.pincode`,continue:`${this.keyText}.button.continue`}}onPinCodeInputChanged(e){this.pinCodeDigitsEntered=e}submitButtonDisabled(){return this.pinCodeDigitsEntered!==ye.b.PIN_DIGITS}onSubmit(){this.proceed.emit(this.pinCodeForm.value)}onForgotPincode(){this.forgotPinCode.emit()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](me.FormBuilder))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["input-pin-code-form"]],inputs:{keyText:"keyText",isForgotPinEnabled:"isForgotPinEnabled",errorMsg:"errorMsg"},outputs:{proceed:"proceed",forgotPinCode:"forgotPinCode",webtrekkPageEvent:"webtrekkPageEvent"},decls:17,vars:9,consts:[[3,"formGroup","ngSubmit"],["formControlName","pinCode",3,"fieldLabel","showPinCodeLegend","amountOfDigitsEntered"],["class","custom-field invalid-field",4,"ngIf"],[4,"ngIf"],[1,"buttons","full-width-ctas"],["type","submit","id","verification-pin-code-submit",1,"custom-cta","cta-large","primary",3,"disabled","bxTranslate"],[1,"custom-field","invalid-field"],[1,"error-msg"],["id","forgot-pincode",1,"custom-link",3,"bxTranslate","click"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"bx-form",0),i["ɵɵlistener"]("ngSubmit",(function(){return t.onSubmit()})),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"bx-pin-code",1),i["ɵɵlistener"]("amountOfDigitsEntered",(function(e){return t.onPinCodeInputChanged(e)})),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n\n            "),i["ɵɵtemplate"](6,cd,5,1,"div",2),i["ɵɵtext"](7,"\n\n            "),i["ɵɵtemplate"](8,ld,5,1,"div",3),i["ɵɵtext"](9,"\n\n            "),i["ɵɵelementStart"](10,"div",4),i["ɵɵtext"](11,"\n                "),i["ɵɵelementStart"](12,"button",5),i["ɵɵtext"](13,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](15,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("formGroup",t.pinCodeForm),i["ɵɵadvance"](2),i["ɵɵproperty"]("fieldLabel",t.texts.label)("showPinCodeLegend",!0),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",t.errorMsg),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.isForgotPinEnabled),i["ɵɵadvance"](4),i["ɵɵproperty"]("disabled",t.submitButtonDisabled())("bxTranslate",i["ɵɵpureFunction1"](7,dd,t.texts.continue)))},directives:[Zl.U,me.NgControlStatusGroup,me.FormGroupDirective,ye.b,me.NgControlStatus,me.FormControlName,r.NgIf,Se.P],encapsulation:2,changeDetection:0}),e})(),pd=(()=>{class e{constructor(){this.close=new i.EventEmitter,this.proceed=new i.EventEmitter,this.forgotPinCode=new i.EventEmitter,this.webtrekkPageEvent=new i.EventEmitter}onClose(){this.close.emit()}onProceed(e){this.proceed.emit(e)}onForgotPincode(){this.forgotPinCode.emit()}onWebtrekkPageEvent(e){this.webtrekkPageEvent.emit(e)}}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["verification-pin-code-root"]],inputs:{headerKey:"headerKey",titleKey:"titleKey",informationMessage:"informationMessage",keyText:"keyText",isForgotPinEnabled:"isForgotPinEnabled"},outputs:{close:"close",proceed:"proceed",forgotPinCode:"forgotPinCode",webtrekkPageEvent:"webtrekkPageEvent"},decls:16,vars:5,consts:[[1,"verification-pin-code-content"],[3,"titleKey","close"],[1,"modal-body"],[3,"titleKey"],[3,"keyText","isForgotPinEnabled","errorMsg","proceed","forgotPinCode","webtrekkPageEvent"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"mfa-verification-title",1),i["ɵɵlistener"]("close",(function(){return t.onClose()})),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n            "),i["ɵɵelementStart"](6,"section",2),i["ɵɵtext"](7,"\n                "),i["ɵɵelementStart"](8,"mfa-verification-info",3),i["ɵɵtext"](9,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n                "),i["ɵɵelementStart"](11,"input-pin-code-form",4),i["ɵɵlistener"]("proceed",(function(e){return t.onProceed(e)}))("forgotPinCode",(function(){return t.onForgotPincode()}))("webtrekkPageEvent",(function(e){return t.onWebtrekkPageEvent(e)})),i["ɵɵtext"](12,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](13,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](15,"\n    ")),2&e&&(i["ɵɵadvance"](3),i["ɵɵproperty"]("titleKey",t.headerKey),i["ɵɵadvance"](5),i["ɵɵproperty"]("titleKey",t.titleKey),i["ɵɵadvance"](3),i["ɵɵproperty"]("keyText",t.keyText)("isForgotPinEnabled",t.isForgotPinEnabled)("errorMsg",t.informationMessage))},directives:[Gl,Xl,ud],encapsulation:2,changeDetection:0}),e})(),hd=(()=>{class e{constructor(e,t,n,r,o,a){this.forgotPinService=e,this.siteConfigService=t,this.translateService=n,this.toastNotificationService=r,this.windowService=o,this.verificationAnalyticsService=a,this.componentAlive=!0,this.result=new i.EventEmitter}ngOnInit(){this.operation=this.context.operation,this.isForgotPinEnabled=this.siteConfigService.evalFeature("site.config.forgot.pincode.enabled")&&"login"!==this.operation,this.headerKey=`verification.${this.context.operation}.title`,this.shallWeSendSubmitEvent=!this.context.error,this.getRemainingAttemptsMessage(),this.translateService.translate("verificationPinCode.overlay.email.sent").pipe((0,c.takeWhile)((()=>this.componentAlive))).subscribe((e=>this.successForgotPinMessage=e)),this.canReload="enable2fa"!==this.operation}ngOnDestroy(){this.componentAlive=!1}getRemainingAttemptsMessage(){if(this.context.error){let e=this.context.error.remainingAttempts,t="";e&&1===e?(this.sendLastAttemptEvent(),t="verificationPinCode.overlay.content.message.lastAttempt"):e&&(this.sendCodeDoesNotMatchEvent(),t="verificationPinCode.overlay.content.message.failmessage"),t&&this.translateService.translate(t,{attempts:e}).pipe((0,c.takeWhile)((()=>this.componentAlive))).subscribe((e=>this.messageInfo=e))}}onCancel(){this.result.next({cancel:!0}),this.canReload&&this.windowService.window().location.reload()}onProceed(e){e&&(this.result.next({cancel:!1,code:e.pinCode}),this.sendClickOnSubmitEvent())}onForgotPincode(){this.forgotPinService.requestForgotPin().subscribe((()=>{this.toastNotificationService.add({msg:this.successForgotPinMessage,onRemove:()=>{this.onCancel()}})}),(()=>{this.messageInfo="verificationPinCode.overlay.error"}))}onWebtrekkPageEvent(e){this.context.error||this.verificationAnalyticsService.sendPageUpdateEvent(e+":"+this.operation)}sendClickOnSubmitEvent(){this.shallWeSendSubmitEvent&&(this.verificationAnalyticsService.sendPageUpdateEvent("pin_verification:user_click_submit:"+this.operation),this.shallWeSendSubmitEvent=!1)}sendLastAttemptEvent(){this.verificationAnalyticsService.sendClickEvent("pin_verification_error",{1:"one_more_fail_warning:"+this.operation})}sendCodeDoesNotMatchEvent(){this.verificationAnalyticsService.sendClickEvent("pin_verification_error",{1:"code_doesnt_match:"+this.operation})}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](sd.k),i["ɵɵdirectiveInject"](V.r),i["ɵɵdirectiveInject"](fe.s),i["ɵɵdirectiveInject"](Pa.il),i["ɵɵdirectiveInject"](ee.u),i["ɵɵdirectiveInject"](Hl))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-verification-pin-code"]],inputs:{context:"context"},outputs:{result:"result"},decls:7,vars:5,consts:[[1,"wrapper","verification-pin-code-confirmation"],[3,"headerKey","titleKey","keyText","informationMessage","isForgotPinEnabled","close","proceed","forgotPinCode","webtrekkPageEvent"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"verification-pin-code-root",1),i["ɵɵlistener"]("close",(function(){return t.onCancel()}))("proceed",(function(e){return t.onProceed(e)}))("forgotPinCode",(function(){return t.onForgotPincode()}))("webtrekkPageEvent",(function(e){return t.onWebtrekkPageEvent(e)})),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n    ")),2&e&&(i["ɵɵadvance"](3),i["ɵɵproperty"]("headerKey",t.headerKey)("titleKey","verificationPinCode.overlay.content.title")("keyText","verificationPinCode.overlay.content")("informationMessage",t.messageInfo)("isForgotPinEnabled",t.isForgotPinEnabled))},directives:[pd],encapsulation:2}),e})(),md=(()=>{class e{constructor(e,t,n,i,r,o){this.injector=e,this.mfaCommunicationService=t,this.toastNotificationService=n,this.translateService=i,this.windowService=r,this.analyticsService=o}init(){this.translateService.translate("verification.accountBlocked.label").subscribe((e=>this.accountBlockedTranslated=e)),this.injectionService=this.injector.get(Rl.Y),this.mfaCommunicationService.codeRequest.subscribe((e=>{this.open(e).subscribe((e=>{this.mfaCommunicationService.emitCode(e)}))})),this.mfaCommunicationService.closePopup.subscribe((e=>{this.error=void 0,e&&e.success&&this.sendSuccessPageViewEvent(e.communicationMethod,e.operation),this.close()})),this.mfaCommunicationService.errorEvent.subscribe((e=>{this.close(),this.error=e})),this.mfaCommunicationService.accountBlockedEvent.subscribe((e=>{this.sendBlockedAnalyticEvent(e.communicationMethod,e.operation),this.toastNotificationService.add({msg:this.accountBlockedTranslated,type:"error",onRemove:()=>this.windowService.window().location.reload()})}))}getComponentFromCommunicationMethod(e){return"SMS"===e?ad:"PIN_CODE"===e?hd:null}getContext(e){return{content:this.getComponentFromCommunicationMethod(e),dark:!0,noScroll:!0,className:"modal-medium"}}open(e){let t=this.getContext(e.communicationMethod);const n={operation:Fl[e.operation],error:this.error};return this.component=this.injectionService.appendComponent(Ll,{notification:t,context:n},null),this.component.instance.close}close(){this.component.destroy()}sendSuccessPageViewEvent(e,t){let n;"PIN_CODE"===e?n="pin_verification":"SMS"===e&&(n="sms_verification"),n&&this.analyticsService.sendEvent("pageUpdate",n+":success_pageview:"+t,!0,null)}sendBlockedAnalyticEvent(e,t){let n;"PIN_CODE"===e?n="pin_verification_error":"SMS"===e&&(n="sms_verification_error"),n&&this.analyticsService.sendEvent("click",n+":"+t,!0,{1:"temporary_block:"+t})}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.Injector),i["ɵɵinject"](Bl.g),i["ɵɵinject"](Pl.il),i["ɵɵinject"](fe.s),i["ɵɵinject"](ee.u),i["ɵɵinject"](re.y))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),fd=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e,bootstrap:[Ll]}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[r.CommonModule,xc.B],xc.B]}),e})();var gd=n(8807),vd=n(92969);let bd=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e,bootstrap:[ad,hd]}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Ul.o,Ql.o,md,Hl],imports:[[r.CommonModule,xc.B,Ni.a,gd.E,Pl.U8,fd,Ka.N,go.I,vd.U]]}),e})();var yd=n(51487),Sd=n(64076),Cd=n(58710),xd=n(6054);let Id=(()=>{class e{static forRoot(){return{ngModule:e,providers:[Cd.r,{provide:xd.z,useExisting:Cd.r}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({}),e})(),wd=(()=>{class e{constructor(e){this.siteConfigService=e}canActivate(){return this.evalFeature()}canLoad(){return this.evalFeature()}evalFeature(){return this.siteConfigService.evalFeature("site.config.dynamic.cards.enabled")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Ed=n(81435),Td=n(83471),Pd=n(76795),Ad=n(77388);let _d=(()=>{class e{constructor(e){this.translateService=e}getGameDetails(e){let t=this.getDetailsKeyFromGameId(e),n=`dynamic.cards.${t}.details`,i=`dynamic.cards.game.${t}`;return this.translateService.loadTranslations("dynamic").pipe((0,c.filter)((e=>e[n]&&e[i])),(0,c.switchMap)((t=>{let r=new Ad.Th;return r.id=e,r.longDescription=t[n],r.name=t[i],(0,s.of)(r)})))}getDetailsKeyFromGameId(e){switch(e){case 521:return"blackjack.early";case 522:return"blackjack";case 520:case 519:return"roulette";case 518:return"super6";case 517:return"baccarat";default:return""}}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](fe.s))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Md=(()=>{class e{static forRoot(){return{ngModule:e,providers:[wd,Ed.U,Td.A,Pd.j,_d]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[],imports:[[]]}),e})();const Od={dynamicRoutesConfig:{marketing_page:{component:Wc.Tz,data:{isMarketingPage:!0,showHeaderMenu:!0}},promotion:{component:Ii,data:{overlayComponentPosition:"top",overlayComponentTint:"light",overlayComponentStyle:"noHorizontalScroll"}},article:{component:en,data:{overlayComponentPosition:"top",overlayComponentTint:"light",overlayComponentStyle:"noHorizontalScroll"}},generic:{component:Uc,data:{overlayComponentPosition:"top",overlayComponentTint:"light"}}}};var kd=n(92920);let jd=(()=>{class e{constructor(){}mapMenus(e){let t=[],n=[],i=this.getContentFieldValue(e,"items")||[],r=!1,o=!1;if(Array.isArray(i)){let e=this.getMenusByTag(i,"primaryNavMenu"),a=this.getMenusByTag(i,"secondaryNavMenu");t=e?this.getMenuItems(e):t,n=a?this.getMenuItems(a):n,r=e&&"draft"===e.status,o=a&&"draft"===a.status}return{contentType:"MENU",fields:{primaryElements:{value:t,draft:r},secondaryElements:{value:n,draft:o}},slug:this.getContentFieldValue(e,"slug")||"",draft:"draft"===e.status}}getContentFieldValue(e,t){return e.fields&&e.fields[t]}getMenuItems(e){let t=this.getContentFieldValue(e,"items");return Array.isArray(t)?t.map((e=>this.mapMenuItem(e))):[]}mapMenuItem(e){let t,n,i,r;if(e.contentType){let n=this.getContentFieldValue(e,"menuItemLabel"),r=this.getContentFieldValue(e,"title");t=n||r,i=this.getContentFieldValue(e,"iconClass")}else t=e.linkText,i=e.iconClass,r=e.linkTarget;n=Kn.K.mapLinkUrl(e);let o=null;if(e.filter){const t=pn.H.map(e.filter);o=pn.H.getNotInSubdivisionList(t)}return{label:t||"",link:n||"",icon:i||"",target:r||Jc.e.NONE,draft:e&&"draft"===e.status,notInSubdivisionList:o}}getMenusByTag(e,t){return e.filter((e=>{let n=-1!==(this.getContentFieldValue(e,"tags")||"").split(",").indexOf(t);return e.contentType===K.z.MENU&&n}))[0]}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Nd=(()=>{class e{constructor(e,t,n,i){this.contentService=e,this.cmsFeatureFlagService=t,this.navMenuCmsMapper=n,this.SECONDARY_ELEMENTS="secondaryElements",this.PRIMARY_ELEMENTS="primaryElements",this.SECTION_FLAG="nav-menus",this.navMenuData=i.nativeGlobal.navMenu}getNavMenuData(){if(this.cmsFeatureFlagService.isSectionEnabled(this.SECTION_FLAG)){let e={filter:"navigation"};return this.contentService.getContentBySlug("nav-menu",this.SECTION_FLAG,e).pipe((0,c.map)((e=>this.navMenuCmsMapper.mapMenus(e))))}return this.navMenuData&&!kd(this.navMenuData)?(0,s.of)(this.navMenuData):this.contentService.getContent("nav-menu")}getNavBarItems(e,t){return this.getNavBarMenu(e,t).value||[]}getNavBarMenu(e,t){return e&&e.fields&&e.fields[t]||[]}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](oo._s),i["ɵɵinject"](nn.u),i["ɵɵinject"](jd),i["ɵɵinject"](Ao.w))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Dd=n(34581),Ld=n(5380);let Rd=(()=>{class e{constructor(e,t,n){this.router=e,this.windowService=t,this.platformId=n,this.MARKETING_PAGE_MENU="mkMenu"}isActiveHeaderButton(){return this.router.isActive("/account",!1)||this.isActiveHeaderButtonTertiary()}isDisplayingHeaderButton(){return this.router.isActive("/account",!0)||this.isDisplayingHeaderButtonTertiary()}isActiveHeaderButtonTertiary(){return(this.isShowHeaderEnabledInRouterData()||this.isShowHeaderEnabledInQueryParams())&&this.isMobileSize()}isDisplayingHeaderButtonTertiary(){return this.isShowHeaderEnabledInQueryParams()&&this.isMobileSize()}isShowHeaderEnabledInQueryParams(){return!!this.router.parseUrl(this.router.url).queryParams.showHeaderMenu}isMobileSize(){return(0,r.isPlatformBrowser)(this.platformId)&&this.windowService.window().innerWidth<=Ld.x}isShowHeaderEnabledInRouterData(){let e=this.router.routerState.snapshot.root;for(;e.firstChild;)e=e.firstChild;let t=e.data.showHeaderMenu,n=e.data.marketingPage;return t&&n?n.tags&&-1!=n.tags.indexOf(this.MARKETING_PAGE_MENU):t}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](o.Router),i["ɵɵinject"](ee.u),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Fd=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.headerMenuCopperHeadService=t,this.destinationService=n,this.componentNotificationEventDispatcher=i,this.windowService=r,this.isActive=!1,this.lastUrl="/"}ngOnInit(){this.updateStatus(),this.routerSubscription=this.router.events.pipe((0,c.filter)((e=>e instanceof o.NavigationEnd))).subscribe((()=>{this.updateStatus()}))}toggle(){if(this.shouldSaveUrl()&&(this.lastUrl=this.router.url,this.destinationService.setDestination(this.lastUrl)),this.isActive){const e=this.destinationService.getDestination();e?e.path?this.router.navigate([e.path],{queryParams:e.queryParams}):this.router.navigateByUrl(e):this.router.navigateByUrl(this.lastUrl)}else this.updateDisplayingState(!this.isDisplaying)}hide(){this.updateDisplayingState(!!this.isActive&&this.isDisplaying)}updateStatus(){this.isActive=this.headerMenuCopperHeadService.isActiveHeaderButton(),this.updateDisplayingState(this.headerMenuCopperHeadService.isDisplayingHeaderButton())}shouldSaveUrl(){let e=!this.isActive&&!this.isDisplaying,t=this.destinationService.getDestination()!==this.router.url;return e&&t}updateDisplayingState(e){!!e!=!!this.isDisplaying&&this.manageNotifications(e),this.isDisplaying=e}manageNotifications(e){this.windowService&&this.componentNotificationEventDispatcher&&this.windowService.getIsPlatformBrowser()&&this.windowService.window().innerWidth<=Ld.x&&(e?this.componentNotificationEventDispatcher.block():this.componentNotificationEventDispatcher.unblock())}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](Rd),i["ɵɵdirectiveInject"](ul.B),i["ɵɵdirectiveInject"](Dd.K),i["ɵɵdirectiveInject"](ee.u))},e.ɵdir=i["ɵɵdefineDirective"]({type:e}),e})();var Bd=n(91184),Ud=n(40606);function Hd(e,t){if(1&e&&(i["ɵɵelementStart"](0,"span",1),i["ɵɵtext"](1),i["ɵɵpipe"](2,"bxMonetaryAmount"),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("id",e.getIdBalance())("ngClass",e.product),i["ɵɵadvance"](1),i["ɵɵtextInterpolate"](i["ɵɵpipeBind1"](2,3,e.getAmount()))}}let Vd=(()=>{class e{constructor(e){this.store=e}getIdBalance(){return"balance"+(this.product?`-${this.product}`:"")}getAmount(){if(this.product){let e=`playable${this.getFormattedProduct()}`;return this.store[e]}return this.store.totalWithExternalWallets}getFormattedProduct(){return`${this.product.substr(0,1).toUpperCase()}${this.product.substr(1).toLowerCase()}`}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](Cd.r))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-balance"]],inputs:{product:"product"},decls:3,vars:0,consts:[["class","balance-value",3,"id","ngClass",4,"mobxAutorun"],[1,"balance-value",3,"id","ngClass"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,Hd,3,5,"span",0),i["ɵɵtext"](2,"\n    "))},directives:[Bd.fF,r.NgClass],pipes:[Ud.W],encapsulation:2,changeDetection:0}),e})();var Gd=n(56479);const $d=function(e){return{active:e}};function zd(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"button",2),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().toggle()})),i["ɵɵtext"](1,"\n            "),i["ɵɵelement"](2,"bx-balance"),i["ɵɵtext"](3,"\n            "),i["ɵɵelement"](4,"i",3),i["ɵɵtext"](5,"\n            "),i["ɵɵelement"](6,"i",4),i["ɵɵtext"](7,"\n            "),i["ɵɵelementStart"](8,"bx-communications-counter",5),i["ɵɵtext"](9,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](10,"\n\n        "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](4,$d,e.shouldColorBackground()))("ngStyle",e.getButtonBackgroundColor()),i["ɵɵadvance"](4),i["ɵɵproperty"]("ngStyle",e.getIconColor()),i["ɵɵadvance"](4),i["ɵɵproperty"]("backgroundStyle","fixed")}}function Wd(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"button",6),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().toggle()})),i["ɵɵtext"](1,"\n            "),i["ɵɵelement"](2,"i",7),i["ɵɵtext"](3,"\n            "),i["ɵɵelement"](4,"i",4),i["ɵɵtext"](5,"\n        "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](1,$d,e.shouldColorBackground()))}}let qd=(()=>{class e extends Fd{constructor(e,t,n,i,o,a,s){super(e,t,i,a,s),this.loyaltyStore=n,this.platformId=o,this.isBrowser=!1,this.isBrowser=(0,r.isPlatformBrowser)(this.platformId)}getButtonBackgroundColor(){return this.shouldColorBackground()&&this.loyaltyStore.currentTierColor?{background:this.loyaltyStore.currentTierColor}:{}}getIconColor(){return!this.shouldColorBackground()&&this.loyaltyStore.currentTierColor?{color:this.loyaltyStore.currentTierColor}:{}}shouldColorBackground(){return this.isDisplaying||this.isActive}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](Rd),i["ɵɵdirectiveInject"](ue.K),i["ɵɵdirectiveInject"](ul.B),i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](Dd.K),i["ɵɵdirectiveInject"](ee.u))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-header-logged-in-menu-ch"]],features:[i["ɵɵInheritDefinitionFeature"]],decls:5,vars:2,consts:[["class","account-balance menu-btn",3,"ngClass","ngStyle","click",4,"ngIf"],["class","account-balance menu-btn",3,"ngClass","click",4,"ngIf"],[1,"account-balance","menu-btn",3,"ngClass","ngStyle","click"],[1,"icon","icon-user","icon-user-primary",3,"ngStyle"],[1,"icon","icon-menu"],[1,"message-number",3,"backgroundStyle"],[1,"account-balance","menu-btn",3,"ngClass","click"],[1,"icon","icon-user","icon-user-primary"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,zd,11,6,"button",0),i["ɵɵtext"](2,"\n        "),i["ɵɵtemplate"](3,Wd,6,3,"button",1),i["ɵɵtext"](4,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",t.isBrowser),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!t.isBrowser))},directives:[r.NgIf,r.NgClass,r.NgStyle,Vd,Gd.V],styles:[".menu-btn[_ngcontent-%COMP%] {\n  position: relative;\n  z-index: 10;\n}"]}),e})();const Kd=function(e){return{active:e}};let Xd=(()=>{class e extends Fd{constructor(e,t,n){super(e,t,n)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](Rd),i["ɵɵdirectiveInject"](ul.B))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-header-nav-menu-ch"]],features:[i["ɵɵInheritDefinitionFeature"]],decls:6,vars:3,consts:[[1,"menu-btn",3,"ngClass","click"],[1,"icon","icon-menu"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"button",0),i["ɵɵlistener"]("click",(function(){return t.toggle()})),i["ɵɵtext"](2,"\n            "),i["ɵɵelement"](3,"i",1),i["ɵɵtext"](4,"\n            Menu\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](1,Kd,t.isDisplaying||t.isActive)))},directives:[r.NgClass],styles:[".menu-btn[_ngcontent-%COMP%] {\n  position: relative;\n  z-index: 10;\n}"]}),e})(),Yd=(()=>{class e{constructor(e){this.siteConfigService=e,this.disabledProductsFromBrandAdmin=this.siteConfigService.getSiteConfigProp("disabledMultiproducts")}filterHeaderMultiproductMenu(e){return e?e.filter((e=>this.renderMenuItem(e))):[]}renderMenuItem(e){let t=Ld.Q.filter((t=>t.url==e.link));return 0===t.length||!this.disabledProductsFromBrandAdmin||!this.disabledProductsFromBrandAdmin.some((e=>e===t[0].productId))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Jd=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();function Qd(e,t){if(1&e&&i["ɵɵelement"](0,"img",3),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("alt",e.brandLabel)("src",e.logoUser,i["ɵɵsanitizeUrl"])}}let Zd=(()=>{class e{constructor(e,t,n){this.headerConfig=e,this.cdnService=t,this.siteConfigService=n}ngOnInit(){this.logoMain=this.cdnService.getCdnUrlImage(this.siteConfigService.getSiteConfigProp("mainHeaderLogo")),this.logoUser=this.cdnService.getCdnUrlImage("/content/images/logo_user.svg"),this.brandLabel=this.siteConfigService.getSiteConfigProp("brandLabel")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](Jd),i["ɵɵdirectiveInject"](fs.U),i["ɵɵdirectiveInject"](V.r))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-header-logo"]],decls:8,vars:3,consts:[["routerLink","/"],["bxCdnImage","",1,"img-large",3,"alt","src"],["bxCdnImage","","class","img-default",3,"alt","src",4,"ngIf"],["bxCdnImage","",1,"img-default",3,"alt","src"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"a",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelement"](3,"img",1),i["ɵɵtext"](4,"\n            "),i["ɵɵtemplate"](5,Qd,1,2,"img",2),i["ɵɵtext"](6,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n    ")),2&e&&(i["ɵɵadvance"](3),i["ɵɵproperty"]("alt",t.brandLabel)("src",t.logoMain,i["ɵɵsanitizeUrl"]),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.headerConfig.logo.small))},directives:[o.RouterLinkWithHref,r.NgIf],encapsulation:2}),e})();var eu=n(96532),tu=n(86655),nu=n(35294),iu=n(86564);function ru(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"li",9),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"](2).closeMenu()})),i["ɵɵtext"](1,"\n                        "),i["ɵɵelementStart"](2,"a",10),i["ɵɵtext"](3,"\n                          "),i["ɵɵelement"](4,"i"),i["ɵɵtext"](5,"\n                          "),i["ɵɵelementStart"](6,"span",11),i["ɵɵtext"](7),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n                      "),i["ɵɵelementEnd"]()}if(2&e){const e=t.$implicit;i["ɵɵpropertyInterpolate"]("title",e.label),i["ɵɵproperty"]("bxPreviewIndicator",e),i["ɵɵadvance"](2),i["ɵɵproperty"]("routerLink",e.link),i["ɵɵadvance"](2),i["ɵɵclassMap"](e.icon),i["ɵɵadvance"](3),i["ɵɵtextInterpolate"](e.label)}}function ou(e,t){if(1&e&&(i["ɵɵelementStart"](0,"ul",7),i["ɵɵtext"](1,"\n                      "),i["ɵɵtemplate"](2,ru,10,7,"li",8),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("bxPreviewIndicator",e.unloggedMenu),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",e.unloggedMenuItems)}}function au(e,t){1&e&&(i["ɵɵelementStart"](0,"bx-account-menu-navigation",13),i["ɵɵtext"](1,"\n                        "),i["ɵɵelementEnd"]())}function su(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div"),i["ɵɵtext"](1,"\n                        "),i["ɵɵtemplate"](2,au,2,0,"bx-account-menu-navigation",12),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.isUserLogged())}}function cu(e,t){1&e&&(i["ɵɵelementContainerStart"](0),i["ɵɵtext"](1,"\n                        "),i["ɵɵelementContainerEnd"]())}function lu(e,t){if(1&e&&(i["ɵɵtext"](0,"\n                          "),i["ɵɵelementStart"](1,"a",19),i["ɵɵtext"](2),i["ɵɵelementEnd"](),i["ɵɵtext"](3,"\n                        ")),2&e){const e=i["ɵɵnextContext"]().$implicit;i["ɵɵadvance"](1),i["ɵɵpropertyInterpolate"]("target","new_tab"===e.target?"_blank":"_self"),i["ɵɵattribute"]("href",e.link,i["ɵɵsanitizeUrl"]),i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"]("\n                            ",e.label,"\n                           ")}}function du(e,t){if(1&e&&(i["ɵɵtext"](0,"\n                          "),i["ɵɵelementStart"](1,"a",20),i["ɵɵtext"](2),i["ɵɵelementEnd"](),i["ɵɵtext"](3,"\n                        ")),2&e){const e=i["ɵɵnextContext"]().$implicit;i["ɵɵadvance"](1),i["ɵɵpropertyInterpolate"]("target","new_tab"===e.target?"_blank":"_self"),i["ɵɵproperty"]("routerLink",e.link),i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"]("\n                            ",e.label,"\n                           ")}}const uu=function(){return["active"]};function pu(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"li",14),i["ɵɵlistener"]("click",(function(t){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().redirect(t)})),i["ɵɵtext"](1,"\n                        "),i["ɵɵtemplate"](2,cu,2,0,"ng-container",15),i["ɵɵtext"](3,"\n                        "),i["ɵɵtemplate"](4,lu,4,3,"ng-template",null,16,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](6,"\n                        "),i["ɵɵtemplate"](7,du,4,3,"ng-template",null,17,i["ɵɵtemplateRefExtractor"]),i["ɵɵtext"](9,"\n                        "),i["ɵɵelement"](10,"i",18),i["ɵɵtext"](11,"\n                      "),i["ɵɵelementEnd"]()}if(2&e){const e=t.$implicit,n=i["ɵɵreference"](5),r=i["ɵɵreference"](8);i["ɵɵproperty"]("routerLinkActive",i["ɵɵpureFunction0"](5,uu))("bxPreviewIndicator",e),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.link.startsWith("http"))("ngIfThen",n)("ngIfElse",r)}}let hu=(()=>{class e{constructor(e,t,n,o,a,s){this.navMenuService=e,this.productsService=t,this.platformId=n,this.router=o,this.logoutService=a,this.stateStore=s,this.visible=!1,this.whenCloseMenu=new i.EventEmitter,this.unloggedMenu={},this.secondaryMenu={},this.isBrowser=!1,this.isBrowser=(0,r.isPlatformBrowser)(this.platformId)}ngOnInit(){this.loadComponent(),this.routerSubscription=this.router.events.pipe((0,c.filter)((e=>e instanceof o.NavigationEnd))).subscribe((()=>{this.loadComponent()})),this.logoutServiceSubscription=this.logoutService.logoutEvent.subscribe((()=>{"/"===this.router.url&&this.loadComponent()}))}ngOnDestroy(){this.routerSubscription&&this.routerSubscription.unsubscribe(),this.logoutServiceSubscription&&this.logoutServiceSubscription.unsubscribe()}loadComponent(){this.navMenuService.getNavMenuData().pipe((0,c.take)(1)).subscribe((e=>{this.navMenu=e,this.secondaryMenuItems=this.navMenuService.getNavBarItems(e,this.navMenuService.SECONDARY_ELEMENTS),this.unloggedMenuItems=this.productsService.filterHeaderMultiproductMenu(this.navMenuService.getNavBarItems(e,this.navMenuService.PRIMARY_ELEMENTS)),this.unloggedMenu=this.navMenuService.getNavBarMenu(e,this.navMenuService.PRIMARY_ELEMENTS),this.secondaryMenu=this.navMenuService.getNavBarMenu(e,this.navMenuService.SECONDARY_ELEMENTS)}))}closeMenu(){this.whenCloseMenu.emit(this.visible)}redirect(e){"a"!==e.target.tagName.toLowerCase()&&e.target.closest("li").querySelector("a").click(),this.closeMenu()}isUserLogged(){return this.stateStore.loginState}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](Nd),i["ɵɵdirectiveInject"](Yd),i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](vt.PO),i["ɵɵdirectiveInject"](nu.X))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-header-user-menu-ch"]],inputs:{visible:"visible"},outputs:{whenCloseMenu:"whenCloseMenu"},decls:18,vars:7,consts:[[1,"menu-overlay-container","max-container"],[1,"nav-menu-elements",3,"bxPreviewIndicator"],["class","custom-tab tab-menu red-top-border",3,"bxPreviewIndicator",4,"ngIf"],[4,"ngIf"],[1,"custom-menu","primary",3,"bxPreviewIndicator"],["role","button",3,"routerLinkActive","bxPreviewIndicator","click",4,"ngFor","ngForOf"],[1,"nav-menu-overlay",3,"click"],[1,"custom-tab","tab-menu","red-top-border",3,"bxPreviewIndicator"],[3,"title","bxPreviewIndicator","click",4,"ngFor","ngForOf"],[3,"title","bxPreviewIndicator","click"],[1,"static-btn",3,"routerLink"],[1,"static-title"],["showTopBorder","true",4,"ngIf"],["showTopBorder","true"],["role","button",3,"routerLinkActive","bxPreviewIndicator","click"],[4,"ngIf","ngIfThen","ngIfElse"],["externalLink",""],["internalLink",""],[1,"icon","icon-arrow-next"],[3,"target"],[3,"target","routerLink"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n\n                "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n\n                    "),i["ɵɵtemplate"](5,ou,4,2,"ul",2),i["ɵɵtext"](6,"\n\n                    "),i["ɵɵtemplate"](7,su,4,1,"div",3),i["ɵɵtext"](8,"\n\n                    "),i["ɵɵelementStart"](9,"ul",4),i["ɵɵtext"](10,"\n                      "),i["ɵɵtemplate"](11,pu,12,6,"li",5),i["ɵɵtext"](12,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](13,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n                "),i["ɵɵelementStart"](15,"div",6),i["ɵɵlistener"]("click",(function(){return t.closeMenu()})),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵclassProp"]("nav-menu-hidden",!t.visible),i["ɵɵadvance"](2),i["ɵɵproperty"]("bxPreviewIndicator",t.navMenu),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!t.isUserLogged()),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.isBrowser),i["ɵɵadvance"](2),i["ɵɵproperty"]("bxPreviewIndicator",t.secondaryMenu),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",t.secondaryMenuItems))},directives:[Nt.Z,r.NgIf,r.NgForOf,o.RouterLinkWithHref,iu.N,o.RouterLinkActive],encapsulation:2}),e})();var mu=n(59386),fu=n(65340);const gu=["cta"],vu=function(e){return[e]},bu=function(){return{overlay:"join"}};function yu(e,t){if(1&e&&(i["ɵɵelementStart"](0,"a",3,2),i["ɵɵtext"](2,"header.join"),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("routerLink",i["ɵɵpureFunction1"](4,vu,e.currentPath))("queryParams",i["ɵɵpureFunction0"](6,bu))("ngClass",e.getJoinClass())("bxTrackClick","join:click")}}const Su=function(){return{overlay:"login"}};let Cu=(()=>{class e{constructor(e,t,n,i,r,o){this.headerConfig=e,this.siteConfigService=t,this.overlayNotificationsService=n,this.noDblClickService=i,this.router=r,this.platformId=o}ngAfterViewInit(){(0,r.isPlatformBrowser)(this.platformId)&&this.setTimeoutForAllButtons()}ngOnInit(){(0,r.isPlatformBrowser)(this.platformId)&&(this.overlayOpenNotificationSubscription=this.overlayNotificationsService.getOverlayOpenNotifications().subscribe((()=>{this.releaseAllButtons()}))),this.currentPath=this.router.url.split("?")[0],this.router.events.pipe((0,c.filter)((e=>e instanceof o.NavigationEnd))).subscribe((e=>{this.currentPath=e.url.split("?")[0]}))}ngOnDestroy(){(0,r.isPlatformBrowser)(this.platformId)&&this.overlayOpenNotificationSubscription&&this.overlayOpenNotificationSubscription.unsubscribe()}showJoinCta(){return this.siteConfigService.getSiteConfigProp("joinEnabled")}getJoinClass(){return this.headerConfig.cta.join.class+(this.largeButtons?" cta-large":"")}getLoginClass(){return this.headerConfig.cta.login.class+(this.largeButtons?" cta-large":"")}setTimeoutForAllButtons(){this.ctas.forEach((t=>{this.noDblClickService.setTimeout(t.nativeElement,e.DEFAULT_TIMEOUT)}))}releaseAllButtons(){this.ctas.forEach((e=>{this.noDblClickService.release(e.nativeElement)}))}}return e.DEFAULT_TIMEOUT=2e4,e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](Jd),i["ɵɵdirectiveInject"](V.r),i["ɵɵdirectiveInject"](fu.v),i["ɵɵdirectiveInject"](te.E),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](i.PLATFORM_ID))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-header-unlogged-actions"]],viewQuery:function(e,t){if(1&e&&i["ɵɵviewQuery"](gu,5),2&e){let e;i["ɵɵqueryRefresh"](e=i["ɵɵloadQuery"]())&&(t.ctas=e)}},inputs:{largeButtons:"largeButtons"},decls:7,vars:8,consts:[["role","button","class","custom-cta","id","headerUnloggedJoin",3,"routerLink","queryParams","ngClass","bxTranslate","bxTrackClick",4,"ngIf"],["role","button","id","headerUnloggedLogin",1,"custom-cta",3,"routerLink","queryParams","ngClass","bxTranslate","bxTrackClick"],["cta",""],["role","button","id","headerUnloggedJoin",1,"custom-cta",3,"routerLink","queryParams","ngClass","bxTranslate","bxTrackClick"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,yu,3,7,"a",0),i["ɵɵtext"](2,"\n        "),i["ɵɵelementStart"](3,"a",1,2),i["ɵɵtext"](5,"header.login"),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",t.showJoinCta()),i["ɵɵadvance"](2),i["ɵɵproperty"]("routerLink",i["ɵɵpureFunction1"](5,vu,t.currentPath))("queryParams",i["ɵɵpureFunction0"](7,Su))("ngClass",t.getLoginClass())("bxTrackClick","login:click"))},directives:[r.NgIf,o.RouterLinkWithHref,r.NgClass,Se.P,mu.X],encapsulation:2}),e})();const xu=["userMenuButton"],Iu=["userMenuLoggedInButton"];function wu(e,t){if(1&e&&(i["ɵɵelementStart"](0,"li",10),i["ɵɵtext"](1,"\n                        "),i["ɵɵelementStart"](2,"a",11),i["ɵɵtext"](3),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n                    "),i["ɵɵelementEnd"]()),2&e){const e=t.$implicit,n=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵpropertyInterpolate"]("title",e.label),i["ɵɵproperty"]("routerLink",e.link)("bxTrackClick",n.getClickEventName(e)),i["ɵɵadvance"](1),i["ɵɵtextInterpolate1"]("\n                            ",e.label,"\n                        ")}}function Eu(e,t){1&e&&(i["ɵɵelementStart"](0,"div",12),i["ɵɵtext"](1,"\n                        "),i["ɵɵelement"](2,"bx-header-unlogged-actions"),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementEnd"]())}function Tu(e,t){1&e&&i["ɵɵelement"](0,"bx-header-nav-menu-ch",null,13)}function Pu(e,t){1&e&&(i["ɵɵelementStart"](0,"bx-header-logged-in-menu-ch",null,14),i["ɵɵtext"](2," "),i["ɵɵelementEnd"]())}function Au(e,t){1&e&&(i["ɵɵelementStart"](0,"bx-lang-select"),i["ɵɵtext"](1," "),i["ɵɵelementEnd"]())}const _u=function(e){return{"menu-hidden":e}};let Mu=(()=>{class e{constructor(e,t){this.productsService=e,this.navMenuService=t}set menuItemData(e){this.menuItems=e}ngOnInit(){this.navMenuService.getNavMenuData().pipe((0,c.take)(1)).subscribe((e=>{this.menuItems=this.productsService.filterHeaderMultiproductMenu(this.navMenuService.getNavBarItems(e,this.navMenuService.PRIMARY_ELEMENTS))}))}onCloseMenu(){this.userMenuButton&&this.userMenuButton.hide(),this.userMenuLoggedInButton&&this.userMenuLoggedInButton.hide()}checkButtonIsActive(){let e=!1,t=!!this.userMenuButton&&this.userMenuButton.isActive,n=!!this.userMenuLoggedInButton&&this.userMenuLoggedInButton.isActive;return e=t||n,e}checkMenuIsDisplaying(){let e=!!this.userMenuButton&&this.userMenuButton.isDisplaying,t=!!this.userMenuLoggedInButton&&this.userMenuLoggedInButton.isDisplaying;return e||t}getClickEventName(e){return e.link.substring(e.link.lastIndexOf("/")+1)+":click"}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](Yd),i["ɵɵdirectiveInject"](Nd))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-header-ch"]],viewQuery:function(e,t){if(1&e&&(i["ɵɵviewQuery"](xu,5),i["ɵɵviewQuery"](Iu,5)),2&e){let e;i["ɵɵqueryRefresh"](e=i["ɵɵloadQuery"]())&&(t.userMenuButton=e.first),i["ɵɵqueryRefresh"](e=i["ɵɵloadQuery"]())&&(t.userMenuLoggedInButton=e.first)}},inputs:{menuItemData:"menuItemData"},decls:28,vars:5,consts:[[1,"navbar-wrapper","navbar-fixed-top"],[1,"navbar","max-container"],[1,"brand-logo"],[1,"custom-tab","tertiary","channel",3,"ngClass"],["role","button","routerLinkActive","active",4,"ngFor","ngForOf"],[1,"user-info"],["class","login-container",4,"bxHideAuth"],[4,"bxHideAuth"],[4,"bxShowAuth"],[3,"visible","whenCloseMenu"],["role","button","routerLinkActive","active"],[1,"channel-item",3,"routerLink","title","bxTrackClick"],[1,"login-container"],["userMenuButton",""],["userMenuLoggedInButton",""]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"nav",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelement"](5,"bx-header-logo",2),i["ɵɵtext"](6,"\n                "),i["ɵɵelementStart"](7,"ul",3),i["ɵɵtext"](8,"\n                    "),i["ɵɵtemplate"](9,wu,5,4,"li",4),i["ɵɵtext"](10,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n                "),i["ɵɵelementStart"](12,"aside",5),i["ɵɵtext"](13,"\n                    "),i["ɵɵtemplate"](14,Eu,4,0,"div",6),i["ɵɵtext"](15,"\n\n                    "),i["ɵɵtemplate"](16,Tu,2,0,"bx-header-nav-menu-ch",7),i["ɵɵtext"](17,"\n                    "),i["ɵɵtemplate"](18,Pu,3,0,"bx-header-logged-in-menu-ch",8),i["ɵɵtext"](19,"\n                    "),i["ɵɵtemplate"](20,Au,2,0,"bx-lang-select",7),i["ɵɵtext"](21,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](22,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](23,"\n\n            "),i["ɵɵelementStart"](24,"bx-header-user-menu-ch",9),i["ɵɵlistener"]("whenCloseMenu",(function(){return t.onCloseMenu()})),i["ɵɵtext"](25,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](26,"\n\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](27,"\n    ")),2&e&&(i["ɵɵadvance"](7),i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](3,_u,t.menuItems&&t.checkButtonIsActive())),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngForOf",t.menuItems),i["ɵɵadvance"](15),i["ɵɵproperty"]("visible",t.checkMenuIsDisplaying()))},directives:[Zd,r.NgClass,r.NgForOf,eu.v,tu.d,hu,o.RouterLinkActive,o.RouterLinkWithHref,mu.X,Cu,Xd,qd,nl.S],styles:[".navbar-fixed-top[_ngcontent-%COMP%] {\n  height: 64px;\n  animation: none;\n  z-index: 10;\n}\n\n.navbar-fixed-top[_ngcontent-%COMP%]   bx-header-unlogged-actions[_ngcontent-%COMP%] {\n  display: inherit;\n}\n\n.navbar-fixed-top[_ngcontent-%COMP%]   .overlay[_ngcontent-%COMP%] {\n  position: fixed;\n  left: 0;\n  right: 0;\n  top: 0;\n  bottom: -50vh;\n  background-color: rgba(0, 0, 0, 0.6);\n  z-index: -2;\n}\n\n.navbar-fixed-top[_ngcontent-%COMP%]   .custom-tab.tertiary.channel[_ngcontent-%COMP%] {\n  overflow: hidden;\n}\n\n@media only screen and (min-width: 320px) and (max-width: 769px) {\n  .menu-hidden[_ngcontent-%COMP%] {\n    visibility: hidden;\n  }\n  div.navbar-fixed-top[_ngcontent-%COMP%] {\n    height: 48px;\n    padding-bottom: 0px;\n  }\n}"]}),e})();const Ou={components:{header:Mu,headerNavMenu:Xd},modules:{header:[Mu,Xd]}};var ku=n(94224),ju=n(37424),Nu=n(99604),Du=n(55640),Lu=n(36957),Ru=n(97815),Fu=n(55057);const Bu="bonusSelectionCfEnabled",Uu="BONUS";let Hu=(()=>{class e extends Vs.ib{constructor(e,t,n,i,r,o,a,s,c,l,d,u,p,h,m,f,g,v,b,y,S,C){super(e,t,n,i,r,o,a,s,c,l,d,u,p,h,m,f,g,v,y,S,C),this.phoneBlockingSectionsService=b}onRegistration(e){e instanceof G.Yc&&(this.postCFUrl=e.postCFUrl,this.sessionService.session=e.sessionId,this.enabledValidationCode=this.siteConfigService.getSiteConfigProp("phoneValidationEnabled"),this.enabledValidationCodeCF=this.siteConfigService.getSiteConfigProp("phoneValidationInJoinEnabled"),this.enabledBonusSelection=this.siteConfigService.getSiteConfigProp(Bu),this.isBonusBlockedByPhoneTypeValidation=this.phoneBlockingSectionsService.shouldSectionBeBlockedByPhoneTypeValidation(Uu),this.enabledValidationCode&&this.enabledValidationCodeCF?this.navigateToValidationCode():this.enabledBonusSelection&&!this.isBonusBlockedByPhoneTypeValidation?this.navigateToBonusSelection():this.navigateToCashier())}onValidationCode(e){(e instanceof Gs.N$||e instanceof Gs.aj)&&(this.enabledBonusSelection=this.siteConfigService.getSiteConfigProp(Bu),this.isBonusBlockedByPhoneValidation=this.phoneBlockingSectionsService.shouldSectionBeBlockedByPhoneValidation(Uu),this.isBonusBlockedByPhoneTypeValidation=this.phoneBlockingSectionsService.shouldSectionBeBlockedByPhoneTypeValidation(Uu),!this.enabledBonusSelection||this.isBonusBlockedByPhoneValidation||this.isBonusBlockedByPhoneTypeValidation?this.navigateToCashier():this.navigateToBonusSelection())}isLoginOrRegistration(e){return super.isLoginOrRegistration(e)||e.indexOf(`${Fu.qf}`)>=0}navigate(e){let t=e.url||`/${Bs.ft}`;this.lastPageQueryParams&&(t=this.buildUrlWithQueryParams(t)),this.router.navigateByUrl(t,{replaceUrl:!0})}navigateToCashier(){this.postCFUrl?this.router.navigate([Fu.dU],{queryParams:{destination:this.postCFUrl}}):this.router.navigate([Fu.dU])}navigateToBonusSelection(){this.postCFUrl?this.router.navigate([Fu.jA],{queryParams:{postCFUrl:this.postCFUrl}}):this.router.navigate([Fu.jA])}navigateToValidationCode(){this.router.navigate([Fu.To])}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](o.Router),i["ɵɵinject"](o.ActivatedRoute),i["ɵɵinject"](U.r6),i["ɵɵinject"](ju.P),i["ɵɵinject"](G.H8),i["ɵɵinject"](Ja.e),i["ɵɵinject"](Gs.Kx),i["ɵɵinject"](H.m),i["ɵɵinject"](Du.z),i["ɵɵinject"](Lu.T),i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](he.G),i["ɵɵinject"](ee.u),i["ɵɵinject"](Uo.R),i["ɵɵinject"](ws.$),i["ɵɵinject"](ia.w),i["ɵɵinject"](V.r),i["ɵɵinject"](Nu.p),i["ɵɵinject"](Ru.r),i["ɵɵinject"](ku.G),i["ɵɵinject"](Ts.W),i["ɵɵinject"](bt.B))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Vu=(()=>{class e{constructor(e,t,n,i){this.sessionService=e,this.authService=t,this.router=n,this.configService=i}isGuardApplied(e){return this.configService.evalFeature("site.config.sitewide_auth_required")&&!this.sessionService.isAuthenticated()&&e.url.indexOf(Fu.ZE)<0}isRouteExempted(e){let t=e.url.split("/"),n=`/${t[1]}`,i=this.configService.getSiteConfigProp("sitewideAuthExemptions");return t.length>2&&i.indexOf(n)<0?i.indexOf(e.url)>-1:i.indexOf(n)>-1&&e.url.startsWith(n)}canActivate(e,t){return!(this.isGuardApplied(t)&&!this.isRouteExempted(t)&&(this.authService.setLastPage(t.url,!0),this.router.navigate([`/${Fu.ZE}`]),1))}canActivateChild(e,t){return this.canActivate(e,t)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](H.m),i["ɵɵinject"](Vs.ib),i["ɵɵinject"](o.Router),i["ɵɵinject"](V.r))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Gu=(()=>{class e{constructor(e,t,n){this.router=e,this.windowService=t,this.platformId=n}getUrlInfo(e){if(!e)return;const t=this.router.parseUrl(e);return{...t,urlWithoutParams:"/"+t.root.children.primary.segments.map((e=>e.path)).join("/")}}canLeaveHeadlessPage(e,t){const n=e&&e.url,i=t&&t.url;let o;const a=this.getUrlInfo(i);if(a)switch(a.urlWithoutParams){case"/"+Fu.ts:o="/"+Fu.jU;break;case"/"+Fu.ZE:o="/"+Fu.N6}const s=(0,r.isPlatformBrowser)(this.platformId)?this.windowService.window():void 0;if(s&&void 0!==s.headlessTransitionHandler){const e=s.headlessTransitionHandler(n,o||i);if("object"==typeof e&&null!==e){const t=e;return this.router.navigate(t.commands,t.extras),!1}if("boolean"==typeof e){if(!1===e)return!1}else console.error("invalid headlessTransitionHandler return value",e)}if(o)return this.router.navigate([o]),!1;if(i.startsWith("/"+Fu.aI))return!0;if(i==="/"+Fu.uJ)return!0;if(s){const e=s.open(i,"_blank");return e&&e.focus(),!1}return!0}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](o.Router),i["ɵɵinject"](ee.u),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),$u=(()=>{class e{constructor(e){this.headlessService=e}canDeactivate(e,t,n,i){return this.headlessService.canLeaveHeadlessPage(n,i)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Gu))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),zu=(()=>{class e{constructor(e){this.platformId=e}declareCustomElements(t){if((0,r.isPlatformBrowser)(this.platformId)){const{createCustomElement:i}=n(61139);e.defineElement(i,lt.U,lt.G,t),e.defineElement(i,"bx-btn-destination",pl,t)}}static defineElement(e,t,n,i){const r=e(n,{injector:i});customElements.define(t,r)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Wu=n(97509);let qu=(()=>{class e{getStore(e,t){const n=(0,Wu.eventStore)(e,t),{eventName:i,eventTarget:r}=n.toEvent();return n.asObservable=()=>(0,s.fromEvent)(r,i),n}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})(),Ku=(()=>{class e{constructor(e,t,n){this.mfeStoreService=e,this.siteConfigService=t,this.deviceService=n,this.siteConfigStoreName="siteConfig",this.siteConfigStore=this.mfeStoreService.getStore(this.siteConfigStoreName,V.r.buildDefaultConfiguration())}init(){const e=this.siteConfigService.getSiteConfig(),t={type:this.deviceService.getDeviceType(),browser:this.deviceService.getBrowser(),isMobile:this.deviceService.isMobile(),isDesktop:this.deviceService.isDesktop()};this.siteConfigStore.set({...e,device:t})}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](qu),i["ɵɵinject"](V.r),i["ɵɵinject"](Cr.U))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();function Xu(e,t,n,i,o,a,c,l,d,u,p,h,m,f,g,v,b,y,S,C,x,I,w,E,T,P,A,_){return()=>n.initSiteConfig$().toPromise().then((()=>((()=>{const t=n.getSiteConfigProp("defaultLanguage");l.init(t),e.init(t)})(),i.init(n.getSiteConfig()),y.init(),o.setBucket(n.getSiteConfigProp("bucket")),o.injectContent(t.nativeGlobal.contentItems),e.load()))).then((()=>_.initIframe({...n.getSiteConfig(),protocol:a.getProtocolOrDefault()}))).then((()=>{w.init(),E.setMfaConfig(n.getSiteConfigProp("mfaOperations"));const e=I.getBrowser()?I.getBrowser().toLocaleLowerCase():"";if(x.checkBrowserSupported(),v.get(gc).init(),v.get(Vs.ib).init(),T.init(),P.init(),A.init(),f.setEventsProvider(g),(0,r.isPlatformBrowser)(c)){v.get(Sa.Y).loadRouting(),u.init(Fu.Uc),v.get(lo.j).init(Fu.WT);let t=new s.Subject;"ie"!==e&&"ms-edge"!==e&&p.init(t),h.sessionObserver.subscribe((e=>t.next(e.isAuthenticated))),(0,se.EH)((()=>{u.updateProfileInfo(m.profile?m.profile.accountNumber:null,m.profile?m.profile.address.countryCode:null)})),S.init()}"ie"!==e&&"ms-edge"!==e&&(C.declareCustomElements(v),d.processAffiliateTokenAndRedirection()),b.init(n.getSiteConfigProp("locale")),v.get(Ku).init()}))}class Yu{constructor(e){this.active=!1,this.question=e.question||"",this.answer=e.answer||""}}class Ju{constructor(e){this.title=e.title||"",this.icon=e.icon||"",this.questions=[],e.questions.forEach((e=>{let t=new Yu(e);this.questions.push(t)}))}}class Qu{constructor(e){this.title=e.title||"",this.subtitle=e.subtitle||"",this.contact=e.link||"";let t=e.topics||[];this.topics=[],t.forEach((e=>{let t=new Ju(e);this.topics.push(t)}))}}let Zu=(()=>{class e{constructor(e,t){this.http=e,this.urlPrefixService=t}getFrequentlyAskedQuestions(t){const n={headers:{"X-Language":t}},i=this.urlPrefixService.addUrlPrefix(e.url(t));return this.http.get(i,n).pipe((0,c.map)((e=>new Qu(e))))}}return e.url=e=>`/content/${e}/faq-content.json`,e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](qe.HttpClient),i["ɵɵinject"](Ri.z))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),ep=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Zu],imports:[[r.CommonModule,o.RouterModule,Ti.U8,Ei.d]]}),e})();var tp=n(42974),np=n(73917);let ip=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[r.CommonModule,o.RouterModule,np.L,Pn.o,Mn.m]]}),e})();var rp=n(72855),op=n(62943),ap=n(78625);let sp=(()=>{class e{constructor(e){this.gameCardService=e,this.isActive=!1}setActive(e){this.isActive=e}search(e,t=50){const n=e.pipe((0,c.debounceTime)(t),(0,c.distinctUntilChanged)(),(0,c.switchMap)((e=>this.getGamesByTerm(e))));return this.results=(0,s.from)(n)}getGamesByTerm(e,t=8){const n=new RegExp(`(${e.trim()})`,"gi");return this.gameCardService.getGameCategories().pipe((0,c.concatMap)((e=>(0,s.from)(e))),(0,c.filter)((e=>"all-games"!==e.slug)),(0,c.reduce)(((e,t)=>[...e,...(t.games||this.flattenGames(t.subCategories)).filter((e=>e.name.match(n))).map((e=>Object.assign({categoryName:t.name.toLowerCase(),term:e.name.replace(n,"<strong>$1</strong>")},e)))]),[]),(0,c.map)((n=>""!==e?n.slice(0,t):null)))}flattenGames(e){let t=[];return e&&e.forEach((e=>{e.games&&e.games.forEach((e=>{t.find((t=>t.name===e.name))||t.push(e)}))})),t}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](yr.GH))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),cp=(()=>{class e{static withComponents(t=[]){return{ngModule:e,providers:[{provide:i.ANALYZE_FOR_ENTRY_COMPONENTS,useValue:t,multi:!0}]}}}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Jd,yr.GH,sp,op.L,Rd,Yd,Nd,jd,te.E,fu.v,ul.B],imports:[[r.CommonModule,Ni.a,go.I,ll.s,Sd.Q,tp.n,o.RouterModule,Ei.d,rp.k,ip,oo.Qh,ap.P,Pn.o]]}),e})(),lp=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[],imports:[[o.RouterModule,r.CommonModule,Gn.D,Ni.a,cp]]}),e})(),dp=(()=>{class e{constructor(e,t,n){this.document=e,this.deviceService=t,this.configService=n}canActivate(t,n){return!(!this.configService.evalFeature("site.config.poker.redirection.disabled")&&this.deviceService.isMobile()&&e.isPokerLandingPage(n)&&(this.redirectToPokerLobby(),1))}redirectToPokerLobby(){this.document.location.href="/poker-lobby/home"}static isPokerLandingPage(e){return"/poker"===e.url}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](r.DOCUMENT),i["ɵɵinject"](Cr.U),i["ɵɵinject"](V.r))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),up=(()=>{class e{constructor(e){this.siteConfigService=e}intercept(e,t){if(this.shouldIntercept(e.url)){const n=this.siteConfigService.getSiteConfigProp("urlPrefix");if(n){const i=e.clone({setParams:{context:n}});return t.handle(i)}}return t.handle(e)}shouldIntercept(e){return e.includes("services/sports/event")||e.includes("services/sports/config/site")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var pp=n(82314),hp=n(56945);let mp=(()=>{class e{constructor(e){this.eventPathData=e}intercept(e,t){const n="services/sports/results";let i=e;return e.url.includes(n)&&e.headers.has("X-REFERER")&&(i=i.clone({headers:i.headers.delete("X-REFERER")})),t.handle(i).pipe((0,c.tap)((e=>{e instanceof qe.HttpResponse&&e.url.includes(n)&&(this.eventPathData.scoreLastResponseTime=e.headers.get("Date"))})))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](hp.t))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),fp=(()=>{class e{constructor(e,t){this.languageService=e,this.eventPathData=t,this.eventUrl="services/sports/event",this.couponEventsUrl=`${this.eventUrl}/coupon/events`,this.languageService.getLanguage().subscribe((e=>this.languageValue=e))}intercept(e,t){let n;if(e.url.includes(this.eventUrl)&&(n=e.clone({setParams:{lang:this.languageValue}}),e.url.includes(this.couponEventsUrl))){let e;e=this.eventPathData.isSportsPage?"HOME":this.eventPathData.isLivePage?"LIVE":(this.eventPathData.sport||"").toString(),n=n.clone({setHeaders:{"X-SPORT-CONTEXT":e}})}return t.handle(n||e).pipe((0,c.tap)((e=>{if(e instanceof qe.HttpResponse&&e.url.includes(this.couponEventsUrl)){const t=e.headers.get("Last-Modified");t&&(this.eventPathData.lastModified=new Date(t).getTime())}})))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](ke.T),i["ɵɵinject"](hp.t))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var gp=n(41759);let vp=(()=>{class e{constructor(e,t,n,i,r){this.eventPathData=e,this.redirectionService=t,this.router=n,this.siteConfigService=i,this.urlService=r,this.couponEventsUrl="coupon/events",this.eventUrl="/sports/event"}intercept(e,t){return this.isEventRedirectFFEnabled()?t.handle(e).pipe((0,c.tap)((t=>{const n=this.urlService.getQueryParams(this.router.url);this.isHorseOrSports()&&this.urlIsEvent(e.url)&&this.isPastEvent(n?this.urlService.removeQueryParams(this.router.url):this.router.url)&&this.isEmptyContent(t)&&this.redirectionService.redirect(this.router.url.substring(0,this.router.url.lastIndexOf("/"))+(n?`?${n}`:""))}),(t=>{if(t instanceof qe.HttpErrorResponse&&404===t.status&&this.isHorseOrSports()&&this.urlIsEvent(e.url)){const e=this.urlService.getQueryParams(this.router.url);this.isPastEvent(e?this.urlService.removeQueryParams(this.router.url):this.router.url)?this.redirectionService.redirect(this.router.url.substring(0,this.router.url.lastIndexOf("/"))+(e?`?${e}`:"")):this.redirectToNotFoundPage()}}))):t.handle(e)}isEventRedirectFFEnabled(){return this.siteConfigService.evalFeature("site.config.event.redirect.enabled")}urlIsEvent(e){return e.includes(this.couponEventsUrl)||e.includes(this.eventUrl)}isHorseOrSports(){return this.eventPathData.isEventPage||this.eventPathData.isHorses||this.eventPathData.isEventPathPage}isPastEvent(e){const t=e.substring(e.lastIndexOf("-")+1),n=(0,gp.Z)(new Date(this.convertFormat(t)));return!(!t||!n.isValid())&&this.fromESTtoUTC(n).isBefore()}fromESTtoUTC(e){return e.add(4,"hours")}isEmptyContent(e){return e.body&&0===e.body.length}redirectToNotFoundPage(){this.router.navigate([tt.wF])}convertFormat(e){return e.length>"YYYYMMDDHHmm".length?"":[e.slice(0,4),"-",e.slice(4,6),"-",e.slice(6,8),"T",e.slice(8,10),":",e.slice(10,12)].join("")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](hp.t),i["ɵɵinject"](jl.I),i["ɵɵinject"](o.Router),i["ɵɵinject"](V.r),i["ɵɵinject"](Ws.j))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const bp=["en","es","zh-hans","pt"],yp=[{name:"bovada",defaultLanguage:"en"},{name:"bumbet",defaultLanguage:"pt"},{name:"bodog.com",defaultLanguage:"pt"},{name:"bodog.eu",defaultLanguage:"en"}];let Sp=(()=>{class e{constructor(e,t,n){this.platformId=e,this.windowService=t,this.cookieService=n,this.couponEventsUrl="services/sports/event/coupon/events",this.languageCookie="LANG",this.fallbackLanguage="en",this.sportsUrl="sports"}intercept(e,t){if((0,r.isPlatformBrowser)(this.platformId)&&e.url.includes(this.couponEventsUrl)){const e=!!this.windowService.location().port,t=this.path.endsWith(this.sportsUrl),n=this.extractLanguage(),i=this.cookieService.get(this.languageCookie);e||t||i===n||(this.cookieService.set(this.languageCookie,n),this.windowService.location().reload())}return t.handle(e)}get path(){return this.windowService.location().pathname}extractLanguage(){return bp.find((e=>this.path.startsWith(this.buildLanguagePath(e))))||this.extractDefaultLanguage()}extractDefaultLanguage(){const e=this.windowService.location().hostname,t=yp.find((t=>e.includes(t.name)));return t?t.defaultLanguage:this.fallbackLanguage}buildLanguagePath(e){return`/${e}`}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](ee.u),i["ɵɵinject"](he.G))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Cp=n(48755);let xp=(()=>{class e{constructor(e){this.sportacusService=e}intercept(e,t){let n=e;return this.shouldIntercept()&&(n=e.clone({setHeaders:{"X-SPORTS-PLATFORM":"spc"}})),t.handle(n)}shouldIntercept(){return this.sportacusService.isSportacusPage()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Cp.A))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const Ip=[{provide:qe.HTTP_INTERCEPTORS,useClass:up,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useClass:pp.a,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useClass:mp,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useClass:fp,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useClass:vp,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useClass:Sp,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useClass:xp,multi:!0}];let wp=(()=>{class e{constructor(e,t){this.transferStateServiceCache=e,this.platformId=t}intercept(e,t){if((0,r.isPlatformBrowser)(this.platformId)&&this.transferStateServiceCache&&!this.hasAudiencesHeader(e)){const t=this.transferStateServiceCache.getData(e.url);if(t)return(0,s.of)(new qe.HttpResponse({body:t,status:200}))}return t.handle(e).pipe((0,c.tap)((t=>(t instanceof qe.HttpResponse&&this.transferStateServiceCache&&this.platformId&&(0,r.isPlatformServer)(this.platformId)&&this.transferStateServiceCache.saveData(e.url,t.body),t))))}hasAudiencesHeader(t){return null!=t.headers.get(e.X_AUDIENCES)||null!=t.headers.get(e.X_AUDIENCE_IDS)}}return e.X_AUDIENCES="X-Audiences",e.X_AUDIENCE_IDS="X-Audience-Ids",e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](ie.m,8),i["ɵɵinject"](i.PLATFORM_ID,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Ep=n(23444);let Tp=(()=>{class e{constructor(e,t,n,i){this.platformId=e,this.languageCookieSupplier=t,this.universalConfig=n,this.requestedDomain="",this.countryHeader="",this.territoryHeader="",this.mockApiCookie="",i&&i.headers&&(this.requestedDomain=i.headers["x-requested-domain"],this.countryHeader=i.headers["x-geoip-country"],this.territoryHeader=i.headers["x-territory"]),i&&i.cookies&&(this.mockApiCookie=i.cookies.Mock)}intercept(e,t){if((0,r.isPlatformServer)(this.platformId)){this.universalConfig&&-1===e.url.indexOf("http://")&&-1===e.url.indexOf("https://")&&(e=e.clone({url:this.universalConfig.backendHost+(0!==e.url.indexOf("/")?"/":"")+e.url})),this.requestedDomain&&(e=e.clone({setHeaders:{"x-host":this.requestedDomain}})),this.countryHeader&&(e=e.clone({setHeaders:{"x-country":this.countryHeader}})),this.territoryHeader&&(e=e.clone({setHeaders:{"x-universal-territory":this.territoryHeader}}));let t="";this.languageCookieSupplier.language&&(t+=aa.g.COOKIE_NAME+"="+this.languageCookieSupplier.language),this.mockApiCookie&&(t+="; Mock="+this.mockApiCookie),t&&(e=e.clone({setHeaders:{cookie:t}}))}return t.handle(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](aa.g),i["ɵɵinject"](Ep.c,8),i["ɵɵinject"](kt.Z,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})(),Pp=(()=>{class e{constructor(e,t){this.platformId=e,this.cdnService=t}intercept(e,t){return(0,r.isPlatformBrowser)(this.platformId)&&this.cdnService.isCdnAvailable()&&e.url.includes("i18n/")&&(e=e.clone({url:this.cdnService.getCdnUrlAjaxRequest(e.url)})),t.handle(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](fs.U))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})(),Ap=(()=>{class e{constructor(e,t){this.sessionService=e,this.platformId=t}intercept(e,t){return(0,r.isPlatformBrowser)(this.platformId)&&(e.url.indexOf("services/")>=0||e.url.indexOf("api/")>=0||e.url.indexOf("zuul/")>=0)&&(this.sessionService.isAuthenticated()&&(e=e.clone({setHeaders:{Authorization:`Bearer ${this.sessionService.session}`}})),e=e.clone({withCredentials:!0})),t.handle(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](H.m),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();var _p=n(58132);let Mp=(()=>{class e{constructor(e){this.cookieStorageService=e}intercept(e,t){if(this.cookieStorageService.get("Beatrix-Tests")&&this.cookieStorageService.get("e2e.traceId")){let t=this.cookieStorageService.get("e2e.traceId");e=e.clone({setHeaders:{b3:`${t}-${t}`}})}return t.handle(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](he.G))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();class Op{constructor(e,t){this.status=e,this.isAuthenticated=t}}let kp=(()=>{class e{constructor(e,t){this.sessionService=e,this.platformId=t}intercept(e,t){return(0,r.isPlatformBrowser)(this.platformId)?t.handle(e).pipe((0,c.tap)((e=>e),(e=>{401!=e.status&&403!=e.status||this.sessionService.unauthorizedEvent.next(new Op(e.status,this.sessionService.isAuthenticated()))}))):t.handle(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](H.m),i["ɵɵinject"](i.PLATFORM_ID))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const jp="X-MFA-OPERATION",Np="X-CAPTCHA-ENFORCEMENT-OPERATION",Dp="X-CAPTCHA-ENFORCEMENT-METHOD";let Lp=(()=>{class e{constructor(e,t,n){this.mfaCommunicationService=e,this.mfaVerificationPropertiesService=t,this.platformId=n}intercept(e,t){let n=null,i=null;return this.isCaptchaEnforcementRequest(e)?(n=this.getOperation(e,!0),i="SMS"===e.headers.get(Dp)?"SMS":"PIN_CODE"):(n=this.getOperation(e),i=this.mfaVerificationPropertiesService.getCommunicationMethod(n)),n&&i&&this.mfaCommunicationService&&(0,r.isPlatformBrowser)(this.platformId)?this.requestMfaCode(e,t,n,i):t.handle(e)}getOperation(e,t){const n=t?Np:jp;return e.headers.get(n)||e.headers.get(n.toLowerCase())}requestMfaCode(e,t,n,i){const r=this.isCaptchaEnforcementRequest(e)?Np:jp,o=e.clone();return this.mfaCommunicationService.requestForCode(n,i).pipe((0,c.first)(),(0,c.concatMap)((n=>n.cancel?this.cancelRequest():(e=(e=e.clone({setHeaders:{"X-MFA-CODE":n.code}})).clone({headers:e.headers.delete(r)}),t.handle(e)))),(0,c.tap)((e=>this.handleResponse(e,i,n))),(0,c.catchError)((e=>this.handleResponseError(e,o,t,n,i))))}handleResponse(e,t,n){e instanceof qe.HttpResponse&&this.mfaCommunicationService.requestFinished({success:!0,communicationMethod:t,operation:n})}handleResponseError(e,t,n,i,r){const o=e.error;return 403===e.status&&"MFA_INVALID_CONFIRMATION_CODE"===o.errorCode?(this.mfaCommunicationService.error(o),this.requestMfaCode(t,n,i,r)):(423===e.status&&"MFA_ACCOUNT_BLOCKED"===o.errorCode?this.mfaCommunicationService.accountBlocked({communicationMethod:r,operation:i}):this.isCaptchaEnforcementRequest(t)&&401===e.status&&(e.error=JSON.parse(JSON.stringify(e.error).replace("invalid_grant","invalid_grant_captcha_enforcement"))),this.cancelRequestAndEmitError(e))}cancelRequest(){return this.mfaCommunicationService.requestFinished(null),s.EMPTY}cancelRequestAndEmitError(e){return this.mfaCommunicationService.requestFinished(null),(0,s.throwError)(e)}isCaptchaEnforcementRequest(e){return e.headers.has(Np)||e.headers.has(Dp)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Bl.g),i["ɵɵinject"](vo.K),i["ɵɵinject"](i.PLATFORM_ID,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();const Rp=[{provide:qe.HTTP_INTERCEPTORS,useClass:wp,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useClass:Tp,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useExisting:ds.G,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useExisting:ss,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useExisting:Pp,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useExisting:us,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useExisting:Ap,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useExisting:_p.Y,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useExisting:Jo.h,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useExisting:Mp,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useExisting:kp,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useExisting:De.a,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useExisting:Lp,multi:!0},...Ip,{provide:qe.HTTP_INTERCEPTORS,useExisting:hs,multi:!0},{provide:qe.HTTP_INTERCEPTORS,useExisting:ms._,multi:!0}];var Fp=n(90895),Bp=n(80469),Up=n(60448),Hp=n(41621),Vp=n(4853),Gp=n(12666);Vp.A,Gp.S,Hp.W,Gp.S,n(8100);var $p=n(63155);tt.Uc,Hp.W,Gp.S,n(71518);let zp=(()=>{class e extends qn.x{map(e){return{networkJackpotBannerFunctionalPlaceholderModel:{title:e.fields&&e.fields.title,notInFilter:pn.H.map(e.fields&&e.fields.filter)}}}}return e.ɵfac=function(){let t;return function(n){return(t||(t=i["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var Wp=n(49994);let qp=(()=>{class e{constructor(){this.enableRouteReuseStrategy=!1}}return e.ɵfac=function(t){return new(t||e)},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();const Kp=["bannerContainer"];let Xp=(()=>{class e{constructor(e,t,n,i,r,o,a,s,c){this.router=e,this.renderer=t,this.languageService=n,this.siteConfigService=i,this.profileService=r,this.currencyService=o,this.windowService=a,this.platformId=s,this.networkJackpotBannerConfig=c,this.networkJackpotBannerScriptId="network-jackpot-banner-script-id",this.enableRouteReuseStrategy=!1,this.enableRouteReuseStrategy=this.networkJackpotBannerConfig&&this.networkJackpotBannerConfig.enableRouteReuseStrategy,this.enableRouteReuseStrategy&&(this.defaultShouldReuseRoute=this.router.routeReuseStrategy.shouldReuseRoute,this.router.routeReuseStrategy.shouldReuseRoute=()=>!1)}ngAfterViewInit(){(0,r.isPlatformBrowser)(this.platformId)&&(this.languageAndProfileSubscription=(0,s.forkJoin)([this.languageService.getLanguage().pipe((0,c.first)()),this.profileService.getProfileDetailsPlayer().pipe((0,c.defaultIfEmpty)(null)).pipe((0,c.first)())]).subscribe((([e,t])=>this.loadAndRenderCustomElement(e,t))))}ngOnDestroy(){this.languageAndProfileSubscription&&(this.languageAndProfileSubscription.unsubscribe(),this.languageAndProfileSubscription=null),this.enableRouteReuseStrategy&&(this.router.routeReuseStrategy.shouldReuseRoute=this.defaultShouldReuseRoute)}loadAndRenderCustomElement(e,t){const n=this.siteConfigService.getSiteConfig();this.ensureScriptElementLoaded(n),this.renderCustomElement(e,t,n)}ensureScriptElementLoaded(e){if(this.windowService.document().getElementById(this.networkJackpotBannerScriptId))return;const t=this.renderer.createElement("script");t.id=this.networkJackpotBannerScriptId,t.src=e.networkJackpotBannerHostname+"/static/casino/network-jackpot-banner/network-jackpot-banner.js",t.type="module",t.async=!0,this.renderer.appendChild(this.windowService.document().head,t)}renderCustomElement(e,t,n){var i;const r=(null===(i=null==t?void 0:t.attributes)||void 0===i?void 0:i.currency)||n.defaultCurrency,o=this.currencyService.getCurrencySymbol(r),a=n.networkJackpotBannerLogoUrl,s=n.networkJackpotBannerRedirectionUrl,c=this.renderer.createElement("network-jackpot-banner");c.setAttribute("language",e),c.setAttribute("currency",r),c.setAttribute("currency-symbol",o),c.setAttribute("site-code",n.casinoB2bBrandCode),a&&c.setAttribute("logo-url",a),s&&!this.router.url.endsWith(s)&&c.setAttribute("redirection-url",s),this.bannerContainerRef.nativeElement.appendChild(c)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](i.Renderer2),i["ɵɵdirectiveInject"](ke.T),i["ɵɵdirectiveInject"](V.r),i["ɵɵdirectiveInject"](ve.H),i["ɵɵdirectiveInject"](Wp.i),i["ɵɵdirectiveInject"](ee.u),i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](qp,8))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-network-jackpot-banner"]],viewQuery:function(e,t){if(1&e&&i["ɵɵviewQuery"](Kp,5),2&e){let e;i["ɵɵqueryRefresh"](e=i["ɵɵloadQuery"]())&&(t.bannerContainerRef=e.first)}},decls:3,vars:0,consts:[[1,"max-container"],["bannerContainer",""]],template:function(e,t){1&e&&(i["ɵɵelement"](0,"div",0,1),i["ɵɵtext"](2,"\n"))},styles:["div.max-container[_ngcontent-%COMP%] {\n            isolation: isolate\n        }"]}),e})(),Yp=class{constructor(){this.notInSubdivisionList=null}set networkJackpotBannerFunctionalPlaceholderModel(e){this.model=e,this.notInSubdivisionList=pn.H.getNotInSubdivisionList(e.notInFilter)}};Yp.ɵfac=function(e){return new(e||Yp)},Yp.ɵcmp=i["ɵɵdefineComponent"]({type:Yp,selectors:[["bx-network-jackpot-banner-placeholder"]],inputs:{networkJackpotBannerFunctionalPlaceholderModel:"networkJackpotBannerFunctionalPlaceholderModel"},decls:2,vars:1,consts:[["bxHideBySubdivision",""]],template:function(e,t){1&e&&(i["ɵɵelementStart"](0,"bx-network-jackpot-banner",0),i["ɵɵtext"](1,"\n    "),i["ɵɵelementEnd"]()),2&e&&i["ɵɵattribute"]("data-notIn-subdivisions",t.notInSubdivisionList)},directives:[Xp,hn.e],encapsulation:2}),Yp=(0,a.__decorate)([(0,q.DE)({name:"Network Jackpot Banner Functional Placeholder",mapper:zp,matcher:e=>e.contentType===K.z.FUNCTIONAL&&e.fields.tags&&e.fields.tags.split(",").indexOf("hot-drop-jackpot-banner")>=0})],Yp);let Jp=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[Ei.d,xo.P,Mn.m]]}),e})(),Qp=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e}),e.ɵinj=i["ɵɵdefineInjector"]({imports:[[Jp,W.J.withComponents([Yp])]]}),e})();Object.create,Object.create;var Zp=n(3317);const eh=new i.InjectionToken("IframeHttpUrlMatchToken");let th=(()=>{class e{constructor(e,t){this.platformId=e,this.iframeHttpUrlMatch=t,this.crossMessaging={},this.crossMessagingIframeEnabled=!1,this.matchesUrl=!1,this.crossMessagingReady=!0,this.iframeHttpUrlMatch=this.iframeHttpUrlMatch||{include:/.*/,exclude:/(?!)/}}init(e){return this.crossMessagingIframeEnabled=e.crossMessagingIframeEnabled,this.crossMessagingIframeEnabled?(this.crossMessaging=new Zp.CrossMessaging,this.crossMessaging.init({domain:`${e.protocol}${e.serviceDomain}`,pathSegments:["assets","apps","cross-messaging-app"],fileName:""}).catch((()=>{this.crossMessagingReady=!1,this.crossMessaging.executePendingRequests()}))):Promise.resolve()}intercept(e,t){return this.matchesUrl=!!e.url.match(this.iframeHttpUrlMatch.include)&&!e.url.match(this.iframeHttpUrlMatch.exclude),this.isIFrameInterceptorActive()?(0,s.from)(this.crossMessaging.request(this.parseRequest(e)).then((e=>e)).catch((e=>{throw Error(JSON.stringify(e))}))).pipe((0,c.catchError)((e=>(0,s.throwError)(this.parseHttpErrorResponse(e)))),(0,c.map)((e=>this.parseHttpResponse(e)))):t.handle(e)}parseRequest(e){const t={};return t.url=e.url,t.body=e.body,t.reportProgress=e.reportProgress,t.withCredentials=e.withCredentials,t.responseType=e.responseType,t.method=e.method,t.urlWithParams=e.urlWithParams,t.headers=this.parseRequestMap(e.headers),t.params=this.parseRequestMap(e.params),t}parseRequestMap(e){const t={};return e.keys().forEach((n=>{t[n]=e.get(n)})),t}parseHttpResponse(e){return new qe.HttpResponse({body:e.body,url:e.url,headers:this.parseHttpHeaders(e.headers),status:e.status,statusText:e.message})}parseHttpErrorResponse(e){const t=JSON.parse(e.message);return new qe.HttpErrorResponse({error:t.body,url:t.url,headers:this.parseHttpHeaders(t.headers),status:t.status,statusText:t.message})}parseHttpHeaders(e){return new qe.HttpHeaders(e)}isIFrameInterceptorActive(){return this.crossMessagingIframeEnabled&&(0,r.isPlatformBrowser)(this.platformId)&&this.matchesUrl&&this.crossMessagingReady}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](eh,8))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();"undefined"==typeof ngDevMode||ngDevMode;let nh=(()=>{class e{constructor(e,t){this.platformId=e,this.ngCrossMessagingInterceptor=t}initIframe(e){return t=this,n=void 0,o=function*(){(0,r.isPlatformServer)(this.platformId)||e.crossMessagingIframeEnabled&&(yield this.ngCrossMessagingInterceptor.init(e))},new((i=void 0)||(i=Promise))((function(e,r){function a(e){try{c(o.next(e))}catch(e){r(e)}}function s(e){try{c(o.throw(e))}catch(e){r(e)}}function c(t){var n;t.done?e(t.value):(n=t.value,n instanceof i?n:new i((function(e){e(n)}))).then(a,s)}c((o=o.apply(t,n||[])).next())}));var t,n,i,o}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](i.PLATFORM_ID),i["ɵɵinject"](th))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();"undefined"==typeof ngDevMode||ngDevMode;var ih=n(37307),rh=n(45242);function oh(e){let t=JSON.parse(JSON.stringify(Ia.m.default.card));const n=e.getSiteConfigProp("showGameDescription");return n&&(t.playOverlay=n,t.quickPlayEnabled=!0),t}n(58859),n(50474),n(58892);let ah=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e,bootstrap:[$e]}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[Bp.j,Sa.Y,Ct.M,te.E,fl.v,As,Cs.C,Vs.a1,Ac.u,Xc.Z,Vu,Gu,$u,Os.s,Gs.Kx,Eo.a,Us,nt,F.JH,ta.l,Oe,F.dT,ys.K,Na.e,Da.t,Be,{provide:Pa.EO,useFactory:(0,wa.Y)(Ia.m,"notificationComponent"),deps:[V.r]},{provide:Jd,useFactory:(0,wa.Y)(Ia.m,"header"),deps:[V.r]},{provide:ft.$,useFactory:(0,wa.Y)(Ia.m,"login"),deps:[V.r]},{provide:Yc,useFactory:(0,wa.Y)(Ia.m,"bannerWelcome"),deps:[V.r]},{provide:Za.M,useFactory:(0,wa.Y)(Ia.m,"registration"),deps:[V.r]},{provide:Ms,useFactory:(0,wa.Y)(Ia.m,"pinCode"),deps:[V.r]},{provide:be,useFactory:(0,wa.Y)(Ia.m,"pinCodeUpdate"),deps:[V.r]},{provide:Ma.Z,useFactory:(0,wa.Y)(Ia.m,"contactUs"),deps:[V.r]},{provide:It.U,useFactory:(0,wa.Y)(Ia.m,"resetPassword"),deps:[V.r]},{provide:mt.H,useFactory:(0,wa.Y)(Ia.m,"forgotPassword"),deps:[V.r]},{provide:rh.Y,useFactory:(0,wa.Y)(Ia.m,"validationCodeBonus"),deps:[V.r]},{provide:Oa.r,useFactory:(0,wa.Y)(Ia.m,"communicationPlayer"),deps:[V.r]},{provide:Et.L,useFactory:(0,wa.Y)(Ia.m,"bonusSelection"),deps:[V.r]},{provide:Pt.j,useFactory:(0,wa.Y)(Ia.m,"bonusWidget"),deps:[V.r]},{provide:Hi.Y,useFactory:(0,wa.Y)(Ia.m,"bannerCarousel"),deps:[V.r]},{provide:Ki.N,useFactory:(0,wa.Y)(Ia.m,"contentSlide"),deps:[V.r]},{provide:Vn,useFactory:(0,wa.Y)(Ia.m,"gridCards"),deps:[V.r]},{provide:_o.yl,useFactory:(0,wa.Y)(Ia.m,"languageSelector"),deps:[V.r]},{provide:Ta.ke,useFactory:(0,wa.Y)(Ia.m,"dropdown"),deps:[V.r]},{provide:Pc.B,useValue:Od},{provide:io.p,useFactory:(0,wa.Y)(Ia.m,"helpUI"),deps:[V.r]},{provide:gr.c,useFactory:(0,wa.Y)(Ia.m,"quickLinks"),deps:[V.r]},{provide:i.APP_INITIALIZER,useFactory:Xu,deps:[F.JH,Ao.w,V.r,vs,$t._,ee.u,i.PLATFORM_ID,_o.TS,ct.Cw,re.y,ia.w,wt.mj,pe.s,ga,Qe.o,i.Injector,yo.S,Di.Kt,qo,zu,Ls,Cr.U,md,vo.K,Ua.G,Va.E,Fp.l,nh],multi:!0},{provide:Fn.e,useFactory:oh,deps:[V.r]},{provide:yd.Nb,useFactory:(0,wa.Y)(Ia.m,"transactions"),deps:[V.r]},{provide:ui,useFactory:(0,wa.Y)(Ia.m,"promotions"),deps:[V.r]},{provide:zt,useFactory:(0,wa.Y)(Ia.m,"articles"),deps:[V.r]},_s,Is.x,ws.$,ze.Title,ze.Meta,Kc.av,Kc.gN,wi,vi,gi,hi.Q,{provide:ri,useValue:{component:ci}},dp,Ss.d,xs.l,{provide:_c,useValue:{loginUrl:Fu.ZE,gameDescriptionUrl:Fu.DV}},{provide:_t,useValue:{component:vn}},ln,cn,rn.C,uo,Bi,po,mo,oo.yG,{provide:St.P,useFactory:(0,wa.Y)(Ia.m,"pinCodeForceUpdate"),deps:[V.r]},{provide:xt.d,useFactory:(0,wa.Y)(Ia.m,"pinCodeReset"),deps:[V.r]},{provide:es.S,useFactory:(0,wa.Y)(Ia.m,"pinCodeUpdateProfile"),deps:[V.r]},{provide:$c.A,useValue:!0},{provide:Hn.V,useFactory:(0,wa.Y)(Ia.m,"gameCatalog"),deps:[V.r]},{provide:Gc.D,useFactory:(0,wa.Y)(Ia.m,"headerMenuPage"),deps:[V.r]},{provide:dt.a,useFactory:(0,wa.Y)(Ia.m,"casinoGameSearchConfig"),deps:[V.r]},{provide:fo.U,useValue:{baseUrl:"/casino",slug:"casinochannelmenu",params:{filter:"navigation2"},customCarousel:!0,hideAndWrappComponent:!0,showArrowMenu:!0}},qo,zu,ot.r,rt.S,it.v,{provide:eh,useValue:{include:as.J.include,exclude:as.J.exclude}},ih.S],imports:[[ut,pt,bd,Ps.forRoot(),Po.z,ea,ze.BrowserModule.withServerTransition({appId:"server-side-render"}),qe.HttpClientModule,_a.forRoot(),bo.$,bs.forRoot([...Rp,{provide:qe.HTTP_INTERCEPTORS,useExisting:th,multi:!0}]),Gn.D,ns.o.forRoot(),Fa.forRoot(),Ba.q,ze.BrowserModule,We.BrowserAnimationsModule,Ei.d,Sd.Q,Id.forRoot(),xa.C.forRoot(),oa.L.forRoot(),Un.$.forRoot(),Bn.L,ii,fr,oo.Qh.forRoot(),qc.t,Ni.a,Aa.U.forRoot(),Xa,cp.withComponents(Ou.modules.header),Vi.R,qi.a,lr,ep,hr.z.forBrowser(),Ca.C.forRoot(),Ot.$Q,ka.v,wo.n,Ea.Q.forRoot(),go.I.forRoot(),ra.forRoot(),dl,To.l.forRoot(),lp,Up.n,Al,_n.$,At._.forRoot(Fu.d4),Tt.G.forRoot(),Vs.D2.forRoot(Hu),lo.C,gt.y.forRoot(),wt.ny.forRoot(),Pa.PQ.forRoot(),vt.Ix.forRoot(),ts.S.forRoot(),Ya.P.forRoot(),Qa.forRoot(),js,st.G,zc.s,zi.s,Gi.Wr,dr._i,wr.H,to,ze.BrowserTransferStateModule,$i.e,Wi.k,Hs,Ui,Rn,W.J,yl,Vc,Rc,La.E,Pn.o,Dc,Ze.forRoot(),Je.forRoot(),Ke.m,at.c.forRoot(),ya.forRoot(),Tc.withComponents([Wc.Tz,Ii,en,Uc]),Md.forRoot(),bl.forRoot(),vc,Io.forRoot(),vr.t.forRoot({template:Ir}),co,_l.g.forRoot(),hl,Ha.b.forRoot(),Ga.g.forRoot(),$a.S.forRoot(),Sl.Q,_o.jH.forRoot(),et.f.forRoot(),Rs,ht.y.forRoot(),yt.forRoot(),kl,Nl,ja.M.forRoot(),na.U,ml,Qp]]}),e})();var sh=n(70220);let ch=(()=>{class e{constructor(e,t){this.doc=e,this.eventPathData=t}canActivate(e,t){return this.eventPathData.isHeadless=!0,this.doc.body.classList.add("headless"),!0}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](r.DOCUMENT),i["ɵɵinject"](hp.t))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})();var lh=n(29138),dh=n(16339),uh=n(46268),ph=n(33098),hh=n(61893);function mh(e,t){1&e&&(i["ɵɵelementStart"](0,"h2",5),i["ɵɵtext"](1,"\n                    pinCode.overlay.update.title\n                "),i["ɵɵelementEnd"]())}function fh(e,t){1&e&&(i["ɵɵelementStart"](0,"h3",6),i["ɵɵtext"](1,"\n                    pinCode.overlay.update.title\n                "),i["ɵɵelementEnd"]())}const gh="cf_spc";let vh=(()=>{class e{constructor(e,t,n,i,r,o,a){this.profileService=e,this.router=t,this.route=n,this.toastNotificationService=i,this.translateService=r,this.cookieStorageService=o,this.pinCodeUpdateConfig=a,this.translateService.translate("pinCode.overlay.update.success.message").subscribe((e=>this.successMessage=e)),this.route.queryParams.subscribe((e=>{this.returnUrl=e.returnUrl})),this.profileService.getPinCodeUpdated().subscribe((()=>{this.cookieStorageService.remove(gh),this.toastNotificationService.add({msg:this.successMessage,onRemove:()=>{this.router.navigateByUrl(this.returnUrl||"/")}},"messageOverlay")})),this.profileService.getProfileDetailsPlayer().subscribe((e=>(e.hasPinCode&&(this.cookieStorageService.remove(gh),this.router.navigateByUrl(this.returnUrl||"/")),(0,s.of)(!0))))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](ve.H),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](o.ActivatedRoute),i["ɵɵdirectiveInject"](Pa.il),i["ɵɵdirectiveInject"](fe.s),i["ɵɵdirectiveInject"](he.G),i["ɵɵdirectiveInject"](be))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-pin-code-update-overlay"]],decls:16,vars:5,consts:[["overlayType","medium"],[3,"closeButton","invisibleCloseButton"],["role","heading","class","h2-heading",3,"bxTranslate",4,"ngIf"],["role","heading","class","h4-heading",3,"bxTranslate",4,"ngIf"],[3,"isForceUpdatePinCode"],["role","heading",1,"h2-heading",3,"bxTranslate"],["role","heading",1,"h4-heading",3,"bxTranslate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"bx-overlay-container",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"bx-overlay-header",1),i["ɵɵtext"](4,"\n                "),i["ɵɵtemplate"](5,mh,2,0,"h2",2),i["ɵɵtext"](6,"\n                "),i["ɵɵtemplate"](7,fh,2,0,"h3",3),i["ɵɵtext"](8,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n            "),i["ɵɵelementStart"](10,"bx-overlay-body"),i["ɵɵtext"](11,"\n                "),i["ɵɵelement"](12,"bx-pin-code-update-form",4),i["ɵɵtext"](13,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](15,"\n    ")),2&e&&(i["ɵɵadvance"](3),i["ɵɵproperty"]("closeButton",t.pinCodeUpdateConfig.alwaysKeepCloseButtonHidden)("invisibleCloseButton",t.pinCodeUpdateConfig.alwaysKeepCloseButtonHidden),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.pinCodeUpdateConfig.headerLevel2),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!t.pinCodeUpdateConfig.headerLevel2),i["ɵɵadvance"](5),i["ɵɵproperty"]("isForceUpdatePinCode",!0))},directives:[Dt.l,Lt.z,r.NgIf,Rt.l,Ae,Se.P],encapsulation:2}),e})();function bh(e,t){1&e&&(i["ɵɵelementStart"](0,"h2",3),i["ɵɵtext"](1,"\n                    pinCode.overlay.title\n                "),i["ɵɵelementEnd"]())}function yh(e,t){1&e&&(i["ɵɵelementStart"](0,"h3",4),i["ɵɵtext"](1,"\n                    pinCode.overlay.title\n                "),i["ɵɵelementEnd"]())}class Sh{constructor(e,t,n,i,r,o,a,s,c){this.profileService=e,this.router=t,this.route=n,this.toastNotificationService=i,this.translateService=r,this.overlay=o,this.pinCodeConfig=a,this.analyticsService=s,this.postConversionFunnelStoreService=c,this.translateService.translate("pinCode.success.message").subscribe((e=>this.successMessage=e)),this.overlay.close.subscribe((()=>this.onCloseOverlay())),this.route.queryParams.subscribe((e=>{this.returnUrl=e.returnUrl})),this.profileService.getPinCodeUpdated().subscribe((()=>{this.toastNotificationService.add({msg:this.successMessage,onRemove:()=>{this.router.navigateByUrl(this.returnUrl||"/")}},"messageOverlay")}))}onCloseOverlay(){this.analyticsService.sendEvent("click",Sh.CLOSE_PIN_CODE_OVERLAY_NAME,!0,Sh.CLOSE_OVERLAY_CUSTOM_VALUE,Sh.OVERRIDE_CONTEXT),this.postConversionFunnelStoreService.getPostCFUrl()&&(this.router.navigateByUrl(this.postConversionFunnelStoreService.getPostCFUrl()),this.postConversionFunnelStoreService.setPostCFUrl(null))}}Sh.CLOSE_PIN_CODE_OVERLAY_NAME="close_pinCodeOverlay",Sh.CLOSE_OVERLAY_CUSTOM_VALUE={1:Sh.CLOSE_PIN_CODE_OVERLAY_NAME},Sh.OVERRIDE_CONTEXT={contentId:"pin_code"},Sh.ɵfac=function(e){return new(e||Sh)(i["ɵɵdirectiveInject"](ve.H),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](o.ActivatedRoute),i["ɵɵdirectiveInject"](Pa.il),i["ɵɵdirectiveInject"](fe.s),i["ɵɵdirectiveInject"](Ti.Bs),i["ɵɵdirectiveInject"](Ms),i["ɵɵdirectiveInject"](re.y),i["ɵɵdirectiveInject"](Ol))},Sh.ɵcmp=i["ɵɵdefineComponent"]({type:Sh,selectors:[["bx-pin-code-overlay"]],decls:16,vars:2,consts:[["overlayType","medium"],["role","heading","class","h2-heading",3,"bxTranslate",4,"ngIf"],["role","heading","class","h4-heading",3,"bxTranslate",4,"ngIf"],["role","heading",1,"h2-heading",3,"bxTranslate"],["role","heading",1,"h4-heading",3,"bxTranslate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"bx-overlay-container",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"bx-overlay-header"),i["ɵɵtext"](4,"\n                "),i["ɵɵtemplate"](5,bh,2,0,"h2",1),i["ɵɵtext"](6,"\n                "),i["ɵɵtemplate"](7,yh,2,0,"h3",2),i["ɵɵtext"](8,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n            "),i["ɵɵelementStart"](10,"bx-overlay-body"),i["ɵɵtext"](11,"\n                "),i["ɵɵelement"](12,"bx-pin-code-update-form"),i["ɵɵtext"](13,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](15,"\n    ")),2&e&&(i["ɵɵadvance"](5),i["ɵɵproperty"]("ngIf",t.pinCodeConfig.headerLevel2),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!t.pinCodeConfig.headerLevel2))},directives:[Dt.l,Lt.z,r.NgIf,Rt.l,Ae,Se.P],encapsulation:2});let Ch=(()=>{class e{constructor(e,t,n){this.siteConfigService=e,this.sessionService=t,this.router=n}canActivate(){return!this.sessionService.isAuthenticated()||!this.siteConfigService.getSiteConfigProp("site.config.mfe.enabled").includes("forgot-password")||(this.router.navigate(["/"]),!1)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](V.r),i["ɵɵinject"](H.m),i["ɵɵinject"](o.Router))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac}),e})();var xh=n(20339);function Ih(e,t){if(1&e&&(i["ɵɵelementStart"](0,"bx-dynamic-loader-component",1),i["ɵɵtext"](1,"\n        "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("component",e.component)("context",e.context)("contextName",e.contextName)}}let wh=(()=>{class e{constructor(e,t,n,i,r){this.route=e,this.router=t,this.routerDataConfig=n,this.dynamicContentService=i,this.analyticsService=r,this.inputData=!1}set componentData(e){this.inputData=!0,e&&this.setComponentData(e.pageData,e,"data")}ngAfterViewInit(){const e=this.router.url.replace(/\//g,":");this.analyticsService.trackComponentLoad(e,!0,null)}ngOnInit(){this.inputData||(this.routeDataSubscription=this.route.data.subscribe((e=>{this.setComponentData(e)})))}ngOnDestroy(){this.routeDataSubscription&&this.routeDataSubscription.unsubscribe()}setComponentData(e,t={},n){const i=this.dynamicContentService.getType(e),r=this.routerDataConfig.dynamicRoutesConfig[i];this.component=r.component,this.context=t,this.slugname=e.slugname,n&&(this.contextName=n)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.ActivatedRoute),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](Pc.B),i["ɵɵdirectiveInject"](yc.X),i["ɵɵdirectiveInject"](re.y))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-dynamic-content"]],inputs:{componentData:"componentData"},decls:2,vars:1,consts:[[3,"component","context","contextName",4,"ngIf"],[3,"component","context","contextName"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,Ih,2,3,"bx-dynamic-loader-component",0)),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",t.component))},directives:[r.NgIf,Dl.W],encapsulation:2}),e})();var Eh=n(22646);let Th=(()=>{class e{constructor(e,t,n,i){this.router=e,this.route=t,this.overlayToolsService=n,this.document=i,this.displayOverlay=!0,this.routerEventsSub=this.router.events.subscribe((e=>{this.hideOverlayNeeded(e)&&this.hideOverlay()})),this.displayOverlay=!0}ngOnDestroy(){this.routerEventsSub&&this.routerEventsSub.unsubscribe()}onClose(){const e=this.route.snapshot.queryParams.closeUrl;this.displayOverlay=!1,e?this.router.navigateByUrl(e):this.router.navigate(["",{outlets:{overlay:null}}])}hideOverlay(){this.restoreScroll(),this.displayOverlay=!1}hideOverlayNeeded(e){return e instanceof o.NavigationEnd&&!this.overlayToolsService.urlHasOverlayParam(e.url)&&!this.overlayToolsService.urlHasOutlet(e.url)}disableScrollIfNeeded(){this.displayOverlay&&this.document.querySelector("body").classList.add("non-scroll")}restoreScroll(){this.document.querySelector("body").classList.remove("non-scroll")}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](o.ActivatedRoute),i["ɵɵdirectiveInject"](Eo.a),i["ɵɵdirectiveInject"](r.DOCUMENT))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-overlay-ch"]],decls:7,vars:1,consts:[[3,"hidden","close"],["name","messageOverlay"],[3,"activate","deactivate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n    "),i["ɵɵelementStart"](1,"bx-overlay",0),i["ɵɵlistener"]("close",(function(){return t.onClose()})),i["ɵɵtext"](2,"\n        "),i["ɵɵelement"](3,"bx-toast-notification",1),i["ɵɵtext"](4,"\n        "),i["ɵɵelementStart"](5,"router-outlet",2),i["ɵɵlistener"]("activate",(function(){return t.disableScrollIfNeeded()}))("deactivate",(function(){return t.restoreScroll()})),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n    "),i["ɵɵelementEnd"]()),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("hidden",!t.displayOverlay))},directives:[Eh.B,Ge.f,o.RouterOutlet],encapsulation:2}),e})();function Ph(e,t){return 4===e.length&&e[0].path.includes("casino")&&e[3].path.split("#")[1]===t?{consumed:e,posParams:{category:e[1],subcategory:e[2],slug:e[3]}}:null}const Ah=["contents","betting-offers","poker-lobby"],_h=[{matcher:function(e){return e[0]&&function(e){return Ah.find((t=>t==e[0].path))}(e)?{consumed:e}:null},canActivate:[Lc],component:(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-external-pages"]],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})()}];var Mh=n(10380),Oh=n(97163);let kh=(()=>{class e{constructor(e,t,n,i,r){this.router=e,this.route=t,this.homepageService=n,this.sessionStoraService=i,this.document=r}onClose(){const e=this.sessionStoraService.get(Ns.O);this.router.navigate([this.route.snapshot.queryParams.closeUrl||e||`/${tt.ft}`])}ngOnDestroy(){this.sessionStoraService.remove(Ns.O)}isHiddenHiddenOverlay(e){return e instanceof Mh.U}setDisplayOverlay(e){this.homepageService.setOverlayDisplayed(e),e?this.document.querySelector("body").classList.add("non-scroll"):this.document.querySelector("body").classList.remove("non-scroll"),this.displayOverlay=e}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](o.ActivatedRoute),i["ɵɵdirectiveInject"](Oh.g),i["ɵɵdirectiveInject"](Ns.u),i["ɵɵdirectiveInject"](r.DOCUMENT))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-homepage-overlay"]],decls:8,vars:2,consts:[[3,"hidden","sendNotificationEvent","close"],["name","messageOverlay"],[3,"activate","deactivate"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"bx-overlay",0),i["ɵɵlistener"]("close",(function(){return t.onClose()})),i["ɵɵtext"](2,"\n            "),i["ɵɵelement"](3,"bx-toast-notification",1),i["ɵɵtext"](4,"\n            "),i["ɵɵelementStart"](5,"router-outlet",2),i["ɵɵlistener"]("activate",(function(e){return t.setDisplayOverlay(!t.isHiddenHiddenOverlay(e))}))("deactivate",(function(){return t.setDisplayOverlay(!1)})),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("hidden",!t.displayOverlay)("sendNotificationEvent",!1))},directives:[Eh.B,Ge.f,o.RouterOutlet],encapsulation:2}),e})();var jh=n(75009),Nh=n(34033),Dh=n(54474);let Lh=(()=>{class e{constructor(e,t,n){this.overlayComponent=e,this.route=t,this.closeValidationCodeOverlayHandler=n}closeLinkClicked(){this.closeValidationCodeOverlayHandler.handleClose((()=>this.overlayComponent.closeOverlay()),this.route.snapshot.data.previousUrl)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](Pl.Bs),i["ɵɵdirectiveInject"](o.ActivatedRoute),i["ɵɵdirectiveInject"](Dh.a))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-validate-profile-blocked-overlay"]],decls:36,vars:0,consts:[[1,"dark-overlay","modal-overlay"],[1,"modal-content","modal-medium","screen-center"],["overlayType","medium"],["backButton","true",1,"modal-header"],["role","heading",1,"h4-heading",3,"bxTranslate"],[1,"close-link","custom-link",3,"click"],[1,"icon-close"],[1,"modal-body"],[1,"subtitle-info",3,"bxTranslate"],[1,"content-body",3,"bxTranslate"],[1,"modal-button"],["type","button",1,"custom-cta","primary","button-submit",3,"bxTranslate","click"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"bx-overlay-container",2),i["ɵɵtext"](6,"\n                    "),i["ɵɵelementStart"](7,"bx-overlay-header",3),i["ɵɵtext"](8,"\n                        "),i["ɵɵelementStart"](9,"h4",4),i["ɵɵtext"](10,"\n                            blockedDocumentStatus.overlay.content.title\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n                        "),i["ɵɵelementStart"](12,"a",5),i["ɵɵlistener"]("click",(function(){return t.closeLinkClicked()})),i["ɵɵtext"](13,"\n                            "),i["ɵɵelement"](14,"i",6),i["ɵɵtext"](15,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n                    "),i["ɵɵelementStart"](18,"bx-overlay-body",7),i["ɵɵtext"](19,"\n                        "),i["ɵɵelementStart"](20,"p",8),i["ɵɵtext"](21,"validationCode.notification.unableVerifyIdentity.warning"),i["ɵɵelementEnd"](),i["ɵɵtext"](22,"\n                        "),i["ɵɵelementStart"](23,"p",9),i["ɵɵtext"](24,"validationCode.notification.verificationUnsuccessful.explanation"),i["ɵɵelementEnd"](),i["ɵɵtext"](25,"\n                        "),i["ɵɵelementStart"](26,"div",10),i["ɵɵtext"](27,"\n                            "),i["ɵɵelementStart"](28,"button",11),i["ɵɵlistener"]("click",(function(){return t.closeLinkClicked()})),i["ɵɵtext"](29,"transactionDetails.close\n                            "),i["ɵɵelementEnd"](),i["ɵɵtext"](30,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](31,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](32,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](33,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](34,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](35,"\n    "))},directives:[Se.P],encapsulation:2}),e})();var Rh=n(25394);let Fh=(()=>{class e{constructor(e){this.sanitizer=e}transform(e){return this.sanitizer.bypassSecurityTrustResourceUrl(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](ze.DomSanitizer,16))},e.ɵpipe=i["ɵɵdefinePipe"]({name:"bxTrustyResourceUrl",type:e,pure:!0}),e})();function Bh(e,t){if(1&e&&(i["ɵɵelementStart"](0,"iframe",2),i["ɵɵpipe"](1,"bxTrustyResourceUrl"),i["ɵɵtext"](2,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("src",i["ɵɵpipeBind1"](1,1,e.endpoint),i["ɵɵsanitizeResourceUrl"])}}let Uh=(()=>{class e{constructor(e,t,n){this.profileService=e,this.loadingService=t,this.elementRef=n,this.endpoint=""}ngOnInit(){const e=this.startLoading();this.profileService.getIdentityVerificationUrl().subscribe((t=>{this.endpoint=t.url,e&&e.close.next(!0)}),(()=>{e&&e.close.next(!0)}))}startLoading(){return this.loadingService.start({content:"Loading...",modal:!0},this.elementRef.nativeElement.querySelector(".embed-container"))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](ve.H),i["ɵɵdirectiveInject"](Rh.b),i["ɵɵdirectiveInject"](i.ElementRef))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-identity-verification-iframe"]],decls:6,vars:1,consts:[[1,"embed-container"],["sandbox","allow-scripts allow-same-origin","allow","camera;fullscreen;accelerometer;gyroscope;magnetometer",3,"src",4,"ngIf"],["sandbox","allow-scripts allow-same-origin","allow","camera;fullscreen;accelerometer;gyroscope;magnetometer",3,"src"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵtemplate"](3,Bh,3,3,"iframe",1),i["ɵɵtext"](4,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n    ")),2&e&&(i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",t.endpoint))},directives:[r.NgIf],pipes:[Fh],encapsulation:2}),e})(),Hh=(()=>{class e{constructor(e,t,n,i){this.overlayComponent=e,this.route=t,this.closeValidationCodeOverlayHandler=n,this.documentStatusStore=i}closeLinkClicked(){this.closeValidationCodeOverlayHandler.handleClose((()=>this.overlayComponent.closeOverlay()),this.route.snapshot.data.previousUrl),this.documentStatusStore.refresh()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](Pl.Bs),i["ɵɵdirectiveInject"](o.ActivatedRoute),i["ɵɵdirectiveInject"](Dh.a),i["ɵɵdirectiveInject"](Va.E))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-validate-profile-overlay"]],decls:26,vars:0,consts:[[1,"dark-overlay","modal-overlay"],[1,"modal-content","modal-medium","screen-center"],["overlayType","medium"],["backButton","true",1,"modal-header"],["role","heading",1,"h4-heading",3,"bxTranslate"],[1,"close-link","custom-link",3,"click"],[1,"icon-close"],[1,"modal-body"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"div",1),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"bx-overlay-container",2),i["ɵɵtext"](6,"\n                    "),i["ɵɵelementStart"](7,"bx-overlay-header",3),i["ɵɵtext"](8,"\n                        "),i["ɵɵelementStart"](9,"h4",4),i["ɵɵtext"](10,"\n                            validateDocumentIframe.overlay.content.title\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n                        "),i["ɵɵelementStart"](12,"a",5),i["ɵɵlistener"]("click",(function(){return t.closeLinkClicked()})),i["ɵɵtext"](13,"\n                            "),i["ɵɵelement"](14,"i",6),i["ɵɵtext"](15,"\n                        "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n                    "),i["ɵɵelementStart"](18,"bx-overlay-body",7),i["ɵɵtext"](19,"\n                        "),i["ɵɵelement"](20,"bx-identity-verification-iframe"),i["ɵɵtext"](21,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](22,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](23,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](24,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](25,"\n    "))},directives:[Se.P,Uh],encapsulation:2}),e})(),Vh=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-account"]],decls:6,vars:0,consts:[["data-dynamic-element","dynamicElement",1,"content"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"main",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelement"](3,"router-outlet"),i["ɵɵtext"](4,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n    "))},directives:[o.RouterOutlet],styles:["main.content[_ngcontent-%COMP%]:not(.first-time-visitor) {\n  margin-top: 48px;\n}\n\n@media screen and (min-width: 769px) {\n  main.content[_ngcontent-%COMP%]:not(.first-time-visitor) {\n    margin-top: 64px;\n  }\n}"]}),e})(),Gh=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-account-headless-transaction"]],decls:15,vars:0,consts:[[1,"modal-header"],["role","heading",1,"h2-heading",3,"bxTranslate"],[1,"modal-body"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"bx-overlay"),i["ɵɵtext"](2,"\n            "),i["ɵɵelementStart"](3,"header",0),i["ɵɵtext"](4,"\n                "),i["ɵɵelementStart"](5,"h2",1),i["ɵɵtext"](6,"transaction.title"),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n            "),i["ɵɵelementStart"](9,"section",2),i["ɵɵtext"](10,"\n                "),i["ɵɵelement"](11,"router-outlet"),i["ɵɵtext"](12,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](13,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](14,"\n        "))},directives:[Eh.B,Se.P,o.RouterOutlet],styles:["[_nghost-%COMP%] {\n  border: none;\n  background-color: #ceced3;\n  display: block;\n  position: fixed;\n  top: 0;\n  left: 0;\n  right: 0;\n  z-index: 999;\n  bottom: 0;\n}\n\n[_nghost-%COMP%]    .modal-overlay.dark-overlay:not(.visitor) .modal-content:not(.screen-center) {\n  margin: 0;\n}\n\n[_nghost-%COMP%]   .modal-header[_ngcontent-%COMP%] {\n  padding: 16px 16px 16px 0;\n  position: relative;\n}"]}),e})(),$h=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-headless-cashier"]],decls:6,vars:0,consts:[[1,"cashier-wrapper"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelement"](3,"router-outlet"),i["ɵɵtext"](4,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n    "))},directives:[o.RouterOutlet],styles:[".cashier-wrapper[_ngcontent-%COMP%] {\n  padding: 20px;\n  background: #fff;\n  border: 16px solid #CCCCCC;\n}"]}),e})(),zh=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-headless-join"]],decls:12,vars:0,consts:[["name","messageOverlay"],["name","overlay"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"bx-overlay"),i["ɵɵtext"](2,"\n            "),i["ɵɵelement"](3,"bx-preview-notification"),i["ɵɵtext"](4,"\n            "),i["ɵɵelement"](5,"bx-toast-notification",0),i["ɵɵtext"](6,"\n            "),i["ɵɵelement"](7,"router-outlet"),i["ɵɵtext"](8,"\n            "),i["ɵɵelement"](9,"router-outlet",1),i["ɵɵtext"](10,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n    "))},directives:[Eh.B,Ve,Ge.f,o.RouterOutlet],styles:["[_nghost-%COMP%] {\n  border: none;\n  background-color: #100404;\n  display: block;\n  position: fixed;\n  top: 0;\n  left: 0;\n  right: 0;\n  z-index: 999;\n  bottom: 0;\n}\n\n[_nghost-%COMP%]     bx-registration-overlay bx-overlay-container bx-overlay-header header button.close-btn {\n  visibility: hidden;\n}"]}),e})(),Wh=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-headless-login"]],decls:12,vars:0,consts:[["name","messageOverlay"],["name","overlay"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"bx-overlay"),i["ɵɵtext"](2,"\n            "),i["ɵɵelement"](3,"bx-preview-notification"),i["ɵɵtext"](4,"\n            "),i["ɵɵelement"](5,"bx-toast-notification",0),i["ɵɵtext"](6,"\n            "),i["ɵɵelement"](7,"router-outlet"),i["ɵɵtext"](8,"\n            "),i["ɵɵelement"](9,"router-outlet",1),i["ɵɵtext"](10,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n    "))},directives:[Eh.B,Ve,Ge.f,o.RouterOutlet],styles:["[_nghost-%COMP%] {\n  border: none;\n  background-color: #100404;\n  display: block;\n  position: fixed;\n  top: 0;\n  left: 0;\n  right: 0;\n  z-index: auto;\n  bottom: 0;\n}\n\n[_nghost-%COMP%]     bx-login-overlay bx-overlay-container bx-overlay-header header button.close-btn {\n  visibility: hidden;\n}\n\n[_nghost-%COMP%]     bx-overlay > .modal-overlay {\n  overflow-y: auto;\n}"]}),e})(),qh=(()=>{class e{constructor(e){this.componentNotificationEventDispatcher=e,this.overlayDisplayedState=!1}handleBlackmambaBlockage(e,t){e||this.executeNotificationControl(t)}handleBlockage(e){this.executeNotificationControl(e)}executeNotificationControl(e){this.hasChangedOverlayVisibility(e)&&(e?this.componentNotificationEventDispatcher.block():this.componentNotificationEventDispatcher.unblock(),this.overlayDisplayedState=e)}hasChangedOverlayVisibility(e){return this.overlayDisplayedState!==e}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵinject"](Dd.K))},e.ɵprov=i["ɵɵdefineInjectable"]({token:e,factory:e.ɵfac,providedIn:"root"}),e})(),Kh=(()=>{class e{constructor(e,t,n,i,r,a,s,l,d,u,p,h){this.firstTimeVisitorService=e,this.marketingPageService=t,this.sessionService=n,this.analyticsService=i,this.impressionHelper=r,this.cookieStorageService=a,this.transferStateServiceCache=s,this.platformId=l,this.homepageService=d,this.homepageOverlayNotificationBlocker=u,this.router=p,this.location=h,this.CONTENT_SECTION="homepage",this.BASE_SLUG="homepage-",this.PAGE_VARIANTS={FIRST_TIME:"firsttimevisitor",UNLOGGED:"unlogged",LOGGED:"logged"},this.router.events.pipe((0,c.filter)((e=>e instanceof o.NavigationEnd))).subscribe((e=>{"/?sessionExpired=true"===e.url&&(this.sessionService.isAuthenticated()?this.location.replaceState("/"):this.router.navigate(["/login"],{queryParams:{sessionExpired:!0}}))}))}ngOnInit(){this.overlaySubscription=this.homepageService.getOverlayDisplayed().subscribe((e=>this.handleOverlayTransition(e))),this.initAudiencesVariables(),this.loadData(),this.firstTimeVisitorSubscription=this.firstTimeVisitorService.getFirstTimeVisited().subscribe(this.loadData.bind(this)),this.sessionSubscription=this.sessionService.sessionObserver.subscribe(this.loadData.bind(this))}handleOverlayTransition(e){this.homepageOverlayNotificationBlocker.handleBlockage(e)}initAudiencesVariables(){this.fromUniversal=this.transferStateServiceCache.isFromUniversal(),this.audiencesValue=this.cookieStorageService.get(oo._s.AUDIENCES_PARAM),this.homepageHidden=null!==this.audiencesValue&&!this.personalizedDataRetrieved,this.hasPersonalizedEffect=null!==this.audiencesValue&&this.fromUniversal}ngOnDestroy(){this.firstTimeVisitorSubscription&&this.firstTimeVisitorSubscription.unsubscribe(),this.sessionSubscription&&this.sessionSubscription.unsubscribe(),this.overlaySubscription&&this.overlaySubscription.unsubscribe()}loadData(){let e;if(e=this.firstTimeVisitorService.isFirstTime?this.PAGE_VARIANTS.FIRST_TIME:this.sessionService.isAuthenticated()?this.PAGE_VARIANTS.LOGGED:this.PAGE_VARIANTS.UNLOGGED,this.currentVariant!=e){this.currentVariant=e;let t=this.BASE_SLUG+e;this.marketingPageService.getMarketingPageBySlug(t,this.CONTENT_SECTION).pipe((0,c.tap)((e=>this.impressionHelper.pageView(e)))).subscribe((e=>{this.pageData=e,this.isPersonalizedContentNeeded()&&(this.personalizedDataRetrieved=!0),this.trackChannelView()}))}}isPersonalizedContentNeeded(){return(0,r.isPlatformBrowser)(this.platformId)&&null!==this.audiencesValue}trackChannelView(){const e=this.router.url;let t=e.split("/").length>2?"home":e.replace("/","home");this.analyticsService.trackComponentLoad(t,!0)}}return e.SELECTOR="bx-homepage",e.TEMPLATE='\n        <bx-homepage-overlay></bx-homepage-overlay>\n        <main class="content" [ngClass]="{ \'first-time-visitor\': firstTimeVisitorService.isFirstTime }">\n            <bx-marketing-page [data]="pageData"></bx-marketing-page>\n        </main>\n        <bx-sticky-cta class="visible-xs" *bxHideAuth></bx-sticky-cta>\n    ',e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](el.HV),i["ɵɵdirectiveInject"](Ji.F),i["ɵɵdirectiveInject"](H.m),i["ɵɵdirectiveInject"](re.y),i["ɵɵdirectiveInject"](bc.P),i["ɵɵdirectiveInject"](he.G),i["ɵɵdirectiveInject"](ie.m),i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](Oh.g),i["ɵɵdirectiveInject"](qh),i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](r.Location))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["ng-component"]],decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})();var Xh=n(28405);const Yh=function(e){return{"first-time-visitor":e}};function Jh(e,t){if(1&e&&(i["ɵɵelementStart"](0,"main",2),i["ɵɵtext"](1,"\n            "),i["ɵɵelementStart"](2,"div",3),i["ɵɵtext"](3,"\n                "),i["ɵɵelement"](4,"bx-marketing-page",4),i["ɵɵtext"](5,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n        "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("ngClass",i["ɵɵpureFunction1"](2,Yh,e.firstTimeVisitorService.isFirstTime)),i["ɵɵadvance"](4),i["ɵɵproperty"]("data",e.pageData)}}function Qh(e,t){if(1&e&&(i["ɵɵelementStart"](0,"main",5),i["ɵɵtext"](1,"\n            "),i["ɵɵelementStart"](2,"div",3),i["ɵɵtext"](3,"\n                "),i["ɵɵelement"](4,"bx-marketing-page",4),i["ɵɵtext"](5,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](6,"\n            "),i["ɵɵelementStart"](7,"div",6),i["ɵɵtext"](8,"\n                "),i["ɵɵelement"](9,"bx-placeholder"),i["ɵɵtext"](10,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n        "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵclassProp"]("fix-height",!e.personalizedDataRetrieved),i["ɵɵadvance"](2),i["ɵɵclassProp"]("invisible",e.homepageHidden)("fadein",e.personalizedDataRetrieved),i["ɵɵadvance"](2),i["ɵɵproperty"]("data",e.pageData),i["ɵɵadvance"](3),i["ɵɵclassProp"]("fadeout",e.personalizedDataRetrieved)}}let Zh=(()=>{class e extends Kh{}return e.ɵfac=function(){let t;return function(n){return(t||(t=i["ɵɵgetInheritedFactory"](e)))(n||e)}}(),e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-homepage"]],features:[i["ɵɵInheritDefinitionFeature"]],decls:7,vars:2,consts:[["class","content",3,"ngClass",4,"ngIf"],["class","content-personalized",3,"fix-height",4,"ngIf"],[1,"content",3,"ngClass"],[1,"marketing-page-container"],[3,"data"],[1,"content-personalized"],[1,"placeholder-container"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelement"](1,"router-outlet"),i["ɵɵtext"](2,"\n        "),i["ɵɵtemplate"](3,Jh,7,4,"main",0),i["ɵɵtext"](4,"\n\n        "),i["ɵɵtemplate"](5,Qh,12,9,"main",1),i["ɵɵtext"](6,"\n    ")),2&e&&(i["ɵɵadvance"](3),i["ɵɵproperty"]("ngIf",!t.hasPersonalizedEffect),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.hasPersonalizedEffect))},directives:[o.RouterOutlet,r.NgIf,r.NgClass,Li.n,Xh.W],styles:["main.content[_ngcontent-%COMP%]:not(.first-time-visitor) {\n  margin-top: 40px;\n}\n\n@media screen and (min-width: 769px) {\n  main.content[_ngcontent-%COMP%]:not(.first-time-visitor) {\n    margin-top: 64px;\n  }\n}\n\n.invisible[_ngcontent-%COMP%] {\n  opacity: 0;\n}\n\n.content-personalized[_ngcontent-%COMP%] {\n  position: relative;\n}\n\n.placeholder-container[_ngcontent-%COMP%] {\n  position: absolute;\n  top: 0;\n  left: 0;\n  z-index: 1;\n  height: 5000px;\n  width: 100%;\n  background-color: transparent;\n}\n\n.fix-height[_ngcontent-%COMP%] {\n  height: 5000px;\n}\n\n@keyframes fadein {\n  from {\n    opacity: 0;\n  }\n  to {\n    opacity: 1;\n  }\n}\n\n@keyframes fadeout {\n  from {\n    opacity: 1;\n  }\n  to {\n    opacity: 0;\n    z-index: -1;\n    height: auto;\n  }\n}\n\n.fadeout[_ngcontent-%COMP%] {\n  animation: fadeout 0.5s;\n  animation-fill-mode: forwards;\n}\n\n.fadein[_ngcontent-%COMP%] {\n  animation: fadein 0.5s;\n  animation-fill-mode: forwards;\n}"]}),e})(),em=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-tertiary"]],decls:6,vars:0,consts:[[1,"content"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelementStart"](1,"main",0),i["ɵɵtext"](2,"\n            "),i["ɵɵelement"](3,"router-outlet"),i["ɵɵtext"](4,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n    "))},directives:[o.RouterOutlet],styles:["main.content[_ngcontent-%COMP%]:not(.first-time-visitor) {\n  margin-top: 48px;\n}\n\n@media screen and (min-width: 769px) {\n  main.content[_ngcontent-%COMP%]:not(.first-time-visitor) {\n    margin-top: 64px;\n  }\n}"]}),e})(),tm=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-headless-casino-games"]],decls:6,vars:0,consts:[[1,"casino-in-poker-wrapper"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n      "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n        "),i["ɵɵelement"](3,"router-outlet"),i["ɵɵtext"](4,"\n      "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n    "))},directives:[o.RouterOutlet],encapsulation:2}),e})(),nm=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-headless-sports-in-poker"]],decls:6,vars:0,consts:[[1,"sports-in-poker-wrapper"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n      "),i["ɵɵelementStart"](1,"div",0),i["ɵɵtext"](2,"\n        "),i["ɵɵelement"](3,"router-outlet"),i["ɵɵtext"](4,"\n      "),i["ɵɵelementEnd"](),i["ɵɵtext"](5,"\n    "))},directives:[o.RouterOutlet],encapsulation:2}),e})(),im=(()=>{class e{constructor(e,t){this.viewContainerRef=e,this.cfr=t}set menuItemData(e){this.componentRef&&this.componentRef.instance&&JSON.stringify(this.componentRef.instance.menuItems!==JSON.stringify(e))&&(this.componentRef.instance.menuItems=e)}ngOnInit(){const e=this.cfr.resolveComponentFactory(Ou.components.header);this.componentRef=this.viewContainerRef.createComponent(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ViewContainerRef),i["ɵɵdirectiveInject"](i.ComponentFactoryResolver))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-header"]],inputs:{menuItemData:"menuItemData"},decls:0,vars:0,template:function(e,t){},encapsulation:2}),e})(),rm=(()=>{class e{constructor(e,t){this.siteConfigService=e,this.translateService=t,this.logoLink=this.siteConfigService.getSiteConfigProp("mainLogo"),this.brandName=this.siteConfigService.getSiteConfigProp("brandLabel")}ngOnInit(){const e="404.signIn";this.translateService.translate(e,{brandName:this.brandName}).pipe((0,c.filter)((t=>t!=e))).subscribe((e=>{this.brandedTextTranslated=e}))}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](V.r),i["ɵɵdirectiveInject"](fe.s))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-not-found-page-copperhead"]],decls:34,vars:2,consts:[[1,"mainbox"],[1,"logo-wrapper"],[1,"logo-img",3,"src"],[1,"dice-swirl-image"],["src","/content/images/special_pages/[email protected]",1,"img-wrapper"],[1,"titleParagraph",3,"bxTranslate"],[1,"dontStopWinningParagraph",3,"bxTranslate"],[1,"custom-cta","primary","cta-medium","full-opacity","back-btn"],["role","button","href","/",1,"backToMainPageParagraph",3,"bxTranslate"],[1,"brandedTextParagraph"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n    "),i["ɵɵelement"](1,"bx-header"),i["ɵɵtext"](2,"\n    "),i["ɵɵelementStart"](3,"div",0),i["ɵɵtext"](4,"\n        "),i["ɵɵelementStart"](5,"div",1),i["ɵɵtext"](6,"\n            "),i["ɵɵelement"](7,"img",2),i["ɵɵtext"](8,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n        "),i["ɵɵelementStart"](10,"div",3),i["ɵɵtext"](11,"\n            "),i["ɵɵelementStart"](12,"div"),i["ɵɵtext"](13,"\n                "),i["ɵɵelement"](14,"img",4),i["ɵɵtext"](15,"\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](16,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](17,"\n        "),i["ɵɵelementStart"](18,"div",5),i["ɵɵtext"](19,"404.notFound"),i["ɵɵelementEnd"](),i["ɵɵtext"](20,"\n        "),i["ɵɵelementStart"](21,"div",6),i["ɵɵtext"](22,"404.dontStopWinning"),i["ɵɵelementEnd"](),i["ɵɵtext"](23,"\n        "),i["ɵɵelementStart"](24,"div",7),i["ɵɵtext"](25,"\n            "),i["ɵɵelementStart"](26,"a",8),i["ɵɵtext"](27,"404.backToMainPage"),i["ɵɵelementEnd"](),i["ɵɵtext"](28,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](29,"\n        "),i["ɵɵelementStart"](30,"div",9),i["ɵɵtext"](31),i["ɵɵelementEnd"](),i["ɵɵtext"](32,"\n    "),i["ɵɵelementEnd"](),i["ɵɵtext"](33,"\n    ")),2&e&&(i["ɵɵadvance"](7),i["ɵɵproperty"]("src",t.logoLink,i["ɵɵsanitizeUrl"]),i["ɵɵadvance"](24),i["ɵɵtextInterpolate"](t.brandedTextTranslated))},directives:[im,Se.P],styles:[".mainbox[_ngcontent-%COMP%] {\n  margin: 0 auto 0 auto;\n  text-align: center;\n  padding-top: 140px;\n}\n\n.mainbox[_ngcontent-%COMP%]   a[_ngcontent-%COMP%] {\n  color: inherit;\n}\n\n.titleParagraph[_ngcontent-%COMP%] {\n  font-weight: bold;\n  padding-top: 20px;\n  font-size: 36px;\n  color: #9E8231;\n}\n\n.brandedTextParagraph[_ngcontent-%COMP%], .dontStopWinningParagraph[_ngcontent-%COMP%] {\n  font-size: 16px;\n  color: #9E8231;\n  padding-top: 7px;\n  padding-bottom: 7px;\n}\n\n.thirdParagraph[_ngcontent-%COMP%] {\n  font-size: 16px;\n  color: #c31213;\n}\n\n.dice-swirl-image[_ngcontent-%COMP%] {\n  text-align: center;\n}\n\n.img-wrapper[_ngcontent-%COMP%] {\n  height: 250px;\n}\n\n.back-btn[_ngcontent-%COMP%] {\n  background-color: #c31213;\n  margin: 3% 40%;\n}\n\n.logo-wrapper[_ngcontent-%COMP%] {\n  padding-bottom: 20px;\n}\n\n.logo-img[_ngcontent-%COMP%] {\n  height: 24px;\n}\n\n@media (max-width: 750px) {\n  .mainbox[_ngcontent-%COMP%] {\n    padding-top: 105px;\n  }\n  .thirdParagraph[_ngcontent-%COMP%] {\n    font-size: 14px;\n  }\n  .back-btn[_ngcontent-%COMP%] {\n    margin: 3% 35%;\n  }\n}\n\n@media (max-width: 500px) {\n  .img-wrapper[_ngcontent-%COMP%] {\n    height: 150px;\n  }\n  .back-btn[_ngcontent-%COMP%] {\n    margin: 3% 20%;\n  }\n}"]}),e})();var om=n(42934);let am=(()=>{class e{constructor(e,t,n){this.elementRef=e,this.platformId=t,this.router=n,this.isBrowser=!0,this.ignoreMutations=!1,this.dataLoaded=new i.EventEmitter,this.intersectionObserverCallback=e=>{const t=this.elementRef.nativeElement.querySelector("[data-dynamic-element='dynamicElement']");e[0].isIntersecting&&t&&(this.dataLoaded.emit(),this.intersectionObserver.disconnect())},this.mutationCallback=()=>{const e=this.elementRef.nativeElement.querySelector('[data-dynamic-element="dynamicElement"]');this.ignoreMutations?this.mutationObserver.disconnect():e&&this.dataLoaded.emit()},this.isBrowser=(0,r.isPlatformBrowser)(this.platformId)}ngOnInit(){this.isBrowser&&(this.mutationObserver=new MutationObserver(this.mutationCallback),this.mutationObserver.observe(this.elementRef.nativeElement,{childList:!0,subtree:!0}),this.intersectionObserver=new IntersectionObserver(this.intersectionObserverCallback),this.intersectionObserver.observe(this.elementRef.nativeElement),this.router.events.forEach((e=>{e instanceof o.NavigationEnd&&this.mutationObserver.observe(this.elementRef.nativeElement,{childList:!0,subtree:!0})})))}ngOnDestroy(){this.isBrowser&&this.mutationObserver&&this.mutationObserver.disconnect(),this.intersectionObserver&&this.intersectionObserver.disconnect()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](i.PLATFORM_ID),i["ɵɵdirectiveInject"](o.Router))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxDynamicDataLoad",""]],inputs:{ignoreMutations:"ignoreMutations"},outputs:{dataLoaded:"dataLoaded"}}),e})(),sm=(()=>{class e{constructor(e,t,n){this.elementRef=e,this.renderer=t,this.platformId=n,this.allowedToRender=!1,this.footerVisible=new i.EventEmitter,this.isBrowser=!1,this.intersectionObserverCallback=e=>{this.renderer.setStyle(this.elementRef.nativeElement,"visibility","visible"),this.allowedToRender&&e[0].isIntersecting&&this.footerVisible.emit()},this.isBrowser=(0,r.isPlatformBrowser)(n)}ngOnInit(){this.isBrowser&&(this.renderer.setStyle(this.elementRef.nativeElement,"visibility",this.allowedToRender?"visible":"hidden"),this.intersectionObserver=new IntersectionObserver(this.intersectionObserverCallback),this.intersectionObserver.observe(this.elementRef.nativeElement))}ngOnDestroy(){this.isBrowser&&this.intersectionObserver.disconnect()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](i.ElementRef),i["ɵɵdirectiveInject"](i.Renderer2),i["ɵɵdirectiveInject"](i.PLATFORM_ID))},e.ɵdir=i["ɵɵdefineDirective"]({type:e,selectors:[["","bxFooterVisible",""]],inputs:{allowedToRender:"allowedToRender"},outputs:{footerVisible:"footerVisible"}}),e})();var cm=n(40891),lm=n(20843);function dm(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"bx-dropdown",1),i["ɵɵlistener"]("change",(function(t){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().notifyLanguageChanged(t)})),i["ɵɵtext"](1,"\n        "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("options",e.languages)("hrefValues",e.hrefOptions)("selectedValue",e.currentLangCode)("iconClassProperty",e.languageSelectorConfig.iconClassProperty)("showSelectedIcon",e.languageSelectorConfig.showSelectedIcon)}}let um=(()=>{class e extends nl.S{constructor(e,t,n,i,r){super(e,t,n,i,r)}notifyLanguageChanged(e){super.notifyLanguageChanged(e)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](mr.F),i["ɵɵdirectiveInject"](ke.T),i["ɵɵdirectiveInject"](fe.s),i["ɵɵdirectiveInject"](cm.y),i["ɵɵdirectiveInject"](o.Router))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-lang-select-ch"]],features:[i["ɵɵInheritDefinitionFeature"]],decls:3,vars:1,consts:[["type","button","showArrowIcon","false","prefixIconClass","icon icon-global","valueProperty","code","displayProperty","label","arrowUpIconClass","icon-arrow-down","arrowDownIconClass","icon-arrow-up",3,"options","hrefValues","selectedValue","iconClassProperty","showSelectedIcon","change",4,"ngIf"],["type","button","showArrowIcon","false","prefixIconClass","icon icon-global","valueProperty","code","displayProperty","label","arrowUpIconClass","icon-arrow-down","arrowDownIconClass","icon-arrow-up",3,"options","hrefValues","selectedValue","iconClassProperty","showSelectedIcon","change"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,dm,2,5,"bx-dropdown",0),i["ɵɵtext"](2,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",t.showSelector))},directives:[r.NgIf,lm.J],encapsulation:2}),e})();var pm=n(52236);const hm=["topContainer"];function mm(e,t){1&e&&(i["ɵɵelementStart"](0,"div",10),i["ɵɵtext"](1,"\n                        "),i["ɵɵelement"](2,"sp-odds-format-selector"),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementEnd"]())}function fm(e,t){if(1&e&&(i["ɵɵelementStart"](0,"bx-footer",6),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"div",7),i["ɵɵtext"](3,"\n                    "),i["ɵɵelementStart"](4,"div",8),i["ɵɵtext"](5,"\n                        "),i["ɵɵelement"](6,"bx-lang-select-ch"),i["ɵɵtext"](7,"\n                    "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n                    "),i["ɵɵtemplate"](9,mm,4,0,"div",9),i["ɵɵtext"](10,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](11,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵclassProp"]("in-sports",e.showOddsFormatSelector),i["ɵɵproperty"]("footerData",e.footerMarketingPage),i["ɵɵadvance"](9),i["ɵɵproperty"]("ngIf",e.showOddsFormatSelector)}}function gm(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div",4),i["ɵɵlistener"]("footerVisible",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().onFooterVisible()})),i["ɵɵtext"](1,"\n            "),i["ɵɵtemplate"](2,fm,12,4,"bx-footer",5),i["ɵɵtext"](3,"\n        "),i["ɵɵelementEnd"]()}if(2&e){const e=i["ɵɵnextContext"]();i["ɵɵproperty"]("allowedToRender",e.isDynamicDataLoaded),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.isDynamicDataLoaded)}}let vm=(()=>{class e{constructor(e,t,n,i,o,a,s){this.router=e,this.routesToolsService=t,this.footerContentService=n,this.scrollService=i,this.productsService=o,this.navMenuService=a,this.platformId=s,this.isBrowser=!1,this.isDynamicDataLoaded=!1,this.hasFooterRendered=!1,this.showOddsFormatSelector=!1,this.isBrowser=(0,r.isPlatformBrowser)(this.platformId)}ngOnInit(){this.setOddsFormatSelectorVisibility(this.router.url),this.setHeader(),this.routerSubscription=this.router.events.pipe((0,c.map)((e=>{if(e instanceof o.NavigationStart){this.hasFooterRendered=!1;const t=this.isOverlayInUrl(e.url),n=this.isOverlayInUrl(this.router.url);t||n||(this.isDynamicDataLoaded=!1)}}))).pipe((0,c.filter)((e=>e instanceof o.NavigationEnd))).subscribe((e=>{this.setHeader(),this.setOddsFormatSelectorVisibility(e.url),this.child&&this.scrollService.scrollViewToTop(this.child)}))}ngOnDestroy(){var e,t;null===(e=this.routerSubscription)||void 0===e||e.unsubscribe(),null===(t=this.contentSubscription)||void 0===t||t.unsubscribe()}onFooterVisible(){this.hasFooterRendered||this.renderFooter()}isOverlayInUrl(e){return/\?overlay=/.test(e)}hasMarketingDataLoaded(){const e=this.child.nativeElement.querySelector("bx-marketing-page div");if(e&&e.children)return e.children.length>0}canRenderFooter(){const{url:e}=this.router;return!("/"===e.split("?")[0]&&!this.hasMarketingDataLoaded())}shouldRenderFooterInTemplate(){return this.isOverlayInUrl(this.router.url)}onDynamicDataLoaded(){!this.isDynamicDataLoaded&&this.canRenderFooter()&&(this.isDynamicDataLoaded=!0,this.renderFooter())}setOddsFormatSelectorVisibility(e){this.showOddsFormatSelector=e==="/"+lh.T||e.startsWith("/"+lh.T+"/")}setHeader(){this.navMenuService.getNavMenuData().pipe((0,c.take)(1)).subscribe((e=>{this.headerItems=this.productsService.filterHeaderMultiproductMenu(this.navMenuService.getNavBarItems(e,this.navMenuService.PRIMARY_ELEMENTS))}))}setFooterAndLanguageSelector(e){let t="/"===this.routesToolsService.getPath(e)?"footer-home":"footer-slimline";return!!this.isBrowser&&(this.contentSubscription=this.footerContentService.getContent(t).subscribe((e=>{this.footerMarketingPage=e})),!0)}renderFooter(){this.hasFooterRendered=this.setFooterAndLanguageSelector(this.router.url)}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](o.Router),i["ɵɵdirectiveInject"](Lu.T),i["ɵɵdirectiveInject"](Qi),i["ɵɵdirectiveInject"](om.a),i["ɵɵdirectiveInject"](Yd),i["ɵɵdirectiveInject"](Nd),i["ɵɵdirectiveInject"](i.PLATFORM_ID))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["ng-component"]],viewQuery:function(e,t){if(1&e&&i["ɵɵviewQuery"](hm,7),2&e){let e;i["ɵɵqueryRefresh"](e=i["ɵɵloadQuery"]())&&(t.child=e.first)}},decls:13,vars:3,consts:[[3,"menuItemData"],["bxDynamicDataLoad","",1,"top-container",3,"ignoreMutations","dataLoaded"],["topContainer",""],["bxFooterVisible","",3,"allowedToRender","footerVisible",4,"ngIf"],["bxFooterVisible","",3,"allowedToRender","footerVisible"],[3,"footerData","in-sports",4,"ngIf"],[3,"footerData"],[1,"selectors-container"],[1,"language-container"],["class","odds-format-selector",4,"ngIf"],[1,"odds-format-selector"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵelement"](1,"bx-header",0),i["ɵɵtext"](2,"\n        "),i["ɵɵelementStart"](3,"div",1,2),i["ɵɵlistener"]("dataLoaded",(function(){return t.onDynamicDataLoaded()})),i["ɵɵtext"](5,"\n            "),i["ɵɵelement"](6,"router-outlet"),i["ɵɵtext"](7,"\n        "),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n        "),i["ɵɵtemplate"](9,gm,4,2,"div",3),i["ɵɵtext"](10,"\n        "),i["ɵɵelement"](11,"bx-overlay-message-ch"),i["ɵɵtext"](12,"\n    ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("menuItemData",t.headerItems),i["ɵɵadvance"](2),i["ɵɵproperty"]("ignoreMutations",t.isDynamicDataLoaded),i["ɵɵadvance"](6),i["ɵɵproperty"]("ngIf",t.isBrowser))},directives:[im,am,o.RouterOutlet,r.NgIf,sm,Yi,um,pm.L],styles:["[_nghost-%COMP%] {\n  display: block;\n}\n\nbx-footer[_ngcontent-%COMP%] {\n  display: block;\n}\n\n@media screen and (min-width: 769px) {\n  bx-footer[_ngcontent-%COMP%] {\n    margin-top: 25px;\n  }\n}\n\n.selectors-container[_ngcontent-%COMP%] {\n  display: flex;\n  justify-content: center;\n  margin-top: 15px;\n}\n\ndiv.top-container[_ngcontent-%COMP%] {\n  margin-top: -40px;\n  padding-top: 40px;\n}\n\n@media screen and (min-width: 769px) {\n  div.top-container[_ngcontent-%COMP%] {\n    margin-top: -62px;\n    padding-top: 62px;\n  }\n}"]}),e})();const bm=["form"];function ym(e,t){1&e&&(i["ɵɵelementStart"](0,"div",3),i["ɵɵtext"](1,"\n                "),i["ɵɵelementStart"](2,"figure",4),i["ɵɵtext"](3,"\n                  "),i["ɵɵelement"](4,"i",5),i["ɵɵtext"](5,"\n                  "),i["ɵɵelementStart"](6,"figcaption",6),i["ɵɵtext"](7,"loadingText.loading.default"),i["ɵɵelementEnd"](),i["ɵɵtext"](8,"\n                "),i["ɵɵelementEnd"](),i["ɵɵtext"](9,"\n            "),i["ɵɵelementEnd"]())}function Sm(e,t){if(1&e&&i["ɵɵelement"](0,"input",10),2&e){const e=t.$implicit,n=i["ɵɵnextContext"](3);i["ɵɵpropertyInterpolate"]("name",e),i["ɵɵpropertyInterpolate"]("value",n.postData[e])}}function Cm(e,t){if(1&e&&(i["ɵɵelementStart"](0,"form",7,8),i["ɵɵtext"](2,"\n                "),i["ɵɵtemplate"](3,Sm,1,2,"input",9),i["ɵɵtext"](4,"\n            "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"](2);i["ɵɵpropertyInterpolate"]("action",e.gameData.LobbyUrl,i["ɵɵsanitizeUrl"]),i["ɵɵpropertyInterpolate"]("method",e.gameData.Method),i["ɵɵadvance"](3),i["ɵɵproperty"]("ngForOf",e.postDataProps)}}function xm(e,t){if(1&e&&(i["ɵɵelementStart"](0,"div"),i["ɵɵtext"](1,"\n            "),i["ɵɵtemplate"](2,ym,10,0,"div",1),i["ɵɵtext"](3,"\n\n            "),i["ɵɵtemplate"](4,Cm,5,3,"form",2),i["ɵɵtext"](5,"\n        "),i["ɵɵelementEnd"]()),2&e){const e=i["ɵɵnextContext"]();i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",!e.gameData),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",e.gameData)}}function Im(e,t){if(1&e){const e=i["ɵɵgetCurrentView"]();i["ɵɵelementStart"](0,"div",3),i["ɵɵtext"](1,"\n            "),i["ɵɵelementStart"](2,"div",11),i["ɵɵtext"](3,"livedealer.error.text"),i["ɵɵelementEnd"](),i["ɵɵtext"](4,"\n             "),i["ɵɵelementStart"](5,"button",12),i["ɵɵlistener"]("click",(function(){return i["ɵɵrestoreView"](e),i["ɵɵnextContext"]().closePopup()})),i["ɵɵtext"](6,"\n                livedealer.error.cta.label\n            "),i["ɵɵelementEnd"](),i["ɵɵtext"](7,"\n        "),i["ɵɵelementEnd"]()}}let wm=(()=>{class e{constructor(e,t,n,i,r){this.sessionService=e,this.route=t,this.http=n,this.applicationRef=i,this.deviceService=r,this.postData={},this.postDataProps=[],this.error=!1}ngOnInit(){this.route.params.subscribe((e=>{this.openGame(e.gameId,e.language,e.currency,this.getChannelType())}))}closePopup(){window.self.close()}openGame(e,t,n,i){let r=new qe.HttpHeaders;r.set("X-SessionId",this.sessionService.session);let o=`/services/casino/casino-lobby-services/games/${e}/url?mode=real&currencyCode=${n}&language=${t}&channelType=${i}`;this.http.get(o,{headers:r,withCredentials:!0}).subscribe((e=>this.fillAndSendForm(e)),(()=>this.error=!0))}fillAndSendForm(e){"GET"===e.Method?document.location.href=e.LobbyUrl:(this.gameData=e,this.gameData.postData&&(this.postData=e.postData,this.postDataProps=Object.keys(e.postData)),this.applicationRef.tick(),this.sendForm())}sendForm(){this.form&&this.form.nativeElement.submit()}getChannelType(){return this.deviceService.getDeviceType()}}return e.ɵfac=function(t){return new(t||e)(i["ɵɵdirectiveInject"](wt.mj),i["ɵɵdirectiveInject"](o.ActivatedRoute),i["ɵɵdirectiveInject"](qe.HttpClient),i["ɵɵdirectiveInject"](i.ApplicationRef),i["ɵɵdirectiveInject"](Cr.U))},e.ɵcmp=i["ɵɵdefineComponent"]({type:e,selectors:[["bx-live-dealer-game-popup-ch"]],viewQuery:function(e,t){if(1&e&&i["ɵɵviewQuery"](bm,7),2&e){let e;i["ɵɵqueryRefresh"](e=i["ɵɵloadQuery"]())&&(t.form=e.first)}},decls:5,vars:2,consts:[[4,"ngIf"],["class","screen-center loading-container",4,"ngIf"],["id","gameForm",3,"action","method",4,"ngIf"],[1,"screen-center","loading-container"],[1,"loading-spinner"],[1,"icon","icon-loading"],[3,"bxTranslate"],["id","gameForm",3,"action","method"],["form",""],["type","hidden",3,"name","value",4,"ngFor","ngForOf"],["type","hidden",3,"name","value"],[1,"error",3,"bxTranslate"],[1,"custom-cta","primary",3,"bxTranslate","click"]],template:function(e,t){1&e&&(i["ɵɵtext"](0,"\n        "),i["ɵɵtemplate"](1,xm,6,2,"div",0),i["ɵɵtext"](2,"\n\n        "),i["ɵɵtemplate"](3,Im,8,0,"div",1),i["ɵɵtext"](4,"\n        ")),2&e&&(i["ɵɵadvance"](1),i["ɵɵproperty"]("ngIf",!t.error),i["ɵɵadvance"](2),i["ɵɵproperty"]("ngIf",t.error))},directives:[r.NgIf,Se.P,r.NgForOf],styles:[".error[_ngcontent-%COMP%] {\n            font-size: 20px;\n            font-weight: bold;\n            margin-bottom: 20px;\n        }\n        .loading-container[_ngcontent-%COMP%] {\n            text-align: center;\n        }"]}),e})();function Em(){return globalThis.config["site.config.mfe.enabled"].includes("forgot-password")||"undefined"!=typeof window&&(null===document||void 0===document?void 0:document.cookie.includes("_site.config.mfe.enabled"))?n.e(8755).then(n.bind(n,18755)).then((e=>e.ForgotPasswordIntegrationModule)):Promise.all([n.e(4187),n.e(6411),n.e(9760),n.e(3248),n.e(9735)]).then(n.bind(n,99735)).then((e=>e.LazyForgotPasswordPlayerModule))}const Tm=[{path:Fu.jU,component:zh,loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(9760),n.e(3248),n.e(163)]).then(n.bind(n,90163)).then((e=>e.ProfileRegistrationModule)),canActivate:[ih.S],canDeactivate:[$u]},{path:Fu.Pi,component:$h,resolve:{StylesheetResolver:Xc.Z},data:{channel:"cashier"},loadChildren:()=>Promise.all([n.e(2174),n.e(6681)]).then(n.bind(n,6681)).then((e=>e.LazyCashierModule)),canDeactivate:[$u]},{path:Fu.Q,component:Gh,loadChildren:()=>Promise.all([n.e(3206),n.e(8826)]).then(n.bind(n,88826)).then((e=>e.LazyAccountTransactionPlayerModule)),canDeactivate:[$u]},{path:Fu.N6,component:Wh,loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(8229),n.e(5484)]).then(n.bind(n,95484)).then((e=>e.LazyLoginModule)),canActivate:[$p.T],canDeactivate:[$p.T,$u]},{path:Fu.aK,component:tm,loadChildren:()=>Promise.all([n.e(8730),n.e(6310)]).then(n.bind(n,76310)).then((e=>e.LazyCasinoInPokerModule)),canDeactivate:[$u]},{path:Fu.l7,component:nm,loadChildren:()=>Promise.all([n.e(9883),n.e(4329),n.e(3206),n.e(6419),n.e(3945),n.e(9081),n.e(7626)]).then(n.bind(n,77440)).then((e=>e.LazySportsInPokerModule)),canActivate:[ch],canDeactivate:[$u]},{path:Fu.LE,children:[],canActivate:[$p.T,it.v],resolve:[rt.S]}],Pm=[{path:tt.wF,canActivate:[$p.T],component:rm},..._h,...Tm,{path:Fu.i4,component:wm,canActivate:[Vs.a1]},{path:Fu.uJ,loadChildren:()=>n.e(5353).then(n.bind(n,95353)).then((e=>e.HardBlockCopperheadModule))},{path:Fu.Vf,loadChildren:()=>n.e(495).then(n.bind(n,80495)).then((e=>e.MaintenanceCopperheadModule))},{path:Fu.X_,loadChildren:()=>n.e(9117).then(n.bind(n,9117)).then((e=>e.OutageCopperheadModule))},{path:"",component:vm,canActivate:[Vu,$p.T,xh.q,hh.S],runGuardsAndResolvers:"always",resolve:[ba],children:[{path:Fu.ft,component:Zh,canActivate:[hh.S],children:[{path:Fu.ZE,canActivate:[fl.v],data:{overlayUrl:Fu.ZE},children:[]},{path:Fu.ts,canActivate:[ih.S,fl.v],data:{overlayUrl:Fu.ts},children:[]},{path:Fu.To,canActivate:[fl.v],data:{overlayUrl:Fu.To},children:[]},{path:Fu.t5,canActivate:[fl.v],data:{overlayUrl:Fu.t5},children:[]},{path:Fu.To+"/:operation",canActivate:[fl.v],children:[]},{path:Fu.jA,component:kh,loadChildren:()=>Promise.all([n.e(2174),n.e(7123)]).then(n.bind(n,37123)).then((e=>e.LazyBonusSelectorFirstTimeModule)),canActivate:[Vs.a1,Os.s],resolve:{firstTimeDepositor:_s},data:{continueNavigationUrl:Fu.dU,header:"first-bonus-selection-slideshow",footer:"first-bonus-selection-section"}},{path:Fu.If,canActivate:[fl.v],data:{overlayUrl:Fu.If},children:[]},{path:Fu.HY,canActivate:[fl.v],data:{overlayUrl:Fu.HY},children:[]},{path:Fu.MD,canActivate:[fl.v],data:{overlayUrl:Fu.MD},children:[]},{path:dh.b,canActivate:[fl.v],data:{overlayUrl:dh.b},children:[]},{path:Fu.FJ,canActivate:[fl.v],data:{trackingUrl:"reset-password"},children:[]},{path:Fu.Lb,canActivate:[fl.v],data:{overlayUrl:Fu.Lb},children:[]},{path:_e,canActivate:[fl.v],data:{overlayUrl:_e},children:[]},{path:ph.S,canActivate:[fl.v],data:{overlayUrl:ph.S},children:[]},{path:ph.d,canActivate:[Vs.a1],children:[{path:"",canActivate:[fl.v],children:[]}]},{path:uh.O,canActivate:[fl.v],data:{overlayUrl:uh.O},children:[]},{path:Fu.TV,canActivate:[fl.v],data:{overlayUrl:Fu.TV},children:[]},{path:Fu.A1,redirectTo:"/help"},{path:Fu.Px,component:kh,canActivate:[Vs.a1,Os.s,Ss.d,xs.l,Nh.J],canDeactivate:[Nh.J],resolve:{StylesheetResolver:Xc.Z},data:{channel:"cashier"},loadChildren:()=>Promise.all([n.e(2174),n.e(6681)]).then(n.bind(n,6681)).then((e=>e.LazyCashierModule))},{path:Fu.Gq,canActivate:[vl],data:{overlayUrl:Fu.Gq},children:[]},...(0,jh.$x)()]},{path:Fu.Jp,loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(9760),n.e(3248),n.e(8964),n.e(6498),n.e(4630)]).then(n.bind(n,4630)).then((e=>e.LazyContactUsModule))},{path:Fu.X$,children:[{path:"**",component:wh,data:{isMarketingPage:!0,breadcrumbText:"breadcrumb.poker"},resolve:{dynamicContent:Cc},canActivate:[dp]}]},{path:Fu.vi,loadChildren:()=>Promise.all([n.e(7130),n.e(8730),n.e(8885),n.e(9937),n.e(6645)]).then(n.bind(n,36645)).then((e=>e.LazyCasinoModule)),canLoad:[xh.q]},{path:tt.RC,component:Vh,loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(9760),n.e(3248),n.e(3206),n.e(2174),n.e(6567),n.e(5944),n.e(6586)]).then(n.bind(n,86586)).then((e=>e.AccountMenuModule))},{path:Fu.Z0,component:em,loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(9760),n.e(3248),n.e(8964),n.e(5048),n.e(6498),n.e(2389)]).then(n.bind(n,82389)).then((e=>e.LazyHelpMenuModule))},{path:Fu.I6,component:em,loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(9760),n.e(3248),n.e(8964),n.e(5048),n.e(6498),n.e(2389)]).then(n.bind(n,82389)).then((e=>e.LazyHelpMenuModule))},{path:Fu.EJ,component:em,loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(9760),n.e(3248),n.e(8964),n.e(5048),n.e(6498),n.e(2389)]).then(n.bind(n,82389)).then((e=>e.LazyHelpMenuModule))},{path:Fu.Mk,component:em,loadChildren:()=>Promise.all([n.e(8964),n.e(5048),n.e(3064)]).then(n.bind(n,73064)).then((e=>e.LazyCasinoGuideMenuModule))},{path:Fu.sz,redirectTo:"tc-general"},{path:lh.T,loadChildren:()=>Promise.all([n.e(9883),n.e(4329),n.e(3206),n.e(6419),n.e(3945),n.e(9081),n.e(5117)]).then(n.bind(n,32494)).then((e=>e.LazySportsUiModule)),canLoad:[xh.q]},{path:sh.X,loadChildren:()=>Promise.all([n.e(9883),n.e(4329),n.e(3206),n.e(6419),n.e(3945),n.e(7881),n.e(4530)]).then(n.bind(n,27837)).then((e=>e.LazyHorsesUiModule)),canLoad:[xh.q]},{path:"oneworks",loadChildren:()=>Promise.all([n.e(6419),n.e(2067)]).then(n.bind(n,72067)).then((e=>e.LazyOneworksUiModule)),canLoad:[nt]},{path:jh.OO,loadChildren:()=>Promise.all([n.e(7130),n.e(7667),n.e(3193)]).then(n.bind(n,13193)).then((e=>e.LazyLiveDealerPageModule)),canLoad:[xh.q]},{matcher:Pc.J,component:wh,resolve:{dynamicContent:Cc},canLoad:[xh.q]}]},{path:Fu.ZE,outlet:"overlay",component:Th,canDeactivate:[$p.T],children:[{path:"",loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(8229),n.e(5484)]).then(n.bind(n,95484)).then((e=>e.LazyLoginModule))}]},{path:Fu.ts,outlet:"overlay",component:Th,canActivate:[ih.S],resolve:{postCFUrl:Ml},children:[{path:"",loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(9760),n.e(3248),n.e(163)]).then(n.bind(n,90163)).then((e=>e.ProfileRegistrationModule))}]},{path:Fu.To,outlet:"overlay",component:Th,data:{conversionFunnel:!0},children:[{path:"",canActivate:[Vs.a1],loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(9760),n.e(3248),n.e(9186),n.e(102)]).then(n.bind(n,102)).then((e=>e.LazyValidationCodeModule))}]},{path:Fu.To+"/:operation",outlet:"overlay",component:Th,data:{conversionFunnel:!0},children:[{path:"",canActivate:[Vs.a1],loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(9760),n.e(3248),n.e(9186),n.e(102)]).then(n.bind(n,102)).then((e=>e.LazyValidationCodeModule))}]},{path:Fu.t5,outlet:"overlay",component:Th,children:[{path:"",canActivate:[Vs.a1],loadChildren:()=>n.e(8862).then(n.bind(n,28862)).then((e=>e.LazySendValidationCodeModule))}]},{path:Fu.If,outlet:"overlay",component:Th,children:[{path:"",canActivate:[Ch],loadChildren:Em}]},{path:Fu.HY,outlet:"overlay",component:Th,children:[{path:"",component:Lh,data:{OverlayComponentStyle:"noHorizontalScroll"}}]},{path:Fu.MD,outlet:"overlay",component:Th,children:[{path:"",component:Hh,data:{OverlayComponentStyle:"noHorizontalScroll"}}]},{path:dh.b,outlet:"overlay",component:Th,children:[{path:"",canActivate:[Ch],loadChildren:Em,data:{force:!0}}]},{path:Fu.FJ,outlet:"overlay",component:Th,children:[{path:"",loadChildren:()=>n.e(9539).then(n.bind(n,29539)).then((e=>e.LazyResetPasswordModule))}]},{path:Fu.Lb,outlet:"overlay",component:Th,children:[{path:"",canActivate:[Vs.a1,Os.s],component:Sh,data:{overlayComponentStyle:"noHorizontalScroll"}}]},{path:_e,outlet:"overlay",component:Th,children:[{path:"",component:vh,data:{overlayComponentStyle:"noHorizontalScroll"}}]},{path:ph.S,outlet:"overlay",component:Th,data:{overlayComponentStyle:"noHorizontalScroll",pinCodeOperationType:"FORCE_UPDATE"},children:[{path:"",loadChildren:()=>n.e(2745).then(n.bind(n,72745)).then((e=>e.LazyResetPinModule))}]},{path:ph.d,outlet:"overlay",component:Th,data:{overlayComponentStyle:"noHorizontalScroll",pinCodeOperationType:"RESET"},children:[{path:"",loadChildren:()=>n.e(2745).then(n.bind(n,72745)).then((e=>e.LazyResetPinModule))}]},{path:uh.O,outlet:"overlay",component:Th,data:{overlayComponentStyle:"noHorizontalScroll"},children:[{path:"",loadChildren:()=>Promise.all([n.e(4187),n.e(6411),n.e(9760),n.e(3248),n.e(8155)]).then(n.bind(n,48155)).then((e=>e.LazyPhoneNumberResetModule))}]},{path:Fu.TV,outlet:"overlay",component:Th,children:[{path:"",loadChildren:()=>n.e(6366).then(n.bind(n,96366)).then((e=>e.LazyForumUsernameModule))}]},{path:Fu.Gq,outlet:"overlay",component:Th,children:[{path:"",loadChildren:()=>n.e(331).then(n.bind(n,70331)).then((e=>e.LazyGratificationModule))}]},{path:Fu.uz,outlet:"overlay",component:Th,children:[{canActivate:[Vs.a1,R.T],path:"",loadChildren:()=>n.e(3057).then(n.bind(n,33057)).then((e=>e.LazyTwoFactorAuthenticatorModule))}]},...(Am=()=>Promise.all([n.e(7906),n.e(9744)]).then(n.bind(n,19744)).then((e=>e.LazyGamecardPlayRealCopperHeadModule)),_m=()=>Promise.all([n.e(7906),n.e(1405)]).then(n.bind(n,21405)).then((e=>e.LazyGamecardPlayPracticeCopperHeadModule)),[{matcher:function(e){return Ph(e,"real")},component:Th,outlet:"overlay",canActivate:[yr.LF],children:[{path:"",loadChildren:Am,canActivate:[Us]}]},{matcher:function(e){return Ph(e,"practice")},component:Th,outlet:"overlay",canActivate:[yr.LF,Nc],children:[{path:"",loadChildren:_m,data:{noNeedToLogin:!0}}]},{path:"casino/description/:slug",component:Th,outlet:"overlay",canActivate:[yr.LF],children:[{path:"",component:yr.cA,data:{showPractice:"false",showLongDescription:"true"},resolve:{game:yr.fe}}]},{path:"casino/:category/:subcategory/:slug",component:Th,outlet:"overlay",canActivate:[yr.LF],children:[{path:"",loadChildren:Am,canActivate:[Us,kc]}]}]),...(0,jh.Mh)(Th,(()=>Promise.all([n.e(7906),n.e(7310)]).then(n.bind(n,27310)).then((e=>e.LazyLiveDealerGamecardPlayCopperHeadModule)))),{path:"**",redirectTo:tt.wF}];var Am,_m,Mm=n(79427);n(7011);let Om=(()=>{class e{}return e.ɵfac=function(t){return new(t||e)},e.ɵmod=i["ɵɵdefineNgModule"]({type:e,bootstrap:[$e]}),e.ɵinj=i["ɵɵdefineInjector"]({providers:[z,$,{provide:r.LocationStrategy,useClass:F.HG},Ch,R.T],imports:[[ah,L.forRoot(),B.L1.forRoot(),Mm.Qs.configure({shared:!0,fetchUrl:"/assets/apps/manifest.json"}),o.RouterModule.forRoot(Pm,{preloadingStrategy:z,initialNavigation:"enabled",anchorScrolling:"enabled",enableTracing:!1}),Q]]}),e})();"undefined"==typeof ngDevMode||ngDevMode,"undefined"==typeof ngDevMode||ngDevMode;const km="@angular-architects/module-federation-tools";function jm(){const e=window;return e[km]=e[km]||{},e[km]}function Nm(e){const t=jm();return e?e(t):t}function Dm(e){return Object.assign(jm(),e)}let Lm=!0,Rm=!0,Fm=!0;function Bm(){const e=window;return e.platform=e.platform||{},e}function Um(){return Nm((e=>e.platformCache))||Dm({platformCache:new Map}).platformCache}function Hm(e){if(!Rm)return e.platformFactory();const t=e.version(),n=t===i.VERSION.full?i.VERSION:t,r="string"==typeof n?n:n.full;let o=Um().get(n)||Fm&&function(e){const t=Bm().platform[e];return t instanceof i.PlatformRef?t:null}(r);return o||(o=e.platformFactory(),function(e,t){Rm&&(Fm&&function(e,t){Bm().platform[e]=t}(e.full,t),Um().set(e,t))}(i.VERSION,o)),o}function Vm(e,t){var n;return Lm=!1!==t.ngZoneSharing,Rm=!1!==t.platformSharing,Fm=!1!==t.activeLegacyMode,t.platformFactory=t.platformFactory||(()=>(0,ze.platformBrowser)()),t.version=t.version||(()=>i.VERSION),t.production&&(0,i.enableProdMode)(),Lm&&!(null===(n=t.compilerOptions)||void 0===n?void 0:n.ngZone)&&(t.compilerOptions=t.compilerOptions||{},t.compilerOptions.ngZone=Nm((e=>e.ngZone))||window.ngZone),Hm(t).bootstrapModule(e,t.compilerOptions).then((e=>("shell"===t.appType?function(e){const t=e.get(i.NgZone,null);var n;t?(n=t,Lm&&(Fm&&function(e){window.ngZone=e}(n),Dm({ngZone:n}))):console.warn("No NgZone to share found")}(e.injector):"microfrontend"===t.appType&&function(e){const t=e.get(o.Router);t?function(e,t=!1){let n;t?(n=`${location.hash.substr(1)}${location.search}`,e.navigateByUrl(n),window.addEventListener("hashchange",(()=>{e.navigateByUrl(n)}))):(n=`${location.pathname.substr(1)}${location.search}`,e.navigateByUrl(n),window.addEventListener("popstate",(()=>{e.navigateByUrl(n)})))}(t):console.warn("No router to connect found")}(e.injector),e)))}function Gm(){Vm(Om,{production:true}).catch((e=>console.log(e)))}n.p=(window.config["site.config.cdn.sharding_enabled"]&&"true"===window.config["site.config.cdn.sharding_enabled"][0]&&window.config["site.config.cdn.domains"]&&window.config["site.config.cdn.domains"][0]?window.config["site.config.cdn.domains"][0]:"")+(window.isDev?"":(window.config["site.config.url_prefix"]&&window.config["site.config.url_prefix"][0]?"/"+window.config["site.config.url_prefix"][0]:"")+"/assets/js/"),(0,i.enableProdMode)(),"complete"===document.readyState||"interactive"===document.readyState?Gm():document.addEventListener("DOMContentLoaded",(()=>{Gm()})),window.wtrackLoaded$=new Promise((e=>{let t;Object.defineProperty(window,"wtrack",{set:n=>{t||(t=n,e({}))},get:function(){return t}})})),window.global=window},35697:(e,t,n)=>{n(88854),n(35704),n(13744),n(22603);var i=n(86950);e.exports=i.Map},97625:e=>{e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},95143:(e,t,n)=>{var i=n(60726);e.exports=function(e){if(!i(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},24094:(e,t,n)=>{var i=n(84563),r=n(38724),o=n(52975),a=i("unscopables"),s=Array.prototype;null==s[a]&&o.f(s,a,{configurable:!0,value:r(null)}),e.exports=function(e){s[a][e]=!0}},86063:e=>{e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},21099:(e,t,n)=>{var i=n(60726);e.exports=function(e){if(!i(e))throw TypeError(String(e)+" is not an object");return e}},70452:(e,t,n)=>{var i=n(8643),r=n(15902),o=n(20222),a=function(e){return function(t,n,a){var s,c=i(t),l=r(c.length),d=o(a,l);if(e&&n!=n){for(;l>d;)if((s=c[d++])!=s)return!0}else for(;l>d;d++)if((e||d in c)&&c[d]===n)return e||d||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},56297:(e,t,n)=>{var i=n(84563)("iterator"),r=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){r=!0}};a[i]=function(){return this},Array.from(a,(function(){throw 2}))}catch(e){}e.exports=function(e,t){if(!t&&!r)return!1;var n=!1;try{var o={};o[i]=function(){return{next:function(){return{done:n=!0}}}},e(o)}catch(e){}return n}},96644:e=>{var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},99420:(e,t,n)=>{var i=n(72900),r=n(96644),o=n(84563)("toStringTag"),a="Arguments"==r(function(){return arguments}());e.exports=i?r:function(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:a?r(t):"Object"==(i=r(t))&&"function"==typeof t.callee?"Arguments":i}},5692:(e,t,n)=>{"use strict";var i=n(52975).f,r=n(38724),o=n(78715),a=n(29727),s=n(86063),c=n(53284),l=n(66038),d=n(37374),u=n(47012),p=n(64238).fastKey,h=n(52493),m=h.set,f=h.getterFor;e.exports={getConstructor:function(e,t,n,l){var d=e((function(e,i){s(e,d,t),m(e,{type:t,index:r(null),first:void 0,last:void 0,size:0}),u||(e.size=0),null!=i&&c(i,e[l],{that:e,AS_ENTRIES:n})})),h=f(t),g=function(e,t,n){var i,r,o=h(e),a=v(e,t);return a?a.value=n:(o.last=a={index:r=p(t,!0),key:t,value:n,previous:i=o.last,next:void 0,removed:!1},o.first||(o.first=a),i&&(i.next=a),u?o.size++:e.size++,"F"!==r&&(o.index[r]=a)),e},v=function(e,t){var n,i=h(e),r=p(t);if("F"!==r)return i.index[r];for(n=i.first;n;n=n.next)if(n.key==t)return n};return o(d.prototype,{clear:function(){for(var e=h(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,u?e.size=0:this.size=0},delete:function(e){var t=this,n=h(t),i=v(t,e);if(i){var r=i.next,o=i.previous;delete n.index[i.index],i.removed=!0,o&&(o.next=r),r&&(r.previous=o),n.first==i&&(n.first=r),n.last==i&&(n.last=o),u?n.size--:t.size--}return!!i},forEach:function(e){for(var t,n=h(this),i=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(i(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!v(this,e)}}),o(d.prototype,n?{get:function(e){var t=v(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),u&&i(d.prototype,"size",{get:function(){return h(this).size}}),d},setStrong:function(e,t,n){var i=t+" Iterator",r=f(t),o=f(i);l(e,t,(function(e,t){m(this,{type:i,target:e,state:r(e),kind:t,last:void 0})}),(function(){for(var e=o(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),d(t)}}},41603:(e,t,n)=>{"use strict";var i=n(51163),r=n(31864),o=n(87215),a=n(87763),s=n(64238),c=n(53284),l=n(86063),d=n(60726),u=n(8597),p=n(56297),h=n(58242),m=n(38267);e.exports=function(e,t,n){var f=-1!==e.indexOf("Map"),g=-1!==e.indexOf("Weak"),v=f?"set":"add",b=r[e],y=b&&b.prototype,S=b,C={},x=function(e){var t=y[e];a(y,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!d(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!d(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!d(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(o(e,"function"!=typeof b||!(g||y.forEach&&!u((function(){(new b).entries().next()})))))S=n.getConstructor(t,e,f,v),s.REQUIRED=!0;else if(o(e,!0)){var I=new S,w=I[v](g?{}:-0,1)!=I,E=u((function(){I.has(1)})),T=p((function(e){new b(e)})),P=!g&&u((function(){for(var e=new b,t=5;t--;)e[v](t,t);return!e.has(-0)}));T||((S=t((function(t,n){l(t,S,e);var i=m(new b,t,S);return null!=n&&c(n,i[v],{that:i,AS_ENTRIES:f}),i}))).prototype=y,y.constructor=S),(E||P)&&(x("delete"),x("has"),f&&x("get")),(P||w)&&x(v),g&&y.clear&&delete y.clear}return C[e]=S,i({global:!0,forced:S!=b},C),h(S,e),g||n.setStrong(S,e,f),S}},30009:(e,t,n)=>{var i=n(67791),r=n(99376),o=n(93099),a=n(52975);e.exports=function(e,t){for(var n=r(t),s=a.f,c=o.f,l=0;l<n.length;l++){var d=n[l];i(e,d)||s(e,d,c(t,d))}}},51335:(e,t,n)=>{var i=n(8597);e.exports=!i((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},17453:(e,t,n)=>{"use strict";var i=n(92053).IteratorPrototype,r=n(38724),o=n(53203),a=n(58242),s=n(72339),c=function(){return this};e.exports=function(e,t,n){var l=t+" Iterator";return e.prototype=r(i,{next:o(1,n)}),a(e,l,!1,!0),s[l]=c,e}},815:(e,t,n)=>{var i=n(47012),r=n(52975),o=n(53203);e.exports=i?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},53203:e=>{e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},66038:(e,t,n)=>{"use strict";var i=n(51163),r=n(17453),o=n(3963),a=n(91464),s=n(58242),c=n(815),l=n(87763),d=n(84563),u=n(97515),p=n(72339),h=n(92053),m=h.IteratorPrototype,f=h.BUGGY_SAFARI_ITERATORS,g=d("iterator"),v="keys",b="values",y="entries",S=function(){return this};e.exports=function(e,t,n,d,h,C,x){r(n,t,d);var I,w,E,T=function(e){if(e===h&&O)return O;if(!f&&e in _)return _[e];switch(e){case v:case b:case y:return function(){return new n(this,e)}}return function(){return new n(this)}},P=t+" Iterator",A=!1,_=e.prototype,M=_[g]||_["@@iterator"]||h&&_[h],O=!f&&M||T(h),k="Array"==t&&_.entries||M;if(k&&(I=o(k.call(new e)),m!==Object.prototype&&I.next&&(u||o(I)===m||(a?a(I,m):"function"!=typeof I[g]&&c(I,g,S)),s(I,P,!0,!0),u&&(p[P]=S))),h==b&&M&&M.name!==b&&(A=!0,O=function(){return M.call(this)}),u&&!x||_[g]===O||c(_,g,O),p[t]=O,h)if(w={values:T(b),keys:C?O:T(v),entries:T(y)},x)for(E in w)(f||A||!(E in _))&&l(_,E,w[E]);else i({target:t,proto:!0,forced:f||A},w);return w}},47012:(e,t,n)=>{var i=n(8597);e.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},85815:(e,t,n)=>{var i=n(31864),r=n(60726),o=i.document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},26877:e=>{e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},73792:(e,t,n)=>{var i=n(73626);e.exports=i("navigator","userAgent")||""},17189:(e,t,n)=>{var i,r,o=n(31864),a=n(73792),s=o.process,c=s&&s.versions,l=c&&c.v8;l?r=(i=l.split("."))[0]<4?1:i[0]+i[1]:a&&(!(i=a.match(/Edge\/(\d+)/))||i[1]>=74)&&(i=a.match(/Chrome\/(\d+)/))&&(r=i[1]),e.exports=r&&+r},71001:e=>{e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},51163:(e,t,n)=>{var i=n(31864),r=n(93099).f,o=n(815),a=n(87763),s=n(22341),c=n(30009),l=n(87215);e.exports=function(e,t){var n,d,u,p,h,m=e.target,f=e.global,g=e.stat;if(n=f?i:g?i[m]||s(m,{}):(i[m]||{}).prototype)for(d in t){if(p=t[d],u=e.noTargetGet?(h=r(n,d))&&h.value:n[d],!l(f?d:m+(g?".":"#")+d,e.forced)&&void 0!==u){if(typeof p==typeof u)continue;c(p,u)}(e.sham||u&&u.sham)&&o(p,"sham",!0),a(n,d,p,e)}}},8597:e=>{e.exports=function(e){try{return!!e()}catch(e){return!0}}},39352:(e,t,n)=>{var i=n(8597);e.exports=!i((function(){return Object.isExtensible(Object.preventExtensions({}))}))},29727:(e,t,n)=>{var i=n(97625);e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},73626:(e,t,n)=>{var i=n(86950),r=n(31864),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(i[e])||o(r[e]):i[e]&&i[e][t]||r[e]&&r[e][t]}},63076:(e,t,n)=>{var i=n(99420),r=n(72339),o=n(84563)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||r[i(e)]}},31864:e=>{var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof global&&global)||function(){return this}()||Function("return this")()},67791:(e,t,n)=>{var i=n(16174),r={}.hasOwnProperty;e.exports=Object.hasOwn||function(e,t){return r.call(i(e),t)}},3536:e=>{e.exports={}},67538:(e,t,n)=>{var i=n(73626);e.exports=i("document","documentElement")},27091:(e,t,n)=>{var i=n(47012),r=n(8597),o=n(85815);e.exports=!i&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},56169:(e,t,n)=>{var i=n(8597),r=n(96644),o="".split;e.exports=i((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==r(e)?o.call(e,""):Object(e)}:Object},38267:(e,t,n)=>{var i=n(60726),r=n(91464);e.exports=function(e,t,n){var o,a;return r&&"function"==typeof(o=t.constructor)&&o!==n&&i(a=o.prototype)&&a!==n.prototype&&r(e,a),e}},87720:(e,t,n)=>{var i=n(59941),r=Function.toString;"function"!=typeof i.inspectSource&&(i.inspectSource=function(e){return r.call(e)}),e.exports=i.inspectSource},64238:(e,t,n)=>{var i=n(3536),r=n(60726),o=n(67791),a=n(52975).f,s=n(94295),c=n(39352),l=s("meta"),d=0,u=Object.isExtensible||function(){return!0},p=function(e){a(e,l,{value:{objectID:"O"+d++,weakData:{}}})},h=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!r(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,l)){if(!u(e))return"F";if(!t)return"E";p(e)}return e[l].objectID},getWeakData:function(e,t){if(!o(e,l)){if(!u(e))return!0;if(!t)return!1;p(e)}return e[l].weakData},onFreeze:function(e){return c&&h.REQUIRED&&u(e)&&!o(e,l)&&p(e),e}};i[l]=!0},52493:(e,t,n)=>{var i,r,o,a=n(51635),s=n(31864),c=n(60726),l=n(815),d=n(67791),u=n(59941),p=n(42650),h=n(3536),m="Object already initialized",f=s.WeakMap;if(a||u.state){var g=u.state||(u.state=new f),v=g.get,b=g.has,y=g.set;i=function(e,t){if(b.call(g,e))throw new TypeError(m);return t.facade=e,y.call(g,e,t),t},r=function(e){return v.call(g,e)||{}},o=function(e){return b.call(g,e)}}else{var S=p("state");h[S]=!0,i=function(e,t){if(d(e,S))throw new TypeError(m);return t.facade=e,l(e,S,t),t},r=function(e){return d(e,S)?e[S]:{}},o=function(e){return d(e,S)}}e.exports={set:i,get:r,has:o,enforce:function(e){return o(e)?r(e):i(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=r(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},81643:(e,t,n)=>{var i=n(84563),r=n(72339),o=i("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(r.Array===e||a[o]===e)}},87215:(e,t,n)=>{var i=n(8597),r=/#|\.prototype\./,o=function(e,t){var n=s[a(e)];return n==l||n!=c&&("function"==typeof t?i(t):!!t)},a=o.normalize=function(e){return String(e).replace(r,".").toLowerCase()},s=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";e.exports=o},60726:e=>{e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},97515:e=>{e.exports=!1},53284:(e,t,n)=>{var i=n(21099),r=n(81643),o=n(15902),a=n(29727),s=n(63076),c=n(87883),l=function(e,t){this.stopped=e,this.result=t};e.exports=function(e,t,n){var d,u,p,h,m,f,g,v=n&&n.that,b=!(!n||!n.AS_ENTRIES),y=!(!n||!n.IS_ITERATOR),S=!(!n||!n.INTERRUPTED),C=a(t,v,1+b+S),x=function(e){return d&&c(d),new l(!0,e)},I=function(e){return b?(i(e),S?C(e[0],e[1],x):C(e[0],e[1])):S?C(e,x):C(e)};if(y)d=e;else{if("function"!=typeof(u=s(e)))throw TypeError("Target is not iterable");if(r(u)){for(p=0,h=o(e.length);h>p;p++)if((m=I(e[p]))&&m instanceof l)return m;return new l(!1)}d=u.call(e)}for(f=d.next;!(g=f.call(d)).done;){try{m=I(g.value)}catch(e){throw c(d),e}if("object"==typeof m&&m&&m instanceof l)return m}return new l(!1)}},87883:(e,t,n)=>{var i=n(21099);e.exports=function(e){var t=e.return;if(void 0!==t)return i(t.call(e)).value}},92053:(e,t,n)=>{"use strict";var i,r,o,a=n(8597),s=n(3963),c=n(815),l=n(67791),d=n(84563),u=n(97515),p=d("iterator"),h=!1;[].keys&&("next"in(o=[].keys())?(r=s(s(o)))!==Object.prototype&&(i=r):h=!0);var m=null==i||a((function(){var e={};return i[p].call(e)!==e}));m&&(i={}),u&&!m||l(i,p)||c(i,p,(function(){return this})),e.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:h}},72339:e=>{e.exports={}},77040:(e,t,n)=>{var i=n(17189),r=n(8597);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41}))},51635:(e,t,n)=>{var i=n(31864),r=n(87720),o=i.WeakMap;e.exports="function"==typeof o&&/native code/.test(r(o))},38724:(e,t,n)=>{var i,r=n(21099),o=n(10988),a=n(71001),s=n(3536),c=n(67538),l=n(85815),d=n(42650)("IE_PROTO"),u=function(){},p=function(e){return"<script>"+e+"<\/script>"},h=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch(e){}var e,t;h=i?function(e){e.write(p("")),e.close();var t=e.parentWindow.Object;return e=null,t}(i):((t=l("iframe")).style.display="none",c.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(p("document.F=Object")),e.close(),e.F);for(var n=a.length;n--;)delete h.prototype[a[n]];return h()};s[d]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(u.prototype=r(e),n=new u,u.prototype=null,n[d]=e):n=h(),void 0===t?n:o(n,t)}},10988:(e,t,n)=>{var i=n(47012),r=n(52975),o=n(21099),a=n(68032);e.exports=i?Object.defineProperties:function(e,t){o(e);for(var n,i=a(t),s=i.length,c=0;s>c;)r.f(e,n=i[c++],t[n]);return e}},52975:(e,t,n)=>{var i=n(47012),r=n(27091),o=n(21099),a=n(28495),s=Object.defineProperty;t.f=i?s:function(e,t,n){if(o(e),t=a(t,!0),o(n),r)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},93099:(e,t,n)=>{var i=n(47012),r=n(5600),o=n(53203),a=n(8643),s=n(28495),c=n(67791),l=n(27091),d=Object.getOwnPropertyDescriptor;t.f=i?d:function(e,t){if(e=a(e),t=s(t,!0),l)try{return d(e,t)}catch(e){}if(c(e,t))return o(!r.f.call(e,t),e[t])}},94564:(e,t,n)=>{var i=n(77759),r=n(71001).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return i(e,r)}},77593:(e,t)=>{t.f=Object.getOwnPropertySymbols},3963:(e,t,n)=>{var i=n(67791),r=n(16174),o=n(42650),a=n(51335),s=o("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=r(e),i(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},77759:(e,t,n)=>{var i=n(67791),r=n(8643),o=n(70452).indexOf,a=n(3536);e.exports=function(e,t){var n,s=r(e),c=0,l=[];for(n in s)!i(a,n)&&i(s,n)&&l.push(n);for(;t.length>c;)i(s,n=t[c++])&&(~o(l,n)||l.push(n));return l}},68032:(e,t,n)=>{var i=n(77759),r=n(71001);e.exports=Object.keys||function(e){return i(e,r)}},5600:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,r=i&&!n.call({1:2},1);t.f=r?function(e){var t=i(this,e);return!!t&&t.enumerable}:n},91464:(e,t,n)=>{var i=n(21099),r=n(95143);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,o){return i(n),r(o),t?e.call(n,o):n.__proto__=o,n}}():void 0)},83119:(e,t,n)=>{"use strict";var i=n(72900),r=n(99420);e.exports=i?{}.toString:function(){return"[object "+r(this)+"]"}},99376:(e,t,n)=>{var i=n(73626),r=n(94564),o=n(77593),a=n(21099);e.exports=i("Reflect","ownKeys")||function(e){var t=r.f(a(e)),n=o.f;return n?t.concat(n(e)):t}},86950:(e,t,n)=>{var i=n(31864);e.exports=i},78715:(e,t,n)=>{var i=n(87763);e.exports=function(e,t,n){for(var r in t)i(e,r,t[r],n);return e}},87763:(e,t,n)=>{var i=n(31864),r=n(815),o=n(67791),a=n(22341),s=n(87720),c=n(52493),l=c.get,d=c.enforce,u=String(String).split("String");(e.exports=function(e,t,n,s){var c,l=!!s&&!!s.unsafe,p=!!s&&!!s.enumerable,h=!!s&&!!s.noTargetGet;"function"==typeof n&&("string"!=typeof t||o(n,"name")||r(n,"name",t),(c=d(n)).source||(c.source=u.join("string"==typeof t?t:""))),e!==i?(l?!h&&e[t]&&(p=!0):delete e[t],p?e[t]=n:r(e,t,n)):p?e[t]=n:a(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},95025:e=>{e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},22341:(e,t,n)=>{var i=n(31864),r=n(815);e.exports=function(e,t){try{r(i,e,t)}catch(n){i[e]=t}return t}},37374:(e,t,n)=>{"use strict";var i=n(73626),r=n(52975),o=n(84563),a=n(47012),s=o("species");e.exports=function(e){var t=i(e),n=r.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},58242:(e,t,n)=>{var i=n(52975).f,r=n(67791),o=n(84563)("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,o)&&i(e,o,{configurable:!0,value:t})}},42650:(e,t,n)=>{var i=n(77719),r=n(94295),o=i("keys");e.exports=function(e){return o[e]||(o[e]=r(e))}},59941:(e,t,n)=>{var i=n(31864),r=n(22341),o="__core-js_shared__",a=i[o]||r(o,{});e.exports=a},77719:(e,t,n)=>{var i=n(97515),r=n(59941);(e.exports=function(e,t){return r[e]||(r[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.15.2",mode:i?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},64487:(e,t,n)=>{var i=n(59463),r=n(95025),o=function(e){return function(t,n){var o,a,s=String(r(t)),c=i(n),l=s.length;return c<0||c>=l?e?"":void 0:(o=s.charCodeAt(c))<55296||o>56319||c+1===l||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):o:e?s.slice(c,c+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},20222:(e,t,n)=>{var i=n(59463),r=Math.max,o=Math.min;e.exports=function(e,t){var n=i(e);return n<0?r(n+t,0):o(n,t)}},8643:(e,t,n)=>{var i=n(56169),r=n(95025);e.exports=function(e){return i(r(e))}},59463:e=>{var t=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:t)(e)}},15902:(e,t,n)=>{var i=n(59463),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},16174:(e,t,n)=>{var i=n(95025);e.exports=function(e){return Object(i(e))}},28495:(e,t,n)=>{var i=n(60726);e.exports=function(e,t){if(!i(e))return e;var n,r;if(t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!i(r=n.call(e)))return r;if(!t&&"function"==typeof(n=e.toString)&&!i(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")}},72900:(e,t,n)=>{var i={};i[n(84563)("toStringTag")]="z",e.exports="[object z]"===String(i)},94295:e=>{var t=0,n=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+n).toString(36)}},24431:(e,t,n)=>{var i=n(77040);e.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},84563:(e,t,n)=>{var i=n(31864),r=n(77719),o=n(67791),a=n(94295),s=n(77040),c=n(24431),l=r("wks"),d=i.Symbol,u=c?d:d&&d.withoutSetter||a;e.exports=function(e){return o(l,e)&&(s||"string"==typeof l[e])||(s&&o(d,e)?l[e]=d[e]:l[e]=u("Symbol."+e)),l[e]}},44049:(e,t,n)=>{"use strict";var i=n(51163),r=n(70452).includes,o=n(24094);i({target:"Array",proto:!0},{includes:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},66837:(e,t,n)=>{"use strict";var i=n(8643),r=n(24094),o=n(72339),a=n(52493),s=n(66038),c="Array Iterator",l=a.set,d=a.getterFor(c);e.exports=s(Array,"Array",(function(e,t){l(this,{type:c,target:i(e),index:0,kind:t})}),(function(){var e=d(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}}),"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},88854:(e,t,n)=>{"use strict";var i=n(41603),r=n(5692);e.exports=i("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),r)},35704:(e,t,n)=>{var i=n(72900),r=n(87763),o=n(83119);i||r(Object.prototype,"toString",o,{unsafe:!0})},13744:(e,t,n)=>{"use strict";var i=n(64487).charAt,r=n(52493),o=n(66038),a="String Iterator",s=r.set,c=r.getterFor(a);o(String,"String",(function(e){s(this,{type:a,string:String(e),index:0})}),(function(){var e,t=c(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=i(n,r),t.index+=e.length,{value:e,done:!1})}))},22603:(e,t,n)=>{var i=n(31864),r=n(26877),o=n(66837),a=n(815),s=n(84563),c=s("iterator"),l=s("toStringTag"),d=o.values;for(var u in r){var p=i[u],h=p&&p.prototype;if(h){if(h[c]!==d)try{a(h,c,d)}catch(e){h[c]=d}if(h[l]||a(h,l,u),r[u])for(var m in o)if(h[m]!==o[m])try{a(h,m,o[m])}catch(e){h[m]=o[m]}}}},64762:(e,t,n)=>{"use strict";n.r(t),n.d(t,{__assign:()=>o,__asyncDelegator:()=>C,__asyncGenerator:()=>S,__asyncValues:()=>x,__await:()=>y,__awaiter:()=>d,__classPrivateFieldGet:()=>P,__classPrivateFieldSet:()=>A,__createBinding:()=>p,__decorate:()=>s,__exportStar:()=>h,__extends:()=>r,__generator:()=>u,__importDefault:()=>T,__importStar:()=>E,__makeTemplateObject:()=>I,__metadata:()=>l,__param:()=>c,__read:()=>f,__rest:()=>a,__spread:()=>g,__spreadArray:()=>b,__spreadArrays:()=>v,__values:()=>m});var i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(e,t)};function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var o=function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)};function a(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}function s(e,t,n,i){var r,o=arguments.length,a=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,i);else for(var s=e.length-1;s>=0;s--)(r=e[s])&&(a=(o<3?r(a):o>3?r(t,n,a):r(t,n))||a);return o>3&&a&&Object.defineProperty(t,n,a),a}function c(e,t){return function(n,i){t(n,i,e)}}function l(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,t,n,i){return new(n||(n=Promise))((function(r,o){function a(e){try{c(i.next(e))}catch(e){o(e)}}function s(e){try{c(i.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?r(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}c((i=i.apply(e,t||[])).next())}))}function u(e,t){var n,i,r,o,a={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!((r=(r=a.trys).length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){a.label=o[1];break}if(6===o[0]&&a.label<r[1]){a.label=r[1],r=o;break}if(r&&a.label<r[2]){a.label=r[2],a.ops.push(o);break}r[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,s])}}}var p=Object.create?function(e,t,n,i){void 0===i&&(i=n),Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]};function h(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||p(t,e,n)}function m(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,r,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)a.push(i.value)}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return a}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(f(arguments[t]));return e}function v(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),r=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,r++)i[r]=o[a];return i}function b(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||t)}function y(e){return this instanceof y?(this.v=e,this):new y(e)}function S(e,t,n){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i,r=n.apply(e,t||[]),o=[];return i={},a("next"),a("throw"),a("return"),i[Symbol.asyncIterator]=function(){return this},i;function a(e){r[e]&&(i[e]=function(t){return new Promise((function(n,i){o.push([e,t,n,i])>1||s(e,t)}))})}function s(e,t){try{(n=r[e](t)).value instanceof y?Promise.resolve(n.value.v).then(c,l):d(o[0][2],n)}catch(e){d(o[0][3],e)}var n}function c(e){s("next",e)}function l(e){s("throw",e)}function d(e,t){e(t),o.shift(),o.length&&s(o[0][0],o[0][1])}}function C(e){var t,n;return t={},i("next"),i("throw",(function(e){throw e})),i("return"),t[Symbol.iterator]=function(){return this},t;function i(i,r){t[i]=e[i]?function(t){return(n=!n)?{value:y(e[i](t)),done:"return"===i}:r?r(t):t}:r}}function x(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=m(e),t={},i("next"),i("throw"),i("return"),t[Symbol.asyncIterator]=function(){return this},t);function i(n){t[n]=e[n]&&function(t){return new Promise((function(i,r){!function(e,t,n,i){Promise.resolve(i).then((function(t){e({value:t,done:n})}),t)}(i,r,(t=e[n](t)).done,t.value)}))}}}function I(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var w=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function E(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&p(t,e,n);return w(t,e),t}function T(e){return e&&e.__esModule?e:{default:e}}function P(e,t,n,i){if("a"===n&&!i)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?i:"a"===n?i.call(e):i?i.value:t.get(e)}function A(e,t,n,i,r){if("m"===i)throw new TypeError("Private method is not writable");if("a"===i&&!r)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===i?r.call(e,n):r?r.value=n:t.set(e,n),n}},65015:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends TypeError{constructor(e,t){let n;const{message:i,...r}=e,{path:o}=e;super(0===o.length?i:"At path: "+o.join(".")+" -- "+i),this.value=void 0,this.key=void 0,this.type=void 0,this.refinement=void 0,this.path=void 0,this.branch=void 0,this.failures=void 0,Object.assign(this,r),this.name=this.constructor.name,this.failures=()=>{var i;return null!=(i=n)?i:n=[e,...t()]}}}function i(e){return"object"==typeof e&&null!=e}function r(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function o(e){return"string"==typeof e?JSON.stringify(e):""+e}function a(e,t,n,i){if(!0===e)return;!1===e?e={}:"string"==typeof e&&(e={message:e});const{path:r,branch:a}=t,{type:s}=n,{refinement:c,message:l="Expected a value of type `"+s+"`"+(c?" with refinement `"+c+"`":"")+", but received: `"+o(i)+"`"}=e;return{value:i,type:s,refinement:c,key:r[r.length-1],path:r,branch:a,...e,message:l}}function*s(e,t,n,r){var o;i(o=e)&&"function"==typeof o[Symbol.iterator]||(e=[e]);for(const i of e){const e=a(i,t,n,r);e&&(yield e)}}function*c(e,t,n){void 0===n&&(n={});const{path:r=[],branch:o=[e],coerce:a=!1,mask:s=!1}=n,l={path:r,branch:o};if(a&&(e=t.coercer(e,l),s&&"type"!==t.type&&i(t.schema)&&i(e)&&!Array.isArray(e)))for(const n in e)void 0===t.schema[n]&&delete e[n];let d="valid";for(const n of t.validator(e,l))d="not_valid",yield[n,void 0];for(let[n,u,p]of t.entries(e,l)){const t=c(u,p,{path:void 0===n?r:[...r,n],branch:void 0===n?o:[...o,u],coerce:a,mask:s});for(const r of t)r[0]?(d=null!=r[0].refinement?"not_refined":"not_valid",yield[r[0],void 0]):a&&(u=r[1],void 0===n?e=u:e instanceof Map?e.set(n,u):e instanceof Set?e.add(u):i(e)&&(e[n]=u))}if("not_valid"!==d)for(const n of t.refiner(e,l))d="not_refined",yield[n,void 0];"valid"===d&&(yield[void 0,e])}class l{constructor(e){this.TYPE=void 0,this.type=void 0,this.schema=void 0,this.coercer=void 0,this.validator=void 0,this.refiner=void 0,this.entries=void 0;const{type:t,schema:n,validator:i,refiner:r,coercer:o=(e=>e),entries:a=function*(){}}=e;this.type=t,this.schema=n,this.entries=a,this.coercer=o,this.validator=i?(e,t)=>s(i(e,t),t,this,e):()=>[],this.refiner=r?(e,t)=>s(r(e,t),t,this,e):()=>[]}assert(e){return d(e,this)}create(e){return u(e,this)}is(e){return h(e,this)}mask(e){return p(e,this)}validate(e,t){return void 0===t&&(t={}),m(e,this,t)}}function d(e,t){const n=m(e,t);if(n[0])throw n[0]}function u(e,t){const n=m(e,t,{coerce:!0});if(n[0])throw n[0];return n[1]}function p(e,t){const n=m(e,t,{coerce:!0,mask:!0});if(n[0])throw n[0];return n[1]}function h(e,t){return!m(e,t)[0]}function m(e,t,i){void 0===i&&(i={});const r=c(e,t,i),o=function(e){const{done:t,value:n}=e.next();return t?void 0:n}(r);return o[0]?[new n(o[0],(function*(){for(const e of r)e[0]&&(yield e[0])})),void 0]:[void 0,o[1]]}function f(e,t){return new l({type:e,schema:null,validator:t})}function g(){return f("never",(()=>!1))}function v(e){const t=e?Object.keys(e):[],n=g();return new l({type:"object",schema:e||null,*entries(r){if(e&&i(r)){const i=new Set(Object.keys(r));for(const n of t)i.delete(n),yield[n,r[n],e[n]];for(const e of i)yield[e,r[e],n]}},validator:e=>i(e)||"Expected an object, but received: "+o(e),coercer:e=>i(e)?{...e}:e})}function b(e){return new l({...e,validator:(t,n)=>void 0===t||e.validator(t,n),refiner:(t,n)=>void 0===t||e.refiner(t,n)})}function y(){return f("string",(e=>"string"==typeof e||"Expected a string, but received: "+o(e)))}function S(e){const t=Object.keys(e);return new l({type:"type",schema:e,*entries(n){if(i(n))for(const i of t)yield[i,n[i],e[i]]},validator:e=>i(e)||"Expected an object, but received: "+o(e)})}function C(){return f("unknown",(()=>!0))}function x(e,t,n){return new l({...e,coercer:(i,r)=>h(i,t)?e.coercer(n(i,r),r):e.coercer(i,r)})}function I(e){return e instanceof Map||e instanceof Set?e.size:e.length}function w(e,t,n){return new l({...e,*refiner(i,r){yield*e.refiner(i,r);const o=s(n(i,r),r,e,i);for(const e of o)yield{...e,refinement:t}}})}t.Struct=l,t.StructError=n,t.any=function(){return f("any",(()=>!0))},t.array=function(e){return new l({type:"array",schema:e,*entries(t){if(e&&Array.isArray(t))for(const[n,i]of t.entries())yield[n,i,e]},coercer:e=>Array.isArray(e)?e.slice():e,validator:e=>Array.isArray(e)||"Expected an array value, but received: "+o(e)})},t.assert=d,t.assign=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const i="type"===t[0].type,r=t.map((e=>e.schema)),o=Object.assign({},...r);return i?S(o):v(o)},t.bigint=function(){return f("bigint",(e=>"bigint"==typeof e))},t.boolean=function(){return f("boolean",(e=>"boolean"==typeof e))},t.coerce=x,t.create=u,t.date=function(){return f("date",(e=>e instanceof Date&&!isNaN(e.getTime())||"Expected a valid `Date` object, but received: "+o(e)))},t.defaulted=function(e,t,n){return void 0===n&&(n={}),x(e,C(),(e=>{const i="function"==typeof t?t():t;if(void 0===e)return i;if(!n.strict&&r(e)&&r(i)){const t={...e};let n=!1;for(const e in i)void 0===t[e]&&(t[e]=i[e],n=!0);if(n)return t}return e}))},t.define=f,t.deprecated=function(e,t){return new l({...e,refiner:(t,n)=>void 0===t||e.refiner(t,n),validator:(n,i)=>void 0===n||(t(n,i),e.validator(n,i))})},t.dynamic=function(e){return new l({type:"dynamic",schema:null,*entries(t,n){const i=e(t,n);yield*i.entries(t,n)},validator:(t,n)=>e(t,n).validator(t,n),coercer:(t,n)=>e(t,n).coercer(t,n),refiner:(t,n)=>e(t,n).refiner(t,n)})},t.empty=function(e){return w(e,"empty",(t=>{const n=I(t);return 0===n||"Expected an empty "+e.type+" but received one with a size of `"+n+"`"}))},t.enums=function(e){const t={},n=e.map((e=>o(e))).join();for(const n of e)t[n]=n;return new l({type:"enums",schema:t,validator:t=>e.includes(t)||"Expected one of `"+n+"`, but received: "+o(t)})},t.func=function(){return f("func",(e=>"function"==typeof e||"Expected a function, but received: "+o(e)))},t.instance=function(e){return f("instance",(t=>t instanceof e||"Expected a `"+e.name+"` instance, but received: "+o(t)))},t.integer=function(){return f("integer",(e=>"number"==typeof e&&!isNaN(e)&&Number.isInteger(e)||"Expected an integer, but received: "+o(e)))},t.intersection=function(e){return new l({type:"intersection",schema:null,*entries(t,n){for(const i of e)yield*i.entries(t,n)},*validator(t,n){for(const i of e)yield*i.validator(t,n)},*refiner(t,n){for(const i of e)yield*i.refiner(t,n)}})},t.is=h,t.lazy=function(e){let t;return new l({type:"lazy",schema:null,*entries(n,i){null!=t||(t=e()),yield*t.entries(n,i)},validator:(n,i)=>(null!=t||(t=e()),t.validator(n,i)),coercer:(n,i)=>(null!=t||(t=e()),t.coercer(n,i)),refiner:(n,i)=>(null!=t||(t=e()),t.refiner(n,i))})},t.literal=function(e){const t=o(e),n=typeof e;return new l({type:"literal",schema:"string"===n||"number"===n||"boolean"===n?e:null,validator:n=>n===e||"Expected the literal `"+t+"`, but received: "+o(n)})},t.map=function(e,t){return new l({type:"map",schema:null,*entries(n){if(e&&t&&n instanceof Map)for(const[i,r]of n.entries())yield[i,i,e],yield[i,r,t]},coercer:e=>e instanceof Map?new Map(e):e,validator:e=>e instanceof Map||"Expected a `Map` object, but received: "+o(e)})},t.mask=p,t.max=function(e,t,n){void 0===n&&(n={});const{exclusive:i}=n;return w(e,"max",(n=>i?n<t:n<=t||"Expected a "+e.type+" less than "+(i?"":"or equal to ")+t+" but received `"+n+"`"))},t.min=function(e,t,n){void 0===n&&(n={});const{exclusive:i}=n;return w(e,"min",(n=>i?n>t:n>=t||"Expected a "+e.type+" greater than "+(i?"":"or equal to ")+t+" but received `"+n+"`"))},t.never=g,t.nonempty=function(e){return w(e,"nonempty",(t=>I(t)>0||"Expected a nonempty "+e.type+" but received an empty one"))},t.nullable=function(e){return new l({...e,validator:(t,n)=>null===t||e.validator(t,n),refiner:(t,n)=>null===t||e.refiner(t,n)})},t.number=function(){return f("number",(e=>"number"==typeof e&&!isNaN(e)||"Expected a number, but received: "+o(e)))},t.object=v,t.omit=function(e,t){const{schema:n}=e,i={...n};for(const e of t)delete i[e];return"type"===e.type?S(i):v(i)},t.optional=b,t.partial=function(e){const t=e instanceof l?{...e.schema}:{...e};for(const e in t)t[e]=b(t[e]);return v(t)},t.pattern=function(e,t){return w(e,"pattern",(n=>t.test(n)||"Expected a "+e.type+" matching `/"+t.source+'/` but received "'+n+'"'))},t.pick=function(e,t){const{schema:n}=e,i={};for(const e of t)i[e]=n[e];return v(i)},t.record=function(e,t){return new l({type:"record",schema:null,*entries(n){if(i(n))for(const i in n){const r=n[i];yield[i,i,e],yield[i,r,t]}},validator:e=>i(e)||"Expected an object, but received: "+o(e)})},t.refine=w,t.regexp=function(){return f("regexp",(e=>e instanceof RegExp))},t.set=function(e){return new l({type:"set",schema:null,*entries(t){if(e&&t instanceof Set)for(const n of t)yield[n,n,e]},coercer:e=>e instanceof Set?new Set(e):e,validator:e=>e instanceof Set||"Expected a `Set` object, but received: "+o(e)})},t.size=function(e,t,n){void 0===n&&(n=t);const i="Expected a "+e.type,r=t===n?"of `"+t+"`":"between `"+t+"` and `"+n+"`";return w(e,"size",(e=>{if("number"==typeof e||e instanceof Date)return t<=e&&e<=n||i+" "+r+" but received `"+e+"`";if(e instanceof Map||e instanceof Set){const{size:o}=e;return t<=o&&o<=n||i+" with a size "+r+" but received one with a size of `"+o+"`"}{const{length:o}=e;return t<=o&&o<=n||i+" with a length "+r+" but received one with a length of `"+o+"`"}}))},t.string=y,t.struct=function(e,t){return console.warn("[email protected] - The `struct` helper has been renamed to `define`."),f(e,t)},t.trimmed=function(e){return x(e,y(),(e=>e.trim()))},t.tuple=function(e){const t=g();return new l({type:"tuple",schema:null,*entries(n){if(Array.isArray(n)){const i=Math.max(e.length,n.length);for(let r=0;r<i;r++)yield[r,n[r],e[r]||t]}},validator:e=>Array.isArray(e)||"Expected an array, but received: "+o(e)})},t.type=S,t.union=function(e){const t=e.map((e=>e.type)).join(" | ");return new l({type:"union",schema:null,coercer:(t,n)=>(e.find((e=>{const[n]=e.validate(t,{coerce:!0});return!n}))||C()).coercer(t,n),validator(n,i){const r=[];for(const t of e){const[...e]=c(n,t,i),[o]=e;if(!o[0])return[];for(const[t]of e)t&&r.push(t)}return["Expected the value to satisfy a union of `"+t+"`, but received: "+o(n),...r]}})},t.unknown=C,t.validate=m},8239:(e,t,n)=>{"use strict";function i(e,t,n,i,r,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(i,r)}function r(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function s(e){i(a,r,o,s,c,"next",e)}function c(e){i(a,r,o,s,c,"throw",e)}s(void 0)}))}}n.d(t,{Z:()=>r})}},e=>{e.O(0,[4736],(()=>(55298,e(e.s=55298)))),e.O()}]);