@everymatrix/player-account-gaming-limits 1.76.1 → 1.76.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{PlayerAccountGamingLimits-DtzP7G6K.js → PlayerAccountGamingLimits-CqmOKdVH.js} +1463 -1477
- package/components/{PlayerAccountGamingLimits-DZxeJ9O6.js → PlayerAccountGamingLimits-DCaWtkE6.js} +1228 -1242
- package/components/PlayerAccountGamingLimits-T5-mSITY.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Cojk6mIA.js → PlayerAccountGamingLimitsConfirmationModal-BFdGoRdT.js} +38 -38
- package/components/PlayerAccountGamingLimitsConfirmationModal-BcmMpc4k.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Coe5msP4.js → PlayerAccountGamingLimitsConfirmationModal-OGalQefI.js} +38 -38
- package/components/{PlayerAccountGamingLimitsGroupEdit-DnDtGiqd.js → PlayerAccountGamingLimitsGroupEdit-5QD1HV33.js} +379 -379
- package/components/{PlayerAccountGamingLimitsGroupEdit-oQYdpkFq.cjs → PlayerAccountGamingLimitsGroupEdit-BN0PwZvT.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CuYXb_Td.js → PlayerAccountGamingLimitsGroupEdit-CSUNPJOB.js} +379 -379
- package/components/{PlayerAccountGamingLimitsInfoCard-x9MVFt7G.js → PlayerAccountGamingLimitsInfoCard-BR08lfFb.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-DDFrYx0M.js → PlayerAccountGamingLimitsInfoCard-BUt4LvKE.js} +7 -7
- package/components/{PlayerAccountGamingLimitsInfoCard-CtpmE0je.cjs → PlayerAccountGamingLimitsInfoCard-DWoR16RN.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DjnXMxiO.cjs → PlayerAccountGamingLimitsPopup-CLICaYT2.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BHOTrnnB.js → PlayerAccountGamingLimitsPopup-CVwe9722.js} +6 -6
- package/components/{PlayerAccountGamingLimitsPopup-9t0My0ez.js → PlayerAccountGamingLimitsPopup-D9Pjzy7_.js} +6 -6
- package/components/{PlayerAccountModal-BaTp6xqc.js → PlayerAccountModal-BECvIT3d.js} +10 -10
- package/components/{PlayerAccountModal-Dv-RPvC_.js → PlayerAccountModal-BcLiGXkj.js} +10 -10
- package/components/{PlayerAccountModal-CUiC1zgO.cjs → PlayerAccountModal-ioLlN0au.cjs} +1 -1
- package/es2015/player-account-gaming-limits.cjs +1 -1
- package/es2015/player-account-gaming-limits.js +1 -1
- package/esnext/player-account-gaming-limits.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimits-B7Ae4m4I.cjs +0 -21
- package/components/PlayerAccountGamingLimitsConfirmationModal-DsRj01Df.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Ie, $ as ke, S as De, i as Me, f as G, c as Te, s as Ae, b as Re, e as p, j as M, E as $, r as T, w as Ee, x as Ne, y as je, z as ze, A as Be, B as Se, C as Fe, t as F, g as E, h as y, G as s, k as l, l as U, H as ee, o as W, v as We, F as qe, I as J, K as ie, J as fe, Q as ce } from "./PlayerAccountGamingLimits-
|
|
2
|
-
import { g as K, f as Z } from "./PlayerAccountGamingLimitsGroupEdit-
|
|
1
|
+
import { a as Ie, $ as ke, S as De, i as Me, f as G, c as Te, s as Ae, b as Re, e as p, j as M, E as $, r as T, w as Ee, x as Ne, y as je, z as ze, A as Be, B as Se, C as Fe, t as F, g as E, h as y, G as s, k as l, l as U, H as ee, o as W, v as We, F as qe, I as J, K as ie, J as fe, Q as ce } from "./PlayerAccountGamingLimits-CqmOKdVH.js";
|
|
2
|
+
import { g as K, f as Z } from "./PlayerAccountGamingLimitsGroupEdit-CSUNPJOB.js";
|
|
3
3
|
function oe(e, t) {
|
|
4
4
|
Ie(e, t);
|
|
5
5
|
}
|
|
@@ -295,7 +295,7 @@ if (typeof window != "undefined") {
|
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
297
|
};
|
|
298
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-
|
|
298
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-CSUNPJOB.js").then((t) => t.P).then(({ default: t }) => {
|
|
299
299
|
!customElements.get("player-account-gaming-limits-group-edit") && customElements.define(
|
|
300
300
|
"player-account-gaming-limits-group-edit",
|
|
301
301
|
t.element
|
|
@@ -1441,7 +1441,7 @@ function oi(e, t, o) {
|
|
|
1441
1441
|
}));
|
|
1442
1442
|
const we = () => d(0), _e = (m) => d(m + 1), ve = (m) => d(m + 1), he = () => D(i), be = () => f(i);
|
|
1443
1443
|
function Ce(m) {
|
|
1444
|
-
|
|
1444
|
+
ze[m ? "unshift" : "push"](() => {
|
|
1445
1445
|
h = m, o(7, h);
|
|
1446
1446
|
});
|
|
1447
1447
|
}
|
|
@@ -1450,9 +1450,9 @@ function oi(e, t, o) {
|
|
|
1450
1450
|
}, e.$$.update = () => {
|
|
1451
1451
|
e.$$.dirty[0] & /*limitsdata, limitname, lang*/
|
|
1452
1452
|
11 && i && a && u && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1453
|
-
144 && c && h &&
|
|
1454
|
-
160 && k && h &&
|
|
1455
|
-
192 && v && h &&
|
|
1453
|
+
144 && c && h && Be(h, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1454
|
+
160 && k && h && Se(h, k), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1455
|
+
192 && v && h && Fe(h, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
1456
1456
|
8388608 && g && b();
|
|
1457
1457
|
}, [
|
|
1458
1458
|
i,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as Ie, $ as ke, S as De, i as Me, f as G, c as Te, s as Ae, b as Re, e as p, j as M, E as $, r as T, w as Ee, x as Ne, y as je, z as ze, A as Be, B as Se, C as Fe, t as F, g as E, h as y, G as s, k as l, l as U, H as ee, o as W, v as We, F as qe, I as J, K as ie, J as fe, Q as ce } from "./PlayerAccountGamingLimits-
|
|
2
|
-
import { g as K, f as Z } from "./PlayerAccountGamingLimitsGroupEdit-
|
|
1
|
+
import { a as Ie, $ as ke, S as De, i as Me, f as G, c as Te, s as Ae, b as Re, e as p, j as M, E as $, r as T, w as Ee, x as Ne, y as je, z as ze, A as Be, B as Se, C as Fe, t as F, g as E, h as y, G as s, k as l, l as U, H as ee, o as W, v as We, F as qe, I as J, K as ie, J as fe, Q as ce } from "./PlayerAccountGamingLimits-DCaWtkE6.js";
|
|
2
|
+
import { g as K, f as Z } from "./PlayerAccountGamingLimitsGroupEdit-5QD1HV33.js";
|
|
3
3
|
function oe(e, t) {
|
|
4
4
|
Ie(e, t);
|
|
5
5
|
}
|
|
@@ -295,7 +295,7 @@ if (typeof window < "u") {
|
|
|
295
295
|
}
|
|
296
296
|
};
|
|
297
297
|
};
|
|
298
|
-
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-
|
|
298
|
+
customElements.define = e(customElements.define), import("./PlayerAccountGamingLimitsGroupEdit-5QD1HV33.js").then((t) => t.P).then(({ default: t }) => {
|
|
299
299
|
!customElements.get("player-account-gaming-limits-group-edit") && customElements.define(
|
|
300
300
|
"player-account-gaming-limits-group-edit",
|
|
301
301
|
t.element
|
|
@@ -1441,7 +1441,7 @@ function oi(e, t, o) {
|
|
|
1441
1441
|
}));
|
|
1442
1442
|
const we = () => d(0), _e = (m) => d(m + 1), ve = (m) => d(m + 1), he = () => D(i), be = () => f(i);
|
|
1443
1443
|
function Ce(m) {
|
|
1444
|
-
|
|
1444
|
+
ze[m ? "unshift" : "push"](() => {
|
|
1445
1445
|
h = m, o(7, h);
|
|
1446
1446
|
});
|
|
1447
1447
|
}
|
|
@@ -1450,9 +1450,9 @@ function oi(e, t, o) {
|
|
|
1450
1450
|
}, e.$$.update = () => {
|
|
1451
1451
|
e.$$.dirty[0] & /*limitsdata, limitname, lang*/
|
|
1452
1452
|
11 && i && a && u && ye(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
1453
|
-
144 && c && h &&
|
|
1454
|
-
160 && k && h &&
|
|
1455
|
-
192 && v && h &&
|
|
1453
|
+
144 && c && h && Be(h, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
1454
|
+
160 && k && h && Se(h, k), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
1455
|
+
192 && v && h && Fe(h, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
|
|
1456
1456
|
8388608 && g && b();
|
|
1457
1457
|
}, [
|
|
1458
1458
|
i,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimits-B7Ae4m4I.cjs"),F=require("./PlayerAccountGamingLimitsGroupEdit-oQYdpkFq.cjs");function H(t,n){e.addMessages(t,n)}function me(t){e.$locale.set(t)}const Y={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:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},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:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",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:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},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:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{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:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},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:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"},"en-us":{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:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}};if(typeof window!="undefined"){let t=function(n){return function(...a){try{return n.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsGroupEdit-oQYdpkFq.cjs")).then(n=>n.PlayerAccountGamingLimitsGroupEdit_ce).then(({default:n})=>{!customElements.get("player-account-gaming-limits-group-edit")&&customElements.define("player-account-gaming-limits-group-edit",n.element)})}function se(t){e.append_styles(t,"svelte-8fdpga",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function G(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function O(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function de(t){let n,a,o,i,l=(t[0]?t[16](t[1].charAt(0).toLowerCase()+t[1].substring(1).replace(/\s/g,"")):"")+"",r,d,p,b,L,c,w,z,y,A,R,j,M,T,k=t[16]("edit")+"",S,h,D,N,I;function C(g,E){return g[1]==="Time Limit"?ce:pe}let u=C(t),f=u(t),s=!t[10]&&!t[0].isModified&&t[15]&&Z(t),_=t[12]&&X(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("h5"),r=e.text(l),d=e.space(),p=e.element("div"),b=e.element("span"),b.textContent="i",L=e.space(),c=e.element("player-account-gaming-limits-popup"),z=e.space(),y=e.element("div"),A=e.element("div"),R=e.element("div"),f.c(),j=e.space(),M=e.element("div"),T=e.element("button"),S=e.text(k),h=e.space(),s&&s.c(),D=e.space(),_&&_.c(),e.attr(b,"class","InfoCardIcon"),e.set_custom_element_data(c,"showpopup",w=t[9][0]),e.set_custom_element_data(c,"lang",t[3]),e.set_custom_element_data(c,"clientstyling",t[4]),e.set_custom_element_data(c,"clientstylingurl",t[5]),e.set_custom_element_data(c,"mbsource",t[6]),e.attr(p,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(t[17]?"InfoCardMobileHeader":"")),e.attr(R,"class","InfoCardTableRow"),e.attr(A,"class","InfoCardTableWrapper"),e.attr(T,"class","InfoCardEditButton"),e.attr(M,"class","InfoCardControlArea"),e.attr(y,"class","InfoCard"),e.attr(a,"class","InfoCardWrapper"),e.attr(n,"class","InfoCardSection")},m(g,E){e.insert(g,n,E),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,b),e.append(p,L),e.append(p,c),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,R),f.m(R,null),e.append(y,j),e.append(y,M),e.append(M,T),e.append(T,S),e.append(M,h),s&&s.m(M,null),e.append(n,D),_&&_.m(n,null),N||(I=[e.listen(b,"click",e.prevent_default(t[24])),e.listen(T,"click",t[27])],N=!0)},p(g,E){E[0]&65539&&l!==(l=(g[0]?g[16](g[1].charAt(0).toLowerCase()+g[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),E[0]&512&&w!==(w=g[9][0])&&e.set_custom_element_data(c,"showpopup",w),E[0]&8&&e.set_custom_element_data(c,"lang",g[3]),E[0]&16&&e.set_custom_element_data(c,"clientstyling",g[4]),E[0]&32&&e.set_custom_element_data(c,"clientstylingurl",g[5]),E[0]&64&&e.set_custom_element_data(c,"mbsource",g[6]),u===(u=C(g))&&f?f.p(g,E):(f.d(1),f=u(g),f&&(f.c(),f.m(R,null))),E[0]&65536&&k!==(k=g[16]("edit")+"")&&e.set_data(S,k),!g[10]&&!g[0].isModified&&g[15]?s?s.p(g,E):(s=Z(g),s.c(),s.m(M,null)):s&&(s.d(1),s=null),g[12]?_?_.p(g,E):(_=X(g),_.c(),_.m(n,null)):_&&(_.d(1),_=null)},d(g){g&&e.detach(n),f.d(),s&&s.d(),_&&_.d(),N=!1,e.run_all(I)}}}function ue(t){let n;return{c(){n=e.element("div"),e.attr(n,"class","ModalLoader")},m(a,o){e.insert(a,n,o)},p:e.noop,d(a){a&&e.detach(n)}}}function pe(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=Q(G(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750847){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=G(i,a,r);o[r]?o[r].p(d,l):(o[r]=Q(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function ce(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=K(O(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750843){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=O(i,a,r);o[r]?o[r].p(d,l):(o[r]=K(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function U(t){let n,a=(t[41]?t[41].currency:"")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?i[41].currency:"")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function fe(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function _e(t){let n,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ge(t){let n,a,o,i,l,r,d,p;function b(){return t[26](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateAmount),e.set_custom_element_data(i,"currency",t[2]),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(L,c){e.insert(L,n,c),e.append(n,a),e.append(n,o),e.append(n,i),d||(p=e.listen(a,"click",e.prevent_default(b)),d=!0)},p(L,c){t=L,c[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),c[0]&1&&r!==(r=t[41].updateAmount)&&e.set_custom_element_data(i,"iteminfoamount",r),c[0]&4&&e.set_custom_element_data(i,"currency",t[2]),c[0]&8&&e.set_custom_element_data(i,"lang",t[3]),c[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),c[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),c[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(L){L&&e.detach(n),d=!1,p()}}}function Le(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function Q(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",L,c,w=t[41].amount!="No limit"&&t[41].amount!=t[16]("noLimit"),z,y,A,R=t[16]("expirationDate")+"",j,M,T,k,S,h=w&&U(t);function D(s,_){return s[41].expiryDate?_e:fe}let N=D(t),I=N(t);function C(s,_){if(_[0]&65537&&(k=null),k==null&&(k=s[41].amount!==s[16]("noLimit")&&s[41].amount!=="No limit"&&!s[41].isModified),k)return Le;if(s[41].amount!="No limit"&&s[41].isModified)return ge}let u=C(t,[-1,-1]),f=u&&u(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),L=e.text(b),c=e.space(),h&&h.c(),z=e.space(),y=e.element("div"),A=e.element("div"),j=e.text(R),M=e.space(),I.c(),T=e.space(),f&&f.c(),S=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(A,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(s,_){e.insert(s,n,_),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,L),e.append(p,c),h&&h.m(p,null),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,j),e.append(y,M),I.m(y,null),e.append(n,T),f&&f.m(n,null),e.append(n,S)},p(s,_){_[0]&65537&&l!==(l=(s[41]?s[16](s[41].period.charAt(0).toLowerCase()+s[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&65537&&b!==(b=(s[41]?s[41].amount==="No limit"?s[16]("noLimit"):s[41].amount:0)+"")&&e.set_data(L,b),_[0]&65537&&(w=s[41].amount!="No limit"&&s[41].amount!=s[16]("noLimit")),w?h?h.p(s,_):(h=U(s),h.c(),h.m(p,null)):h&&(h.d(1),h=null),_[0]&65536&&R!==(R=s[16]("expirationDate")+"")&&e.set_data(j,R),N===(N=D(s))&&I?I.p(s,_):(I.d(1),I=N(s),I&&(I.c(),I.m(y,null))),u===(u=C(s,_))&&f?f.p(s,_):(f&&f.d(1),f=u&&u(s),f&&(f.c(),f.m(n,S)))},d(s){s&&e.detach(n),h&&h.d(),I.d(),f&&f.d()}}}function ye(t){let n,a=t[16]("noLimit")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("noLimit")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function we(t){let n=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",a,o,i=t[41].amount!=="No limit"&&t[41].amount!==t[16]("noLimit"),l,r=i&&J(t);return{c(){a=e.text(n),o=e.space(),r&&r.c(),l=e.empty()},m(d,p){e.insert(d,a,p),e.insert(d,o,p),r&&r.m(d,p),e.insert(d,l,p)},p(d,p){p[0]&65537&&n!==(n=(d[41]?d[41].amount==="No limit"?d[16]("noLimit"):d[41].amount:0)+"")&&e.set_data(a,n),p[0]&65537&&(i=d[41].amount!=="No limit"&&d[41].amount!==d[16]("noLimit")),i?r?r.p(d,p):(r=J(d),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(a),e.detach(o),e.detach(l)),r&&r.d(d)}}}function J(t){let n,a=t[16]("minutes")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("minutes")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function he(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ve(t){let n,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function be(t){let n,a,o,i,l,r,d,p,b;function L(){return t[25](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateMinutes),e.set_custom_element_data(i,"currency",d=t[16]("minutes")),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(c,w){e.insert(c,n,w),e.append(n,a),e.append(n,o),e.append(n,i),p||(b=e.listen(a,"click",e.prevent_default(L)),p=!0)},p(c,w){t=c,w[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),w[0]&1&&r!==(r=t[41].updateMinutes)&&e.set_custom_element_data(i,"iteminfoamount",r),w[0]&65536&&d!==(d=t[16]("minutes"))&&e.set_custom_element_data(i,"currency",d),w[0]&8&&e.set_custom_element_data(i,"lang",t[3]),w[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),w[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),w[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(c){c&&e.detach(n),p=!1,b()}}}function Ce(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function K(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b,L,c,w=t[16]("expirationDate")+"",z,y,A,R,j;function M(u,f){return u[41].amount!==0?we:ye}let T=M(t),k=T(t);function S(u,f){return u[41].expiryDate?ve:he}let h=S(t),D=h(t);function N(u,f){if(f[0]&65537&&(R=null),R==null&&(R=u[41].amount!==u[16]("noLimit")&&u[41].amount!=="No limit"&&!u[41].isModified),R)return Ce;if(u[41].amount!="No limit"&&u[41].isModified)return be}let I=N(t,[-1,-1]),C=I&&I(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),k.c(),b=e.space(),L=e.element("div"),c=e.element("div"),z=e.text(w),y=e.space(),D.c(),A=e.space(),C&&C.c(),j=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(c,"class","InfoCardRowTitle"),e.attr(L,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(u,f){e.insert(u,n,f),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),k.m(p,null),e.append(a,b),e.append(a,L),e.append(L,c),e.append(c,z),e.append(L,y),D.m(L,null),e.append(n,A),C&&C.m(n,null),e.append(n,j)},p(u,f){f[0]&65537&&l!==(l=(u[41]?u[16](u[41].period.charAt(0).toLowerCase()+u[41].period.substring(1)):"")+"")&&e.set_data(r,l),T===(T=M(u))&&k?k.p(u,f):(k.d(1),k=T(u),k&&(k.c(),k.m(p,null))),f[0]&65536&&w!==(w=u[16]("expirationDate")+"")&&e.set_data(z,w),h===(h=S(u))&&D?D.p(u,f):(D.d(1),D=h(u),D&&(D.c(),D.m(L,null))),I===(I=N(u,f))&&C?C.p(u,f):(C&&C.d(1),C=I&&I(u),C&&(C.c(),C.m(n,j)))},d(u){u&&e.detach(n),k.d(),D.d(),C&&C.d()}}}function Z(t){let n,a=t[16]("removeLimits")+"",o,i,l;return{c(){n=e.element("button"),o=e.text(a),e.attr(n,"class","InfoCardRemoveButton")},m(r,d){e.insert(r,n,d),e.append(n,o),i||(l=e.listen(n,"click",t[28]),i=!0)},p(r,d){d[0]&65536&&a!==(a=r[16]("removeLimits")+"")&&e.set_data(o,a)},d(r){r&&e.detach(n),i=!1,l()}}}function X(t){let n,a,o;return{c(){n=e.element("player-account-modal"),a=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(a,"modaltext",o=t[11]?t[13]:t[14]),e.set_custom_element_data(a,"modalsource","infoCard"),e.set_custom_element_data(a,"lang",t[3]),e.set_custom_element_data(a,"clientstyling",t[4]),e.set_custom_element_data(a,"clientstylingurl",t[5]),e.set_custom_element_data(a,"mbsource",t[6]),e.set_custom_element_data(n,"clientstyling",t[4]),e.set_custom_element_data(n,"clientstylingurl",t[5]),e.set_custom_element_data(n,"mbsource",t[6])},m(i,l){e.insert(i,n,l),e.append(n,a)},p(i,l){l[0]&26624&&o!==(o=i[11]?i[13]:i[14])&&e.set_custom_element_data(a,"modaltext",o),l[0]&8&&e.set_custom_element_data(a,"lang",i[3]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(a,"mbsource",i[6]),l[0]&16&&e.set_custom_element_data(n,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(n,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(n,"mbsource",i[6])},d(i){i&&e.detach(n)}}}function ke(t){let n;function a(l,r){return l[8]?ue:de}let o=a(t),i=o(t);return{c(){n=e.element("div"),i.c()},m(l,r){e.insert(l,n,r),i.m(n,null),t[29](n)},p(l,r){o===(o=a(l))&&i?i.p(l,r):(i.d(1),i=o(l),i&&(i.c(),i.m(n,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(n),i.d(),t[29](null)}}}function Ie(t,n,a){let o;e.component_subscribe(t,e.$format,m=>a(16,o=m));let{limitsdata:i=[]}=n,{limitname:l=""}=n,{currency:r=""}=n,{lang:d="en"}=n,{clientstyling:p=""}=n,{clientstylingurl:b=""}=n,{mbsource:L}=n,{translationurl:c=""}=n;const w=()=>{fetch(c).then(v=>v.json()).then(v=>{Object.keys(v).forEach(B=>{H(B,v[B])})}).catch(v=>{console.log(v)})};Object.keys(Y).forEach(m=>{H(m,Y[m])});let z=!0,y,A=new Array(5).fill(0),R=["Daily","Weekly","Monthly"],j=!0,M=!0,T=!1,k=window.navigator.userAgent,S=e.getDevice(k)!=="PC",h="",D="",N=!0,I=new Date;const C=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},u=m=>{a(12,T=!0),a(11,M=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},f=(m,v)=>{a(12,T=!0),a(11,M=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:v},window.location.href)},s=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{a(9,A[m]=!0,A)},50)},_=m=>{let v=[...m];R.forEach((B,W)=>{v.find(P=>P.period===B)||(v=g(v,W,B));const q=v.find(P=>P.period===B);q&&q.amount!=="No limit"&&a(10,j=!1)}),m.splice(0,m.length,...v),a(8,z=!1)},g=(m,v,B)=>{const W={period:B,amount:"No limit",currency:"",isModified:!1,expiryDate:""},q=[...m];return q.splice(v,0,W),q},E=(m,v)=>m.period==="Weekly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Weekly"?1:m.period==="Daily"&&v.period==="Weekly"||m.period==="Daily"&&v.period==="Monthly"||m.period==="Weekly"&&v.period==="Monthly"?-1:0,$=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",a(13,h=o("removeLimitsText",{values:{limit:m}})),a(14,D=o("removeLimitText",{values:{limit:m}}))},ee=m=>{m.forEach(v=>{v.isModified&&a(15,N=!1)})},te=()=>{me(d),$(),ee(i),_(i),i.sort(E)},V=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":a(9,A=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),a(12,T=!1),a(11,M=!1);break}};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));const ie=()=>s(0),ne=m=>s(m+1),ae=m=>s(m+1),oe=()=>C(i),le=()=>u(i);function re(m){e.binding_callbacks[m?"unshift":"push"](()=>{y=m,a(7,y)})}return t.$$set=m=>{"limitsdata"in m&&a(0,i=m.limitsdata),"limitname"in m&&a(1,l=m.limitname),"currency"in m&&a(2,r=m.currency),"lang"in m&&a(3,d=m.lang),"clientstyling"in m&&a(4,p=m.clientstyling),"clientstylingurl"in m&&a(5,b=m.clientstylingurl),"mbsource"in m&&a(6,L=m.mbsource),"translationurl"in m&&a(23,c=m.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&11&&i&&l&&d&&te(),t.$$.dirty[0]&144&&p&&y&&e.setClientStyling(y,p),t.$$.dirty[0]&160&&b&&y&&e.setClientStylingURL(y,b),t.$$.dirty[0]&192&&L&&y&&e.setStreamStyling(y,`${L}.Style`),t.$$.dirty[0]&8388608&&c&&w()},[i,l,r,d,p,b,L,y,z,A,j,M,T,h,D,N,o,S,I,C,u,f,s,c,ie,ne,ae,oe,le,re]}class x extends e.SvelteComponent{constructor(n){super(),e.init(this,n,Ie,ke,e.safe_not_equal,{limitsdata:0,limitname:1,currency:2,lang:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:23},se,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(n){this.$$set({limitsdata:n}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(n){this.$$set({limitname:n}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(n){this.$$set({currency:n}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(n){this.$$set({lang:n}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},currency:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimits-T5-mSITY.cjs"),F=require("./PlayerAccountGamingLimitsGroupEdit-BN0PwZvT.cjs");function H(t,n){e.addMessages(t,n)}function me(t){e.$locale.set(t)}const Y={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:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"},"zh-hk":{name:"信息",amountChanged:"您的限額已更改或增加:{amount} {currency}。 您必須等待到期日期才能使新限制生效:",daily:"日常的",weekly:"每週",monthly:"月刊",removeLimitText:"您確定要刪除 {limit} 嗎?",removeLimitsText:"您確定要刪除所有 {limit} 嗎?",minutes:"分鐘",noLimit:"沒有限制",expirationDate:"截止日期",notAvailable:"不適用",edit:"編輯",removeLimits:"移除限制",depositLimit:"存款限額",timeLimit:"時限",wageringLimit:"投注限額",lossLimit:"損失限額",timeLimitLower:"時限",depositLimitLower:"存款限額",wageringLimitLower:"投注限額",lossLimitLower:"損失限額",time:"時間",currency:"貨幣"},fr:{name:"Info",amountChanged:"Votre limite a été modifiée ou augmentée: {amount} {currency}. Vous devrez attendre la date d'expiration pour que votre nouvelle limite prenne effet:",daily:"Quotidiennement",weekly:"Hebdomadaire",monthly:"Mensuel",removeLimitText:"êtes-vous sûr de vouloir supprimer la{limit}?",removeLimitsText:"êtes-vous sûr de vouloir supprimer tous les {limit}s?",minutes:"minutes",noLimit:"Aucune limite",expirationDate:"Date d'expiration",notAvailable:"N/A",edit:"Modifier",removeLimits:"Supprimer les limites",depositLimit:"Limite de dépôt",timeLimit:"Limite de temps",wageringLimit:"Limite de mise",lossLimit:"Limite de perte",timeLimitLower:"Limite de temps",depositLimitLower:"Limite de dépôt",wageringLimitLower:"Limite de mise",lossLimitLower:"Limite de perte",time:"Temps",currency:"Monnaie"},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:",daily:"Zilnic",weekly:"Săptămânal",monthly:"Lunar",removeLimitText:"Ești sigur că vrei să elimini această limită?",removeLimitsText:"Ești sigur că vrei să elimini toate limitele?",minutes:"minute",noLimit:"Fără Limită",expirationDate:"Dată Expirare",notAvailable:"N/A",edit:"Editează",removeLimits:"Elimină limitele",depositLimit:"Limită de depunere",timeLimit:"Limită de timp",wageringLimit:"Limită de pariere",lossLimit:"Limite de pierdere",timeLimitLower:"limită de timp",depositLimitLower:"limită de depunere",wageringLimitLower:"limită de pariere",lossLimitLower:"limită de pierdere",time:"timp",currency:"monedă"},es:{name:"Información",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:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"Estas seguro de quitar el {limit}?",removeLimitsText:"Estas seguro de retirar todos los {limit}es?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No Disponible",edit:"Editar",removeLimits:"Retirar límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de apuestas",lossLimit:"Límite de pérdida",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de apuestas",lossLimitLower:"Límite de pérdida",time:"tiempo",currency:"moneda"},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:",daily:"Diariamente",weekly:"Semanalmente",monthly:"Mensalmente",removeLimitText:"Tem certeza de que deseja remover o {limite}??",removeLimitsText:"Tem certeza de que deseja remover todos os {limite}s??",minutes:"Minutos",noLimit:"Sem limite",expirationDate:"Data de Validade",notAvailable:"Não Disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de Depósito",timeLimit:"Limite de Tempo",wageringLimit:"Limite de Apostas",lossLimit:"Limite de Perda",timeLimitLower:"Limite de tempo",depositLimitLower:"limite de depósito",wageringLimitLower:"limite de apostas",lossLimitLower:"limite de perda",time:"Tempo",currency:"Moeda"},hr:{name:"Informacije",amountChanged:"Vaše ograničenje je promijenjeno ili povećano: {iznos} {valuta}. Morat ćete pričekati datum isteka kako bi vaše novo ograničenje stupilo na snagu:",daily:"Dnevno",weekly:"Tjedno",monthly:"Mjesečno",removeLimitText:"Jeste li sigurni da želite ukloniti {limit}?",removeLimitsText:"Jeste li sigurni da želite ukloniti sve {limit}e?",minutes:"minute",noLimit:"Nema ograničenja",expirationDate:"Datum isteka",notAvailable:"N/A",edit:"Uredi",removeLimits:"Ukloni ograničenja",depositLimit:"Ograničenje uplate",timeLimit:"Vremensko ograničenje",wageringLimit:"Ograničenje igranja",lossLimit:"Ograničenje gubitka",timeLimitLower:"vremensko ograničenje",depositLimitLower:"ograničenje uplate",wageringLimitLower:"ograničenje igranja",lossLimitLower:"ograničenje gubitka",time:"vrijeme",currency:"valuta"},"pt-br":{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:",daily:"Diário",weekly:"Semanalmente",monthly:"Por mês",removeLimitText:"Tem certeza de que deseja remover o limite {limit}?",removeLimitsText:"Tem certeza de que deseja remover todos os limites {limit}s?",minutes:"minutos",noLimit:"Sem limite",expirationDate:"Data de expiração",notAvailable:"Não disponível",edit:"Editar",removeLimits:"Remover limites",depositLimit:"Limite de depósito",timeLimit:"Limite de tempo",wageringLimit:"Limite de Quantidade de Apostas",lossLimit:"Limite de perda",timeLimitLower:"Limite de tempo",depositLimitLower:"Limite de depósito",wageringLimitLower:"Limite de Quantidade de Apostas",lossLimitLower:"Limite de perda",time:"tempo",currency:"moeda"},"es-mx":{name:"Información",amountChanged:"Su límite ha sido cambiado o aumentado:{amount} {currency}. Tendrá que esperar para su fecha de expiración para que su nuevo límite entre en efecto:",daily:"Diario",weekly:"Semanal",monthly:"Mensual",removeLimitText:"¿Está seguro que quiere remover el límite {limit}?",removeLimitsText:"¿Está seguro que quiere remover todos los límites {limit}s?",minutes:"minutos",noLimit:"Sin límite",expirationDate:"Fecha de expiración",notAvailable:"No disponible",edit:"Editar",removeLimits:"Remover Límites",depositLimit:"Límite de depósito",timeLimit:"Límite de tiempo",wageringLimit:"Límite de monto de apuestas",lossLimit:"Límite de pérdidas",timeLimitLower:"Límite de tiempo",depositLimitLower:"Límite de depósito",wageringLimitLower:"Límite de monto de apuestas",lossLimitLower:"Límite de pérdidas",time:"tiempo",currency:"moneda"},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:",daily:"Günlük",weekly:"Haftalık",monthly:"Aylık",removeLimitText:"{limit} sınırını kaldırmak istediğinizden emin misiniz?",removeLimitsText:"Tüm {limit}'leri kaldırmak istediğinizden emin misiniz?",minutes:"dakika",noLimit:"Limit yok",expirationDate:"Son kullanma tarihi",notAvailable:"Yok",edit:"Düzenlemek",removeLimits:"Sınırları Kaldır",depositLimit:"Para Yatırma Limiti",timeLimit:"Zaman sınırı",wageringLimit:"Bahis Limiti",lossLimit:"Kayıp Limiti",timeLimitLower:"zaman sınırı",depositLimitLower:"para yatırma limiti",wageringLimitLower:"bahis limiti",lossLimitLower:"kayıp limiti",time:"zaman",currency:"para birimi"},"en-us":{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:",daily:"Daily",weekly:"Weekly",monthly:"Monthly",removeLimitText:"Are you sure you want to remove the {limit}?",removeLimitsText:"Are you sure you want to remove all the {limit}s?",minutes:"minutes",noLimit:"No limit",expirationDate:"Expiration date",notAvailable:"N/A",edit:"Edit",removeLimits:"Remove Limits",depositLimit:"Deposit Limit",timeLimit:"Time Limit",wageringLimit:"Wagering Limit",lossLimit:"Loss Limit",timeLimitLower:"time limit",depositLimitLower:"deposit limit",wageringLimitLower:"wagering limit",lossLimitLower:"loss limit",time:"time",currency:"currency"}};if(typeof window!="undefined"){let t=function(n){return function(...a){try{return n.apply(this,a)}catch(o){if(o instanceof DOMException&&o.message.includes("has already been used with this registry")||o.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw o}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("./PlayerAccountGamingLimitsGroupEdit-BN0PwZvT.cjs")).then(n=>n.PlayerAccountGamingLimitsGroupEdit_ce).then(({default:n})=>{!customElements.get("player-account-gaming-limits-group-edit")&&customElements.define("player-account-gaming-limits-group-edit",n.element)})}function se(t){e.append_styles(t,"svelte-8fdpga",'@charset "UTF-8";.InfoCard{padding:20px;color:var(--emw--color-black, #000000);background:var(--emw--color-white, #FFFFFF);box-shadow:0 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:5px;display:block}.InfoCardHeader{display:flex;flex-direction:row;justify-content:space-between;padding-bottom:10px}.InfoCardHeader h5{margin:0;font-weight:normal;font-size:16px;line-height:20px}.InfoCardHeader span{display:flex;width:20px;height:20px;background:transparent;border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardHeader.InfoCardMobileHeader h5{font-size:14px}.InfoCardHeader.InfoCardMobileHeader span{width:16px;height:16px;font-size:12px}.InfoCardIcon{cursor:pointer}.InfoCardRow{display:flex;flex-direction:row;justify-content:space-between;font-size:14px}.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child{padding-bottom:5px}.InfoCardTableRow>.InfoCardRow:first-child .InfoCardRowTitle{font-weight:500}.InfoCardTableRow>.InfoCardRow:nth-child(2){font-size:12px}.InfoCardTableHeaderBox{display:flex;flex-direction:column}.InfoCardRowTitle{font-size:12px;font-weight:300}.InfoCardRowValue{font-size:12px;color:var(--emw--color-gray-300, #58586B);font-weight:300}.InfoCardRemoveIcon{display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardRemoveIcon span{display:inline-block;height:18px;width:18px;border-radius:50px;position:relative;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border:1px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839))}.InfoCardRemoveIcon span:after{position:absolute;top:0;bottom:0;left:0;right:0;content:"❌";font-size:7px;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));line-height:18px;text-align:center}.InfoCardBox{padding:15px 5px}.InfoCardBox.InfoCardMultipleItems{display:flex;flex-direction:row}.InfoCardBox:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}.InfoCardBox .InfoCardRowContainer{flex:1 auto}.InfoMainRow .InfoCardRowTitle{font-size:14px;font-weight:400}.InfoMainRow .InfoCardRowValue{font-size:14px}.InfoCardControlArea{display:inline-flex;margin-top:35px}.InfoCardControlArea .InfoCardEditButton,.InfoCardControlArea .InfoCardRemoveButton{cursor:pointer;border-radius:5px;width:120px;height:36px;display:flex;align-items:center;justify-content:center;font-size:12px;color:var(--emw--color-black, #000000);text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.InfoCardControlArea .InfoCardEditButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));margin-right:10px}.InfoCardControlArea .InfoCardEditButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardControlArea .InfoCardRemoveButton{background:transparent;border:1px solid var(--emw--color-black, #000000)}.InfoCardControlArea .InfoCardRemoveButton.InfoCardButtonDisabled{background:transparent;border:1px solid var(--emw--color-black, #000000);cursor:not-allowed;opacity:0.6}.InfoCardIconWrapper{position:relative;display:inline-block;padding:5px 0 5px 15px;cursor:pointer}.InfoCardIconWrapper span{display:flex;width:20px;height:20px;background:transparent;border:1px solid ar(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));align-items:center;justify-content:center;border-radius:30px}.InfoCardIconWrapper.InfoCardIconMobileWrapper{position:initial}.InfoCardBox .InfoCardIcon{color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B)}')}function G(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function O(t,n,a){const o=t.slice();return o[41]=n[a],o[43]=a,o}function de(t){let n,a,o,i,l=(t[0]?t[16](t[1].charAt(0).toLowerCase()+t[1].substring(1).replace(/\s/g,"")):"")+"",r,d,p,b,L,c,w,z,y,A,R,j,M,T,k=t[16]("edit")+"",S,h,D,N,I;function C(g,E){return g[1]==="Time Limit"?ce:pe}let u=C(t),f=u(t),s=!t[10]&&!t[0].isModified&&t[15]&&Z(t),_=t[12]&&X(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("h5"),r=e.text(l),d=e.space(),p=e.element("div"),b=e.element("span"),b.textContent="i",L=e.space(),c=e.element("player-account-gaming-limits-popup"),z=e.space(),y=e.element("div"),A=e.element("div"),R=e.element("div"),f.c(),j=e.space(),M=e.element("div"),T=e.element("button"),S=e.text(k),h=e.space(),s&&s.c(),D=e.space(),_&&_.c(),e.attr(b,"class","InfoCardIcon"),e.set_custom_element_data(c,"showpopup",w=t[9][0]),e.set_custom_element_data(c,"lang",t[3]),e.set_custom_element_data(c,"clientstyling",t[4]),e.set_custom_element_data(c,"clientstylingurl",t[5]),e.set_custom_element_data(c,"mbsource",t[6]),e.attr(p,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":"")),e.attr(o,"class","InfoCardHeader "+(t[17]?"InfoCardMobileHeader":"")),e.attr(R,"class","InfoCardTableRow"),e.attr(A,"class","InfoCardTableWrapper"),e.attr(T,"class","InfoCardEditButton"),e.attr(M,"class","InfoCardControlArea"),e.attr(y,"class","InfoCard"),e.attr(a,"class","InfoCardWrapper"),e.attr(n,"class","InfoCardSection")},m(g,E){e.insert(g,n,E),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,b),e.append(p,L),e.append(p,c),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,R),f.m(R,null),e.append(y,j),e.append(y,M),e.append(M,T),e.append(T,S),e.append(M,h),s&&s.m(M,null),e.append(n,D),_&&_.m(n,null),N||(I=[e.listen(b,"click",e.prevent_default(t[24])),e.listen(T,"click",t[27])],N=!0)},p(g,E){E[0]&65539&&l!==(l=(g[0]?g[16](g[1].charAt(0).toLowerCase()+g[1].substring(1).replace(/\s/g,"")):"")+"")&&e.set_data(r,l),E[0]&512&&w!==(w=g[9][0])&&e.set_custom_element_data(c,"showpopup",w),E[0]&8&&e.set_custom_element_data(c,"lang",g[3]),E[0]&16&&e.set_custom_element_data(c,"clientstyling",g[4]),E[0]&32&&e.set_custom_element_data(c,"clientstylingurl",g[5]),E[0]&64&&e.set_custom_element_data(c,"mbsource",g[6]),u===(u=C(g))&&f?f.p(g,E):(f.d(1),f=u(g),f&&(f.c(),f.m(R,null))),E[0]&65536&&k!==(k=g[16]("edit")+"")&&e.set_data(S,k),!g[10]&&!g[0].isModified&&g[15]?s?s.p(g,E):(s=Z(g),s.c(),s.m(M,null)):s&&(s.d(1),s=null),g[12]?_?_.p(g,E):(_=X(g),_.c(),_.m(n,null)):_&&(_.d(1),_=null)},d(g){g&&e.detach(n),f.d(),s&&s.d(),_&&_.d(),N=!1,e.run_all(I)}}}function ue(t){let n;return{c(){n=e.element("div"),e.attr(n,"class","ModalLoader")},m(a,o){e.insert(a,n,o)},p:e.noop,d(a){a&&e.detach(n)}}}function pe(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=Q(G(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750847){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=G(i,a,r);o[r]?o[r].p(d,l):(o[r]=Q(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function ce(t){let n,a=e.ensure_array_like(t[0]),o=[];for(let i=0;i<a.length;i+=1)o[i]=K(O(t,a,i));return{c(){for(let i=0;i<o.length;i+=1)o[i].c();n=e.empty()},m(i,l){for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(i,l);e.insert(i,n,l)},p(i,l){if(l[0]&6750843){a=e.ensure_array_like(i[0]);let r;for(r=0;r<a.length;r+=1){const d=O(i,a,r);o[r]?o[r].p(d,l):(o[r]=K(d),o[r].c(),o[r].m(n.parentNode,n))}for(;r<o.length;r+=1)o[r].d(1);o.length=a.length}},d(i){i&&e.detach(n),e.destroy_each(o,i)}}}function U(t){let n,a=(t[41]?t[41].currency:"")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?i[41].currency:"")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function fe(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function _e(t){let n,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ge(t){let n,a,o,i,l,r,d,p;function b(){return t[26](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateAmount),e.set_custom_element_data(i,"currency",t[2]),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(L,c){e.insert(L,n,c),e.append(n,a),e.append(n,o),e.append(n,i),d||(p=e.listen(a,"click",e.prevent_default(b)),d=!0)},p(L,c){t=L,c[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),c[0]&1&&r!==(r=t[41].updateAmount)&&e.set_custom_element_data(i,"iteminfoamount",r),c[0]&4&&e.set_custom_element_data(i,"currency",t[2]),c[0]&8&&e.set_custom_element_data(i,"lang",t[3]),c[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),c[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),c[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(L){L&&e.detach(n),d=!1,p()}}}function Le(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function Q(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",L,c,w=t[41].amount!="No limit"&&t[41].amount!=t[16]("noLimit"),z,y,A,R=t[16]("expirationDate")+"",j,M,T,k,S,h=w&&U(t);function D(s,_){return s[41].expiryDate?_e:fe}let N=D(t),I=N(t);function C(s,_){if(_[0]&65537&&(k=null),k==null&&(k=s[41].amount!==s[16]("noLimit")&&s[41].amount!=="No limit"&&!s[41].isModified),k)return Le;if(s[41].amount!="No limit"&&s[41].isModified)return ge}let u=C(t,[-1,-1]),f=u&&u(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),L=e.text(b),c=e.space(),h&&h.c(),z=e.space(),y=e.element("div"),A=e.element("div"),j=e.text(R),M=e.space(),I.c(),T=e.space(),f&&f.c(),S=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(A,"class","InfoCardRowTitle"),e.attr(y,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(s,_){e.insert(s,n,_),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),e.append(p,L),e.append(p,c),h&&h.m(p,null),e.append(a,z),e.append(a,y),e.append(y,A),e.append(A,j),e.append(y,M),I.m(y,null),e.append(n,T),f&&f.m(n,null),e.append(n,S)},p(s,_){_[0]&65537&&l!==(l=(s[41]?s[16](s[41].period.charAt(0).toLowerCase()+s[41].period.substring(1)):"")+"")&&e.set_data(r,l),_[0]&65537&&b!==(b=(s[41]?s[41].amount==="No limit"?s[16]("noLimit"):s[41].amount:0)+"")&&e.set_data(L,b),_[0]&65537&&(w=s[41].amount!="No limit"&&s[41].amount!=s[16]("noLimit")),w?h?h.p(s,_):(h=U(s),h.c(),h.m(p,null)):h&&(h.d(1),h=null),_[0]&65536&&R!==(R=s[16]("expirationDate")+"")&&e.set_data(j,R),N===(N=D(s))&&I?I.p(s,_):(I.d(1),I=N(s),I&&(I.c(),I.m(y,null))),u===(u=C(s,_))&&f?f.p(s,_):(f&&f.d(1),f=u&&u(s),f&&(f.c(),f.m(n,S)))},d(s){s&&e.detach(n),h&&h.d(),I.d(),f&&f.d()}}}function ye(t){let n,a=t[16]("noLimit")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("noLimit")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function we(t){let n=(t[41]?t[41].amount==="No limit"?t[16]("noLimit"):t[41].amount:0)+"",a,o,i=t[41].amount!=="No limit"&&t[41].amount!==t[16]("noLimit"),l,r=i&&J(t);return{c(){a=e.text(n),o=e.space(),r&&r.c(),l=e.empty()},m(d,p){e.insert(d,a,p),e.insert(d,o,p),r&&r.m(d,p),e.insert(d,l,p)},p(d,p){p[0]&65537&&n!==(n=(d[41]?d[41].amount==="No limit"?d[16]("noLimit"):d[41].amount:0)+"")&&e.set_data(a,n),p[0]&65537&&(i=d[41].amount!=="No limit"&&d[41].amount!==d[16]("noLimit")),i?r?r.p(d,p):(r=J(d),r.c(),r.m(l.parentNode,l)):r&&(r.d(1),r=null)},d(d){d&&(e.detach(a),e.detach(o),e.detach(l)),r&&r.d(d)}}}function J(t){let n,a=t[16]("minutes")+"",o;return{c(){n=e.element("span"),o=e.text(a),e.attr(n,"class","InfoCardCurrency")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("minutes")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function he(t){let n,a=t[16]("notAvailable")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&65536&&a!==(a=i[16]("notAvailable")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function ve(t){let n,a=(t[41]?F.getYear(new Date(t[41].expiryDate))>new Date().getFullYear()+30?t[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(t[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"",o;return{c(){n=e.element("div"),o=e.text(a),e.attr(n,"class","InfoCardRowValue")},m(i,l){e.insert(i,n,l),e.append(n,o)},p(i,l){l[0]&1&&a!==(a=(i[41]?F.getYear(new Date(i[41].expiryDate))>new Date().getFullYear()+30?i[18].clone().add(5,"years").format("d/M/yyyy - h:mm a"):F.format(new Date(i[41].expiryDate),"d/M/yyyy - h:mm a"):"N/A")+"")&&e.set_data(o,a)},d(i){i&&e.detach(n)}}}function be(t){let n,a,o,i,l,r,d,p,b;function L(){return t[25](t[43])}return{c(){n=e.element("div"),a=e.element("span"),a.textContent="i",o=e.space(),i=e.element("player-account-gaming-limits-popup"),e.attr(a,"class","InfoCardIcon"),e.set_custom_element_data(i,"showpopup",l=t[9][t[43]+1]),e.set_custom_element_data(i,"iteminfoamount",r=t[41].updateMinutes),e.set_custom_element_data(i,"currency",d=t[16]("minutes")),e.set_custom_element_data(i,"lang",t[3]),e.set_custom_element_data(i,"clientstyling",t[4]),e.set_custom_element_data(i,"clientstylingurl",t[5]),e.set_custom_element_data(i,"mbsource",t[6]),e.attr(n,"class","InfoCardIconWrapper "+(t[17]?"InfoCardIconMobileWrapper":""))},m(c,w){e.insert(c,n,w),e.append(n,a),e.append(n,o),e.append(n,i),p||(b=e.listen(a,"click",e.prevent_default(L)),p=!0)},p(c,w){t=c,w[0]&512&&l!==(l=t[9][t[43]+1])&&e.set_custom_element_data(i,"showpopup",l),w[0]&1&&r!==(r=t[41].updateMinutes)&&e.set_custom_element_data(i,"iteminfoamount",r),w[0]&65536&&d!==(d=t[16]("minutes"))&&e.set_custom_element_data(i,"currency",d),w[0]&8&&e.set_custom_element_data(i,"lang",t[3]),w[0]&16&&e.set_custom_element_data(i,"clientstyling",t[4]),w[0]&32&&e.set_custom_element_data(i,"clientstylingurl",t[5]),w[0]&64&&e.set_custom_element_data(i,"mbsource",t[6])},d(c){c&&e.detach(n),p=!1,b()}}}function Ce(t){let n,a,o;return{c(){n=e.element("div"),n.innerHTML="<span></span>",e.attr(n,"class","InfoCardRemoveIcon")},m(i,l){e.insert(i,n,l),a||(o=e.listen(n,"click",function(){e.is_function(t[21](t[41],t[1]))&&t[21](t[41],t[1]).apply(this,arguments)}),a=!0)},p(i,l){t=i},d(i){i&&e.detach(n),a=!1,o()}}}function K(t){let n,a,o,i,l=(t[41]?t[16](t[41].period.charAt(0).toLowerCase()+t[41].period.substring(1)):"")+"",r,d,p,b,L,c,w=t[16]("expirationDate")+"",z,y,A,R,j;function M(u,f){return u[41].amount!==0?we:ye}let T=M(t),k=T(t);function S(u,f){return u[41].expiryDate?ve:he}let h=S(t),D=h(t);function N(u,f){if(f[0]&65537&&(R=null),R==null&&(R=u[41].amount!==u[16]("noLimit")&&u[41].amount!=="No limit"&&!u[41].isModified),R)return Ce;if(u[41].amount!="No limit"&&u[41].isModified)return be}let I=N(t,[-1,-1]),C=I&&I(t);return{c(){n=e.element("div"),a=e.element("div"),o=e.element("div"),i=e.element("div"),r=e.text(l),d=e.space(),p=e.element("div"),k.c(),b=e.space(),L=e.element("div"),c=e.element("div"),z=e.text(w),y=e.space(),D.c(),A=e.space(),C&&C.c(),j=e.space(),e.attr(i,"class","InfoCardRowTitle"),e.attr(p,"class","InfoCardRowValue"),e.attr(o,"class","InfoCardRow InfoMainRow"),e.attr(c,"class","InfoCardRowTitle"),e.attr(L,"class","InfoCardRow"),e.attr(a,"class","InfoCardRowContainer"),e.attr(n,"class","InfoCardBox InfoCardMultipleItems")},m(u,f){e.insert(u,n,f),e.append(n,a),e.append(a,o),e.append(o,i),e.append(i,r),e.append(o,d),e.append(o,p),k.m(p,null),e.append(a,b),e.append(a,L),e.append(L,c),e.append(c,z),e.append(L,y),D.m(L,null),e.append(n,A),C&&C.m(n,null),e.append(n,j)},p(u,f){f[0]&65537&&l!==(l=(u[41]?u[16](u[41].period.charAt(0).toLowerCase()+u[41].period.substring(1)):"")+"")&&e.set_data(r,l),T===(T=M(u))&&k?k.p(u,f):(k.d(1),k=T(u),k&&(k.c(),k.m(p,null))),f[0]&65536&&w!==(w=u[16]("expirationDate")+"")&&e.set_data(z,w),h===(h=S(u))&&D?D.p(u,f):(D.d(1),D=h(u),D&&(D.c(),D.m(L,null))),I===(I=N(u,f))&&C?C.p(u,f):(C&&C.d(1),C=I&&I(u),C&&(C.c(),C.m(n,j)))},d(u){u&&e.detach(n),k.d(),D.d(),C&&C.d()}}}function Z(t){let n,a=t[16]("removeLimits")+"",o,i,l;return{c(){n=e.element("button"),o=e.text(a),e.attr(n,"class","InfoCardRemoveButton")},m(r,d){e.insert(r,n,d),e.append(n,o),i||(l=e.listen(n,"click",t[28]),i=!0)},p(r,d){d[0]&65536&&a!==(a=r[16]("removeLimits")+"")&&e.set_data(o,a)},d(r){r&&e.detach(n),i=!1,l()}}}function X(t){let n,a,o;return{c(){n=e.element("player-account-modal"),a=e.element("player-account-gaming-limits-confirmation-modal"),e.set_custom_element_data(a,"modaltext",o=t[11]?t[13]:t[14]),e.set_custom_element_data(a,"modalsource","infoCard"),e.set_custom_element_data(a,"lang",t[3]),e.set_custom_element_data(a,"clientstyling",t[4]),e.set_custom_element_data(a,"clientstylingurl",t[5]),e.set_custom_element_data(a,"mbsource",t[6]),e.set_custom_element_data(n,"clientstyling",t[4]),e.set_custom_element_data(n,"clientstylingurl",t[5]),e.set_custom_element_data(n,"mbsource",t[6])},m(i,l){e.insert(i,n,l),e.append(n,a)},p(i,l){l[0]&26624&&o!==(o=i[11]?i[13]:i[14])&&e.set_custom_element_data(a,"modaltext",o),l[0]&8&&e.set_custom_element_data(a,"lang",i[3]),l[0]&16&&e.set_custom_element_data(a,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(a,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(a,"mbsource",i[6]),l[0]&16&&e.set_custom_element_data(n,"clientstyling",i[4]),l[0]&32&&e.set_custom_element_data(n,"clientstylingurl",i[5]),l[0]&64&&e.set_custom_element_data(n,"mbsource",i[6])},d(i){i&&e.detach(n)}}}function ke(t){let n;function a(l,r){return l[8]?ue:de}let o=a(t),i=o(t);return{c(){n=e.element("div"),i.c()},m(l,r){e.insert(l,n,r),i.m(n,null),t[29](n)},p(l,r){o===(o=a(l))&&i?i.p(l,r):(i.d(1),i=o(l),i&&(i.c(),i.m(n,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(n),i.d(),t[29](null)}}}function Ie(t,n,a){let o;e.component_subscribe(t,e.$format,m=>a(16,o=m));let{limitsdata:i=[]}=n,{limitname:l=""}=n,{currency:r=""}=n,{lang:d="en"}=n,{clientstyling:p=""}=n,{clientstylingurl:b=""}=n,{mbsource:L}=n,{translationurl:c=""}=n;const w=()=>{fetch(c).then(v=>v.json()).then(v=>{Object.keys(v).forEach(B=>{H(B,v[B])})}).catch(v=>{console.log(v)})};Object.keys(Y).forEach(m=>{H(m,Y[m])});let z=!0,y,A=new Array(5).fill(0),R=["Daily","Weekly","Monthly"],j=!0,M=!0,T=!1,k=window.navigator.userAgent,S=e.getDevice(k)!=="PC",h="",D="",N=!0,I=new Date;const C=m=>{window.postMessage({type:"EditPlayerAccountGamingLimits",edit:m,name:l},window.location.href)},u=m=>{a(12,T=!0),a(11,M=!0),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:l},window.location.href)},f=(m,v)=>{a(12,T=!0),a(11,M=!1),window.postMessage({type:"ShowLimitsConfirmationModal"},window.location.href),window.postMessage({type:"DeleteLimitsItem",removeData:m,removeName:v},window.location.href)},s=m=>{window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href),setTimeout(()=>{a(9,A[m]=!0,A)},50)},_=m=>{let v=[...m];R.forEach((B,W)=>{v.find(P=>P.period===B)||(v=g(v,W,B));const q=v.find(P=>P.period===B);q&&q.amount!=="No limit"&&a(10,j=!1)}),m.splice(0,m.length,...v),a(8,z=!1)},g=(m,v,B)=>{const W={period:B,amount:"No limit",currency:"",isModified:!1,expiryDate:""},q=[...m];return q.splice(v,0,W),q},E=(m,v)=>m.period==="Weekly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Daily"||m.period==="Monthly"&&v.period==="Weekly"?1:m.period==="Daily"&&v.period==="Weekly"||m.period==="Daily"&&v.period==="Monthly"||m.period==="Weekly"&&v.period==="Monthly"?-1:0,$=()=>{let m="";m=l==="Time Limit"?"time limit":l==="Deposit Limit"?"deposit limit":l==="Wagering Limit"?"wagering limit":"loss limit",a(13,h=o("removeLimitsText",{values:{limit:m}})),a(14,D=o("removeLimitText",{values:{limit:m}}))},ee=m=>{m.forEach(v=>{v.isModified&&a(15,N=!1)})},te=()=>{me(d),$(),ee(i),_(i),i.sort(E)},V=m=>{if(m.data)switch(m.data.type){case"ClosePlayerAccountGamingLimitsPopup":a(9,A=new Array(5).fill(0));break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),a(12,T=!1),a(11,M=!1);break}};e.onMount(()=>(window.addEventListener("message",V,!1),()=>{window.removeEventListener("message",V)}));const ie=()=>s(0),ne=m=>s(m+1),ae=m=>s(m+1),oe=()=>C(i),le=()=>u(i);function re(m){e.binding_callbacks[m?"unshift":"push"](()=>{y=m,a(7,y)})}return t.$$set=m=>{"limitsdata"in m&&a(0,i=m.limitsdata),"limitname"in m&&a(1,l=m.limitname),"currency"in m&&a(2,r=m.currency),"lang"in m&&a(3,d=m.lang),"clientstyling"in m&&a(4,p=m.clientstyling),"clientstylingurl"in m&&a(5,b=m.clientstylingurl),"mbsource"in m&&a(6,L=m.mbsource),"translationurl"in m&&a(23,c=m.translationurl)},t.$$.update=()=>{t.$$.dirty[0]&11&&i&&l&&d&&te(),t.$$.dirty[0]&144&&p&&y&&e.setClientStyling(y,p),t.$$.dirty[0]&160&&b&&y&&e.setClientStylingURL(y,b),t.$$.dirty[0]&192&&L&&y&&e.setStreamStyling(y,`${L}.Style`),t.$$.dirty[0]&8388608&&c&&w()},[i,l,r,d,p,b,L,y,z,A,j,M,T,h,D,N,o,S,I,C,u,f,s,c,ie,ne,ae,oe,le,re]}class x extends e.SvelteComponent{constructor(n){super(),e.init(this,n,Ie,ke,e.safe_not_equal,{limitsdata:0,limitname:1,currency:2,lang:3,clientstyling:4,clientstylingurl:5,mbsource:6,translationurl:23},se,[-1,-1])}get limitsdata(){return this.$$.ctx[0]}set limitsdata(n){this.$$set({limitsdata:n}),e.flush()}get limitname(){return this.$$.ctx[1]}set limitname(n){this.$$set({limitname:n}),e.flush()}get currency(){return this.$$.ctx[2]}set currency(n){this.$$set({currency:n}),e.flush()}get lang(){return this.$$.ctx[3]}set lang(n){this.$$set({lang:n}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(n){this.$$set({clientstyling:n}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(n){this.$$set({clientstylingurl:n}),e.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(n){this.$$set({mbsource:n}),e.flush()}get translationurl(){return this.$$.ctx[23]}set translationurl(n){this.$$set({translationurl:n}),e.flush()}}e.create_custom_element(x,{limitsdata:{},limitname:{},currency:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=x;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimits-B7Ae4m4I.cjs");function I(i,t){e.addMessages(i,t)}function M(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."},"en-us":{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."}};function z(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,n,l,m,g=i[4]("name")+"",f,y,c,v,b,p,s,x;function k(u,h){return u[0]?F:j}let C=k(i),d=C(i);return{c(){t=e.element("section"),a=e.element("div"),o=e.element("div"),n=e.element("div"),n.textContent="i",l=e.space(),m=e.element("div"),f=e.text(g),y=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>',v=e.space(),b=e.element("div"),d.c(),e.attr(n,"class","InfoCardPopupIcon"),e.attr(m,"class","InfoCardPopupTitle"),e.attr(c,"class","InfoCardPopupCloseButton"),e.attr(o,"class","InfoCardPopupHeader"),e.attr(b,"class","InfoCardPopupContentArea"),e.attr(a,"class",p="InfoCardPopupWrapper "+(i[5]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),e.attr(t,"class",i[5]?"InfoCardPopupMobileModal":"")},m(u,h){e.insert(u,t,h),e.append(t,a),e.append(a,o),e.append(o,n),e.append(o,l),e.append(o,m),e.append(m,f),e.append(o,y),e.append(o,c),e.append(a,v),e.append(a,b),d.m(b,null),i[13](t),s||(x=e.listen(c,"click",e.prevent_default(i[6])),s=!0)},p(u,h){h&16&&g!==(g=u[4]("name")+"")&&e.set_data(f,g),C===(C=k(u))&&d?d.p(u,h):(d.d(1),d=C(u),d&&(d.c(),d.m(b,null))),h&1&&p!==(p="InfoCardPopupWrapper "+(u[5]?"InfoCardPopupMobileWrapper":"")+" "+(u[0]?"InfoCardPopupLimitChanged":""))&&e.attr(a,"class",p)},d(u){u&&e.detach(t),d.d(),i[13](null),s=!1,x()}}}function j(i){let t,a=i[4]("defaultText")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l&16&&a!==(a=n[4]("defaultText")+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function F(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(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l&19&&a!==(a=n[4]("amountChanged",{values:{amount:n[0],currency:n[1]}})+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function L(i){let t,a=i[3]&&_(i);return{c(){a&&a.c(),t=e.empty()},m(o,n){a&&a.m(o,n),e.insert(o,t,n)},p(o,[n]){o[3]?a?a.p(o,n):(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 W(i,t,a){let o;e.component_subscribe(i,e.$format,r=>a(4,o=r));let{showpopup:n=""}=t,{iteminfoamount:l=""}=t,{lang:m="en"}=t,{currency:g="USD"}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:c=""}=t,{mbsource:v}=t;const b=()=>{fetch(c).then(w=>w.json()).then(w=>{Object.keys(w).forEach(P=>{I(P,w[P])})}).catch(w=>{console.log(w)})};Object.keys(T).forEach(r=>{I(r,T[r])});let p=!1,s,x=window.navigator.userAgent,k=e.getDevice(x)!=="PC";const C=()=>{a(3,p=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},d=r=>{r.data&&r.data.type=="ClosePlayerAccountGamingLimitsPopup"&&a(3,p=!1)},u=()=>{M(m),l<0&&a(0,l="0"),a(3,p=n)};e.onMount(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));function h(r){e.binding_callbacks[r?"unshift":"push"](()=>{s=r,a(2,s)})}return i.$$set=r=>{"showpopup"in r&&a(7,n=r.showpopup),"iteminfoamount"in r&&a(0,l=r.iteminfoamount),"lang"in r&&a(8,m=r.lang),"currency"in r&&a(1,g=r.currency),"clientstyling"in r&&a(9,f=r.clientstyling),"clientstylingurl"in r&&a(10,y=r.clientstylingurl),"translationurl"in r&&a(11,c=r.translationurl),"mbsource"in r&&a(12,v=r.mbsource)},i.$$.update=()=>{i.$$.dirty&384&&n&&m&&u(),i.$$.dirty&516&&f&&s&&e.setClientStyling(s,f),i.$$.dirty&1028&&y&&s&&e.setClientStylingURL(s,y),i.$$.dirty&4100&&v&&s&&e.setStreamStyling(s,`${v}.Style`),i.$$.dirty&2048&&c&&b()},[l,g,s,p,o,k,C,n,m,f,y,c,v,h]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,W,L,e.safe_not_equal,{showpopup:7,iteminfoamount:0,lang:8,currency:1,clientstyling:9,clientstylingurl:10,translationurl:11,mbsource:12},z)}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 currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency: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()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(q,{showpopup:{},iteminfoamount:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=q;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimits-T5-mSITY.cjs");function I(i,t){e.addMessages(i,t)}function M(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."},"en-us":{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."}};function z(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,n,l,m,g=i[4]("name")+"",f,y,c,v,b,p,s,x;function k(u,h){return u[0]?F:j}let C=k(i),d=C(i);return{c(){t=e.element("section"),a=e.element("div"),o=e.element("div"),n=e.element("div"),n.textContent="i",l=e.space(),m=e.element("div"),f=e.text(g),y=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>',v=e.space(),b=e.element("div"),d.c(),e.attr(n,"class","InfoCardPopupIcon"),e.attr(m,"class","InfoCardPopupTitle"),e.attr(c,"class","InfoCardPopupCloseButton"),e.attr(o,"class","InfoCardPopupHeader"),e.attr(b,"class","InfoCardPopupContentArea"),e.attr(a,"class",p="InfoCardPopupWrapper "+(i[5]?"InfoCardPopupMobileWrapper":"")+" "+(i[0]?"InfoCardPopupLimitChanged":"")),e.attr(t,"class",i[5]?"InfoCardPopupMobileModal":"")},m(u,h){e.insert(u,t,h),e.append(t,a),e.append(a,o),e.append(o,n),e.append(o,l),e.append(o,m),e.append(m,f),e.append(o,y),e.append(o,c),e.append(a,v),e.append(a,b),d.m(b,null),i[13](t),s||(x=e.listen(c,"click",e.prevent_default(i[6])),s=!0)},p(u,h){h&16&&g!==(g=u[4]("name")+"")&&e.set_data(f,g),C===(C=k(u))&&d?d.p(u,h):(d.d(1),d=C(u),d&&(d.c(),d.m(b,null))),h&1&&p!==(p="InfoCardPopupWrapper "+(u[5]?"InfoCardPopupMobileWrapper":"")+" "+(u[0]?"InfoCardPopupLimitChanged":""))&&e.attr(a,"class",p)},d(u){u&&e.detach(t),d.d(),i[13](null),s=!1,x()}}}function j(i){let t,a=i[4]("defaultText")+"",o;return{c(){t=e.element("p"),o=e.text(a),e.attr(t,"class","InfoCardPopupContent")},m(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l&16&&a!==(a=n[4]("defaultText")+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function F(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(n,l){e.insert(n,t,l),e.append(t,o)},p(n,l){l&19&&a!==(a=n[4]("amountChanged",{values:{amount:n[0],currency:n[1]}})+"")&&e.set_data(o,a)},d(n){n&&e.detach(t)}}}function L(i){let t,a=i[3]&&_(i);return{c(){a&&a.c(),t=e.empty()},m(o,n){a&&a.m(o,n),e.insert(o,t,n)},p(o,[n]){o[3]?a?a.p(o,n):(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 W(i,t,a){let o;e.component_subscribe(i,e.$format,r=>a(4,o=r));let{showpopup:n=""}=t,{iteminfoamount:l=""}=t,{lang:m="en"}=t,{currency:g="USD"}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{translationurl:c=""}=t,{mbsource:v}=t;const b=()=>{fetch(c).then(w=>w.json()).then(w=>{Object.keys(w).forEach(P=>{I(P,w[P])})}).catch(w=>{console.log(w)})};Object.keys(T).forEach(r=>{I(r,T[r])});let p=!1,s,x=window.navigator.userAgent,k=e.getDevice(x)!=="PC";const C=()=>{a(3,p=!1),window.postMessage({type:"ClosePlayerAccountGamingLimitsPopup"},window.location.href)},d=r=>{r.data&&r.data.type=="ClosePlayerAccountGamingLimitsPopup"&&a(3,p=!1)},u=()=>{M(m),l<0&&a(0,l="0"),a(3,p=n)};e.onMount(()=>(window.addEventListener("message",d,!1),()=>{window.removeEventListener("message",d)}));function h(r){e.binding_callbacks[r?"unshift":"push"](()=>{s=r,a(2,s)})}return i.$$set=r=>{"showpopup"in r&&a(7,n=r.showpopup),"iteminfoamount"in r&&a(0,l=r.iteminfoamount),"lang"in r&&a(8,m=r.lang),"currency"in r&&a(1,g=r.currency),"clientstyling"in r&&a(9,f=r.clientstyling),"clientstylingurl"in r&&a(10,y=r.clientstylingurl),"translationurl"in r&&a(11,c=r.translationurl),"mbsource"in r&&a(12,v=r.mbsource)},i.$$.update=()=>{i.$$.dirty&384&&n&&m&&u(),i.$$.dirty&516&&f&&s&&e.setClientStyling(s,f),i.$$.dirty&1028&&y&&s&&e.setClientStylingURL(s,y),i.$$.dirty&4100&&v&&s&&e.setStreamStyling(s,`${v}.Style`),i.$$.dirty&2048&&c&&b()},[l,g,s,p,o,k,C,n,m,f,y,c,v,h]}class q extends e.SvelteComponent{constructor(t){super(),e.init(this,t,W,L,e.safe_not_equal,{showpopup:7,iteminfoamount:0,lang:8,currency:1,clientstyling:9,clientstylingurl:10,translationurl:11,mbsource:12},z)}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 currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency: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()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(q,{showpopup:{},iteminfoamount:{},lang:{},currency:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=q;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as G, $ as A, S as B, i as Y, f as v, c as H, s as O, b as V, K as D, j as q, E as W, r as _, w as N, x as U, y as K,
|
|
1
|
+
import { a as G, $ as A, S as B, i as Y, f as v, c as H, s as O, b as V, K as D, j as q, E as W, r as _, w as N, x as U, y as K, e as h, g as z, t as M, h as m, k as d, l as Q, H as R, o as j, z as J, A as X, B as Z, C as $, F as ee } from "./PlayerAccountGamingLimits-DCaWtkE6.js";
|
|
2
2
|
function L(a, e) {
|
|
3
3
|
G(a, e);
|
|
4
4
|
}
|
|
@@ -94,7 +94,7 @@ function E(a) {
|
|
|
94
94
|
);
|
|
95
95
|
},
|
|
96
96
|
m(l, y) {
|
|
97
|
-
q(l, e, y), d(e, t), d(t, i), d(i, o), d(i, r), d(i, p), d(p, g), d(i, C), d(i, c), d(t, w), d(t, x), s.m(x, null), a[13](e), u || (I =
|
|
97
|
+
q(l, e, y), d(e, t), d(t, i), d(i, o), d(i, r), d(i, p), d(p, g), d(i, C), d(i, c), d(t, w), d(t, x), s.m(x, null), a[13](e), u || (I = Q(c, "click", R(
|
|
98
98
|
/*closeInfoPopup*/
|
|
99
99
|
a[6]
|
|
100
100
|
)), u = !0);
|
|
@@ -234,7 +234,7 @@ function re(a, e, t) {
|
|
|
234
234
|
window.removeEventListener("message", s);
|
|
235
235
|
}));
|
|
236
236
|
function y(n) {
|
|
237
|
-
|
|
237
|
+
J[n ? "unshift" : "push"](() => {
|
|
238
238
|
u = n, t(2, u);
|
|
239
239
|
});
|
|
240
240
|
}
|
|
@@ -243,9 +243,9 @@ function re(a, e, t) {
|
|
|
243
243
|
}, a.$$.update = () => {
|
|
244
244
|
a.$$.dirty & /*showpopup, lang*/
|
|
245
245
|
384 && o && p && l(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
246
|
-
516 && g && u &&
|
|
247
|
-
1028 && C && u &&
|
|
248
|
-
4100 && w && u &&
|
|
246
|
+
516 && g && u && X(u, g), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
247
|
+
1028 && C && u && Z(u, C), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
248
|
+
4100 && w && u && $(u, `${w}.Style`), a.$$.dirty & /*translationurl*/
|
|
249
249
|
2048 && c && x();
|
|
250
250
|
}, [
|
|
251
251
|
r,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as G, $ as A, S as B, i as Y, f as v, c as H, s as O, b as V, K as D, j as q, E as W, r as _, w as N, x as U, y as K,
|
|
1
|
+
import { a as G, $ as A, S as B, i as Y, f as v, c as H, s as O, b as V, K as D, j as q, E as W, r as _, w as N, x as U, y as K, e as h, g as z, t as M, h as m, k as d, l as Q, H as R, o as j, z as J, A as X, B as Z, C as $, F as ee } from "./PlayerAccountGamingLimits-CqmOKdVH.js";
|
|
2
2
|
function L(a, e) {
|
|
3
3
|
G(a, e);
|
|
4
4
|
}
|
|
@@ -94,7 +94,7 @@ function E(a) {
|
|
|
94
94
|
);
|
|
95
95
|
},
|
|
96
96
|
m(l, y) {
|
|
97
|
-
q(l, e, y), d(e, t), d(t, i), d(i, o), d(i, r), d(i, p), d(p, g), d(i, C), d(i, c), d(t, w), d(t, x), s.m(x, null), a[13](e), u || (I =
|
|
97
|
+
q(l, e, y), d(e, t), d(t, i), d(i, o), d(i, r), d(i, p), d(p, g), d(i, C), d(i, c), d(t, w), d(t, x), s.m(x, null), a[13](e), u || (I = Q(c, "click", R(
|
|
98
98
|
/*closeInfoPopup*/
|
|
99
99
|
a[6]
|
|
100
100
|
)), u = !0);
|
|
@@ -234,7 +234,7 @@ function re(a, e, t) {
|
|
|
234
234
|
window.removeEventListener("message", s);
|
|
235
235
|
}));
|
|
236
236
|
function y(n) {
|
|
237
|
-
|
|
237
|
+
J[n ? "unshift" : "push"](() => {
|
|
238
238
|
u = n, t(2, u);
|
|
239
239
|
});
|
|
240
240
|
}
|
|
@@ -243,9 +243,9 @@ function re(a, e, t) {
|
|
|
243
243
|
}, a.$$.update = () => {
|
|
244
244
|
a.$$.dirty & /*showpopup, lang*/
|
|
245
245
|
384 && o && p && l(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
246
|
-
516 && g && u &&
|
|
247
|
-
1028 && C && u &&
|
|
248
|
-
4100 && w && u &&
|
|
246
|
+
516 && g && u && X(u, g), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
247
|
+
1028 && C && u && Z(u, C), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
248
|
+
4100 && w && u && $(u, `${w}.Style`), a.$$.dirty & /*translationurl*/
|
|
249
249
|
2048 && c && x();
|
|
250
250
|
}, [
|
|
251
251
|
r,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as j, S as q, i as A, f, c as B, s as R, b as U, K as W, j as L, p as m, q as w, T as H, r as z, y as K,
|
|
1
|
+
import { R as j, S as q, i as A, f, c as B, s as R, b as U, K as W, j as L, p as m, q as w, T as H, r as z, y as K, d as N, e as _, h as y, k as S, u as O, m as P, n as T, O as V, U as k, V as F, z as v, A as G, B as I, C as J } from "./PlayerAccountGamingLimits-CqmOKdVH.js";
|
|
2
2
|
function C(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
@@ -16,7 +16,7 @@ function M(e) {
|
|
|
16
16
|
const d = (
|
|
17
17
|
/*#slots*/
|
|
18
18
|
e[9].default
|
|
19
|
-
), r =
|
|
19
|
+
), r = N(
|
|
20
20
|
d,
|
|
21
21
|
e,
|
|
22
22
|
/*$$scope*/
|
|
@@ -32,19 +32,19 @@ function M(e) {
|
|
|
32
32
|
},
|
|
33
33
|
p(a, u) {
|
|
34
34
|
e = a, r && r.p && (!o || u & /*$$scope*/
|
|
35
|
-
256) &&
|
|
35
|
+
256) && O(
|
|
36
36
|
r,
|
|
37
37
|
d,
|
|
38
38
|
e,
|
|
39
39
|
/*$$scope*/
|
|
40
40
|
e[8],
|
|
41
|
-
o ?
|
|
41
|
+
o ? T(
|
|
42
42
|
d,
|
|
43
43
|
/*$$scope*/
|
|
44
44
|
e[8],
|
|
45
45
|
u,
|
|
46
46
|
null
|
|
47
|
-
) :
|
|
47
|
+
) : P(
|
|
48
48
|
/*$$scope*/
|
|
49
49
|
e[8]
|
|
50
50
|
),
|
|
@@ -52,7 +52,7 @@ function M(e) {
|
|
|
52
52
|
);
|
|
53
53
|
},
|
|
54
54
|
i(a) {
|
|
55
|
-
o || (m(r, a), a &&
|
|
55
|
+
o || (m(r, a), a && V(() => {
|
|
56
56
|
o && (s || (s = k(n, C, { transitionDuration: (
|
|
57
57
|
/*duration*/
|
|
58
58
|
e[1]
|
|
@@ -85,7 +85,7 @@ function X(e) {
|
|
|
85
85
|
p(s, [o]) {
|
|
86
86
|
/*show*/
|
|
87
87
|
s[0] ? i ? (i.p(s, o), o & /*show*/
|
|
88
|
-
1 && m(i, 1)) : (i = M(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (
|
|
88
|
+
1 && m(i, 1)) : (i = M(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (F(), w(i, 1, 1, () => {
|
|
89
89
|
i = null;
|
|
90
90
|
}), H());
|
|
91
91
|
},
|
|
@@ -129,9 +129,9 @@ function Y(e, t, n) {
|
|
|
129
129
|
"show" in l && n(0, o = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, a = l.clientstylingurl), "mbsource" in l && n(6, u = l.mbsource), "showmodaleventname" in l && n(7, g = l.showmodaleventname), "$$scope" in l && n(8, s = l.$$scope);
|
|
130
130
|
}, e.$$.update = () => {
|
|
131
131
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
132
|
-
20 && r && c &&
|
|
133
|
-
36 && a && c &&
|
|
134
|
-
68 && u && c &&
|
|
132
|
+
20 && r && c && G(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
133
|
+
36 && a && c && I(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
134
|
+
68 && u && c && J(c, `${u}.Style`);
|
|
135
135
|
}, [
|
|
136
136
|
o,
|
|
137
137
|
d,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as j, S as q, i as A, f, c as B, s as R, b as U, K as W, j as L, p as m, q as w, T as H, r as z, y as K,
|
|
1
|
+
import { R as j, S as q, i as A, f, c as B, s as R, b as U, K as W, j as L, p as m, q as w, T as H, r as z, y as K, d as N, e as _, h as y, k as S, u as O, m as P, n as T, O as V, U as k, V as F, z as v, A as G, B as I, C as J } from "./PlayerAccountGamingLimits-DCaWtkE6.js";
|
|
2
2
|
function C(e, { delay: t = 0, duration: n = 400, easing: i = j } = {}) {
|
|
3
3
|
const s = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
@@ -16,7 +16,7 @@ function M(e) {
|
|
|
16
16
|
const d = (
|
|
17
17
|
/*#slots*/
|
|
18
18
|
e[9].default
|
|
19
|
-
), r =
|
|
19
|
+
), r = N(
|
|
20
20
|
d,
|
|
21
21
|
e,
|
|
22
22
|
/*$$scope*/
|
|
@@ -32,19 +32,19 @@ function M(e) {
|
|
|
32
32
|
},
|
|
33
33
|
p(a, u) {
|
|
34
34
|
e = a, r && r.p && (!o || u & /*$$scope*/
|
|
35
|
-
256) &&
|
|
35
|
+
256) && O(
|
|
36
36
|
r,
|
|
37
37
|
d,
|
|
38
38
|
e,
|
|
39
39
|
/*$$scope*/
|
|
40
40
|
e[8],
|
|
41
|
-
o ?
|
|
41
|
+
o ? T(
|
|
42
42
|
d,
|
|
43
43
|
/*$$scope*/
|
|
44
44
|
e[8],
|
|
45
45
|
u,
|
|
46
46
|
null
|
|
47
|
-
) :
|
|
47
|
+
) : P(
|
|
48
48
|
/*$$scope*/
|
|
49
49
|
e[8]
|
|
50
50
|
),
|
|
@@ -52,7 +52,7 @@ function M(e) {
|
|
|
52
52
|
);
|
|
53
53
|
},
|
|
54
54
|
i(a) {
|
|
55
|
-
o || (m(r, a), a &&
|
|
55
|
+
o || (m(r, a), a && V(() => {
|
|
56
56
|
o && (s || (s = k(n, C, { transitionDuration: (
|
|
57
57
|
/*duration*/
|
|
58
58
|
e[1]
|
|
@@ -85,7 +85,7 @@ function X(e) {
|
|
|
85
85
|
p(s, [o]) {
|
|
86
86
|
/*show*/
|
|
87
87
|
s[0] ? i ? (i.p(s, o), o & /*show*/
|
|
88
|
-
1 && m(i, 1)) : (i = M(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (
|
|
88
|
+
1 && m(i, 1)) : (i = M(s), i.c(), m(i, 1), i.m(t.parentNode, t)) : i && (F(), w(i, 1, 1, () => {
|
|
89
89
|
i = null;
|
|
90
90
|
}), H());
|
|
91
91
|
},
|
|
@@ -129,9 +129,9 @@ function Y(e, t, n) {
|
|
|
129
129
|
"show" in l && n(0, o = l.show), "duration" in l && n(1, d = l.duration), "clientstyling" in l && n(4, r = l.clientstyling), "clientstylingurl" in l && n(5, a = l.clientstylingurl), "mbsource" in l && n(6, u = l.mbsource), "showmodaleventname" in l && n(7, g = l.showmodaleventname), "$$scope" in l && n(8, s = l.$$scope);
|
|
130
130
|
}, e.$$.update = () => {
|
|
131
131
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
132
|
-
20 && r && c &&
|
|
133
|
-
36 && a && c &&
|
|
134
|
-
68 && u && c &&
|
|
132
|
+
20 && r && c && G(c, r), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
133
|
+
36 && a && c && I(c, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
134
|
+
68 && u && c && J(c, `${u}.Style`);
|
|
135
135
|
}, [
|
|
136
136
|
o,
|
|
137
137
|
d,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountGamingLimits-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./PlayerAccountGamingLimits-T5-mSITY.cjs");function g(n,{delay:e=0,duration:i=400,easing:s=t.identity}={}){const l=+getComputedStyle(n).opacity;return{delay:e,duration:i,easing:s,css:r=>`opacity: ${r*l}`}}function v(n){t.append_styles(n,"svelte-126fglp","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0}")}function y(n){let e,i,s,l,r;const f=n[9].default,u=t.create_slot(f,n,n[8],null);return{c(){e=t.element("div"),i=t.element("div"),s=t.element("div"),u&&u.c(),t.attr(s,"class","ModalContainer"),t.attr(i,"class","ModalWindow"),t.attr(i,"id","Modal")},m(a,c){t.insert(a,e,c),t.append(e,i),t.append(i,s),u&&u.m(s,null),n[10](i),n[11](e),r=!0},p(a,c){n=a,u&&u.p&&(!r||c&256)&&t.update_slot_base(u,f,n,n[8],r?t.get_slot_changes(f,n[8],c,null):t.get_all_dirty_from_scope(n[8]),null)},i(a){r||(t.transition_in(u,a),a&&t.add_render_callback(()=>{r&&(l||(l=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!0)),l.run(1))}),r=!0)},o(a){t.transition_out(u,a),a&&(l||(l=t.create_bidirectional_transition(i,g,{transitionDuration:n[1]},!1)),l.run(0)),r=!1},d(a){a&&t.detach(e),u&&u.d(a),n[10](null),a&&l&&l.end(),n[11](null)}}}function M(n){let e,i,s=n[0]&&y(n);return{c(){s&&s.c(),e=t.empty()},m(l,r){s&&s.m(l,r),t.insert(l,e,r),i=!0},p(l,[r]){l[0]?s?(s.p(l,r),r&1&&t.transition_in(s,1)):(s=y(l),s.c(),t.transition_in(s,1),s.m(e.parentNode,e)):s&&(t.group_outros(),t.transition_out(s,1,1,()=>{s=null}),t.check_outros())},i(l){i||(t.transition_in(s),i=!0)},o(l){t.transition_out(s),i=!1},d(l){l&&t.detach(e),s&&s.d(l)}}}function k(n,e,i){let{$$slots:s={},$$scope:l}=e,{show:r=!1}=e,{duration:f=350}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{mbsource:c}=e,{showmodaleventname:m="ShowLimitsConfirmationModal"}=e,d,_;const h=o=>{switch(o.data.type){case"ModalClosed":i(0,r=!1);break;case m:i(0,r=!0),window.postMessage({type:"DisableScroll"},window.location.href);break}};t.onMount(()=>(window.addEventListener("message",h,!1),()=>{window.removeEventListener("message",h)}));function w(o){t.binding_callbacks[o?"unshift":"push"](()=>{_=o,i(3,_)})}function S(o){t.binding_callbacks[o?"unshift":"push"](()=>{d=o,i(2,d)})}return n.$$set=o=>{"show"in o&&i(0,r=o.show),"duration"in o&&i(1,f=o.duration),"clientstyling"in o&&i(4,u=o.clientstyling),"clientstylingurl"in o&&i(5,a=o.clientstylingurl),"mbsource"in o&&i(6,c=o.mbsource),"showmodaleventname"in o&&i(7,m=o.showmodaleventname),"$$scope"in o&&i(8,l=o.$$scope)},n.$$.update=()=>{n.$$.dirty&20&&u&&d&&t.setClientStyling(d,u),n.$$.dirty&36&&a&&d&&t.setClientStylingURL(d,a),n.$$.dirty&68&&c&&d&&t.setStreamStyling(d,`${c}.Style`)},[r,f,d,_,u,a,c,m,l,s,w,S]}class b extends t.SvelteComponent{constructor(e){super(),t.init(this,e,k,M,t.safe_not_equal,{show:0,duration:1,clientstyling:4,clientstylingurl:5,mbsource:6,showmodaleventname:7},v)}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),t.flush()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),t.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get showmodaleventname(){return this.$$.ctx[7]}set showmodaleventname(e){this.$$set({showmodaleventname:e}),t.flush()}}t.create_custom_element(b,{show:{type:"Boolean"},duration:{},clientstyling:{},clientstylingurl:{},mbsource:{},showmodaleventname:{}},["default"],[],!0);exports.default=b;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...i){try{return e.apply(this,i)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountGamingLimits-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...i){try{return e.apply(this,i)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountGamingLimits-T5-mSITY.cjs")).then(e=>e.PlayerAccountGamingLimits_ce).then(({default:e})=>{!customElements.get("player-account-gaming-limits")&&customElements.define("player-account-gaming-limits",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimits-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountGamingLimits-CqmOKdVH.js").then((e) => e.W).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("player-account-gaming-limits") && customElements.define("player-account-gaming-limits", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|