@everymatrix/player-account-gaming-limits-info-card 1.86.2 → 1.86.4
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/{PlayerAccountGamingLimitsConfirmationModal-Csrimoqp.js → PlayerAccountGamingLimitsConfirmationModal-C4Dz27ih.js} +822 -843
- package/components/PlayerAccountGamingLimitsConfirmationModal-CWWYAWLE.cjs +21 -0
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CPjx_DH_.js → PlayerAccountGamingLimitsConfirmationModal-SvPCyUaX.js} +837 -858
- package/components/PlayerAccountGamingLimitsGroupEdit-BPDeFoM9.cjs +1 -0
- package/components/{PlayerAccountGamingLimitsGroupEdit-DSun0_Zz.js → PlayerAccountGamingLimitsGroupEdit-BfvzTuTq.js} +56 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-Ca1m5XU8.js → PlayerAccountGamingLimitsGroupEdit-M2IoKtNL.js} +56 -54
- package/components/{PlayerAccountGamingLimitsInfoCard-DzK7V5Rg.js → PlayerAccountGamingLimitsInfoCard-4YX3-aGI.js} +121 -121
- package/components/{PlayerAccountGamingLimitsInfoCard-C88f1sX4.js → PlayerAccountGamingLimitsInfoCard-ByFShT-D.js} +122 -122
- package/components/{PlayerAccountGamingLimitsInfoCard-BQDa_Mg_.cjs → PlayerAccountGamingLimitsInfoCard-DWA74Hy9.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DHSJ1hpq.js → PlayerAccountGamingLimitsPopup-CzCXVil-.js} +27 -27
- package/components/{PlayerAccountGamingLimitsPopup-Ce55cV9R.js → PlayerAccountGamingLimitsPopup-D5t58Dh9.js} +32 -32
- package/components/{PlayerAccountGamingLimitsPopup-4zxoW8_v.cjs → PlayerAccountGamingLimitsPopup-DRb7Bh4V.cjs} +1 -1
- package/components/{PlayerAccountModal-DJEDpoZF.cjs → PlayerAccountModal-DeMC4pd5.cjs} +1 -1
- package/components/{PlayerAccountModal-0pqyx-hh.js → PlayerAccountModal-Dq5DG-1T.js} +28 -28
- package/components/{PlayerAccountModal-AxHHIdPq.js → PlayerAccountModal-G6YE_K9q.js} +28 -28
- package/es2015/player-account-gaming-limits-info-card.cjs +1 -1
- package/es2015/player-account-gaming-limits-info-card.js +1 -1
- package/esnext/player-account-gaming-limits-info-card.js +1 -1
- package/package.json +1 -1
- package/components/PlayerAccountGamingLimitsConfirmationModal-RcOa0NNg.cjs +0 -21
- package/components/PlayerAccountGamingLimitsGroupEdit-Cqs__n7J.cjs +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./PlayerAccountGamingLimitsConfirmationModal-RcOa0NNg.cjs"),F=require("./PlayerAccountGamingLimitsGroupEdit-Cqs__n7J.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-Cqs__n7J.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("./PlayerAccountGamingLimitsConfirmationModal-CWWYAWLE.cjs"),F=require("./PlayerAccountGamingLimitsGroupEdit-BPDeFoM9.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-BPDeFoM9.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,6 +1,6 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as G, $ as A, S as B, i as Y, f as y, c as D, s as O, b as V, A as H, k as q, o as W, q as _, u as N, v as U, w as K, x as Q, e as h, d as M, t as z, h as m, l as d, m as R, p as J, n as F, D as X, E as Z, F as $, K as ee } from "./PlayerAccountGamingLimitsConfirmationModal-C4Dz27ih.js";
|
|
2
2
|
function L(a, e) {
|
|
3
|
-
|
|
3
|
+
G(a, e);
|
|
4
4
|
}
|
|
5
5
|
function te(a) {
|
|
6
6
|
A.set(a);
|
|
@@ -70,7 +70,7 @@ const S = {
|
|
|
70
70
|
function ae(a) {
|
|
71
71
|
V(a, "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)}');
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function E(a) {
|
|
74
74
|
let e, t, i, o, r, p, b = (
|
|
75
75
|
/*$_*/
|
|
76
76
|
a[4]("name") + ""
|
|
@@ -84,7 +84,7 @@ function G(a) {
|
|
|
84
84
|
let k = T(a), s = k(a);
|
|
85
85
|
return {
|
|
86
86
|
c() {
|
|
87
|
-
e = h("section"), t = h("div"), i = h("div"), o = h("div"), o.textContent = "i", r = M(), p = h("div"), g =
|
|
87
|
+
e = h("section"), t = h("div"), i = h("div"), o = h("div"), o.textContent = "i", r = M(), p = h("div"), g = z(b), C = M(), c = h("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>', w = M(), x = h("div"), s.c(), m(o, "class", "InfoCardPopupIcon"), m(p, "class", "InfoCardPopupTitle"), m(c, "class", "InfoCardPopupCloseButton"), m(i, "class", "InfoCardPopupHeader"), m(x, "class", "InfoCardPopupContentArea"), m(t, "class", f = "InfoCardPopupWrapper " + /*isMobile*/
|
|
88
88
|
(a[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
89
89
|
(a[0] ? "InfoCardPopupLimitChanged" : "")), m(
|
|
90
90
|
e,
|
|
@@ -94,7 +94,7 @@ function G(a) {
|
|
|
94
94
|
);
|
|
95
95
|
},
|
|
96
96
|
m(l, v) {
|
|
97
|
-
|
|
97
|
+
q(l, e, v), 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 = R(c, "click", J(
|
|
98
98
|
/*closeInfoPopup*/
|
|
99
99
|
a[6]
|
|
100
100
|
)), u = !0);
|
|
@@ -102,13 +102,13 @@ function G(a) {
|
|
|
102
102
|
p(l, v) {
|
|
103
103
|
v & /*$_*/
|
|
104
104
|
16 && b !== (b = /*$_*/
|
|
105
|
-
l[4]("name") + "") &&
|
|
105
|
+
l[4]("name") + "") && F(g, b), k === (k = T(l)) && s ? s.p(l, v) : (s.d(1), s = k(l), s && (s.c(), s.m(x, null))), v & /*iteminfoamount*/
|
|
106
106
|
1 && f !== (f = "InfoCardPopupWrapper " + /*isMobile*/
|
|
107
107
|
(l[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
108
108
|
(l[0] ? "InfoCardPopupLimitChanged" : "")) && m(t, "class", f);
|
|
109
109
|
},
|
|
110
110
|
d(l) {
|
|
111
|
-
l &&
|
|
111
|
+
l && _(e), s.d(), a[13](null), u = !1, I();
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
}
|
|
@@ -119,18 +119,18 @@ function ie(a) {
|
|
|
119
119
|
), i;
|
|
120
120
|
return {
|
|
121
121
|
c() {
|
|
122
|
-
e = h("p"), i =
|
|
122
|
+
e = h("p"), i = z(t), m(e, "class", "InfoCardPopupContent");
|
|
123
123
|
},
|
|
124
124
|
m(o, r) {
|
|
125
|
-
|
|
125
|
+
q(o, e, r), d(e, i);
|
|
126
126
|
},
|
|
127
127
|
p(o, r) {
|
|
128
128
|
r & /*$_*/
|
|
129
129
|
16 && t !== (t = /*$_*/
|
|
130
|
-
o[4]("defaultText") + "") &&
|
|
130
|
+
o[4]("defaultText") + "") && F(i, t);
|
|
131
131
|
},
|
|
132
132
|
d(o) {
|
|
133
|
-
o &&
|
|
133
|
+
o && _(e);
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
136
|
}
|
|
@@ -152,10 +152,10 @@ function oe(a) {
|
|
|
152
152
|
), i;
|
|
153
153
|
return {
|
|
154
154
|
c() {
|
|
155
|
-
e = h("p"), i =
|
|
155
|
+
e = h("p"), i = z(t), m(e, "class", "InfoCardPopupContent");
|
|
156
156
|
},
|
|
157
157
|
m(o, r) {
|
|
158
|
-
|
|
158
|
+
q(o, e, r), d(e, i);
|
|
159
159
|
},
|
|
160
160
|
p(o, r) {
|
|
161
161
|
r & /*$_, iteminfoamount, currency*/
|
|
@@ -171,44 +171,44 @@ function oe(a) {
|
|
|
171
171
|
o[1]
|
|
172
172
|
)
|
|
173
173
|
}
|
|
174
|
-
}) + "") &&
|
|
174
|
+
}) + "") && F(i, t);
|
|
175
175
|
},
|
|
176
176
|
d(o) {
|
|
177
|
-
o &&
|
|
177
|
+
o && _(e);
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
181
|
function ne(a) {
|
|
182
182
|
let e, t = (
|
|
183
183
|
/*showPopup*/
|
|
184
|
-
a[3] &&
|
|
184
|
+
a[3] && E(a)
|
|
185
185
|
);
|
|
186
186
|
return {
|
|
187
187
|
c() {
|
|
188
|
-
t && t.c(), e =
|
|
188
|
+
t && t.c(), e = H();
|
|
189
189
|
},
|
|
190
190
|
m(i, o) {
|
|
191
|
-
t && t.m(i, o),
|
|
191
|
+
t && t.m(i, o), q(i, e, o);
|
|
192
192
|
},
|
|
193
193
|
p(i, [o]) {
|
|
194
194
|
/*showPopup*/
|
|
195
|
-
i[3] ? t ? t.p(i, o) : (t =
|
|
195
|
+
i[3] ? t ? t.p(i, o) : (t = E(i), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
196
196
|
},
|
|
197
197
|
i: W,
|
|
198
198
|
o: W,
|
|
199
199
|
d(i) {
|
|
200
|
-
i &&
|
|
200
|
+
i && _(e), t && t.d(i);
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
204
|
function re(a, e, t) {
|
|
205
205
|
let i;
|
|
206
|
-
N(a,
|
|
206
|
+
N(a, ee, (n) => t(4, i = n));
|
|
207
207
|
let { showpopup: o = "" } = e, { iteminfoamount: r = "" } = e, { lang: p = "en" } = e, { currency: b = "USD" } = e, { clientstyling: g = "" } = e, { clientstylingurl: C = "" } = e, { translationurl: c = "" } = e, { mbsource: w } = e;
|
|
208
208
|
const x = () => {
|
|
209
209
|
fetch(c).then((P) => P.json()).then((P) => {
|
|
210
|
-
Object.keys(P).forEach((
|
|
211
|
-
L(
|
|
210
|
+
Object.keys(P).forEach((j) => {
|
|
211
|
+
L(j, P[j]);
|
|
212
212
|
});
|
|
213
213
|
}).catch((P) => {
|
|
214
214
|
console.log(P);
|
|
@@ -234,7 +234,7 @@ function re(a, e, t) {
|
|
|
234
234
|
window.removeEventListener("message", s);
|
|
235
235
|
}));
|
|
236
236
|
function v(n) {
|
|
237
|
-
|
|
237
|
+
X[n ? "unshift" : "push"](() => {
|
|
238
238
|
u = n, t(2, u);
|
|
239
239
|
});
|
|
240
240
|
}
|
|
@@ -245,7 +245,7 @@ function re(a, e, t) {
|
|
|
245
245
|
384 && o && p && l(), a.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
246
246
|
516 && g && u && Z(u, g), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
247
247
|
1028 && C && u && $(u, C), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
248
|
-
4100 && w && u &&
|
|
248
|
+
4100 && w && u && Q(u, `${w}.Style`), a.$$.dirty & /*translationurl*/
|
|
249
249
|
2048 && c && x();
|
|
250
250
|
}, [
|
|
251
251
|
r,
|
|
@@ -271,7 +271,7 @@ class le extends B {
|
|
|
271
271
|
e,
|
|
272
272
|
re,
|
|
273
273
|
ne,
|
|
274
|
-
|
|
274
|
+
O,
|
|
275
275
|
{
|
|
276
276
|
showpopup: 7,
|
|
277
277
|
iteminfoamount: 0,
|
|
@@ -334,7 +334,7 @@ class le extends B {
|
|
|
334
334
|
this.$$set({ mbsource: e }), y();
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
|
|
337
|
+
D(le, { showpopup: {}, iteminfoamount: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
338
338
|
export {
|
|
339
339
|
le as default
|
|
340
340
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { a as G, $ as A, S as B, i as Y, f as y, c as D, s as O, b as V, A as H, k as q, o as W, q as _, u as N, v as U, w as K, x as Q, e as h, d as M, t as z, h as m, l as d, m as R, p as J, n as F, D as X, E as Z, F as $, K as ee } from "./PlayerAccountGamingLimitsConfirmationModal-SvPCyUaX.js";
|
|
2
2
|
function L(a, e) {
|
|
3
|
-
|
|
3
|
+
G(a, e);
|
|
4
4
|
}
|
|
5
5
|
function te(a) {
|
|
6
6
|
A.set(a);
|
|
@@ -68,9 +68,9 @@ const S = {
|
|
|
68
68
|
}
|
|
69
69
|
};
|
|
70
70
|
function ae(a) {
|
|
71
|
-
|
|
71
|
+
V(a, "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)}');
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function E(a) {
|
|
74
74
|
let e, t, i, o, r, p, b = (
|
|
75
75
|
/*$_*/
|
|
76
76
|
a[4]("name") + ""
|
|
@@ -84,7 +84,7 @@ function G(a) {
|
|
|
84
84
|
let k = T(a), s = k(a);
|
|
85
85
|
return {
|
|
86
86
|
c() {
|
|
87
|
-
e = h("section"), t = h("div"), i = h("div"), o = h("div"), o.textContent = "i", r = M(), p = h("div"), g =
|
|
87
|
+
e = h("section"), t = h("div"), i = h("div"), o = h("div"), o.textContent = "i", r = M(), p = h("div"), g = z(b), C = M(), c = h("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>', w = M(), x = h("div"), s.c(), m(o, "class", "InfoCardPopupIcon"), m(p, "class", "InfoCardPopupTitle"), m(c, "class", "InfoCardPopupCloseButton"), m(i, "class", "InfoCardPopupHeader"), m(x, "class", "InfoCardPopupContentArea"), m(t, "class", f = "InfoCardPopupWrapper " + /*isMobile*/
|
|
88
88
|
(a[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
89
89
|
(a[0] ? "InfoCardPopupLimitChanged" : "")), m(
|
|
90
90
|
e,
|
|
@@ -94,7 +94,7 @@ function G(a) {
|
|
|
94
94
|
);
|
|
95
95
|
},
|
|
96
96
|
m(l, v) {
|
|
97
|
-
|
|
97
|
+
q(l, e, v), 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 = R(c, "click", J(
|
|
98
98
|
/*closeInfoPopup*/
|
|
99
99
|
a[6]
|
|
100
100
|
)), u = !0);
|
|
@@ -102,13 +102,13 @@ function G(a) {
|
|
|
102
102
|
p(l, v) {
|
|
103
103
|
v & /*$_*/
|
|
104
104
|
16 && b !== (b = /*$_*/
|
|
105
|
-
l[4]("name") + "") &&
|
|
105
|
+
l[4]("name") + "") && F(g, b), k === (k = T(l)) && s ? s.p(l, v) : (s.d(1), s = k(l), s && (s.c(), s.m(x, null))), v & /*iteminfoamount*/
|
|
106
106
|
1 && f !== (f = "InfoCardPopupWrapper " + /*isMobile*/
|
|
107
107
|
(l[5] ? "InfoCardPopupMobileWrapper" : "") + " " + /*iteminfoamount*/
|
|
108
108
|
(l[0] ? "InfoCardPopupLimitChanged" : "")) && m(t, "class", f);
|
|
109
109
|
},
|
|
110
110
|
d(l) {
|
|
111
|
-
l &&
|
|
111
|
+
l && _(e), s.d(), a[13](null), u = !1, I();
|
|
112
112
|
}
|
|
113
113
|
};
|
|
114
114
|
}
|
|
@@ -119,18 +119,18 @@ function ie(a) {
|
|
|
119
119
|
), i;
|
|
120
120
|
return {
|
|
121
121
|
c() {
|
|
122
|
-
e = h("p"), i =
|
|
122
|
+
e = h("p"), i = z(t), m(e, "class", "InfoCardPopupContent");
|
|
123
123
|
},
|
|
124
124
|
m(o, r) {
|
|
125
|
-
|
|
125
|
+
q(o, e, r), d(e, i);
|
|
126
126
|
},
|
|
127
127
|
p(o, r) {
|
|
128
128
|
r & /*$_*/
|
|
129
129
|
16 && t !== (t = /*$_*/
|
|
130
|
-
o[4]("defaultText") + "") &&
|
|
130
|
+
o[4]("defaultText") + "") && F(i, t);
|
|
131
131
|
},
|
|
132
132
|
d(o) {
|
|
133
|
-
o &&
|
|
133
|
+
o && _(e);
|
|
134
134
|
}
|
|
135
135
|
};
|
|
136
136
|
}
|
|
@@ -152,10 +152,10 @@ function oe(a) {
|
|
|
152
152
|
), i;
|
|
153
153
|
return {
|
|
154
154
|
c() {
|
|
155
|
-
e = h("p"), i =
|
|
155
|
+
e = h("p"), i = z(t), m(e, "class", "InfoCardPopupContent");
|
|
156
156
|
},
|
|
157
157
|
m(o, r) {
|
|
158
|
-
|
|
158
|
+
q(o, e, r), d(e, i);
|
|
159
159
|
},
|
|
160
160
|
p(o, r) {
|
|
161
161
|
r & /*$_, iteminfoamount, currency*/
|
|
@@ -171,44 +171,44 @@ function oe(a) {
|
|
|
171
171
|
o[1]
|
|
172
172
|
)
|
|
173
173
|
}
|
|
174
|
-
}) + "") &&
|
|
174
|
+
}) + "") && F(i, t);
|
|
175
175
|
},
|
|
176
176
|
d(o) {
|
|
177
|
-
o &&
|
|
177
|
+
o && _(e);
|
|
178
178
|
}
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
181
|
function ne(a) {
|
|
182
182
|
let e, t = (
|
|
183
183
|
/*showPopup*/
|
|
184
|
-
a[3] &&
|
|
184
|
+
a[3] && E(a)
|
|
185
185
|
);
|
|
186
186
|
return {
|
|
187
187
|
c() {
|
|
188
|
-
t && t.c(), e =
|
|
188
|
+
t && t.c(), e = H();
|
|
189
189
|
},
|
|
190
190
|
m(i, o) {
|
|
191
|
-
t && t.m(i, o),
|
|
191
|
+
t && t.m(i, o), q(i, e, o);
|
|
192
192
|
},
|
|
193
193
|
p(i, [o]) {
|
|
194
194
|
/*showPopup*/
|
|
195
|
-
i[3] ? t ? t.p(i, o) : (t =
|
|
195
|
+
i[3] ? t ? t.p(i, o) : (t = E(i), t.c(), t.m(e.parentNode, e)) : t && (t.d(1), t = null);
|
|
196
196
|
},
|
|
197
197
|
i: W,
|
|
198
198
|
o: W,
|
|
199
199
|
d(i) {
|
|
200
|
-
i &&
|
|
200
|
+
i && _(e), t && t.d(i);
|
|
201
201
|
}
|
|
202
202
|
};
|
|
203
203
|
}
|
|
204
204
|
function re(a, e, t) {
|
|
205
205
|
let i;
|
|
206
|
-
|
|
206
|
+
N(a, ee, (n) => t(4, i = n));
|
|
207
207
|
let { showpopup: o = "" } = e, { iteminfoamount: r = "" } = e, { lang: p = "en" } = e, { currency: b = "USD" } = e, { clientstyling: g = "" } = e, { clientstylingurl: C = "" } = e, { translationurl: c = "" } = e, { mbsource: w } = e;
|
|
208
208
|
const x = () => {
|
|
209
209
|
fetch(c).then((P) => P.json()).then((P) => {
|
|
210
|
-
Object.keys(P).forEach((
|
|
211
|
-
L(
|
|
210
|
+
Object.keys(P).forEach((j) => {
|
|
211
|
+
L(j, P[j]);
|
|
212
212
|
});
|
|
213
213
|
}).catch((P) => {
|
|
214
214
|
console.log(P);
|
|
@@ -217,7 +217,7 @@ function re(a, e, t) {
|
|
|
217
217
|
Object.keys(S).forEach((n) => {
|
|
218
218
|
L(n, S[n]);
|
|
219
219
|
});
|
|
220
|
-
let f = !1, u, I = window.navigator.userAgent, T =
|
|
220
|
+
let f = !1, u, I = window.navigator.userAgent, T = U(I) !== "PC";
|
|
221
221
|
const k = () => {
|
|
222
222
|
t(3, f = !1), window.postMessage(
|
|
223
223
|
{
|
|
@@ -230,11 +230,11 @@ function re(a, e, t) {
|
|
|
230
230
|
}, l = () => {
|
|
231
231
|
te(p), r < 0 && t(0, r = "0"), t(3, f = o);
|
|
232
232
|
};
|
|
233
|
-
|
|
233
|
+
K(() => (window.addEventListener("message", s, !1), () => {
|
|
234
234
|
window.removeEventListener("message", s);
|
|
235
235
|
}));
|
|
236
236
|
function v(n) {
|
|
237
|
-
|
|
237
|
+
X[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 && Z(u, g), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
247
|
+
1028 && C && u && $(u, C), a.$$.dirty & /*mbsource, customStylingContainer*/
|
|
248
|
+
4100 && w && u && Q(u, `${w}.Style`), a.$$.dirty & /*translationurl*/
|
|
249
249
|
2048 && c && x();
|
|
250
250
|
}, [
|
|
251
251
|
r,
|
|
@@ -271,7 +271,7 @@ class le extends B {
|
|
|
271
271
|
e,
|
|
272
272
|
re,
|
|
273
273
|
ne,
|
|
274
|
-
|
|
274
|
+
O,
|
|
275
275
|
{
|
|
276
276
|
showpopup: 7,
|
|
277
277
|
iteminfoamount: 0,
|
|
@@ -334,7 +334,7 @@ class le extends B {
|
|
|
334
334
|
this.$$set({ mbsource: e }), y();
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
|
|
337
|
+
D(le, { showpopup: {}, iteminfoamount: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
338
338
|
export {
|
|
339
339
|
le as default
|
|
340
340
|
};
|