@everymatrix/casino-header-controller 1.84.2 → 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-B_Ei9f4l.js → CasinoHeaderController-BO6ee1KD.js} +1 -1
- package/components/{CasinoHeaderController-jFrAcIAM.cjs → CasinoHeaderController-CCIMjU5G.cjs} +1 -1
- package/components/{CasinoHeaderController-2V0V5bZg.js → CasinoHeaderController-DzC9IzmD.js} +1 -1
- 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/components/{CasinoHeaderController-B_Ei9f4l.js → CasinoHeaderController-BO6ee1KD.js}
RENAMED
|
@@ -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-jFrAcIAM.cjs → CasinoHeaderController-CCIMjU5G.cjs}
RENAMED
|
@@ -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-2V0V5bZg.js → CasinoHeaderController-DzC9IzmD.js}
RENAMED
|
@@ -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
|
}
|