@everymatrix/casino-header-controller-nd 1.67.0 → 1.67.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.
Files changed (46) hide show
  1. package/components/CasinoHamburgerMenuNd-CZ6VNaW1.cjs +18 -0
  2. package/components/{CasinoHamburgerMenuNd-kNSb5kzp.js → CasinoHamburgerMenuNd-D_l-_9wt.js} +1025 -1060
  3. package/components/{CasinoHamburgerMenuNd-CRHTyzLa.js → CasinoHamburgerMenuNd-GN2-xEq0.js} +1034 -1069
  4. package/components/{CasinoHeaderControllerNd-D9HR4eGc.js → CasinoHeaderControllerNd-BEExk_ii.js} +420 -417
  5. package/components/{CasinoHeaderControllerNd-CIKmSlKv.cjs → CasinoHeaderControllerNd-BYwd8Sq_.cjs} +1 -1
  6. package/components/{CasinoHeaderControllerNd-CdhCeNTr.js → CasinoHeaderControllerNd-DgEgJaZc.js} +458 -455
  7. package/components/PlayerAccountBalanceModalNd-D9ROPGsf.js +1560 -0
  8. package/components/PlayerAccountBalanceModalNd-DLZK_oxu.js +1589 -0
  9. package/components/PlayerAccountBalanceModalNd-DcwaBs_T.cjs +13 -0
  10. package/components/{PlayerDeposit-8bunmKNP.js → PlayerDeposit-CH6X2HzT.js} +43 -43
  11. package/components/{PlayerDeposit-OEh7dNO5.cjs → PlayerDeposit-DP4_U-Vn.cjs} +1 -1
  12. package/components/{PlayerDeposit-CGZwpLsA.js → PlayerDeposit-nAWT6R27.js} +43 -43
  13. package/es2015/casino-header-controller-nd.cjs +1 -1
  14. package/es2015/casino-header-controller-nd.js +1 -1
  15. package/esnext/casino-header-controller-nd.js +1 -1
  16. package/package.json +1 -1
  17. package/stencil/{gamification-dropdown-8eb8a896-BuRX-qSf.cjs → gamification-dropdown-8eb8a896-DfTzIl57.cjs} +1 -1
  18. package/stencil/{gamification-dropdown-8eb8a896-CUQH8OTh.js → gamification-dropdown-8eb8a896-DwjOP8LM.js} +7 -7
  19. package/stencil/{gamification-dropdown-8eb8a896-B9e-F_sU.js → gamification-dropdown-8eb8a896-OGii9GZC.js} +3 -3
  20. package/stencil/{gamification-dropdown-CWU2J49k.js → gamification-dropdown-BXSymCVy.js} +1 -1
  21. package/stencil/{gamification-dropdown-5y66sKdr.cjs → gamification-dropdown-DiHGIe59.cjs} +1 -1
  22. package/stencil/{gamification-dropdown-BAIX48Yr.js → gamification-dropdown-_ZdATOHF.js} +1 -1
  23. package/stencil/{gamification-dropdown_4-O3BiUHNc.js → gamification-dropdown_4-B46ceyMH.js} +24 -27
  24. package/stencil/{gamification-dropdown_4-BVPzYu2a.js → gamification-dropdown_4-C8FoQ9bl.js} +21 -24
  25. package/stencil/{gamification-dropdown_4-DLCXlou3.cjs → gamification-dropdown_4-EqEecNER.cjs} +2 -2
  26. package/stencil/{index-71b1bdfa-BL9t5VwE.js → index-71b1bdfa-C8dE0ofS.js} +226 -226
  27. package/stencil/index-71b1bdfa-MzSkzwf_.cjs +1 -0
  28. package/stencil/{index-71b1bdfa-CWdlWpzQ.js → index-71b1bdfa-_-dhHLGN.js} +235 -235
  29. package/stencil/{player-elevate-card-Du4res_Z.js → player-elevate-card-CESlrbxs.js} +2 -2
  30. package/stencil/{player-elevate-card-By9TEmm_.js → player-elevate-card-DAXoDLIH.js} +2 -2
  31. package/stencil/{player-elevate-card-DK5w6ocN.cjs → player-elevate-card-DORq6Wij.cjs} +1 -1
  32. package/stencil/player-elevate-card-items-5071deed-C6i7ZlHD.cjs +102 -0
  33. package/stencil/{player-elevate-card-items-5071deed-DCirzDCm.js → player-elevate-card-items-5071deed-C9dANr1l.js} +81 -79
  34. package/stencil/{player-elevate-card-items-5071deed-GrfHmJnI.js → player-elevate-card-items-5071deed-DjG8kMBd.js} +81 -79
  35. package/stencil/{player-elevate-pointcard-Bkry322P.cjs → player-elevate-pointcard-CjdTzOoF.cjs} +1 -1
  36. package/stencil/{player-elevate-pointcard-BWqI3IpR.js → player-elevate-pointcard-DQXpvq40.js} +2 -2
  37. package/stencil/{player-elevate-pointcard-Bc7oeher.js → player-elevate-pointcard-Do6iv014.js} +2 -2
  38. package/stencil/{player-rakeback-card-AbhM_zFo.js → player-rakeback-card-BNSkyLB0.js} +1 -1
  39. package/stencil/{player-rakeback-card-D7x0EA9y.cjs → player-rakeback-card-BoT6EgM7.cjs} +1 -1
  40. package/stencil/{player-rakeback-card-BbrVU4P1.js → player-rakeback-card-Bx_vN42o.js} +1 -1
  41. package/components/CasinoHamburgerMenuNd-BMOc3TVZ.cjs +0 -18
  42. package/components/PlayerAccountBalanceModalNd-CKkqacyC.cjs +0 -13
  43. package/components/PlayerAccountBalanceModalNd-C_-z_ILo.js +0 -1585
  44. package/components/PlayerAccountBalanceModalNd-D5LR7cHC.js +0 -1556
  45. package/stencil/index-71b1bdfa-DXo3J8vm.cjs +0 -1
  46. package/stencil/player-elevate-card-items-5071deed-BgtHd6Jj.cjs +0 -102
@@ -0,0 +1,13 @@
1
+ "use strict";var at=Object.defineProperty,ot=Object.defineProperties;var rt=Object.getOwnPropertyDescriptors;var He=Object.getOwnPropertySymbols;var it=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable;var ze=(r,t,n)=>t in r?at(r,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):r[t]=n,Ue=(r,t)=>{for(var n in t||(t={}))it.call(t,n)&&ze(r,n,t[n]);if(He)for(var n of He(t))lt.call(t,n)&&ze(r,n,t[n]);return r},Pe=(r,t)=>ot(r,rt(t));var Xe=(r,t,n)=>new Promise((l,d)=>{var u=v=>{try{m(n.next(v))}catch(g){d(g)}},w=v=>{try{m(n.throw(v))}catch(g){d(g)}},m=v=>v.done?l(v.value):Promise.resolve(v.value).then(u,w);m((n=n.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-CZ6VNaW1.cjs");function Ge(r,t){e.addMessages(r,t)}function st(r){e.$locale.set(r)}const qe={en:{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."},"zh-hk":{Title:"您的結餘",Total:"總結餘",Real:"現金結餘",Bonus:"紅利結餘",Credit:"信用結餘",Casino:"賭場",Sports:"體育",DepositButton:"存款",Loading:"載入中 ..."},de:{Title:"Ihr Guthaben",Total:"Gesamtguthaben",Real:"Barguthaben",Bonus:"Bonusguthaben",Credit:"Kreditguthaben",Casino:"Casino",Sports:"Sport",DepositButton:"Einzahlen",Loading:"Wird geladen ..."},it:{Title:"Il tuo saldo",Total:"Saldo totale",Real:"Saldo in contanti",Bonus:"Saldo bonus",Credit:"Saldo di credito",Casino:"Casinò",Sports:"Sport",DepositButton:"Deposita",Loading:"Caricamento ..."},fr:{Title:"Votre solde",Total:"Solde total",Real:"Solde en espèces",Bonus:"Solde bonus",Credit:"Solde de crédit",Casino:"Casino",Sports:"Sports",DepositButton:"Dépôt",Loading:"Chargement ..."},es:{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},tr:{Title:"Bakiyeniz",Total:"Toplam Bakiye",Real:"Nakit Bakiye",Bonus:"Bonus Bakiyesi",Credit:"Kredi Bakiyesi",Casino:"Kumarhane",Sports:"Spor",DepositButton:"Yatır",Loading:"Yükleniyor ..."},ru:{Title:"Ваш баланс",Total:"Общий баланс",Real:"Денежный баланс",Bonus:"Бонусный баланс",Credit:"Кредитный баланс",Casino:"Казино",Sports:"Спорт",DepositButton:"Депозит",Loading:"Загружается ..."},ro:{Title:"Soldul tău",Total:"Sold total",Real:"Sold în numerar",Bonus:"Sold bonus",Credit:"Sold credit",Casino:"Cazinou",Sports:"Sporturi",DepositButton:"Depozit",Loading:"Se încarcă ..."},hr:{Title:"Vaš saldo",Total:"Ukupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Casino",Sports:"Sportovi",DepositButton:"Depozit",Loading:"Učitavanje ..."},hu:{Title:"Az egyenleged",Total:"Teljes egyenleg",Real:"Készpénz egyenleg",Bonus:"Bónusz egyenleg",Credit:"Hitel egyenleg",Casino:"Kaszinó",Sports:"Sport",DepositButton:"Befizetés",Loading:"Betöltés ..."},pl:{Title:"Twoje saldo",Total:"Całkowite saldo",Real:"Saldo gotówkowe",Bonus:"Saldo bonusowe",Credit:"Saldo kredytowe",Casino:"Kasyno",Sports:"Sport",DepositButton:"Wpłać",Loading:"Ładowanie ..."},pt:{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},sl:{Title:"Vaš saldo",Total:"Skupni saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Šport",DepositButton:"Depozit",Loading:"Nalaganje ..."},sr:{Title:"Vaš saldo",Total:"Ukupan saldo",Real:"Gotovinski saldo",Bonus:"Bonus saldo",Credit:"Kreditni saldo",Casino:"Kasino",Sports:"Sport",DepositButton:"Depozit",Loading:"Učitavanje ..."},"pt-br":{Title:"Seu Saldo",Total:"Saldo Total",Real:"Saldo em Dinheiro",Bonus:"Saldo de Bônus",Credit:"Saldo de Crédito",Casino:"Cassino",Sports:"Esportes",DepositButton:"Depositar",Loading:"Carregando ..."},"es-mx":{Title:"Tu saldo",Total:"Saldo total",Real:"Saldo en efectivo",Bonus:"Saldo de bono",Credit:"Saldo de crédito",Casino:"Casino",Sports:"Deportes",DepositButton:"Depósito",Loading:"Cargando ..."},"en-us":{Title:"Your Balance",Total:"Total Balance",Real:"Cash Balance",Bonus:"Bonus Balance",Credit:"Credit Balance",Casino:"Casino",Sports:"Sports",DepositButton:"Deposit",Loading:"Loading ..."}};var Ne={exports:{}};/** @license
2
+ * eventsource.js
3
+ * Available under MIT License (MIT)
4
+ * https://github.com/Yaffle/EventSource/
5
+ */(function(r,t){(function(n){var l=n.setTimeout,d=n.clearTimeout,u=n.XMLHttpRequest,w=n.XDomainRequest,m=n.ActiveXObject,v=n.EventSource,g=n.document,C=n.Promise,D=n.fetch,O=n.Response,L=n.TextDecoder,k=n.TextEncoder,R=n.AbortController;if(typeof window!="undefined"&&typeof g!="undefined"&&!("readyState"in g)&&g.body==null&&(g.readyState="loading",window.addEventListener("load",function(o){g.readyState="complete"},!1)),u==null&&m!=null&&(u=function(){return new m("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(o){function f(){}return f.prototype=o,new f}),Date.now||(Date.now=function(){return new Date().getTime()}),R==null){var B=D;D=function(o,f){var a=f.signal;return B(o,{headers:f.headers,credentials:f.credentials,cache:f.cache}).then(function(i){var p=i.body.getReader();return a._reader=p,a._aborted&&a._reader.cancel(),{status:i.status,statusText:i.statusText,headers:i.headers,body:{getReader:function(){return p}}}})},R=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function _(){this.bitsNeeded=0,this.codePoint=0}_.prototype.decode=function(o){function f(T,A,b){if(b===1)return T>=128>>A&&T<<A<=2047;if(b===2)return T>=2048>>A&&T<<A<=55295||T>=57344>>A&&T<<A<=65535;if(b===3)return T>=65536>>A&&T<<A<=1114111;throw new Error}function a(T,A){if(T===6*1)return A>>6>15?3:A>31?2:1;if(T===6*2)return A>15?3:2;if(T===6*3)return 3;throw new Error}for(var i=65533,p="",s=this.bitsNeeded,y=this.codePoint,S=0;S<o.length;S+=1){var c=o[S];s!==0&&(c<128||c>191||!f(y<<6|c&63,s-6,a(s,y)))&&(s=0,y=i,p+=String.fromCharCode(y)),s===0?(c>=0&&c<=127?(s=0,y=c):c>=192&&c<=223?(s=6*1,y=c&31):c>=224&&c<=239?(s=6*2,y=c&15):c>=240&&c<=247?(s=6*3,y=c&7):(s=0,y=i),s!==0&&!f(y,s,a(s,y))&&(s=0,y=i)):(s-=6,y=y<<6|c&63),s===0&&(y<=65535?p+=String.fromCharCode(y):(p+=String.fromCharCode(55296+(y-65535-1>>10)),p+=String.fromCharCode(56320+(y-65535-1&1023))))}return this.bitsNeeded=s,this.codePoint=y,p};var N=function(){try{return new L().decode(new k().encode("test"),{stream:!0})==="test"}catch(o){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+o)}return!1};(L==null||k==null||!N())&&(L=_);var E=function(){};function j(o){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=E,this.onload=E,this.onerror=E,this.onreadystatechange=E,this._contentType="",this._xhr=o,this._sendTimeout=0,this._abort=E}j.prototype.open=function(o,f){this._abort(!0);var a=this,i=this._xhr,p=1,s=0;this._abort=function(b){a._sendTimeout!==0&&(d(a._sendTimeout),a._sendTimeout=0),(p===1||p===2||p===3)&&(p=4,i.onload=E,i.onerror=E,i.onabort=E,i.onprogress=E,i.onreadystatechange=E,i.abort(),s!==0&&(d(s),s=0),b||(a.readyState=4,a.onabort(null),a.onreadystatechange())),p=0};var y=function(){if(p===1){var b=0,I="",re=void 0;if("contentType"in i)b=200,I="OK",re=i.contentType;else try{b=i.status,I=i.statusText,re=i.getResponseHeader("Content-Type")}catch(Se){b=0,I="",re=void 0}b!==0&&(p=2,a.readyState=2,a.status=b,a.statusText=I,a._contentType=re,a.onreadystatechange())}},S=function(){if(y(),p===2||p===3){p=3;var b="";try{b=i.responseText}catch(I){}a.readyState=3,a.responseText=b,a.onprogress()}},c=function(b,I){if((I==null||I.preventDefault==null)&&(I={preventDefault:E}),S(),p===1||p===2||p===3){if(p=4,s!==0&&(d(s),s=0),a.readyState=4,b==="load")a.onload(I);else if(b==="error")a.onerror(I);else if(b==="abort")a.onabort(I);else throw new TypeError;a.onreadystatechange()}},T=function(b){i!=null&&(i.readyState===4?(!("onload"in i)||!("onerror"in i)||!("onabort"in i))&&c(i.responseText===""?"error":"load",b):i.readyState===3?"onprogress"in i||S():i.readyState===2&&y())},A=function(){s=l(function(){A()},500),i.readyState===3&&S()};"onload"in i&&(i.onload=function(b){c("load",b)}),"onerror"in i&&(i.onerror=function(b){c("error",b)}),"onabort"in i&&(i.onabort=function(b){c("abort",b)}),"onprogress"in i&&(i.onprogress=S),"onreadystatechange"in i&&(i.onreadystatechange=function(b){T(b)}),("contentType"in i||!("ontimeout"in u.prototype))&&(f+=(f.indexOf("?")===-1?"?":"&")+"padding=true"),i.open(o,f,!0),"readyState"in i&&(s=l(function(){A()},0))},j.prototype.abort=function(){this._abort(!1)},j.prototype.getResponseHeader=function(o){return this._contentType},j.prototype.setRequestHeader=function(o,f){var a=this._xhr;"setRequestHeader"in a&&a.setRequestHeader(o,f)},j.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},j.prototype.send=function(){if((!("ontimeout"in u.prototype)||!("sendAsBinary"in u.prototype)&&!("mozAnon"in u.prototype))&&g!=null&&g.readyState!=null&&g.readyState!=="complete"){var o=this;o._sendTimeout=l(function(){o._sendTimeout=0,o.send()},4);return}var f=this._xhr;"withCredentials"in f&&(f.withCredentials=this.withCredentials);try{f.send(void 0)}catch(a){throw a}};function ne(o){return o.replace(/[A-Z]/g,function(f){return String.fromCharCode(f.charCodeAt(0)+32)})}function $(o){for(var f=Object.create(null),a=o.split(`\r
6
+ `),i=0;i<a.length;i+=1){var p=a[i],s=p.split(": "),y=s.shift(),S=s.join(": ");f[ne(y)]=S}this._map=f}$.prototype.get=function(o){return this._map[ne(o)]},u!=null&&u.HEADERS_RECEIVED==null&&(u.HEADERS_RECEIVED=2);function Y(){}Y.prototype.open=function(o,f,a,i,p,s,y){o.open("GET",p);var S=0;o.onprogress=function(){var T=o.responseText,A=T.slice(S);S+=A.length,a(A)},o.onerror=function(T){T.preventDefault(),i(new Error("NetworkError"))},o.onload=function(){i(null)},o.onabort=function(){i(null)},o.onreadystatechange=function(){if(o.readyState===u.HEADERS_RECEIVED){var T=o.status,A=o.statusText,b=o.getResponseHeader("Content-Type"),I=o.getAllResponseHeaders();f(T,A,b,new $(I))}},o.withCredentials=s;for(var c in y)Object.prototype.hasOwnProperty.call(y,c)&&o.setRequestHeader(c,y[c]);return o.send(),o};function V(o){this._headers=o}V.prototype.get=function(o){return this._headers.get(o)};function x(){}x.prototype.open=function(o,f,a,i,p,s,y){var S=null,c=new R,T=c.signal,A=new L;return D(p,{headers:y,credentials:s?"include":"same-origin",signal:T,cache:"no-store"}).then(function(b){return S=b.body.getReader(),f(b.status,b.statusText,b.headers.get("Content-Type"),new V(b.headers)),new C(function(I,re){var Se=function(){S.read().then(function(J){if(J.done)I(void 0);else{var X=A.decode(J.value,{stream:!0});a(X),Se()}}).catch(function(J){re(J)})};Se()})}).catch(function(b){if(b.name!=="AbortError")return b}).then(function(b){i(b)}),{abort:function(){S!=null&&S.cancel(),c.abort()}}};function F(){this._listeners=Object.create(null)}function M(o){l(function(){throw o},0)}F.prototype.dispatchEvent=function(o){o.target=this;var f=this._listeners[o.type];if(f!=null)for(var a=f.length,i=0;i<a;i+=1){var p=f[i];try{typeof p.handleEvent=="function"?p.handleEvent(o):p.call(this,o)}catch(s){M(s)}}},F.prototype.addEventListener=function(o,f){o=String(o);var a=this._listeners,i=a[o];i==null&&(i=[],a[o]=i);for(var p=!1,s=0;s<i.length;s+=1)i[s]===f&&(p=!0);p||i.push(f)},F.prototype.removeEventListener=function(o,f){o=String(o);var a=this._listeners,i=a[o];if(i!=null){for(var p=[],s=0;s<i.length;s+=1)i[s]!==f&&p.push(i[s]);p.length===0?delete a[o]:a[o]=p}};function z(o){this.type=o,this.target=void 0}function ce(o,f){z.call(this,o),this.data=f.data,this.lastEventId=f.lastEventId}ce.prototype=Object.create(z.prototype);function h(o,f){z.call(this,o),this.status=f.status,this.statusText=f.statusText,this.headers=f.headers}h.prototype=Object.create(z.prototype);function de(o,f){z.call(this,o),this.error=f.error}de.prototype=Object.create(z.prototype);var ve=-1,K=0,oe=1,fe=2,we=-1,ae=0,pe=1,be=2,Me=3,Be=/^text\/event\-stream(;.*)?$/i,_e=1e3,De=18e6,me=function(o,f){var a=o==null?f:parseInt(o,10);return a!==a&&(a=f),Te(a)},Te=function(o){return Math.min(Math.max(o,_e),De)},ue=function(o,f,a){try{typeof f=="function"&&f.call(o,a)}catch(i){M(i)}};function W(o,f){F.call(this),f=f||{},this.onopen=void 0,this.onmessage=void 0,this.onerror=void 0,this.url=void 0,this.readyState=void 0,this.withCredentials=void 0,this.headers=void 0,this._close=void 0,ke(this,o,f)}function Oe(){return u!=null&&"withCredentials"in u.prototype||w==null?new u:new w}var Le=D!=null&&O!=null&&"body"in O.prototype;function ke(o,f,a){f=String(f);var i=!!a.withCredentials,p=a.lastEventIdQueryParameterName||"lastEventId",s=Te(1e3),y=me(a.heartbeatTimeout,45e3),S="",c=s,T=!1,A=0,b=a.headers||{},I=a.Transport,re=Le&&I==null?void 0:new j(I!=null?new I:Oe()),Se=I!=null&&typeof I!="string"?new I:re==null?new x:new Y,J=void 0,X=0,ee=ve,ge="",Re="",ie="",xe="",G=ae,Fe=0,he=0,tt=function(U,H,Q,Z){if(ee===K)if(U===200&&Q!=null&&Be.test(Q)){ee=oe,T=Date.now(),c=s,o.readyState=oe;var q=new h("open",{status:U,statusText:H,headers:Z});o.dispatchEvent(q),ue(o,o.onopen,q)}else{var P="";U!==200?(H&&(H=H.replace(/\s+/g," ")),P="EventSource's response has a status "+U+" "+H+" that is not 200. Aborting the connection."):P="EventSource's response has a Content-Type specifying an unsupported type: "+(Q==null?"-":Q.replace(/\s+/g," "))+". Aborting the connection.",Ie();var q=new h("error",{status:U,statusText:H,headers:Z});o.dispatchEvent(q),ue(o,o.onerror,q),console.error(P)}},nt=function(U){if(ee===oe){for(var H=-1,Q=0;Q<U.length;Q+=1){var Z=U.charCodeAt(Q);(Z===10||Z===13)&&(H=Q)}var q=(H!==-1?xe:"")+U.slice(0,H+1);xe=(H===-1?xe:"")+U.slice(H+1),U!==""&&(T=Date.now(),A+=U.length);for(var P=0;P<q.length;P+=1){var Z=q.charCodeAt(P);if(G===we&&Z===10)G=ae;else if(G===we&&(G=ae),Z===13||Z===10){if(G!==ae){G===pe&&(he=P+1);var le=q.slice(Fe,he-1),se=q.slice(he+(he<P&&q.charCodeAt(he)===32?1:0),P);le==="data"?(ge+=`
7
+ `,ge+=se):le==="id"?Re=se:le==="event"?ie=se:le==="retry"?(s=me(se,s),c=s):le==="heartbeatTimeout"&&(y=me(se,y),X!==0&&(d(X),X=l(function(){Ce()},y)))}if(G===ae){if(ge!==""){S=Re,ie===""&&(ie="message");var ye=new ce(ie,{data:ge.slice(1),lastEventId:Re});if(o.dispatchEvent(ye),ie==="open"?ue(o,o.onopen,ye):ie==="message"?ue(o,o.onmessage,ye):ie==="error"&&ue(o,o.onerror,ye),ee===fe)return}ge="",ie=""}G=Z===13?we:ae}else G===ae&&(Fe=P,G=pe),G===pe?Z===58&&(he=P+1,G=be):G===be&&(G=Me)}}},je=function(U){if(ee===oe||ee===K){ee=ve,X!==0&&(d(X),X=0),X=l(function(){Ce()},c),c=Te(Math.min(s*16,c*2)),o.readyState=K;var H=new de("error",{error:U});o.dispatchEvent(H),ue(o,o.onerror,H),U!=null&&console.error(U)}},Ie=function(){ee=fe,J!=null&&(J.abort(),J=void 0),X!==0&&(d(X),X=0),o.readyState=fe},Ce=function(){if(X=0,ee!==ve){if(!T&&J!=null)je(new Error("No activity within "+y+" milliseconds. "+(ee===K?"No response received.":A+" chars received.")+" Reconnecting.")),J!=null&&(J.abort(),J=void 0);else{var U=Math.max((T||Date.now())+y-Date.now(),1);T=!1,X=l(function(){Ce()},U)}return}T=!1,A=0,X=l(function(){Ce()},y),ee=K,ge="",ie="",Re=S,xe="",Fe=0,he=0,G=ae;var H=f;if(f.slice(0,5)!=="data:"&&f.slice(0,5)!=="blob:"&&S!==""){var Q=f.indexOf("?");H=Q===-1?f:f.slice(0,Q+1)+f.slice(Q+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(se,ye){return ye===p?"":se}),H+=(f.indexOf("?")===-1?"?":"&")+p+"="+encodeURIComponent(S)}var Z=o.withCredentials,q={};q.Accept="text/event-stream";var P=o.headers;if(P!=null)for(var le in P)Object.prototype.hasOwnProperty.call(P,le)&&(q[le]=P[le]);try{J=Se.open(re,tt,nt,je,H,Z,q)}catch(se){throw Ie(),se}};o.url=f,o.readyState=K,o.withCredentials=i,o.headers=b,o._close=Ie,Ce()}W.prototype=Object.create(F.prototype),W.prototype.CONNECTING=K,W.prototype.OPEN=oe,W.prototype.CLOSED=fe,W.prototype.close=function(){this._close()},W.CONNECTING=K,W.OPEN=oe,W.CLOSED=fe,W.prototype.withCredentials=void 0;var Ae=v;u!=null&&(v==null||!("withCredentials"in v.prototype))&&(Ae=W),function(o){{var f=o(t);f!==void 0&&(r.exports=f)}}(function(o){o.EventSourcePolyfill=W,o.NativeEventSource=v,o.EventSource=Ae})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:e.commonjsGlobal:globalThis)})(Ne,Ne.exports);var ct=Ne.exports;/*!
8
+ * currency.js - v2.0.4
9
+ * http://scurker.github.io/currency.js
10
+ *
11
+ * Copyright (c) 2021 Jason Wilson
12
+ * Released under MIT license
13
+ */var dt={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:ht,fromCents:!1},$e=function(t){return Math.round(t)},Ve=function(t){return Math.pow(10,t)},ut=function(t,n){return $e(t/n)*n},ft=/(\d)(?=(\d{3})+\b)/g,pt=/(\d)(?=(\d\d)+\d\b)/g;function te(r,t){var n=this;if(!(n instanceof te))return new te(r,t);var l=Object.assign({},dt,t),d=Ve(l.precision),u=Ee(r,l);n.intValue=u,n.value=u/d,l.increment=l.increment||1/d,l.useVedic?l.groups=pt:l.groups=ft,this.s=l,this.p=d}function Ee(r,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,l=0,d=t.decimal,u=t.errorOnInvalid,w=t.precision,m=t.fromCents,v=Ve(w),g=typeof r=="number",C=r instanceof te;if(C&&m)return r.intValue;if(g||C)l=C?r.value:r;else if(typeof r=="string"){var D=new RegExp("[^-\\d"+d+"]","g"),O=new RegExp("\\"+d,"g");l=r.replace(/\((.*)\)/,"-$1").replace(D,"").replace(O,"."),l=l||0}else{if(u)throw Error("Invalid Input");l=0}return m||(l*=v,l=l.toFixed(4)),n?$e(l):l}function ht(r,t){var n=t.pattern,l=t.negativePattern,d=t.symbol,u=t.separator,w=t.decimal,m=t.groups,v=(""+r).replace(/^-/,"").split("."),g=v[0],C=v[1];return(r.value>=0?n:l).replace("!",d).replace("#",g.replace(m,"$1"+u)+(C?w+C:""))}te.prototype={add:function(t){var n=this.intValue,l=this.s,d=this.p;return te((n+=Ee(t,l))/(l.fromCents?1:d),l)},subtract:function(t){var n=this.intValue,l=this.s,d=this.p;return te((n-=Ee(t,l))/(l.fromCents?1:d),l)},multiply:function(t){var n=this.intValue,l=this.s;return te((n*=t)/(l.fromCents?1:Ve(l.precision)),l)},divide:function(t){var n=this.intValue,l=this.s;return te(n/=Ee(t,l,!1),l)},distribute:function(t){for(var n=this.intValue,l=this.p,d=this.s,u=[],w=Math[n>=0?"floor":"ceil"](n/t),m=Math.abs(n-w*t),v=d.fromCents?1:l;t!==0;t--){var g=te(w/v,d);m-- >0&&(g=g[n>=0?"add":"subtract"](1/v)),u.push(g)}return u},dollars:function(){return~~this.value},cents:function(){var t=this.intValue,n=this.p;return~~(t%n)},format:function(t){var n=this.s;return typeof t=="function"?t(this,n):n.format(this,Object.assign({},n,t))},toString:function(){var t=this.intValue,n=this.p,l=this.s;return ut(t/n,l.increment).toFixed(l.precision)},toJSON:function(){return this.value}};function mt(r){e.append_styles(r,"svelte-lfsn3o",'*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}@keyframes growWidthPercent{from{height:0}to{height:100%}}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;background:transparent;border:none;font:inherit;color:inherit;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px;fill:black}.ShowBalance .BalanceValue span{padding-left:5px}.ShowBalance .BalanceValue .TriangleActive,.ShowBalance .BalanceValue .TriangleInactive{display:block;margin:0 3px;transition:all 0.2s}.ShowBalance .BalanceValue .TriangleActive:hover,.ShowBalance .BalanceValue .TriangleInactive:hover{transform:scale(1.2)}.ShowBalance .BalanceValue .TriangleActive svg,.ShowBalance .BalanceValue .TriangleInactive svg{margin:2px 0px}.ShowBalance .BalanceValue .TriangleActive{transform:scale(1.1) rotateX(180deg) translateY(3px)}.ShowBalance .BalanceValue .TriangleActive:hover{transform:scale(1.1) rotateX(180deg) translateY(3px)}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);position:absolute;top:40px;padding:10px;transform:translateX(-45%);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;transition:all 0.2s ease-in;opacity:0}.BalanceModalWrapper:before{content:"";background:linear-gradient(90deg, rgb(42, 79, 55) 0%, rgb(0, 61, 92) 100%);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:50%;width:25px;height:10px;z-index:1}.BalanceModalWrapper.Open{opacity:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer;transition:all 0.3s ease;background:transparent;border:none;font:inherit;opacity:0}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(45deg)}.BalanceModalClose:after{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, white));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModalClose:hover{transform:scale(1.1)}.BalanceModalClose.Open{opacity:1}.BalanceModal{transition:all 0.2s ease-in;width:270px}.BalanceModalHeader{display:flex;align-items:center;justify-content:center;padding:20px 0}.BalanceModalHeader .BalanceModalTitle{font-size:16px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalRowBoth{display:flex;flex-direction:column;gap:5px;padding:20px 0;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.BalanceModalRowBoth:last-child{border-bottom:none}.BalanceModalRowBoth .BalanceModalRowLine{display:flex;width:100%;justify-content:space-between}.BalanceModalRowBoth .BalanceModalText{color:var(--emw--header-contrast, var(--emw--color-contrast, white));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, white))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--color-primary);font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:30px;border:none;padding:10px 0;cursor:pointer;transition:all 0.2s ease-in;box-shadow:0px 3px 7px 0px rgba(0, 0, 0, 0.2)}.BalanceModalFooter .BalanceModalAction:hover{background:rgba(255, 255, 255, 0.1);color:var(--emw--color-primary);box-shadow:0px 0px 0px 2px inset var(--emw--color-primary);font-size:14px}.BalanceModalFooter .BalanceModalAction:active{background:rgba(255, 255, 255, 0.5)}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16;opacity:0;transition:all 0.2s linear}.ShowBalanceModalOverlay.Open{opacity:1}')}function Ke(r,t,n){const l=r.slice();return l[52]=t[n],l}function We(r,t,n){const l=r.slice();return l[55]=t[n],l}function gt(r){let t,n,l=(r[1].Total?r[9](r[1].Total[0].amount):"0")+"",d,u,w,m,v,g,C,D,O,L,k,R,B=r[4]&&Ye(r);return{c(){t=e.element("button"),n=e.element("p"),d=e.text(l),u=e.space(),w=e.text(r[6]),m=e.space(),v=e.element("span"),g=e.svg_element("svg"),C=e.svg_element("path"),O=e.space(),B&&B.c(),L=e.empty(),e.attr(C,"id","arrow"),e.attr(C,"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(C,"transform","translate(-274.511 -441.088)"),e.attr(C,"fill","#d1d1d1"),e.attr(g,"xmlns","http://www.w3.org/2000/svg"),e.attr(g,"width","14"),e.attr(g,"height","6.835"),e.attr(g,"viewBox","0 0 14 6.835"),e.attr(v,"class",D=r[3]?"TriangleActive":"TriangleInactive"),e.attr(t,"class","BalanceValue")},m(_,N){e.insert(_,t,N),e.append(t,n),e.append(n,d),e.append(n,u),e.append(n,w),e.append(t,m),e.append(t,v),e.append(v,g),e.append(g,C),e.insert(_,O,N),B&&B.m(_,N),e.insert(_,L,N),k||(R=e.listen(t,"click",r[26]),k=!0)},p(_,N){N[0]&2&&l!==(l=(_[1].Total?_[9](_[1].Total[0].amount):"0")+"")&&e.set_data(d,l),N[0]&64&&e.set_data(w,_[6]),N[0]&8&&D!==(D=_[3]?"TriangleActive":"TriangleInactive")&&e.attr(v,"class",D),_[4]?B?B.p(_,N):(B=Ye(_),B.c(),B.m(L.parentNode,L)):B&&(B.d(1),B=null)},d(_){_&&(e.detach(t),e.detach(O),e.detach(L)),B&&B.d(_),k=!1,R()}}}function yt(r){let t,n=r[7]("Loading")+"",l;return{c(){t=e.element("p"),l=e.text(n),e.attr(t,"class","Loading")},m(d,u){e.insert(d,t,u),e.append(t,l)},p(d,u){u[0]&128&&n!==(n=d[7]("Loading")+"")&&e.set_data(l,n)},d(d){d&&e.detach(t)}}}function Ye(r){let t,n,l,d,u,w,m,v,g=r[7]("Title")+"",C,D,O,L,k,R,B=r[7]("DepositButton")+"",_,N,E,j,ne,$,Y=e.ensure_array_like(Object.keys(r[1])),V=[];for(let x=0;x<Y.length;x+=1)V[x]=Qe(Ke(r,Y,x));return{c(){t=e.element("div"),n=e.element("button"),d=e.space(),u=e.element("div"),w=e.element("div"),m=e.element("div"),v=e.element("p"),C=e.text(g),D=e.space(),O=e.element("div");for(let x=0;x<V.length;x+=1)V[x].c();L=e.space(),k=e.element("div"),R=e.element("button"),_=e.text(B),e.attr(n,"class",l="BalanceModalClose "+(r[3]?"Open":"")),e.attr(v,"class","BalanceModalTitle"),e.attr(m,"class","BalanceModalHeader"),e.attr(O,"class","BalanceModalBody"),e.attr(R,"class","BalanceModalAction"),e.attr(k,"class","BalanceModalFooter"),e.attr(w,"class",N="ModalContent "+(r[3]?"Open":"")),e.attr(u,"class",E="BalanceModal "+(r[3]?"Open":"")),e.attr(t,"class",j="BalanceModalWrapper "+(r[3]?"Open":""))},m(x,F){e.insert(x,t,F),e.append(t,n),e.append(t,d),e.append(t,u),e.append(u,w),e.append(w,m),e.append(m,v),e.append(v,C),e.append(w,D),e.append(w,O);for(let M=0;M<V.length;M+=1)V[M]&&V[M].m(O,null);e.append(w,L),e.append(w,k),e.append(k,R),e.append(R,_),ne||($=[e.listen(n,"click",r[27]),e.listen(R,"click",r[28])],ne=!0)},p(x,F){if(F[0]&8&&l!==(l="BalanceModalClose "+(x[3]?"Open":""))&&e.attr(n,"class",l),F[0]&128&&g!==(g=x[7]("Title")+"")&&e.set_data(C,g),F[0]&706){Y=e.ensure_array_like(Object.keys(x[1]));let M;for(M=0;M<Y.length;M+=1){const z=Ke(x,Y,M);V[M]?V[M].p(z,F):(V[M]=Qe(z),V[M].c(),V[M].m(O,null))}for(;M<V.length;M+=1)V[M].d(1);V.length=Y.length}F[0]&128&&B!==(B=x[7]("DepositButton")+"")&&e.set_data(_,B),F[0]&8&&N!==(N="ModalContent "+(x[3]?"Open":""))&&e.attr(w,"class",N),F[0]&8&&E!==(E="BalanceModal "+(x[3]?"Open":""))&&e.attr(u,"class",E),F[0]&8&&j!==(j="BalanceModalWrapper "+(x[3]?"Open":""))&&e.attr(t,"class",j)},d(x){x&&e.detach(t),e.destroy_each(V,x),ne=!1,e.run_all($)}}}function Je(r){let t,n,l=r[7](r[52])+"",d,u,w=(r[55].productType?r[7](r[55].productType):"")+"",m,v,g,C,D=(r[55].amount?r[9](r[55].amount):"0")+"",O,L,k,R;return{c(){t=e.element("div"),n=e.element("p"),d=e.text(l),u=e.space(),m=e.text(w),v=e.space(),g=e.element("p"),C=e.element("span"),O=e.text(D),L=e.space(),k=e.element("span"),R=e.text(r[6]),e.attr(n,"class","BalanceModalText"),e.attr(C,"class","BalanceModalAmount"),e.attr(k,"class","BalanceModalCurrency"),e.attr(g,"class","BalanceModalValue"),e.attr(t,"class","BalanceModalRowLine")},m(B,_){e.insert(B,t,_),e.append(t,n),e.append(n,d),e.append(n,u),e.append(n,m),e.append(t,v),e.append(t,g),e.append(g,C),e.append(C,O),e.append(g,L),e.append(g,k),e.append(k,R)},p(B,_){_[0]&130&&l!==(l=B[7](B[52])+"")&&e.set_data(d,l),_[0]&130&&w!==(w=(B[55].productType?B[7](B[55].productType):"")+"")&&e.set_data(m,w),_[0]&2&&D!==(D=(B[55].amount?B[9](B[55].amount):"0")+"")&&e.set_data(O,D),_[0]&64&&e.set_data(R,B[6])},d(B){B&&e.detach(t)}}}function Qe(r){let t,n,l=e.ensure_array_like(r[1][r[52]]),d=[];for(let u=0;u<l.length;u+=1)d[u]=Je(We(r,l,u));return{c(){t=e.element("div");for(let u=0;u<d.length;u+=1)d[u].c();n=e.space(),e.attr(t,"class","BalanceModalRowBoth")},m(u,w){e.insert(u,t,w);for(let m=0;m<d.length;m+=1)d[m]&&d[m].m(t,null);e.append(t,n)},p(u,w){if(w[0]&706){l=e.ensure_array_like(u[1][u[52]]);let m;for(m=0;m<l.length;m+=1){const v=We(u,l,m);d[m]?d[m].p(v,w):(d[m]=Je(v),d[m].c(),d[m].m(t,n))}for(;m<d.length;m+=1)d[m].d(1);d.length=l.length}},d(u){u&&e.detach(t),e.destroy_each(d,u)}}}function Ze(r){let t,n,l;return{c(){t=e.element("button"),e.attr(t,"class","ShowBalanceModalOverlay")},m(d,u){e.insert(d,t,u),n||(l=e.listen(t,"click",r[29]),n=!0)},p:e.noop,d(d){d&&e.detach(t),n=!1,l()}}}function vt(r){let t,n,l,d;function u(g,C){return g[2]?yt:gt}let w=u(r),m=w(r),v=r[4]&&Ze(r);return{c(){t=e.element("div"),n=e.element("div"),m.c(),d=e.space(),v&&v.c(),e.attr(n,"class",l="ShowBalance "+(r[5]?"Mobile":""))},m(g,C){e.insert(g,t,C),e.append(t,n),m.m(n,null),e.append(t,d),v&&v.m(t,null),r[30](t)},p(g,C){w===(w=u(g))&&m?m.p(g,C):(m.d(1),m=w(g),m&&(m.c(),m.m(n,null))),C[0]&32&&l!==(l="ShowBalance "+(g[5]?"Mobile":""))&&e.attr(n,"class",l),g[4]?v?v.p(g,C):(v=Ze(g),v.c(),v.m(t,null)):v&&(v.d(1),v=null)},i:e.noop,o:e.noop,d(g){g&&e.detach(t),m.d(),v&&v.d(),r[30](null)}}}function wt(r,t,n){let l;e.component_subscribe(r,e.$format,a=>n(7,l=a));let{userid:d=""}=t,{session:u=""}=t,{endpoint:w=""}=t,{lang:m="en"}=t,{mbsource:v}=t,{clientstyling:g=""}=t,{clientstylingurl:C=""}=t,{translationurl:D=""}=t,{customlocaleidentifier:O=""}=t,{gmversion:L="gm16"}=t,{displaybalanceoption:k="All"}=t,{totalcalculationmode:R="totalCashAmount"}=t,{currencyseparator:B=""}=t,{currencydecimal:_=""}=t,{currencyprecision:N=""}=t,E,j=!0,ne=!1,$=!1,Y=!1,V=!1,x=window.navigator.userAgent,F,M="",z=[],ce;const h={},de=["totalCashAmount","totalRealAmount"],ve=()=>{fetch(D).then(a=>a.json()).then(a=>Object.keys(a).forEach(i=>Ge(i,a[i]))).catch(a=>console.log(a))};Object.keys(qe).forEach(a=>Ge(a,qe[a]));const K=a=>{switch(a){case"balance":window.postMessage({type:"BalanceModalStatus",status:"open"},window.location.href),n(4,Y=!0),setTimeout(()=>n(3,ne=!0),150);break;case"closebalance":n(3,ne=!1),window.postMessage({type:"BalanceModalStatus",status:"close"},window.location.href),setTimeout(()=>{n(4,Y=!1)},150);break}},oe=()=>{if(O.includes(m))return O},fe=a=>O?new Intl.NumberFormat(oe(),{useGrouping:!0}).format(a):B&&_?te(a,{separator:B,decimal:_,symbol:"",precision:parseInt(N||"2",10)}).format():te(a,{separator:".",decimal:",",symbol:"",precision:parseInt(N||"2",10)}).format(),we=()=>Xe(this,null,function*(){var i,p,s;n(2,j=!0);const a=new URL(`${w}/v1/player/${d}/account`);try{const y=yield fetch(a,{method:"GET",headers:{"X-SessionID":u}}),S=yield y.json();if(y.ok)window.postMessage({type:"BalancedFetched"},window.location.href),z=S.items,n(6,M=(i=z.find(c=>c.displayName==="Casino"))==null?void 0:i.currency),n(1,h.Total=[{amount:S.totalAmount[M]}],h),n(1,h.Real=[{amount:(p=z.find(c=>c.displayName==="Casino"))==null?void 0:p.balanceAmount}],h),n(1,h.Bonus=[{amount:(s=z.find(c=>c.displayName==="UBS"))==null?void 0:s.balanceAmount}],h);else throw new Error("Failed to fetch balance data !")}catch(y){console.log("Balance error: ",y)}finally{n(2,j=!1)}}),ae=()=>{n(2,j=!0);const a=new URL(`${w}/v2/player/${d}/balance`),i=new Headers;i.append("X-SessionID",u),fetch(a,{method:"GET",headers:i}).then(s=>s.json()).then(s=>{s[R]||n(11,R=de[0]);const y=s.items.find(c=>c.type==="Real"&&c.walletAccountType==="Ordinary");if(n(6,M=y.currency),$=!!y.productType,n(1,h.Total=[{amount:0}],h),n(1,h.Real=[],h),n(1,h.Bonus=[],h),n(1,h.Credit=[],h),!$){ce={lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},n(1,h.Total[0].amount=s[R][M],h);for(const c of s.items)switch(c.type){case"Bonus":h.Bonus.length===0?h.Bonus.push({amount:c.amount}):n(1,h.Bonus[0].amount+=c.amount,h);break;case"Real":if(c.creditLine&&h.Credit.length===0&&h.Credit.push({amount:c.creditLine}),R==="totalRealAmount")continue;h.Real.length===0?h.Real.push({amount:c.amount}):n(1,h.Real[0].amount+=c.amount,h);break}for(const[c,T]of Object.entries(h))T.length<1&&delete h[c];n(2,j=!1);return}ce={Casino:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},Sports:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1}};let S=s.items;k&&k!=="All"&&(S=s.items.filter(c=>c.productType===k));for(const c of S){let T;switch(c.type){case"Bonus":T=h.Bonus.findIndex(A=>A.productType===c.productType),T>0?n(1,h.Bonus[T].amount+=c.amount,h):h.Bonus.push({amount:c.amount,productType:c.productType});break;case"Real":c.creditLine&&h.Credit.push({amount:c.creditLine,productType:c.productType}),T=h.Real.findIndex(A=>A.productType===c.productType),T>0?n(1,h.Real[T].amount+=c.amount,h):h.Real.push({amount:c.amount,productType:c.productType});break}}_e();for(const[c,T]of Object.entries(h))T.length<1&&delete h[c];n(2,j=!1)}).catch(s=>{throw n(2,j=!1),console.log("Balance fetch error",s),new Error("Failed to fetch balance data!")})},pe=()=>{if(F&&F.close(),u.length<1)return;let a,i;switch(L){case"gm16":a=new URL(`${w}/v2/player/${d}/information/updates`),i=y=>De(y);break;case"gmcore":a=new URL(`${w}/v1/player/${d}/balance/updates`),i=y=>Me(y);break}const p={accept:"text/event-stream","X-SessionId":u},s=new ct.EventSourcePolyfill(a,{headers:p});F=s,s.addEventListener("message",i)},be=a=>{let i;try{i=JSON.parse(a)}catch(p){console.log("Balance stream failed: ",p);return}return i},Me=a=>{var y,S;const i=be(a.data);if(!i){pe();return}let p="0";const s=i.balanceChange;z=z.map(c=>(s&&s[c.id]&&(c=Pe(Ue({},c),{balanceAmount:s[c.id].afterAmount})),p=(parseFloat(c==null?void 0:c.balanceAmount)+parseFloat(p)).toString(),c)),n(1,h.Real=[{amount:(y=z[0])==null?void 0:y.balanceAmount}],h),n(1,h.Bonus=[{amount:(S=z[1])==null?void 0:S.balanceAmount}],h),n(1,h.Total=[{amount:Number(p)}],h)},Be=(a,i,p)=>{let s=null;switch(p.walletAccountType){case"Ordinary":(p.afterAmount!==p.affectedAmount||i.lastOrdinaryAfterAmount===0)&&(i.lastOrdinaryAfterAmount=p.afterAmount,i.showCreditLineAfterAmount||(s=p.afterAmount));break;case"CreditLine":p.afterAmount!==0?(s=p.afterAmount,i.showCreditLineAfterAmount=!0):(s=i.lastOrdinaryAfterAmount,i.showCreditLineAfterAmount=!1);break;default:s=p.afterAmount}return s===null?a:s},_e=()=>{switch(R){case"totalCashAmount":let a=0;for(const p of["Real","Bonus"])for(const s of h[p])a+=Math.max(s.amount,0);n(1,h.Total[0].amount=a,h);break;case"totalRealAmount":if(!$)return;let i=0;for(const p of h.Real)i+=p.amount;n(1,h.Total[0].amount=i,h)}},De=a=>{const i=be(a.data);if(!i){pe();return}if(i.type!=="BALANCE_UPDATE_V2")return;const p=i.body.balanceChange;for(const[s,y]of Object.entries(p))if(R==="totalRealAmount"&&s==="Real"&&!$&&n(1,h.Total[0].amount=Be(h.Total[0].amount,ce,y),h),!!h[s])for(const S of h[s]){if(!$){S.amount=s==="Real"?Be(S.amount,ce,y):y.afterAmount;continue}y.productType===S.productType&&(S.amount=s==="Real"?Be(S.amount,ce[S.productType],y):y.afterAmount)}_e()},me=()=>{K("closebalance"),window.postMessage({type:"GoToDeposit"},window.location.href),typeof gtag=="function"&&gtag("event","GoToDeposit",{context:"PlayerAccountBalanceModal"})},Te=()=>{de.includes(R)||(console.error(`Unsupported value ('${R}') for totalcalculationmode parameter. Only the following values are supported ${de}. Using default value ('${de[0]}').`),n(11,R=de[0]))},ue=()=>{switch(st(m),Te(),L){case"gmcore":we();break;case"gm16":ae();break;default:throw Error(`Invalid apiversion attribute: ${L}`)}},W=a=>a.data&&a.data.type==="LogoutSuccessfull"&&F.close(),Oe=()=>{window.postMessage({type:"UpdateBalanceBackground"},window.location.href)};e.onMount(()=>(window.addEventListener("message",W,!1),n(5,V=e.isMobile(x)),()=>{window.removeEventListener("message",W),F&&F.close()}));const Le=()=>K("balance"),ke=()=>K("closebalance"),Ae=()=>me(),o=()=>K("closeBalance");function f(a){e.binding_callbacks[a?"unshift":"push"](()=>{E=a,n(0,E)})}return r.$$set=a=>{"userid"in a&&n(12,d=a.userid),"session"in a&&n(13,u=a.session),"endpoint"in a&&n(14,w=a.endpoint),"lang"in a&&n(15,m=a.lang),"mbsource"in a&&n(16,v=a.mbsource),"clientstyling"in a&&n(17,g=a.clientstyling),"clientstylingurl"in a&&n(18,C=a.clientstylingurl),"translationurl"in a&&n(19,D=a.translationurl),"customlocaleidentifier"in a&&n(20,O=a.customlocaleidentifier),"gmversion"in a&&n(21,L=a.gmversion),"displaybalanceoption"in a&&n(22,k=a.displaybalanceoption),"totalcalculationmode"in a&&n(11,R=a.totalcalculationmode),"currencyseparator"in a&&n(23,B=a.currencyseparator),"currencydecimal"in a&&n(24,_=a.currencydecimal),"currencyprecision"in a&&n(25,N=a.currencyprecision)},r.$$.update=()=>{r.$$.dirty[0]&32768&&m&&oe(),r.$$.dirty[0]&6352896&&w&&d&&u&&m&&L&&k&&ue(),r.$$.dirty[0]&2125824&&w&&d&&u&&L&&pe(),r.$$.dirty[0]&524288&&D&&ve(),r.$$.dirty[0]&2&&h.Total&&Oe(),r.$$.dirty[0]&131073&&g&&E&&e.setClientStyling(E,g),r.$$.dirty[0]&262145&&C&&E&&e.setClientStylingURL(E,C),r.$$.dirty[0]&65537&&v&&E&&e.setStreamStyling(E,`${v}.Style`)},[E,h,j,ne,Y,V,M,l,K,fe,me,R,d,u,w,m,v,g,C,D,O,L,k,B,_,N,Le,ke,Ae,o,f]}class et extends e.SvelteComponent{constructor(t){super(),e.init(this,t,wt,vt,e.safe_not_equal,{userid:12,session:13,endpoint:14,lang:15,mbsource:16,clientstyling:17,clientstylingurl:18,translationurl:19,customlocaleidentifier:20,gmversion:21,displaybalanceoption:22,totalcalculationmode:11,currencyseparator:23,currencydecimal:24,currencyprecision:25},mt,[-1,-1])}get userid(){return this.$$.ctx[12]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[13]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[14]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get lang(){return this.$$.ctx[15]}set lang(t){this.$$set({lang:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[17]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[18]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[19]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get customlocaleidentifier(){return this.$$.ctx[20]}set customlocaleidentifier(t){this.$$set({customlocaleidentifier:t}),e.flush()}get gmversion(){return this.$$.ctx[21]}set gmversion(t){this.$$set({gmversion:t}),e.flush()}get displaybalanceoption(){return this.$$.ctx[22]}set displaybalanceoption(t){this.$$set({displaybalanceoption:t}),e.flush()}get totalcalculationmode(){return this.$$.ctx[11]}set totalcalculationmode(t){this.$$set({totalcalculationmode:t}),e.flush()}get currencyseparator(){return this.$$.ctx[23]}set currencyseparator(t){this.$$set({currencyseparator:t}),e.flush()}get currencydecimal(){return this.$$.ctx[24]}set currencydecimal(t){this.$$set({currencydecimal:t}),e.flush()}get currencyprecision(){return this.$$.ctx[25]}set currencyprecision(t){this.$$set({currencyprecision:t}),e.flush()}}e.create_custom_element(et,{userid:{},session:{},endpoint:{},lang:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},customlocaleidentifier:{},gmversion:{},displaybalanceoption:{},totalcalculationmode:{},currencyseparator:{},currencydecimal:{},currencyprecision:{}},[],[],!0);exports.default=et;
@@ -1,11 +1,11 @@
1
- import { b as J, $ as K, S as V, i as X, s as Z, f as y, d as $, z as P, g as S, D as L, O as U, m as x, n as h, p as M, q as E, E as C, r as d, v as ee, I as te, w as ie, o as se, F as k, A as ae, B as j, K as re, L as ne, M as oe, c as le, J as ce } from "./CasinoHamburgerMenuNd-CRHTyzLa.js";
2
- function W(s, e) {
1
+ import { b as J, $ as V, S as X, i as Z, f as y, c as K, s as $, d as ee, g as M, h as L, B as C, j as d, O as P, l as S, m as h, C as E, D as U, r as x, v as te, M as ie, w as se, z as k, n as ae, F as re, G as ne, H as oe, I as le, J as A, L as ce } from "./CasinoHamburgerMenuNd-D_l-_9wt.js";
2
+ function H(s, e) {
3
3
  J(s, e);
4
4
  }
5
5
  function de(s) {
6
- K.set(s);
6
+ V.set(s);
7
7
  }
8
- const H = {
8
+ const W = {
9
9
  en: {
10
10
  titleDeposit: "Deposit",
11
11
  loading: "Loading, please wait ..."
@@ -48,7 +48,7 @@ const H = {
48
48
  }
49
49
  };
50
50
  function ue(s) {
51
- $(s, "svelte-1hczjj2", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
51
+ ee(s, "svelte-1hczjj2", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}");
52
52
  }
53
53
  function he(s) {
54
54
  let e, i, n, a, l, m, c, p, w, o, r = (
@@ -57,10 +57,10 @@ function he(s) {
57
57
  ), u, b, _;
58
58
  return {
59
59
  c() {
60
- e = M("div"), i = k("svg"), n = k("defs"), a = k("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), p = k("path"), w = E(), o = M("h2"), u = C(r), d(p, "class", "aaa"), d(p, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(p, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "15"), d(i, "viewBox", "0 0 15 15"), d(o, "class", "DepositTitleMobile"), d(e, "class", "MenuReturnButton");
60
+ e = M("div"), i = k("svg"), n = k("defs"), a = k("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = k("g"), c = k("g"), p = k("path"), w = L(), o = M("h2"), u = C(r), d(p, "class", "aaa"), d(p, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(p, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(m, "transform", "translate(-20 -158)"), d(i, "xmlns", "http://www.w3.org/2000/svg"), d(i, "width", "15"), d(i, "height", "15"), d(i, "viewBox", "0 0 15 15"), d(o, "class", "DepositTitleMobile"), d(e, "class", "MenuReturnButton");
61
61
  },
62
62
  m(f, g) {
63
- x(f, e, g), h(e, i), h(i, n), h(n, a), h(a, l), h(i, m), h(m, c), h(c, p), h(e, w), h(e, o), h(o, u), b || (_ = se(
63
+ S(f, e, g), h(e, i), h(i, n), h(n, a), h(a, l), h(i, m), h(m, c), h(c, p), h(e, w), h(e, o), h(o, u), b || (_ = ae(
64
64
  e,
65
65
  "click",
66
66
  /*click_handler*/
@@ -70,10 +70,10 @@ function he(s) {
70
70
  p(f, g) {
71
71
  g & /*$_*/
72
72
  16 && r !== (r = /*$_*/
73
- f[4]("titleDeposit") + "") && L(u, r);
73
+ f[4]("titleDeposit") + "") && E(u, r);
74
74
  },
75
75
  d(f) {
76
- f && S(e), b = !1, _();
76
+ f && x(e), b = !1, _();
77
77
  }
78
78
  };
79
79
  }
@@ -81,19 +81,19 @@ function pe(s) {
81
81
  let e, i, n;
82
82
  return {
83
83
  c() {
84
- e = M("div"), i = M("iframe"), j(i.src, n = /*iframeUrl*/
84
+ e = M("div"), i = M("iframe"), A(i.src, n = /*iframeUrl*/
85
85
  s[3]) || d(i, "src", n), d(i, "title", "Deposit Iframe"), d(e, "class", "DepositIframeWrapper");
86
86
  },
87
87
  m(a, l) {
88
- x(a, e, l), h(e, i);
88
+ S(a, e, l), h(e, i);
89
89
  },
90
90
  p(a, l) {
91
91
  l & /*iframeUrl*/
92
- 8 && !j(i.src, n = /*iframeUrl*/
92
+ 8 && !A(i.src, n = /*iframeUrl*/
93
93
  a[3]) && d(i, "src", n);
94
94
  },
95
95
  d(a) {
96
- a && S(e);
96
+ a && x(e);
97
97
  }
98
98
  };
99
99
  }
@@ -107,15 +107,15 @@ function ge(s) {
107
107
  e = M("p"), n = C(i);
108
108
  },
109
109
  m(a, l) {
110
- x(a, e, l), h(e, n);
110
+ S(a, e, l), h(e, n);
111
111
  },
112
112
  p(a, l) {
113
113
  l & /*$_*/
114
114
  16 && i !== (i = /*$_*/
115
- a[4]("loading") + "") && L(n, i);
115
+ a[4]("loading") + "") && E(n, i);
116
116
  },
117
117
  d(a) {
118
- a && S(e);
118
+ a && x(e);
119
119
  }
120
120
  };
121
121
  }
@@ -136,9 +136,9 @@ function me(s) {
136
136
  let w = p(s), o = w(s);
137
137
  return {
138
138
  c() {
139
- e = M("div"), c && c.c(), i = E(), n = M("h2"), l = C(a), m = E(), o.c(), d(n, "class", "DepositTitle " + /*isMobile*/
139
+ e = M("div"), c && c.c(), i = L(), n = M("h2"), l = C(a), m = L(), o.c(), d(n, "class", "DepositTitle " + /*isMobile*/
140
140
  (s[5] ? "DepositTitleNone" : "")), d(e, "class", "DepositWrapper " + /*isMobile*/
141
- (s[5] ? "DepositWrapperMobile" : "")), U(
141
+ (s[5] ? "DepositWrapperMobile" : "")), P(
142
142
  e,
143
143
  "--dynamic-height",
144
144
  /*dynamicHeight*/
@@ -146,44 +146,44 @@ function me(s) {
146
146
  );
147
147
  },
148
148
  m(r, u) {
149
- x(r, e, u), c && c.m(e, null), h(e, i), h(e, n), h(n, l), h(e, m), o.m(e, null), s[19](e);
149
+ S(r, e, u), c && c.m(e, null), h(e, i), h(e, n), h(n, l), h(e, m), o.m(e, null), s[19](e);
150
150
  },
151
151
  p(r, [u]) {
152
152
  /*isMobile*/
153
153
  r[5] && c.p(r, u), u & /*$_*/
154
154
  16 && a !== (a = /*$_*/
155
- r[4]("titleDeposit") + "") && L(l, a), w === (w = p(r)) && o ? o.p(r, u) : (o.d(1), o = w(r), o && (o.c(), o.m(e, null))), u & /*dynamicHeight*/
156
- 4 && U(
155
+ r[4]("titleDeposit") + "") && E(l, a), w === (w = p(r)) && o ? o.p(r, u) : (o.d(1), o = w(r), o && (o.c(), o.m(e, null))), u & /*dynamicHeight*/
156
+ 4 && P(
157
157
  e,
158
158
  "--dynamic-height",
159
159
  /*dynamicHeight*/
160
160
  r[2]
161
161
  );
162
162
  },
163
- i: P,
164
- o: P,
163
+ i: U,
164
+ o: U,
165
165
  d(r) {
166
- r && S(e), c && c.d(), o.d(), s[19](null);
166
+ r && x(e), c && c.d(), o.d(), s[19](null);
167
167
  }
168
168
  };
169
169
  }
170
170
  function fe(s, e, i) {
171
171
  let n, a;
172
- ee(s, ce, (t) => i(4, a = t));
173
- let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: u = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = te(G) !== "PC", B = !0, I, T = 0, z = "";
172
+ te(s, ce, (t) => i(4, a = t));
173
+ let { endpoint: l = "" } = e, { session: m = "" } = e, { playerid: c = "" } = e, { lang: p = "en" } = e, { hasdefaultamount: w = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: u = "" } = e, { currency: b = "" } = e, { mbsource: _ } = e, { shortcashierenabled: f = "false" } = e, g, G = window.navigator.userAgent, R = ie(G) !== "PC", B = !0, I, T = 0, j = "";
174
174
  const N = () => {
175
175
  fetch(u).then((D) => D.json()).then((D) => {
176
176
  Object.keys(D).forEach((v) => {
177
- W(v, D[v]);
177
+ H(v, D[v]);
178
178
  });
179
179
  }).catch((D) => {
180
180
  console.log(D);
181
181
  });
182
182
  };
183
- Object.keys(H).forEach((t) => {
184
- W(t, H[t]);
183
+ Object.keys(W).forEach((t) => {
184
+ H(t, W[t]);
185
185
  });
186
- const A = () => {
186
+ const z = () => {
187
187
  window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
188
188
  }, F = (t) => {
189
189
  if (t.data) {
@@ -242,7 +242,7 @@ function fe(s, e, i) {
242
242
  };
243
243
  fetch(t.href, D).then((v) => v.json()).then(
244
244
  (v) => {
245
- i(1, B = !1), i(3, z = v.CashierUrl);
245
+ i(1, B = !1), i(3, j = v.CashierUrl);
246
246
  },
247
247
  (v) => {
248
248
  console.error(v);
@@ -251,12 +251,12 @@ function fe(s, e, i) {
251
251
  }, q = () => {
252
252
  de(p);
253
253
  };
254
- ie(() => (window.addEventListener("message", F, !1), () => {
254
+ se(() => (window.addEventListener("message", F, !1), () => {
255
255
  window.removeEventListener("message", F);
256
256
  }));
257
- const Q = () => A();
257
+ const Q = () => z();
258
258
  function Y(t) {
259
- ae[t ? "unshift" : "push"](() => {
259
+ re[t ? "unshift" : "push"](() => {
260
260
  g = t, i(0, g);
261
261
  });
262
262
  }
@@ -266,19 +266,19 @@ function fe(s, e, i) {
266
266
  s.$$.dirty & /*lang*/
267
267
  2048 && p && q(), s.$$.dirty & /*shortcashierenabled*/
268
268
  131072 && (n = f.toLocaleLowerCase() === "true"), s.$$.dirty & /*clientstyling, customStylingContainer*/
269
- 8193 && o && g && re(g, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
270
- 16385 && r && g && ne(g, r), s.$$.dirty & /*mbsource, customStylingContainer*/
271
- 65537 && _ && g && oe(g, `${_}.Style`), s.$$.dirty & /*translationurl*/
269
+ 8193 && o && g && ne(g, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
270
+ 16385 && r && g && oe(g, r), s.$$.dirty & /*mbsource, customStylingContainer*/
271
+ 65537 && _ && g && le(g, `${_}.Style`), s.$$.dirty & /*translationurl*/
272
272
  32768 && u && N(), s.$$.dirty & /*session, playerid, endpoint, currency, lang, shortcashierenabled*/
273
273
  135040 && m && c && l && b && p && f && O();
274
274
  }, [
275
275
  g,
276
276
  B,
277
277
  I,
278
- z,
278
+ j,
279
279
  a,
280
280
  R,
281
- A,
281
+ z,
282
282
  b,
283
283
  l,
284
284
  m,
@@ -294,14 +294,14 @@ function fe(s, e, i) {
294
294
  Y
295
295
  ];
296
296
  }
297
- class we extends V {
297
+ class we extends X {
298
298
  constructor(e) {
299
- super(), X(
299
+ super(), Z(
300
300
  this,
301
301
  e,
302
302
  fe,
303
303
  me,
304
- Z,
304
+ $,
305
305
  {
306
306
  endpoint: 8,
307
307
  session: 9,
@@ -385,7 +385,7 @@ class we extends V {
385
385
  this.$$set({ shortcashierenabled: e }), y();
386
386
  }
387
387
  }
388
- le(we, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
388
+ K(we, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
389
389
  export {
390
390
  we as default
391
391
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-BMOc3TVZ.cjs");function T(n,t){e.addMessages(n,t)}function z(n){e.$locale.set(n)}const E={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function A(n){e.append_styles(n,"svelte-1hczjj2","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}")}function F(n){let t,a,o,r,c,m,d,p,f,l,s=n[4]("titleDeposit")+"",u,y,D;return{c(){t=e.element("div"),a=e.svg_element("svg"),o=e.svg_element("defs"),r=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),d=e.svg_element("g"),p=e.svg_element("path"),f=e.space(),l=e.element("h2"),u=e.text(s),e.attr(p,"class","aaa"),e.attr(p,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(l,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(g,h){e.insert(g,t,h),e.append(t,a),e.append(a,o),e.append(o,r),e.append(r,c),e.append(a,m),e.append(m,d),e.append(d,p),e.append(t,f),e.append(t,l),e.append(l,u),y||(D=e.listen(t,"click",n[18]),y=!0)},p(g,h){h&16&&s!==(s=g[4]("titleDeposit")+"")&&e.set_data(u,s)},d(g){g&&e.detach(t),y=!1,D()}}}function H(n){let t,a,o;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,o=n[3])||e.attr(a,"src",o),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(r,c){e.insert(r,t,c),e.append(t,a)},p(r,c){c&8&&!e.src_url_equal(a.src,o=r[3])&&e.attr(a,"src",o)},d(r){r&&e.detach(t)}}}function W(n){let t,a=n[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,o)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function G(n){let t,a,o,r=n[4]("titleDeposit")+"",c,m,d=n[5]&&F(n);function p(s,u){return s[1]?W:H}let f=p(n),l=f(n);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),o=e.element("h2"),c=e.text(r),m=e.space(),l.c(),e.attr(o,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,u){e.insert(s,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,o),e.append(o,c),e.append(t,m),l.m(t,null),n[19](t)},p(s,[u]){s[5]&&d.p(s,u),u&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=p(s))&&l?l.p(s,u):(l.d(1),l=f(s),l&&(l.c(),l.m(t,null))),u&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),d&&d.d(),l.d(),n[19](null)}}}function N(n,t,a){let o,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:p="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:l=""}=t,{clientstylingurl:s=""}=t,{translationurl:u=""}=t,{currency:y=""}=t,{mbsource:D}=t,{shortcashierenabled:g="false"}=t,h,R=window.navigator.userAgent,v=e.getDevice(R)!=="PC",M=!0,k,_=0,C="";const B=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{T(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(E).forEach(i=>{T(i,E[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},x=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,y=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,k=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},P=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",p),o&&i.searchParams.append("isShortCashier",g),f)switch(y){case"USD":_=.4;break;case"CDF":_=1e3;break}let w={method:"POST",headers:{"X-SessionId":m,currency:y||"EUR",amount:_,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(i.href,w).then(b=>b.json()).then(b=>{a(1,M=!1),a(3,C=b.CashierUrl)},b=>{console.error(b)})},j=()=>{z(p)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const I=()=>S();function U(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,a(0,h)})}return n.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,d=i.playerid),"lang"in i&&a(11,p=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,l=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,u=i.translationurl),"currency"in i&&a(7,y=i.currency),"mbsource"in i&&a(16,D=i.mbsource),"shortcashierenabled"in i&&a(17,g=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&p&&j(),n.$$.dirty&131072&&(o=g.toLocaleLowerCase()==="true"),n.$$.dirty&8193&&l&&h&&e.setClientStyling(h,l),n.$$.dirty&16385&&s&&h&&e.setClientStylingURL(h,s),n.$$.dirty&65537&&D&&h&&e.setStreamStyling(h,`${D}.Style`),n.$$.dirty&32768&&u&&B(),n.$$.dirty&135040&&m&&d&&c&&y&&p&&g&&P()},[h,M,k,C,r,v,S,y,c,m,d,p,f,l,s,u,D,g,I,U]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,G,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,currency:7,mbsource:16,shortcashierenabled:17},A)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(L,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},mbsource:{},shortcashierenabled:{}},[],[],!0);exports.default=L;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoHamburgerMenuNd-CZ6VNaW1.cjs");function T(n,t){e.addMessages(n,t)}function z(n){e.$locale.set(n)}const E={en:{titleDeposit:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{titleDeposit:"訂金",loading:"加載請稍候…"},fr:{titleDeposit:"Dépôt",loading:"Chargement, veuillez patienter ..."},tr:{titleDeposit:"PARA YATIR",loading:"Yükleniyor ..."},ro:{titleDeposit:"Depunere",loading:"Se încarcă..."},es:{titleDeposit:"Deposita",loading:"Cargando ..."},pt:{titleDeposit:"Depósito",loading:"Carregando, por favor espere ..."},hr:{titleDeposit:"Uplata",loading:"Učitavanje"},"pt-br":{titleDeposit:"Depositar",Loading:"Carregando, por favor espere..."},"es-mx":{titleDeposit:"Depositar",Loading:"Cargando, por favor espere..."}};function A(n){e.append_styles(n,"svelte-1hczjj2","button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 10px)}")}function F(n){let t,a,o,r,c,m,d,p,f,l,s=n[4]("titleDeposit")+"",u,y,D;return{c(){t=e.element("div"),a=e.svg_element("svg"),o=e.svg_element("defs"),r=e.svg_element("style"),c=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),m=e.svg_element("g"),d=e.svg_element("g"),p=e.svg_element("path"),f=e.space(),l=e.element("h2"),u=e.text(s),e.attr(p,"class","aaa"),e.attr(p,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(p,"transform","translate(15 15) rotate(180)"),e.attr(d,"transform","translate(20 158)"),e.attr(m,"transform","translate(-20 -158)"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(a,"width","15"),e.attr(a,"height","15"),e.attr(a,"viewBox","0 0 15 15"),e.attr(l,"class","DepositTitleMobile"),e.attr(t,"class","MenuReturnButton")},m(g,h){e.insert(g,t,h),e.append(t,a),e.append(a,o),e.append(o,r),e.append(r,c),e.append(a,m),e.append(m,d),e.append(d,p),e.append(t,f),e.append(t,l),e.append(l,u),y||(D=e.listen(t,"click",n[18]),y=!0)},p(g,h){h&16&&s!==(s=g[4]("titleDeposit")+"")&&e.set_data(u,s)},d(g){g&&e.detach(t),y=!1,D()}}}function H(n){let t,a,o;return{c(){t=e.element("div"),a=e.element("iframe"),e.src_url_equal(a.src,o=n[3])||e.attr(a,"src",o),e.attr(a,"title","Deposit Iframe"),e.attr(t,"class","DepositIframeWrapper")},m(r,c){e.insert(r,t,c),e.append(t,a)},p(r,c){c&8&&!e.src_url_equal(a.src,o=r[3])&&e.attr(a,"src",o)},d(r){r&&e.detach(t)}}}function W(n){let t,a=n[4]("loading")+"",o;return{c(){t=e.element("p"),o=e.text(a)},m(r,c){e.insert(r,t,c),e.append(t,o)},p(r,c){c&16&&a!==(a=r[4]("loading")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function G(n){let t,a,o,r=n[4]("titleDeposit")+"",c,m,d=n[5]&&F(n);function p(s,u){return s[1]?W:H}let f=p(n),l=f(n);return{c(){t=e.element("div"),d&&d.c(),a=e.space(),o=e.element("h2"),c=e.text(r),m=e.space(),l.c(),e.attr(o,"class","DepositTitle "+(n[5]?"DepositTitleNone":"")),e.attr(t,"class","DepositWrapper "+(n[5]?"DepositWrapperMobile":"")),e.set_style(t,"--dynamic-height",n[2])},m(s,u){e.insert(s,t,u),d&&d.m(t,null),e.append(t,a),e.append(t,o),e.append(o,c),e.append(t,m),l.m(t,null),n[19](t)},p(s,[u]){s[5]&&d.p(s,u),u&16&&r!==(r=s[4]("titleDeposit")+"")&&e.set_data(c,r),f===(f=p(s))&&l?l.p(s,u):(l.d(1),l=f(s),l&&(l.c(),l.m(t,null))),u&4&&e.set_style(t,"--dynamic-height",s[2])},i:e.noop,o:e.noop,d(s){s&&e.detach(t),d&&d.d(),l.d(),n[19](null)}}}function N(n,t,a){let o,r;e.component_subscribe(n,e.$format,i=>a(4,r=i));let{endpoint:c=""}=t,{session:m=""}=t,{playerid:d=""}=t,{lang:p="en"}=t,{hasdefaultamount:f=""}=t,{clientstyling:l=""}=t,{clientstylingurl:s=""}=t,{translationurl:u=""}=t,{currency:y=""}=t,{mbsource:D}=t,{shortcashierenabled:g="false"}=t,h,R=window.navigator.userAgent,v=e.getDevice(R)!=="PC",M=!0,k,_=0,C="";const B=()=>{fetch(u).then(w=>w.json()).then(w=>{Object.keys(w).forEach(b=>{T(b,w[b])})}).catch(w=>{console.log(w)})};Object.keys(E).forEach(i=>{T(i,E[i])});const S=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},x=i=>{if(i.data){switch(i.data.type){case"ProfileDetailsData":a(7,y=i.data.profileDetails.currency);break}switch(i.data["MMFE:setQuickDepositHeight"]&&a(2,k=i.data["MMFE:setQuickDepositHeight"].toString()+"px"),i.data["MMFE:openFullCashier"]==="true"&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),i.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href);break}}},P=()=>{let i=new URL(`${c}/v1/player/${d}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(i.searchParams.append("language",p),o&&i.searchParams.append("isShortCashier",g),f)switch(y){case"USD":_=.4;break;case"CDF":_=1e3;break}let w={method:"POST",headers:{"X-SessionId":m,currency:y||"EUR",amount:_,cashierMode:"Default",IsShortCashier:g,accept:"application/json"}};fetch(i.href,w).then(b=>b.json()).then(b=>{a(1,M=!1),a(3,C=b.CashierUrl)},b=>{console.error(b)})},j=()=>{z(p)};e.onMount(()=>(window.addEventListener("message",x,!1),()=>{window.removeEventListener("message",x)}));const I=()=>S();function U(i){e.binding_callbacks[i?"unshift":"push"](()=>{h=i,a(0,h)})}return n.$$set=i=>{"endpoint"in i&&a(8,c=i.endpoint),"session"in i&&a(9,m=i.session),"playerid"in i&&a(10,d=i.playerid),"lang"in i&&a(11,p=i.lang),"hasdefaultamount"in i&&a(12,f=i.hasdefaultamount),"clientstyling"in i&&a(13,l=i.clientstyling),"clientstylingurl"in i&&a(14,s=i.clientstylingurl),"translationurl"in i&&a(15,u=i.translationurl),"currency"in i&&a(7,y=i.currency),"mbsource"in i&&a(16,D=i.mbsource),"shortcashierenabled"in i&&a(17,g=i.shortcashierenabled)},n.$$.update=()=>{n.$$.dirty&2048&&p&&j(),n.$$.dirty&131072&&(o=g.toLocaleLowerCase()==="true"),n.$$.dirty&8193&&l&&h&&e.setClientStyling(h,l),n.$$.dirty&16385&&s&&h&&e.setClientStylingURL(h,s),n.$$.dirty&65537&&D&&h&&e.setStreamStyling(h,`${D}.Style`),n.$$.dirty&32768&&u&&B(),n.$$.dirty&135040&&m&&d&&c&&y&&p&&g&&P()},[h,M,k,C,r,v,S,y,c,m,d,p,f,l,s,u,D,g,I,U]}class L extends e.SvelteComponent{constructor(t){super(),e.init(this,t,N,G,e.safe_not_equal,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,currency:7,mbsource:16,shortcashierenabled:17},A)}get endpoint(){return this.$$.ctx[8]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[9]}set session(t){this.$$set({session:t}),e.flush()}get playerid(){return this.$$.ctx[10]}set playerid(t){this.$$set({playerid:t}),e.flush()}get lang(){return this.$$.ctx[11]}set lang(t){this.$$set({lang:t}),e.flush()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(t){this.$$set({hasdefaultamount:t}),e.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[7]}set currency(t){this.$$set({currency:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get shortcashierenabled(){return this.$$.ctx[17]}set shortcashierenabled(t){this.$$set({shortcashierenabled:t}),e.flush()}}e.create_custom_element(L,{endpoint:{},session:{},playerid:{},lang:{},hasdefaultamount:{},clientstyling:{},clientstylingurl:{},translationurl:{},currency:{},mbsource:{},shortcashierenabled:{}},[],[],!0);exports.default=L;