@everymatrix/casino-header-controller 1.41.0 → 1.42.69
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/CasinoHamburgerMenu-1gQg-ZIY.cjs +8 -0
- package/components/CasinoHamburgerMenu-2pFb6wZl.js +5307 -0
- package/components/CasinoHamburgerMenu-B7azgUM1.js +5309 -0
- package/components/CasinoHamburgerMenu-BrADPgID.js +5345 -0
- package/components/CasinoHamburgerMenu-C4GmkZHL.js +5347 -0
- package/components/CasinoHamburgerMenu-CMBkzntP.cjs +8 -0
- package/components/CasinoHamburgerMenu-CO6TdI1h.js +5319 -0
- package/components/CasinoHamburgerMenu-G_FPFhtq.cjs +8 -0
- package/components/CasinoHamburgerMenu-fVT1Bp2V.js +5357 -0
- package/components/CasinoHeaderController-BZIhHS4u.cjs +13 -0
- package/components/CasinoHeaderController-BmOBKBem.js +3561 -0
- package/components/CasinoHeaderController-C45Gp_Sf.js +3573 -0
- package/components/CasinoHeaderController-CQws9ndQ.js +3561 -0
- package/components/CasinoHeaderController-DQGnKC0A.cjs +13 -0
- package/components/CasinoHeaderController-DYGG7IrC.cjs +13 -0
- package/components/CasinoHeaderController-Dfl2F1fA.js +3590 -0
- package/components/CasinoHeaderController-LSfZUCvD.js +3590 -0
- package/components/CasinoHeaderController-Tze6cxM6.js +3561 -0
- package/components/CasinoHeaderController-UDtLt9Je.js +3590 -0
- package/components/CasinoHeaderController-duupWsAL.cjs +13 -0
- package/components/CasinoHeaderController-wBzmrgsG.js +3602 -0
- package/components/CasinoSlider-B2V4KV2_.js +794 -0
- package/components/CasinoSlider-B37dextc.js +788 -0
- package/components/CasinoSlider-BhJTFE93.cjs +1 -0
- package/components/CasinoSlider-C35KPhyt.js +788 -0
- package/components/CasinoSlider-C8lA6Gz3.cjs +1 -0
- package/components/CasinoSlider-CGwTgvX9.js +802 -0
- package/components/CasinoSlider-CytcmpnB.js +803 -0
- package/components/CasinoSlider-DQalcjvT.cjs +1 -0
- package/components/CasinoSlider-DQhMN8AF.js +797 -0
- package/components/CasinoSlider-DgvkDJb7.js +794 -0
- package/components/CasinoSlider-DjKB6ws9.cjs +1 -0
- package/components/CasinoSlider-Dyf3MtoH.js +796 -0
- package/components/PlayerAccountBalanceModal-BCsJRXxY.js +1540 -0
- package/components/PlayerAccountBalanceModal-BDp9-1JM.js +1511 -0
- package/components/PlayerAccountBalanceModal-BjynkQTc.cjs +13 -0
- package/components/PlayerAccountBalanceModal-BzXIAqih.js +1528 -0
- package/components/PlayerAccountBalanceModal-CuW2KzWo.cjs +13 -0
- package/components/PlayerAccountBalanceModal-DKUdq7S7.js +1499 -0
- package/components/PlayerAccountBalanceModal-DwQpCDa8.js +1528 -0
- package/components/PlayerAccountBalanceModal-IWUBV3L3.js +1499 -0
- package/components/PlayerAccountBalanceModal-gmXbYoYR.cjs +13 -0
- package/components/PlayerDeposit-BZr6pYKp.js +383 -0
- package/components/PlayerDeposit-By5a5qV8.js +395 -0
- package/components/PlayerDeposit-C6lle-Vr.js +383 -0
- package/components/PlayerDeposit-CtdO_htx.cjs +1 -0
- package/components/PlayerDeposit-DBPllHYK.cjs +1 -0
- package/components/PlayerDeposit-DolqG55w.js +383 -0
- package/components/PlayerDeposit-DvPJXwOB.js +383 -0
- package/components/PlayerDeposit-Dvyn6q5s.js +395 -0
- package/components/PlayerDeposit-pGfQkRT7.cjs +1 -0
- package/es2015/casino-header-controller.cjs +1 -0
- package/es2015/casino-header-controller.js +16 -0
- package/esnext/casino-header-controller.js +14 -0
- package/package.json +19 -36
- package/CHANGELOG.md +0 -12
- package/README.md +0 -0
- package/dist/casino-header-controller.js +0 -4
- package/dist/casino-header-controller.js.map +0 -1
- package/documentation.md +0 -146
- package/index.html +0 -48
- package/index.js +0 -1
- package/public/favicon.png +0 -0
- package/public/reset.css +0 -48
- package/rollup.config.js +0 -67
- package/src/CasinoHeaderController.svelte +0 -1233
- package/src/i18n.js +0 -27
- package/src/images/arrow.png +0 -0
- package/src/images/english-flag.png +0 -0
- package/src/images/everymatrix-logo-white.png +0 -0
- package/src/index.ts +0 -4
- package/src/translations.js +0 -62
- package/stories/CasinoHeaderController.stories.js +0 -22
- package/tsconfig.json +0 -6
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";var at=Object.defineProperty,rt=Object.defineProperties;var ot=Object.getOwnPropertyDescriptors;var He=Object.getOwnPropertySymbols;var it=Object.prototype.hasOwnProperty,st=Object.prototype.propertyIsEnumerable;var ze=(o,e,n)=>e in o?at(o,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):o[e]=n,Ue=(o,e)=>{for(var n in e||(e={}))it.call(e,n)&&ze(o,n,e[n]);if(He)for(var n of He(e))st.call(e,n)&&ze(o,n,e[n]);return o},Pe=(o,e)=>rt(o,ot(e));var Ge=(o,e,n)=>new Promise((i,c)=>{var d=h=>{try{f(n.next(h))}catch(y){c(y)}},g=h=>{try{f(n.throw(h))}catch(y){c(y)}},f=h=>h.done?i(h.value):Promise.resolve(h.value).then(d,g);f((n=n.apply(o,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoHamburgerMenu-1gQg-ZIY.cjs");function Xe(o,e){t.addMessages(o,e)}function lt(o){t.$locale.set(o)}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 Ie={exports:{}};/** @license
|
|
2
|
+
* eventsource.js
|
|
3
|
+
* Available under MIT License (MIT)
|
|
4
|
+
* https://github.com/Yaffle/EventSource/
|
|
5
|
+
*/(function(o,e){(function(n){var i=n.setTimeout,c=n.clearTimeout,d=n.XMLHttpRequest,g=n.XDomainRequest,f=n.ActiveXObject,h=n.EventSource,y=n.document,D=n.Promise,O=n.fetch,T=n.Response,S=n.TextDecoder,A=n.TextEncoder,U=n.AbortController;if(typeof window!="undefined"&&typeof y!="undefined"&&!("readyState"in y)&&y.body==null&&(y.readyState="loading",window.addEventListener("load",function(a){y.readyState="complete"},!1)),d==null&&f!=null&&(d=function(){return new f("Microsoft.XMLHTTP")}),Object.create==null&&(Object.create=function(a){function s(){}return s.prototype=a,new s}),Date.now||(Date.now=function(){return new Date().getTime()}),U==null){var k=O;O=function(a,s){var r=s.signal;return k(a,{headers:s.headers,credentials:s.credentials,cache:s.cache}).then(function(l){var v=l.body.getReader();return r._reader=v,r._aborted&&r._reader.cancel(),{status:l.status,statusText:l.statusText,headers:l.headers,body:{getReader:function(){return v}}}})},U=function(){this.signal={_reader:null,_aborted:!1},this.abort=function(){this.signal._reader!=null&&this.signal._reader.cancel(),this.signal._aborted=!0}}}function H(){this.bitsNeeded=0,this.codePoint=0}H.prototype.decode=function(a){function s(x,F,w){if(w===1)return x>=128>>F&&x<<F<=2047;if(w===2)return x>=2048>>F&&x<<F<=55295||x>=57344>>F&&x<<F<=65535;if(w===3)return x>=65536>>F&&x<<F<=1114111;throw new Error}function r(x,F){if(x===6*1)return F>>6>15?3:F>31?2:1;if(x===6*2)return F>15?3:2;if(x===6*3)return 3;throw new Error}for(var l=65533,v="",m=this.bitsNeeded,C=this.codePoint,N=0;N<a.length;N+=1){var _=a[N];m!==0&&(_<128||_>191||!s(C<<6|_&63,m-6,r(m,C)))&&(m=0,C=l,v+=String.fromCharCode(C)),m===0?(_>=0&&_<=127?(m=0,C=_):_>=192&&_<=223?(m=6*1,C=_&31):_>=224&&_<=239?(m=6*2,C=_&15):_>=240&&_<=247?(m=6*3,C=_&7):(m=0,C=l),m!==0&&!s(C,m,r(m,C))&&(m=0,C=l)):(m-=6,C=C<<6|_&63),m===0&&(C<=65535?v+=String.fromCharCode(C):(v+=String.fromCharCode(55296+(C-65535-1>>10)),v+=String.fromCharCode(56320+(C-65535-1&1023))))}return this.bitsNeeded=m,this.codePoint=C,v};var P=function(){try{return new S().decode(new A().encode("test"),{stream:!0})==="test"}catch(a){console.debug("TextDecoder does not support streaming option. Using polyfill instead: "+a)}return!1};(S==null||A==null||!P())&&(S=H);var b=function(){};function R(a){this.withCredentials=!1,this.readyState=0,this.status=0,this.statusText="",this.responseText="",this.onprogress=b,this.onload=b,this.onerror=b,this.onreadystatechange=b,this._contentType="",this._xhr=a,this._sendTimeout=0,this._abort=b}R.prototype.open=function(a,s){this._abort(!0);var r=this,l=this._xhr,v=1,m=0;this._abort=function(w){r._sendTimeout!==0&&(c(r._sendTimeout),r._sendTimeout=0),(v===1||v===2||v===3)&&(v=4,l.onload=b,l.onerror=b,l.onabort=b,l.onprogress=b,l.onreadystatechange=b,l.abort(),m!==0&&(c(m),m=0),w||(r.readyState=4,r.onabort(null),r.onreadystatechange())),v=0};var C=function(){if(v===1){var w=0,I="",re=void 0;if("contentType"in l)w=200,I="OK",re=l.contentType;else try{w=l.status,I=l.statusText,re=l.getResponseHeader("Content-Type")}catch(_e){w=0,I="",re=void 0}w!==0&&(v=2,r.readyState=2,r.status=w,r.statusText=I,r._contentType=re,r.onreadystatechange())}},N=function(){if(C(),v===2||v===3){v=3;var w="";try{w=l.responseText}catch(I){}r.readyState=3,r.responseText=w,r.onprogress()}},_=function(w,I){if((I==null||I.preventDefault==null)&&(I={preventDefault:b}),N(),v===1||v===2||v===3){if(v=4,m!==0&&(c(m),m=0),r.readyState=4,w==="load")r.onload(I);else if(w==="error")r.onerror(I);else if(w==="abort")r.onabort(I);else throw new TypeError;r.onreadystatechange()}},x=function(w){l!=null&&(l.readyState===4?(!("onload"in l)||!("onerror"in l)||!("onabort"in l))&&_(l.responseText===""?"error":"load",w):l.readyState===3?"onprogress"in l||N():l.readyState===2&&C())},F=function(){m=i(function(){F()},500),l.readyState===3&&N()};"onload"in l&&(l.onload=function(w){_("load",w)}),"onerror"in l&&(l.onerror=function(w){_("error",w)}),"onabort"in l&&(l.onabort=function(w){_("abort",w)}),"onprogress"in l&&(l.onprogress=N),"onreadystatechange"in l&&(l.onreadystatechange=function(w){x(w)}),("contentType"in l||!("ontimeout"in d.prototype))&&(s+=(s.indexOf("?")===-1?"?":"&")+"padding=true"),l.open(a,s,!0),"readyState"in l&&(m=i(function(){F()},0))},R.prototype.abort=function(){this._abort(!1)},R.prototype.getResponseHeader=function(a){return this._contentType},R.prototype.setRequestHeader=function(a,s){var r=this._xhr;"setRequestHeader"in r&&r.setRequestHeader(a,s)},R.prototype.getAllResponseHeaders=function(){return this._xhr.getAllResponseHeaders!=null&&this._xhr.getAllResponseHeaders()||""},R.prototype.send=function(){if((!("ontimeout"in d.prototype)||!("sendAsBinary"in d.prototype)&&!("mozAnon"in d.prototype))&&y!=null&&y.readyState!=null&&y.readyState!=="complete"){var a=this;a._sendTimeout=i(function(){a._sendTimeout=0,a.send()},4);return}var s=this._xhr;"withCredentials"in s&&(s.withCredentials=this.withCredentials);try{s.send(void 0)}catch(r){throw r}};function G(a){return a.replace(/[A-Z]/g,function(s){return String.fromCharCode(s.charCodeAt(0)+32)})}function M(a){for(var s=Object.create(null),r=a.split(`\r
|
|
6
|
+
`),l=0;l<r.length;l+=1){var v=r[l],m=v.split(": "),C=m.shift(),N=m.join(": ");s[G(C)]=N}this._map=s}M.prototype.get=function(a){return this._map[G(a)]},d!=null&&d.HEADERS_RECEIVED==null&&(d.HEADERS_RECEIVED=2);function W(){}W.prototype.open=function(a,s,r,l,v,m,C){a.open("GET",v);var N=0;a.onprogress=function(){var x=a.responseText,F=x.slice(N);N+=F.length,r(F)},a.onerror=function(x){x.preventDefault(),l(new Error("NetworkError"))},a.onload=function(){l(null)},a.onabort=function(){l(null)},a.onreadystatechange=function(){if(a.readyState===d.HEADERS_RECEIVED){var x=a.status,F=a.statusText,w=a.getResponseHeader("Content-Type"),I=a.getAllResponseHeaders();s(x,F,w,new M(I))}},a.withCredentials=m;for(var _ in C)Object.prototype.hasOwnProperty.call(C,_)&&a.setRequestHeader(_,C[_]);return a.send(),a};function le(a){this._headers=a}le.prototype.get=function(a){return this._headers.get(a)};function ce(){}ce.prototype.open=function(a,s,r,l,v,m,C){var N=null,_=new U,x=_.signal,F=new S;return O(v,{headers:C,credentials:m?"include":"same-origin",signal:x,cache:"no-store"}).then(function(w){return N=w.body.getReader(),s(w.status,w.statusText,w.headers.get("Content-Type"),new le(w.headers)),new D(function(I,re){var _e=function(){N.read().then(function(J){if(J.done)I(void 0);else{var X=F.decode(J.value,{stream:!0});r(X),_e()}}).catch(function(J){re(J)})};_e()})}).catch(function(w){if(w.name!=="AbortError")return w}).then(function(w){l(w)}),{abort:function(){N!=null&&N.cancel(),_.abort()}}};function p(){this._listeners=Object.create(null)}function de(a){i(function(){throw a},0)}p.prototype.dispatchEvent=function(a){a.target=this;var s=this._listeners[a.type];if(s!=null)for(var r=s.length,l=0;l<r;l+=1){var v=s[l];try{typeof v.handleEvent=="function"?v.handleEvent(a):v.call(this,a)}catch(m){de(m)}}},p.prototype.addEventListener=function(a,s){a=String(a);var r=this._listeners,l=r[a];l==null&&(l=[],r[a]=l);for(var v=!1,m=0;m<l.length;m+=1)l[m]===s&&(v=!0);v||l.push(s)},p.prototype.removeEventListener=function(a,s){a=String(a);var r=this._listeners,l=r[a];if(l!=null){for(var v=[],m=0;m<l.length;m+=1)l[m]!==s&&v.push(l[m]);v.length===0?delete r[a]:r[a]=v}};function ue(a){this.type=a,this.target=void 0}function ve(a,s){ue.call(this,a),this.data=s.data,this.lastEventId=s.lastEventId}ve.prototype=Object.create(ue.prototype);function we(a,s){ue.call(this,a),this.status=s.status,this.statusText=s.statusText,this.headers=s.headers}we.prototype=Object.create(ue.prototype);function Re(a,s){ue.call(this,a),this.error=s.error}Re.prototype=Object.create(ue.prototype);var be=-1,$=0,ae=1,pe=2,he=-1,ee=0,Be=1,Ce=2,Me=3,Fe=/^text\/event\-stream(;.*)?$/i,Ee=1e3,ke=18e6,Te=function(a,s){var r=a==null?s:parseInt(a,10);return r!==r&&(r=s),Se(r)},Se=function(a){return Math.min(Math.max(a,Ee),ke)},fe=function(a,s,r){try{typeof s=="function"&&s.call(a,r)}catch(l){de(l)}};function Y(a,s){p.call(this),s=s||{},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,L(this,a,s)}function u(){return d!=null&&"withCredentials"in d.prototype||g==null?new d:new g}var E=O!=null&&T!=null&&"body"in T.prototype;function L(a,s,r){s=String(s);var l=!!r.withCredentials,v=r.lastEventIdQueryParameterName||"lastEventId",m=Se(1e3),C=Te(r.heartbeatTimeout,45e3),N="",_=m,x=!1,F=0,w=r.headers||{},I=r.Transport,re=E&&I==null?void 0:new R(I!=null?new I:u()),_e=I!=null&&typeof I!="string"?new I:re==null?new ce:new W,J=void 0,X=0,te=be,ge="",xe="",oe="",De="",q=ee,Oe=0,me=0,tt=function(j,V,Q,Z){if(te===$)if(j===200&&Q!=null&&Fe.test(Q)){te=ae,x=Date.now(),_=m,a.readyState=ae;var K=new we("open",{status:j,statusText:V,headers:Z});a.dispatchEvent(K),fe(a,a.onopen,K)}else{var z="";j!==200?(V&&(V=V.replace(/\s+/g," ")),z="EventSource's response has a status "+j+" "+V+" that is not 200. Aborting the connection."):z="EventSource's response has a Content-Type specifying an unsupported type: "+(Q==null?"-":Q.replace(/\s+/g," "))+". Aborting the connection.",Ne();var K=new we("error",{status:j,statusText:V,headers:Z});a.dispatchEvent(K),fe(a,a.onerror,K),console.error(z)}},nt=function(j){if(te===ae){for(var V=-1,Q=0;Q<j.length;Q+=1){var Z=j.charCodeAt(Q);(Z===10||Z===13)&&(V=Q)}var K=(V!==-1?De:"")+j.slice(0,V+1);De=(V===-1?De:"")+j.slice(V+1),j!==""&&(x=Date.now(),F+=j.length);for(var z=0;z<K.length;z+=1){var Z=K.charCodeAt(z);if(q===he&&Z===10)q=ee;else if(q===he&&(q=ee),Z===13||Z===10){if(q!==ee){q===Be&&(me=z+1);var ie=K.slice(Oe,me-1),se=K.slice(me+(me<z&&K.charCodeAt(me)===32?1:0),z);ie==="data"?(ge+=`
|
|
7
|
+
`,ge+=se):ie==="id"?xe=se:ie==="event"?oe=se:ie==="retry"?(m=Te(se,m),_=m):ie==="heartbeatTimeout"&&(C=Te(se,C),X!==0&&(c(X),X=i(function(){Ae()},C)))}if(q===ee){if(ge!==""){N=xe,oe===""&&(oe="message");var ye=new ve(oe,{data:ge.slice(1),lastEventId:xe});if(a.dispatchEvent(ye),oe==="open"?fe(a,a.onopen,ye):oe==="message"?fe(a,a.onmessage,ye):oe==="error"&&fe(a,a.onerror,ye),te===pe)return}ge="",oe=""}q=Z===13?he:ee}else q===ee&&(Oe=z,q=Be),q===Be?Z===58&&(me=z+1,q=Ce):q===Ce&&(q=Me)}}},je=function(j){if(te===ae||te===$){te=be,X!==0&&(c(X),X=0),X=i(function(){Ae()},_),_=Se(Math.min(m*16,_*2)),a.readyState=$;var V=new Re("error",{error:j});a.dispatchEvent(V),fe(a,a.onerror,V),j!=null&&console.error(j)}},Ne=function(){te=pe,J!=null&&(J.abort(),J=void 0),X!==0&&(c(X),X=0),a.readyState=pe},Ae=function(){if(X=0,te!==be){if(!x&&J!=null)je(new Error("No activity within "+C+" milliseconds. "+(te===$?"No response received.":F+" chars received.")+" Reconnecting.")),J!=null&&(J.abort(),J=void 0);else{var j=Math.max((x||Date.now())+C-Date.now(),1);x=!1,X=i(function(){Ae()},j)}return}x=!1,F=0,X=i(function(){Ae()},C),te=$,ge="",oe="",xe=N,De="",Oe=0,me=0,q=ee;var V=s;if(s.slice(0,5)!=="data:"&&s.slice(0,5)!=="blob:"&&N!==""){var Q=s.indexOf("?");V=Q===-1?s:s.slice(0,Q+1)+s.slice(Q+1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g,function(se,ye){return ye===v?"":se}),V+=(s.indexOf("?")===-1?"?":"&")+v+"="+encodeURIComponent(N)}var Z=a.withCredentials,K={};K.Accept="text/event-stream";var z=a.headers;if(z!=null)for(var ie in z)Object.prototype.hasOwnProperty.call(z,ie)&&(K[ie]=z[ie]);try{J=_e.open(re,tt,nt,je,V,Z,K)}catch(se){throw Ne(),se}};a.url=s,a.readyState=$,a.withCredentials=l,a.headers=w,a._close=Ne,Ae()}Y.prototype=Object.create(p.prototype),Y.prototype.CONNECTING=$,Y.prototype.OPEN=ae,Y.prototype.CLOSED=pe,Y.prototype.close=function(){this._close()},Y.CONNECTING=$,Y.OPEN=ae,Y.CLOSED=pe,Y.prototype.withCredentials=void 0;var B=h;d!=null&&(h==null||!("withCredentials"in h.prototype))&&(B=Y),function(a){{var s=a(e);s!==void 0&&(o.exports=s)}}(function(a){a.EventSourcePolyfill=Y,a.NativeEventSource=h,a.EventSource=B})})(typeof globalThis=="undefined"?typeof window!="undefined"?window:typeof self!="undefined"?self:t.commonjsGlobal:globalThis)})(Ie,Ie.exports);var ct=Ie.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(e){return Math.round(e)},Ve=function(e){return Math.pow(10,e)},ut=function(e,n){return $e(e/n)*n},ft=/(\d)(?=(\d{3})+\b)/g,pt=/(\d)(?=(\d\d)+\d\b)/g;function ne(o,e){var n=this;if(!(n instanceof ne))return new ne(o,e);var i=Object.assign({},dt,e),c=Ve(i.precision),d=Le(o,i);n.intValue=d,n.value=d/c,i.increment=i.increment||1/c,i.useVedic?i.groups=pt:i.groups=ft,this.s=i,this.p=c}function Le(o,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,i=0,c=e.decimal,d=e.errorOnInvalid,g=e.precision,f=e.fromCents,h=Ve(g),y=typeof o=="number",D=o instanceof ne;if(D&&f)return o.intValue;if(y||D)i=D?o.value:o;else if(typeof o=="string"){var O=new RegExp("[^-\\d"+c+"]","g"),T=new RegExp("\\"+c,"g");i=o.replace(/\((.*)\)/,"-$1").replace(O,"").replace(T,"."),i=i||0}else{if(d)throw Error("Invalid Input");i=0}return f||(i*=h,i=i.toFixed(4)),n?$e(i):i}function ht(o,e){var n=e.pattern,i=e.negativePattern,c=e.symbol,d=e.separator,g=e.decimal,f=e.groups,h=(""+o).replace(/^-/,"").split("."),y=h[0],D=h[1];return(o.value>=0?n:i).replace("!",c).replace("#",y.replace(f,"$1"+d)+(D?g+D:""))}ne.prototype={add:function(e){var n=this.intValue,i=this.s,c=this.p;return ne((n+=Le(e,i))/(i.fromCents?1:c),i)},subtract:function(e){var n=this.intValue,i=this.s,c=this.p;return ne((n-=Le(e,i))/(i.fromCents?1:c),i)},multiply:function(e){var n=this.intValue,i=this.s;return ne((n*=e)/(i.fromCents?1:Ve(i.precision)),i)},divide:function(e){var n=this.intValue,i=this.s;return ne(n/=Le(e,i,!1),i)},distribute:function(e){for(var n=this.intValue,i=this.p,c=this.s,d=[],g=Math[n>=0?"floor":"ceil"](n/e),f=Math.abs(n-g*e),h=c.fromCents?1:i;e!==0;e--){var y=ne(g/h,c);f-- >0&&(y=y[n>=0?"add":"subtract"](1/h)),d.push(y)}return d},dollars:function(){return~~this.value},cents:function(){var e=this.intValue,n=this.p;return~~(e%n)},format:function(e){var n=this.s;return typeof e=="function"?e(this,n):n.format(this,Object.assign({},n,e))},toString:function(){var e=this.intValue,n=this.p,i=this.s;return ut(e/n,i.increment).toFixed(i.precision)},toJSON:function(){return this.value}};function mt(o){t.append_styles(o,"svelte-113krup",'*,*::before,*::after{font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}p{padding:0;margin:0}.ShowBalance{position:relative}.ShowBalance .Loading{font-size:14px;white-space:nowrap;padding-right:10px}.ShowBalance .BalanceValue{font-size:14px;cursor:pointer;display:flex;flex-wrap:nowrap;white-space:nowrap}.ShowBalance .BalanceValue svg{width:16px}.ShowBalance .BalanceValue span{padding-left:8px}@media only screen and (max-width: 360px){.ShowBalance .BalanceValue{font-size:12px}.ShowBalance .BalanceValue svg{width:12px}}.BalanceModalWrapper{background-color:var(--emw--color-white, #FFFFFF);position:absolute;top:45px;left:50%;transform:translateX(-60%);padding:10px;box-shadow:0px 30px 30px var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.BalanceModalWrapper:before{content:"";background:var(--emw--color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:60%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.BalanceModalClose{position:absolute;top:5px;right:5px;width:20px;height:20px;z-index:1;cursor:pointer}.BalanceModalClose:before{content:"";background:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));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, #FD2839));position:absolute;top:8px;left:0;width:20px;height:2px;transform:rotate(-45deg)}.BalanceModal{position:relative;width:280px}.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, #07072A))}.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, #07072A));font-size:14px;text-transform:capitalize}.BalanceModalRowBoth .BalanceModalValue{font-size:14px;font-weight:bold;color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.BalanceModalFooter{display:flex;align-items:center;padding:20px 0 10px}.BalanceModalFooter .BalanceModalAction{background:var(--emw--header-color-primary, var(--emw--color-primary, #D0046C));font-size:12px;color:white;text-transform:uppercase;width:100%;border-radius:5px;border:none;padding:10px 0;cursor:pointer}.BalanceModalFooter .BalanceModalAction:hover,.BalanceModalFooter .BalanceModalActionactive{background:var(--emw--header-contrast, var(--emw--color-background, #07072A))}.ShowBalanceModalOverlay{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}')}function Ke(o,e,n){const i=o.slice();return i[46]=e[n],i}function We(o,e,n){const i=o.slice();return i[49]=e[n],i}function gt(o){let e,n=(o[4].Total?o[6](o[4].Total[0].amount):"0")+"",i,c,d,g,f,h,y,D,O,T=o[2]&&Ye(o);return{c(){e=t.element("p"),i=t.text(n),c=t.space(),d=t.text(o[3]),g=t.space(),f=t.element("span"),f.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 11.435"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" d="M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z" transform="translate(-6.188 -11.246)"></path></svg>',h=t.space(),T&&T.c(),y=t.empty(),t.attr(e,"class","BalanceValue"),t.attr(e,"part","BalanceValue")},m(S,A){t.insert(S,e,A),t.append(e,i),t.append(e,c),t.append(e,d),t.append(e,g),t.append(e,f),t.insert(S,h,A),T&&T.m(S,A),t.insert(S,y,A),D||(O=t.listen(e,"click",o[22]),D=!0)},p(S,A){A[0]&16&&n!==(n=(S[4].Total?S[6](S[4].Total[0].amount):"0")+"")&&t.set_data(i,n),A[0]&8&&t.set_data(d,S[3]),S[2]?T?T.p(S,A):(T=Ye(S),T.c(),T.m(y.parentNode,y)):T&&(T.d(1),T=null)},d(S){S&&(t.detach(e),t.detach(h),t.detach(y)),T&&T.d(S),D=!1,O()}}}function yt(o){let e,n=o[5]("Loading")+"",i;return{c(){e=t.element("p"),i=t.text(n)},m(c,d){t.insert(c,e,d),t.append(e,i)},p(c,d){d[0]&32&&n!==(n=c[5]("Loading")+"")&&t.set_data(i,n)},d(c){c&&t.detach(e)}}}function Ye(o){let e,n,i,c,d,g,f=o[5]("Title")+"",h,y,D,O,T,S,A=o[5]("DepositButton")+"",U,k,H,P=t.ensure_array_like(Object.keys(o[4])),b=[];for(let R=0;R<P.length;R+=1)b[R]=Qe(Ke(o,P,R));return{c(){e=t.element("div"),n=t.element("div"),i=t.space(),c=t.element("div"),d=t.element("div"),g=t.element("p"),h=t.text(f),y=t.space(),D=t.element("div");for(let R=0;R<b.length;R+=1)b[R].c();O=t.space(),T=t.element("div"),S=t.element("button"),U=t.text(A),t.attr(n,"class","BalanceModalClose"),t.attr(g,"class","BalanceModalTitle"),t.attr(d,"class","BalanceModalHeader"),t.attr(D,"class","BalanceModalBody"),t.attr(S,"class","BalanceModalAction"),t.attr(T,"class","BalanceModalFooter"),t.attr(c,"class","BalanceModal"),t.attr(e,"class","BalanceModalWrapper")},m(R,G){t.insert(R,e,G),t.append(e,n),t.append(e,i),t.append(e,c),t.append(c,d),t.append(d,g),t.append(g,h),t.append(c,y),t.append(c,D);for(let M=0;M<b.length;M+=1)b[M]&&b[M].m(D,null);t.append(c,O),t.append(c,T),t.append(T,S),t.append(S,U),k||(H=[t.listen(n,"click",o[23]),t.listen(S,"click",o[24])],k=!0)},p(R,G){if(G[0]&32&&f!==(f=R[5]("Title")+"")&&t.set_data(h,f),G[0]&120){P=t.ensure_array_like(Object.keys(R[4]));let M;for(M=0;M<P.length;M+=1){const W=Ke(R,P,M);b[M]?b[M].p(W,G):(b[M]=Qe(W),b[M].c(),b[M].m(D,null))}for(;M<b.length;M+=1)b[M].d(1);b.length=P.length}G[0]&32&&A!==(A=R[5]("DepositButton")+"")&&t.set_data(U,A)},d(R){R&&t.detach(e),t.destroy_each(b,R),k=!1,t.run_all(H)}}}function Je(o){let e,n,i=o[5](o[46])+"",c,d,g=(o[49].productType?o[5](o[49].productType):"")+"",f,h,y,D,O=(o[49].amount?o[6](o[49].amount):"0")+"",T,S,A,U;return{c(){e=t.element("div"),n=t.element("p"),c=t.text(i),d=t.space(),f=t.text(g),h=t.space(),y=t.element("p"),D=t.element("span"),T=t.text(O),S=t.space(),A=t.element("span"),U=t.text(o[3]),t.attr(n,"class","BalanceModalText"),t.attr(D,"class","BalanceModalAmount"),t.attr(A,"class","BalanceModalCurrency"),t.attr(y,"class","BalanceModalValue"),t.attr(e,"class","BalanceModalRowLine")},m(k,H){t.insert(k,e,H),t.append(e,n),t.append(n,c),t.append(n,d),t.append(n,f),t.append(e,h),t.append(e,y),t.append(y,D),t.append(D,T),t.append(y,S),t.append(y,A),t.append(A,U)},p(k,H){H[0]&48&&i!==(i=k[5](k[46])+"")&&t.set_data(c,i),H[0]&48&&g!==(g=(k[49].productType?k[5](k[49].productType):"")+"")&&t.set_data(f,g),H[0]&16&&O!==(O=(k[49].amount?k[6](k[49].amount):"0")+"")&&t.set_data(T,O),H[0]&8&&t.set_data(U,k[3])},d(k){k&&t.detach(e)}}}function Qe(o){let e,n,i=t.ensure_array_like(o[4][o[46]]),c=[];for(let d=0;d<i.length;d+=1)c[d]=Je(We(o,i,d));return{c(){e=t.element("div");for(let d=0;d<c.length;d+=1)c[d].c();n=t.space(),t.attr(e,"class","BalanceModalRowBoth")},m(d,g){t.insert(d,e,g);for(let f=0;f<c.length;f+=1)c[f]&&c[f].m(e,null);t.append(e,n)},p(d,g){if(g[0]&120){i=t.ensure_array_like(d[4][d[46]]);let f;for(f=0;f<i.length;f+=1){const h=We(d,i,f);c[f]?c[f].p(h,g):(c[f]=Je(h),c[f].c(),c[f].m(e,n))}for(;f<c.length;f+=1)c[f].d(1);c.length=i.length}},d(d){d&&t.detach(e),t.destroy_each(c,d)}}}function Ze(o){let e,n,i;return{c(){e=t.element("div"),t.attr(e,"class","ShowBalanceModalOverlay")},m(c,d){t.insert(c,e,d),n||(i=t.listen(e,"click",o[25]),n=!0)},p:t.noop,d(c){c&&t.detach(e),n=!1,i()}}}function vt(o){let e,n,i;function c(h,y){return h[1]?yt:gt}let d=c(o),g=d(o),f=o[2]&&Ze(o);return{c(){e=t.element("div"),n=t.element("div"),g.c(),i=t.space(),f&&f.c(),t.attr(n,"class","ShowBalance"),t.attr(n,"part","ShowBalance")},m(h,y){t.insert(h,e,y),t.append(e,n),g.m(n,null),t.append(e,i),f&&f.m(e,null),o[26](e)},p(h,y){d===(d=c(h))&&g?g.p(h,y):(g.d(1),g=d(h),g&&(g.c(),g.m(n,null))),h[2]?f?f.p(h,y):(f=Ze(h),f.c(),f.m(e,null)):f&&(f.d(1),f=null)},i:t.noop,o:t.noop,d(h){h&&t.detach(e),g.d(),f&&f.d(),o[26](null)}}}function wt(o,e,n){let i;t.component_subscribe(o,t.$format,u=>n(5,i=u));let{userid:c=""}=e,{session:d=""}=e,{endpoint:g=""}=e,{lang:f="en"}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:D=""}=e,{customlocaleidentifier:O=""}=e,{gmversion:T="gm16"}=e,{displaybalanceoption:S="All"}=e,{totalcalculationmode:A="totalCashAmount"}=e,{currencyseparator:U=""}=e,{currencydecimal:k=""}=e,{currencyprecision:H=""}=e,P,b,R,G=!1,M="",W=[],le,ce=!1;const p={},de=["totalCashAmount","totalRealAmount"],ue=()=>{fetch(D).then(u=>u.json()).then(u=>Object.keys(u).forEach(E=>Xe(E,u[E]))).catch(u=>console.log(u))};Object.keys(qe).forEach(u=>Xe(u,qe[u]));const ve=()=>{if(O.includes(f))return O},we=u=>O?new Intl.NumberFormat(ve(),{useGrouping:!0}).format(u):U&&k?ne(u,{separator:U,decimal:k,symbol:"",precision:parseInt(H||"2",10)}).format():ne(u,{separator:".",decimal:",",symbol:"",precision:parseInt(H||"2",10)}).format(),Re=()=>Ge(this,null,function*(){var E,L,B;n(1,P=!0);const u=new URL(`${g}/v1/player/${c}/account`);try{const a=yield fetch(u,{method:"GET",headers:{"X-SessionID":d}}),s=yield a.json();if(a.ok)W=s.items,n(3,M=(E=W.find(r=>r.displayName==="Casino"))==null?void 0:E.currency),n(4,p.Total=[{amount:s.totalAmount[M]}],p),n(4,p.Real=[{amount:(L=W.find(r=>r.displayName==="Casino"))==null?void 0:L.balanceAmount}],p),n(4,p.Bonus=[{amount:(B=W.find(r=>r.displayName==="UBS"))==null?void 0:B.balanceAmount}],p);else throw new Error("Failed to fetch balance data !")}catch(a){console.log("Balance error: ",a)}finally{n(1,P=!1)}}),be=()=>{n(1,P=!0);const u=new URL(`${g}/v2/player/${c}/balance`),E=new Headers;E.append("X-SessionID",d),fetch(u,{method:"GET",headers:E}).then(B=>B.json()).then(B=>{B[A]||n(8,A=de[0]);const a=B.items.find(r=>r.type==="Real"&&r.walletAccountType==="Ordinary");if(n(3,M=a.currency),ce=!!a.productType,n(4,p.Total=[{amount:0}],p),n(4,p.Real=[],p),n(4,p.Bonus=[],p),n(4,p.Credit=[],p),!ce){le={lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},n(4,p.Total[0].amount=B[A][M],p);for(const r of B.items)switch(r.type){case"Bonus":p.Bonus.length===0?p.Bonus.push({amount:r.amount}):n(4,p.Bonus[0].amount+=r.amount,p);break;case"Real":if(r.creditLine&&p.Credit.length===0&&p.Credit.push({amount:r.creditLine}),A==="totalRealAmount")continue;p.Real.length===0?p.Real.push({amount:r.amount}):n(4,p.Real[0].amount+=r.amount,p);break}for(const[r,l]of Object.entries(p))l.length<1&&delete p[r];n(1,P=!1);return}le={Casino:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1},Sports:{lastOrdinaryAfterAmount:0,showCreditLineAfterAmount:!1}};let s=B.items;S&&S!=="All"&&(s=B.items.filter(r=>r.productType===S));for(const r of s){let l;switch(r.type){case"Bonus":l=p.Bonus.findIndex(v=>v.productType===r.productType),l>0?n(4,p.Bonus[l].amount+=r.amount,p):p.Bonus.push({amount:r.amount,productType:r.productType});break;case"Real":r.creditLine&&p.Credit.push({amount:r.creditLine,productType:r.productType}),l=p.Real.findIndex(v=>v.productType===r.productType),l>0?n(4,p.Real[l].amount+=r.amount,p):p.Real.push({amount:r.amount,productType:r.productType});break}}ee();for(const[r,l]of Object.entries(p))l.length<1&&delete p[r];n(1,P=!1)}).catch(B=>{throw n(1,P=!1),new Error("Failed to fetch balance data !")})},$=()=>{if(R&&R.close(),d.length<1)return;let u,E;switch(T){case"gm16":u=new URL(`${g}/v2/player/${c}/information/updates`),E=a=>Be(a);break;case"gmcore":u=new URL(`${g}/v1/player/${c}/balance/updates`),E=a=>pe(a);break}const L={accept:"text/event-stream","X-SessionId":d},B=new ct.EventSourcePolyfill(u,{headers:L});R=B,B.addEventListener("message",E)},ae=u=>{let E;try{E=JSON.parse(u)}catch(L){console.log("Balance stream failed: ",L);return}return E},pe=u=>{var a,s;const E=ae(u.data);if(!E){$();return}let L="0";const B=E.balanceChange;W=W.map(r=>(B&&B[r.id]&&(r=Pe(Ue({},r),{balanceAmount:B[r.id].afterAmount})),L=(parseFloat(r==null?void 0:r.balanceAmount)+parseFloat(L)).toString(),r)),n(4,p.Real=[{amount:(a=W[0])==null?void 0:a.balanceAmount}],p),n(4,p.Bonus=[{amount:(s=W[1])==null?void 0:s.balanceAmount}],p),n(4,p.Total=[{amount:Number(L)}],p)},he=(u,E,L)=>{let B=null;switch(L.walletAccountType){case"Ordinary":L.afterAmount!==L.affectedAmount&&(E.lastOrdinaryAfterAmount=L.afterAmount,E.showCreditLineAfterAmount||(B=L.afterAmount));break;case"CreditLine":L.afterAmount!==0?(B=L.afterAmount,E.showCreditLineAfterAmount=!0):(B=E.lastOrdinaryAfterAmount,E.showCreditLineAfterAmount=!1);break;default:B=L.afterAmount}return B===null?u:B},ee=()=>{switch(A){case"totalCashAmount":let u=0;for(const L of["Real","Bonus"])for(const B of p[L])u+=Math.max(B.amount,0);n(4,p.Total[0].amount=u,p);break;case"totalRealAmount":if(!ce)return;let E=0;for(const L of p.Real)E+=L.amount;n(4,p.Total[0].amount=E,p)}},Be=u=>{const E=ae(u.data);if(!E){$();return}if(E.type!=="BALANCE_UPDATE_V2")return;const L=E.body.balanceChange;for(const[B,a]of Object.entries(L))if(A==="totalRealAmount"&&B==="Real"&&!ce&&n(4,p.Total[0].amount=he(p.Total[0].amount,le,a),p),!!p[B])for(const s of p[B]){if(!ce){s.amount=B==="Real"?he(s.amount,le,a):a.afterAmount;continue}a.productType===s.productType&&(s.amount=B==="Real"?he(s.amount,le[s.productType],a):a.afterAmount)}ee()},Ce=()=>{n(2,G=!1),window.postMessage({type:"GoToDeposit"},window.location.href),typeof gtag=="function"&>ag("event","GoToDeposit",{context:"PlayerAccountBalanceModal"})},Me=()=>{de.includes(A)||(console.error(`Unsupported value ('${A}') for totalcalculationmode parameter. Only the following values are supported ${de}. Using default value ('${de[0]}').`),n(8,A=de[0]))},Fe=()=>{switch(lt(f),Me(),T){case"gmcore":Re();break;case"gm16":be();break;default:throw Error(`Invalid apiversion attribute: ${T}`)}},Ee=u=>u.data&&u.data.type==="LogoutSuccessfull"&&R.close();t.onMount(()=>(window.addEventListener("message",Ee,!1),()=>{window.removeEventListener("message",Ee),R&&R.close()}));const ke=()=>n(2,G=!0),Te=()=>n(2,G=!1),Se=()=>Ce(),fe=()=>n(2,G=!1);function Y(u){t.binding_callbacks[u?"unshift":"push"](()=>{b=u,n(0,b)})}return o.$$set=u=>{"userid"in u&&n(9,c=u.userid),"session"in u&&n(10,d=u.session),"endpoint"in u&&n(11,g=u.endpoint),"lang"in u&&n(12,f=u.lang),"clientstyling"in u&&n(13,h=u.clientstyling),"clientstylingurl"in u&&n(14,y=u.clientstylingurl),"translationurl"in u&&n(15,D=u.translationurl),"customlocaleidentifier"in u&&n(16,O=u.customlocaleidentifier),"gmversion"in u&&n(17,T=u.gmversion),"displaybalanceoption"in u&&n(18,S=u.displaybalanceoption),"totalcalculationmode"in u&&n(8,A=u.totalcalculationmode),"currencyseparator"in u&&n(19,U=u.currencyseparator),"currencydecimal"in u&&n(20,k=u.currencydecimal),"currencyprecision"in u&&n(21,H=u.currencyprecision)},o.$$.update=()=>{o.$$.dirty[0]&4096&&f&&ve(),o.$$.dirty[0]&400896&&g&&c&&d&&f&&T&&S&&Fe(),o.$$.dirty[0]&134656&&g&&c&&d&&T&&$(),o.$$.dirty[0]&8193&&h&&b&&t.setClientStyling(b,h),o.$$.dirty[0]&16385&&y&&b&&t.setClientStylingURL(b,y),o.$$.dirty[0]&1&&b&&t.setStreamStyling(b,"App.Style"),o.$$.dirty[0]&32768&&D&&ue()},[b,P,G,M,p,i,we,Ce,A,c,d,g,f,h,y,D,O,T,S,U,k,H,ke,Te,Se,fe,Y]}class et extends t.SvelteComponent{constructor(e){super(),t.init(this,e,wt,vt,t.safe_not_equal,{userid:9,session:10,endpoint:11,lang:12,clientstyling:13,clientstylingurl:14,translationurl:15,customlocaleidentifier:16,gmversion:17,displaybalanceoption:18,totalcalculationmode:8,currencyseparator:19,currencydecimal:20,currencyprecision:21},mt,[-1,-1])}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),t.flush()}get session(){return this.$$.ctx[10]}set session(e){this.$$set({session:e}),t.flush()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),t.flush()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get customlocaleidentifier(){return this.$$.ctx[16]}set customlocaleidentifier(e){this.$$set({customlocaleidentifier:e}),t.flush()}get gmversion(){return this.$$.ctx[17]}set gmversion(e){this.$$set({gmversion:e}),t.flush()}get displaybalanceoption(){return this.$$.ctx[18]}set displaybalanceoption(e){this.$$set({displaybalanceoption:e}),t.flush()}get totalcalculationmode(){return this.$$.ctx[8]}set totalcalculationmode(e){this.$$set({totalcalculationmode:e}),t.flush()}get currencyseparator(){return this.$$.ctx[19]}set currencyseparator(e){this.$$set({currencyseparator:e}),t.flush()}get currencydecimal(){return this.$$.ctx[20]}set currencydecimal(e){this.$$set({currencydecimal:e}),t.flush()}get currencyprecision(){return this.$$.ctx[21]}set currencyprecision(e){this.$$set({currencyprecision:e}),t.flush()}}t.create_custom_element(et,{userid:{},session:{},endpoint:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},customlocaleidentifier:{},gmversion:{},displaybalanceoption:{},totalcalculationmode:{},currencyseparator:{},currencydecimal:{},currencyprecision:{}},[],[],!0);exports.default=et;
|
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
import { b as Y, $ as V, S as X, i as Z, f as w, c as J, s as K, d as $, g as _, e as E, w as C, x as d, P as U, j as S, y as p, A as L, n as z, k as x, l as ee, H as te, o as ie, D as M, z as ae, p as se, r as re, t as ne, u as oe, I as H, G as le } from "./CasinoHamburgerMenu-BrADPgID.js";
|
|
2
|
+
function W(a, e) {
|
|
3
|
+
Y(a, e);
|
|
4
|
+
}
|
|
5
|
+
function ce(a) {
|
|
6
|
+
V.set(a);
|
|
7
|
+
}
|
|
8
|
+
const j = {
|
|
9
|
+
en: {
|
|
10
|
+
titleDeposit: "Deposit",
|
|
11
|
+
loading: "Loading, please wait ..."
|
|
12
|
+
},
|
|
13
|
+
"zh-hk": {
|
|
14
|
+
titleDeposit: "訂金",
|
|
15
|
+
loading: "加載請稍候…"
|
|
16
|
+
},
|
|
17
|
+
fr: {
|
|
18
|
+
titleDeposit: "Dépôt",
|
|
19
|
+
loading: "Chargement, veuillez patienter ..."
|
|
20
|
+
},
|
|
21
|
+
tr: {
|
|
22
|
+
titleDeposit: "PARA YATIR",
|
|
23
|
+
loading: "Yükleniyor ..."
|
|
24
|
+
},
|
|
25
|
+
ro: {
|
|
26
|
+
titleDeposit: "Depunere",
|
|
27
|
+
loading: "Se încarcă..."
|
|
28
|
+
},
|
|
29
|
+
es: {
|
|
30
|
+
titleDeposit: "Deposita",
|
|
31
|
+
loading: "Cargando ..."
|
|
32
|
+
},
|
|
33
|
+
pt: {
|
|
34
|
+
titleDeposit: "Depósito",
|
|
35
|
+
loading: "Carregando, por favor espere ..."
|
|
36
|
+
},
|
|
37
|
+
hr: {
|
|
38
|
+
titleDeposit: "Uplata",
|
|
39
|
+
loading: "Učitavanje"
|
|
40
|
+
},
|
|
41
|
+
"pt-br": {
|
|
42
|
+
titleDeposit: "Depositar",
|
|
43
|
+
Loading: "Carregando, por favor espere..."
|
|
44
|
+
},
|
|
45
|
+
"es-mx": {
|
|
46
|
+
titleDeposit: "Depositar",
|
|
47
|
+
Loading: "Cargando, por favor espere..."
|
|
48
|
+
}
|
|
49
|
+
};
|
|
50
|
+
function de(a) {
|
|
51
|
+
$(a, "svelte-lvm6lo", "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, 20px);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, 20px)}");
|
|
52
|
+
}
|
|
53
|
+
function he(a) {
|
|
54
|
+
let e, t, n, s, l, f, c, u, m, o, r = (
|
|
55
|
+
/*$_*/
|
|
56
|
+
a[4]("titleDeposit") + ""
|
|
57
|
+
), h, y, D;
|
|
58
|
+
return {
|
|
59
|
+
c() {
|
|
60
|
+
e = _("div"), t = M("svg"), n = M("defs"), s = M("style"), l = C(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), f = M("g"), c = M("g"), u = M("path"), m = E(), o = _("h2"), h = C(r), d(u, "class", "aaa"), d(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(u, "transform", "translate(15 15) rotate(180)"), d(c, "transform", "translate(20 158)"), d(f, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(o, "class", "DepositTitleMobile"), d(e, "class", "MenuReturnButton");
|
|
61
|
+
},
|
|
62
|
+
m(g, k) {
|
|
63
|
+
S(g, e, k), p(e, t), p(t, n), p(n, s), p(s, l), p(t, f), p(f, c), p(c, u), p(e, m), p(e, o), p(o, h), y || (D = ae(
|
|
64
|
+
e,
|
|
65
|
+
"click",
|
|
66
|
+
/*click_handler*/
|
|
67
|
+
a[17]
|
|
68
|
+
), y = !0);
|
|
69
|
+
},
|
|
70
|
+
p(g, k) {
|
|
71
|
+
k & /*$_*/
|
|
72
|
+
16 && r !== (r = /*$_*/
|
|
73
|
+
g[4]("titleDeposit") + "") && L(h, r);
|
|
74
|
+
},
|
|
75
|
+
d(g) {
|
|
76
|
+
g && x(e), y = !1, D();
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
function pe(a) {
|
|
81
|
+
let e, t, n;
|
|
82
|
+
return {
|
|
83
|
+
c() {
|
|
84
|
+
e = _("div"), t = _("iframe"), H(t.src, n = /*iframeUrl*/
|
|
85
|
+
a[3]) || d(t, "src", n), d(t, "title", "Deposit Iframe"), d(e, "class", "DepositIframeWrapper");
|
|
86
|
+
},
|
|
87
|
+
m(s, l) {
|
|
88
|
+
S(s, e, l), p(e, t);
|
|
89
|
+
},
|
|
90
|
+
p(s, l) {
|
|
91
|
+
l & /*iframeUrl*/
|
|
92
|
+
8 && !H(t.src, n = /*iframeUrl*/
|
|
93
|
+
s[3]) && d(t, "src", n);
|
|
94
|
+
},
|
|
95
|
+
d(s) {
|
|
96
|
+
s && x(e);
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function ue(a) {
|
|
101
|
+
let e, t = (
|
|
102
|
+
/*$_*/
|
|
103
|
+
a[4]("loading") + ""
|
|
104
|
+
), n;
|
|
105
|
+
return {
|
|
106
|
+
c() {
|
|
107
|
+
e = _("p"), n = C(t);
|
|
108
|
+
},
|
|
109
|
+
m(s, l) {
|
|
110
|
+
S(s, e, l), p(e, n);
|
|
111
|
+
},
|
|
112
|
+
p(s, l) {
|
|
113
|
+
l & /*$_*/
|
|
114
|
+
16 && t !== (t = /*$_*/
|
|
115
|
+
s[4]("loading") + "") && L(n, t);
|
|
116
|
+
},
|
|
117
|
+
d(s) {
|
|
118
|
+
s && x(e);
|
|
119
|
+
}
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
function ge(a) {
|
|
123
|
+
let e, t, n, s = (
|
|
124
|
+
/*$_*/
|
|
125
|
+
a[4]("titleDeposit") + ""
|
|
126
|
+
), l, f, c = (
|
|
127
|
+
/*isMobile*/
|
|
128
|
+
a[5] && he(a)
|
|
129
|
+
);
|
|
130
|
+
function u(r, h) {
|
|
131
|
+
return (
|
|
132
|
+
/*isLoading*/
|
|
133
|
+
r[1] ? ue : pe
|
|
134
|
+
);
|
|
135
|
+
}
|
|
136
|
+
let m = u(a), o = m(a);
|
|
137
|
+
return {
|
|
138
|
+
c() {
|
|
139
|
+
e = _("div"), c && c.c(), t = E(), n = _("h2"), l = C(s), f = E(), o.c(), d(n, "class", "DepositTitle " + /*isMobile*/
|
|
140
|
+
(a[5] ? "DepositTitleNone" : "")), d(e, "class", "DepositWrapper " + /*isMobile*/
|
|
141
|
+
(a[5] ? "DepositWrapperMobile" : "")), U(
|
|
142
|
+
e,
|
|
143
|
+
"--dynamic-height",
|
|
144
|
+
/*dynamicHeight*/
|
|
145
|
+
a[2]
|
|
146
|
+
);
|
|
147
|
+
},
|
|
148
|
+
m(r, h) {
|
|
149
|
+
S(r, e, h), c && c.m(e, null), p(e, t), p(e, n), p(n, l), p(e, f), o.m(e, null), a[18](e);
|
|
150
|
+
},
|
|
151
|
+
p(r, [h]) {
|
|
152
|
+
/*isMobile*/
|
|
153
|
+
r[5] && c.p(r, h), h & /*$_*/
|
|
154
|
+
16 && s !== (s = /*$_*/
|
|
155
|
+
r[4]("titleDeposit") + "") && L(l, s), m === (m = u(r)) && o ? o.p(r, h) : (o.d(1), o = m(r), o && (o.c(), o.m(e, null))), h & /*dynamicHeight*/
|
|
156
|
+
4 && U(
|
|
157
|
+
e,
|
|
158
|
+
"--dynamic-height",
|
|
159
|
+
/*dynamicHeight*/
|
|
160
|
+
r[2]
|
|
161
|
+
);
|
|
162
|
+
},
|
|
163
|
+
i: z,
|
|
164
|
+
o: z,
|
|
165
|
+
d(r) {
|
|
166
|
+
r && x(e), c && c.d(), o.d(), a[18](null);
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
function fe(a, e, t) {
|
|
171
|
+
let n, s;
|
|
172
|
+
ee(a, le, (i) => t(4, s = i));
|
|
173
|
+
let { endpoint: l = "" } = e, { session: f = "" } = e, { playerid: c = "" } = e, { lang: u = "en" } = e, { hasdefaultamount: m = "" } = e, { clientstyling: o = "" } = e, { clientstylingurl: r = "" } = e, { translationurl: h = "" } = e, { playercurrency: y = "" } = e, { shortcashierenabled: D = "false" } = e, g, k = window.navigator.userAgent, R = te(k) !== "PC", B = !0, I, T = 0, P = "";
|
|
174
|
+
const G = () => {
|
|
175
|
+
fetch(h).then((b) => b.json()).then((b) => {
|
|
176
|
+
Object.keys(b).forEach((v) => {
|
|
177
|
+
W(v, b[v]);
|
|
178
|
+
});
|
|
179
|
+
}).catch((b) => {
|
|
180
|
+
console.log(b);
|
|
181
|
+
});
|
|
182
|
+
};
|
|
183
|
+
Object.keys(j).forEach((i) => {
|
|
184
|
+
W(i, j[i]);
|
|
185
|
+
});
|
|
186
|
+
const A = () => {
|
|
187
|
+
window.postMessage({ type: "GoToPreviousRoute", isMobile: R }, window.location.href);
|
|
188
|
+
}, F = (i) => {
|
|
189
|
+
if (i.data) {
|
|
190
|
+
switch (i.data.type) {
|
|
191
|
+
case "ProfileDetailsData":
|
|
192
|
+
t(7, y = i.data.profileDetails.currency);
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
switch (i.data["MMFE:setQuickDepositHeight"] && t(2, I = 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) {
|
|
196
|
+
case "mm-hc-casino":
|
|
197
|
+
window.postMessage({ type: "GoToCasino" }, window.location.href);
|
|
198
|
+
break;
|
|
199
|
+
case "mm-hc-sports":
|
|
200
|
+
window.postMessage({ type: "GoToSports" }, window.location.href);
|
|
201
|
+
break;
|
|
202
|
+
case "mm-hc-contact":
|
|
203
|
+
window.postMessage({ type: "GoToCustomerSupport" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href);
|
|
204
|
+
break;
|
|
205
|
+
case "mm-hc-back-to-merchant":
|
|
206
|
+
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
207
|
+
break;
|
|
208
|
+
case "mm-wm-hc-init-deposit":
|
|
209
|
+
window.postMessage(
|
|
210
|
+
{
|
|
211
|
+
type: "RedirectWithdrawDepositCloseModal"
|
|
212
|
+
},
|
|
213
|
+
window.location.href
|
|
214
|
+
);
|
|
215
|
+
break;
|
|
216
|
+
case "mm-wm-hc-init-deposit-quick":
|
|
217
|
+
window.postMessage({ type: "CloseShortCashier" }, window.location.href);
|
|
218
|
+
break;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}, N = () => {
|
|
222
|
+
let i = new URL(`${l}/v1/player/${c}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);
|
|
223
|
+
if (i.searchParams.append("language", u), n && i.searchParams.append("isShortCashier", D), m)
|
|
224
|
+
switch (y) {
|
|
225
|
+
case "USD":
|
|
226
|
+
T = 0.4;
|
|
227
|
+
break;
|
|
228
|
+
case "CDF":
|
|
229
|
+
T = 1e3;
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
let b = {
|
|
233
|
+
method: "POST",
|
|
234
|
+
headers: {
|
|
235
|
+
"X-SessionId": f,
|
|
236
|
+
currency: y || "EUR",
|
|
237
|
+
amount: T,
|
|
238
|
+
cashierMode: "Default",
|
|
239
|
+
IsShortCashier: D,
|
|
240
|
+
accept: "application/json"
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
fetch(i.href, b).then((v) => v.json()).then(
|
|
244
|
+
(v) => {
|
|
245
|
+
t(1, B = !1), t(3, P = v.CashierUrl);
|
|
246
|
+
},
|
|
247
|
+
(v) => {
|
|
248
|
+
console.error(v);
|
|
249
|
+
}
|
|
250
|
+
);
|
|
251
|
+
}, O = () => {
|
|
252
|
+
ce(u);
|
|
253
|
+
};
|
|
254
|
+
ie(() => (window.addEventListener("message", F, !1), () => {
|
|
255
|
+
window.removeEventListener("message", F);
|
|
256
|
+
}));
|
|
257
|
+
const q = () => A();
|
|
258
|
+
function Q(i) {
|
|
259
|
+
se[i ? "unshift" : "push"](() => {
|
|
260
|
+
g = i, t(0, g);
|
|
261
|
+
});
|
|
262
|
+
}
|
|
263
|
+
return a.$$set = (i) => {
|
|
264
|
+
"endpoint" in i && t(8, l = i.endpoint), "session" in i && t(9, f = i.session), "playerid" in i && t(10, c = i.playerid), "lang" in i && t(11, u = i.lang), "hasdefaultamount" in i && t(12, m = i.hasdefaultamount), "clientstyling" in i && t(13, o = i.clientstyling), "clientstylingurl" in i && t(14, r = i.clientstylingurl), "translationurl" in i && t(15, h = i.translationurl), "playercurrency" in i && t(7, y = i.playercurrency), "shortcashierenabled" in i && t(16, D = i.shortcashierenabled);
|
|
265
|
+
}, a.$$.update = () => {
|
|
266
|
+
a.$$.dirty & /*lang*/
|
|
267
|
+
2048 && u && O(), a.$$.dirty & /*shortcashierenabled*/
|
|
268
|
+
65536 && (n = D.toLocaleLowerCase() === "true"), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
269
|
+
8193 && o && g && re(g, o), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
270
|
+
16385 && r && g && ne(g), a.$$.dirty & /*customStylingContainer*/
|
|
271
|
+
1 && g && oe(g, "Casino.Style"), a.$$.dirty & /*translationurl*/
|
|
272
|
+
32768 && h && G(), a.$$.dirty & /*session, playerid, endpoint, playercurrency, lang, shortcashierenabled*/
|
|
273
|
+
69504 && f && c && l && y && u && D && N();
|
|
274
|
+
}, [
|
|
275
|
+
g,
|
|
276
|
+
B,
|
|
277
|
+
I,
|
|
278
|
+
P,
|
|
279
|
+
s,
|
|
280
|
+
R,
|
|
281
|
+
A,
|
|
282
|
+
y,
|
|
283
|
+
l,
|
|
284
|
+
f,
|
|
285
|
+
c,
|
|
286
|
+
u,
|
|
287
|
+
m,
|
|
288
|
+
o,
|
|
289
|
+
r,
|
|
290
|
+
h,
|
|
291
|
+
D,
|
|
292
|
+
q,
|
|
293
|
+
Q
|
|
294
|
+
];
|
|
295
|
+
}
|
|
296
|
+
class me extends X {
|
|
297
|
+
constructor(e) {
|
|
298
|
+
super(), Z(
|
|
299
|
+
this,
|
|
300
|
+
e,
|
|
301
|
+
fe,
|
|
302
|
+
ge,
|
|
303
|
+
K,
|
|
304
|
+
{
|
|
305
|
+
endpoint: 8,
|
|
306
|
+
session: 9,
|
|
307
|
+
playerid: 10,
|
|
308
|
+
lang: 11,
|
|
309
|
+
hasdefaultamount: 12,
|
|
310
|
+
clientstyling: 13,
|
|
311
|
+
clientstylingurl: 14,
|
|
312
|
+
translationurl: 15,
|
|
313
|
+
playercurrency: 7,
|
|
314
|
+
shortcashierenabled: 16
|
|
315
|
+
},
|
|
316
|
+
de
|
|
317
|
+
);
|
|
318
|
+
}
|
|
319
|
+
get endpoint() {
|
|
320
|
+
return this.$$.ctx[8];
|
|
321
|
+
}
|
|
322
|
+
set endpoint(e) {
|
|
323
|
+
this.$$set({ endpoint: e }), w();
|
|
324
|
+
}
|
|
325
|
+
get session() {
|
|
326
|
+
return this.$$.ctx[9];
|
|
327
|
+
}
|
|
328
|
+
set session(e) {
|
|
329
|
+
this.$$set({ session: e }), w();
|
|
330
|
+
}
|
|
331
|
+
get playerid() {
|
|
332
|
+
return this.$$.ctx[10];
|
|
333
|
+
}
|
|
334
|
+
set playerid(e) {
|
|
335
|
+
this.$$set({ playerid: e }), w();
|
|
336
|
+
}
|
|
337
|
+
get lang() {
|
|
338
|
+
return this.$$.ctx[11];
|
|
339
|
+
}
|
|
340
|
+
set lang(e) {
|
|
341
|
+
this.$$set({ lang: e }), w();
|
|
342
|
+
}
|
|
343
|
+
get hasdefaultamount() {
|
|
344
|
+
return this.$$.ctx[12];
|
|
345
|
+
}
|
|
346
|
+
set hasdefaultamount(e) {
|
|
347
|
+
this.$$set({ hasdefaultamount: e }), w();
|
|
348
|
+
}
|
|
349
|
+
get clientstyling() {
|
|
350
|
+
return this.$$.ctx[13];
|
|
351
|
+
}
|
|
352
|
+
set clientstyling(e) {
|
|
353
|
+
this.$$set({ clientstyling: e }), w();
|
|
354
|
+
}
|
|
355
|
+
get clientstylingurl() {
|
|
356
|
+
return this.$$.ctx[14];
|
|
357
|
+
}
|
|
358
|
+
set clientstylingurl(e) {
|
|
359
|
+
this.$$set({ clientstylingurl: e }), w();
|
|
360
|
+
}
|
|
361
|
+
get translationurl() {
|
|
362
|
+
return this.$$.ctx[15];
|
|
363
|
+
}
|
|
364
|
+
set translationurl(e) {
|
|
365
|
+
this.$$set({ translationurl: e }), w();
|
|
366
|
+
}
|
|
367
|
+
get playercurrency() {
|
|
368
|
+
return this.$$.ctx[7];
|
|
369
|
+
}
|
|
370
|
+
set playercurrency(e) {
|
|
371
|
+
this.$$set({ playercurrency: e }), w();
|
|
372
|
+
}
|
|
373
|
+
get shortcashierenabled() {
|
|
374
|
+
return this.$$.ctx[16];
|
|
375
|
+
}
|
|
376
|
+
set shortcashierenabled(e) {
|
|
377
|
+
this.$$set({ shortcashierenabled: e }), w();
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
J(me, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, playercurrency: {}, shortcashierenabled: {} }, [], [], !0);
|
|
381
|
+
export {
|
|
382
|
+
me as default
|
|
383
|
+
};
|