@everymatrix/casino-header-controller 1.84.1 → 1.84.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoHeaderController-q8nAk2H8.js → CasinoHeaderController-BO6ee1KD.js} +2 -2
- package/components/{CasinoHeaderController-nrSgh4eP.cjs → CasinoHeaderController-CCIMjU5G.cjs} +2 -2
- package/components/{CasinoHeaderController-DQYWxcJP.js → CasinoHeaderController-DzC9IzmD.js} +2 -2
- package/es2015/casino-header-controller.cjs +1 -1
- package/es2015/casino-header-controller.js +1 -1
- package/esnext/casino-header-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-1ef3a64c-H7WZQMey.cjs → index-1ef3a64c-BSWcac5p.cjs} +1 -1
- package/stencil/{index-1ef3a64c-I3tQuPlS.js → index-1ef3a64c-CgmdufRM.js} +1 -1
- package/stencil/{index-1ef3a64c-DwAf1G59.js → index-1ef3a64c-DUGvfHb8.js} +1 -1
- package/stencil/{user-deposit-withdrawal-D9UmmsHl.js → user-deposit-withdrawal-Bq9cnb5r.js} +29 -29
- package/stencil/{user-deposit-withdrawal-2mtvYwZv.js → user-deposit-withdrawal-CU2O_iwn.js} +19 -19
- package/stencil/{user-deposit-withdrawal-DKOqW3TI.cjs → user-deposit-withdrawal-Wr3WJXT9.cjs} +2 -2
package/components/{CasinoHeaderController-q8nAk2H8.js → CasinoHeaderController-BO6ee1KD.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as Oe, a as hi, b as pi, c as _i, S as wi, i as bi, s as vi, f as H, d as yi, n as De, e as E, g as l, h as R, j as A, k as p, l as ki, o as Fi, m as et, p as be, q as tt, r as We, t as se, u as q, v as u, w as $, x as m, y as W, z as J, A as K, B as ie, C as de, D as Mi, E as Ht, F as ve, G as At, H as ye, I as Ii, J as Hi, K as Ai, L as Ci } from "./CasinoHamburgerMenu-DFge6wNk.js";
|
|
2
|
-
import "../stencil/user-deposit-withdrawal-
|
|
2
|
+
import "../stencil/user-deposit-withdrawal-CU2O_iwn.js";
|
|
3
3
|
import "../stencil/gamification-dropdown-BYwIF9Gl.js";
|
|
4
4
|
const Si = (t, e = {}) => {
|
|
5
5
|
const i = new CustomEvent("track-custom-event", {
|
|
@@ -2518,7 +2518,7 @@ let ke = "HeaderMenu";
|
|
|
2518
2518
|
function Vi(t, e, i) {
|
|
2519
2519
|
let n, s, a;
|
|
2520
2520
|
ki(t, Ii, (r) => i(50, a = r));
|
|
2521
|
-
let { session: o = "" } = e, { userid: f = "" } = e, { endpoint: g = "" } = e, { cmsendpoint: _ = "" } = e, { cmsenv: d = "stage" } = e, { lang: c = "en" } = e, { languageslist: h = "en, ro" } = e, { activecategory: w = "" } = e, { translationurl: k = "" } = e, { customlocaleidentifier: B = "" } = e, { gmversion: P = "" } = e, { countryflagheader: U = "false" } = e, { displaybalanceoption: F = "All" } = e, { countryflaghamburger: I = "false" } = e, { hasdefaultamount: C = "" } = e, { playercurrency: G = "" } = e, { hideproducttype: T = "" } = e, { shortcashierenabled: z = "" } = e, { producttype: b = "" } = e, { successurl: M = "" } = e, { failurl: V = "" } = e, { cancelurl: S = "" } = e, { sportsurl: v = "" } = e, { casinourl: N = "" } = e, { contacturl: L = "" } = e, { homeurl: te = "" } = e, { depositurl: Y = "" } = e, { actionevent: y = "" } = e, { userroles: O = "" } = e, { showsubgroups: j = "false" } = e, { mbsource: ae = "" } = e, { clientstyling: fe = "" } = e, { clientstylingurl: ge = "" } = e, { currencydisplay: Pe = "symbol" } = e, { maximumfractiondigits: Te = "2" } = e, { minimumfractiondigits: Ue = "0" } = e, { customdisplayformat: je = "" } = e, { totalcalculationmode: Ze = "totalCashAmount" } = e, { gamification: Ge = "false" } = e, { customlogourl: Fe
|
|
2521
|
+
let { session: o = "" } = e, { userid: f = "" } = e, { endpoint: g = "" } = e, { cmsendpoint: _ = "" } = e, { cmsenv: d = "stage" } = e, { lang: c = "en" } = e, { languageslist: h = "en, ro" } = e, { activecategory: w = "" } = e, { translationurl: k = "" } = e, { customlocaleidentifier: B = "" } = e, { gmversion: P = "" } = e, { countryflagheader: U = "false" } = e, { displaybalanceoption: F = "All" } = e, { countryflaghamburger: I = "false" } = e, { hasdefaultamount: C = "" } = e, { playercurrency: G = "" } = e, { hideproducttype: T = "" } = e, { shortcashierenabled: z = "" } = e, { producttype: b = "" } = e, { successurl: M = "" } = e, { failurl: V = "" } = e, { cancelurl: S = "" } = e, { sportsurl: v = "" } = e, { casinourl: N = "" } = e, { contacturl: L = "" } = e, { homeurl: te = "" } = e, { depositurl: Y = "" } = e, { actionevent: y = "" } = e, { userroles: O = "" } = e, { showsubgroups: j = "false" } = e, { mbsource: ae = "" } = e, { clientstyling: fe = "" } = e, { clientstylingurl: ge = "" } = e, { currencydisplay: Pe = "symbol" } = e, { maximumfractiondigits: Te = "2" } = e, { minimumfractiondigits: Ue = "0" } = e, { customdisplayformat: je = "" } = e, { totalcalculationmode: Ze = "totalCashAmount" } = e, { gamification: Ge = "false" } = e, { customlogourl: Fe } = e, { filterbykeyword: oe = "none" } = e, Ye, Je, X;
|
|
2522
2522
|
Li({ withLocale: "en", translations: {} });
|
|
2523
2523
|
const Ct = () => {
|
|
2524
2524
|
fetch(k).then((Z) => Z.json()).then((Z) => {
|
package/components/{CasinoHeaderController-nrSgh4eP.cjs → CasinoHeaderController-CCIMjU5G.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Be=(a,t,n)=>new Promise((l,s)=>{var i=d=>{try{m(n.next(d))}catch(p){s(p)}},r=d=>{try{m(n.throw(d))}catch(p){s(p)}},m=d=>d.done?l(d.value):Promise.resolve(d.value).then(i,r);m((n=n.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-DzBitsDo.cjs");require("../stencil/user-deposit-withdrawal-DKOqW3TI.cjs");require("../stencil/gamification-dropdown-BEAgTdVm.cjs");const qt=(a,t={})=>{const n=new CustomEvent("track-custom-event",{detail:{type:a,data:t},bubbles:!0,composed:!0});document.dispatchEvent(n)};function Jt({withLocale:a,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function Ne(a,t){e.addMessages(a,t)}function Qt(a){e.$locale.set(a)}const Pe={en:{login:"Login",register:"Register",deposit:"Deposit",promotions:"Promotions"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金",promotions:"促销活动"},fr:{login:"Connexion",register:"Enregistrer",deposit:"Dépôt",promotions:"Promotions"},tr:{login:"Giriş",register:"Kayıt",deposit:"Yatır",promotions:"Promosyonlar"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit",promotions:"Promotii"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita",promotions:"Promociones"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito",promotions:"Promoções"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata",promotions:"Promocije"},"pt-br":{login:"Entrar",register:"Registro",deposit:"Depósito",promotions:"Promoções"},"es-mx":{login:"Ingresar",register:"Registro",deposit:"Depósito",promotions:"Promociones"},"en-us":{login:"Login",register:"Register",deposit:"Deposit",promotions:"Promotions"}};if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-wXw8RHQe.cjs")).then(({default:t})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoHamburgerMenu-DzBitsDo.cjs")).then(t=>t.CasinoHamburgerMenu_ce).then(({default:t})=>{!customElements.get("casino-hamburger-menu")&&customElements.define("casino-hamburger-menu",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountBalanceModal-vJVl_Wdm.cjs")).then(({default:t})=>{!customElements.get("player-account-balance-modal")&&customElements.define("player-account-balance-modal",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./PlayerDeposit-BJEnlNvH.cjs")).then(({default:t})=>{!customElements.get("player-deposit")&&customElements.define("player-deposit",t.element)})}const Vt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LjljY2M0ZGU5MywgMjAyMi8wMy8xNC0xNDowNzoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIzLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMzQjhCMTgyRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMzQjhCMTgzRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzNCOEIxODBFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzNCOEIxODFFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7HvIqyAAAAEElEQVR42mL4//8/A0CAAQAI/AL+26JNFgAAAABJRU5ErkJggg==";function Xt(a){e.append_styles(a,"svelte-ho1ide",`*,*::before,*::after{font-family:inherit}:host{font-family:inherit}@keyframes ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}input,textarea,button{font-family:inherit}.HeaderSlider{width:100%;height:400px}.LanguageDropdown{margin-right:16px;position:relative;display:inline-block}.ClosePopUpButtonShortCashier{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier svg{position:absolute;top:10px;right:10px}.ShortCashierWindow{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapper{position:relative;animation:ModalBounce 0.5s forwards;z-index:17;right:60%}.ShortCashierContainer{background-color:var(--emw--color-white, #FFFFFF);position:absolute;width:360px;top:16px;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainer:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.GamificationWrapper{margin-right:16px}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;right:110%;z-index:17}.ShortCashierContainerMobile{background-color:var(--emw--color-white, #FFFFFF);position:absolute;width:80vw;top:14px;left:50%;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:76px;border-radius:4px}.SelectedOption{display:flex;align-items:center}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;z-index:1;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:150px;overflow-y:auto}.LanguageOption{display:flex;align-items:center;padding:4px}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:2px}.HeaderWrapper{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518))}.HeaderContainer{max-width:1300px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderMobileMainNav{display:flex;align-items:center}.HeaderBranding{width:140px;margin-right:15px;cursor:pointer}.HeaderBranding img{width:100%}@media only screen and (max-width: 360px){.HeaderBranding{margin-right:0}}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));border-top:1px solid var(--emw--color-gray-300, #58586B)}.HeaderItemsMenu{gap:8px;display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:16px;align-items:center}.HeaderItemsMenu .Item:hover .HeaderSecondaryNav{display:block}.HeaderItemsMenu .Item{gap:2px;padding:0 12px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.Item a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;border-top:1px solid transparent}.Item a:hover{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-top:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));padding-top:5px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;font-weight:600;border:solid 1px var(--emw--header-typography, var(--emw--color-white, #FFFFFF));height:44px;text-align:center;line-height:44px;margin-right:10px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.ItemLanguage{height:44px;width:74px;text-align:center;line-height:44px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none;cursor:pointer;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ItemLanguage option{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.ItemLanguage.NoFlag{background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23FFFFFF' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518));background-position:calc(100% - 0.75rem) center;width:90px;margin-right:6px}.ItemBalance{background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:0}.ItemAccount{cursor:pointer}.ItemAccount svg{width:20px;height:20px}.HeaderItemsMenuSecondary{display:flex;flex-direction:row;align-content:flex-start;align-items:center;height:60px;list-style:none;text-transform:uppercase;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary .ItemSecondary{width:auto;height:100%;display:flex;justify-content:center;padding:0 15px;font-weight:600;transition-duration:0.15s}.HeaderItemsMenuSecondary .ItemSecondary button{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;border:none;background:none;font-size:14px;font-weight:600;text-transform:uppercase;cursor:pointer}.HeaderItemsMenuSecondary .ItemSecondary button:hover{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderItemsMenuSecondary .ItemSecondary button:focus{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderItemsMenuSecondary .ItemSecondary button:visited{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HeaderItemsMenuSecondary .ItemSecondary button:focus-visible{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));outline:none}.HeaderItemsMenuSecondary .ItemSecondary.active{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderSliderMobile{background-position:bottom}.HeaderMobileWrapper .HeaderContainer{height:55px;padding:0 15px;gap:10px}@media only screen and (max-width: 360px){.HeaderMobileWrapper .HeaderContainer{padding:0 5px}}.HeaderMobileWrapper .HeaderBranding{width:110px;display:flex;align-items:center}.HeaderMobileWrapper .HeaderItemsMenu .Item{padding:0 10px;display:block;width:unset}.HeaderMobileWrapper .HeaderItemsMenu .ItemBalance{font-size:12px}.HeaderMobileWrapper .HeaderItemsMenu .ItemAccount{padding:0}.HeaderMobileWrapper .ItemRegister,.HeaderMobileWrapper .ItemDeposit,.HeaderMobileWrapper .ItemLogin{height:30px;line-height:30px;font-size:12px}.HeaderMobileWrapper .ItemLogin{margin-right:10px}`)}function Oe(a,t,n){const l=a.slice();return l[124]=t[n],l}function ze(a,t,n){const l=a.slice();return l[127]=t[n],l}function We(a,t,n){const l=a.slice();return l[127]=t[n],l}function De(a,t,n){const l=a.slice();return l[124]=t[n],l}function Te(a,t,n){const l=a.slice();return l[127]=t[n],l}function Ue(a,t,n){const l=a.slice();return l[127]=t[n],l}function Kt(a){let t,n,l,s,i,r,m,d,p,u,c,_=a[50]("login")+"",h,b,H,E=a[50]("register")+"",B,v,k,M,O,R,C,f=!a[37]&&je(a),y=a[46].length>1&&Ze(a),D=e.ensure_array_like(a[40]),F=[];for(let g=0;g<D.length;g+=1)F[g]=Je(Oe(a,D,g));return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),s=e.element("img"),r=e.space(),m=e.element("nav"),f&&f.c(),d=e.space(),p=e.element("div"),u=e.element("div"),c=e.element("div"),h=e.text(_),b=e.space(),H=e.element("div"),B=e.text(E),v=e.space(),y&&y.c(),k=e.space(),M=e.element("nav"),O=e.element("ul");for(let g=0;g<F.length;g+=1)F[g].c();e.src_url_equal(s.src,i=a[49])||e.attr(s,"src",i),e.attr(s,"alt","Logo"),e.attr(l,"class","HeaderBranding"),e.attr(m,"class","HeaderMainNav"),e.attr(c,"class","Item ItemLogin"),e.attr(c,"tabindex","0"),e.attr(H,"class","Item ItemRegister"),e.attr(H,"tabindex","0"),e.attr(u,"class","HeaderItemsMenu"),e.attr(p,"class","HeaderTopActions"),e.attr(n,"class","HeaderContainer"),e.attr(O,"class","HeaderItemsMenuSecondary"),e.attr(M,"class","HeaderSecondaryNav"),e.attr(t,"class","HeaderWrapper")},m(g,A){e.insert(g,t,A),e.append(t,n),e.append(n,l),e.append(l,s),e.append(n,r),e.append(n,m),f&&f.m(m,null),e.append(n,d),e.append(n,p),e.append(p,u),e.append(u,c),e.append(c,h),e.append(u,b),e.append(u,H),e.append(H,B),e.append(u,v),y&&y.m(u,null),e.append(t,k),e.append(t,M),e.append(M,O);for(let I=0;I<F.length;I+=1)F[I]&&F[I].m(O,null);a[97](t),R||(C=[e.listen(l,"click",a[89]),e.listen(c,"click",a[90]),e.listen(H,"click",a[91])],R=!0)},p(g,A){if(A[1]&262144&&!e.src_url_equal(s.src,i=g[49])&&e.attr(s,"src",i),g[37]?f&&(f.d(1),f=null):f?f.p(g,A):(f=je(g),f.c(),f.m(m,null)),A[1]&524288&&_!==(_=g[50]("login")+"")&&e.set_data(h,_),A[1]&524288&&E!==(E=g[50]("register")+"")&&e.set_data(B,E),g[46].length>1?y?y.p(g,A):(y=Ze(g),y.c(),y.m(u,null)):y&&(y.d(1),y=null),A[1]&16777984){D=e.ensure_array_like(g[40]);let I;for(I=0;I<D.length;I+=1){const Z=Oe(g,D,I);F[I]?F[I].p(Z,A):(F[I]=Je(Z),F[I].c(),F[I].m(O,null))}for(;I<F.length;I+=1)F[I].d(1);F.length=D.length}},d(g){g&&e.detach(t),f&&f.d(),y&&y.d(),e.destroy_each(F,g),a[97](null),R=!1,e.run_all(C)}}}function xt(a){let t,n,l,s,i,r,m,d,p,u,c,_,h,b,H,E,B,v,k,M=a[50]("login")+"",O,R,C,f=a[50]("register")+"",y,D,F;return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),s=e.svg_element("svg"),i=e.svg_element("defs"),r=e.svg_element("style"),m=e.text(`.a {
|
|
1
|
+
"use strict";var Be=(a,t,n)=>new Promise((l,s)=>{var i=d=>{try{m(n.next(d))}catch(p){s(p)}},r=d=>{try{m(n.throw(d))}catch(p){s(p)}},m=d=>d.done?l(d.value):Promise.resolve(d.value).then(i,r);m((n=n.apply(a,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenu-DzBitsDo.cjs");require("../stencil/user-deposit-withdrawal-Wr3WJXT9.cjs");require("../stencil/gamification-dropdown-BEAgTdVm.cjs");const qt=(a,t={})=>{const n=new CustomEvent("track-custom-event",{detail:{type:a,data:t},bubbles:!0,composed:!0});document.dispatchEvent(n)};function Jt({withLocale:a,translations:t}){e.$locale.subscribe(n=>{n==null&&(e.$dictionary.set(t),e.$locale.set(a))})}function Ne(a,t){e.addMessages(a,t)}function Qt(a){e.$locale.set(a)}const Pe={en:{login:"Login",register:"Register",deposit:"Deposit",promotions:"Promotions"},"zh-hk":{login:"登錄",register:"登記",deposit:"訂金",promotions:"促销活动"},fr:{login:"Connexion",register:"Enregistrer",deposit:"Dépôt",promotions:"Promotions"},tr:{login:"Giriş",register:"Kayıt",deposit:"Yatır",promotions:"Promosyonlar"},ro:{login:"Autentificare",register:"Inregistrare",deposit:"Depozit",promotions:"Promotii"},es:{login:"Iniciar sesión",register:"Regístrate",deposit:"Deposita",promotions:"Promociones"},pt:{login:"Entrar",register:"Registro",deposit:"Depósito",promotions:"Promoções"},hr:{login:"Prijava",register:"Registracija",deposit:"Uplata",promotions:"Promocije"},"pt-br":{login:"Entrar",register:"Registro",deposit:"Depósito",promotions:"Promoções"},"es-mx":{login:"Ingresar",register:"Registro",deposit:"Depósito",promotions:"Promociones"},"en-us":{login:"Login",register:"Register",deposit:"Deposit",promotions:"Promotions"}};if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoSlider-wXw8RHQe.cjs")).then(({default:t})=>{!customElements.get("casino-slider")&&customElements.define("casino-slider",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoHamburgerMenu-DzBitsDo.cjs")).then(t=>t.CasinoHamburgerMenu_ce).then(({default:t})=>{!customElements.get("casino-hamburger-menu")&&customElements.define("casino-hamburger-menu",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountBalanceModal-vJVl_Wdm.cjs")).then(({default:t})=>{!customElements.get("player-account-balance-modal")&&customElements.define("player-account-balance-modal",t.element)})}if(typeof window!="undefined"){let a=function(t){return function(...n){try{return t.apply(this,n)}catch(l){if(l instanceof DOMException&&l.message.includes("has already been used with this registry")||l.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw l}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./PlayerDeposit-BJEnlNvH.cjs")).then(({default:t})=>{!customElements.get("player-deposit")&&customElements.define("player-deposit",t.element)})}const Vt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LjljY2M0ZGU5MywgMjAyMi8wMy8xNC0xNDowNzoyMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIzLjMgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjMzQjhCMTgyRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0IiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjMzQjhCMTgzRUNBMzExRUM5M0JCRDIzRjhFMEY0NjE0Ij4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MzNCOEIxODBFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MzNCOEIxODFFQ0EzMTFFQzkzQkJEMjNGOEUwRjQ2MTQiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7HvIqyAAAAEElEQVR42mL4//8/A0CAAQAI/AL+26JNFgAAAABJRU5ErkJggg==";function Xt(a){e.append_styles(a,"svelte-ho1ide",`*,*::before,*::after{font-family:inherit}:host{font-family:inherit}@keyframes ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}input,textarea,button{font-family:inherit}.HeaderSlider{width:100%;height:400px}.LanguageDropdown{margin-right:16px;position:relative;display:inline-block}.ClosePopUpButtonShortCashier{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier svg{position:absolute;top:10px;right:10px}.ShortCashierWindow{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapper{position:relative;animation:ModalBounce 0.5s forwards;z-index:17;right:60%}.ShortCashierContainer{background-color:var(--emw--color-white, #FFFFFF);position:absolute;width:360px;top:16px;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainer:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.GamificationWrapper{margin-right:16px}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;right:110%;z-index:17}.ShortCashierContainerMobile{background-color:var(--emw--color-white, #FFFFFF);position:absolute;width:80vw;top:14px;left:50%;transform:translateX(-60%);box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:84%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:76px;border-radius:4px}.SelectedOption{display:flex;align-items:center}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;z-index:1;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:150px;overflow-y:auto}.LanguageOption{display:flex;align-items:center;padding:4px}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:2px}.HeaderWrapper{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518))}.HeaderContainer{max-width:1300px;display:flex;flex-direction:row;align-items:center;height:84px;margin:0 auto}.HeaderMobileMainNav{display:flex;align-items:center}.HeaderBranding{width:140px;margin-right:15px;cursor:pointer}.HeaderBranding img{width:100%}@media only screen and (max-width: 360px){.HeaderBranding{margin-right:0}}.HeaderMainNav{text-align:left}.HeaderTopActions{text-align:right;margin-left:auto}.HeaderSecondaryNav{flex-direction:row;width:100%;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));border-top:1px solid var(--emw--color-gray-300, #58586B)}.HeaderItemsMenu{gap:8px;display:flex;align-content:flex-start;list-style:none;text-transform:uppercase;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:16px;align-items:center}.HeaderItemsMenu .Item:hover .HeaderSecondaryNav{display:block}.HeaderItemsMenu .Item{gap:2px;padding:0 12px;display:flex;align-items:center}.HeaderItemsMenu.PrimaryMenu{gap:10px}.Item a{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;border-top:1px solid transparent}.Item a:hover{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-top:1px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));padding-top:5px}.ItemLogin{border-radius:5px;background:transparent;font-size:14px;font-weight:600;border:solid 1px var(--emw--header-typography, var(--emw--color-white, #FFFFFF));height:44px;text-align:center;line-height:44px;margin-right:10px;cursor:pointer}.ItemRegister,.ItemDeposit{border-radius:5px;background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));font-size:14px;height:44px;text-align:center;line-height:44px;cursor:pointer}.ItemDeposit{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.ItemLanguage{height:44px;width:74px;text-align:center;line-height:44px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none;cursor:pointer;outline:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.ItemLanguage option{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.ItemLanguage.NoFlag{background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23FFFFFF' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #050518));background-position:calc(100% - 0.75rem) center;width:90px;margin-right:6px}.ItemBalance{background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:0}.ItemAccount{cursor:pointer}.ItemAccount svg{width:20px;height:20px}.HeaderItemsMenuSecondary{display:flex;flex-direction:row;align-content:flex-start;align-items:center;height:60px;list-style:none;text-transform:uppercase;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px;max-width:1280px;margin:0 auto;overflow-y:hidden;overflow-x:auto;padding:0}.HeaderItemsMenuSecondary .ItemSecondary{width:auto;height:100%;display:flex;justify-content:center;padding:0 15px;font-weight:600;transition-duration:0.15s}.HeaderItemsMenuSecondary .ItemSecondary button{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));text-decoration:none;border:none;background:none;font-size:14px;font-weight:600;text-transform:uppercase;cursor:pointer}.HeaderItemsMenuSecondary .ItemSecondary button:hover{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderItemsMenuSecondary .ItemSecondary button:focus{color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderItemsMenuSecondary .ItemSecondary button:visited{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HeaderItemsMenuSecondary .ItemSecondary button:focus-visible{color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));outline:none}.HeaderItemsMenuSecondary .ItemSecondary.active{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HeaderSliderMobile{background-position:bottom}.HeaderMobileWrapper .HeaderContainer{height:55px;padding:0 15px;gap:10px}@media only screen and (max-width: 360px){.HeaderMobileWrapper .HeaderContainer{padding:0 5px}}.HeaderMobileWrapper .HeaderBranding{width:110px;display:flex;align-items:center}.HeaderMobileWrapper .HeaderItemsMenu .Item{padding:0 10px;display:block;width:unset}.HeaderMobileWrapper .HeaderItemsMenu .ItemBalance{font-size:12px}.HeaderMobileWrapper .HeaderItemsMenu .ItemAccount{padding:0}.HeaderMobileWrapper .ItemRegister,.HeaderMobileWrapper .ItemDeposit,.HeaderMobileWrapper .ItemLogin{height:30px;line-height:30px;font-size:12px}.HeaderMobileWrapper .ItemLogin{margin-right:10px}`)}function Oe(a,t,n){const l=a.slice();return l[124]=t[n],l}function ze(a,t,n){const l=a.slice();return l[127]=t[n],l}function We(a,t,n){const l=a.slice();return l[127]=t[n],l}function De(a,t,n){const l=a.slice();return l[124]=t[n],l}function Te(a,t,n){const l=a.slice();return l[127]=t[n],l}function Ue(a,t,n){const l=a.slice();return l[127]=t[n],l}function Kt(a){let t,n,l,s,i,r,m,d,p,u,c,_=a[50]("login")+"",h,b,H,E=a[50]("register")+"",B,v,k,M,O,R,C,f=!a[37]&&je(a),y=a[46].length>1&&Ze(a),D=e.ensure_array_like(a[40]),F=[];for(let g=0;g<D.length;g+=1)F[g]=Je(Oe(a,D,g));return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),s=e.element("img"),r=e.space(),m=e.element("nav"),f&&f.c(),d=e.space(),p=e.element("div"),u=e.element("div"),c=e.element("div"),h=e.text(_),b=e.space(),H=e.element("div"),B=e.text(E),v=e.space(),y&&y.c(),k=e.space(),M=e.element("nav"),O=e.element("ul");for(let g=0;g<F.length;g+=1)F[g].c();e.src_url_equal(s.src,i=a[49])||e.attr(s,"src",i),e.attr(s,"alt","Logo"),e.attr(l,"class","HeaderBranding"),e.attr(m,"class","HeaderMainNav"),e.attr(c,"class","Item ItemLogin"),e.attr(c,"tabindex","0"),e.attr(H,"class","Item ItemRegister"),e.attr(H,"tabindex","0"),e.attr(u,"class","HeaderItemsMenu"),e.attr(p,"class","HeaderTopActions"),e.attr(n,"class","HeaderContainer"),e.attr(O,"class","HeaderItemsMenuSecondary"),e.attr(M,"class","HeaderSecondaryNav"),e.attr(t,"class","HeaderWrapper")},m(g,A){e.insert(g,t,A),e.append(t,n),e.append(n,l),e.append(l,s),e.append(n,r),e.append(n,m),f&&f.m(m,null),e.append(n,d),e.append(n,p),e.append(p,u),e.append(u,c),e.append(c,h),e.append(u,b),e.append(u,H),e.append(H,B),e.append(u,v),y&&y.m(u,null),e.append(t,k),e.append(t,M),e.append(M,O);for(let I=0;I<F.length;I+=1)F[I]&&F[I].m(O,null);a[97](t),R||(C=[e.listen(l,"click",a[89]),e.listen(c,"click",a[90]),e.listen(H,"click",a[91])],R=!0)},p(g,A){if(A[1]&262144&&!e.src_url_equal(s.src,i=g[49])&&e.attr(s,"src",i),g[37]?f&&(f.d(1),f=null):f?f.p(g,A):(f=je(g),f.c(),f.m(m,null)),A[1]&524288&&_!==(_=g[50]("login")+"")&&e.set_data(h,_),A[1]&524288&&E!==(E=g[50]("register")+"")&&e.set_data(B,E),g[46].length>1?y?y.p(g,A):(y=Ze(g),y.c(),y.m(u,null)):y&&(y.d(1),y=null),A[1]&16777984){D=e.ensure_array_like(g[40]);let I;for(I=0;I<D.length;I+=1){const Z=Oe(g,D,I);F[I]?F[I].p(Z,A):(F[I]=Je(Z),F[I].c(),F[I].m(O,null))}for(;I<F.length;I+=1)F[I].d(1);F.length=D.length}},d(g){g&&e.detach(t),f&&f.d(),y&&y.d(),e.destroy_each(F,g),a[97](null),R=!1,e.run_all(C)}}}function xt(a){let t,n,l,s,i,r,m,d,p,u,c,_,h,b,H,E,B,v,k,M=a[50]("login")+"",O,R,C,f=a[50]("register")+"",y,D,F;return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),s=e.svg_element("svg"),i=e.svg_element("defs"),r=e.svg_element("style"),m=e.text(`.a {
|
|
2
2
|
fill: var(--emw--color-white, #FFFFFF);
|
|
3
3
|
}
|
|
4
4
|
`),d=e.svg_element("g"),p=e.svg_element("rect"),u=e.svg_element("rect"),c=e.svg_element("rect"),_=e.space(),h=e.element("div"),b=e.element("img"),E=e.space(),B=e.element("div"),v=e.element("div"),k=e.element("div"),O=e.text(M),R=e.space(),C=e.element("div"),y=e.text(f),e.attr(p,"class","a"),e.attr(p,"width","18"),e.attr(p,"height","2"),e.attr(p,"transform","translate(14 13)"),e.attr(u,"class","a"),e.attr(u,"width","22"),e.attr(u,"height","2"),e.attr(u,"transform","translate(14 20)"),e.attr(c,"class","a"),e.attr(c,"width","22"),e.attr(c,"height","2"),e.attr(c,"transform","translate(14 27)"),e.attr(d,"transform","translate(-14 -13)"),e.attr(s,"xmlns","http://www.w3.org/2000/svg"),e.attr(s,"width","22"),e.attr(s,"height","16"),e.attr(s,"viewBox","0 0 22 16"),e.attr(l,"class","HeaderMobileMainNav"),e.src_url_equal(b.src,H=a[49])||e.attr(b,"src",H),e.attr(b,"alt","Logo"),e.attr(h,"class","HeaderBranding"),e.attr(k,"class","Item ItemLogin"),e.attr(C,"class","Item ItemRegister"),e.attr(v,"class","HeaderItemsMenu"),e.attr(B,"class","HeaderTopActions"),e.attr(n,"class","HeaderContainer"),e.attr(t,"class","HeaderWrapper HeaderMobileWrapper")},m(g,A){e.insert(g,t,A),e.append(t,n),e.append(n,l),e.append(l,s),e.append(s,i),e.append(i,r),e.append(r,m),e.append(s,d),e.append(d,p),e.append(d,u),e.append(d,c),e.append(n,_),e.append(n,h),e.append(h,b),e.append(n,E),e.append(n,B),e.append(B,v),e.append(v,k),e.append(k,O),e.append(v,R),e.append(v,C),e.append(C,y),a[88](t),D||(F=[e.listen(s,"click",a[84]),e.listen(h,"click",a[85]),e.listen(k,"click",a[86]),e.listen(C,"click",a[87])],D=!0)},p(g,A){A[1]&262144&&!e.src_url_equal(b.src,H=g[49])&&e.attr(b,"src",H),A[1]&524288&&M!==(M=g[50]("login")+"")&&e.set_data(O,M),A[1]&524288&&f!==(f=g[50]("register")+"")&&e.set_data(y,f)},d(g){g&&e.detach(t),a[88](null),D=!1,e.run_all(F)}}}function $t(a){let t;function n(i,r){return i[44]?na:aa}let l=n(a),s=l(a);return{c(){s.c(),t=e.empty()},m(i,r){s.m(i,r),e.insert(i,t,r)},p(i,r){l===(l=n(i))&&s?s.p(i,r):(s.d(1),s=l(i),s&&(s.c(),s.m(t.parentNode,t)))},d(i){i&&e.detach(t),s.d(i)}}}function je(a){let t,n,l;return{c(){t=e.element("casino-slider"),e.set_custom_element_data(t,"class","HeaderItemsMenu"),e.set_custom_element_data(t,"identity",se),e.set_custom_element_data(t,"isprimarymenu","true"),e.set_custom_element_data(t,"actionevent",a[25]),e.set_custom_element_data(t,"mbsource",a[27]),e.set_custom_element_data(t,"activeindex",a[38]),e.set_custom_element_data(t,"location","headerMain"),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"lang",a[3]),e.set_custom_element_data(t,"clientstyling",a[28]),e.set_custom_element_data(t,"clientstylingurl",a[29])},m(s,i){e.insert(s,t,i),n||(l=e.action_destroyer(a[54].call(null,t)),n=!0)},p(s,i){i[0]&33554432&&e.set_custom_element_data(t,"actionevent",s[25]),i[0]&134217728&&e.set_custom_element_data(t,"mbsource",s[27]),i[1]&128&&e.set_custom_element_data(t,"activeindex",s[38]),i[0]&4&&e.set_custom_element_data(t,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(t,"lang",s[3]),i[0]&268435456&&e.set_custom_element_data(t,"clientstyling",s[28]),i[0]&536870912&&e.set_custom_element_data(t,"clientstylingurl",s[29])},d(s){s&&e.detach(t),n=!1,l()}}}function Ze(a){let t;function n(i,r){return i[9]!=="true"?ta:ea}let l=n(a),s=l(a);return{c(){s.c(),t=e.empty()},m(i,r){s.m(i,r),e.insert(i,t,r)},p(i,r){l===(l=n(i))&&s?s.p(i,r):(s.d(1),s=l(i),s&&(s.c(),s.m(t.parentNode,t)))},d(i){i&&e.detach(t),s.d(i)}}}function ea(a){let t,n,l,s,i,r,m,d=a[41].slice(-2)+"",p,u,c,_,h,b,H,E,B,v=a[43]&&Ge(a);return{c(){t=e.element("div"),n=e.element("div"),l=e.element("span"),s=e.element("img"),r=e.space(),m=e.element("span"),p=e.text(d),u=e.space(),c=e.element("span"),_=e.svg_element("svg"),h=e.svg_element("path"),H=e.space(),v&&v.c(),e.src_url_equal(s.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[58](a[41].slice(-2))}.svg`)||e.attr(s,"src",i),e.attr(l,"class","FlagIcon"),e.attr(m,"class","LanguageName"),e.attr(h,"id","arrow"),e.attr(h,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(h,"transform","translate(-274.511 -441.088)"),e.attr(h,"fill","#d1d1d1"),e.attr(_,"xmlns","http://www.w3.org/2000/svg"),e.attr(_,"width","14"),e.attr(_,"height","6.835"),e.attr(_,"viewBox","0 0 14 6.835"),e.attr(c,"class",b="TriangleInactive "+(a[43]?"TriangleActive":"")),e.attr(n,"class","SelectedOption Item ItemLanguage"),e.attr(t,"class","LanguageDropdown")},m(k,M){e.insert(k,t,M),e.append(t,n),e.append(n,l),e.append(l,s),e.append(n,r),e.append(n,m),e.append(m,p),e.append(n,u),e.append(n,c),e.append(c,_),e.append(_,h),e.append(t,H),v&&v.m(t,null),E||(B=e.listen(n,"click",a[94]),E=!0)},p(k,M){M[1]&33792&&!e.src_url_equal(s.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${k[58](k[41].slice(-2))}.svg`)&&e.attr(s,"src",i),M[1]&1024&&d!==(d=k[41].slice(-2)+"")&&e.set_data(p,d),M[1]&4096&&b!==(b="TriangleInactive "+(k[43]?"TriangleActive":""))&&e.attr(c,"class",b),k[43]?v?v.p(k,M):(v=Ge(k),v.c(),v.m(t,null)):v&&(v.d(1),v=null)},d(k){k&&e.detach(t),v&&v.d(),E=!1,B()}}}function ta(a){let t,n,l,s=e.ensure_array_like(a[46]),i=[];for(let r=0;r<s.length;r+=1)i[r]=qe(We(a,s,r));return{c(){t=e.element("select");for(let r=0;r<i.length;r+=1)i[r].c();e.attr(t,"class","Item ItemLanguage NoFlag"),a[41]===void 0&&e.add_render_callback(()=>a[92].call(t))},m(r,m){e.insert(r,t,m);for(let d=0;d<i.length;d+=1)i[d]&&i[d].m(t,null);e.select_option(t,a[41],!0),n||(l=[e.listen(t,"change",a[92]),e.listen(t,"change",a[93])],n=!0)},p(r,m){if(m[1]&32768){s=e.ensure_array_like(r[46]);let d;for(d=0;d<s.length;d+=1){const p=We(r,s,d);i[d]?i[d].p(p,m):(i[d]=qe(p),i[d].c(),i[d].m(t,null))}for(;d<i.length;d+=1)i[d].d(1);i.length=s.length}m[1]&33792&&e.select_option(t,r[41])},d(r){r&&e.detach(t),e.destroy_each(i,r),n=!1,e.run_all(l)}}}function Ge(a){let t,n=e.ensure_array_like(a[46]),l=[];for(let s=0;s<n.length;s+=1)l[s]=Ye(ze(a,n,s));return{c(){t=e.element("div");for(let s=0;s<l.length;s+=1)l[s].c();e.attr(t,"class","OptionList")},m(s,i){e.insert(s,t,i);for(let r=0;r<l.length;r+=1)l[r]&&l[r].m(t,null)},p(s,i){if(i[1]&167804928){n=e.ensure_array_like(s[46]);let r;for(r=0;r<n.length;r+=1){const m=ze(s,n,r);l[r]?l[r].p(m,i):(l[r]=Ye(m),l[r].c(),l[r].m(t,null))}for(;r<l.length;r+=1)l[r].d(1);l.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(l,s)}}}function Ye(a){let t,n,l,s,i,r,m=a[127].slice(-2)+"",d,p,u,c;function _(){return a[95](a[127])}return{c(){t=e.element("div"),n=e.element("span"),l=e.element("img"),i=e.space(),r=e.element("span"),d=e.text(m),p=e.space(),e.src_url_equal(l.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[58](a[127].slice(-2))}.svg`)||e.attr(l,"src",s),e.attr(n,"class","FlagIcon"),e.attr(r,"class","LanguageName"),e.attr(t,"class","LanguageOption")},m(h,b){e.insert(h,t,b),e.append(t,n),e.append(n,l),e.append(t,i),e.append(t,r),e.append(r,d),e.append(t,p),u||(c=e.listen(t,"click",_),u=!0)},p(h,b){a=h,b[1]&32768&&!e.src_url_equal(l.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[58](a[127].slice(-2))}.svg`)&&e.attr(l,"src",s),b[1]&32768&&m!==(m=a[127].slice(-2)+"")&&e.set_data(d,m)},d(h){h&&e.detach(t),u=!1,c()}}}function qe(a){let t,n=a[127].slice(-2)+"",l,s;return{c(){t=e.element("option"),l=e.text(n),t.__value=s=a[127],e.set_input_value(t,t.__value)},m(i,r){e.insert(i,t,r),e.append(t,l)},p(i,r){r[1]&32768&&n!==(n=i[127].slice(-2)+"")&&e.set_data(l,n),r[1]&32768&&s!==(s=i[127])&&(t.__value=s,e.set_input_value(t,t.__value))},d(i){i&&e.detach(t)}}}function Je(a){let t,n,l=a[124].label+"",s,i,r,m,d;function p(){return a[96](a[124])}return{c(){var u,c;t=e.element("li"),n=e.element("button"),s=e.text(l),i=e.space(),e.attr(t,"class",r="ItemSecondary "+(((u=a[39])==null?void 0:u.toString().indexOf("$"))>-1?((c=a[39])==null?void 0:c.split("$").pop())==a[124].id.split("$").pop()?"active":"":a[39]==a[124].id?"active":""))},m(u,c){e.insert(u,t,c),e.append(t,n),e.append(n,s),e.append(t,i),m||(d=e.listen(n,"click",p),m=!0)},p(u,c){var _,h;a=u,c[1]&512&&l!==(l=a[124].label+"")&&e.set_data(s,l),c[1]&768&&r!==(r="ItemSecondary "+(((_=a[39])==null?void 0:_.toString().indexOf("$"))>-1?((h=a[39])==null?void 0:h.split("$").pop())==a[124].id.split("$").pop()?"active":"":a[39]==a[124].id?"active":""))&&e.attr(t,"class",r)},d(u){u&&e.detach(t),m=!1,d()}}}function aa(a){let t,n,l,s,i,r,m,d,p,u,c,_,h,b,H,E=a[50]("deposit")+"",B,v,k,M,O,R,C,f,y,D,F=!a[37]&&Qe(a),g=a[35]==="true"&&!a[44]&&Ve(a),A=a[48]&&Xe(a),I=a[46].length>1&&Ke(a),Z=e.ensure_array_like(a[40]),z=[];for(let w=0;w<Z.length;w+=1)z[w]=tt(De(a,Z,w));return{c(){t=e.element("header"),n=e.element("div"),l=e.element("div"),s=e.element("img"),r=e.space(),m=e.element("nav"),F&&F.c(),d=e.space(),g&&g.c(),p=e.space(),u=e.element("div"),c=e.element("div"),_=e.element("player-account-balance-modal"),h=e.space(),b=e.element("div"),H=e.element("div"),B=e.text(E),v=e.space(),A&&A.c(),k=e.space(),M=e.element("div"),M.innerHTML=`<svg xmlns="http://www.w3.org/2000/svg" width="15" height="16.429" viewBox="0 0 15 16.429"><defs><style>.a {
|
|
@@ -10,4 +10,4 @@
|
|
|
10
10
|
</style></defs><g transform="translate(-8 -4)"><path class="a" d="M15.5,4a3.75,3.75,0,1,0,3.75,3.75A3.761,3.761,0,0,0,15.5,4Zm0,1.429A2.321,2.321,0,1,1,13.179,7.75,2.311,2.311,0,0,1,15.5,5.429Zm0,6.429A7.7,7.7,0,0,0,8,19.714a.714.714,0,0,0,.714.714H22.286A.714.714,0,0,0,23,19.714,7.7,7.7,0,0,0,15.5,11.857Zm0,1.429A6.18,6.18,0,0,1,21.5,19H9.5A6.18,6.18,0,0,1,15.5,13.286Z" transform="translate(0 0)"></path></g></svg>`,e.attr(l,"class","HeaderMobileMainNav"),e.src_url_equal(r.src,m=a[49])||e.attr(r,"src",m),e.attr(r,"alt","Logo"),e.attr(i,"class","HeaderBranding"),e.set_custom_element_data(c,"session",a[0]),e.set_custom_element_data(c,"userid",a[1]),e.set_custom_element_data(c,"endpoint",a[2]),e.set_custom_element_data(c,"mbsource",a[27]),e.set_custom_element_data(c,"lang",a[3]),e.set_custom_element_data(c,"clientstyling",a[28]),e.set_custom_element_data(c,"clientstylingurl",a[29]),e.set_custom_element_data(c,"gmversion",a[8]),e.set_custom_element_data(c,"displaybalanceoption",a[10]),e.set_custom_element_data(c,"totalcalculationmode",a[34]),e.set_custom_element_data(c,"currencydisplay",a[30]),e.set_custom_element_data(c,"maximumfractiondigits",a[31]),e.set_custom_element_data(c,"minimumfractiondigits",a[32]),e.set_custom_element_data(c,"customdisplayformat",a[33]),e.set_custom_element_data(c,"hideproducttype",a[14]),e.set_custom_element_data(c,"currencylocale",a[7]),e.attr(b,"class","Item ItemDeposit"),e.attr(k,"class","Item ItemAccount"),e.attr(u,"class","HeaderItemsMenu PrimaryMenu"),e.attr(p,"class","HeaderTopActions"),e.attr(n,"class","HeaderContainer"),e.attr(t,"class","HeaderWrapper HeaderMobileWrapper")},m(f,y){e.insert(f,t,y),e.append(t,n),e.append(n,l),R&&R.m(l,null),e.append(n,s),e.append(n,i),e.append(i,r),e.append(n,d),e.append(n,p),e.append(p,u),e.append(u,c),e.append(u,_),e.append(u,h),e.append(h,b),e.append(b,E),e.append(h,B),C&&C.m(h,null),e.append(u,v),e.append(u,k),a[72](t),M||(O=[e.listen(i,"click",a[67]),e.listen(b,"click",a[68]),e.listen(k,"click",a[71])],M=!0)},p(f,y){f[47]?R&&(R.d(1),R=null):R?R.p(f,y):(R=at(f),R.c(),R.m(l,null)),y[1]&262144&&!e.src_url_equal(r.src,m=f[49])&&e.attr(r,"src",m),y[0]&1&&e.set_custom_element_data(c,"session",f[0]),y[0]&2&&e.set_custom_element_data(c,"userid",f[1]),y[0]&4&&e.set_custom_element_data(c,"endpoint",f[2]),y[0]&134217728&&e.set_custom_element_data(c,"mbsource",f[27]),y[0]&8&&e.set_custom_element_data(c,"lang",f[3]),y[0]&268435456&&e.set_custom_element_data(c,"clientstyling",f[28]),y[0]&536870912&&e.set_custom_element_data(c,"clientstylingurl",f[29]),y[0]&256&&e.set_custom_element_data(c,"gmversion",f[8]),y[0]&1024&&e.set_custom_element_data(c,"displaybalanceoption",f[10]),y[1]&8&&e.set_custom_element_data(c,"totalcalculationmode",f[34]),y[0]&1073741824&&e.set_custom_element_data(c,"currencydisplay",f[30]),y[1]&1&&e.set_custom_element_data(c,"maximumfractiondigits",f[31]),y[1]&2&&e.set_custom_element_data(c,"minimumfractiondigits",f[32]),y[1]&4&&e.set_custom_element_data(c,"customdisplayformat",f[33]),y[0]&16384&&e.set_custom_element_data(c,"hideproducttype",f[14]),y[0]&128&&e.set_custom_element_data(c,"currencylocale",f[7]),y[1]&524288&&H!==(H=f[50]("deposit")+"")&&e.set_data(E,H),f[48]?C?C.p(f,y):(C=nt(f),C.c(),C.m(h,null)):C&&(C.d(1),C=null)},d(f){f&&e.detach(t),R&&R.d(),C&&C.d(),a[72](null),M=!1,e.run_all(O)}}}function Qe(a){let t,n,l;return{c(){t=e.element("casino-slider"),e.set_custom_element_data(t,"class","HeaderItemsMenu"),e.set_custom_element_data(t,"mbsource",a[27]),e.set_custom_element_data(t,"identity",se),e.set_custom_element_data(t,"isprimarymenu","true"),e.set_custom_element_data(t,"actionevent",a[25]),e.set_custom_element_data(t,"activeindex",a[38]),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"lang",a[3]),e.set_custom_element_data(t,"location","headerMain"),e.set_custom_element_data(t,"showsubgroups",a[26]),e.set_custom_element_data(t,"clientstyling",a[28]),e.set_custom_element_data(t,"clientstylingurl",a[29])},m(s,i){e.insert(s,t,i),n||(l=e.action_destroyer(a[54].call(null,t)),n=!0)},p(s,i){i[0]&134217728&&e.set_custom_element_data(t,"mbsource",s[27]),i[0]&33554432&&e.set_custom_element_data(t,"actionevent",s[25]),i[1]&128&&e.set_custom_element_data(t,"activeindex",s[38]),i[0]&4&&e.set_custom_element_data(t,"endpoint",s[2]),i[0]&8&&e.set_custom_element_data(t,"lang",s[3]),i[0]&67108864&&e.set_custom_element_data(t,"showsubgroups",s[26]),i[0]&268435456&&e.set_custom_element_data(t,"clientstyling",s[28]),i[0]&536870912&&e.set_custom_element_data(t,"clientstylingurl",s[29])},d(s){s&&e.detach(t),n=!1,l()}}}function Ve(a){let t,n;return{c(){t=e.element("div"),n=e.element("gamification-dropdown"),e.set_custom_element_data(n,"session",a[0]),e.set_custom_element_data(n,"endpoint",a[2]),e.set_custom_element_data(n,"mb-source",a[27]),e.set_custom_element_data(n,"language",a[3]),e.set_custom_element_data(n,"client-styling",a[28]),e.set_custom_element_data(n,"client-styling-url",a[29]),e.set_custom_element_data(n,"translation-url",a[6]),e.attr(t,"class","GamificationWrapper")},m(l,s){e.insert(l,t,s),e.append(t,n)},p(l,s){s[0]&1&&e.set_custom_element_data(n,"session",l[0]),s[0]&4&&e.set_custom_element_data(n,"endpoint",l[2]),s[0]&134217728&&e.set_custom_element_data(n,"mb-source",l[27]),s[0]&8&&e.set_custom_element_data(n,"language",l[3]),s[0]&268435456&&e.set_custom_element_data(n,"client-styling",l[28]),s[0]&536870912&&e.set_custom_element_data(n,"client-styling-url",l[29]),s[0]&64&&e.set_custom_element_data(n,"translation-url",l[6])},d(l){l&&e.detach(t)}}}function Xe(a){let t,n,l,s,i,r,m,d;function p(_,h){return _[8]==="gmcore"?sa:la}let u=p(a),c=u(a);return{c(){t=e.element("div"),n=e.space(),l=e.element("div"),s=e.element("div"),i=e.element("div"),i.innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',r=e.space(),c.c(),e.attr(t,"class","ShortCashierWindow"),e.attr(i,"class","ClosePopUpButtonShortCashier"),e.attr(s,"class","ShortCashierContainer"),e.attr(l,"class","ShortCashierContainerWrapper")},m(_,h){e.insert(_,t,h),e.insert(_,n,h),e.insert(_,l,h),e.append(l,s),e.append(s,i),e.append(s,r),c.m(s,null),m||(d=[e.listen(t,"click",a[75]),e.listen(i,"click",a[76])],m=!0)},p(_,h){u===(u=p(_))&&c?c.p(_,h):(c.d(1),c=u(_),c&&(c.c(),c.m(s,null)))},d(_){_&&(e.detach(t),e.detach(n),e.detach(l)),c.d(),m=!1,e.run_all(d)}}}function la(a){let t,n,l,s,i,r,m,d,p;return{c(){t=e.element("user-deposit-withdrawal"),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"type","deposit"),e.set_custom_element_data(t,"channel","Desktop"),e.set_custom_element_data(t,"language",a[3]),e.set_custom_element_data(t,"is-short-cashier",a[15]),e.set_custom_element_data(t,"product-type",a[16]),e.set_custom_element_data(t,"user-id",a[1]),e.set_custom_element_data(t,"session",a[0]),e.set_custom_element_data(t,"mb-source",a[27]),e.set_custom_element_data(t,"success-url",n="https://"+window.location.hostname+"/"+a[3]+a[17]),e.set_custom_element_data(t,"cancel-url",l="https://"+window.location.hostname+"/"+a[3]+a[19]),e.set_custom_element_data(t,"fail-url",s="https://"+window.location.hostname+"/"+a[3]+a[18]),e.set_custom_element_data(t,"sports-url",i="https://"+window.location.hostname+"/"+a[3]+a[20]),e.set_custom_element_data(t,"casino-url",r="https://"+window.location.hostname+"/"+a[3]+a[21]),e.set_custom_element_data(t,"contact-url",m="https://"+window.location.hostname+"/"+a[3]+a[22]),e.set_custom_element_data(t,"home-url",d="https://"+window.location.hostname+"/"+a[3]+a[23]),e.set_custom_element_data(t,"deposit-url",p="https://"+window.location.hostname+"/"+a[3]+a[24]),e.set_custom_element_data(t,"client-styling",a[28]),e.set_custom_element_data(t,"client-styling-url",a[29])},m(u,c){e.insert(u,t,c)},p(u,c){c[0]&4&&e.set_custom_element_data(t,"endpoint",u[2]),c[0]&8&&e.set_custom_element_data(t,"language",u[3]),c[0]&32768&&e.set_custom_element_data(t,"is-short-cashier",u[15]),c[0]&65536&&e.set_custom_element_data(t,"product-type",u[16]),c[0]&2&&e.set_custom_element_data(t,"user-id",u[1]),c[0]&1&&e.set_custom_element_data(t,"session",u[0]),c[0]&134217728&&e.set_custom_element_data(t,"mb-source",u[27]),c[0]&131080&&n!==(n="https://"+window.location.hostname+"/"+u[3]+u[17])&&e.set_custom_element_data(t,"success-url",n),c[0]&524296&&l!==(l="https://"+window.location.hostname+"/"+u[3]+u[19])&&e.set_custom_element_data(t,"cancel-url",l),c[0]&262152&&s!==(s="https://"+window.location.hostname+"/"+u[3]+u[18])&&e.set_custom_element_data(t,"fail-url",s),c[0]&1048584&&i!==(i="https://"+window.location.hostname+"/"+u[3]+u[20])&&e.set_custom_element_data(t,"sports-url",i),c[0]&2097160&&r!==(r="https://"+window.location.hostname+"/"+u[3]+u[21])&&e.set_custom_element_data(t,"casino-url",r),c[0]&4194312&&m!==(m="https://"+window.location.hostname+"/"+u[3]+u[22])&&e.set_custom_element_data(t,"contact-url",m),c[0]&8388616&&d!==(d="https://"+window.location.hostname+"/"+u[3]+u[23])&&e.set_custom_element_data(t,"home-url",d),c[0]&16777224&&p!==(p="https://"+window.location.hostname+"/"+u[3]+u[24])&&e.set_custom_element_data(t,"deposit-url",p),c[0]&268435456&&e.set_custom_element_data(t,"client-styling",u[28]),c[0]&536870912&&e.set_custom_element_data(t,"client-styling-url",u[29])},d(u){u&&e.detach(t)}}}function sa(a){let t;return{c(){t=e.element("player-deposit"),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"mbsource",a[27]),e.set_custom_element_data(t,"session",a[0]),e.set_custom_element_data(t,"playerid",a[1]),e.set_custom_element_data(t,"lang",a[3]),e.set_custom_element_data(t,"hasdefaultamount",a[12]),e.set_custom_element_data(t,"playercurrency",a[13]),e.set_custom_element_data(t,"shortcashierenabled",a[15]),e.set_custom_element_data(t,"clientstyling",a[28]),e.set_custom_element_data(t,"clientstylingurl",a[29])},m(n,l){e.insert(n,t,l)},p(n,l){l[0]&4&&e.set_custom_element_data(t,"endpoint",n[2]),l[0]&134217728&&e.set_custom_element_data(t,"mbsource",n[27]),l[0]&1&&e.set_custom_element_data(t,"session",n[0]),l[0]&2&&e.set_custom_element_data(t,"playerid",n[1]),l[0]&8&&e.set_custom_element_data(t,"lang",n[3]),l[0]&4096&&e.set_custom_element_data(t,"hasdefaultamount",n[12]),l[0]&8192&&e.set_custom_element_data(t,"playercurrency",n[13]),l[0]&32768&&e.set_custom_element_data(t,"shortcashierenabled",n[15]),l[0]&268435456&&e.set_custom_element_data(t,"clientstyling",n[28]),l[0]&536870912&&e.set_custom_element_data(t,"clientstylingurl",n[29])},d(n){n&&e.detach(t)}}}function Ke(a){let t;function n(i,r){return i[9]!=="true"?ra:ia}let l=n(a),s=l(a);return{c(){s.c(),t=e.empty()},m(i,r){s.m(i,r),e.insert(i,t,r)},p(i,r){l===(l=n(i))&&s?s.p(i,r):(s.d(1),s=l(i),s&&(s.c(),s.m(t.parentNode,t)))},d(i){i&&e.detach(t),s.d(i)}}}function ia(a){let t,n,l,s,i,r,m,d=a[41].slice(-2)+"",p,u,c,_,h,b,H,E,B,v=a[43]&&xe(a);return{c(){t=e.element("div"),n=e.element("div"),l=e.element("span"),s=e.element("img"),r=e.space(),m=e.element("span"),p=e.text(d),u=e.space(),c=e.element("span"),_=e.svg_element("svg"),h=e.svg_element("path"),H=e.space(),v&&v.c(),e.src_url_equal(s.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[58](a[41].slice(-2))}.svg`)||e.attr(s,"src",i),e.attr(l,"class","FlagIcon"),e.attr(m,"class","LanguageName"),e.attr(h,"id","arrow"),e.attr(h,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(h,"transform","translate(-274.511 -441.088)"),e.attr(h,"fill","#d1d1d1"),e.attr(_,"xmlns","http://www.w3.org/2000/svg"),e.attr(_,"width","14"),e.attr(_,"height","6.835"),e.attr(_,"viewBox","0 0 14 6.835"),e.attr(c,"class",b="TriangleInactive "+(a[43]?"TriangleActive":"")),e.attr(n,"class","SelectedOption Item ItemLanguage"),e.attr(t,"class","LanguageDropdown")},m(k,M){e.insert(k,t,M),e.append(t,n),e.append(n,l),e.append(l,s),e.append(n,r),e.append(n,m),e.append(m,p),e.append(n,u),e.append(n,c),e.append(c,_),e.append(_,h),e.append(t,H),v&&v.m(t,null),E||(B=e.listen(n,"click",a[80]),E=!0)},p(k,M){M[1]&33792&&!e.src_url_equal(s.src,i=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${k[58](k[41].slice(-2))}.svg`)&&e.attr(s,"src",i),M[1]&1024&&d!==(d=k[41].slice(-2)+"")&&e.set_data(p,d),M[1]&4096&&b!==(b="TriangleInactive "+(k[43]?"TriangleActive":""))&&e.attr(c,"class",b),k[43]?v?v.p(k,M):(v=xe(k),v.c(),v.m(t,null)):v&&(v.d(1),v=null)},d(k){k&&e.detach(t),v&&v.d(),E=!1,B()}}}function ra(a){let t,n,l,s=e.ensure_array_like(a[46]),i=[];for(let r=0;r<s.length;r+=1)i[r]=et(Ue(a,s,r));return{c(){t=e.element("select");for(let r=0;r<i.length;r+=1)i[r].c();e.attr(t,"class","Item ItemLanguage NoFlag"),a[41]===void 0&&e.add_render_callback(()=>a[78].call(t))},m(r,m){e.insert(r,t,m);for(let d=0;d<i.length;d+=1)i[d]&&i[d].m(t,null);e.select_option(t,a[41],!0),n||(l=[e.listen(t,"change",a[78]),e.listen(t,"change",a[79])],n=!0)},p(r,m){if(m[1]&32768){s=e.ensure_array_like(r[46]);let d;for(d=0;d<s.length;d+=1){const p=Ue(r,s,d);i[d]?i[d].p(p,m):(i[d]=et(p),i[d].c(),i[d].m(t,null))}for(;d<i.length;d+=1)i[d].d(1);i.length=s.length}m[1]&33792&&e.select_option(t,r[41])},d(r){r&&e.detach(t),e.destroy_each(i,r),n=!1,e.run_all(l)}}}function xe(a){let t,n=e.ensure_array_like(a[46]),l=[];for(let s=0;s<n.length;s+=1)l[s]=$e(Te(a,n,s));return{c(){t=e.element("div");for(let s=0;s<l.length;s+=1)l[s].c();e.attr(t,"class","OptionList")},m(s,i){e.insert(s,t,i);for(let r=0;r<l.length;r+=1)l[r]&&l[r].m(t,null)},p(s,i){if(i[1]&167804928){n=e.ensure_array_like(s[46]);let r;for(r=0;r<n.length;r+=1){const m=Te(s,n,r);l[r]?l[r].p(m,i):(l[r]=$e(m),l[r].c(),l[r].m(t,null))}for(;r<l.length;r+=1)l[r].d(1);l.length=n.length}},d(s){s&&e.detach(t),e.destroy_each(l,s)}}}function $e(a){let t,n,l,s,i,r,m=a[127].slice(-2)+"",d,p,u,c;function _(){return a[81](a[127])}return{c(){t=e.element("div"),n=e.element("span"),l=e.element("img"),i=e.space(),r=e.element("span"),d=e.text(m),p=e.space(),e.src_url_equal(l.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[58](a[127].slice(-2))}.svg`)||e.attr(l,"src",s),e.attr(n,"class","FlagIcon"),e.attr(r,"class","LanguageName"),e.attr(t,"class","LanguageOption")},m(h,b){e.insert(h,t,b),e.append(t,n),e.append(n,l),e.append(t,i),e.append(t,r),e.append(r,d),e.append(t,p),u||(c=e.listen(t,"click",_),u=!0)},p(h,b){a=h,b[1]&32768&&!e.src_url_equal(l.src,s=`http://purecatamphetamine.github.io/country-flag-icons/3x2/${a[58](a[127].slice(-2))}.svg`)&&e.attr(l,"src",s),b[1]&32768&&m!==(m=a[127].slice(-2)+"")&&e.set_data(d,m)},d(h){h&&e.detach(t),u=!1,c()}}}function et(a){let t,n=a[127].slice(-2)+"",l,s;return{c(){t=e.element("option"),l=e.text(n),t.__value=s=a[127],e.set_input_value(t,t.__value),t.selected=!0},m(i,r){e.insert(i,t,r),e.append(t,l)},p(i,r){r[1]&32768&&n!==(n=i[127].slice(-2)+"")&&e.set_data(l,n),r[1]&32768&&s!==(s=i[127])&&(t.__value=s,e.set_input_value(t,t.__value))},d(i){i&&e.detach(t)}}}function tt(a){let t,n,l=a[124].label+"",s,i,r,m,d;function p(){return a[82](a[124])}return{c(){var u,c;t=e.element("li"),n=e.element("button"),s=e.text(l),i=e.space(),e.attr(t,"class",r="ItemSecondary "+(((u=a[39])==null?void 0:u.toString().indexOf("$"))>-1?((c=a[39])==null?void 0:c.split("$").pop())==a[124].id.split("$").pop()?"active":"":a[39]==a[124].id?"active":""))},m(u,c){e.insert(u,t,c),e.append(t,n),e.append(n,s),e.append(t,i),m||(d=e.listen(n,"click",p),m=!0)},p(u,c){var _,h;a=u,c[1]&512&&l!==(l=a[124].label+"")&&e.set_data(s,l),c[1]&768&&r!==(r="ItemSecondary "+(((_=a[39])==null?void 0:_.toString().indexOf("$"))>-1?((h=a[39])==null?void 0:h.split("$").pop())==a[124].id.split("$").pop()?"active":"":a[39]==a[124].id?"active":""))&&e.attr(t,"class",r)},d(u){u&&e.detach(t),m=!1,d()}}}function at(a){let t,n,l,s,i,r,m,d,p,u;return{c(){t=e.svg_element("svg"),n=e.svg_element("defs"),l=e.svg_element("style"),s=e.text(`.a {
|
|
11
11
|
fill: var(--emw--color-white, #FFFFFF);
|
|
12
12
|
}
|
|
13
|
-
`),i=e.svg_element("g"),r=e.svg_element("rect"),m=e.svg_element("rect"),d=e.svg_element("rect"),e.attr(r,"class","a"),e.attr(r,"width","18"),e.attr(r,"height","2"),e.attr(r,"transform","translate(14 13)"),e.attr(m,"class","a"),e.attr(m,"width","22"),e.attr(m,"height","2"),e.attr(m,"transform","translate(14 20)"),e.attr(d,"class","a"),e.attr(d,"width","22"),e.attr(d,"height","2"),e.attr(d,"transform","translate(14 27)"),e.attr(i,"transform","translate(-14 -13)"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"width","22"),e.attr(t,"height","16"),e.attr(t,"viewBox","0 0 22 16")},m(c,_){e.insert(c,t,_),e.append(t,n),e.append(n,l),e.append(l,s),e.append(t,i),e.append(i,r),e.append(i,m),e.append(i,d),p||(u=e.listen(t,"click",a[66]),p=!0)},p:e.noop,d(c){c&&e.detach(t),p=!1,u()}}}function nt(a){let t,n,l,s,i,r,m,d;function p(_,h){return _[8]==="gmcore"?ca:oa}let u=p(a),c=u(a);return{c(){t=e.element("div"),n=e.space(),l=e.element("div"),s=e.element("div"),i=e.element("div"),i.innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',r=e.space(),c.c(),e.attr(t,"class","ShortCashierWindow"),e.attr(i,"class","ClosePopUpButtonShortCashier"),e.attr(s,"class","ShortCashierContainerMobile"),e.attr(l,"class","ShortCashierContainerWrapperMobile")},m(_,h){e.insert(_,t,h),e.insert(_,n,h),e.insert(_,l,h),e.append(l,s),e.append(s,i),e.append(s,r),c.m(s,null),m||(d=[e.listen(t,"click",a[69]),e.listen(i,"click",a[70])],m=!0)},p(_,h){u===(u=p(_))&&c?c.p(_,h):(c.d(1),c=u(_),c&&(c.c(),c.m(s,null)))},d(_){_&&(e.detach(t),e.detach(n),e.detach(l)),c.d(),m=!1,e.run_all(d)}}}function oa(a){let t,n,l,s,i,r,m,d,p;return{c(){t=e.element("user-deposit-withdrawal"),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"mb-source",a[27]),e.set_custom_element_data(t,"type","deposit"),e.set_custom_element_data(t,"channel","Mobile"),e.set_custom_element_data(t,"language",a[3]),e.set_custom_element_data(t,"is-short-cashier",a[15]),e.set_custom_element_data(t,"product-type",a[16]),e.set_custom_element_data(t,"user-id",a[1]),e.set_custom_element_data(t,"session",a[0]),e.set_custom_element_data(t,"success-url",n="https://"+window.location.hostname+"/"+a[3]+a[17]),e.set_custom_element_data(t,"cancel-url",l="https://"+window.location.hostname+"/"+a[3]+a[19]),e.set_custom_element_data(t,"fail-url",s="https://"+window.location.hostname+"/"+a[3]+a[18]),e.set_custom_element_data(t,"sports-url",i="https://"+window.location.hostname+"/"+a[3]+a[20]),e.set_custom_element_data(t,"casino-url",r="https://"+window.location.hostname+"/"+a[3]+a[21]),e.set_custom_element_data(t,"contact-url",m="https://"+window.location.hostname+"/"+a[3]+a[22]),e.set_custom_element_data(t,"home-url",d="https://"+window.location.hostname+"/"+a[3]+a[23]),e.set_custom_element_data(t,"deposit-url",p="https://"+window.location.hostname+"/"+a[3]+a[24]),e.set_custom_element_data(t,"client-styling",a[28]),e.set_custom_element_data(t,"client-styling-url",a[29])},m(u,c){e.insert(u,t,c)},p(u,c){c[0]&4&&e.set_custom_element_data(t,"endpoint",u[2]),c[0]&134217728&&e.set_custom_element_data(t,"mb-source",u[27]),c[0]&8&&e.set_custom_element_data(t,"language",u[3]),c[0]&32768&&e.set_custom_element_data(t,"is-short-cashier",u[15]),c[0]&65536&&e.set_custom_element_data(t,"product-type",u[16]),c[0]&2&&e.set_custom_element_data(t,"user-id",u[1]),c[0]&1&&e.set_custom_element_data(t,"session",u[0]),c[0]&131080&&n!==(n="https://"+window.location.hostname+"/"+u[3]+u[17])&&e.set_custom_element_data(t,"success-url",n),c[0]&524296&&l!==(l="https://"+window.location.hostname+"/"+u[3]+u[19])&&e.set_custom_element_data(t,"cancel-url",l),c[0]&262152&&s!==(s="https://"+window.location.hostname+"/"+u[3]+u[18])&&e.set_custom_element_data(t,"fail-url",s),c[0]&1048584&&i!==(i="https://"+window.location.hostname+"/"+u[3]+u[20])&&e.set_custom_element_data(t,"sports-url",i),c[0]&2097160&&r!==(r="https://"+window.location.hostname+"/"+u[3]+u[21])&&e.set_custom_element_data(t,"casino-url",r),c[0]&4194312&&m!==(m="https://"+window.location.hostname+"/"+u[3]+u[22])&&e.set_custom_element_data(t,"contact-url",m),c[0]&8388616&&d!==(d="https://"+window.location.hostname+"/"+u[3]+u[23])&&e.set_custom_element_data(t,"home-url",d),c[0]&16777224&&p!==(p="https://"+window.location.hostname+"/"+u[3]+u[24])&&e.set_custom_element_data(t,"deposit-url",p),c[0]&268435456&&e.set_custom_element_data(t,"client-styling",u[28]),c[0]&536870912&&e.set_custom_element_data(t,"client-styling-url",u[29])},d(u){u&&e.detach(t)}}}function ca(a){let t;return{c(){t=e.element("player-deposit"),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"session",a[0]),e.set_custom_element_data(t,"mbsource",a[27]),e.set_custom_element_data(t,"playerid",a[1]),e.set_custom_element_data(t,"lang",a[3]),e.set_custom_element_data(t,"hasdefaultamount",a[12]),e.set_custom_element_data(t,"playercurrency",a[13]),e.set_custom_element_data(t,"shortcashierenabled",a[15]),e.set_custom_element_data(t,"clientstyling",a[28]),e.set_custom_element_data(t,"clientstylingurl",a[29])},m(n,l){e.insert(n,t,l)},p(n,l){l[0]&4&&e.set_custom_element_data(t,"endpoint",n[2]),l[0]&1&&e.set_custom_element_data(t,"session",n[0]),l[0]&134217728&&e.set_custom_element_data(t,"mbsource",n[27]),l[0]&2&&e.set_custom_element_data(t,"playerid",n[1]),l[0]&8&&e.set_custom_element_data(t,"lang",n[3]),l[0]&4096&&e.set_custom_element_data(t,"hasdefaultamount",n[12]),l[0]&8192&&e.set_custom_element_data(t,"playercurrency",n[13]),l[0]&32768&&e.set_custom_element_data(t,"shortcashierenabled",n[15]),l[0]&268435456&&e.set_custom_element_data(t,"clientstyling",n[28]),l[0]&536870912&&e.set_custom_element_data(t,"clientstylingurl",n[29])},d(n){n&&e.detach(t)}}}function ua(a){let t,n;function l(r,m){return r[45]?$t:r[44]?xt:Kt}let s=l(a),i=s(a);return{c(){i.c(),t=e.space(),n=e.element("casino-hamburger-menu"),e.set_custom_element_data(n,"menuitemsurl",a[42]),e.set_custom_element_data(n,"mbsource",a[27]),e.set_custom_element_data(n,"activecategory",a[5]),e.set_custom_element_data(n,"lang",a[3]),e.set_custom_element_data(n,"countryflaghamburger",a[11]),e.set_custom_element_data(n,"customlocaleidentifier",a[7]),e.set_custom_element_data(n,"languageslist",a[4]),e.set_custom_element_data(n,"clientstyling",a[28]),e.set_custom_element_data(n,"clientstylingurl",a[29])},m(r,m){i.m(r,m),e.insert(r,t,m),e.insert(r,n,m)},p(r,m){s===(s=l(r))&&i?i.p(r,m):(i.d(1),i=s(r),i&&(i.c(),i.m(t.parentNode,t))),m[1]&2048&&e.set_custom_element_data(n,"menuitemsurl",r[42]),m[0]&134217728&&e.set_custom_element_data(n,"mbsource",r[27]),m[0]&32&&e.set_custom_element_data(n,"activecategory",r[5]),m[0]&8&&e.set_custom_element_data(n,"lang",r[3]),m[0]&2048&&e.set_custom_element_data(n,"countryflaghamburger",r[11]),m[0]&128&&e.set_custom_element_data(n,"customlocaleidentifier",r[7]),m[0]&16&&e.set_custom_element_data(n,"languageslist",r[4]),m[0]&268435456&&e.set_custom_element_data(n,"clientstyling",r[28]),m[0]&536870912&&e.set_custom_element_data(n,"clientstylingurl",r[29])},i:e.noop,o:e.noop,d(r){r&&(e.detach(t),e.detach(n)),i.d(r)}}}let se="HeaderMenu";function ma(a,t,n){let l,s,i;e.component_subscribe(a,e.$format,o=>n(50,i=o));let{session:r=""}=t,{userid:m=""}=t,{endpoint:d=""}=t,{cmsendpoint:p=""}=t,{cmsenv:u="stage"}=t,{lang:c="en"}=t,{languageslist:_="en, ro"}=t,{activecategory:h=""}=t,{translationurl:b=""}=t,{customlocaleidentifier:H=""}=t,{gmversion:E=""}=t,{countryflagheader:B="false"}=t,{displaybalanceoption:v="All"}=t,{countryflaghamburger:k="false"}=t,{hasdefaultamount:M=""}=t,{playercurrency:O=""}=t,{hideproducttype:R=""}=t,{shortcashierenabled:C=""}=t,{producttype:f=""}=t,{successurl:y=""}=t,{failurl:D=""}=t,{cancelurl:F=""}=t,{sportsurl:g=""}=t,{casinourl:A=""}=t,{contacturl:I=""}=t,{homeurl:Z=""}=t,{depositurl:z=""}=t,{actionevent:w=""}=t,{userroles:S=""}=t,{showsubgroups:P="false"}=t,{mbsource:q=""}=t,{clientstyling:$=""}=t,{clientstylingurl:ee=""}=t,{currencydisplay:we="symbol"}=t,{maximumfractiondigits:be="2"}=t,{minimumfractiondigits:ve="0"}=t,{customdisplayformat:ye=""}=t,{totalcalculationmode:ke="totalCashAmount"}=t,{gamification:Me="false"}=t,{customlogourl:K=""}=t,{filterbykeyword:J="none"}=t,Fe,Ie,T;Jt({withLocale:"en",translations:{}});const st=()=>{fetch(b).then(N=>N.json()).then(N=>{Object.keys(N).forEach(U=>{Ne(U,N[U])})}).catch(N=>{console.log(N)})};Object.keys(Pe).forEach(o=>{Ne(o,Pe[o])});let ie=[],te=[],re=[],oe=[],j="",Y,G,He,x=!0,Q=!1,ae=!1,Ae=!1,ce=window.navigator.userAgent,ne=!1,V=[],ue=!1,me="",de=!1;const W=o=>{switch(o){case"login":window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href),typeof gtag=="function"&>ag("event","OpenLoginModal",{context:"HeaderController"});break;case"register":window.postMessage({type:"OpenLoginRegisterModal",transition:"Register"},window.location.href),typeof gtag=="function"&>ag("event","OpenRegisterModal",{context:"HeaderController"});break;case"lobby":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"myaccount":window.postMessage({type:"PlayerAccountMenuActive",isMobile:e.isMobile(ce)},window.location.href);break;case"deposit":s?(qt("open_shortcashier",{userid:m}),n(48,de=!0),window.postMessage({type:"DisableScroll"},window.location.href)):window.postMessage({type:"GoToDeposit"},window.location.href),typeof gtag=="function"&>ag("event","GoToDeposit",{context:"HeaderController"});break;case"language":window.postMessage({type:"LanguageChanged",selectedLanguage:j},window.location.href);break}},_e=()=>{n(47,ue=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},Ce=o=>{if(o.data)switch(o.data.type){case"SliderLoaded":se==o.data.identity&&pe();break;case"UserSessionID":o.data.userid,o.data.session,n(45,ne=!0);break;case"CloseHamburgerMenu":window.postMessage({type:"EnableScroll"},window.location.href),o.data.showhamburger&&n(47,ue=!1);break;case"LogoutSuccessfull":n(45,ne=!1);break;case"LanguageChanged":Se(),Re(G);break;case"OpenShortCashier":W("deposit");break;case"CloseShortCashier":X();break;case"RequestHeaderHeight":window.postMessage({type:"HeaderHeight",headerHeight:T.clientHeight},window.location.href);break}},it=()=>{n(45,ne=!0)},X=o=>{n(48,de=!1),window.postMessage({type:"EnableScroll"},window.location.href),o==null||o.stopPropagation()},Se=()=>{G=new URL(`${p}/${j.toLowerCase()}/menu`),n(42,Y=new URL(`${p}/${j.toLowerCase()}/hamburger-menu`)),He=new URL(`${p}/${j.toLowerCase()}/op-options/style`);let o=e.getDevice(ce);G.searchParams.append("env",u),G.searchParams.append("language",j.toLowerCase()),G.searchParams.append("userRoles",S),o&&(o==="PC"?(Y.searchParams.append("device","dk"),G.searchParams.append("device","dk")):(Y.searchParams.append("device","mtWeb"),G.searchParams.append("device","mtWeb"))),Y.searchParams.append("env",u),Y.searchParams.append("language",j.toLowerCase()),Y.searchParams.append("userRoles",S)},rt=()=>{Qt(c)},ot=()=>{n(46,V=_.replace(/ /g,"").split(",")),n(46,V=V.map(o=>o.toUpperCase())),n(41,j=c.toUpperCase()),Se(),dt(He),setTimeout(()=>{Re(G)})},ct=()=>{n(38,Fe=Le(h,ie)),n(39,Ie=Le(h,re))},Le=(o,N)=>{let U=N.find(L=>{if(o.indexOf("/sport")>-1)return L.path.indexOf(o)>-1;if(L.path.includes(o))return!0});return U||(U=N.find(L=>L.path.split("/").indexOf(o.split("/")[1])>-1)),U?U.id:-1},pe=o=>{te.length>0&&window.postMessage({type:"SliderData",identity:se,data:te},window.location.href)},ut=(o,N)=>o.filter(U=>N.includes(U)),Ee=o=>o.split(",").filter(Boolean).map(N=>N.trim()),le=o=>{if(!J||J==="none")return o;const N=Ee(J);return N.length===0?o:o.filter(U=>{const L=Ee(U.keyword||"");return L.length===0?!0:ut(N,L).length>0})},mt=()=>{te=le(ie),n(40,oe=le(re)),pe()},Re=o=>(n(37,x=!0),new Promise((N,U)=>{fetch(o).then(L=>L.json()).then(L=>{ie=L.desktop.primary,te=le(L.desktop.primary),re=L.desktop.secondary,n(40,oe=le(L.desktop.secondary)),n(37,x=!1),N(L)},L=>{n(37,x=!1),console.error(L),U(L)})})),dt=o=>(n(64,Q=!1),new Promise((N,U)=>{fetch(o).then(L=>L.json()).then(L=>{L.logoUrl.length>0&&(L.logoUrl!="null"||L.logoUrl!="false")?(n(65,me=L.logoUrl),n(64,Q=!0)):n(64,Q=!1),N(L)},L=>{n(64,Q=!1),console.error(L),U(L)})})),he=o=>{var N;window.postMessage({type:"NavigateTo",itemId:o.id,item:o,path:o.path,externalLink:o.externalLink||!1,target:((N=o.attrs)==null?void 0:N.target)||null},window.location.href)},fe=o=>{n(41,j=o),n(43,ae=!1),W("language")},ge=()=>{n(43,ae=!ae)},_t=o=>(H&&(o=H.includes(o.toLowerCase())?H.slice(-2):o),o=="EN"?"US":o.toUpperCase());e.onMount(()=>Be(this,null,function*(){return window.addEventListener("message",Ce,!1),e.isMobile(ce)&&n(44,Ae=!0),()=>{window.removeEventListener("message",Ce)}}));const pt=()=>_e(),ht=()=>W("lobby"),ft=()=>W("deposit"),gt=o=>X(o),wt=o=>X(o),bt=()=>W("myaccount");function vt(o){e.binding_callbacks[o?"unshift":"push"](()=>{T=o,n(36,T)})}const yt=()=>W("lobby"),kt=()=>W("deposit"),Mt=o=>X(o),Ft=o=>X(o),It=()=>W("myaccount");function Ht(){j=e.select_value(this),n(41,j),n(46,V)}const At=()=>W("language"),Ct=()=>ge(),St=o=>fe(o),Lt=o=>he(o);function Et(o){e.binding_callbacks[o?"unshift":"push"](()=>{T=o,n(36,T)})}const Rt=()=>_e(),Bt=()=>W("lobby"),Nt=()=>W("login"),Pt=()=>W("register");function Ot(o){e.binding_callbacks[o?"unshift":"push"](()=>{T=o,n(36,T)})}const zt=()=>W("lobby"),Wt=()=>W("login"),Dt=()=>W("register");function Tt(){j=e.select_value(this),n(41,j),n(46,V)}const Ut=()=>W("language"),jt=()=>ge(),Zt=o=>fe(o),Gt=o=>he(o);function Yt(o){e.binding_callbacks[o?"unshift":"push"](()=>{T=o,n(36,T)})}return a.$$set=o=>{"session"in o&&n(0,r=o.session),"userid"in o&&n(1,m=o.userid),"endpoint"in o&&n(2,d=o.endpoint),"cmsendpoint"in o&&n(59,p=o.cmsendpoint),"cmsenv"in o&&n(60,u=o.cmsenv),"lang"in o&&n(3,c=o.lang),"languageslist"in o&&n(4,_=o.languageslist),"activecategory"in o&&n(5,h=o.activecategory),"translationurl"in o&&n(6,b=o.translationurl),"customlocaleidentifier"in o&&n(7,H=o.customlocaleidentifier),"gmversion"in o&&n(8,E=o.gmversion),"countryflagheader"in o&&n(9,B=o.countryflagheader),"displaybalanceoption"in o&&n(10,v=o.displaybalanceoption),"countryflaghamburger"in o&&n(11,k=o.countryflaghamburger),"hasdefaultamount"in o&&n(12,M=o.hasdefaultamount),"playercurrency"in o&&n(13,O=o.playercurrency),"hideproducttype"in o&&n(14,R=o.hideproducttype),"shortcashierenabled"in o&&n(15,C=o.shortcashierenabled),"producttype"in o&&n(16,f=o.producttype),"successurl"in o&&n(17,y=o.successurl),"failurl"in o&&n(18,D=o.failurl),"cancelurl"in o&&n(19,F=o.cancelurl),"sportsurl"in o&&n(20,g=o.sportsurl),"casinourl"in o&&n(21,A=o.casinourl),"contacturl"in o&&n(22,I=o.contacturl),"homeurl"in o&&n(23,Z=o.homeurl),"depositurl"in o&&n(24,z=o.depositurl),"actionevent"in o&&n(25,w=o.actionevent),"userroles"in o&&n(61,S=o.userroles),"showsubgroups"in o&&n(26,P=o.showsubgroups),"mbsource"in o&&n(27,q=o.mbsource),"clientstyling"in o&&n(28,$=o.clientstyling),"clientstylingurl"in o&&n(29,ee=o.clientstylingurl),"currencydisplay"in o&&n(30,we=o.currencydisplay),"maximumfractiondigits"in o&&n(31,be=o.maximumfractiondigits),"minimumfractiondigits"in o&&n(32,ve=o.minimumfractiondigits),"customdisplayformat"in o&&n(33,ye=o.customdisplayformat),"totalcalculationmode"in o&&n(34,ke=o.totalcalculationmode),"gamification"in o&&n(35,Me=o.gamification),"customlogourl"in o&&n(62,K=o.customlogourl),"filterbykeyword"in o&&n(63,J=o.filterbykeyword)},a.$$.update=()=>{a.$$.dirty[2]&2&&J&&mt(),a.$$.dirty[2]&13&&n(49,l=Q?K!=null?K:me:Vt),a.$$.dirty[0]&32|a.$$.dirty[1]&64&&h&&!x&&ct(),a.$$.dirty[0]&1&&r&&it(),a.$$.dirty[0]&32768&&(s=C.toLocaleLowerCase()==="true"),a.$$.dirty[0]&8&&c&&rt(),a.$$.dirty[0]&24|a.$$.dirty[1]&1342177280&&p&&c&&_&&S&&ot(),a.$$.dirty[0]&64&&b&&st(),a.$$.dirty[0]&268435456|a.$$.dirty[1]&32&&$&&T&&e.setClientStyling(T,$),a.$$.dirty[0]&536870912|a.$$.dirty[1]&32&&ee&&T&&e.setClientStylingURL(T,ee),a.$$.dirty[0]&134217728|a.$$.dirty[1]&32&&T&&e.setStreamStyling(T,`${q}.Style`)},[r,m,d,c,_,h,b,H,E,B,v,k,M,O,R,C,f,y,D,F,g,A,I,Z,z,w,P,q,$,ee,we,be,ve,ye,ke,Me,T,x,Fe,Ie,oe,j,Y,ae,Ae,ne,V,ue,de,l,i,W,_e,X,pe,he,fe,ge,_t,p,u,S,K,J,Q,me,pt,ht,ft,gt,wt,bt,vt,yt,kt,Mt,Ft,It,Ht,At,Ct,St,Lt,Et,Rt,Bt,Nt,Pt,Ot,zt,Wt,Dt,Tt,Ut,jt,Zt,Gt,Yt]}class lt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ma,ua,e.safe_not_equal,{session:0,userid:1,endpoint:2,cmsendpoint:59,cmsenv:60,lang:3,languageslist:4,activecategory:5,translationurl:6,customlocaleidentifier:7,gmversion:8,countryflagheader:9,displaybalanceoption:10,countryflaghamburger:11,hasdefaultamount:12,playercurrency:13,hideproducttype:14,shortcashierenabled:15,producttype:16,successurl:17,failurl:18,cancelurl:19,sportsurl:20,casinourl:21,contacturl:22,homeurl:23,depositurl:24,actionevent:25,userroles:61,showsubgroups:26,mbsource:27,clientstyling:28,clientstylingurl:29,currencydisplay:30,maximumfractiondigits:31,minimumfractiondigits:32,customdisplayformat:33,totalcalculationmode:34,gamification:35,customlogourl:62,filterbykeyword:63},Xt,[-1,-1,-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[59]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get cmsenv(){return this.$$.ctx[60]}set cmsenv(t){this.$$set({cmsenv:t}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),e.flush()}get languageslist(){return this.$$.ctx[4]}set languageslist(t){this.$$set({languageslist:t}),e.flush()}get activecategory(){return this.$$.ctx[5]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get customlocaleidentifier(){return this.$$.ctx[7]}set customlocaleidentifier(t){this.$$set({customlocaleidentifier:t}),e.flush()}get gmversion(){return this.$$.ctx[8]}set gmversion(t){this.$$set({gmversion:t}),e.flush()}get countryflagheader(){return this.$$.ctx[9]}set countryflagheader(t){this.$$set({countryflagheader:t}),e.flush()}get displaybalanceoption(){return this.$$.ctx[10]}set displaybalanceoption(t){this.$$set({displaybalanceoption:t}),e.flush()}get countryflaghamburger(){return this.$$.ctx[11]}set countryflaghamburger(t){this.$$set({countryflaghamburger:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get playercurrency(){return this.$$.ctx[13]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get hideproducttype(){return this.$$.ctx[14]}set hideproducttype(t){this.$$set({hideproducttype:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[15]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}get producttype(){return this.$$.ctx[16]}set producttype(t){this.$$set({producttype:t}),e.flush()}get successurl(){return this.$$.ctx[17]}set successurl(t){this.$$set({successurl:t}),e.flush()}get failurl(){return this.$$.ctx[18]}set failurl(t){this.$$set({failurl:t}),e.flush()}get cancelurl(){return this.$$.ctx[19]}set cancelurl(t){this.$$set({cancelurl:t}),e.flush()}get sportsurl(){return this.$$.ctx[20]}set sportsurl(t){this.$$set({sportsurl:t}),e.flush()}get casinourl(){return this.$$.ctx[21]}set casinourl(t){this.$$set({casinourl:t}),e.flush()}get contacturl(){return this.$$.ctx[22]}set contacturl(t){this.$$set({contacturl:t}),e.flush()}get homeurl(){return this.$$.ctx[23]}set homeurl(t){this.$$set({homeurl:t}),e.flush()}get depositurl(){return this.$$.ctx[24]}set depositurl(t){this.$$set({depositurl:t}),e.flush()}get actionevent(){return this.$$.ctx[25]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get userroles(){return this.$$.ctx[61]}set userroles(t){this.$$set({userroles:t}),e.flush()}get showsubgroups(){return this.$$.ctx[26]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get mbsource(){return this.$$.ctx[27]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get currencydisplay(){return this.$$.ctx[30]}set currencydisplay(t){this.$$set({currencydisplay:t}),e.flush()}get maximumfractiondigits(){return this.$$.ctx[31]}set maximumfractiondigits(t){this.$$set({maximumfractiondigits:t}),e.flush()}get minimumfractiondigits(){return this.$$.ctx[32]}set minimumfractiondigits(t){this.$$set({minimumfractiondigits:t}),e.flush()}get customdisplayformat(){return this.$$.ctx[33]}set customdisplayformat(t){this.$$set({customdisplayformat:t}),e.flush()}get totalcalculationmode(){return this.$$.ctx[34]}set totalcalculationmode(t){this.$$set({totalcalculationmode:t}),e.flush()}get gamification(){return this.$$.ctx[35]}set gamification(t){this.$$set({gamification:t}),e.flush()}get customlogourl(){return this.$$.ctx[62]}set customlogourl(t){this.$$set({customlogourl:t}),e.flush()}get filterbykeyword(){return this.$$.ctx[63]}set filterbykeyword(t){this.$$set({filterbykeyword:t}),e.flush()}}e.create_custom_element(lt,{session:{},userid:{},endpoint:{},cmsendpoint:{},cmsenv:{},lang:{},languageslist:{},activecategory:{},translationurl:{},customlocaleidentifier:{},gmversion:{},countryflagheader:{},displaybalanceoption:{},countryflaghamburger:{},hasdefaultamount:{},playercurrency:{},hideproducttype:{},shortcashierenabled:{},producttype:{},successurl:{},failurl:{},cancelurl:{},sportsurl:{},casinourl:{},contacturl:{},homeurl:{},depositurl:{},actionevent:{},userroles:{},showsubgroups:{},mbsource:{},clientstyling:{},clientstylingurl:{},currencydisplay:{},maximumfractiondigits:{},minimumfractiondigits:{},customdisplayformat:{},totalcalculationmode:{},gamification:{},customlogourl:{},filterbykeyword:{}},[],[],!0);exports.default=lt;
|
|
13
|
+
`),i=e.svg_element("g"),r=e.svg_element("rect"),m=e.svg_element("rect"),d=e.svg_element("rect"),e.attr(r,"class","a"),e.attr(r,"width","18"),e.attr(r,"height","2"),e.attr(r,"transform","translate(14 13)"),e.attr(m,"class","a"),e.attr(m,"width","22"),e.attr(m,"height","2"),e.attr(m,"transform","translate(14 20)"),e.attr(d,"class","a"),e.attr(d,"width","22"),e.attr(d,"height","2"),e.attr(d,"transform","translate(14 27)"),e.attr(i,"transform","translate(-14 -13)"),e.attr(t,"xmlns","http://www.w3.org/2000/svg"),e.attr(t,"width","22"),e.attr(t,"height","16"),e.attr(t,"viewBox","0 0 22 16")},m(c,_){e.insert(c,t,_),e.append(t,n),e.append(n,l),e.append(l,s),e.append(t,i),e.append(i,r),e.append(i,m),e.append(i,d),p||(u=e.listen(t,"click",a[66]),p=!0)},p:e.noop,d(c){c&&e.detach(t),p=!1,u()}}}function nt(a){let t,n,l,s,i,r,m,d;function p(_,h){return _[8]==="gmcore"?ca:oa}let u=p(a),c=u(a);return{c(){t=e.element("div"),n=e.space(),l=e.element("div"),s=e.element("div"),i=e.element("div"),i.innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',r=e.space(),c.c(),e.attr(t,"class","ShortCashierWindow"),e.attr(i,"class","ClosePopUpButtonShortCashier"),e.attr(s,"class","ShortCashierContainerMobile"),e.attr(l,"class","ShortCashierContainerWrapperMobile")},m(_,h){e.insert(_,t,h),e.insert(_,n,h),e.insert(_,l,h),e.append(l,s),e.append(s,i),e.append(s,r),c.m(s,null),m||(d=[e.listen(t,"click",a[69]),e.listen(i,"click",a[70])],m=!0)},p(_,h){u===(u=p(_))&&c?c.p(_,h):(c.d(1),c=u(_),c&&(c.c(),c.m(s,null)))},d(_){_&&(e.detach(t),e.detach(n),e.detach(l)),c.d(),m=!1,e.run_all(d)}}}function oa(a){let t,n,l,s,i,r,m,d,p;return{c(){t=e.element("user-deposit-withdrawal"),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"mb-source",a[27]),e.set_custom_element_data(t,"type","deposit"),e.set_custom_element_data(t,"channel","Mobile"),e.set_custom_element_data(t,"language",a[3]),e.set_custom_element_data(t,"is-short-cashier",a[15]),e.set_custom_element_data(t,"product-type",a[16]),e.set_custom_element_data(t,"user-id",a[1]),e.set_custom_element_data(t,"session",a[0]),e.set_custom_element_data(t,"success-url",n="https://"+window.location.hostname+"/"+a[3]+a[17]),e.set_custom_element_data(t,"cancel-url",l="https://"+window.location.hostname+"/"+a[3]+a[19]),e.set_custom_element_data(t,"fail-url",s="https://"+window.location.hostname+"/"+a[3]+a[18]),e.set_custom_element_data(t,"sports-url",i="https://"+window.location.hostname+"/"+a[3]+a[20]),e.set_custom_element_data(t,"casino-url",r="https://"+window.location.hostname+"/"+a[3]+a[21]),e.set_custom_element_data(t,"contact-url",m="https://"+window.location.hostname+"/"+a[3]+a[22]),e.set_custom_element_data(t,"home-url",d="https://"+window.location.hostname+"/"+a[3]+a[23]),e.set_custom_element_data(t,"deposit-url",p="https://"+window.location.hostname+"/"+a[3]+a[24]),e.set_custom_element_data(t,"client-styling",a[28]),e.set_custom_element_data(t,"client-styling-url",a[29])},m(u,c){e.insert(u,t,c)},p(u,c){c[0]&4&&e.set_custom_element_data(t,"endpoint",u[2]),c[0]&134217728&&e.set_custom_element_data(t,"mb-source",u[27]),c[0]&8&&e.set_custom_element_data(t,"language",u[3]),c[0]&32768&&e.set_custom_element_data(t,"is-short-cashier",u[15]),c[0]&65536&&e.set_custom_element_data(t,"product-type",u[16]),c[0]&2&&e.set_custom_element_data(t,"user-id",u[1]),c[0]&1&&e.set_custom_element_data(t,"session",u[0]),c[0]&131080&&n!==(n="https://"+window.location.hostname+"/"+u[3]+u[17])&&e.set_custom_element_data(t,"success-url",n),c[0]&524296&&l!==(l="https://"+window.location.hostname+"/"+u[3]+u[19])&&e.set_custom_element_data(t,"cancel-url",l),c[0]&262152&&s!==(s="https://"+window.location.hostname+"/"+u[3]+u[18])&&e.set_custom_element_data(t,"fail-url",s),c[0]&1048584&&i!==(i="https://"+window.location.hostname+"/"+u[3]+u[20])&&e.set_custom_element_data(t,"sports-url",i),c[0]&2097160&&r!==(r="https://"+window.location.hostname+"/"+u[3]+u[21])&&e.set_custom_element_data(t,"casino-url",r),c[0]&4194312&&m!==(m="https://"+window.location.hostname+"/"+u[3]+u[22])&&e.set_custom_element_data(t,"contact-url",m),c[0]&8388616&&d!==(d="https://"+window.location.hostname+"/"+u[3]+u[23])&&e.set_custom_element_data(t,"home-url",d),c[0]&16777224&&p!==(p="https://"+window.location.hostname+"/"+u[3]+u[24])&&e.set_custom_element_data(t,"deposit-url",p),c[0]&268435456&&e.set_custom_element_data(t,"client-styling",u[28]),c[0]&536870912&&e.set_custom_element_data(t,"client-styling-url",u[29])},d(u){u&&e.detach(t)}}}function ca(a){let t;return{c(){t=e.element("player-deposit"),e.set_custom_element_data(t,"endpoint",a[2]),e.set_custom_element_data(t,"session",a[0]),e.set_custom_element_data(t,"mbsource",a[27]),e.set_custom_element_data(t,"playerid",a[1]),e.set_custom_element_data(t,"lang",a[3]),e.set_custom_element_data(t,"hasdefaultamount",a[12]),e.set_custom_element_data(t,"playercurrency",a[13]),e.set_custom_element_data(t,"shortcashierenabled",a[15]),e.set_custom_element_data(t,"clientstyling",a[28]),e.set_custom_element_data(t,"clientstylingurl",a[29])},m(n,l){e.insert(n,t,l)},p(n,l){l[0]&4&&e.set_custom_element_data(t,"endpoint",n[2]),l[0]&1&&e.set_custom_element_data(t,"session",n[0]),l[0]&134217728&&e.set_custom_element_data(t,"mbsource",n[27]),l[0]&2&&e.set_custom_element_data(t,"playerid",n[1]),l[0]&8&&e.set_custom_element_data(t,"lang",n[3]),l[0]&4096&&e.set_custom_element_data(t,"hasdefaultamount",n[12]),l[0]&8192&&e.set_custom_element_data(t,"playercurrency",n[13]),l[0]&32768&&e.set_custom_element_data(t,"shortcashierenabled",n[15]),l[0]&268435456&&e.set_custom_element_data(t,"clientstyling",n[28]),l[0]&536870912&&e.set_custom_element_data(t,"clientstylingurl",n[29])},d(n){n&&e.detach(t)}}}function ua(a){let t,n;function l(r,m){return r[45]?$t:r[44]?xt:Kt}let s=l(a),i=s(a);return{c(){i.c(),t=e.space(),n=e.element("casino-hamburger-menu"),e.set_custom_element_data(n,"menuitemsurl",a[42]),e.set_custom_element_data(n,"mbsource",a[27]),e.set_custom_element_data(n,"activecategory",a[5]),e.set_custom_element_data(n,"lang",a[3]),e.set_custom_element_data(n,"countryflaghamburger",a[11]),e.set_custom_element_data(n,"customlocaleidentifier",a[7]),e.set_custom_element_data(n,"languageslist",a[4]),e.set_custom_element_data(n,"clientstyling",a[28]),e.set_custom_element_data(n,"clientstylingurl",a[29])},m(r,m){i.m(r,m),e.insert(r,t,m),e.insert(r,n,m)},p(r,m){s===(s=l(r))&&i?i.p(r,m):(i.d(1),i=s(r),i&&(i.c(),i.m(t.parentNode,t))),m[1]&2048&&e.set_custom_element_data(n,"menuitemsurl",r[42]),m[0]&134217728&&e.set_custom_element_data(n,"mbsource",r[27]),m[0]&32&&e.set_custom_element_data(n,"activecategory",r[5]),m[0]&8&&e.set_custom_element_data(n,"lang",r[3]),m[0]&2048&&e.set_custom_element_data(n,"countryflaghamburger",r[11]),m[0]&128&&e.set_custom_element_data(n,"customlocaleidentifier",r[7]),m[0]&16&&e.set_custom_element_data(n,"languageslist",r[4]),m[0]&268435456&&e.set_custom_element_data(n,"clientstyling",r[28]),m[0]&536870912&&e.set_custom_element_data(n,"clientstylingurl",r[29])},i:e.noop,o:e.noop,d(r){r&&(e.detach(t),e.detach(n)),i.d(r)}}}let se="HeaderMenu";function ma(a,t,n){let l,s,i;e.component_subscribe(a,e.$format,o=>n(50,i=o));let{session:r=""}=t,{userid:m=""}=t,{endpoint:d=""}=t,{cmsendpoint:p=""}=t,{cmsenv:u="stage"}=t,{lang:c="en"}=t,{languageslist:_="en, ro"}=t,{activecategory:h=""}=t,{translationurl:b=""}=t,{customlocaleidentifier:H=""}=t,{gmversion:E=""}=t,{countryflagheader:B="false"}=t,{displaybalanceoption:v="All"}=t,{countryflaghamburger:k="false"}=t,{hasdefaultamount:M=""}=t,{playercurrency:O=""}=t,{hideproducttype:R=""}=t,{shortcashierenabled:C=""}=t,{producttype:f=""}=t,{successurl:y=""}=t,{failurl:D=""}=t,{cancelurl:F=""}=t,{sportsurl:g=""}=t,{casinourl:A=""}=t,{contacturl:I=""}=t,{homeurl:Z=""}=t,{depositurl:z=""}=t,{actionevent:w=""}=t,{userroles:S=""}=t,{showsubgroups:P="false"}=t,{mbsource:q=""}=t,{clientstyling:$=""}=t,{clientstylingurl:ee=""}=t,{currencydisplay:we="symbol"}=t,{maximumfractiondigits:be="2"}=t,{minimumfractiondigits:ve="0"}=t,{customdisplayformat:ye=""}=t,{totalcalculationmode:ke="totalCashAmount"}=t,{gamification:Me="false"}=t,{customlogourl:K}=t,{filterbykeyword:J="none"}=t,Fe,Ie,T;Jt({withLocale:"en",translations:{}});const st=()=>{fetch(b).then(N=>N.json()).then(N=>{Object.keys(N).forEach(U=>{Ne(U,N[U])})}).catch(N=>{console.log(N)})};Object.keys(Pe).forEach(o=>{Ne(o,Pe[o])});let ie=[],te=[],re=[],oe=[],j="",Y,G,He,x=!0,Q=!1,ae=!1,Ae=!1,ce=window.navigator.userAgent,ne=!1,V=[],ue=!1,me="",de=!1;const W=o=>{switch(o){case"login":window.postMessage({type:"OpenLoginRegisterModal",transition:"Login"},window.location.href),typeof gtag=="function"&>ag("event","OpenLoginModal",{context:"HeaderController"});break;case"register":window.postMessage({type:"OpenLoginRegisterModal",transition:"Register"},window.location.href),typeof gtag=="function"&>ag("event","OpenRegisterModal",{context:"HeaderController"});break;case"lobby":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"myaccount":window.postMessage({type:"PlayerAccountMenuActive",isMobile:e.isMobile(ce)},window.location.href);break;case"deposit":s?(qt("open_shortcashier",{userid:m}),n(48,de=!0),window.postMessage({type:"DisableScroll"},window.location.href)):window.postMessage({type:"GoToDeposit"},window.location.href),typeof gtag=="function"&>ag("event","GoToDeposit",{context:"HeaderController"});break;case"language":window.postMessage({type:"LanguageChanged",selectedLanguage:j},window.location.href);break}},_e=()=>{n(47,ue=!0),window.postMessage({type:"OpenHamburgerMenuModal"},window.location.href)},Ce=o=>{if(o.data)switch(o.data.type){case"SliderLoaded":se==o.data.identity&&pe();break;case"UserSessionID":o.data.userid,o.data.session,n(45,ne=!0);break;case"CloseHamburgerMenu":window.postMessage({type:"EnableScroll"},window.location.href),o.data.showhamburger&&n(47,ue=!1);break;case"LogoutSuccessfull":n(45,ne=!1);break;case"LanguageChanged":Se(),Re(G);break;case"OpenShortCashier":W("deposit");break;case"CloseShortCashier":X();break;case"RequestHeaderHeight":window.postMessage({type:"HeaderHeight",headerHeight:T.clientHeight},window.location.href);break}},it=()=>{n(45,ne=!0)},X=o=>{n(48,de=!1),window.postMessage({type:"EnableScroll"},window.location.href),o==null||o.stopPropagation()},Se=()=>{G=new URL(`${p}/${j.toLowerCase()}/menu`),n(42,Y=new URL(`${p}/${j.toLowerCase()}/hamburger-menu`)),He=new URL(`${p}/${j.toLowerCase()}/op-options/style`);let o=e.getDevice(ce);G.searchParams.append("env",u),G.searchParams.append("language",j.toLowerCase()),G.searchParams.append("userRoles",S),o&&(o==="PC"?(Y.searchParams.append("device","dk"),G.searchParams.append("device","dk")):(Y.searchParams.append("device","mtWeb"),G.searchParams.append("device","mtWeb"))),Y.searchParams.append("env",u),Y.searchParams.append("language",j.toLowerCase()),Y.searchParams.append("userRoles",S)},rt=()=>{Qt(c)},ot=()=>{n(46,V=_.replace(/ /g,"").split(",")),n(46,V=V.map(o=>o.toUpperCase())),n(41,j=c.toUpperCase()),Se(),dt(He),setTimeout(()=>{Re(G)})},ct=()=>{n(38,Fe=Le(h,ie)),n(39,Ie=Le(h,re))},Le=(o,N)=>{let U=N.find(L=>{if(o.indexOf("/sport")>-1)return L.path.indexOf(o)>-1;if(L.path.includes(o))return!0});return U||(U=N.find(L=>L.path.split("/").indexOf(o.split("/")[1])>-1)),U?U.id:-1},pe=o=>{te.length>0&&window.postMessage({type:"SliderData",identity:se,data:te},window.location.href)},ut=(o,N)=>o.filter(U=>N.includes(U)),Ee=o=>o.split(",").filter(Boolean).map(N=>N.trim()),le=o=>{if(!J||J==="none")return o;const N=Ee(J);return N.length===0?o:o.filter(U=>{const L=Ee(U.keyword||"");return L.length===0?!0:ut(N,L).length>0})},mt=()=>{te=le(ie),n(40,oe=le(re)),pe()},Re=o=>(n(37,x=!0),new Promise((N,U)=>{fetch(o).then(L=>L.json()).then(L=>{ie=L.desktop.primary,te=le(L.desktop.primary),re=L.desktop.secondary,n(40,oe=le(L.desktop.secondary)),n(37,x=!1),N(L)},L=>{n(37,x=!1),console.error(L),U(L)})})),dt=o=>(n(64,Q=!1),new Promise((N,U)=>{fetch(o).then(L=>L.json()).then(L=>{L.logoUrl.length>0&&(L.logoUrl!="null"||L.logoUrl!="false")?(n(65,me=L.logoUrl),n(64,Q=!0)):n(64,Q=!1),N(L)},L=>{n(64,Q=!1),console.error(L),U(L)})})),he=o=>{var N;window.postMessage({type:"NavigateTo",itemId:o.id,item:o,path:o.path,externalLink:o.externalLink||!1,target:((N=o.attrs)==null?void 0:N.target)||null},window.location.href)},fe=o=>{n(41,j=o),n(43,ae=!1),W("language")},ge=()=>{n(43,ae=!ae)},_t=o=>(H&&(o=H.includes(o.toLowerCase())?H.slice(-2):o),o=="EN"?"US":o.toUpperCase());e.onMount(()=>Be(this,null,function*(){return window.addEventListener("message",Ce,!1),e.isMobile(ce)&&n(44,Ae=!0),()=>{window.removeEventListener("message",Ce)}}));const pt=()=>_e(),ht=()=>W("lobby"),ft=()=>W("deposit"),gt=o=>X(o),wt=o=>X(o),bt=()=>W("myaccount");function vt(o){e.binding_callbacks[o?"unshift":"push"](()=>{T=o,n(36,T)})}const yt=()=>W("lobby"),kt=()=>W("deposit"),Mt=o=>X(o),Ft=o=>X(o),It=()=>W("myaccount");function Ht(){j=e.select_value(this),n(41,j),n(46,V)}const At=()=>W("language"),Ct=()=>ge(),St=o=>fe(o),Lt=o=>he(o);function Et(o){e.binding_callbacks[o?"unshift":"push"](()=>{T=o,n(36,T)})}const Rt=()=>_e(),Bt=()=>W("lobby"),Nt=()=>W("login"),Pt=()=>W("register");function Ot(o){e.binding_callbacks[o?"unshift":"push"](()=>{T=o,n(36,T)})}const zt=()=>W("lobby"),Wt=()=>W("login"),Dt=()=>W("register");function Tt(){j=e.select_value(this),n(41,j),n(46,V)}const Ut=()=>W("language"),jt=()=>ge(),Zt=o=>fe(o),Gt=o=>he(o);function Yt(o){e.binding_callbacks[o?"unshift":"push"](()=>{T=o,n(36,T)})}return a.$$set=o=>{"session"in o&&n(0,r=o.session),"userid"in o&&n(1,m=o.userid),"endpoint"in o&&n(2,d=o.endpoint),"cmsendpoint"in o&&n(59,p=o.cmsendpoint),"cmsenv"in o&&n(60,u=o.cmsenv),"lang"in o&&n(3,c=o.lang),"languageslist"in o&&n(4,_=o.languageslist),"activecategory"in o&&n(5,h=o.activecategory),"translationurl"in o&&n(6,b=o.translationurl),"customlocaleidentifier"in o&&n(7,H=o.customlocaleidentifier),"gmversion"in o&&n(8,E=o.gmversion),"countryflagheader"in o&&n(9,B=o.countryflagheader),"displaybalanceoption"in o&&n(10,v=o.displaybalanceoption),"countryflaghamburger"in o&&n(11,k=o.countryflaghamburger),"hasdefaultamount"in o&&n(12,M=o.hasdefaultamount),"playercurrency"in o&&n(13,O=o.playercurrency),"hideproducttype"in o&&n(14,R=o.hideproducttype),"shortcashierenabled"in o&&n(15,C=o.shortcashierenabled),"producttype"in o&&n(16,f=o.producttype),"successurl"in o&&n(17,y=o.successurl),"failurl"in o&&n(18,D=o.failurl),"cancelurl"in o&&n(19,F=o.cancelurl),"sportsurl"in o&&n(20,g=o.sportsurl),"casinourl"in o&&n(21,A=o.casinourl),"contacturl"in o&&n(22,I=o.contacturl),"homeurl"in o&&n(23,Z=o.homeurl),"depositurl"in o&&n(24,z=o.depositurl),"actionevent"in o&&n(25,w=o.actionevent),"userroles"in o&&n(61,S=o.userroles),"showsubgroups"in o&&n(26,P=o.showsubgroups),"mbsource"in o&&n(27,q=o.mbsource),"clientstyling"in o&&n(28,$=o.clientstyling),"clientstylingurl"in o&&n(29,ee=o.clientstylingurl),"currencydisplay"in o&&n(30,we=o.currencydisplay),"maximumfractiondigits"in o&&n(31,be=o.maximumfractiondigits),"minimumfractiondigits"in o&&n(32,ve=o.minimumfractiondigits),"customdisplayformat"in o&&n(33,ye=o.customdisplayformat),"totalcalculationmode"in o&&n(34,ke=o.totalcalculationmode),"gamification"in o&&n(35,Me=o.gamification),"customlogourl"in o&&n(62,K=o.customlogourl),"filterbykeyword"in o&&n(63,J=o.filterbykeyword)},a.$$.update=()=>{a.$$.dirty[2]&2&&J&&mt(),a.$$.dirty[2]&13&&n(49,l=Q?K!=null?K:me:Vt),a.$$.dirty[0]&32|a.$$.dirty[1]&64&&h&&!x&&ct(),a.$$.dirty[0]&1&&r&&it(),a.$$.dirty[0]&32768&&(s=C.toLocaleLowerCase()==="true"),a.$$.dirty[0]&8&&c&&rt(),a.$$.dirty[0]&24|a.$$.dirty[1]&1342177280&&p&&c&&_&&S&&ot(),a.$$.dirty[0]&64&&b&&st(),a.$$.dirty[0]&268435456|a.$$.dirty[1]&32&&$&&T&&e.setClientStyling(T,$),a.$$.dirty[0]&536870912|a.$$.dirty[1]&32&&ee&&T&&e.setClientStylingURL(T,ee),a.$$.dirty[0]&134217728|a.$$.dirty[1]&32&&T&&e.setStreamStyling(T,`${q}.Style`)},[r,m,d,c,_,h,b,H,E,B,v,k,M,O,R,C,f,y,D,F,g,A,I,Z,z,w,P,q,$,ee,we,be,ve,ye,ke,Me,T,x,Fe,Ie,oe,j,Y,ae,Ae,ne,V,ue,de,l,i,W,_e,X,pe,he,fe,ge,_t,p,u,S,K,J,Q,me,pt,ht,ft,gt,wt,bt,vt,yt,kt,Mt,Ft,It,Ht,At,Ct,St,Lt,Et,Rt,Bt,Nt,Pt,Ot,zt,Wt,Dt,Tt,Ut,jt,Zt,Gt,Yt]}class lt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ma,ua,e.safe_not_equal,{session:0,userid:1,endpoint:2,cmsendpoint:59,cmsenv:60,lang:3,languageslist:4,activecategory:5,translationurl:6,customlocaleidentifier:7,gmversion:8,countryflagheader:9,displaybalanceoption:10,countryflaghamburger:11,hasdefaultamount:12,playercurrency:13,hideproducttype:14,shortcashierenabled:15,producttype:16,successurl:17,failurl:18,cancelurl:19,sportsurl:20,casinourl:21,contacturl:22,homeurl:23,depositurl:24,actionevent:25,userroles:61,showsubgroups:26,mbsource:27,clientstyling:28,clientstylingurl:29,currencydisplay:30,maximumfractiondigits:31,minimumfractiondigits:32,customdisplayformat:33,totalcalculationmode:34,gamification:35,customlogourl:62,filterbykeyword:63},Xt,[-1,-1,-1,-1,-1])}get session(){return this.$$.ctx[0]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get endpoint(){return this.$$.ctx[2]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[59]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get cmsenv(){return this.$$.ctx[60]}set cmsenv(t){this.$$set({cmsenv:t}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(t){this.$$set({lang:t}),e.flush()}get languageslist(){return this.$$.ctx[4]}set languageslist(t){this.$$set({languageslist:t}),e.flush()}get activecategory(){return this.$$.ctx[5]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get customlocaleidentifier(){return this.$$.ctx[7]}set customlocaleidentifier(t){this.$$set({customlocaleidentifier:t}),e.flush()}get gmversion(){return this.$$.ctx[8]}set gmversion(t){this.$$set({gmversion:t}),e.flush()}get countryflagheader(){return this.$$.ctx[9]}set countryflagheader(t){this.$$set({countryflagheader:t}),e.flush()}get displaybalanceoption(){return this.$$.ctx[10]}set displaybalanceoption(t){this.$$set({displaybalanceoption:t}),e.flush()}get countryflaghamburger(){return this.$$.ctx[11]}set countryflaghamburger(t){this.$$set({countryflaghamburger:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get playercurrency(){return this.$$.ctx[13]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get hideproducttype(){return this.$$.ctx[14]}set hideproducttype(t){this.$$set({hideproducttype:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[15]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}get producttype(){return this.$$.ctx[16]}set producttype(t){this.$$set({producttype:t}),e.flush()}get successurl(){return this.$$.ctx[17]}set successurl(t){this.$$set({successurl:t}),e.flush()}get failurl(){return this.$$.ctx[18]}set failurl(t){this.$$set({failurl:t}),e.flush()}get cancelurl(){return this.$$.ctx[19]}set cancelurl(t){this.$$set({cancelurl:t}),e.flush()}get sportsurl(){return this.$$.ctx[20]}set sportsurl(t){this.$$set({sportsurl:t}),e.flush()}get casinourl(){return this.$$.ctx[21]}set casinourl(t){this.$$set({casinourl:t}),e.flush()}get contacturl(){return this.$$.ctx[22]}set contacturl(t){this.$$set({contacturl:t}),e.flush()}get homeurl(){return this.$$.ctx[23]}set homeurl(t){this.$$set({homeurl:t}),e.flush()}get depositurl(){return this.$$.ctx[24]}set depositurl(t){this.$$set({depositurl:t}),e.flush()}get actionevent(){return this.$$.ctx[25]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get userroles(){return this.$$.ctx[61]}set userroles(t){this.$$set({userroles:t}),e.flush()}get showsubgroups(){return this.$$.ctx[26]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get mbsource(){return this.$$.ctx[27]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get currencydisplay(){return this.$$.ctx[30]}set currencydisplay(t){this.$$set({currencydisplay:t}),e.flush()}get maximumfractiondigits(){return this.$$.ctx[31]}set maximumfractiondigits(t){this.$$set({maximumfractiondigits:t}),e.flush()}get minimumfractiondigits(){return this.$$.ctx[32]}set minimumfractiondigits(t){this.$$set({minimumfractiondigits:t}),e.flush()}get customdisplayformat(){return this.$$.ctx[33]}set customdisplayformat(t){this.$$set({customdisplayformat:t}),e.flush()}get totalcalculationmode(){return this.$$.ctx[34]}set totalcalculationmode(t){this.$$set({totalcalculationmode:t}),e.flush()}get gamification(){return this.$$.ctx[35]}set gamification(t){this.$$set({gamification:t}),e.flush()}get customlogourl(){return this.$$.ctx[62]}set customlogourl(t){this.$$set({customlogourl:t}),e.flush()}get filterbykeyword(){return this.$$.ctx[63]}set filterbykeyword(t){this.$$set({filterbykeyword:t}),e.flush()}}e.create_custom_element(lt,{session:{},userid:{},endpoint:{},cmsendpoint:{},cmsenv:{},lang:{},languageslist:{},activecategory:{},translationurl:{},customlocaleidentifier:{},gmversion:{},countryflagheader:{},displaybalanceoption:{},countryflaghamburger:{},hasdefaultamount:{},playercurrency:{},hideproducttype:{},shortcashierenabled:{},producttype:{},successurl:{},failurl:{},cancelurl:{},sportsurl:{},casinourl:{},contacturl:{},homeurl:{},depositurl:{},actionevent:{},userroles:{},showsubgroups:{},mbsource:{},clientstyling:{},clientstylingurl:{},currencydisplay:{},maximumfractiondigits:{},minimumfractiondigits:{},customdisplayformat:{},totalcalculationmode:{},gamification:{},customlogourl:{},filterbykeyword:{}},[],[],!0);exports.default=lt;
|
package/components/{CasinoHeaderController-DQYWxcJP.js → CasinoHeaderController-DzC9IzmD.js}
RENAMED
|
@@ -15,7 +15,7 @@ var et = (t, e, i) => new Promise((n, s) => {
|
|
|
15
15
|
f((i = i.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import { $ as Oe, a as pi, b as _i, S as wi, i as bi, f as H, s as yi, c as vi, d as ki, n as De, e as E, g as l, h as R, j as A, k as p, l as Fi, o as Mi, m as tt, p as ye, q as it, r as We, t as se, u as q, v as u, w as $, x as m, y as W, z as J, A as K, B as ie, C as de, D as Ii, E as At, F as ve, G as Ct, H as ke, I as Hi, J as Ai, K as Ci, L as Si } from "./CasinoHamburgerMenu-BXmoYELH.js";
|
|
18
|
-
import "../stencil/user-deposit-withdrawal-
|
|
18
|
+
import "../stencil/user-deposit-withdrawal-Bq9cnb5r.js";
|
|
19
19
|
import "../stencil/gamification-dropdown-0FYjENuC.js";
|
|
20
20
|
const Li = (t, e = {}) => {
|
|
21
21
|
const i = new CustomEvent("track-custom-event", {
|
|
@@ -2538,7 +2538,7 @@ let Fe = "HeaderMenu";
|
|
|
2538
2538
|
function Xi(t, e, i) {
|
|
2539
2539
|
let n, s, a;
|
|
2540
2540
|
Fi(t, Hi, (o) => i(50, a = o));
|
|
2541
|
-
let { session: r = "" } = e, { userid: f = "" } = e, { endpoint: h = "" } = e, { cmsendpoint: _ = "" } = e, { cmsenv: d = "stage" } = e, { lang: c = "en" } = e, { languageslist: g = "en, ro" } = e, { activecategory: w = "" } = e, { translationurl: k = "" } = e, { customlocaleidentifier: B = "" } = e, { gmversion: P = "" } = e, { countryflagheader: U = "false" } = e, { displaybalanceoption: F = "All" } = e, { countryflaghamburger: I = "false" } = e, { hasdefaultamount: C = "" } = e, { playercurrency: G = "" } = e, { hideproducttype: T = "" } = e, { shortcashierenabled: z = "" } = e, { producttype: b = "" } = e, { successurl: M = "" } = e, { failurl: V = "" } = e, { cancelurl: S = "" } = e, { sportsurl: y = "" } = e, { casinourl: N = "" } = e, { contacturl: L = "" } = e, { homeurl: te = "" } = e, { depositurl: Y = "" } = e, { actionevent: v = "" } = e, { userroles: O = "" } = e, { showsubgroups: Z = "false" } = e, { mbsource: ae = "" } = e, { clientstyling: he = "" } = e, { clientstylingurl: ge = "" } = e, { currencydisplay: Pe = "symbol" } = e, { maximumfractiondigits: Te = "2" } = e, { minimumfractiondigits: Ue = "0" } = e, { customdisplayformat: je = "" } = e, { totalcalculationmode: Ze = "totalCashAmount" } = e, { gamification: Ge = "false" } = e, { customlogourl: me
|
|
2541
|
+
let { session: r = "" } = e, { userid: f = "" } = e, { endpoint: h = "" } = e, { cmsendpoint: _ = "" } = e, { cmsenv: d = "stage" } = e, { lang: c = "en" } = e, { languageslist: g = "en, ro" } = e, { activecategory: w = "" } = e, { translationurl: k = "" } = e, { customlocaleidentifier: B = "" } = e, { gmversion: P = "" } = e, { countryflagheader: U = "false" } = e, { displaybalanceoption: F = "All" } = e, { countryflaghamburger: I = "false" } = e, { hasdefaultamount: C = "" } = e, { playercurrency: G = "" } = e, { hideproducttype: T = "" } = e, { shortcashierenabled: z = "" } = e, { producttype: b = "" } = e, { successurl: M = "" } = e, { failurl: V = "" } = e, { cancelurl: S = "" } = e, { sportsurl: y = "" } = e, { casinourl: N = "" } = e, { contacturl: L = "" } = e, { homeurl: te = "" } = e, { depositurl: Y = "" } = e, { actionevent: v = "" } = e, { userroles: O = "" } = e, { showsubgroups: Z = "false" } = e, { mbsource: ae = "" } = e, { clientstyling: he = "" } = e, { clientstylingurl: ge = "" } = e, { currencydisplay: Pe = "symbol" } = e, { maximumfractiondigits: Te = "2" } = e, { minimumfractiondigits: Ue = "0" } = e, { customdisplayformat: je = "" } = e, { totalcalculationmode: Ze = "totalCashAmount" } = e, { gamification: Ge = "false" } = e, { customlogourl: me } = e, { filterbykeyword: re = "none" } = e, Ye, Je, X;
|
|
2542
2542
|
Ei({ withLocale: "en", translations: {} });
|
|
2543
2543
|
const St = () => {
|
|
2544
2544
|
fetch(k).then((j) => j.json()).then((j) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderController-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoHeaderController-CCIMjU5G.cjs")).then(({default:t})=>{!customElements.get("casino-header-controller")&&customElements.define("casino-header-controller",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoHeaderController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoHeaderController-DzC9IzmD.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("casino-header-controller") && customElements.define("casino-header-controller", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{o(n.next(a))}catch($){r($)}},l=a=>{try{o(n.throw(a))}catch($){r($)}},o=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);o((n=n.apply(e,t)).next())});const ye="user-deposit-withdrawal",me={hydratedSelectorName:"hydrated"};var Se=Object.defineProperty,Ee=(e,t)=>{for(var n in t)Se(e,n,{get:t[n],enumerable:!0})},q=new WeakMap,w=e=>q.get(e),ke=(e,t)=>q.set(t.$lazyInstance$=e,t),we=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],q.set(e,n)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),U=new Map,be=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=U.get(r);if(i)return i[s];{const l=o=>(U.set(r,o),o[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-DKOqW3TI.cjs")).then(l,b)}}return import(`./${r}.entry.js`).then(l=>(U.set(r,l),l[s]),b)},j=new Map,Te="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},S=I.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Pe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),H=!1,X=[],se=[],xe=(e,t)=>n=>{e.push(n),H||(H=!0,h.$flags$&4?R(z):h.raf(z))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){b(n)}e.length=0},z=()=>{Y(X),Y(se),(H=X.length>0)&&h.raf(z)},R=e=>te().then(e),_e=xe(se),J={},Le="http://www.w3.org/2000/svg",Ae="http://www.w3.org/1999/xhtml",je=e=>e!=null,M=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Oe={};Ee(Oe,{err:()=>re,map:()=>Ie,ok:()=>B,unwrap:()=>Ue,unwrapErr:()=>He});var B=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function Ie(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>B(s)):B(n)}if(e.isErr){const n=e.value;return re(n)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},E=(e,t="")=>()=>{},ze=(e,t)=>()=>{},le=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const o=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!M(s))&&(s=String(s)),i&&l?o[o.length-1].$text$+=s:o.push(i?C(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=C(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$},C=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},ae={},Be=e=>e&&e.$tag$===ae,Ce=(e,t)=>e!=null&&!M(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,qe=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},K=new WeakMap,Re=(e,t,n)=>{let s=j.get(e);Pe&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,j.set(e,s)},Me=(e,t,n)=>{var s;const r=ie(t),i=j.get(r);if(e=e.nodeType===11?e:S,i)if(typeof i=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(r)){{o=S.createElement("style"),o.innerHTML=i;const a=(s=h.$nonce$)!=null?s:ne(S);a!=null&&o.setAttribute("nonce",a),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},De=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=E("attachStyles",t.$tagName$),i=Me(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&(n["s-sc"]=i,n.classList.add(i+"-h")),r()},ie=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,n,s,r,i)=>{if(n!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const a=e.classList,$=Z(n),c=Z(s);a.remove(...$.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!$.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(I,o)?t=o.slice(2):t=o[2]+t.slice(3),n||s){const a=t.endsWith(oe);t=t.replace(Fe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=M(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],oe="Capture",Fe=new RegExp(oe+"$"),$e=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||J,i=t.$attrs$||J;for(const l of N(Object.keys(r)))l in i||Q(s,l,r[l],void 0,n,t.$flags$);for(const l of N(Object.keys(i)))Q(s,l,r[l],i[l],n,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,D,y=!1,O=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,o;if(r.$text$!==null)l=r.$elm$=S.createTextNode(r.$text$);else{if(y||(y=r.$tag$==="svg"),l=r.$elm$=S.createElementNS(y?Le:Ae,r.$tag$),y&&r.$tag$==="foreignObject"&&(y=!1),$e(null,r,y),je(L)&&l["s-si"]!==L&&l.classList.add(l["s-si"]=L),r.$children$)for(i=0;i<r.$children$.length;++i)o=O(e,r,i),o&&l.appendChild(o);r.$tag$==="svg"?y=!1:l.tagName==="foreignObject"&&(y=!0)}return l["s-hn"]=D,l},ce=(e,t,n,s,r,i)=>{let l=e,o;for(l.shadowRoot&&l.tagName===D&&(l=l.shadowRoot);r<=i;++r)s[r]&&(o=O(null,n,r),o&&(s[r].$elm$=o,A(l,o,t)))},fe=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;de(r),i&&i.remove()}}},Ge=(e,t,n,s,r=!1)=>{let i=0,l=0,o=0,a=0,$=t.length-1,c=t[0],f=t[$],d=s.length-1,u=s[0],v=s[d],g,m;for(;i<=$&&l<=d;)if(c==null)c=t[++i];else if(f==null)f=t[--$];else if(u==null)u=s[++l];else if(v==null)v=s[--d];else if(_(c,u,r))T(c,u,r),c=t[++i],u=s[++l];else if(_(f,v,r))T(f,v,r),f=t[--$],v=s[--d];else if(_(c,v,r))T(c,v,r),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--d];else if(_(f,u,r))T(f,u,r),A(e,f.$elm$,c.$elm$),f=t[--$],u=s[++l];else{for(o=-1,a=i;a<=$;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){o=a;break}o>=0?(m=t[o],m.$tag$!==u.$tag$?g=O(t&&t[l],n,o):(T(m,u,r),t[o]=void 0,g=m.$elm$),u=s[++l]):(g=O(t&&t[l],n,l),u=s[++l]),g&&A(c.$elm$.parentNode,g,c.$elm$)}i>$?ce(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&fe(t,i,$)},_=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,T=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$tag$,o=t.$text$;o===null?(y=l==="svg"?!0:l==="foreignObject"?!1:y,$e(e,t,y),r!==null&&i!==null?Ge(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ce(s,null,t,i,0,i.length-1)):r!==null&&fe(r,0,r.length-1),y&&l==="svg"&&(y=!1)):e.$text$!==o&&(s.data=o)},de=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(de)},A=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Xe=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,i=e.$vnode$||C(null,null),l=Be(t)?t:le(null,null,t);if(D=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([o,a])=>l.$attrs$[a]=s[o])),n&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=i.$elm$=s.shadowRoot||s,L=s["s-sc"],r.$flags$&1,T(i,l,n)},ue=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ue(e,e.$ancestorComponent$),_e(()=>Ye(e,t))},Ye=(e,t)=>{const n=e.$hostElement$,s=E("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return t&&(i=F(r,"componentWillLoad")),s(),Je(i,()=>Qe(e,r,t))},Je=(e,t)=>Ke(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Qe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=E("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&De(e);const o=E("render",e.$cmpMeta$.$tagName$);Ze(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),o(),i();{const a=(s=r["s-p"])!=null?s:[],$=()=>Ne(e);a.length===0?$():(Promise.all(a).then($),e.$flags$|=4,a.length=0)}}),Ze=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Xe(e,t,s)}catch(r){b(r,e.$hostElement$)}return null},Ne=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=E("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ge(n),F(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||ve()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&R(()=>W(e,!1)),e.$flags$&=-517},ve=e=>{ge(S.documentElement),R(()=>qe(I,"appload",{detail:{namespace:ye}}))},F=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){b(s)}},ge=e=>{var t;return e.classList.add((t=me.hydratedSelectorName)!=null?t:"hydrated")},Ve=(e,t)=>w(e).$instanceValues$.get(t),et=(e,t,n,s)=>{const r=w(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),o=r.$flags$,a=r.$lazyInstance$;n=Ce(n,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!$;if((!(o&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(d=>{try{a[d](n,l,t)}catch(u){b(u,i)}})}(o&18)===2&&W(r,!1)}},he=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,o,{get(){return Ve(this,o)},set($){et(this,o,$,t)},configurable:!0,enumerable:!0})}),n&1){const o=new Map;i.attributeChangedCallback=function(a,$,c){h.jmp(()=>{var f;const d=o.get(a);if(this.hasOwnProperty(d))c=this[d],delete this[d];else{if(i.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const u=w(this),v=u==null?void 0:u.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const g=u.$lazyInstance$,m=(f=t.$watchers$)==null?void 0:f[a];m==null||m.forEach(p=>{g[p]!=null&&g[p].call(g,c,$,a)})}return}}this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,$])=>$[0]&15).map(([a,$])=>{var c;const f=$[1]||a;return o.set(f,a),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([a,f])),f})]))}}return e},tt=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=be(n);if(a&&"then"in a){const c=ze();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,he(r,n,2),r.isProxied=!0);const $=E("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const $=ie(n);if(!j.has($)){const c=E("registerStyles",n.$tagName$);Re($,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>W(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),st=e=>{},nt=e=>{if(!(h.$flags$&1)){const t=w(e),n=t.$cmpMeta$,s=E("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>st());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ue(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),tt(e,t,n)}s()}},V=e=>{F(e,"disconnectedCallback")},rt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=w(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var n;const s=E(),r=[],i=t.exclude||[],l=I.customElements,o=S.head,a=o.querySelector("meta[charset]"),$=S.createElement("style"),c=[];let f,d=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",S.baseURI).href;let u=!1;if(e.map(v=>{v[1].map(g=>{var m;const p={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};p.$flags$&4&&(u=!0),p.$members$=g[2],p.$attrsToReflect$=[],p.$watchers$=(m=g[4])!=null?m:{};const P=p.$tagName$,pe=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,we(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){w(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?c.push(this):h.jmp(()=>nt(this))}disconnectedCallback(){h.jmp(()=>rt(this))}componentOnReady(){return w(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,he(pe,p,1)))})}),r.length>0&&(u&&($.textContent+=ee),$.textContent+=r.sort()+Te,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:ne(S);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,a?a.nextSibling:o.firstChild)}d=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(ve,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.h=le;exports.promiseResolve=te;exports.registerInstance=ke;
|
|
1
|
+
"use strict";var x=(e,t,n)=>new Promise((s,r)=>{var i=a=>{try{o(n.next(a))}catch($){r($)}},l=a=>{try{o(n.throw(a))}catch($){r($)}},o=a=>a.done?s(a.value):Promise.resolve(a.value).then(i,l);o((n=n.apply(e,t)).next())});const ye="user-deposit-withdrawal",me={hydratedSelectorName:"hydrated"};var Se=Object.defineProperty,Ee=(e,t)=>{for(var n in t)Se(e,n,{get:t[n],enumerable:!0})},q=new WeakMap,w=e=>q.get(e),ke=(e,t)=>q.set(t.$lazyInstance$=e,t),we=(e,t)=>{const n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return n.$onReadyPromise$=new Promise(s=>n.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],q.set(e,n)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),U=new Map,be=(e,t,n)=>{const s=e.$tagName$.replace(/-/g,"_"),r=e.$lazyBundleId$;if(!r)return;const i=U.get(r);if(i)return i[s];{const l=o=>(U.set(r,o),o[s]);switch(r){case"user-deposit-withdrawal":return Promise.resolve().then(()=>require("./user-deposit-withdrawal-Wr3WJXT9.cjs")).then(l,b)}}return import(`./${r}.entry.js`).then(l=>(U.set(r,l),l[s]),b)},j=new Map,Te="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",I=typeof window!="undefined"?window:{},S=I.document||{head:{}},h={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,s)=>e.addEventListener(t,n,s),rel:(e,t,n,s)=>e.removeEventListener(t,n,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Pe=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),H=!1,X=[],se=[],xe=(e,t)=>n=>{e.push(n),H||(H=!0,h.$flags$&4?R(z):h.raf(z))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(n){b(n)}e.length=0},z=()=>{Y(X),Y(se),(H=X.length>0)&&h.raf(z)},R=e=>te().then(e),_e=xe(se),J={},Le="http://www.w3.org/2000/svg",Ae="http://www.w3.org/1999/xhtml",je=e=>e!=null,M=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,n,s;return(s=(n=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:n.getAttribute("content"))!=null?s:void 0}var Oe={};Ee(Oe,{err:()=>re,map:()=>Ie,ok:()=>B,unwrap:()=>Ue,unwrapErr:()=>He});var B=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function Ie(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then(s=>B(s)):B(n)}if(e.isErr){const n=e.value;return re(n)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},E=(e,t="")=>()=>{},ze=(e,t)=>()=>{},le=(e,t,...n)=>{let s=null,r=null,i=!1,l=!1;const o=[],a=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?a(s):s!=null&&typeof s!="boolean"&&((i=typeof e!="function"&&!M(s))&&(s=String(s)),i&&l?o[o.length-1].$text$+=s:o.push(i?C(null,s):s),l=i)};if(a(n),t){t.key&&(r=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=C(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=r,$},C=(e,t)=>{const n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return n.$attrs$=null,n.$key$=null,n},ae={},Be=e=>e&&e.$tag$===ae,Ce=(e,t)=>e!=null&&!M(e)?t&4?e==="false"?!1:e===""||!!e:t&1?String(e):e:e,qe=(e,t,n)=>{const s=h.ce(t,n);return e.dispatchEvent(s),s},K=new WeakMap,Re=(e,t,n)=>{let s=j.get(e);Pe&&n?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,j.set(e,s)},Me=(e,t,n)=>{var s;const r=ie(t),i=j.get(r);if(e=e.nodeType===11?e:S,i)if(typeof i=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(r)){{o=S.createElement("style"),o.innerHTML=i;const a=(s=h.$nonce$)!=null?s:ne(S);a!=null&&o.setAttribute("nonce",a),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(r)}}else e.adoptedStyleSheets.includes(i)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,i]);return r},De=e=>{const t=e.$cmpMeta$,n=e.$hostElement$,s=t.$flags$,r=E("attachStyles",t.$tagName$),i=Me(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);s&10&&(n["s-sc"]=i,n.classList.add(i+"-h")),r()},ie=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,n,s,r,i)=>{if(n!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const a=e.classList,$=Z(n),c=Z(s);a.remove(...$.filter(f=>f&&!c.includes(f))),a.add(...c.filter(f=>f&&!$.includes(f)))}else if(t==="style"){for(const a in n)(!s||s[a]==null)&&(a.includes("-")?e.style.removeProperty(a):e.style[a]="");for(const a in s)(!n||s[a]!==n[a])&&(a.includes("-")?e.style.setProperty(a,s[a]):e.style[a]=s[a])}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(I,o)?t=o.slice(2):t=o[2]+t.slice(3),n||s){const a=t.endsWith(oe);t=t.replace(Fe,""),n&&h.rel(e,t,n,a),s&&h.ael(e,t,s,a)}}else{const a=M(s);if((l||a&&s!==null)&&!r)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(n==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||i&4||r)&&!a&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],oe="Capture",Fe=new RegExp(oe+"$"),$e=(e,t,n)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,r=e&&e.$attrs$||J,i=t.$attrs$||J;for(const l of N(Object.keys(r)))l in i||Q(s,l,r[l],void 0,n,t.$flags$);for(const l of N(Object.keys(i)))Q(s,l,r[l],i[l],n,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var L,D,y=!1,O=(e,t,n,s)=>{const r=t.$children$[n];let i=0,l,o;if(r.$text$!==null)l=r.$elm$=S.createTextNode(r.$text$);else{if(y||(y=r.$tag$==="svg"),l=r.$elm$=S.createElementNS(y?Le:Ae,r.$tag$),y&&r.$tag$==="foreignObject"&&(y=!1),$e(null,r,y),je(L)&&l["s-si"]!==L&&l.classList.add(l["s-si"]=L),r.$children$)for(i=0;i<r.$children$.length;++i)o=O(e,r,i),o&&l.appendChild(o);r.$tag$==="svg"?y=!1:l.tagName==="foreignObject"&&(y=!0)}return l["s-hn"]=D,l},ce=(e,t,n,s,r,i)=>{let l=e,o;for(l.shadowRoot&&l.tagName===D&&(l=l.shadowRoot);r<=i;++r)s[r]&&(o=O(null,n,r),o&&(s[r].$elm$=o,A(l,o,t)))},fe=(e,t,n)=>{for(let s=t;s<=n;++s){const r=e[s];if(r){const i=r.$elm$;de(r),i&&i.remove()}}},Ge=(e,t,n,s,r=!1)=>{let i=0,l=0,o=0,a=0,$=t.length-1,c=t[0],f=t[$],d=s.length-1,u=s[0],v=s[d],g,m;for(;i<=$&&l<=d;)if(c==null)c=t[++i];else if(f==null)f=t[--$];else if(u==null)u=s[++l];else if(v==null)v=s[--d];else if(_(c,u,r))T(c,u,r),c=t[++i],u=s[++l];else if(_(f,v,r))T(f,v,r),f=t[--$],v=s[--d];else if(_(c,v,r))T(c,v,r),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++i],v=s[--d];else if(_(f,u,r))T(f,u,r),A(e,f.$elm$,c.$elm$),f=t[--$],u=s[++l];else{for(o=-1,a=i;a<=$;++a)if(t[a]&&t[a].$key$!==null&&t[a].$key$===u.$key$){o=a;break}o>=0?(m=t[o],m.$tag$!==u.$tag$?g=O(t&&t[l],n,o):(T(m,u,r),t[o]=void 0,g=m.$elm$),u=s[++l]):(g=O(t&&t[l],n,l),u=s[++l]),g&&A(c.$elm$.parentNode,g,c.$elm$)}i>$?ce(e,s[d+1]==null?null:s[d+1].$elm$,n,s,l,d):l>d&&fe(t,i,$)},_=(e,t,n=!1)=>e.$tag$===t.$tag$?n?!0:e.$key$===t.$key$:!1,T=(e,t,n=!1)=>{const s=t.$elm$=e.$elm$,r=e.$children$,i=t.$children$,l=t.$tag$,o=t.$text$;o===null?(y=l==="svg"?!0:l==="foreignObject"?!1:y,$e(e,t,y),r!==null&&i!==null?Ge(s,r,t,i,n):i!==null?(e.$text$!==null&&(s.textContent=""),ce(s,null,t,i,0,i.length-1)):r!==null&&fe(r,0,r.length-1),y&&l==="svg"&&(y=!1)):e.$text$!==o&&(s.data=o)},de=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(de)},A=(e,t,n)=>e==null?void 0:e.insertBefore(t,n),Xe=(e,t,n=!1)=>{const s=e.$hostElement$,r=e.$cmpMeta$,i=e.$vnode$||C(null,null),l=Be(t)?t:le(null,null,t);if(D=s.tagName,r.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},r.$attrsToReflect$.map(([o,a])=>l.$attrs$[a]=s[o])),n&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=i.$elm$=s.shadowRoot||s,L=s["s-sc"],r.$flags$&1,T(i,l,n)},ue=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(n=>e.$onRenderResolve$=n))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ue(e,e.$ancestorComponent$),_e(()=>Ye(e,t))},Ye=(e,t)=>{const n=e.$hostElement$,s=E("scheduleUpdate",e.$cmpMeta$.$tagName$),r=e.$lazyInstance$;if(!r)throw new Error(`Can't render component <${n.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let i;return t&&(i=F(r,"componentWillLoad")),s(),Je(i,()=>Qe(e,r,t))},Je=(e,t)=>Ke(e)?e.then(t).catch(n=>{console.error(n),t()}):t(),Ke=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Qe=(e,t,n)=>x(exports,null,function*(){var s;const r=e.$hostElement$,i=E("update",e.$cmpMeta$.$tagName$),l=r["s-rc"];n&&De(e);const o=E("render",e.$cmpMeta$.$tagName$);Ze(e,t,r,n),l&&(l.map(a=>a()),r["s-rc"]=void 0),o(),i();{const a=(s=r["s-p"])!=null?s:[],$=()=>Ne(e);a.length===0?$():(Promise.all(a).then($),e.$flags$|=4,a.length=0)}}),Ze=(e,t,n,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Xe(e,t,s)}catch(r){b(r,e.$hostElement$)}return null},Ne=e=>{const t=e.$cmpMeta$.$tagName$,n=e.$hostElement$,s=E("postUpdate",t),r=e.$lazyInstance$,i=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ge(n),F(r,"componentDidLoad"),s(),e.$onReadyResolve$(n),i||ve()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&R(()=>W(e,!1)),e.$flags$&=-517},ve=e=>{ge(S.documentElement),R(()=>qe(I,"appload",{detail:{namespace:ye}}))},F=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(s){b(s)}},ge=e=>{var t;return e.classList.add((t=me.hydratedSelectorName)!=null?t:"hydrated")},Ve=(e,t)=>w(e).$instanceValues$.get(t),et=(e,t,n,s)=>{const r=w(e);if(!r)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const i=r.$hostElement$,l=r.$instanceValues$.get(t),o=r.$flags$,a=r.$lazyInstance$;n=Ce(n,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(n),c=n!==l&&!$;if((!(o&8)||l===void 0)&&c&&(r.$instanceValues$.set(t,n),a)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(d=>{try{a[d](n,l,t)}catch(u){b(u,i)}})}(o&18)===2&&W(r,!1)}},he=(e,t,n)=>{var s,r;const i=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[a]])=>{(a&31||n&2&&a&32)&&Object.defineProperty(i,o,{get(){return Ve(this,o)},set($){et(this,o,$,t)},configurable:!0,enumerable:!0})}),n&1){const o=new Map;i.attributeChangedCallback=function(a,$,c){h.jmp(()=>{var f;const d=o.get(a);if(this.hasOwnProperty(d))c=this[d],delete this[d];else{if(i.hasOwnProperty(d)&&typeof this[d]=="number"&&this[d]==c)return;if(d==null){const u=w(this),v=u==null?void 0:u.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const g=u.$lazyInstance$,m=(f=t.$watchers$)==null?void 0:f[a];m==null||m.forEach(p=>{g[p]!=null&&g[p].call(g,c,$,a)})}return}}this[d]=c===null&&typeof this[d]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((r=t.$watchers$)!=null?r:{}),...l.filter(([a,$])=>$[0]&15).map(([a,$])=>{var c;const f=$[1]||a;return o.set(f,a),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([a,f])),f})]))}}return e},tt=(e,t,n,s)=>x(exports,null,function*(){let r;if(!(t.$flags$&32)){if(t.$flags$|=32,n.$lazyBundleId$){const a=be(n);if(a&&"then"in a){const c=ze();r=yield a,c()}else r=a;if(!r)throw new Error(`Constructor for "${n.$tagName$}#${t.$modeName$}" was not found`);r.isProxied||(n.$watchers$=r.watchers,he(r,n,2),r.isProxied=!0);const $=E("createInstance",n.$tagName$);t.$flags$|=8;try{new r(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$()}else{r=e.constructor;const a=e.localName;customElements.whenDefined(a).then(()=>t.$flags$|=128)}if(r&&r.style){let a;typeof r.style=="string"&&(a=r.style);const $=ie(n);if(!j.has($)){const c=E("registerStyles",n.$tagName$);Re($,a,!!(n.$flags$&1)),c()}}}const i=t.$ancestorComponent$,l=()=>W(t,!0);i&&i["s-rc"]?i["s-rc"].push(l):l()}),st=e=>{},nt=e=>{if(!(h.$flags$&1)){const t=w(e),n=t.$cmpMeta$,s=E("connectedCallback",n.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$||t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>st());else{t.$flags$|=1;{let r=e;for(;r=r.parentNode||r.host;)if(r["s-p"]){ue(t,t.$ancestorComponent$=r);break}}n.$members$&&Object.entries(n.$members$).map(([r,[i]])=>{if(i&31&&e.hasOwnProperty(r)){const l=e[r];delete e[r],e[r]=l}}),tt(e,t,n)}s()}},V=e=>{F(e,"disconnectedCallback")},rt=e=>x(exports,null,function*(){if(!(h.$flags$&1)){const t=w(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var n;const s=E(),r=[],i=t.exclude||[],l=I.customElements,o=S.head,a=o.querySelector("meta[charset]"),$=S.createElement("style"),c=[];let f,d=!0;Object.assign(h,t),h.$resourcesUrl$=new URL(t.resourcesUrl||"./",S.baseURI).href;let u=!1;if(e.map(v=>{v[1].map(g=>{var m;const p={$flags$:g[0],$tagName$:g[1],$members$:g[2],$listeners$:g[3]};p.$flags$&4&&(u=!0),p.$members$=g[2],p.$attrsToReflect$=[],p.$watchers$=(m=g[4])!=null?m:{};const P=p.$tagName$,pe=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,we(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){w(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),d?c.push(this):h.jmp(()=>nt(this))}disconnectedCallback(){h.jmp(()=>rt(this))}componentOnReady(){return w(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!i.includes(P)&&!l.get(P)&&(r.push(P),l.define(P,he(pe,p,1)))})}),r.length>0&&(u&&($.textContent+=ee),$.textContent+=r.sort()+Te,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(n=h.$nonce$)!=null?n:ne(S);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,a?a.nextSibling:o.firstChild)}d=!1,c.length?c.map(v=>v.connectedCallback()):h.jmp(()=>f=setTimeout(ve,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.h=le;exports.promiseResolve=te;exports.registerInstance=ke;
|
|
@@ -2,19 +2,19 @@ var Q = (e, l, o) => new Promise((c, m) => {
|
|
|
2
2
|
var L = (h) => {
|
|
3
3
|
try {
|
|
4
4
|
g(o.next(h));
|
|
5
|
-
} catch (
|
|
6
|
-
m(
|
|
5
|
+
} catch (S) {
|
|
6
|
+
m(S);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, $ = (h) => {
|
|
9
9
|
try {
|
|
10
10
|
g(o.throw(h));
|
|
11
|
-
} catch (
|
|
12
|
-
m(
|
|
11
|
+
} catch (S) {
|
|
12
|
+
m(S);
|
|
13
13
|
}
|
|
14
|
-
}, g = (h) => h.done ? c(h.value) : Promise.resolve(h.value).then(L,
|
|
14
|
+
}, g = (h) => h.done ? c(h.value) : Promise.resolve(h.value).then(L, $);
|
|
15
15
|
g((o = o.apply(e, l)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as se, p as ue, r as de, h as D, H as le } from "./index-1ef3a64c-
|
|
17
|
+
import { b as se, p as ue, r as de, h as D, H as le } from "./index-1ef3a64c-DUGvfHb8.js";
|
|
18
18
|
import { a as ce } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
|
19
19
|
var he = () => {
|
|
20
20
|
const e = import.meta.url, l = {};
|
|
@@ -165,7 +165,7 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
165
165
|
(function(o, c) {
|
|
166
166
|
e.exports = c();
|
|
167
167
|
})(ne, function() {
|
|
168
|
-
var o = 1e3, c = 6e4, m = 36e5, L = "millisecond",
|
|
168
|
+
var o = 1e3, c = 6e4, m = 36e5, L = "millisecond", $ = "second", g = "minute", h = "hour", S = "day", _ = "week", M = "month", N = "quarter", T = "year", z = "date", s = "Invalid Date", U = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, H = /\[([^\]]+)]|Y{1,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, F = { 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("_"), ordinal: function(a) {
|
|
169
169
|
var n = ["th", "st", "nd", "rd"], t = a % 100;
|
|
170
170
|
return "[" + a + (n[(t - 20) % 10] || n[t] || n[0]) + "]";
|
|
171
171
|
} }, W = function(a, n, t) {
|
|
@@ -182,7 +182,7 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
182
182
|
}, a: function(a) {
|
|
183
183
|
return a < 0 ? Math.ceil(a) || 0 : Math.floor(a);
|
|
184
184
|
}, p: function(a) {
|
|
185
|
-
return { M, y: T, w: _, d:
|
|
185
|
+
return { M, y: T, w: _, d: S, D: z, h, m: g, s: $, ms: L, Q: N }[a] || String(a || "").toLowerCase().replace(/s$/, "");
|
|
186
186
|
}, u: function(a) {
|
|
187
187
|
return a === void 0;
|
|
188
188
|
} }, x = "en", k = {};
|
|
@@ -259,7 +259,7 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
259
259
|
}, n.startOf = function(t, i) {
|
|
260
260
|
var r = this, u = !!f.u(i) || i, d = f.p(t), p = function(I, b) {
|
|
261
261
|
var O = f.w(r.$u ? Date.UTC(r.$y, b, I) : new Date(r.$y, b, I), r);
|
|
262
|
-
return u ? O : O.endOf(
|
|
262
|
+
return u ? O : O.endOf(S);
|
|
263
263
|
}, y = function(I, b) {
|
|
264
264
|
return f.w(r.toDate()[I].apply(r.toDate("s"), (u ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(b)), r);
|
|
265
265
|
}, C = this.$W, v = this.$M, E = this.$D, Y = "set" + (this.$u ? "UTC" : "");
|
|
@@ -271,14 +271,14 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
271
271
|
case _:
|
|
272
272
|
var P = this.$locale().weekStart || 0, B = (C < P ? C + 7 : C) - P;
|
|
273
273
|
return p(u ? E - B : E + (6 - B), v);
|
|
274
|
-
case
|
|
274
|
+
case S:
|
|
275
275
|
case z:
|
|
276
276
|
return y(Y + "Hours", 0);
|
|
277
277
|
case h:
|
|
278
278
|
return y(Y + "Minutes", 1);
|
|
279
279
|
case g:
|
|
280
280
|
return y(Y + "Seconds", 2);
|
|
281
|
-
case
|
|
281
|
+
case $:
|
|
282
282
|
return y(Y + "Milliseconds", 3);
|
|
283
283
|
default:
|
|
284
284
|
return this.clone();
|
|
@@ -286,7 +286,7 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
286
286
|
}, n.endOf = function(t) {
|
|
287
287
|
return this.startOf(t, !1);
|
|
288
288
|
}, n.$set = function(t, i) {
|
|
289
|
-
var r, u = f.p(t), d = "set" + (this.$u ? "UTC" : ""), p = (r = {}, r[
|
|
289
|
+
var r, u = f.p(t), d = "set" + (this.$u ? "UTC" : ""), p = (r = {}, r[S] = d + "Date", r[z] = d + "Date", r[M] = d + "Month", r[T] = d + "FullYear", r[h] = d + "Hours", r[g] = d + "Minutes", r[$] = d + "Seconds", r[L] = d + "Milliseconds", r)[u], y = u === S ? this.$D + (i - this.$W) : i;
|
|
290
290
|
if (u === M || u === T) {
|
|
291
291
|
var C = this.clone().set(z, 1);
|
|
292
292
|
C.$d[p](y), C.init(), this.$d = C.set(z, Math.min(this.$D, C.daysInMonth())).$d;
|
|
@@ -308,11 +308,11 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
308
308
|
return this.set(M, this.$M + t);
|
|
309
309
|
if (d === T)
|
|
310
310
|
return this.set(T, this.$y + t);
|
|
311
|
-
if (d ===
|
|
311
|
+
if (d === S)
|
|
312
312
|
return p(1);
|
|
313
313
|
if (d === _)
|
|
314
314
|
return p(7);
|
|
315
|
-
var y = (r = {}, r[g] = c, r[h] = m, r[
|
|
315
|
+
var y = (r = {}, r[g] = c, r[h] = m, r[$] = o, r)[d] || 1, C = this.$d.getTime() + t * y;
|
|
316
316
|
return f.w(C, this);
|
|
317
317
|
}, n.subtract = function(t, i) {
|
|
318
318
|
return this.add(-1 * t, i);
|
|
@@ -402,7 +402,7 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
402
402
|
case _:
|
|
403
403
|
u = (v - C) / 6048e5;
|
|
404
404
|
break;
|
|
405
|
-
case
|
|
405
|
+
case S:
|
|
406
406
|
u = (v - C) / 864e5;
|
|
407
407
|
break;
|
|
408
408
|
case h:
|
|
@@ -411,7 +411,7 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
411
411
|
case g:
|
|
412
412
|
u = v / c;
|
|
413
413
|
break;
|
|
414
|
-
case
|
|
414
|
+
case $:
|
|
415
415
|
u = v / o;
|
|
416
416
|
break;
|
|
417
417
|
default:
|
|
@@ -439,7 +439,7 @@ var ne = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
|
439
439
|
return this.$d.toUTCString();
|
|
440
440
|
}, a;
|
|
441
441
|
}(), X = Z.prototype;
|
|
442
|
-
return w.prototype = X, [["$ms", L], ["$s",
|
|
442
|
+
return w.prototype = X, [["$ms", L], ["$s", $], ["$m", g], ["$H", h], ["$W", S], ["$M", M], ["$y", T], ["$D", z]].forEach(function(a) {
|
|
443
443
|
X[a[1]] = function(n) {
|
|
444
444
|
return this.$g(n, a[0], a[1]);
|
|
445
445
|
};
|
|
@@ -457,20 +457,20 @@ var oe = { exports: {} };
|
|
|
457
457
|
e.exports = c();
|
|
458
458
|
})(ne, function() {
|
|
459
459
|
var o = "minute", c = /[+-]\d\d(?::?\d\d)?/g, m = /([+-]|\d\d)/g;
|
|
460
|
-
return function(L,
|
|
461
|
-
var h =
|
|
460
|
+
return function(L, $, g) {
|
|
461
|
+
var h = $.prototype;
|
|
462
462
|
g.utc = function(s) {
|
|
463
463
|
var U = { date: s, utc: !0, args: arguments };
|
|
464
|
-
return new
|
|
464
|
+
return new $(U);
|
|
465
465
|
}, h.utc = function(s) {
|
|
466
466
|
var U = g(this.toDate(), { locale: this.$L, utc: !0 });
|
|
467
467
|
return s ? U.add(this.utcOffset(), o) : U;
|
|
468
468
|
}, h.local = function() {
|
|
469
469
|
return g(this.toDate(), { locale: this.$L, utc: !1 });
|
|
470
470
|
};
|
|
471
|
-
var
|
|
471
|
+
var S = h.parse;
|
|
472
472
|
h.parse = function(s) {
|
|
473
|
-
s.utc && (this.$u = !0), this.$utils().u(s.$offset) || (this.$offset = s.$offset),
|
|
473
|
+
s.utc && (this.$u = !0), this.$utils().u(s.$offset) || (this.$offset = s.$offset), S.call(this, s);
|
|
474
474
|
};
|
|
475
475
|
var _ = h.init;
|
|
476
476
|
h.init = function() {
|
|
@@ -605,7 +605,7 @@ const we = oe.exports, Ce = `:host {
|
|
|
605
605
|
}
|
|
606
606
|
}`, ve = Ce;
|
|
607
607
|
ae.extend(we);
|
|
608
|
-
const
|
|
608
|
+
const $e = "user-deposit-withdrawal", te = [
|
|
609
609
|
"mm-hcback-to-merchant",
|
|
610
610
|
"mm-hc-back-tomerchant",
|
|
611
611
|
"mm-hc-sports",
|
|
@@ -613,12 +613,12 @@ const Se = "user-deposit-withdrawal", te = [
|
|
|
613
613
|
"mm-hc-contact",
|
|
614
614
|
"mm-wm-hc-init-deposit",
|
|
615
615
|
"mm-wm-hc-init-deposit-quick"
|
|
616
|
-
],
|
|
616
|
+
], Se = () => {
|
|
617
617
|
}, be = class {
|
|
618
618
|
constructor(e) {
|
|
619
619
|
de(this, e), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ge(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
|
|
620
620
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
|
|
621
|
-
}, this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = "", this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect =
|
|
621
|
+
}, this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = "", this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect = Se, this.forwardCashierRedirects = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
|
622
622
|
}
|
|
623
623
|
get typeParameter() {
|
|
624
624
|
if (this.type === "deposit")
|
|
@@ -682,8 +682,8 @@ const Se = "user-deposit-withdrawal", te = [
|
|
|
682
682
|
else {
|
|
683
683
|
let m;
|
|
684
684
|
if (c.ResponseMessage) {
|
|
685
|
-
let
|
|
686
|
-
|
|
685
|
+
let $ = this.errorCodes.find((g) => c.ResponseMessage.includes(g)) || null;
|
|
686
|
+
$ ? m = j(`errorCode${$}`, this.language) : m = j("notFoundErrorCode", this.language);
|
|
687
687
|
} else
|
|
688
688
|
m = this.type === "deposit" ? j("denyDeposit", this.language) : j("denyWithdrawal", this.language);
|
|
689
689
|
const L = { type: "error", message: m };
|
|
@@ -744,7 +744,7 @@ const Se = "user-deposit-withdrawal", te = [
|
|
|
744
744
|
if (!this.forwardCashierRedirects)
|
|
745
745
|
return !1;
|
|
746
746
|
const o = {
|
|
747
|
-
type: `${
|
|
747
|
+
type: `${$e}:${l}`,
|
|
748
748
|
originalType: l,
|
|
749
749
|
payload: e.data,
|
|
750
750
|
origin: e.origin
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as oe, p as se, r as ue, h as
|
|
1
|
+
import { b as oe, p as se, r as ue, h as S, H as de } from "./index-1ef3a64c-CgmdufRM.js";
|
|
2
2
|
import { a as le } from "./app-globals-0f993ce5-B6nNHmA4.js";
|
|
3
3
|
var ce = () => {
|
|
4
4
|
const e = import.meta.url, l = {};
|
|
@@ -239,11 +239,11 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
239
239
|
}, n.valueOf = function() {
|
|
240
240
|
return this.$d.getTime();
|
|
241
241
|
}, n.startOf = function(t, i) {
|
|
242
|
-
var r = this, s = !!h.u(i) || i, u = h.p(t), f = function(P,
|
|
243
|
-
var R = h.w(r.$u ? Date.UTC(r.$y,
|
|
242
|
+
var r = this, s = !!h.u(i) || i, u = h.p(t), f = function(P, $) {
|
|
243
|
+
var R = h.w(r.$u ? Date.UTC(r.$y, $, P) : new Date(r.$y, $, P), r);
|
|
244
244
|
return s ? R : R.endOf(E);
|
|
245
|
-
}, m = function(P,
|
|
246
|
-
return h.w(r.toDate()[P].apply(r.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(
|
|
245
|
+
}, m = function(P, $) {
|
|
246
|
+
return h.w(r.toDate()[P].apply(r.toDate("s"), (s ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), r);
|
|
247
247
|
}, w = this.$W, C = this.$M, W = this.$D, Y = "set" + (this.$u ? "UTC" : "");
|
|
248
248
|
switch (u) {
|
|
249
249
|
case T:
|
|
@@ -302,15 +302,15 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
302
302
|
var i = this, r = this.$locale();
|
|
303
303
|
if (!this.isValid())
|
|
304
304
|
return r.invalidDate || o;
|
|
305
|
-
var s = t || "YYYY-MM-DDTHH:mm:ssZ", u = h.z(this), f = this.$H, m = this.$m, w = this.$M, C = r.weekdays, W = r.months, Y = r.meridiem, F = function(
|
|
306
|
-
return
|
|
307
|
-
}, B = function(
|
|
308
|
-
return h.s(f % 12 || 12,
|
|
309
|
-
}, P = Y || function(
|
|
310
|
-
var J =
|
|
305
|
+
var s = t || "YYYY-MM-DDTHH:mm:ssZ", u = h.z(this), f = this.$H, m = this.$m, w = this.$M, C = r.weekdays, W = r.months, Y = r.meridiem, F = function($, R, V, J) {
|
|
306
|
+
return $ && ($[R] || $(i, s)) || V[R].slice(0, J);
|
|
307
|
+
}, B = function($) {
|
|
308
|
+
return h.s(f % 12 || 12, $, "0");
|
|
309
|
+
}, P = Y || function($, R, V) {
|
|
310
|
+
var J = $ < 12 ? "AM" : "PM";
|
|
311
311
|
return V ? J.toLowerCase() : J;
|
|
312
312
|
};
|
|
313
|
-
return s.replace(j, function(
|
|
313
|
+
return s.replace(j, function($, R) {
|
|
314
314
|
return R || function(V) {
|
|
315
315
|
switch (V) {
|
|
316
316
|
case "YY":
|
|
@@ -363,7 +363,7 @@ var re = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
363
363
|
return u;
|
|
364
364
|
}
|
|
365
365
|
return null;
|
|
366
|
-
}(
|
|
366
|
+
}($) || u.replace(":", "");
|
|
367
367
|
});
|
|
368
368
|
}, n.utcOffset = function() {
|
|
369
369
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
@@ -595,12 +595,12 @@ const ve = "user-deposit-withdrawal", ee = [
|
|
|
595
595
|
"mm-hc-contact",
|
|
596
596
|
"mm-wm-hc-init-deposit",
|
|
597
597
|
"mm-wm-hc-init-deposit-quick"
|
|
598
|
-
],
|
|
599
|
-
},
|
|
598
|
+
], $e = () => {
|
|
599
|
+
}, Se = class {
|
|
600
600
|
constructor(e) {
|
|
601
601
|
ue(this, e), this.bindedHandler = this.handleMessage.bind(this), this.userAgent = window.navigator.userAgent, this.isMobile = ye(this.userAgent), this.errorCodes = ["21123", "21122", "21121"], this.toggleScreen = () => {
|
|
602
602
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: this.isMobile }, window.location.href);
|
|
603
|
-
}, this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = "", this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect =
|
|
603
|
+
}, this.mbSource = void 0, this.clientStyling = "", this.clientStylingUrl = "", this.translationUrl = "", this.endpoint = void 0, this.type = void 0, this.channel = void 0, this.language = void 0, this.productType = "", this.userId = void 0, this.session = void 0, this.successUrl = void 0, this.cancelUrl = void 0, this.failUrl = void 0, this.sportsUrl = void 0, this.casinoUrl = void 0, this.contactUrl = void 0, this.depositUrl = void 0, this.currency = "", this.showBonusSelectionInput = "true", this.isShortCashier = !1, this.homeUrl = void 0, this.beforeRedirect = $e, this.forwardCashierRedirects = !1, this.dynamicHeight = void 0, this.cashierInfoUrl = void 0;
|
|
604
604
|
}
|
|
605
605
|
get typeParameter() {
|
|
606
606
|
if (this.type === "deposit")
|
|
@@ -625,7 +625,7 @@ const ve = "user-deposit-withdrawal", ee = [
|
|
|
625
625
|
window.removeEventListener("message", this.bindedHandler, !1), this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
626
626
|
}
|
|
627
627
|
render() {
|
|
628
|
-
return
|
|
628
|
+
return S(de, { key: "46153b61097691f3a3b2da29aa260edf0688f01c" }, S("div", { key: "0082deaaf9c6348cff4010ec8b1f58e5ea26e99b", ref: (e) => this.stylingContainer = e, class: "" }, S("div", { key: "8aec364ea2134d01c2b29fc75136cad08fd5d965", class: `DepositWithdrawalWrapper ${this.isShortCashier ? "ShortCashier" : ""}` }, !(this.isMobile && !this.isShortCashier) && S("h2", { key: "4b0184e2354199332c8438b4430c047982364dff", class: "CategoryTitle" }, O(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language)), S("div", { key: "49c9dbda82eb6576bc11375371f4359ba0b0285d", style: { marginTop: this.isShortCashier ? "30px" : "0" } }, this.isMobile && !this.isShortCashier ? S("div", { class: "MenuReturnButton", onClick: this.toggleScreen }, S("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, S("defs", null), S("g", { transform: "translate(-20 -158)" }, S("g", { transform: "translate(20 158)" }, S("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), S("h2", { class: "CategoryTitleMobile" }, O(this.typeParameter === "Withdraw" ? "Withdraw" : "Deposit", this.language))) : null), this.cashierInfoUrl ? S("iframe", { width: "100%", allow: "payment", height: this.dynamicHeight, src: this.cashierInfoUrl }) : S("h3", { innerHTML: this.type === "deposit" ? O("denyDeposit", this.language) : O("denyWithdrawal", this.language), class: "ErrorMessage" }))));
|
|
629
629
|
}
|
|
630
630
|
async loadWidget() {
|
|
631
631
|
const e = {
|
|
@@ -746,7 +746,7 @@ const ve = "user-deposit-withdrawal", ee = [
|
|
|
746
746
|
};
|
|
747
747
|
}
|
|
748
748
|
};
|
|
749
|
-
|
|
749
|
+
Se.style = Ce;
|
|
750
750
|
export {
|
|
751
|
-
|
|
751
|
+
Se as user_deposit_withdrawal
|
|
752
752
|
};
|
package/stencil/{user-deposit-withdrawal-DKOqW3TI.cjs → user-deposit-withdrawal-Wr3WJXT9.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var Q=(e,l,a)=>new Promise((c,m)=>{var z=h=>{try{g(a.next(h))}catch($){m($)}},b=h=>{try{g(a.throw(h))}catch($){m($)}},g=h=>h.done?c(h.value):Promise.resolve(h.value).then(z,b);g((a=a.apply(e,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index-1ef3a64c-H7WZQMey.cjs"),de=require("./app-globals-0f993ce5-DgOnOgxM.cjs");var X=typeof document!="undefined"?document.currentScript:null,le=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:X&&X.tagName.toUpperCase()==="SCRIPT"&&X.src||new URL("stencil/user-deposit-withdrawal-DKOqW3TI.cjs",document.baseURI).href,l={};return e!==""&&(l.resourcesUrl=new URL(".",e).href),S.promiseResolve(l)};le().then(e=>Q(exports,null,function*(){return yield de.globalScripts$1(),S.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],forwardCashierRedirects:[516,"forward-cashier-redirects"],dynamicHeight:[32],cashierInfoUrl:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],e)}));const ce="en",he=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],ne={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",errorCode21122:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",errorCode21123:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"}},fe=e=>new Promise(l=>{fetch(e).then(a=>a.json()).then(a=>{Object.keys(a).forEach(c=>{for(let m in a[c])ne[c][m]=a[c][m]}),l(!0)})}),j=(e,l)=>{const a=l;return ne[a!==void 0&&he.includes(a)?a:ce][e]};function ee(e,l){if(e){const a=document.createElement("style");a.innerHTML=l,e.appendChild(a)}}function te(e,l){const a=new URL(l);fetch(a.href).then(c=>c.text()).then(c=>{const m=document.createElement("style");m.innerHTML=c,e&&e.appendChild(m)}).catch(c=>{console.error("There was an error while trying to load client styling from URL",c)})}function pe(e,l,a){if(window.emMessageBus){const c=document.createElement("style");window.emMessageBus.subscribe(l,m=>{c.innerHTML=m,e&&e.appendChild(c)})}}const me=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));var ie=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},oe={exports:{}};(function(e,l){(function(a,c){e.exports=c()})(ie,function(){var a=1e3,c=6e4,m=36e5,z="millisecond",b="second",g="minute",h="hour",$="day",_="week",M="month",V="quarter",E="year",k="date",s="Invalid Date",U=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|Y{1,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,F={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("_"),ordinal:function(o){var n=["th","st","nd","rd"],t=o%100;return"["+o+(n[(t-20)%10]||n[t]||n[0])+"]"}},W=function(o,n,t){var i=String(o);return!i||i.length>=n?o:""+Array(n+1-i.length).join(t)+o},G={s:W,z:function(o){var n=-o.utcOffset(),t=Math.abs(n),i=Math.floor(t/60),r=t%60;return(n<=0?"+":"-")+W(i,2,"0")+":"+W(r,2,"0")},m:function o(n,t){if(n.date()<t.date())return-o(t,n);var i=12*(t.year()-n.year())+(t.month()-n.month()),r=n.clone().add(i,M),u=t-r<0,d=n.clone().add(i+(u?-1:1),M);return+(-(i+(t-r)/(u?r-d:d-r))||0)},a:function(o){return o<0?Math.ceil(o)||0:Math.floor(o)},p:function(o){return{M,y:E,w:_,d:$,D:k,h,m:g,s:b,ms:z,Q:V}[o]||String(o||"").toLowerCase().replace(/s$/,"")},u:function(o){return o===void 0}},L="en",R={};R[L]=F;var q="$isDayjsObject",A=function(o){return o instanceof Z||!(!o||!o[q])},x=function o(n,t,i){var r;if(!n)return L;if(typeof n=="string"){var u=n.toLowerCase();R[u]&&(r=u),t&&(R[u]=t,r=u);var d=n.split("-");if(!r&&d.length>1)return o(d[0])}else{var p=n.name;R[p]=n,r=p}return!i&&r&&(L=r),r||!i&&L},w=function(o,n){if(A(o))return o.clone();var t=typeof n=="object"?n:{};return t.date=o,t.args=arguments,new Z(t)},f=G;f.l=x,f.i=A,f.w=function(o,n){return w(o,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var Z=function(){function o(t){this.$L=x(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[q]=!0}var n=o.prototype;return n.parse=function(t){this.$d=function(i){var r=i.date,u=i.utc;if(r===null)return new Date(NaN);if(f.u(r))return new Date;if(r instanceof Date)return new Date(r);if(typeof r=="string"&&!/Z$/i.test(r)){var d=r.match(U);if(d){var p=d[2]-1||0,y=(d[7]||"0").substring(0,3);return u?new Date(Date.UTC(d[1],p,d[3]||1,d[4]||0,d[5]||0,d[6]||0,y)):new Date(d[1],p,d[3]||1,d[4]||0,d[5]||0,d[6]||0,y)}}return new Date(r)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return f},n.isValid=function(){return this.$d.toString()!==s},n.isSame=function(t,i){var r=w(t);return this.startOf(i)<=r&&r<=this.endOf(i)},n.isAfter=function(t,i){return w(t)<this.startOf(i)},n.isBefore=function(t,i){return this.endOf(i)<w(t)},n.$g=function(t,i,r){return f.u(t)?this[i]:this.set(r,t)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(t,i){var r=this,u=!!f.u(i)||i,d=f.p(t),p=function(I,D){var O=f.w(r.$u?Date.UTC(r.$y,D,I):new Date(r.$y,D,I),r);return u?O:O.endOf($)},y=function(I,D){return f.w(r.toDate()[I].apply(r.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(D)),r)},C=this.$W,v=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(d){case E:return u?p(1,0):p(31,11);case M:return u?p(1,v):p(0,v+1);case _:var P=this.$locale().weekStart||0,B=(C<P?C+7:C)-P;return p(u?T-B:T+(6-B),v);case $:case k:return y(Y+"Hours",0);case h:return y(Y+"Minutes",1);case g:return y(Y+"Seconds",2);case b:return y(Y+"Milliseconds",3);default:return this.clone()}},n.endOf=function(t){return this.startOf(t,!1)},n.$set=function(t,i){var r,u=f.p(t),d="set"+(this.$u?"UTC":""),p=(r={},r[$]=d+"Date",r[k]=d+"Date",r[M]=d+"Month",r[E]=d+"FullYear",r[h]=d+"Hours",r[g]=d+"Minutes",r[b]=d+"Seconds",r[z]=d+"Milliseconds",r)[u],y=u===$?this.$D+(i-this.$W):i;if(u===M||u===E){var C=this.clone().set(k,1);C.$d[p](y),C.init(),this.$d=C.set(k,Math.min(this.$D,C.daysInMonth())).$d}else p&&this.$d[p](y);return this.init(),this},n.set=function(t,i){return this.clone().$set(t,i)},n.get=function(t){return this[f.p(t)]()},n.add=function(t,i){var r,u=this;t=Number(t);var d=f.p(i),p=function(v){var T=w(u);return f.w(T.date(T.date()+Math.round(v*t)),u)};if(d===M)return this.set(M,this.$M+t);if(d===E)return this.set(E,this.$y+t);if(d===$)return p(1);if(d===_)return p(7);var y=(r={},r[g]=c,r[h]=m,r[b]=a,r)[d]||1,C=this.$d.getTime()+t*y;return f.w(C,this)},n.subtract=function(t,i){return this.add(-1*t,i)},n.format=function(t){var i=this,r=this.$locale();if(!this.isValid())return r.invalidDate||s;var u=t||"YYYY-MM-DDTHH:mm:ssZ",d=f.z(this),p=this.$H,y=this.$m,C=this.$M,v=r.weekdays,T=r.months,Y=r.meridiem,P=function(D,O,N,J){return D&&(D[O]||D(i,u))||N[O].slice(0,J)},B=function(D){return f.s(p%12||12,D,"0")},I=Y||function(D,O,N){var J=D<12?"AM":"PM";return N?J.toLowerCase():J};return u.replace(H,function(D,O){return O||function(N){switch(N){case"YY":return String(i.$y).slice(-2);case"YYYY":return f.s(i.$y,4,"0");case"M":return C+1;case"MM":return f.s(C+1,2,"0");case"MMM":return P(r.monthsShort,C,T,3);case"MMMM":return P(T,C);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return P(r.weekdaysMin,i.$W,v,2);case"ddd":return P(r.weekdaysShort,i.$W,v,3);case"dddd":return v[i.$W];case"H":return String(p);case"HH":return f.s(p,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return I(p,y,!0);case"A":return I(p,y,!1);case"m":return String(y);case"mm":return f.s(y,2,"0");case"s":return String(i.$s);case"ss":return f.s(i.$s,2,"0");case"SSS":return f.s(i.$ms,3,"0");case"Z":return d}return null}(D)||d.replace(":","")})},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(t,i,r){var u,d=this,p=f.p(i),y=w(t),C=(y.utcOffset()-this.utcOffset())*c,v=this-y,T=function(){return f.m(d,y)};switch(p){case E:u=T()/12;break;case M:u=T();break;case V:u=T()/3;break;case _:u=(v-C)/6048e5;break;case $:u=(v-C)/864e5;break;case h:u=v/m;break;case g:u=v/c;break;case b:u=v/a;break;default:u=v}return r?u:f.a(u)},n.daysInMonth=function(){return this.endOf(M).$D},n.$locale=function(){return R[this.$L]},n.locale=function(t,i){if(!t)return this.$L;var r=this.clone(),u=x(t,i,!0);return u&&(r.$L=u),r},n.clone=function(){return f.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},o}(),K=Z.prototype;return w.prototype=K,[["$ms",z],["$s",b],["$m",g],["$H",h],["$W",$],["$M",M],["$y",E],["$D",k]].forEach(function(o){K[o[1]]=function(n){return this.$g(n,o[0],o[1])}}),w.extend=function(o,n){return o.$i||(o(n,Z,w),o.$i=!0),w},w.locale=x,w.isDayjs=A,w.unix=function(o){return w(1e3*o)},w.en=R[L],w.Ls=R,w.p={},w})})(oe);const ae=oe.exports;var se={exports:{}};(function(e,l){(function(a,c){e.exports=c()})(ie,function(){var a="minute",c=/[+-]\d\d(?::?\d\d)?/g,m=/([+-]|\d\d)/g;return function(z,b,g){var h=b.prototype;g.utc=function(s){var U={date:s,utc:!0,args:arguments};return new b(U)},h.utc=function(s){var U=g(this.toDate(),{locale:this.$L,utc:!0});return s?U.add(this.utcOffset(),a):U},h.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var $=h.parse;h.parse=function(s){s.utc&&(this.$u=!0),this.$utils().u(s.$offset)||(this.$offset=s.$offset),$.call(this,s)};var _=h.init;h.init=function(){if(this.$u){var s=this.$d;this.$y=s.getUTCFullYear(),this.$M=s.getUTCMonth(),this.$D=s.getUTCDate(),this.$W=s.getUTCDay(),this.$H=s.getUTCHours(),this.$m=s.getUTCMinutes(),this.$s=s.getUTCSeconds(),this.$ms=s.getUTCMilliseconds()}else _.call(this)};var M=h.utcOffset;h.utcOffset=function(s,U){var H=this.$utils().u;if(H(s))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof s=="string"&&(s=function(L){L===void 0&&(L="");var R=L.match(c);if(!R)return null;var q=(""+R[0]).match(m)||["-",0,0],A=q[0],x=60*+q[1]+ +q[2];return x===0?0:A==="+"?x:-x}(s),s===null))return this;var F=Math.abs(s)<=16?60*s:s,W=this;if(U)return W.$offset=F,W.$u=s===0,W;if(s!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+G,a)).$offset=F,W.$x.$localOffset=G}else W=this.utc();return W};var V=h.format;h.format=function(s){var U=s||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return V.call(this,U)},h.valueOf=function(){var s=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*s},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var E=h.toDate;h.toDate=function(s){return s==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():E.call(this)};var k=h.diff;h.diff=function(s,U,H){if(s&&this.$u===s.$u)return k.call(this,s,U,H);var F=this.local(),W=g(s).local();return k.call(F,W,U,H)}}})})(se);const ye=se.exports,ge=`:host {
|
|
1
|
+
"use strict";var Q=(e,l,a)=>new Promise((c,m)=>{var z=h=>{try{g(a.next(h))}catch(b){m(b)}},$=h=>{try{g(a.throw(h))}catch(b){m(b)}},g=h=>h.done?c(h.value):Promise.resolve(h.value).then(z,$);g((a=a.apply(e,l)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const S=require("./index-1ef3a64c-BSWcac5p.cjs"),de=require("./app-globals-0f993ce5-DgOnOgxM.cjs");var X=typeof document!="undefined"?document.currentScript:null,le=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:X&&X.tagName.toUpperCase()==="SCRIPT"&&X.src||new URL("stencil/user-deposit-withdrawal-Wr3WJXT9.cjs",document.baseURI).href,l={};return e!==""&&(l.resourcesUrl=new URL(".",e).href),S.promiseResolve(l)};le().then(e=>Q(exports,null,function*(){return yield de.globalScripts$1(),S.bootstrapLazy([["user-deposit-withdrawal",[[1,"user-deposit-withdrawal",{mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],endpoint:[513],type:[513],channel:[513],language:[513],productType:[513,"product-type"],userId:[513,"user-id"],session:[513],successUrl:[513,"success-url"],cancelUrl:[513,"cancel-url"],failUrl:[513,"fail-url"],sportsUrl:[513,"sports-url"],casinoUrl:[513,"casino-url"],contactUrl:[513,"contact-url"],depositUrl:[513,"deposit-url"],currency:[513],showBonusSelectionInput:[513,"show-bonus-selection-input"],isShortCashier:[516,"is-short-cashier"],homeUrl:[513,"home-url"],beforeRedirect:[16],forwardCashierRedirects:[516,"forward-cashier-redirects"],dynamicHeight:[32],cashierInfoUrl:[32]},null,{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}]]]],e)}));const ce="en",he=["ro","en","fr","hr","en-us","es-mx","pt-br","es","de","pt","tr"],ne={en:{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},"en-us":{Deposit:"Deposit",Withdraw:"Withdraw",denyDeposit:"Please be informed that currently you are not allowed to initiate deposit transactions.",denyWithdrawal:"Please be informed that currently you are not allowed to initiate withdrawal transactions.",notFoundErrorCode:"Not found error code",errorCode21121:"Dear Player! Please be informed that currently you are allowed to initiate only withdrawal transactions from your player account. Error Code: 21121",errorCode21122:"Dear player! Please be informed that currently you are not allowed to initiate withdrawal transaction from your player account. Error Code: 21122",errorCode21123:"Dear player! Please be informed that currently you are not allowed to make a deposit to your player account. Error Code:21123"},ro:{Deposit:"Depunere",Withdraw:"Retragere",denyDeposit:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de depunere.",denyWithdrawal:"Vă informăm că în prezent nu aveți permisiunea de a iniția tranzacții de retragere.",notFoundErrorCode:"Cod de eroare negăsit",errorCode21122:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a iniția o tranzacție de retragere din contul dvs. de jucător. Cod de eroare: 21122",errorCode21123:"Stimate jucător! Vă informăm că în prezent nu aveți permisiunea de a efectua o depunere în contul dvs. de jucător. Cod de eroare: 21123"},fr:{Deposit:"Dépôt",Withdraw:"Retrait",denyDeposit:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de dépôt.",denyWithdrawal:"Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier des transactions de retrait.",notFoundErrorCode:"Code d’erreur introuvable",errorCode21122:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à initier une transaction de retrait depuis votre compte joueur. Code d’erreur : 21122",errorCode21123:"Cher joueur ! Veuillez noter qu’actuellement vous n’êtes pas autorisé à effectuer un dépôt sur votre compte joueur. Code d’erreur : 21123"},hr:{Deposit:"Uplata",Withdraw:"Isplata",denyDeposit:"Obavještavamo Vas da trenutno nemate mogućnost uplata.",denyWithdrawal:"Obavještavamo vas da trenutno niste ovlašteni za pokretanje transakcija isplate.",notFoundErrorCode:"Not found error code",errorCode21122:"Poštovani, trenutno nije moguće izvršiti isplatu sa Vašeg računa. Error Code: 21122",errorCode21123:"Poštovani, trenutno nije moguće izvršiti uplatu na Vaš račun. Error Code:21123"},de:{Deposit:"Einzahlung",Withdraw:"Abhebung",denyDeposit:"Bitte beachten Sie, dass Sie derzeit keine Einzahlungs-Transaktionen durchführen dürfen.",denyWithdrawal:"Bitte beachten Sie, dass Sie derzeit keine Abhebungs-Transaktionen durchführen dürfen.",notFoundErrorCode:"Fehlercode nicht gefunden",errorCode21122:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Abhebung von Ihrem Spielerkonto durchführen dürfen. Fehlercode: 21122",errorCode21123:"Sehr geehrter Spieler! Bitte beachten Sie, dass Sie derzeit keine Einzahlung auf Ihr Spielerkonto durchführen dürfen. Fehlercode: 21123"},es:{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},pt:{Deposit:"Depósito",Withdraw:"Levantamento",denyDeposit:"Informamos que atualmente não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente não tem permissão para iniciar transações de levantamento.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente não tem permissão para iniciar uma transação de levantamento na sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente não tem permissão para realizar um depósito na sua conta de jogador. Código de erro: 21123"},"es-mx":{Deposit:"Depósito",Withdraw:"Retiro",denyDeposit:"Le informamos que actualmente no tiene permitido iniciar transacciones de depósito.",denyWithdrawal:"Le informamos que actualmente no tiene permitido iniciar transacciones de retiro.",notFoundErrorCode:"Código de error no encontrado",errorCode21122:"¡Estimado jugador! Le informamos que actualmente no tiene permitido iniciar una transacción de retiro desde su cuenta de jugador. Código de error: 21122",errorCode21123:"¡Estimado jugador! Le informamos que actualmente no tiene permitido realizar un depósito en su cuenta de jugador. Código de error: 21123"},"pt-br":{Deposit:"Depósito",Withdraw:"Saque",denyDeposit:"Informamos que atualmente você não tem permissão para iniciar transações de depósito.",denyWithdrawal:"Informamos que atualmente você não tem permissão para iniciar transações de saque.",notFoundErrorCode:"Código de erro não encontrado",errorCode21122:"Caro jogador! Informamos que atualmente você não tem permissão para iniciar uma transação de saque em sua conta de jogador. Código de erro: 21122",errorCode21123:"Caro jogador! Informamos que atualmente você não tem permissão para realizar um depósito em sua conta de jogador. Código de erro: 21123"},tr:{Deposit:"Para Yatırma",Withdraw:"Para Çekme",denyDeposit:"Lütfen şu anda para yatırma işlemi başlatamayacağınızı bilgilerinize sunarız.",denyWithdrawal:"Lütfen şu anda para çekme işlemi başlatamayacağınızı bilgilerinize sunarız.",notFoundErrorCode:"Hata kodu bulunamadı",errorCode21122:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınızdan para çekme işlemi başlatamayacağınızı bilgilerinize sunarız. Hata Kodu: 21122",errorCode21123:"Değerli oyuncumuz! Lütfen şu anda oyuncu hesabınıza para yatırma işlemi yapamayacağınızı bilgilerinize sunarız. Hata Kodu: 21123"}},fe=e=>new Promise(l=>{fetch(e).then(a=>a.json()).then(a=>{Object.keys(a).forEach(c=>{for(let m in a[c])ne[c][m]=a[c][m]}),l(!0)})}),j=(e,l)=>{const a=l;return ne[a!==void 0&&he.includes(a)?a:ce][e]};function ee(e,l){if(e){const a=document.createElement("style");a.innerHTML=l,e.appendChild(a)}}function te(e,l){const a=new URL(l);fetch(a.href).then(c=>c.text()).then(c=>{const m=document.createElement("style");m.innerHTML=c,e&&e.appendChild(m)}).catch(c=>{console.error("There was an error while trying to load client styling from URL",c)})}function pe(e,l,a){if(window.emMessageBus){const c=document.createElement("style");window.emMessageBus.subscribe(l,m=>{c.innerHTML=m,e&&e.appendChild(c)})}}const me=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));var ie=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},oe={exports:{}};(function(e,l){(function(a,c){e.exports=c()})(ie,function(){var a=1e3,c=6e4,m=36e5,z="millisecond",$="second",g="minute",h="hour",b="day",_="week",M="month",V="quarter",E="year",k="date",s="Invalid Date",U=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|Y{1,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,F={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("_"),ordinal:function(o){var n=["th","st","nd","rd"],t=o%100;return"["+o+(n[(t-20)%10]||n[t]||n[0])+"]"}},W=function(o,n,t){var i=String(o);return!i||i.length>=n?o:""+Array(n+1-i.length).join(t)+o},G={s:W,z:function(o){var n=-o.utcOffset(),t=Math.abs(n),i=Math.floor(t/60),r=t%60;return(n<=0?"+":"-")+W(i,2,"0")+":"+W(r,2,"0")},m:function o(n,t){if(n.date()<t.date())return-o(t,n);var i=12*(t.year()-n.year())+(t.month()-n.month()),r=n.clone().add(i,M),u=t-r<0,d=n.clone().add(i+(u?-1:1),M);return+(-(i+(t-r)/(u?r-d:d-r))||0)},a:function(o){return o<0?Math.ceil(o)||0:Math.floor(o)},p:function(o){return{M,y:E,w:_,d:b,D:k,h,m:g,s:$,ms:z,Q:V}[o]||String(o||"").toLowerCase().replace(/s$/,"")},u:function(o){return o===void 0}},L="en",R={};R[L]=F;var q="$isDayjsObject",A=function(o){return o instanceof Z||!(!o||!o[q])},x=function o(n,t,i){var r;if(!n)return L;if(typeof n=="string"){var u=n.toLowerCase();R[u]&&(r=u),t&&(R[u]=t,r=u);var d=n.split("-");if(!r&&d.length>1)return o(d[0])}else{var p=n.name;R[p]=n,r=p}return!i&&r&&(L=r),r||!i&&L},w=function(o,n){if(A(o))return o.clone();var t=typeof n=="object"?n:{};return t.date=o,t.args=arguments,new Z(t)},f=G;f.l=x,f.i=A,f.w=function(o,n){return w(o,{locale:n.$L,utc:n.$u,x:n.$x,$offset:n.$offset})};var Z=function(){function o(t){this.$L=x(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[q]=!0}var n=o.prototype;return n.parse=function(t){this.$d=function(i){var r=i.date,u=i.utc;if(r===null)return new Date(NaN);if(f.u(r))return new Date;if(r instanceof Date)return new Date(r);if(typeof r=="string"&&!/Z$/i.test(r)){var d=r.match(U);if(d){var p=d[2]-1||0,y=(d[7]||"0").substring(0,3);return u?new Date(Date.UTC(d[1],p,d[3]||1,d[4]||0,d[5]||0,d[6]||0,y)):new Date(d[1],p,d[3]||1,d[4]||0,d[5]||0,d[6]||0,y)}}return new Date(r)}(t),this.init()},n.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},n.$utils=function(){return f},n.isValid=function(){return this.$d.toString()!==s},n.isSame=function(t,i){var r=w(t);return this.startOf(i)<=r&&r<=this.endOf(i)},n.isAfter=function(t,i){return w(t)<this.startOf(i)},n.isBefore=function(t,i){return this.endOf(i)<w(t)},n.$g=function(t,i,r){return f.u(t)?this[i]:this.set(r,t)},n.unix=function(){return Math.floor(this.valueOf()/1e3)},n.valueOf=function(){return this.$d.getTime()},n.startOf=function(t,i){var r=this,u=!!f.u(i)||i,d=f.p(t),p=function(I,D){var O=f.w(r.$u?Date.UTC(r.$y,D,I):new Date(r.$y,D,I),r);return u?O:O.endOf(b)},y=function(I,D){return f.w(r.toDate()[I].apply(r.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(D)),r)},C=this.$W,v=this.$M,T=this.$D,Y="set"+(this.$u?"UTC":"");switch(d){case E:return u?p(1,0):p(31,11);case M:return u?p(1,v):p(0,v+1);case _:var P=this.$locale().weekStart||0,B=(C<P?C+7:C)-P;return p(u?T-B:T+(6-B),v);case b:case k:return y(Y+"Hours",0);case h:return y(Y+"Minutes",1);case g:return y(Y+"Seconds",2);case $:return y(Y+"Milliseconds",3);default:return this.clone()}},n.endOf=function(t){return this.startOf(t,!1)},n.$set=function(t,i){var r,u=f.p(t),d="set"+(this.$u?"UTC":""),p=(r={},r[b]=d+"Date",r[k]=d+"Date",r[M]=d+"Month",r[E]=d+"FullYear",r[h]=d+"Hours",r[g]=d+"Minutes",r[$]=d+"Seconds",r[z]=d+"Milliseconds",r)[u],y=u===b?this.$D+(i-this.$W):i;if(u===M||u===E){var C=this.clone().set(k,1);C.$d[p](y),C.init(),this.$d=C.set(k,Math.min(this.$D,C.daysInMonth())).$d}else p&&this.$d[p](y);return this.init(),this},n.set=function(t,i){return this.clone().$set(t,i)},n.get=function(t){return this[f.p(t)]()},n.add=function(t,i){var r,u=this;t=Number(t);var d=f.p(i),p=function(v){var T=w(u);return f.w(T.date(T.date()+Math.round(v*t)),u)};if(d===M)return this.set(M,this.$M+t);if(d===E)return this.set(E,this.$y+t);if(d===b)return p(1);if(d===_)return p(7);var y=(r={},r[g]=c,r[h]=m,r[$]=a,r)[d]||1,C=this.$d.getTime()+t*y;return f.w(C,this)},n.subtract=function(t,i){return this.add(-1*t,i)},n.format=function(t){var i=this,r=this.$locale();if(!this.isValid())return r.invalidDate||s;var u=t||"YYYY-MM-DDTHH:mm:ssZ",d=f.z(this),p=this.$H,y=this.$m,C=this.$M,v=r.weekdays,T=r.months,Y=r.meridiem,P=function(D,O,N,J){return D&&(D[O]||D(i,u))||N[O].slice(0,J)},B=function(D){return f.s(p%12||12,D,"0")},I=Y||function(D,O,N){var J=D<12?"AM":"PM";return N?J.toLowerCase():J};return u.replace(H,function(D,O){return O||function(N){switch(N){case"YY":return String(i.$y).slice(-2);case"YYYY":return f.s(i.$y,4,"0");case"M":return C+1;case"MM":return f.s(C+1,2,"0");case"MMM":return P(r.monthsShort,C,T,3);case"MMMM":return P(T,C);case"D":return i.$D;case"DD":return f.s(i.$D,2,"0");case"d":return String(i.$W);case"dd":return P(r.weekdaysMin,i.$W,v,2);case"ddd":return P(r.weekdaysShort,i.$W,v,3);case"dddd":return v[i.$W];case"H":return String(p);case"HH":return f.s(p,2,"0");case"h":return B(1);case"hh":return B(2);case"a":return I(p,y,!0);case"A":return I(p,y,!1);case"m":return String(y);case"mm":return f.s(y,2,"0");case"s":return String(i.$s);case"ss":return f.s(i.$s,2,"0");case"SSS":return f.s(i.$ms,3,"0");case"Z":return d}return null}(D)||d.replace(":","")})},n.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},n.diff=function(t,i,r){var u,d=this,p=f.p(i),y=w(t),C=(y.utcOffset()-this.utcOffset())*c,v=this-y,T=function(){return f.m(d,y)};switch(p){case E:u=T()/12;break;case M:u=T();break;case V:u=T()/3;break;case _:u=(v-C)/6048e5;break;case b:u=(v-C)/864e5;break;case h:u=v/m;break;case g:u=v/c;break;case $:u=v/a;break;default:u=v}return r?u:f.a(u)},n.daysInMonth=function(){return this.endOf(M).$D},n.$locale=function(){return R[this.$L]},n.locale=function(t,i){if(!t)return this.$L;var r=this.clone(),u=x(t,i,!0);return u&&(r.$L=u),r},n.clone=function(){return f.w(this.$d,this)},n.toDate=function(){return new Date(this.valueOf())},n.toJSON=function(){return this.isValid()?this.toISOString():null},n.toISOString=function(){return this.$d.toISOString()},n.toString=function(){return this.$d.toUTCString()},o}(),K=Z.prototype;return w.prototype=K,[["$ms",z],["$s",$],["$m",g],["$H",h],["$W",b],["$M",M],["$y",E],["$D",k]].forEach(function(o){K[o[1]]=function(n){return this.$g(n,o[0],o[1])}}),w.extend=function(o,n){return o.$i||(o(n,Z,w),o.$i=!0),w},w.locale=x,w.isDayjs=A,w.unix=function(o){return w(1e3*o)},w.en=R[L],w.Ls=R,w.p={},w})})(oe);const ae=oe.exports;var se={exports:{}};(function(e,l){(function(a,c){e.exports=c()})(ie,function(){var a="minute",c=/[+-]\d\d(?::?\d\d)?/g,m=/([+-]|\d\d)/g;return function(z,$,g){var h=$.prototype;g.utc=function(s){var U={date:s,utc:!0,args:arguments};return new $(U)},h.utc=function(s){var U=g(this.toDate(),{locale:this.$L,utc:!0});return s?U.add(this.utcOffset(),a):U},h.local=function(){return g(this.toDate(),{locale:this.$L,utc:!1})};var b=h.parse;h.parse=function(s){s.utc&&(this.$u=!0),this.$utils().u(s.$offset)||(this.$offset=s.$offset),b.call(this,s)};var _=h.init;h.init=function(){if(this.$u){var s=this.$d;this.$y=s.getUTCFullYear(),this.$M=s.getUTCMonth(),this.$D=s.getUTCDate(),this.$W=s.getUTCDay(),this.$H=s.getUTCHours(),this.$m=s.getUTCMinutes(),this.$s=s.getUTCSeconds(),this.$ms=s.getUTCMilliseconds()}else _.call(this)};var M=h.utcOffset;h.utcOffset=function(s,U){var H=this.$utils().u;if(H(s))return this.$u?0:H(this.$offset)?M.call(this):this.$offset;if(typeof s=="string"&&(s=function(L){L===void 0&&(L="");var R=L.match(c);if(!R)return null;var q=(""+R[0]).match(m)||["-",0,0],A=q[0],x=60*+q[1]+ +q[2];return x===0?0:A==="+"?x:-x}(s),s===null))return this;var F=Math.abs(s)<=16?60*s:s,W=this;if(U)return W.$offset=F,W.$u=s===0,W;if(s!==0){var G=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(W=this.local().add(F+G,a)).$offset=F,W.$x.$localOffset=G}else W=this.utc();return W};var V=h.format;h.format=function(s){var U=s||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return V.call(this,U)},h.valueOf=function(){var s=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*s},h.isUTC=function(){return!!this.$u},h.toISOString=function(){return this.toDate().toISOString()},h.toString=function(){return this.toDate().toUTCString()};var E=h.toDate;h.toDate=function(s){return s==="s"&&this.$offset?g(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():E.call(this)};var k=h.diff;h.diff=function(s,U,H){if(s&&this.$u===s.$u)return k.call(this,s,U,H);var F=this.local(),W=g(s).local();return k.call(F,W,U,H)}}})})(se);const ye=se.exports,ge=`:host {
|
|
2
2
|
font: inherit;
|
|
3
3
|
display: block;
|
|
4
4
|
height: 100%;
|
|
@@ -69,4 +69,4 @@
|
|
|
69
69
|
.DepositWithdrawalWrapper:not(.ShortCashier) {
|
|
70
70
|
overflow: visible;
|
|
71
71
|
}
|
|
72
|
-
}`,we=ge;ae.extend(ye);const Ce="user-deposit-withdrawal",re=["mm-hcback-to-merchant","mm-hc-back-tomerchant","mm-hc-sports","mm-hc-casino","mm-hc-contact","mm-wm-hc-init-deposit","mm-wm-hc-init-deposit-quick"],Se=()=>{},ue=class{constructor(e){S.registerInstance(this,e),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=me(this.userAgent),this.errorCodes=["21123","21122","21121"],this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.endpoint=void 0,this.type=void 0,this.channel=void 0,this.language=void 0,this.productType="",this.userId=void 0,this.session=void 0,this.successUrl=void 0,this.cancelUrl=void 0,this.failUrl=void 0,this.sportsUrl=void 0,this.casinoUrl=void 0,this.contactUrl=void 0,this.depositUrl=void 0,this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.homeUrl=void 0,this.beforeRedirect=Se,this.forwardCashierRedirects=!1,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}handleClientStylingChange(e,l){e!=l&&ee(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,l){e!=l&&this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return fe(this.translationUrl)})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?pe(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&ee(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return S.h(S.Host,{key:"46153b61097691f3a3b2da29aa260edf0688f01c"},S.h("div",{key:"0082deaaf9c6348cff4010ec8b1f58e5ea26e99b",ref:e=>this.stylingContainer=e,class:""},S.h("div",{key:"8aec364ea2134d01c2b29fc75136cad08fd5d965",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`},!(this.isMobile&&!this.isShortCashier)&&S.h("h2",{key:"4b0184e2354199332c8438b4430c047982364dff",class:"CategoryTitle"},j(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),S.h("div",{key:"49c9dbda82eb6576bc11375371f4359ba0b0285d",style:{marginTop:this.isShortCashier?"30px":"0"}},this.isMobile&&!this.isShortCashier?S.h("div",{class:"MenuReturnButton",onClick:this.toggleScreen},S.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},S.h("defs",null),S.h("g",{transform:"translate(-20 -158)"},S.h("g",{transform:"translate(20 158)"},S.h("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),S.h("h2",{class:"CategoryTitleMobile"},j(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?S.h("iframe",{width:"100%",allow:"payment",height:this.dynamicHeight,src:this.cashierInfoUrl}):S.h("h3",{innerHTML:this.type==="deposit"?j("denyDeposit",this.language):j("denyWithdrawal",this.language),class:"ErrorMessage"}))))}loadWidget(){return Q(this,null,function*(){const e={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};if(!(Object.values(e).some(l=>l===void 0)||!this.endpoint))try{const l=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,a=yield fetch(l,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(e)});if(!a.ok){const m=yield a.text();throw new Error(m)}const c=yield a.json();if(c.CashierInfo)this.cashierInfoUrl=c.CashierInfo.Url;else{let m;if(c.ResponseMessage){let
|
|
72
|
+
}`,we=ge;ae.extend(ye);const Ce="user-deposit-withdrawal",re=["mm-hcback-to-merchant","mm-hc-back-tomerchant","mm-hc-sports","mm-hc-casino","mm-hc-contact","mm-wm-hc-init-deposit","mm-wm-hc-init-deposit-quick"],Se=()=>{},ue=class{constructor(e){S.registerInstance(this,e),this.bindedHandler=this.handleMessage.bind(this),this.userAgent=window.navigator.userAgent,this.isMobile=me(this.userAgent),this.errorCodes=["21123","21122","21121"],this.toggleScreen=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:this.isMobile},window.location.href)},this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.endpoint=void 0,this.type=void 0,this.channel=void 0,this.language=void 0,this.productType="",this.userId=void 0,this.session=void 0,this.successUrl=void 0,this.cancelUrl=void 0,this.failUrl=void 0,this.sportsUrl=void 0,this.casinoUrl=void 0,this.contactUrl=void 0,this.depositUrl=void 0,this.currency="",this.showBonusSelectionInput="true",this.isShortCashier=!1,this.homeUrl=void 0,this.beforeRedirect=Se,this.forwardCashierRedirects=!1,this.dynamicHeight=void 0,this.cashierInfoUrl=void 0}get typeParameter(){if(this.type==="deposit")return"Deposit";if(this.type==="withdraw")return"Withdraw"}handleClientStylingChange(e,l){e!=l&&ee(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,l){e!=l&&this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl)}componentWillLoad(){return Q(this,null,function*(){if(yield this.loadWidget(),this.translationUrl)return fe(this.translationUrl)})}componentDidLoad(){this.stylingContainer&&(window.emMessageBus!=null?pe(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&ee(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&te(this.stylingContainer,this.clientStylingUrl))),window.addEventListener("message",this.bindedHandler,!1)}disconnectedCallback(){window.removeEventListener("message",this.bindedHandler,!1),this.stylingSubscription&&this.stylingSubscription.unsubscribe()}render(){return S.h(S.Host,{key:"46153b61097691f3a3b2da29aa260edf0688f01c"},S.h("div",{key:"0082deaaf9c6348cff4010ec8b1f58e5ea26e99b",ref:e=>this.stylingContainer=e,class:""},S.h("div",{key:"8aec364ea2134d01c2b29fc75136cad08fd5d965",class:`DepositWithdrawalWrapper ${this.isShortCashier?"ShortCashier":""}`},!(this.isMobile&&!this.isShortCashier)&&S.h("h2",{key:"4b0184e2354199332c8438b4430c047982364dff",class:"CategoryTitle"},j(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language)),S.h("div",{key:"49c9dbda82eb6576bc11375371f4359ba0b0285d",style:{marginTop:this.isShortCashier?"30px":"0"}},this.isMobile&&!this.isShortCashier?S.h("div",{class:"MenuReturnButton",onClick:this.toggleScreen},S.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},S.h("defs",null),S.h("g",{transform:"translate(-20 -158)"},S.h("g",{transform:"translate(20 158)"},S.h("path",{class:"aaa",d:"M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z",transform:"translate(15 15) rotate(180)"})))),S.h("h2",{class:"CategoryTitleMobile"},j(this.typeParameter==="Withdraw"?"Withdraw":"Deposit",this.language))):null),this.cashierInfoUrl?S.h("iframe",{width:"100%",allow:"payment",height:this.dynamicHeight,src:this.cashierInfoUrl}):S.h("h3",{innerHTML:this.type==="deposit"?j("denyDeposit",this.language):j("denyWithdrawal",this.language),class:"ErrorMessage"}))))}loadWidget(){return Q(this,null,function*(){const e={Channel:this.channel,Type:this.typeParameter,SuccessUrl:this.successUrl,CancelUrl:this.cancelUrl,FailUrl:this.failUrl,Language:this.language,productType:this.productType,isShortCashier:this.isShortCashier,currency:this.currency,showBonusSelectionInput:this.showBonusSelectionInput};if(!(Object.values(e).some(l=>l===void 0)||!this.endpoint))try{const l=`${this.endpoint}/v1/player/${this.userId}/payment/GetPaymentSession`,a=yield fetch(l,{method:"POST",headers:{"X-Sessionid":this.session,"Content-Type":"application/json","X-Client-Request-Timestamp":ae.utc().format("YYYY-MM-DD HH:mm:ss.SSS")},body:JSON.stringify(e)});if(!a.ok){const m=yield a.text();throw new Error(m)}const c=yield a.json();if(c.CashierInfo)this.cashierInfoUrl=c.CashierInfo.Url;else{let m;if(c.ResponseMessage){let $=this.errorCodes.find(g=>c.ResponseMessage.includes(g))||null;$?m=j(`errorCode${$}`,this.language):m=j("notFoundErrorCode",this.language)}else m=this.type==="deposit"?j("denyDeposit",this.language):j("denyWithdrawal",this.language);const z={type:"error",message:m};window.postMessage({type:"DenyDepositOrWithdrawal",data:z},window.location.href)}}catch(l){console.error(l)}})}handleMessage(e){const l=this.extractPayload(e);if(!l)return;this.applyLayoutHints(l);const a=this.extractCashierRedirectReason(l);if(!a||this.emitForwardedRedirect(e,a))return;const c=this.resolveRedirectPlan(a);c&&this.doRedirect(c.reason,c.targetUrl)}extractCashierRedirectReason(e){if(typeof(e==null?void 0:e.type)=="string"&&re.includes(e.type))return e.type;if(typeof(e==null?void 0:e.redirect)=="string"&&re.includes(e.redirect))return e.redirect}extractPayload(e){if(!(!(e!=null&&e.data)||typeof e.data!="object"))return e.data}applyLayoutHints(e){e["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),e["MMFE:setQuickDepositHeight"]&&this.isShortCashier&&(this.dynamicHeight=e["MMFE:setQuickDepositHeight"].toString()+"px"),e["MMFE:setIFrameHeight"]&&(this.dynamicHeight=e["MMFE:setIFrameHeight"].toString()+"px")}resolveRedirectPlan(e){switch(e){case"mm-hcback-to-merchant":case"mm-hc-back-tomerchant":return this.buildRedirectPlan(e,this.homeUrl);case"mm-hc-sports":return this.buildRedirectPlan(e,this.sportsUrl);case"mm-hc-casino":return this.buildRedirectPlan(window.location.href,this.casinoUrl);case"mm-hc-contact":return window.postMessage({type:"CloseShortCashier"},window.location.href),this.buildRedirectPlan(window.location.href,this.contactUrl);case"mm-wm-hc-init-deposit":case"mm-wm-hc-init-deposit-quick":return window.postMessage({type:"CloseShortCashier"},window.location.href),this.buildRedirectPlan(window.location.href,this.depositUrl);default:return}}buildRedirectPlan(e,l){if(l)return{reason:e,targetUrl:l}}emitForwardedRedirect(e,l){if(!this.forwardCashierRedirects)return!1;const a={type:`${Ce}:${l}`,originalType:l,payload:e.data,origin:e.origin};return window.postMessage(a,window.location.href),!0}doRedirect(e,l){const a={reason:e,url:l,cancel:!1};if(this.beforeRedirect(a),!a.cancel){if(!a.url){window.location.href="/";return}window.location.href=a.url}}static get watchers(){return{clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};ue.style=we;exports.user_deposit_withdrawal=ue;
|