@everymatrix/player-account-controller-nd 1.49.2 → 1.50.1
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/GeneralLogout-BBoBE1Lx.cjs +8 -0
- package/components/{GeneralLogout-CT6JdzJJ.js → GeneralLogout-CpfJL45A.js} +323 -317
- package/components/PlayerAccountBettingHistory-BhFyAw7S.cjs +1 -0
- package/components/{PlayerAccountBettingHistory-BQS41tJM.js → PlayerAccountBettingHistory-C6Jnecgm.js} +35 -35
- package/components/{PlayerAccountBiometrics-BrG1qQsh.js → PlayerAccountBiometrics-CbgGBdjA.js} +38 -38
- package/components/PlayerAccountBiometrics-U1ab8cUd.cjs +1 -0
- package/components/PlayerAccountClosureNd-CLRXe1KM.cjs +1 -0
- package/components/{PlayerAccountClosureNd-DZGf20sc.js → PlayerAccountClosureNd-CQa6GJ-9.js} +22 -22
- package/components/{PlayerAccountControllerNd-DfkUpXUA.js → PlayerAccountControllerNd-BSVMbuxt.js} +21 -21
- package/components/PlayerAccountControllerNd-CuHyqivG.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-DZT2yHAi.js → PlayerAccountGamingLimits-BysIpKq_.js} +43 -43
- package/components/PlayerAccountGamingLimits-ImaSq8Bu.cjs +1 -0
- package/components/PlayerAccountGamingLimitsConfirmationModal-B1H9kGBj.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Ct6y_gaE.js → PlayerAccountGamingLimitsConfirmationModal-C1JaSEj9.js} +21 -21
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cf0Vwm5f.js → PlayerAccountGamingLimitsGroupEdit-DvbllfiB.js} +178 -178
- package/components/{PlayerAccountGamingLimitsGroupEdit-C0TmN9tW.cjs → PlayerAccountGamingLimitsGroupEdit-mkhXUxp2.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2Nd-NOHMlmb-.js → PlayerAccountGamingLimitsHistory2Nd-5utMOF-c.js} +59 -59
- package/components/PlayerAccountGamingLimitsHistory2Nd-PWXwK3xR.cjs +1 -0
- package/components/PlayerAccountGamingLimitsInfoCard-CcdNEm3s.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsInfoCard-gzrqsmTe.js → PlayerAccountGamingLimitsInfoCard-Cf-_Q_Il.js} +80 -80
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-Dbm8J6qJ.cjs → PlayerAccountGamingLimitsPage2Gm16Nd-Cd5sgo9y.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsPage2Gm16Nd-CDvdIJm8.js → PlayerAccountGamingLimitsPage2Gm16Nd-Dgj11XWr.js} +2 -2
- package/components/{PlayerAccountGamingLimitsPopup-P4wj3V9k.js → PlayerAccountGamingLimitsPopup-BGVFSakv.js} +14 -14
- package/components/PlayerAccountGamingLimitsPopup-C47JGdE1.cjs +1 -0
- package/components/PlayerAccountGamingLimitsWrapper2Nd-B1d5eGWo.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsWrapper2Nd-CbVCR27v.js → PlayerAccountGamingLimitsWrapper2Nd-D2CBz_5K.js} +14 -14
- package/components/{PlayerAccountMenuNd-BgsY7YQL.js → PlayerAccountMenuNd-Cy1yKfxC.js} +75 -75
- package/components/PlayerAccountMenuNd-T9fpXE8-.cjs +1 -0
- package/components/{PlayerAccountModal-CIR41mpM.cjs → PlayerAccountModal-CUdeZ6ZD.cjs} +1 -1
- package/components/{PlayerAccountModal-Dl52frb-.js → PlayerAccountModal-CcuAGQY1.js} +1 -1
- package/components/PlayerAccountNotifications-B5y5G3E_.cjs +1 -0
- package/components/{PlayerAccountNotifications-sQPz396P.js → PlayerAccountNotifications-BS8gXEjF.js} +5 -5
- package/components/{PlayerAccountSelfExclusionNd-BtlWGpcC.js → PlayerAccountSelfExclusionNd-DJdimTeI.js} +483 -4
- package/components/{PlayerAccountSelfExclusionNd-Wf-Zcu-v.cjs → PlayerAccountSelfExclusionNd-uHrwQnpT.cjs} +482 -4
- package/components/PlayerAccountTimeout-CNtkqjo7.cjs +1 -0
- package/components/{PlayerAccountTimeout-4Wj662L_.js → PlayerAccountTimeout-CoL4r8kh.js} +42 -42
- package/components/PlayerActiveBonuses-DOOKCxQp.cjs +1 -0
- package/components/{PlayerActiveBonuses-BE0qfJz_.js → PlayerActiveBonuses-Dm8oJ-8E.js} +33 -33
- package/components/{PlayerBonusCard-DdxYH7lf.cjs → PlayerBonusCard-Bt-n3Mxi.cjs} +1 -1
- package/components/{PlayerBonusCard-BwUugzC6.js → PlayerBonusCard-y6Mmy7BC.js} +2 -2
- package/components/{PlayerBonusHistory-CpVXrw4-.js → PlayerBonusHistory-BAqio45G.js} +4 -4
- package/components/{PlayerBonusHistory-DNRm6rTc.cjs → PlayerBonusHistory-CwcvkOns.cjs} +1 -1
- package/components/{PlayerChangePassword-BDyXZ2_q.cjs → PlayerChangePassword-C-8QN3hH.cjs} +1 -1
- package/components/{PlayerChangePassword-Cv6wa7VL.js → PlayerChangePassword-CU9ISaq8.js} +1 -1
- package/components/{PlayerDeposit-CYpXuZIT.cjs → PlayerDeposit-BLymLH97.cjs} +1 -1
- package/components/{PlayerDeposit-DvSZCw5N.js → PlayerDeposit-BO3gHJ2M.js} +1 -1
- package/components/{PlayerGamingHistory-DXKWBhvu.cjs → PlayerGamingHistory-Bsrdosmr.cjs} +1 -1
- package/components/{PlayerGamingHistory-DB4CakRN.js → PlayerGamingHistory-dHWr4quw.js} +4 -4
- package/components/{PlayerPendingWithdrawals-pwyPkm03.js → PlayerPendingWithdrawals-CSQvhjqu.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Dn63yKxo.cjs → PlayerPendingWithdrawals-CUpLO6X3.cjs} +1 -1
- package/components/{PlayerProfileInfo-i7DhTVz2.cjs → PlayerProfileInfo-8LQ0QT94.cjs} +1 -1
- package/components/{PlayerProfileInfo-BqvwYfPx.js → PlayerProfileInfo-CFjLZ0AP.js} +1 -1
- package/components/PlayerRealityCheck-B--KgOX7.cjs +1 -0
- package/components/{PlayerRealityCheck-BVQGrSeS.js → PlayerRealityCheck-CKMxPxsj.js} +52 -52
- package/components/{PlayerTransactionHistory-BLQrFvTx.js → PlayerTransactionHistory-1P_fFQ9M.js} +1 -1
- package/components/{PlayerTransactionHistory-DJICk5qY.cjs → PlayerTransactionHistory-KkAMcV0S.cjs} +1 -1
- package/components/{PlayerWithdrawal-gkzbD0rI.js → PlayerWithdrawal-Bho97r_v.js} +1 -1
- package/components/{PlayerWithdrawal-DuxGAxKs.cjs → PlayerWithdrawal-Bt2B8luj.cjs} +1 -1
- package/es2015/player-account-controller-nd.cjs +1 -1
- package/es2015/player-account-controller-nd.js +1 -1
- package/package.json +1 -1
- package/components/GeneralLogout-bc8vhI_H.cjs +0 -8
- package/components/PlayerAccountBettingHistory-BK6xPWSw.cjs +0 -1
- package/components/PlayerAccountBiometrics-C-3zrtyy.cjs +0 -1
- package/components/PlayerAccountClosureNd-DWE1BQjS.cjs +0 -1
- package/components/PlayerAccountControllerNd-C3AI8QtD.cjs +0 -1
- package/components/PlayerAccountGamingLimits-a_ERECbs.cjs +0 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-l6qA-tGo.cjs +0 -1
- package/components/PlayerAccountGamingLimitsHistory2Nd-BNHdTsFe.cjs +0 -1
- package/components/PlayerAccountGamingLimitsInfoCard-0xDp-CBL.cjs +0 -1
- package/components/PlayerAccountGamingLimitsPopup-CRCoJtQR.cjs +0 -1
- package/components/PlayerAccountGamingLimitsWrapper2Nd-x7iKhdJf.cjs +0 -1
- package/components/PlayerAccountMenuNd-uyqoX0xo.cjs +0 -1
- package/components/PlayerAccountNotifications-DNWMsUnC.cjs +0 -1
- package/components/PlayerAccountTimeout-C0nlqzAC.cjs +0 -1
- package/components/PlayerActiveBonuses-D2PR-NJe.cjs +0 -1
- package/components/PlayerRealityCheck-BaBE_tNE.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BBoBE1Lx.cjs");function I(i,t){e.addMessages(i,t)}function z(i){e.$locale.set(i)}const T={en:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},de:{name:"Info",amountChanged:"Your limit has been changed or increased: {amount} {currency}. You will have to wait for the expiration date for your new limit to take effect:",defaultText:"When you set a game limit, it takes effect from the moment you activate it and lasts until the end of the selected period. Therefore, if you set a daily limit at 14.00, the 24-hour period that counts is from its activation until 00:00 GMT. The limit is then valid for 24 days. you can lower a limit at any time with immediate effect. however, increasing or removing a limit will not apply until the current limit expires."},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",defaultText:"當您設置遊戲限制時,它從您激活它的那一刻起生效,並持續到所選時間段結束。 因此,如果您將每日限制設置為 14.00,則計算的 24 小時周期是從其激活到格林威治標準時間 00:00。 然後限制每 24 小時有效。 您可以隨時降低限制並立即生效。 但是,提高或取消限制將僅在當前限製到期時適用。"},fr:{name:"Info",amountChanged:"Votre limit a été modifiée ou augmentée: {amount} {currency}. Vous devez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",defaultText:"Lorsque vous définissez une limite de jeu, elle prend effet à partir du moment ou vous l'activez et dure jusqu'à la fin de la période séléctionnée. Par conséquent, si vous fixez une limite quotidienne à 14.00, la période de 24 heures qui compte est celle allant de son activation jusqu'à 00:00 GMT.la limite est alors valable 24 jours. vous pouvez abaisser une limite à tout moment avec un effet immédiat. cependant, l'augmentation ou la suppression d'une limite ne s'appliquera que lorsque la limite actuelle expira."},ro:{name:"Informații",amountChanged:"Limita ta a fost schimbată sau a crescut: {amount} {currency}. Trebuie să aștepți până la data de expirare pentru ca noua ta limită să intre în vigoare.",defaultText:"Când stabilești o limită de joc, efectele se produc începând din momentul în care o activezi și durează până la finalul perioadei selectate. Așadar, dacă stabilești o limită zilnică la 14:00, perioada de 24 de ore este de la activare până la 00:00 GMT. Ulterior, limita va fi valabilă la fiecare 24 de ore. Poți micșora limita oricând, cu efect imediat. Totuși, majorarea sau eliminarea unei limite va fi aplicată în momentul în care limita curentă expiră."},es:{name:"Info",amountChanged:"Tú limite ha sido cambiado o incrementado: {amount} {currency}. Tendrás que esperar a la fecha de expiración para que tu nuevo límite entre en vigencia:",defaultText:"Cuando establece un límite de juego, entra en vigencia desde el momento en que lo activa y dura hasta el final del período seleccionado. Por tanto, si estableces un límite diario a las 14:00, el periodo de 24 horas que cuenta es desde su activación hasta las 00:00 GMT. Entonces el límite es válido cada 24 horas. Puede reducir un límite en cualquier momento con efecto inmediato. Sin embargo, el aumento o la eliminación de un límite solo se aplicará cuando expire el límite actual."},pt:{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que aguardar a data de expiração para que seu novo limite entre em vigor:",defaultText:"Quando você define um limite de jogo, ele entra em vigor a partir do momento em que você o ativa e dura até o final do período selecionado. Portanto, se você definir um limite diário às 14h00, o período de 24 horas que conta é desde sua ativação até às 00h00 GMT. Então o limite é válido a cada 24 horas. Você pode diminuir um limite a qualquer momento com efeito imediato. No entanto, aumentar ou remover um limite será aplicado somente quando o limite atual expirar."},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {amount} {currency}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",defaultText:"Kada postavite ograničenje igre"},"pt-br":{name:"Informação",amountChanged:"Seu limite foi alterado ou aumentado: {amount} {currency}. Você terá que ultrapassar a data de expiração para que o novo limite entre em vigor:",defaultText:'Quando um limite é definido,Entra em vigor a partir do momento em que é ativado e dura até o final do período selecionado. Portanto,Se você definir o limite diário às 14h00.,"O período de 24 horas é desde o momento da ativação até. O limite será então válido por 24 dias, você pode reduzir o limite a qualquer momento com efeito imediato, no entanto",aumentar ou remover um limite não será aplicado até que o limite atual expire'},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado: {amount} {currency}. Tendrá que espirar a la fecha de expiración para que el nuevo límite entre en efecto:",defaultText:'Cuando se fija un límite,entra en efecto desde el momento que se activa y dura hasta el final del periodo seleccionado. Por lo tanto,Si fija el límite diario a las 14.00,"el periodo de 24-horas es desde el momento de la activación hasta. El límite entonces sera válido por 24 días, ustede puede reducir el límite en cualquier momento con efecto inmediato, sin embargo", aumentar o remover un límite no aplicará hasta el límite actual expire'},tr:{name:"Bilgi",amountChanged:"Limitiniz değiştirildi veya artırıldı: {amount} {currency}. Yeni limitinizin geçerlilik kazanması için son kullanma tarihini beklemeniz gerekecektir:",defaultText:"Oyun limiti belirlediğinizde, aktif hale getirdiğiniz andan itibaren geçerli olur ve seçilen sürenin sonuna kadar sürer. Bu nedenle, eğer günlük limiti saat 14.00 olarak ayarlarsanız, 24 saatlik süre, etkinleştirildiği andan saat 00:00 GMT'ye kadardır. Limit daha sonra 24 gün boyunca geçerlidir. Dilediğiniz zaman anında etkili olacak şekilde bir limiti düşürebilirsiniz. ancak mevcut limitin süresi dolana kadar limitin arttırılması veya kaldırılması geçerli olmayacaktır."}};function j(i){e.append_styles(i,"svelte-11p58yq",'.InfoCardPopupMobileModal:after{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:101;content:""}.InfoCardPopupLimitChanged{background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardPopupWrapper{width:200px;padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 4px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block;position:absolute;top:32px;left:-84px;z-index:9}.InfoCardPopupWrapper:before{content:"";position:absolute;top:-7px;left:104px;border-style:solid;border-width:0 7px 7px;border-color:var(--emw--color-white, #FFFFFF) transparent;display:block;width:0;z-index:1}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper{width:70%;position:fixed;top:50%;left:50%;transform:translate(-50%, -50%);z-index:300}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupTitle{font-size:18px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupCloseButton{width:30px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper .InfoCardPopupContent{font-size:16px}.InfoCardPopupWrapper.InfoCardPopupMobileWrapper:before{content:none}.InfoCardPopupHeader{display:inline-flex}.InfoCardPopupHeader .InfoCardPopupTitle{line-height:24px;font-size:16px;font-weight:400;padding-left:10px}.InfoCardPopupIcon{display:flex;font-size:24px;width:24px;height:24px;background:transparent;border:1px solid var(--emw--color-black, #000000);align-items:center;justify-content:center;border-radius:30px}.InfoCardPopupContent{font-size:14px;font-weight:300}.InfoCardPopupCloseButton{width:20px;position:absolute;right:10px;top:10px;cursor:pointer;transition-duration:0.3s}.InfoCardPopupCloseButton:hover{color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));fill:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;border-radius:50%;color:var(--emw--color-white, #FFFFFF);cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:32px;height:32px;fill:var(--emw--color-black, #000000)}')}function _(i){let t,a,o,r,l,m,y=i[4]("name")+"",h,v,c,x,p,d,w,P;function k(u,g){return u[0]?L:F}let C=k(i),s=C(i);return{c(){t=e.element("section"),a=e.element("div"),o=e.element("div"),r=e.element("div"),r.textContent="i",l=e.space(),m=e.element("div"),h=e.text(y),v=e.space(),c=e.element("div"),c.innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',x=e.space(),p=e.element("div"),s.c(),e.attr(r,"class","InfoCardPopupIcon"),e.attr(m,"class","InfoCardPopupTitle"),e.attr(c,"class","InfoCardPopupCloseButton"),e.attr(o,"class","InfoCardPopupHeader"),e.attr(p,"class","InfoCardPopupContentArea"),e.attr(a,"class",d="InfoCardPopupWrapper "+(i[5]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),e.attr(t,"class",i[5]?"InfoCardPopupMobileModal":"")},m(u,g){e.insert(u,t,g),e.append(t,a),e.append(a,o),e.append(o,r),e.append(o,l),e.append(o,m),e.append(m,h),e.append(o,v),e.append(o,c),e.append(a,x),e.append(a,p),s.m(p,null),i[12](t),w||(P=e.listen(c,"click",e.prevent_default(i[6])),w=!0)},p(u,g){g&16&&y!==(y=u[4]("name")+"")&&e.set_data(h,y),C===(C=k(u))&&s?s.p(u,g):(s.d(1),s=C(u),s&&(s.c(),s.m(p,null))),g&1&&d!==(d="InfoCardPopupWrapper "+(u[5]?"InfoCardPopupMobileWrapper":"")+" "+(u[0]?"InfoCardPopupLimitChanged":""))&&e.attr(a,"class",d)},d(u){u&&e.detach(t),s.d(),i[12](null),w=!1,P()}}}function F(i){let t,a=i[4]("defaultText")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(r,l){e.insert(r,t,l),e.append(t,o)},p(r,l){l&16&&a!==(a=r[4]("defaultText")+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function L(i){let t,a=i[4]("amountChanged",{values:{amount:i[0],currency:i[1]}})+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(r,l){e.insert(r,t,l),e.append(t,o)},p(r,l){l&19&&a!==(a=r[4]("amountChanged",{values:{amount:r[0],currency:r[1]}})+"")&&e.set_data(o,a)},d(r){r&&e.detach(t)}}}function W(i){let t,a=i[3]&&_(i);return{c(){a&&a.c(),t=e.empty()},m(o,r){a&&a.m(o,r),e.insert(o,t,r)},p(o,[r]){o[3]?a?a.p(o,r):(a=_(o),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},i:e.noop,o:e.noop,d(o){o&&e.detach(t),a&&a.d(o)}}}function S(i,t,a){let o;e.component_subscribe(i,e.$format,n=>a(4,o=n));let{showpopup:r=""}=t,{iteminfoamount:l=""}=t,{lang:m="en"}=t,{playercurrency:y="USD"}=t,{clientstyling:h=""}=t,{clientstylingurl:v=""}=t,{translationurl:c=""}=t;const x=()=>{fetch(c).then(f=>f.json()).then(f=>{Object.keys(f).forEach(b=>{I(b,f[b])})}).catch(f=>{console.log(f)})};Object.keys(T).forEach(n=>{I(n,T[n])});let p=!1,d,w=window.navigator.userAgent,P=e.getDevice(w)!=="PC";const k=()=>{a(3,p=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},C=n=>{n.data&&n.data.type=="ClosePlayerAccountGamingLimitsPopup"&&a(3,p=!1)},s=()=>{z(m),l<0&&a(0,l="0"),a(3,p=r)},u=()=>{let n=document.createElement("style");n.innerHTML=h,d.appendChild(n)},g=()=>{let n=new URL(v),f=document.createElement("style");fetch(n.href).then(b=>b.text()).then(b=>{f.innerHTML=b,setTimeout(()=>{d.appendChild(f)},1)})};e.onMount(()=>(window.addEventListener("message",C,!1),()=>{window.removeEventListener("message",C)}));function M(n){e.binding_callbacks[n?"unshift":"push"](()=>{d=n,a(2,d)})}return i.$$set=n=>{"showpopup"in n&&a(7,r=n.showpopup),"iteminfoamount"in n&&a(0,l=n.iteminfoamount),"lang"in n&&a(8,m=n.lang),"playercurrency"in n&&a(1,y=n.playercurrency),"clientstyling"in n&&a(9,h=n.clientstyling),"clientstylingurl"in n&&a(10,v=n.clientstylingurl),"translationurl"in n&&a(11,c=n.translationurl)},i.$$.update=()=>{i.$$.dirty&384&&r&&m&&s(),i.$$.dirty&1028&&v&&d&&g(),i.$$.dirty&516&&h&&d&&u(),i.$$.dirty&2048&&c&&x()},[l,y,d,p,o,P,k,r,m,h,v,c,M]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,S,W,e.safe_not_equal,{showpopup:7,iteminfoamount:0,lang:8,playercurrency:1,clientstyling:9,clientstylingurl:10,translationurl:11},j)}get showpopup(){return this.$$.ctx[7]}set showpopup(t){this.$$set({showpopup:t}),e.flush()}get iteminfoamount(){return this.$$.ctx[0]}set iteminfoamount(t){this.$$set({iteminfoamount:t}),e.flush()}get lang(){return this.$$.ctx[8]}set lang(t){this.$$set({lang:t}),e.flush()}get playercurrency(){return this.$$.ctx[1]}set playercurrency(t){this.$$set({playercurrency:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(q,{showpopup:{},iteminfoamount:{},lang:{},playercurrency:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=q;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-BBoBE1Lx.cjs");function ee({withLocale:n,translations:t}){e.$locale.subscribe(i=>{i==null&&(e.$dictionary.set(t),e.$locale.set(n))})}function te(n,t){e.addMessages(n,t)}const j={en:{titleLimitsWrapper2:"Limits"},"zh-hk":{titleLimitsWrapper2:"Limits"},fr:{titleLimitsWrapper2:"Limits"},ro:{titleLimitsWrapper2:"Limits"},es:{titleLimitsWrapper2:"Limits"},pt:{titleLimitsWrapper2:"Limits"},hr:{titleLimitsWrapper2:"Ograničenja"},"pt-br":{titleLimitsWrapper2:"Limites"},"es-mx":{titleLimitsWrapper2:"Límites"},tr:{titleLimitsWrapper2:"Sınırlar"}};if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsPage2Gm16Nd-Cd5sgo9y.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-page-2-gm16-nd")&&customElements.define("player-account-gaming-limits-page-2-gm16-nd",t.element)})}if(typeof window!="undefined"){let n=function(t){return function(...i){try{return t.apply(this,i)}catch(s){if(s instanceof DOMException&&s.message.includes("has already been used with this registry")||s.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw s}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsHistory2Nd-PWXwK3xR.cjs")).then(({default:t})=>{!customElements.get("player-account-gaming-limits-history-2-nd")&&customElements.define("player-account-gaming-limits-history-2-nd",t.element)})}const{document:ie}=e.globals;function ne(n){e.append_styles(n,"svelte-1y3c3nw",':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px;color:var(--emw--pam-color-primary, #22B04E);background-color:var(--emw--pam-color-bg, #F1F1F1);border-radius:var(--emw--border-radius-large, 20px);min-height:1000px;display:flex;flex-direction:column}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.GamingLimitsWrapper.GamingLimitsWrapperMobile .GamingLimitsContent,.GamingLimitsWrapper.GamingLimitsWrapperMobile .PlayerAccountGamingLmitsWrapper2,.GamingLimitsWrapper.GamingLimitsWrapperMobile .LimitsTab{flex-direction:column;width:100%;height:fit-content;padding:5px 0;font-size:10px;margin-right:5px}.GamingLimitsWrapper .GamingLimitsContent{display:flex;flex-direction:row}.GamingLimitsWrapper .LimitsWrapper,.GamingLimitsWrapper .TabsContainer,.GamingLimitsWrapper .LimitsTab{display:flex;flex-direction:column;align-items:center;flex-direction:row}.GamingLimitsWrapper .TabsContainer{height:50px;margin-bottom:12px;cursor:pointer;justify-content:left;color:var(--emw--color-typography-contrast, #444444)}.GamingLimitsWrapper .LimitsTab{font-size:16px;line-height:1.4rem;text-transform:uppercase;padding:10px 40px;background-color:var(--emw--color-grey-150, #C0CBC3);border-radius:var(--emw--border-radius-large, 50px);margin-right:20px}.GamingLimitsWrapper .Selected{color:var(--emw--color-typpgraphy, #FFFFFF);background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C))}.GamingLimitsWrapper .PlayerAccountGamingLmitsWrapper2{margin-bottom:20px;width:65%}.Hidden{display:none}h2{margin:20px 0}.MenuReturnButton{color:var(--emw--pam-color-primary, #22B04E);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, #22B04E)}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, #22B04E);font-weight:400}.GamingLimitsTitleMobile{font-size:16px}')}function z(n,t,i){const s=n.slice();return s[41]=t[i],s[43]=i,s}function O(n,t,i){const s=n.slice();return s[44]=t[i],s[43]=i,s}function se(n){let t,i,s,a,r,o,c,u,m,d,_=n[22]("titleLimitsWrapper2")+"",b,y,g;return{c(){t=e.element("div"),i=e.svg_element("svg"),s=e.svg_element("defs"),a=e.svg_element("style"),r=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),o=e.svg_element("g"),c=e.svg_element("g"),u=e.svg_element("path"),m=e.space(),d=e.element("h2"),b=e.text(_),e.attr(u,"class","aaa"),e.attr(u,"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(u,"transform","translate(15 15) rotate(180)"),e.attr(c,"transform","translate(20 158)"),e.attr(o,"transform","translate(-20 -158)"),e.attr(i,"xmlns","http://www.w3.org/2000/svg"),e.attr(i,"width","15"),e.attr(i,"height","15"),e.attr(i,"viewBox","0 0 15 15"),e.attr(d,"class","GamingLimitsTitleMobile"),e.attr(t,"class","MenuReturnButton"),e.attr(t,"part","MenuReturnButton")},m(f,h){e.insert(f,t,h),e.append(t,i),e.append(i,s),e.append(s,a),e.append(a,r),e.append(i,o),e.append(o,c),e.append(c,u),e.append(t,m),e.append(t,d),e.append(d,b),y||(g=e.listen(t,"click",n[30]),y=!0)},p(f,h){h[0]&4194304&&_!==(_=f[22]("titleLimitsWrapper2")+"")&&e.set_data(b,_)},d(f){f&&e.detach(t),y=!1,g()}}}function le(n){let t,i,s,a,r=n[23].length>1&&re(n),o=e.ensure_array_like(n[23]),c=[];for(let m=0;m<o.length;m+=1)c[m]=q(z(n,o,m));let u=n[6]==="true"&&I(n);return{c(){r&&r.c(),t=e.space(),i=e.element("div"),s=e.element("div");for(let m=0;m<c.length;m+=1)c[m].c();a=e.space(),u&&u.c(),e.attr(s,"class","PlayerAccountGamingLmitsWrapper2"),e.attr(i,"class","GamingLimitsContent")},m(m,d){r&&r.m(m,d),e.insert(m,t,d),e.insert(m,i,d),e.append(i,s);for(let _=0;_<c.length;_+=1)c[_]&&c[_].m(s,null);n[33](s),e.append(i,a),u&&u.m(i,null)},p(m,d){if(m[23].length>1&&r.p(m,d),d[0]&3177919){o=e.ensure_array_like(m[23]);let _;for(_=0;_<o.length;_+=1){const b=z(m,o,_);c[_]?c[_].p(b,d):(c[_]=q(b),c[_].c(),c[_].m(s,null))}for(;_<c.length;_+=1)c[_].d(1);c.length=o.length}m[6]==="true"?u?u.p(m,d):(u=I(m),u.c(),u.m(i,null)):u&&(u.d(1),u=null)},d(m){m&&(e.detach(t),e.detach(i)),r&&r.d(m),e.destroy_each(c,m),n[33](null),u&&u.d()}}}function ae(n){return{c:e.noop,m:e.noop,p:e.noop,d:e.noop}}function re(n){let t,i=e.ensure_array_like(n[23]),s=[];for(let a=0;a<i.length;a+=1)s[a]=D(O(n,i,a));return{c(){t=e.element("div");for(let a=0;a<s.length;a+=1)s[a].c();e.attr(t,"class","TabsContainer")},m(a,r){e.insert(a,t,r);for(let o=0;o<s.length;o+=1)s[o]&&s[o].m(t,null);n[32](t)},p(a,r){if(r[0]&42205184){i=e.ensure_array_like(a[23]);let o;for(o=0;o<i.length;o+=1){const c=O(a,i,o);s[o]?s[o].p(c,r):(s[o]=D(c),s[o].c(),s[o].m(t,null))}for(;o<s.length;o+=1)s[o].d(1);s.length=i.length}},d(a){a&&e.detach(t),e.destroy_each(s,a),n[32](null)}}}function D(n){var c;let t,i=((c=n[18][n[43]])!=null?c:n[44])+"",s,a,r;function o(){return n[31](n[43])}return{c(){t=e.element("div"),s=e.text(i),e.attr(t,"class","LimitsTab")},m(u,m){e.insert(u,t,m),e.append(t,s),a||(r=e.listen(t,"click",o),a=!0)},p(u,m){var d;n=u,m[0]&262144&&i!==(i=((d=n[18][n[43]])!=null?d:n[44])+"")&&e.set_data(s,i)},d(u){u&&e.detach(t),a=!1,r()}}}function q(n){let t,i,s;return{c(){t=e.element("player-account-gaming-limits-page-2-gm16-nd"),e.set_custom_element_data(t,"class","Hidden Selected"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"currency",n[4]),e.set_custom_element_data(t,"amountsconfig",i=n[20][n[43]]),e.set_custom_element_data(t,"periodsconfig",s=n[21][n[43]]),e.set_custom_element_data(t,"limittabindex",n[43]+1),e.set_custom_element_data(t,"userid",n[1]),e.set_custom_element_data(t,"deletelimit",n[8]),e.set_custom_element_data(t,"enablecompliancetext",n[7]),e.set_custom_element_data(t,"session",n[2]),e.set_custom_element_data(t,"endpoint",n[3]),e.set_custom_element_data(t,"apiversion",n[5]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"translationurl",n[14]),e.set_custom_element_data(t,"customcurrencysymbols",n[10]),e.set_custom_element_data(t,"limitformat",n[11])},m(a,r){e.insert(a,t,r)},p(a,r){r[0]&1&&e.set_custom_element_data(t,"lang",a[0]),r[0]&16&&e.set_custom_element_data(t,"currency",a[4]),r[0]&1048576&&i!==(i=a[20][a[43]])&&e.set_custom_element_data(t,"amountsconfig",i),r[0]&2097152&&s!==(s=a[21][a[43]])&&e.set_custom_element_data(t,"periodsconfig",s),r[0]&2&&e.set_custom_element_data(t,"userid",a[1]),r[0]&256&&e.set_custom_element_data(t,"deletelimit",a[8]),r[0]&128&&e.set_custom_element_data(t,"enablecompliancetext",a[7]),r[0]&4&&e.set_custom_element_data(t,"session",a[2]),r[0]&8&&e.set_custom_element_data(t,"endpoint",a[3]),r[0]&32&&e.set_custom_element_data(t,"apiversion",a[5]),r[0]&4096&&e.set_custom_element_data(t,"clientstyling",a[12]),r[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",a[13]),r[0]&16384&&e.set_custom_element_data(t,"translationurl",a[14]),r[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",a[10]),r[0]&2048&&e.set_custom_element_data(t,"limitformat",a[11])},d(a){a&&e.detach(t)}}}function I(n){let t;return{c(){t=e.element("player-account-gaming-limits-history-2-nd"),e.set_custom_element_data(t,"lang",n[0]),e.set_custom_element_data(t,"userid",n[1]),e.set_custom_element_data(t,"session",n[2]),e.set_custom_element_data(t,"endpoint",n[3]),e.set_custom_element_data(t,"apiversion",n[5]),e.set_custom_element_data(t,"numberofentries",n[9]),e.set_custom_element_data(t,"clientstyling",n[12]),e.set_custom_element_data(t,"clientstylingurl",n[13]),e.set_custom_element_data(t,"translationurl",n[14]),e.set_custom_element_data(t,"customcurrencysymbols",n[10])},m(i,s){e.insert(i,t,s)},p(i,s){s[0]&1&&e.set_custom_element_data(t,"lang",i[0]),s[0]&2&&e.set_custom_element_data(t,"userid",i[1]),s[0]&4&&e.set_custom_element_data(t,"session",i[2]),s[0]&8&&e.set_custom_element_data(t,"endpoint",i[3]),s[0]&32&&e.set_custom_element_data(t,"apiversion",i[5]),s[0]&512&&e.set_custom_element_data(t,"numberofentries",i[9]),s[0]&4096&&e.set_custom_element_data(t,"clientstyling",i[12]),s[0]&8192&&e.set_custom_element_data(t,"clientstylingurl",i[13]),s[0]&16384&&e.set_custom_element_data(t,"translationurl",i[14]),s[0]&1024&&e.set_custom_element_data(t,"customcurrencysymbols",i[10])},d(i){i&&e.detach(t)}}}function me(n){let t,i,s,a,r,o,c,u=n[22]("titleLimitsWrapper2")+"",m,d,_=n[24]&&se(n);function b(f,h){return f[15]?ae:le}let y=b(n),g=y(n);return{c(){t=e.element("meta"),i=e.space(),s=e.element("div"),a=e.element("div"),r=e.element("div"),_&&_.c(),o=e.space(),c=e.element("h2"),m=e.text(u),d=e.space(),g.c(),e.attr(t,"name","viewport"),e.attr(t,"content","width=device-width, initial-scale=1"),e.attr(c,"class","GamingLimitsTitle "+(n[24]?"Hidden":"")),e.attr(r,"class","TitleSection"),e.attr(a,"class","GamingLimitsWrapper "+(n[24]?"GamingLimitsWrapperMobile":""))},m(f,h){e.append(ie.head,t),e.insert(f,i,h),e.insert(f,s,h),e.append(s,a),e.append(a,r),_&&_.m(r,null),e.append(r,o),e.append(r,c),e.append(c,m),e.append(a,d),g.m(a,null),n[34](s)},p(f,h){f[24]&&_.p(f,h),h[0]&4194304&&u!==(u=f[22]("titleLimitsWrapper2")+"")&&e.set_data(m,u),y===(y=b(f))&&g?g.p(f,h):(g.d(1),g=y(f),g&&(g.c(),g.m(a,null)))},i:e.noop,o:e.noop,d(f){f&&(e.detach(i),e.detach(s)),e.detach(t),_&&_.d(),g.d(),n[34](null)}}}function oe(n,t,i){let s;e.component_subscribe(n,e.$format,l=>i(22,s=l));let{lang:a=""}=t,{userid:r=""}=t,{session:o=""}=t,{endpoint:c=""}=t,{currency:u=""}=t,{apiversion:m=""}=t,{tablabels:d=""}=t,{historyenabled:_="true"}=t,{enablecompliancetext:b="false"}=t,{deletelimit:y=""}=t,{limitsamount:g=""}=t,{limitsperiods:f=""}=t,{numberofentries:h=""}=t,{customcurrencysymbols:A=""}=t,{limitformat:B=""}=t,{clientstyling:W=""}=t,{clientstylingurl:k=""}=t,{translationurl:P=""}=t;ee({withLocale:"en",translations:{}});let E=!0,v,M=[],F,w,L,G,T,U=window.navigator.userAgent,H=e.getDevice(U)!=="PC";Object.keys(j).forEach(l=>{te(l,j[l])});const V=(l,p)=>{if(i(20,G=l.replace(/\s/g,"").split("|")),i(21,T=p.replace(/\s/g,"").split("|")),G.length===0)throw new Error("Please provide a full limits configuration.");if(G.length!==T.length)throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.")},Z=()=>{V(g,f),g.split("|").forEach(p=>{M.includes(p)||M.push(p)}),i(18,F=d.split(",").map(p=>p.trim())),i(15,E=!1)},C=l=>{if(w.children.length>0)for(let p=0;p<w.children.length;p++)l===p?(w.children[p].classList.remove("Hidden"),L==null||L.children[p].classList.add("Selected")):(w.children[p].classList.add("Hidden"),L==null||L.children[p].classList.remove("Selected"))},R=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:H},window.location.href)},J=()=>{let l=document.createElement("style");l.innerHTML=W,v.appendChild(l)},K=()=>{let l=new URL(k),p=document.createElement("style");fetch(l.href).then(S=>S.text()).then(S=>{p.innerHTML=S,setTimeout(()=>{v.appendChild(p)},1)})};e.onMount(()=>()=>{i(17,w=null),i(19,L=null)});const Q=()=>R(),X=l=>C(l);function Y(l){e.binding_callbacks[l?"unshift":"push"](()=>{L=l,i(19,L)})}function x(l){e.binding_callbacks[l?"unshift":"push"](()=>{w=l,i(17,w)})}function $(l){e.binding_callbacks[l?"unshift":"push"](()=>{v=l,i(16,v)})}return n.$$set=l=>{"lang"in l&&i(0,a=l.lang),"userid"in l&&i(1,r=l.userid),"session"in l&&i(2,o=l.session),"endpoint"in l&&i(3,c=l.endpoint),"currency"in l&&i(4,u=l.currency),"apiversion"in l&&i(5,m=l.apiversion),"tablabels"in l&&i(27,d=l.tablabels),"historyenabled"in l&&i(6,_=l.historyenabled),"enablecompliancetext"in l&&i(7,b=l.enablecompliancetext),"deletelimit"in l&&i(8,y=l.deletelimit),"limitsamount"in l&&i(28,g=l.limitsamount),"limitsperiods"in l&&i(29,f=l.limitsperiods),"numberofentries"in l&&i(9,h=l.numberofentries),"customcurrencysymbols"in l&&i(10,A=l.customcurrencysymbols),"limitformat"in l&&i(11,B=l.limitformat),"clientstyling"in l&&i(12,W=l.clientstyling),"clientstylingurl"in l&&i(13,k=l.clientstylingurl),"translationurl"in l&&i(14,P=l.translationurl)},n.$$.update=()=>{n.$$.dirty[0]&134217775&&r&&o&&c&&d&&a&&m&&Z(),n.$$.dirty[0]&163840&&w&&!E&&C(0),n.$$.dirty[0]&73728&&k&&v&&K(),n.$$.dirty[0]&69632&&W&&v&&J()},[a,r,o,c,u,m,_,b,y,h,A,B,W,k,P,E,v,w,F,L,G,T,s,M,H,C,R,d,g,f,Q,X,Y,x,$]}class N extends e.SvelteComponent{constructor(t){super(),e.init(this,t,oe,me,e.safe_not_equal,{lang:0,userid:1,session:2,endpoint:3,currency:4,apiversion:5,tablabels:27,historyenabled:6,enablecompliancetext:7,deletelimit:8,limitsamount:28,limitsperiods:29,numberofentries:9,customcurrencysymbols:10,limitformat:11,clientstyling:12,clientstylingurl:13,translationurl:14},ne,[-1,-1])}get lang(){return this.$$.ctx[0]}set lang(t){this.$$set({lang:t}),e.flush()}get userid(){return this.$$.ctx[1]}set userid(t){this.$$set({userid:t}),e.flush()}get session(){return this.$$.ctx[2]}set session(t){this.$$set({session:t}),e.flush()}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency:t}),e.flush()}get apiversion(){return this.$$.ctx[5]}set apiversion(t){this.$$set({apiversion:t}),e.flush()}get tablabels(){return this.$$.ctx[27]}set tablabels(t){this.$$set({tablabels:t}),e.flush()}get historyenabled(){return this.$$.ctx[6]}set historyenabled(t){this.$$set({historyenabled:t}),e.flush()}get enablecompliancetext(){return this.$$.ctx[7]}set enablecompliancetext(t){this.$$set({enablecompliancetext:t}),e.flush()}get deletelimit(){return this.$$.ctx[8]}set deletelimit(t){this.$$set({deletelimit:t}),e.flush()}get limitsamount(){return this.$$.ctx[28]}set limitsamount(t){this.$$set({limitsamount:t}),e.flush()}get limitsperiods(){return this.$$.ctx[29]}set limitsperiods(t){this.$$set({limitsperiods:t}),e.flush()}get numberofentries(){return this.$$.ctx[9]}set numberofentries(t){this.$$set({numberofentries:t}),e.flush()}get customcurrencysymbols(){return this.$$.ctx[10]}set customcurrencysymbols(t){this.$$set({customcurrencysymbols:t}),e.flush()}get limitformat(){return this.$$.ctx[11]}set limitformat(t){this.$$set({limitformat:t}),e.flush()}get clientstyling(){return this.$$.ctx[12]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[13]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[14]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(N,{lang:{},userid:{},session:{},endpoint:{},currency:{},apiversion:{},tablabels:{},historyenabled:{},enablecompliancetext:{},deletelimit:{},limitsamount:{},limitsperiods:{},numberofentries:{},customcurrencysymbols:{},limitformat:{},clientstyling:{},clientstylingurl:{},translationurl:{}},[],[],!0);exports.default=N;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as X, z as he, a as pe, S as be, i as ye, f as y, c as _e, s as Le, b as we, e as w, d as A, t as P, g as h, l as p, k as M, n as U, o as S, p as k, q as ve, u as We, v as Ge, W as ke, w as C, m as ne, x as N, K as R, L as le, j as r, y as Ee } from "./GeneralLogout-
|
|
1
|
+
import { $ as X, z as he, a as pe, S as be, i as ye, f as y, c as _e, s as Le, b as we, e as w, d as A, t as P, g as h, l as p, k as M, n as U, o as S, p as k, q as ve, u as We, v as Ge, W as ke, w as C, m as ne, x as N, K as R, L as le, j as r, y as Ee } from "./GeneralLogout-CpfJL45A.js";
|
|
2
2
|
function Me({ withLocale: i, translations: e }) {
|
|
3
3
|
X.subscribe((t) => {
|
|
4
4
|
t == null && (he.set(e), X.set(i));
|
|
@@ -51,7 +51,7 @@ if (typeof window != "undefined") {
|
|
|
51
51
|
}
|
|
52
52
|
};
|
|
53
53
|
};
|
|
54
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16Nd-
|
|
54
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsPage2Gm16Nd-Dgj11XWr.js").then(
|
|
55
55
|
({ default: e }) => {
|
|
56
56
|
!customElements.get("player-account-gaming-limits-page-2-gm16-nd") && customElements.define(
|
|
57
57
|
"player-account-gaming-limits-page-2-gm16-nd",
|
|
@@ -72,7 +72,7 @@ if (typeof window != "undefined") {
|
|
|
72
72
|
}
|
|
73
73
|
};
|
|
74
74
|
};
|
|
75
|
-
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2Nd-
|
|
75
|
+
customElements.define = i(customElements.define), import("./PlayerAccountGamingLimitsHistory2Nd-5utMOF-c.js").then(({ default: e }) => {
|
|
76
76
|
!customElements.get("player-account-gaming-limits-history-2-nd") && customElements.define(
|
|
77
77
|
"player-account-gaming-limits-history-2-nd",
|
|
78
78
|
e.element
|
|
@@ -81,7 +81,7 @@ if (typeof window != "undefined") {
|
|
|
81
81
|
}
|
|
82
82
|
const { document: Ce } = ke;
|
|
83
83
|
function Se(i) {
|
|
84
|
-
we(i, "svelte-
|
|
84
|
+
we(i, "svelte-1y3c3nw", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#666}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.GamingLimitsWrapper{padding:50px;color:var(--emw--pam-color-primary, #22B04E);background-color:var(--emw--pam-color-bg, #F1F1F1);border-radius:var(--emw--border-radius-large, 20px);min-height:1000px;display:flex;flex-direction:column}.GamingLimitsWrapper.GamingLimitsWrapperMobile{padding:20px 15px}.GamingLimitsWrapper.GamingLimitsWrapperMobile .GamingLimitsContent,.GamingLimitsWrapper.GamingLimitsWrapperMobile .PlayerAccountGamingLmitsWrapper2,.GamingLimitsWrapper.GamingLimitsWrapperMobile .LimitsTab{flex-direction:column;width:100%;height:fit-content;padding:5px 0;font-size:10px;margin-right:5px}.GamingLimitsWrapper .GamingLimitsContent{display:flex;flex-direction:row}.GamingLimitsWrapper .LimitsWrapper,.GamingLimitsWrapper .TabsContainer,.GamingLimitsWrapper .LimitsTab{display:flex;flex-direction:column;align-items:center;flex-direction:row}.GamingLimitsWrapper .TabsContainer{height:50px;margin-bottom:12px;cursor:pointer;justify-content:left;color:var(--emw--color-typography-contrast, #444444)}.GamingLimitsWrapper .LimitsTab{font-size:16px;line-height:1.4rem;text-transform:uppercase;padding:10px 40px;background-color:var(--emw--color-grey-150, #C0CBC3);border-radius:var(--emw--border-radius-large, 50px);margin-right:20px}.GamingLimitsWrapper .Selected{color:var(--emw--color-typpgraphy, #FFFFFF);background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C))}.GamingLimitsWrapper .PlayerAccountGamingLmitsWrapper2{margin-bottom:20px;width:65%}.Hidden{display:none}h2{margin:20px 0}.MenuReturnButton{color:var(--emw--pam-color-primary, #22B04E);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, #22B04E)}.GamingLimitsTitle{font-size:26px;color:var(--emw--pam-color-primary, #22B04E);font-weight:400}.GamingLimitsTitleMobile{font-size:16px}');
|
|
85
85
|
}
|
|
86
86
|
function x(i, e, t) {
|
|
87
87
|
const n = i.slice();
|
|
@@ -98,7 +98,7 @@ function Ae(i) {
|
|
|
98
98
|
), v, W, b;
|
|
99
99
|
return {
|
|
100
100
|
c() {
|
|
101
|
-
e = w("div"), t = C("svg"), n = C("defs"), s = C("style"), a = P(".aaa{fill:var(--
|
|
101
|
+
e = w("div"), t = C("svg"), n = C("defs"), s = C("style"), a = P(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), m = C("g"), c = C("g"), u = C("path"), o = A(), g = w("h2"), v = P(f), h(u, "class", "aaa"), h(u, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), h(u, "transform", "translate(15 15) rotate(180)"), h(c, "transform", "translate(20 158)"), h(m, "transform", "translate(-20 -158)"), h(t, "xmlns", "http://www.w3.org/2000/svg"), h(t, "width", "15"), h(t, "height", "15"), h(t, "viewBox", "0 0 15 15"), h(g, "class", "GamingLimitsTitleMobile"), h(e, "class", "MenuReturnButton"), h(e, "part", "MenuReturnButton");
|
|
102
102
|
},
|
|
103
103
|
m(d, L) {
|
|
104
104
|
M(d, e, L), p(e, t), p(t, n), p(n, s), p(s, a), p(t, m), p(m, c), p(c, u), p(e, o), p(e, g), p(g, v), W || (b = ne(
|
|
@@ -614,7 +614,7 @@ function Re(i, e, t) {
|
|
|
614
614
|
ve(i, Ee, (l) => t(22, n = l));
|
|
615
615
|
let { lang: s = "" } = e, { userid: a = "" } = e, { session: m = "" } = e, { endpoint: c = "" } = e, { currency: u = "" } = e, { apiversion: o = "" } = e, { tablabels: g = "" } = e, { historyenabled: f = "true" } = e, { enablecompliancetext: v = "false" } = e, { deletelimit: W = "" } = e, { limitsamount: b = "" } = e, { limitsperiods: d = "" } = e, { numberofentries: L = "" } = e, { customcurrencysymbols: q = "" } = e, { limitformat: K = "" } = e, { clientstyling: B = "" } = e, { clientstylingurl: F = "" } = e, { translationurl: V = "" } = e;
|
|
616
616
|
Me({ withLocale: "en", translations: {} });
|
|
617
|
-
let
|
|
617
|
+
let z = !0, T, j = [], Z, E, G, H, D, se = window.navigator.userAgent, J = We(se) !== "PC";
|
|
618
618
|
Object.keys(Y).forEach((l) => {
|
|
619
619
|
Te(l, Y[l]);
|
|
620
620
|
});
|
|
@@ -625,8 +625,8 @@ function Re(i, e, t) {
|
|
|
625
625
|
throw new Error("Please make sure that the limit configuration parameters specify the same number of tabs.");
|
|
626
626
|
}, ae = () => {
|
|
627
627
|
re(b, d), b.split("|").forEach((_) => {
|
|
628
|
-
|
|
629
|
-
}), t(18, Z = g.split(",").map((_) => _.trim())), t(15,
|
|
628
|
+
j.includes(_) || j.push(_);
|
|
629
|
+
}), t(18, Z = g.split(",").map((_) => _.trim())), t(15, z = !1);
|
|
630
630
|
}, O = (l) => {
|
|
631
631
|
if (E.children.length > 0)
|
|
632
632
|
for (let _ = 0; _ < E.children.length; _++)
|
|
@@ -677,7 +677,7 @@ function Re(i, e, t) {
|
|
|
677
677
|
}, i.$$.update = () => {
|
|
678
678
|
i.$$.dirty[0] & /*userid, session, endpoint, tablabels, lang, apiversion*/
|
|
679
679
|
134217775 && a && m && c && g && s && o && ae(), i.$$.dirty[0] & /*mainContainer, isLoading*/
|
|
680
|
-
163840 && E && !
|
|
680
|
+
163840 && E && !z && O(0), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
681
681
|
73728 && F && T && me(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
682
682
|
69632 && B && T && oe();
|
|
683
683
|
}, [
|
|
@@ -696,7 +696,7 @@ function Re(i, e, t) {
|
|
|
696
696
|
B,
|
|
697
697
|
F,
|
|
698
698
|
V,
|
|
699
|
-
|
|
699
|
+
z,
|
|
700
700
|
T,
|
|
701
701
|
E,
|
|
702
702
|
Z,
|
|
@@ -704,7 +704,7 @@ function Re(i, e, t) {
|
|
|
704
704
|
H,
|
|
705
705
|
D,
|
|
706
706
|
n,
|
|
707
|
-
|
|
707
|
+
j,
|
|
708
708
|
J,
|
|
709
709
|
O,
|
|
710
710
|
Q,
|
|
@@ -718,7 +718,7 @@ function Re(i, e, t) {
|
|
|
718
718
|
de
|
|
719
719
|
];
|
|
720
720
|
}
|
|
721
|
-
class
|
|
721
|
+
class ze extends be {
|
|
722
722
|
constructor(e) {
|
|
723
723
|
super(), ye(
|
|
724
724
|
this,
|
|
@@ -859,7 +859,7 @@ class je extends be {
|
|
|
859
859
|
this.$$set({ translationurl: e }), y();
|
|
860
860
|
}
|
|
861
861
|
}
|
|
862
|
-
_e(
|
|
862
|
+
_e(ze, { lang: {}, userid: {}, session: {}, endpoint: {}, currency: {}, apiversion: {}, tablabels: {}, historyenabled: {}, enablecompliancetext: {}, deletelimit: {}, limitsamount: {}, limitsperiods: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
863
863
|
export {
|
|
864
|
-
|
|
864
|
+
ze as default
|
|
865
865
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ie, $ as ce, S as se, i as ue, f as
|
|
1
|
+
import { a as ie, $ as ce, S as se, i as ue, f as F, c as me, s as de, b as ge, e as v, k as L, o as j, p as B, q as ye, u as R, v as pe, x as fe, y as he, K as q, d as k, t as H, g as s, l as o, n as z, L as Ae, w as E, m as W, r as be, j as M, X as N } from "./GeneralLogout-CpfJL45A.js";
|
|
2
2
|
function X(n, e) {
|
|
3
3
|
ie(n, e);
|
|
4
4
|
}
|
|
@@ -49,54 +49,54 @@ if (typeof window != "undefined") {
|
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
|
-
customElements.define = n(customElements.define), import("./GeneralLogout-
|
|
52
|
+
customElements.define = n(customElements.define), import("./GeneralLogout-CpfJL45A.js").then((e) => e.a4).then(({ default: e }) => {
|
|
53
53
|
!customElements.get("general-logout") && customElements.define("general-logout", e.element);
|
|
54
54
|
});
|
|
55
55
|
}
|
|
56
56
|
function Pe(n) {
|
|
57
|
-
ge(n, "svelte-
|
|
57
|
+
ge(n, "svelte-pqb66s", '.PlayerAccountMenuContainer{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));position:relative;height:100vh;display:flex;flex-direction:column;padding:0 15px}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper{margin:0;word-break:break-all;display:flex;align-items:center}.PlayerAccountMenuContainer .PlayerAccountMenuItemWrapper span{display:flex;align-items:center}.PlayerAccountMenuHeader{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF));flex-grow:0;padding:30px 20px}.PlayerAccountMenuHeader .PlayerAccountMenuUser{margin-bottom:5px;font-size:18px;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountMenuHeader .PlayerAccountMenuEmail{font-size:14px;text-overflow:ellipsis;overflow:hidden}.PlayerAccountMenuHeader p{font-weight:300}.PlayerAccountMenuHeaderMobile{color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMenuItemBox{padding:16px 20px;font-size:16px;line-height:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;border-radius:var(--emw--border-radius-medium, 20px);border:2px solid transparent;cursor:pointer;transition:all 0.3s linear}.PlayerAccountMenuItemBox:hover{transition:all 0.3s linear;background:rgba(35, 176, 78, 0.3);border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);color:var(--emw--color-white, #FFFFFF)}.PlayerAccountMenuItemBox .PlayerAccountMenuItemTitle{margin-left:20px}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding-top:unset}.PlayerAccountMenuItemBox .PlayerAccountMenuItemIconMobile{width:30px;padding-top:15px}.PlayerAccountMenuList::-webkit-scrollbar{width:6px}.PlayerAccountMenuList::-webkit-scrollbar-track{background:var(--emw--color-gray-300, #58586B)}.PlayerAccountMenuList::-webkit-scrollbar-thumb{background:var(--emw--color-gray-100, #E6E6E6)}.PlayerAccountLogOutArea{background-color:rgba(253, 40, 57, 0.3);color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 20px);width:100%;flex-grow:0}.PlayerAccountMenuActiveItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);transition:all 0.3s linear}.PlayerAccountMobileContainer{height:unset;padding:0}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryWrapper{display:flex;align-items:center;gap:10px;margin-bottom:18px}.PlayerAccountMobileContainer .PlayerAccountMenuCategoryTitle{margin:0;font-weight:600}.PlayerAccountMobileContainer .PlayerAccountMenuItemTitle{margin-left:0;text-transform:capitalize;line-height:14px}.PlayerAccountMobileContainer .PlayerAccountMenuEmail{margin:0}.PlayerAccountMobileContainer .PlayerAccountMenuList{display:flex;flex-direction:column;align-items:flex-start;margin:0px 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox{background:rgba(35, 176, 78, 0.3);color:var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border:2px solid var(--emw--pam-color-primary, var(--emw--color-primary, #23B04E));border-radius:var(--emw--border-radius-medium, 20px);height:60px;margin:5px 0;align-items:flex-start;position:relative}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox.PlayerAccountMenuActiveItemBox{background:var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:20px;padding:0 10px 0 15px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox::after{content:"";display:inline-block;width:15px;height:15px;background-image:url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2215%22 height=%2215%22 viewBox=%220 0 15 15%22%3E%3Cdefs%3E%3Cstyle%3E.aaa%7Bfill:var(--emw--color-white,%20%23FFFFFF);%7D%3C/style%3E%3C/defs%3E%3Cg transform=%22translate(-20%20-158)%22%3E%3Cg transform=%22translate(20%20158)%22%3E%3Cpath class=%22aaa%22 d=%22M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z%22 transform=%22translate(15%2015)%20rotate(180)%22%3E%3C/path%3E%3C/g%3E%3C/g%3E%3C/svg%3E");background-size:contain;transform:scaleX(-1);background-repeat:no-repeat;position:absolute;right:15px;top:22px}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{display:flex;justify-items:center;align-items:center;flex-flow:row;gap:6px;position:absolute;top:0;bottom:0;left:0;right:0}.PlayerAccountMobileContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:16px;line-height:16px;font-weight:400;word-break:break-word;text-align:left;color:var(--emw--pam-typography-color-nav-bg, var(--emw--color-contrast, #FFFFFF))}.PlayerAccountMobileContainer .PlayerAccountLogOutArea{position:absolute;right:18px;top:56px;bottom:unset;background:transparent;width:48px;border-top:0}.PlayerAccountTabletContainer .PlayerAccountMenuHeader{padding:30px 40px}.PlayerAccountTabletContainer .PlayerAccountMenuCategoryTitle{font-size:32px}.PlayerAccountTabletContainer .PlayerAccountMenuUser{font-size:26px;color:var(--emw--pam-color-secondary, var(--emw--color-secondary, #E98B10))}.PlayerAccountTabletContainer .PlayerAccountMenuEmail{font-size:20px}.PlayerAccountTabletContainer .PlayerAccountMenuList{column-gap:20px;row-gap:20px;padding:0 40px 40px;grid-template-columns:calc(33% - 11px) calc(33% - 11px) calc(33% - 11px)}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemBox .PlayerAccountMenuItemIcon{width:80px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper{gap:28px}.PlayerAccountTabletContainer .PlayerAccountMenuList .PlayerAccountMenuItemWrapper .PlayerAccountMenuItemTitle{font-size:24px}.PlayerAccountTabletContainer .PlayerAccountLogOutArea{right:54px;top:72px}');
|
|
58
58
|
}
|
|
59
59
|
function V(n, e, t) {
|
|
60
60
|
const l = n.slice();
|
|
61
61
|
return l[37] = e[t], l;
|
|
62
62
|
}
|
|
63
63
|
function we(n) {
|
|
64
|
-
let e, t, l, a, d, m,
|
|
64
|
+
let e, t, l, a, d, m, y, h, P, w, A, x, b = (
|
|
65
65
|
/*isMobile*/
|
|
66
66
|
n[10] && ve(n)
|
|
67
67
|
), g = (
|
|
68
68
|
/*isMobile*/
|
|
69
69
|
n[10] && xe(n)
|
|
70
|
-
), u =
|
|
70
|
+
), u = q(
|
|
71
71
|
/*menuItems*/
|
|
72
72
|
n[5]
|
|
73
73
|
), c = [];
|
|
74
74
|
for (let i = 0; i < u.length; i += 1)
|
|
75
75
|
c[i] = Z(V(n, u, i));
|
|
76
|
-
let
|
|
76
|
+
let I = !/*isMobile*/
|
|
77
77
|
n[10] && _e(n);
|
|
78
78
|
return {
|
|
79
79
|
c() {
|
|
80
|
-
e = v("div"), t = v("div"), b && b.c(), l =
|
|
80
|
+
e = v("div"), t = v("div"), b && b.c(), l = k(), a = v("p"), d = H(
|
|
81
81
|
/*profileUsername*/
|
|
82
82
|
n[7]
|
|
83
|
-
), m =
|
|
83
|
+
), m = k(), y = v("p"), h = H(
|
|
84
84
|
/*profileEmail*/
|
|
85
85
|
n[8]
|
|
86
|
-
), P =
|
|
86
|
+
), P = k(), g && g.c(), w = k(), A = v("div");
|
|
87
87
|
for (let i = 0; i < c.length; i += 1)
|
|
88
88
|
c[i].c();
|
|
89
|
-
x =
|
|
89
|
+
x = k(), I && I.c(), s(a, "class", "PlayerAccountMenuUser"), s(y, "class", "PlayerAccountMenuEmail"), s(t, "class", "PlayerAccountMenuHeader " + /*isMobile*/
|
|
90
90
|
(n[10] ? "PlayerAccountMenuHeaderMobile" : "")), s(A, "class", "PlayerAccountMenuList"), s(e, "class", "PlayerAccountMenuContainer " + /*isMobile*/
|
|
91
91
|
(n[10] ? "PlayerAccountMobileContainer" : "") + " " + /*mediaQuery*/
|
|
92
92
|
(n[11].matches && /*isMobile*/
|
|
93
93
|
n[10] ? "PlayerAccountTabletContainer" : ""));
|
|
94
94
|
},
|
|
95
95
|
m(i, C) {
|
|
96
|
-
L(i, e, C), o(e, t), b && b.m(t, null), o(t, l), o(t, a), o(a, d), o(t, m), o(t,
|
|
97
|
-
for (let
|
|
98
|
-
c[
|
|
99
|
-
o(e, x),
|
|
96
|
+
L(i, e, C), o(e, t), b && b.m(t, null), o(t, l), o(t, a), o(a, d), o(t, m), o(t, y), o(y, h), o(t, P), g && g.m(t, null), o(e, w), o(e, A);
|
|
97
|
+
for (let p = 0; p < c.length; p += 1)
|
|
98
|
+
c[p] && c[p].m(A, null);
|
|
99
|
+
o(e, x), I && I.m(e, null);
|
|
100
100
|
},
|
|
101
101
|
p(i, C) {
|
|
102
102
|
if (
|
|
@@ -115,38 +115,38 @@ function we(n) {
|
|
|
115
115
|
i[10] && g.p(i, C), C[0] & /*selectedItem, menuItems, isMobile, openAccountSection*/
|
|
116
116
|
5216
|
|
117
117
|
) {
|
|
118
|
-
u =
|
|
118
|
+
u = q(
|
|
119
119
|
/*menuItems*/
|
|
120
120
|
i[5]
|
|
121
121
|
);
|
|
122
|
-
let
|
|
123
|
-
for (
|
|
124
|
-
const T = V(i, u,
|
|
125
|
-
c[
|
|
122
|
+
let p;
|
|
123
|
+
for (p = 0; p < u.length; p += 1) {
|
|
124
|
+
const T = V(i, u, p);
|
|
125
|
+
c[p] ? c[p].p(T, C) : (c[p] = Z(T), c[p].c(), c[p].m(A, null));
|
|
126
126
|
}
|
|
127
|
-
for (;
|
|
128
|
-
c[
|
|
127
|
+
for (; p < c.length; p += 1)
|
|
128
|
+
c[p].d(1);
|
|
129
129
|
c.length = u.length;
|
|
130
130
|
}
|
|
131
131
|
/*isMobile*/
|
|
132
|
-
i[10] ||
|
|
132
|
+
i[10] || I.p(i, C);
|
|
133
133
|
},
|
|
134
134
|
d(i) {
|
|
135
|
-
i && B(e), b && b.d(), g && g.d(), Ae(c, i),
|
|
135
|
+
i && B(e), b && b.d(), g && g.d(), Ae(c, i), I && I.d();
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
139
|
function ve(n) {
|
|
140
|
-
let e, t, l, a, d, m,
|
|
140
|
+
let e, t, l, a, d, m, y, h, P, w, A = (
|
|
141
141
|
/*$_*/
|
|
142
142
|
n[9]("title") + ""
|
|
143
143
|
), x, b, g;
|
|
144
144
|
return {
|
|
145
145
|
c() {
|
|
146
|
-
e = v("div"), t = E("svg"), l = E("defs"), a = E("style"), d = H(".aaa{fill:var(--
|
|
146
|
+
e = v("div"), t = E("svg"), l = E("defs"), a = E("style"), d = H(".aaa{fill:var(--emw--color-white, #FFFFFF);}"), m = E("g"), y = E("g"), h = E("path"), P = k(), w = v("h3"), x = H(A), s(h, "class", "aaa"), s(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(h, "transform", "translate(15 15) rotate(180)"), s(y, "transform", "translate(20 158)"), s(m, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(w, "class", "PlayerAccountMenuCategoryTitle"), s(e, "class", "PlayerAccountMenuCategoryWrapper");
|
|
147
147
|
},
|
|
148
148
|
m(u, c) {
|
|
149
|
-
L(u, e, c), o(e, t), o(t, l), o(l, a), o(a, d), o(t, m), o(m,
|
|
149
|
+
L(u, e, c), o(e, t), o(t, l), o(l, a), o(a, d), o(t, m), o(m, y), o(y, h), o(e, P), o(e, w), o(w, x), b || (g = [
|
|
150
150
|
W(
|
|
151
151
|
t,
|
|
152
152
|
"click",
|
|
@@ -233,7 +233,7 @@ function xe(n) {
|
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
function Z(n) {
|
|
236
|
-
let e, t, l, a, d, m,
|
|
236
|
+
let e, t, l, a, d, m, y = (
|
|
237
237
|
/*menuItem*/
|
|
238
238
|
n[37].label + ""
|
|
239
239
|
), h, P, w, A, x;
|
|
@@ -248,8 +248,8 @@ function Z(n) {
|
|
|
248
248
|
}
|
|
249
249
|
return {
|
|
250
250
|
c() {
|
|
251
|
-
e = v("div"), t = v("p"), l = v("img"), d =
|
|
252
|
-
(n[10] ? "PlayerAccountMenuItemIconMobile" : "")),
|
|
251
|
+
e = v("div"), t = v("p"), l = v("img"), d = k(), m = v("span"), h = H(y), P = k(), s(l, "class", "PlayerAccountMenuItemIcon " + /*isMobile*/
|
|
252
|
+
(n[10] ? "PlayerAccountMenuItemIconMobile" : "")), N(l.src, a = /*menuItem*/
|
|
253
253
|
n[37].img) || s(l, "src", a), s(m, "class", "PlayerAccountMenuItemTitle"), s(t, "class", "PlayerAccountMenuItemWrapper"), s(e, "class", w = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
254
254
|
(n[6] === /*menuItem*/
|
|
255
255
|
n[37].id && !/*isMobile*/
|
|
@@ -260,10 +260,10 @@ function Z(n) {
|
|
|
260
260
|
},
|
|
261
261
|
p(g, u) {
|
|
262
262
|
n = g, u[0] & /*menuItems*/
|
|
263
|
-
32 && !
|
|
263
|
+
32 && !N(l.src, a = /*menuItem*/
|
|
264
264
|
n[37].img) && s(l, "src", a), u[0] & /*menuItems*/
|
|
265
|
-
32 &&
|
|
266
|
-
n[37].label + "") && z(h,
|
|
265
|
+
32 && y !== (y = /*menuItem*/
|
|
266
|
+
n[37].label + "") && z(h, y), u[0] & /*selectedItem, menuItems*/
|
|
267
267
|
96 && w !== (w = "PlayerAccountMenuItemBox " + /*selectedItem*/
|
|
268
268
|
(n[6] === /*menuItem*/
|
|
269
269
|
n[37].id && !/*isMobile*/
|
|
@@ -358,17 +358,17 @@ function Ce(n) {
|
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Fe(n, e, t) {
|
|
362
362
|
let l;
|
|
363
|
-
|
|
364
|
-
let { endpoint: a = "" } = e, { cmsendpoint: d = "" } = e, { env: m = "" } = e, { session:
|
|
363
|
+
ye(n, he, (r) => t(9, l = r));
|
|
364
|
+
let { endpoint: a = "" } = e, { cmsendpoint: d = "" } = e, { env: m = "" } = e, { session: y = "" } = e, { playerid: h = "" } = e, { lang: P = "en" } = e, { selecteditem: w = "" } = e, { userroles: A = "" } = e, { clientstyling: x = "" } = e, { clientstylingurl: b = "" } = e, { translationurl: g = "" } = e, { activemenuitem: u = "" } = e, c, I = [], i, C = window.navigator.userAgent, p = R(C) !== "PC", T = "", S = "";
|
|
365
365
|
const K = window.matchMedia("(min-width: 768px)"), Q = () => {
|
|
366
|
-
fetch(g).then((
|
|
367
|
-
Object.keys(
|
|
368
|
-
X(_,
|
|
366
|
+
fetch(g).then((f) => f.json()).then((f) => {
|
|
367
|
+
Object.keys(f).forEach((_) => {
|
|
368
|
+
X(_, f[_]);
|
|
369
369
|
});
|
|
370
|
-
}).catch((
|
|
371
|
-
console.error(
|
|
370
|
+
}).catch((f) => {
|
|
371
|
+
console.error(f);
|
|
372
372
|
});
|
|
373
373
|
};
|
|
374
374
|
Object.keys(G).forEach((r) => {
|
|
@@ -381,7 +381,7 @@ function ke(n, e, t) {
|
|
|
381
381
|
availableMenuItemsArray = r.data.accountMenuInfo;
|
|
382
382
|
break;
|
|
383
383
|
case "UserSessionID":
|
|
384
|
-
t(0,
|
|
384
|
+
t(0, y = r.data.session);
|
|
385
385
|
break;
|
|
386
386
|
}
|
|
387
387
|
}, J = () => {
|
|
@@ -390,19 +390,19 @@ function ke(n, e, t) {
|
|
|
390
390
|
return r === "PC" ? "dk" : "mtWeb";
|
|
391
391
|
}, Y = () => {
|
|
392
392
|
const r = new URL(`${d}/${P}/profile-menu?env=${m}`);
|
|
393
|
-
r.searchParams.append("device", J()), fetch(r.href).then((
|
|
394
|
-
t(5,
|
|
395
|
-
}).catch((
|
|
396
|
-
console.error("Error getting menu items",
|
|
393
|
+
r.searchParams.append("device", J()), fetch(r.href).then((f) => f.json()).then((f) => {
|
|
394
|
+
t(5, I = f), O();
|
|
395
|
+
}).catch((f) => {
|
|
396
|
+
console.error("Error getting menu items", f);
|
|
397
397
|
});
|
|
398
398
|
}, $ = () => {
|
|
399
399
|
let r = new URL(`${a}/v1/player/${h}/profile`);
|
|
400
400
|
r.searchParams.append("userRoles", A);
|
|
401
|
-
let
|
|
401
|
+
let f = {
|
|
402
402
|
method: "GET",
|
|
403
|
-
headers: { "X-SessionID":
|
|
403
|
+
headers: { "X-SessionID": y }
|
|
404
404
|
};
|
|
405
|
-
fetch(r.href,
|
|
405
|
+
fetch(r.href, f).then((_) => _.json()).then(
|
|
406
406
|
(_) => {
|
|
407
407
|
t(7, T = _.username), t(8, S = _.email);
|
|
408
408
|
},
|
|
@@ -414,7 +414,7 @@ function ke(n, e, t) {
|
|
|
414
414
|
window.postMessage({ type: "ChangeAccountPage", page: r }, window.location.href), t(6, i = r.id);
|
|
415
415
|
}, O = () => {
|
|
416
416
|
var r;
|
|
417
|
-
t(6, i = (r =
|
|
417
|
+
t(6, i = (r = I.find((f) => f.path.includes(u))) == null ? void 0 : r.id);
|
|
418
418
|
}, ee = () => {
|
|
419
419
|
window.postMessage({ type: "GoToHomepage" }, window.location.href);
|
|
420
420
|
}, te = () => {
|
|
@@ -425,48 +425,48 @@ function ke(n, e, t) {
|
|
|
425
425
|
let r = document.createElement("style");
|
|
426
426
|
r.innerHTML = x, c.appendChild(r);
|
|
427
427
|
}, le = () => {
|
|
428
|
-
let r = new URL(b),
|
|
428
|
+
let r = new URL(b), f = document.createElement("style");
|
|
429
429
|
fetch(r.href).then((_) => _.text()).then((_) => {
|
|
430
|
-
|
|
430
|
+
f.innerHTML = _, setTimeout(
|
|
431
431
|
() => {
|
|
432
|
-
c.appendChild(
|
|
432
|
+
c.appendChild(f);
|
|
433
433
|
},
|
|
434
434
|
1
|
|
435
435
|
);
|
|
436
436
|
});
|
|
437
437
|
};
|
|
438
|
-
|
|
438
|
+
pe(() => (window.addEventListener("message", U, !1), () => {
|
|
439
439
|
window.removeEventListener("message", U);
|
|
440
440
|
}));
|
|
441
441
|
const ae = (r) => D(r);
|
|
442
442
|
function oe(r) {
|
|
443
|
-
|
|
443
|
+
fe[r ? "unshift" : "push"](() => {
|
|
444
444
|
c = r, t(4, c);
|
|
445
445
|
});
|
|
446
446
|
}
|
|
447
447
|
return n.$$set = (r) => {
|
|
448
|
-
"endpoint" in r && t(1, a = r.endpoint), "cmsendpoint" in r && t(14, d = r.cmsendpoint), "env" in r && t(15, m = r.env), "session" in r && t(0,
|
|
448
|
+
"endpoint" in r && t(1, a = r.endpoint), "cmsendpoint" in r && t(14, d = r.cmsendpoint), "env" in r && t(15, m = r.env), "session" in r && t(0, y = r.session), "playerid" in r && t(16, h = r.playerid), "lang" in r && t(17, P = r.lang), "selecteditem" in r && t(18, w = r.selecteditem), "userroles" in r && t(19, A = r.userroles), "clientstyling" in r && t(2, x = r.clientstyling), "clientstylingurl" in r && t(3, b = r.clientstylingurl), "translationurl" in r && t(20, g = r.translationurl), "activemenuitem" in r && t(21, u = r.activemenuitem);
|
|
449
449
|
}, n.$$.update = () => {
|
|
450
450
|
n.$$.dirty[0] & /*lang*/
|
|
451
451
|
131072 && P && te(), n.$$.dirty[0] & /*endpoint, session, playerid, lang*/
|
|
452
|
-
196611 && a &&
|
|
452
|
+
196611 && a && y && h && P && ne(), n.$$.dirty[0] & /*cmsendpoint, lang, env*/
|
|
453
453
|
180224 && d && P && m && Y(), n.$$.dirty[0] & /*activemenuitem*/
|
|
454
454
|
2097152 && u && O(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
455
455
|
24 && b && c && le(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
456
456
|
20 && x && c && re(), n.$$.dirty[0] & /*translationurl*/
|
|
457
457
|
1048576 && g && Q();
|
|
458
458
|
}, [
|
|
459
|
-
|
|
459
|
+
y,
|
|
460
460
|
a,
|
|
461
461
|
x,
|
|
462
462
|
b,
|
|
463
463
|
c,
|
|
464
|
-
|
|
464
|
+
I,
|
|
465
465
|
i,
|
|
466
466
|
T,
|
|
467
467
|
S,
|
|
468
468
|
l,
|
|
469
|
-
|
|
469
|
+
p,
|
|
470
470
|
K,
|
|
471
471
|
D,
|
|
472
472
|
ee,
|
|
@@ -482,12 +482,12 @@ function ke(n, e, t) {
|
|
|
482
482
|
oe
|
|
483
483
|
];
|
|
484
484
|
}
|
|
485
|
-
class
|
|
485
|
+
class Ie extends se {
|
|
486
486
|
constructor(e) {
|
|
487
487
|
super(), ue(
|
|
488
488
|
this,
|
|
489
489
|
e,
|
|
490
|
-
|
|
490
|
+
Fe,
|
|
491
491
|
Ce,
|
|
492
492
|
de,
|
|
493
493
|
{
|
|
@@ -512,76 +512,76 @@ class Fe extends se {
|
|
|
512
512
|
return this.$$.ctx[1];
|
|
513
513
|
}
|
|
514
514
|
set endpoint(e) {
|
|
515
|
-
this.$$set({ endpoint: e }),
|
|
515
|
+
this.$$set({ endpoint: e }), F();
|
|
516
516
|
}
|
|
517
517
|
get cmsendpoint() {
|
|
518
518
|
return this.$$.ctx[14];
|
|
519
519
|
}
|
|
520
520
|
set cmsendpoint(e) {
|
|
521
|
-
this.$$set({ cmsendpoint: e }),
|
|
521
|
+
this.$$set({ cmsendpoint: e }), F();
|
|
522
522
|
}
|
|
523
523
|
get env() {
|
|
524
524
|
return this.$$.ctx[15];
|
|
525
525
|
}
|
|
526
526
|
set env(e) {
|
|
527
|
-
this.$$set({ env: e }),
|
|
527
|
+
this.$$set({ env: e }), F();
|
|
528
528
|
}
|
|
529
529
|
get session() {
|
|
530
530
|
return this.$$.ctx[0];
|
|
531
531
|
}
|
|
532
532
|
set session(e) {
|
|
533
|
-
this.$$set({ session: e }),
|
|
533
|
+
this.$$set({ session: e }), F();
|
|
534
534
|
}
|
|
535
535
|
get playerid() {
|
|
536
536
|
return this.$$.ctx[16];
|
|
537
537
|
}
|
|
538
538
|
set playerid(e) {
|
|
539
|
-
this.$$set({ playerid: e }),
|
|
539
|
+
this.$$set({ playerid: e }), F();
|
|
540
540
|
}
|
|
541
541
|
get lang() {
|
|
542
542
|
return this.$$.ctx[17];
|
|
543
543
|
}
|
|
544
544
|
set lang(e) {
|
|
545
|
-
this.$$set({ lang: e }),
|
|
545
|
+
this.$$set({ lang: e }), F();
|
|
546
546
|
}
|
|
547
547
|
get selecteditem() {
|
|
548
548
|
return this.$$.ctx[18];
|
|
549
549
|
}
|
|
550
550
|
set selecteditem(e) {
|
|
551
|
-
this.$$set({ selecteditem: e }),
|
|
551
|
+
this.$$set({ selecteditem: e }), F();
|
|
552
552
|
}
|
|
553
553
|
get userroles() {
|
|
554
554
|
return this.$$.ctx[19];
|
|
555
555
|
}
|
|
556
556
|
set userroles(e) {
|
|
557
|
-
this.$$set({ userroles: e }),
|
|
557
|
+
this.$$set({ userroles: e }), F();
|
|
558
558
|
}
|
|
559
559
|
get clientstyling() {
|
|
560
560
|
return this.$$.ctx[2];
|
|
561
561
|
}
|
|
562
562
|
set clientstyling(e) {
|
|
563
|
-
this.$$set({ clientstyling: e }),
|
|
563
|
+
this.$$set({ clientstyling: e }), F();
|
|
564
564
|
}
|
|
565
565
|
get clientstylingurl() {
|
|
566
566
|
return this.$$.ctx[3];
|
|
567
567
|
}
|
|
568
568
|
set clientstylingurl(e) {
|
|
569
|
-
this.$$set({ clientstylingurl: e }),
|
|
569
|
+
this.$$set({ clientstylingurl: e }), F();
|
|
570
570
|
}
|
|
571
571
|
get translationurl() {
|
|
572
572
|
return this.$$.ctx[20];
|
|
573
573
|
}
|
|
574
574
|
set translationurl(e) {
|
|
575
|
-
this.$$set({ translationurl: e }),
|
|
575
|
+
this.$$set({ translationurl: e }), F();
|
|
576
576
|
}
|
|
577
577
|
get activemenuitem() {
|
|
578
578
|
return this.$$.ctx[21];
|
|
579
579
|
}
|
|
580
580
|
set activemenuitem(e) {
|
|
581
|
-
this.$$set({ activemenuitem: e }),
|
|
581
|
+
this.$$set({ activemenuitem: e }), F();
|
|
582
582
|
}
|
|
583
583
|
}
|
|
584
|
-
me(
|
|
584
|
+
me(Ie, { endpoint: {}, cmsendpoint: {}, env: {}, session: {}, playerid: {}, lang: {}, selecteditem: {}, userroles: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, activemenuitem: {} }, [], [], !0);
|
|
585
585
|
export {
|
|
586
|
-
|
|
586
|
+
Ie as default
|
|
587
587
|
};
|