@everymatrix/player-account-controller 1.69.2 → 1.69.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/{PlayerAccountController-C1jhz8iz.js → PlayerAccountController--JrOBSq_.js} +13 -13
- package/components/{PlayerAccountController-DQEf6TPh.cjs → PlayerAccountController-B80HzE7V.cjs} +1 -1
- package/components/{PlayerAccountController-DKzAloCz.js → PlayerAccountController-xYLqRf9I.js} +13 -13
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CrXrmOOR.js → PlayerAccountGamingLimitsPage2Gm16-BAQqtUjc.js} +920 -937
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DGEsvVnD.js → PlayerAccountGamingLimitsPage2Gm16-Cov3S01u.js} +998 -1015
- package/components/PlayerAccountGamingLimitsPage2Gm16-Dpo-wqo-.cjs +26 -0
- package/components/{PlayerAccountGamingLimitsWrapper2-C3JxPyTO.cjs → PlayerAccountGamingLimitsWrapper2-B0QUbGaJ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-QK_u6gkN.js → PlayerAccountGamingLimitsWrapper2-CeTGUdpp.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CV9Ppspb.js → PlayerAccountGamingLimitsWrapper2-LAdy0FnH.js} +1 -1
- package/components/{PlayerAccountMenu-C1a12Lr9.js → PlayerAccountMenu-T7u8nYfI.js} +1 -1
- package/components/{PlayerAccountMenu-Bc1xqfD5.cjs → PlayerAccountMenu-_Le7yvP5.cjs} +1 -1
- package/components/{PlayerAccountMenu-BfzPa4Td.js → PlayerAccountMenu-_Qnpkznr.js} +1 -1
- package/components/{PlayerAccountNotifications-CtpF-_nl.js → PlayerAccountNotifications-B0Nsdovh.js} +1 -1
- package/components/{PlayerAccountNotifications-DhH9cLSi.js → PlayerAccountNotifications-BeabE333.js} +1 -1
- package/components/{PlayerAccountNotifications-D8r2XtCv.cjs → PlayerAccountNotifications-aQgcZXcD.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-cB-XKLa3.cjs → PlayerAccountProductRestriction-BhbpuwK2.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-DXk8fZVl.js → PlayerAccountProductRestriction-Cni9TrLQ.js} +1 -1
- package/components/{PlayerAccountProductRestriction-BqqmqIFv.js → PlayerAccountProductRestriction-D9wWVxJe.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-BwP1k1J1.js → PlayerAccountSelfExclusion-BE5kkj6R.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-DnD8S8cP.cjs → PlayerAccountSelfExclusion-BVHuLCUw.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-C7osAw2S.js → PlayerAccountSelfExclusion-gcKoycDE.js} +2 -2
- package/components/{PlayerAccountTimeout-C7stuQYF.cjs → PlayerAccountTimeout-BRO2Pie7.cjs} +1 -1
- package/components/{PlayerAccountTimeout-C3t3hMBv.js → PlayerAccountTimeout-DLQCRPuQ.js} +3 -3
- package/components/{PlayerAccountTimeout-DPijcv-j.js → PlayerAccountTimeout-DsgDk4X9.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-Bq1HR2Zs.js → PlayerAccountTransactionsHistory-ByeuNJMG.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-BdDeZqv4.js → PlayerAccountTransactionsHistory-Cugd5asb.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-CCjDcfUg.cjs → PlayerAccountTransactionsHistory-VRUYDVel.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CrOQdlJB.js → PlayerActiveBonuses-CaQNGq0m.js} +1 -1
- package/components/{PlayerActiveBonuses-CSDz-kWg.js → PlayerActiveBonuses-DX872Zcz.js} +1 -1
- package/components/{PlayerActiveBonuses-wlP0A00N.cjs → PlayerActiveBonuses-Dpef1XJD.cjs} +1 -1
- package/components/PlayerBonusCard-7dIqFpfg.cjs +1 -0
- package/components/{PlayerBonusCard-Ca4GQeMu.js → PlayerBonusCard-Cu5bJlh_.js} +13 -13
- package/components/{PlayerBonusCard-qHJ-z21x.js → PlayerBonusCard-ZY8S04oT.js} +13 -13
- package/components/{PlayerBonusHistory-Cwyo5GX1.cjs → PlayerBonusHistory-B_NtRlel.cjs} +1 -1
- package/components/{PlayerBonusHistory-DTc1ryET.js → PlayerBonusHistory-D5kaeBgT.js} +2 -2
- package/components/{PlayerBonusHistory-CutjzsY9.js → PlayerBonusHistory-DAxhxuH7.js} +2 -2
- package/components/{PlayerGamingHistory-hRGbv9h5.js → PlayerGamingHistory-Drs9zoC4.js} +1 -1
- package/components/{PlayerGamingHistory-BarHy4b8.js → PlayerGamingHistory-Dx6Uj5DB.js} +1 -1
- package/components/{PlayerGamingHistory-CqcOOClH.cjs → PlayerGamingHistory-ewKgb2VY.cjs} +1 -1
- package/components/{PlayerProfileInfo-BLq56d0K.js → PlayerProfileInfo-C8q-cLYa.js} +241 -242
- package/components/{PlayerProfileInfo-B_Ljin_V.cjs → PlayerProfileInfo-DFw4ourA.cjs} +2 -2
- package/components/{PlayerProfileInfo-CNMMJLIu.js → PlayerProfileInfo-bwbHpI6M.js} +233 -234
- package/components/{PlayerRealityCheck-Ct9eoa4T.js → PlayerRealityCheck-BGNjgzIq.js} +1 -1
- package/components/{PlayerRealityCheck-4r0QyLS4.js → PlayerRealityCheck-C2w5S2fe.js} +1 -1
- package/components/{PlayerRealityCheck-BjYYGdSA.cjs → PlayerRealityCheck-Dr_ZpTwE.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_14-GLjTTxmH.js → checkbox-group-input_14-1DrSNfhR.js} +8 -25
- package/stencil/{checkbox-group-input_14-BFSnZagr.js → checkbox-group-input_14-DEF4gbhe.js} +8 -25
- package/stencil/{checkbox-group-input_14-uRy46KSq.cjs → checkbox-group-input_14-DlzSTPgW.cjs} +112 -130
- package/stencil/{index-13661b98-D2nlyS8e.js → index-13661b98--TO2PAgo.js} +1 -1
- package/stencil/{index-13661b98-DIbjgfzn.js → index-13661b98-CJJ3jEr6.js} +1 -1
- package/stencil/{index-13661b98-4yXy6CPB.cjs → index-13661b98-hNMefbje.cjs} +1 -1
- package/stencil/{index-b2193545-BabAkr0e.cjs → index-b2193545-DQUvHUpa.cjs} +1 -1
- package/stencil/{index-b2193545-BiOpH9En.js → index-b2193545-DoYU_tL8.js} +1 -1
- package/stencil/{index-b2193545-Ce-13pAo.js → index-b2193545-_I2wisuY.js} +1 -1
- package/stencil/pam-change-password-CFLI88yT.cjs +1 -0
- package/stencil/pam-change-password-CQy2ppuo.js +25 -0
- package/stencil/pam-change-password-CSaz6dir.js +7 -0
- package/stencil/{pam-change-password-f4a1e7e7-C9NkOxiM.js → pam-change-password-f4a1e7e7-CHxgdWbX.js} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-D-bYL6gs.cjs → pam-change-password-f4a1e7e7-DAwIK-A4.cjs} +1 -1
- package/stencil/{pam-change-password-f4a1e7e7-BWQCkDNb.js → pam-change-password-f4a1e7e7-DP4pNc5Y.js} +1 -1
- package/stencil/ui-skeleton-C_FDz0NJ.js +29 -0
- package/stencil/ui-skeleton-GEqIXVxo.cjs +1 -0
- package/stencil/{ui-skeleton-161699c3-D0o9EmS0.js → ui-skeleton-ae35c6f2-BreM325l.js} +12 -29
- package/stencil/ui-skeleton-ae35c6f2-CeNpgiKf.cjs +55 -0
- package/stencil/{ui-skeleton-161699c3-B6lE-0Wi.js → ui-skeleton-ae35c6f2-e6Wte4qi.js} +12 -29
- package/stencil/ui-skeleton-mkMdvWYI.js +11 -0
- package/components/PlayerAccountGamingLimitsPage2Gm16-B8fTk_-o.cjs +0 -26
- package/components/PlayerBonusCard-BBQEU4zs.cjs +0 -1
- package/stencil/pam-change-password-BJkxTpcZ.js +0 -25
- package/stencil/pam-change-password-DBQlR2TU.cjs +0 -1
- package/stencil/pam-change-password-iLjG4ryi.js +0 -7
- package/stencil/ui-skeleton-161699c3-B01ZhhJT.cjs +0 -73
- package/stencil/ui-skeleton-B3VBr2Bz.js +0 -29
- package/stencil/ui-skeleton-BENu4NGl.js +0 -11
- package/stencil/ui-skeleton-DQD9osiT.cjs +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as ae, $ as ne, S as oe, i as re, s as le, f as O, b as se, n as I, d as T, g as H, j as f, o as p, p as ce, q as ue, u as de, w as pe, O as Y, P as te, h as r, k as F, e as b, c as D, l as G, m as A, r as he, v as N, a6 as fe, V as me, x as ye, y as ge, z as ke, A as ve, B as be } from "./GeneralLogout-CgxHUYZx.js";
|
|
2
|
-
import "../stencil/ui-skeleton-
|
|
2
|
+
import "../stencil/ui-skeleton-mkMdvWYI.js";
|
|
3
3
|
function J(i, e) {
|
|
4
4
|
ae(i, e);
|
|
5
5
|
}
|
|
@@ -15,7 +15,7 @@ var J = (i, e, t) => new Promise((n, a) => {
|
|
|
15
15
|
k((t = t.apply(i, e)).next());
|
|
16
16
|
});
|
|
17
17
|
import { a as ne, $ as oe, S as re, i as le, s as se, f as O, b as ce, n as I, d as T, g as H, j as y, o as h, p as ue, q as de, u as pe, w as he, O as Y, P as ie, h as r, k as F, e as C, c as D, l as G, m as A, r as fe, v as N, a6 as me, V as ye, x as ge, y as ke, z as ve, A as be, B as Ce } from "./GeneralLogout-CYE3twI-.js";
|
|
18
|
-
import "../stencil/ui-skeleton-
|
|
18
|
+
import "../stencil/ui-skeleton-C_FDz0NJ.js";
|
|
19
19
|
function Z(i, e) {
|
|
20
20
|
ne(i, e);
|
|
21
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var z=(i,t,a)=>new Promise((l,n)=>{var r=u=>{try{y(a.next(u))}catch(h){n(h)}},s=u=>{try{y(a.throw(u))}catch(h){n(h)}},y=u=>u.done?l(u.value):Promise.resolve(u.value).then(r,s);y((a=a.apply(i,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-Dzu2Sl-x.cjs");require("../stencil/ui-skeleton-DQD9osiT.cjs");function O(i,t){e.addMessages(i,t)}function W(i){e.$locale.set(i)}const A={en:{titleRealityCheck:"Reality Check",never:"Never",minutes:"Minutes",oneHour:"1 Hour",hours:"Hours",successMessage:"Reality check has been successfully updated.",realityCheckText:"The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began. You are able to control the frequency at which the Reality Check will appear on your screen.",realityCheckLoading:"Loading items, please wait ...",setFrequency:"Set frequency"},"zh-hk":{titleRealityCheck:"現實檢查",never:"絕不",minutes:"分鐘",oneHour:"1小時",hours:"小時",successMessage:"現實檢查已成功更新。",realityCheckText:"該工具允許您設置在遊戲會話中在屏幕上看到消息的頻率。 它將顯示自會話開始以來經過的時間。",realityCheckLoading:"正在加載項目,請稍候...",setFrequency:"設置頻率"},fr:{titleRealityCheck:"Verification de la réalité",never:"Jamais",minutes:"Minutes",oneHour:"1 Heure",hours:"Heure",successMessage:"Le contrôle de la réalité a été mis à jour avec succès.",realityCheckText:"La fonction de contrôle de la réalité vous permet de définir la fréquence à laquelle vous verrez un contrôlede la réalité sur l'écran au cours de votre sessions de jeu , c'est-à-dire un affichage du temps écoulé depuis le début de votre session.",realityCheckLoading:"Chargement des éléments, veuillez patienter ...",setFrequency:"Régler la fréquence"},ro:{titleRealityCheck:"Verificare timp",never:"Niciodata",minutes:"Minute",oneHour:"1 Ora",hours:"Ore",successMessage:"Frecvența a fost setată cu succes!",realityCheckText:"Opțiunea Reality Check îți permite să setezi frecvența cu care vei vedea verificarea timpului de joc pe parcursul sesiunii tale de joc. O astfel de verificare reprezintă afișarea timpului trecut de la începerea sesiunii de joc.",realityCheckLoading:"Se încarcă...",setFrequency:"Stabilește frecvența"},es:{titleRealityCheck:"Verificación de la realidad",never:"Nunca",minutes:"Minutos",oneHour:"1 Hora",hours:"Horas",successMessage:"La verificación de la realidad se ha actualizado con éxito.",realityCheckText:"La función de Verificación de la realidad le permite establecer la frecuencia con la que verá una Verificación de la realidad en la pantalla dentro de su sesión de juego. Una verificación de la realidad significa una visualización del tiempo transcurrido desde que comenzó su sesión. Puede controlar la frecuencia con la que aparecerá la Verificación de realidad en su pantalla.",realityCheckLoading:"Cargando items",setFrequency:"Estabelecer frecuencia"},pt:{titleRealityCheck:"Verificação da realidade",never:"Nunca",minutes:"Minutos",oneHour:"1 hora",hours:"Horas",successMessage:"A verificação da realidade foi atualizada com sucesso.",realityCheckText:"O recurso Verificação da Realidade permite que você defina a frequência com que você verá uma Verificação da Realidade na tela durante sua sessão de jogo. Uma verificação da realidade significa uma exibição do tempo decorrido desde o início da sua sessão.",realityCheckLoading:"Carregando itens, por favor aguarde...",setFrequency:"Definir frequência"},hr:{titleRealityCheck:"Provjera stvarnosti",never:"Nikad",minutes:"Minuta",oneHour:"1 sat",hours:"Sati",successMessage:"Provjera stvarnosti je uspješno ažurirana.",realityCheckText:"Mogućnost Provjere stvarnosti omogućuje vam da postavite učestalost na kojoj ćete vidjeti Provjeru stvarnosti na zaslonu tijekom svoje sesije igranja. Provjera stvarnosti znači prikaz vremena proteklog od početka vaše sesije. Možete kontrolirati učestalost kojom će se Reality Provjera stvarnosti pojaviti na vašem zaslonu.",realityCheckLoading:"Učitavanje stavki",setFrequency:"Postavite frekvenciju"},"pt-br":{titleRealityCheck:"Verificação da realidade",never:"Nunca",minutes:"Minutos",oneHour:"1 hora",hours:"Horas",successMessage:"A verificação da realidade foi atualizada com sucesso.",realityCheckText:"A instalação da verificação da realidade permite ajustar a frequência com que a verificação da realidade aparece na tela durante a sessão de jogo. Uma verificação da realidade significa exibir o tempo decorrido desde que você iniciou sua sessão. Você é capaz de controlar a frequência com que essa verificação da realidade aparecerá na sua tela.",realityCheckLoading:"Carregando itens, por favor espere...",setFrequency:"Definir frequência"},"es-mx":{titleRealityCheck:"Control de Realidad",never:"Nunca",minutes:"Minutos",oneHour:"1 Hora",hours:"Horas",successMessage:"El control de realidad ha sido actualizada exitosamente.",realityCheckText:"La instalación del control de realidad le permite ajustar la frequencia en la que aparece la verificación de realidad en la pantalla durante su sesión de juego. Un control de realidad significa la visualización del tiempo transcurrido desde que arranco su sesión. Ustede es capaza de controlar la frecuencia en la que esta verificación de realidad aparecerá en su pantalla.",realityCheckLoading:"Cargando elementos, por favor espere...",setFrequency:"Fijar frecuencia"},"en-us":{titleRealityCheck:"Reality Check",never:"Never",minutes:"Minutes",oneHour:"1 Hour",hours:"Hours",successMessage:"Reality check has been successfully updated.",realityCheckText:"The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began. You are able to control the frequency at which the Reality Check will appear on your screen.",realityCheckLoading:"Loading items, please wait ...",setFrequency:"Set frequency"}};function X(i){e.append_styles(i,"svelte-17lev58",'.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription p{min-height:140px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsContent{grid-template-columns:1fr}.containerTimeout{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function V(i,t,a){const l=i.slice();return l[33]=t[a].value,l[34]=t[a].text,l[36]=a,l}function G(i,t,a){const l=i.slice();return l[30]=t[a],l}function Y(i){let t,a,l,n,r=i[5]("titleRealityCheck")+"",s,y,u,h,k=i[5]("realityCheckText")+"",v,g,C,b,d,p,f=i[5]("setFrequency")+"",x,T,F,H,L,j=i[6]&&Z(i),R=i[4]&&N(i),q=e.ensure_array_like(i[7]),w=[];for(let m=0;m<q.length;m+=1)w[m]=D(V(i,q,m));return{c(){t=e.element("div"),j&&j.c(),a=e.space(),R&&R.c(),l=e.space(),n=e.element("h2"),s=e.text(r),y=e.space(),u=e.element("div"),h=e.element("p"),v=e.text(k),g=e.space(),C=e.element("form");for(let m=0;m<w.length;m+=1)w[m].c();b=e.space(),d=e.element("div"),p=e.element("button"),x=e.text(f),e.attr(n,"class","RealityCheckTitle "+(i[6]?"RealityCheckTitleNone":"")),e.attr(u,"class","RealityCheckDescription "+(i[6]?"RealityCheckDescriptionMobile":"")),e.attr(p,"class",T="PlayerRealityCheckButton "+(i[3]===i[2]?"ButtonInactive":"")),p.disabled=F=i[3]===i[2],e.attr(d,"class","BottomButtonsArea "+(i[6]?"BottomButtonsAreaMobile":"")),e.attr(C,"class","customRadio"),e.attr(t,"class","containerTimeout")},m(m,S){e.insert(m,t,S),j&&j.m(t,null),e.append(t,a),R&&R.m(t,null),e.append(t,l),e.append(t,n),e.append(n,s),e.append(t,y),e.append(t,u),e.append(u,h),e.append(h,v),e.append(t,g),e.append(t,C);for(let _=0;_<w.length;_+=1)w[_]&&w[_].m(C,null);e.append(C,b),e.append(C,d),e.append(d,p),e.append(p,x),H||(L=e.listen(p,"click",i[8]),H=!0)},p(m,S){if(m[6]&&j.p(m,S),m[4]?R?R.p(m,S):(R=N(m),R.c(),R.m(t,l)):R&&(R.d(1),R=null),S[0]&32&&r!==(r=m[5]("titleRealityCheck")+"")&&e.set_data(s,r),S[0]&32&&k!==(k=m[5]("realityCheckText")+"")&&e.set_data(v,k),S[0]&132){q=e.ensure_array_like(m[7]);let _;for(_=0;_<q.length;_+=1){const P=V(m,q,_);w[_]?w[_].p(P,S):(w[_]=D(P),w[_].c(),w[_].m(C,b))}for(;_<w.length;_+=1)w[_].d(1);w.length=q.length}S[0]&32&&f!==(f=m[5]("setFrequency")+"")&&e.set_data(x,f),S[0]&12&&T!==(T="PlayerRealityCheckButton "+(m[3]===m[2]?"ButtonInactive":""))&&e.attr(p,"class",T),S[0]&12&&F!==(F=m[3]===m[2])&&(p.disabled=F)},d(m){m&&e.detach(t),j&&j.d(),R&&R.d(),e.destroy_each(w,m),H=!1,L()}}}function J(i){let t,a,l,n,r,s,y,u,h;function k(d,p){return d[6]?Q:K}let g=k(i)(i),C=e.ensure_array_like({length:6}),b=[];for(let d=0;d<C.length;d+=1)b[d]=$(G(i,C,d));return{c(){t=e.element("div"),g.c(),a=e.space(),l=e.element("div"),n=e.element("ui-skeleton"),r=e.space(),s=e.element("div");for(let d=0;d<b.length;d+=1)b[d].c();y=e.space(),u=e.element("div"),h=e.element("ui-skeleton"),e.set_custom_element_data(n,"structure","text"),e.set_custom_element_data(n,"height","15px"),e.set_custom_element_data(n,"width","100%"),e.set_custom_element_data(n,"margin-bottom","7px"),e.set_custom_element_data(n,"rows",i[6]?"5":"3"),e.attr(l,"class","SkeletonTextContainer"),e.set_custom_element_data(h,"structure","rectangle"),e.set_custom_element_data(h,"height","50px"),e.set_custom_element_data(h,"margin-bottom","0"),e.set_custom_element_data(h,"borderRadius","5px"),e.set_custom_element_data(h,"width",i[6]?"100%":"350px"),e.attr(u,"class","Button"),e.attr(s,"class","SkeletonOptionContainer"),e.attr(t,"class","SkeletonContainer")},m(d,p){e.insert(d,t,p),g.m(t,null),e.append(t,a),e.append(t,l),e.append(l,n),e.append(t,r),e.append(t,s);for(let f=0;f<b.length;f+=1)b[f]&&b[f].m(s,null);e.append(s,y),e.append(s,u),e.append(u,h)},p(d,p){g.p(d,p)},d(d){d&&e.detach(t),g.d(),e.destroy_each(b,d)}}}function Z(i){let t,a,l,n,r,s,y,u,h,k,v,g=i[5]("titleRealityCheck")+"",C,b,d,p=i[4]&&E(i);return{c(){p&&p.c(),t=e.space(),a=e.element("div"),l=e.svg_element("svg"),n=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),y=e.svg_element("g"),u=e.svg_element("g"),h=e.svg_element("path"),k=e.space(),v=e.element("h2"),C=e.text(g),e.attr(h,"class","aaa"),e.attr(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(h,"transform","translate(15 15) rotate(180)"),e.attr(u,"transform","translate(20 158)"),e.attr(y,"transform","translate(-20 -158)"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","15"),e.attr(l,"height","15"),e.attr(l,"viewBox","0 0 15 15"),e.attr(v,"class","RealityCheckTitleMobile"),e.attr(a,"class","MenuReturnButton")},m(f,x){p&&p.m(f,x),e.insert(f,t,x),e.insert(f,a,x),e.append(a,l),e.append(l,n),e.append(n,r),e.append(r,s),e.append(l,y),e.append(y,u),e.append(u,h),e.append(a,k),e.append(a,v),e.append(v,C),b||(d=[e.listen(a,"click",i[18]),e.listen(a,"keydown",null)],b=!0)},p(f,x){f[4]?p?p.p(f,x):(p=E(f),p.c(),p.m(t.parentNode,t)):p&&(p.d(1),p=null),x[0]&32&&g!==(g=f[5]("titleRealityCheck")+"")&&e.set_data(C,g)},d(f){f&&(e.detach(t),e.detach(a)),p&&p.d(f),b=!1,e.run_all(d)}}}function E(i){let t,a=i[5]("successMessage")+"",l;return{c(){t=e.element("div"),l=e.text(a),e.attr(t,"class","successMessageMobile")},m(n,r){e.insert(n,t,r),e.append(t,l)},p(n,r){r[0]&32&&a!==(a=n[5]("successMessage")+"")&&e.set_data(l,a)},d(n){n&&e.detach(t)}}}function N(i){let t,a=i[5]("successMessage")+"",l;return{c(){t=e.element("div"),l=e.text(a),e.attr(t,"class","successMessage "+(i[6]?"successMessageMobile":""))},m(n,r){e.insert(n,t,r),e.append(t,l)},p(n,r){r[0]&32&&a!==(a=n[5]("successMessage")+"")&&e.set_data(l,a)},d(n){n&&e.detach(t)}}}function D(i){let t,a,l,n,r=i[34]+"",s,y,u,h;return y=e.init_binding_group(i[20][0]),{c(){t=e.element("div"),a=e.element("input"),l=e.space(),n=e.element("label"),s=e.text(r),e.attr(a,"type","radio"),e.attr(a,"id",i[33]),a.__value=i[33],e.set_input_value(a,a.__value),e.attr(n,"for",i[33]),y.p(a)},m(k,v){e.insert(k,t,v),e.append(t,a),a.checked=a.__value===i[2],e.append(t,l),e.append(t,n),e.append(n,s),u||(h=e.listen(a,"change",i[19]),u=!0)},p(k,v){v[0]&4&&(a.checked=a.__value===k[2])},d(k){k&&e.detach(t),y.r(),u=!1,h()}}}function K(i){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="200px" margin-top="20px"></ui-skeleton>',e.attr(t,"class","SkeletonHeaderText")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Q(i){let t,a,l,n;return{c(){t=e.element("div"),a=e.element("ui-skeleton"),l=e.space(),n=e.element("ui-skeleton"),e.set_custom_element_data(a,"structure","title"),e.set_custom_element_data(a,"width","20px"),e.set_custom_element_data(a,"height","20px"),e.set_custom_element_data(a,"margin-top","5px"),e.set_custom_element_data(a,"margin-bottom","15px"),e.set_custom_element_data(n,"structure","title"),e.set_custom_element_data(n,"width","100px"),e.set_custom_element_data(n,"height","20px"),e.set_custom_element_data(n,"margin-top","5px"),e.set_custom_element_data(n,"margin-bottom","15px"),e.attr(t,"class","SkeletonMenuButton "+(i[6]?"Mobile":""))},m(r,s){e.insert(r,t,s),e.append(t,a),e.append(t,l),e.append(t,n)},p:e.noop,d(r){r&&e.detach(t)}}}function $(i){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>',e.attr(t,"class","SkeletonOption")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function ee(i){let t;function a(r,s){return r[1]?J:Y}let l=a(i),n=l(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","PlayerRealityCheckWrapper "+(i[6]?"PlayerRealityCheckWrapperMobile":""))},m(r,s){e.insert(r,t,s),n.m(t,null),i[21](t)},p(r,s){l===(l=a(r))&&n?n.p(r,s):(n.d(1),n=l(r),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(r){r&&e.detach(t),n.d(),i[21](null)}}}function te(i,t,a){let l;e.component_subscribe(i,e.$format,o=>a(5,l=o));let{endpoint:n=""}=t,{playerid:r=""}=t,{session:s=""}=t,{lang:y="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{mbsource:k}=t,{translationurl:v=""}=t,g,C=e.getDevice(window.navigator.userAgent)!=="PC",b=!0,d,p,f=!1,x=[];const T=()=>{const o=new URL(`${n}/v1/player/${r}/realitycheck`),c=new Headers;c.append("X-SessionID",s);const B={method:"GET",headers:c};fetch(o.href,B).then(M=>M.json()).then(M=>{a(2,d=a(3,p=M.UserRealityCheckValue))},M=>{console.error(M)})},F=()=>{const o=new URL(`${n}/v1/player/${r}/availablerealityvalues`),c=new Headers;c.append("X-SessionID",s),c.append("accept","application/json");const B={method:"GET",headers:c};fetch(o.href,B).then(M=>M.json()).then(M=>{H(M.AvailableRealityCheckValues),a(1,b=!1)},M=>{console.error(M)})},H=o=>{o.forEach(c=>{c==0?x.push({value:c.toString(),text:l("never")}):c<60?x.push({value:c.toString(),text:c+" "+l("minutes")}):c==60?x.push({value:c.toString(),text:l("oneHour")}):c>60&&x.push({value:c.toString(),text:c/60+" "+l("hours")})})},L=()=>z(this,null,function*(){const o=new URL(`${n}/v1/player/${r}/realitycheck`),c=new Headers;c.append("X-SessionID",s),c.append("Content-Type","application/json"),c.append("Accept","application/json"),c.append("realityCheckValue",`${parseInt(d,10)}`);const B={method:"POST",headers:c};return yield fetch(o.href,B).then(M=>M.status==200,M=>(console.error(M),!1))}),j=o=>{o.preventDefault(),L().then(c=>{c&&(R(),T())})},R=()=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:l("realityCheckSuccess")}},window.location.href),a(4,f=!0),setTimeout(()=>a(4,f=!1),2e3)},q=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:C},window.location.href)},w=()=>{W(y)},m=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(B=>{O(B,c[B])})}).catch(c=>{console.log(c)})};Object.keys(A).forEach(o=>{O(o,A[o])}),e.onMount(()=>()=>{});const S=[[]],_=()=>q();function P(){d=this.__value,a(2,d)}function I(o){e.binding_callbacks[o?"unshift":"push"](()=>{g=o,a(0,g)})}return i.$$set=o=>{"endpoint"in o&&a(10,n=o.endpoint),"playerid"in o&&a(11,r=o.playerid),"session"in o&&a(12,s=o.session),"lang"in o&&a(13,y=o.lang),"clientstyling"in o&&a(14,u=o.clientstyling),"clientstylingurl"in o&&a(15,h=o.clientstylingurl),"mbsource"in o&&a(16,k=o.mbsource),"translationurl"in o&&a(17,v=o.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&8192&&y&&w(),i.$$.dirty[0]&7168&&n&&r&&s&&T(),i.$$.dirty[0]&7168&&n&&r&&s&&F(),i.$$.dirty[0]&16385&&u&&g&&e.setClientStyling(g,u),i.$$.dirty[0]&32769&&h&&g&&e.setClientStylingURL(g,h),i.$$.dirty[0]&65537&&k&&g&&e.setStreamStyling(g,`${k}.Style`),i.$$.dirty[0]&131072&&v&&m()},[g,b,d,p,f,l,C,x,j,q,n,r,s,y,u,h,k,v,_,P,S,I]}class U extends e.SvelteComponent{constructor(t){super(),e.init(this,t,te,ee,e.safe_not_equal,{endpoint:10,playerid:11,session:12,lang:13,clientstyling:14,clientstylingurl:15,mbsource:16,translationurl:17},X,[-1,-1])}get endpoint(){return this.$$.ctx[10]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get playerid(){return this.$$.ctx[11]}set playerid(t){this.$$set({playerid:t}),e.flush()}get session(){return this.$$.ctx[12]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(U,{endpoint:{},playerid:{},session:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=U;
|
|
1
|
+
"use strict";var z=(i,t,a)=>new Promise((l,n)=>{var r=u=>{try{y(a.next(u))}catch(h){n(h)}},s=u=>{try{y(a.throw(u))}catch(h){n(h)}},y=u=>u.done?l(u.value):Promise.resolve(u.value).then(r,s);y((a=a.apply(i,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./GeneralLogout-Dzu2Sl-x.cjs");require("../stencil/ui-skeleton-GEqIXVxo.cjs");function O(i,t){e.addMessages(i,t)}function W(i){e.$locale.set(i)}const A={en:{titleRealityCheck:"Reality Check",never:"Never",minutes:"Minutes",oneHour:"1 Hour",hours:"Hours",successMessage:"Reality check has been successfully updated.",realityCheckText:"The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began. You are able to control the frequency at which the Reality Check will appear on your screen.",realityCheckLoading:"Loading items, please wait ...",setFrequency:"Set frequency"},"zh-hk":{titleRealityCheck:"現實檢查",never:"絕不",minutes:"分鐘",oneHour:"1小時",hours:"小時",successMessage:"現實檢查已成功更新。",realityCheckText:"該工具允許您設置在遊戲會話中在屏幕上看到消息的頻率。 它將顯示自會話開始以來經過的時間。",realityCheckLoading:"正在加載項目,請稍候...",setFrequency:"設置頻率"},fr:{titleRealityCheck:"Verification de la réalité",never:"Jamais",minutes:"Minutes",oneHour:"1 Heure",hours:"Heure",successMessage:"Le contrôle de la réalité a été mis à jour avec succès.",realityCheckText:"La fonction de contrôle de la réalité vous permet de définir la fréquence à laquelle vous verrez un contrôlede la réalité sur l'écran au cours de votre sessions de jeu , c'est-à-dire un affichage du temps écoulé depuis le début de votre session.",realityCheckLoading:"Chargement des éléments, veuillez patienter ...",setFrequency:"Régler la fréquence"},ro:{titleRealityCheck:"Verificare timp",never:"Niciodata",minutes:"Minute",oneHour:"1 Ora",hours:"Ore",successMessage:"Frecvența a fost setată cu succes!",realityCheckText:"Opțiunea Reality Check îți permite să setezi frecvența cu care vei vedea verificarea timpului de joc pe parcursul sesiunii tale de joc. O astfel de verificare reprezintă afișarea timpului trecut de la începerea sesiunii de joc.",realityCheckLoading:"Se încarcă...",setFrequency:"Stabilește frecvența"},es:{titleRealityCheck:"Verificación de la realidad",never:"Nunca",minutes:"Minutos",oneHour:"1 Hora",hours:"Horas",successMessage:"La verificación de la realidad se ha actualizado con éxito.",realityCheckText:"La función de Verificación de la realidad le permite establecer la frecuencia con la que verá una Verificación de la realidad en la pantalla dentro de su sesión de juego. Una verificación de la realidad significa una visualización del tiempo transcurrido desde que comenzó su sesión. Puede controlar la frecuencia con la que aparecerá la Verificación de realidad en su pantalla.",realityCheckLoading:"Cargando items",setFrequency:"Estabelecer frecuencia"},pt:{titleRealityCheck:"Verificação da realidade",never:"Nunca",minutes:"Minutos",oneHour:"1 hora",hours:"Horas",successMessage:"A verificação da realidade foi atualizada com sucesso.",realityCheckText:"O recurso Verificação da Realidade permite que você defina a frequência com que você verá uma Verificação da Realidade na tela durante sua sessão de jogo. Uma verificação da realidade significa uma exibição do tempo decorrido desde o início da sua sessão.",realityCheckLoading:"Carregando itens, por favor aguarde...",setFrequency:"Definir frequência"},hr:{titleRealityCheck:"Provjera stvarnosti",never:"Nikad",minutes:"Minuta",oneHour:"1 sat",hours:"Sati",successMessage:"Provjera stvarnosti je uspješno ažurirana.",realityCheckText:"Mogućnost Provjere stvarnosti omogućuje vam da postavite učestalost na kojoj ćete vidjeti Provjeru stvarnosti na zaslonu tijekom svoje sesije igranja. Provjera stvarnosti znači prikaz vremena proteklog od početka vaše sesije. Možete kontrolirati učestalost kojom će se Reality Provjera stvarnosti pojaviti na vašem zaslonu.",realityCheckLoading:"Učitavanje stavki",setFrequency:"Postavite frekvenciju"},"pt-br":{titleRealityCheck:"Verificação da realidade",never:"Nunca",minutes:"Minutos",oneHour:"1 hora",hours:"Horas",successMessage:"A verificação da realidade foi atualizada com sucesso.",realityCheckText:"A instalação da verificação da realidade permite ajustar a frequência com que a verificação da realidade aparece na tela durante a sessão de jogo. Uma verificação da realidade significa exibir o tempo decorrido desde que você iniciou sua sessão. Você é capaz de controlar a frequência com que essa verificação da realidade aparecerá na sua tela.",realityCheckLoading:"Carregando itens, por favor espere...",setFrequency:"Definir frequência"},"es-mx":{titleRealityCheck:"Control de Realidad",never:"Nunca",minutes:"Minutos",oneHour:"1 Hora",hours:"Horas",successMessage:"El control de realidad ha sido actualizada exitosamente.",realityCheckText:"La instalación del control de realidad le permite ajustar la frequencia en la que aparece la verificación de realidad en la pantalla durante su sesión de juego. Un control de realidad significa la visualización del tiempo transcurrido desde que arranco su sesión. Ustede es capaza de controlar la frecuencia en la que esta verificación de realidad aparecerá en su pantalla.",realityCheckLoading:"Cargando elementos, por favor espere...",setFrequency:"Fijar frecuencia"},"en-us":{titleRealityCheck:"Reality Check",never:"Never",minutes:"Minutes",oneHour:"1 Hour",hours:"Hours",successMessage:"Reality check has been successfully updated.",realityCheckText:"The Reality Check facility allows you to set the frequency at which you will see a Reality Check on the screen within your gaming session. A Reality Check means a display of the time elapsed since your session began. You are able to control the frequency at which the Reality Check will appear on your screen.",realityCheckLoading:"Loading items, please wait ...",setFrequency:"Set frequency"}};function X(i){e.append_styles(i,"svelte-17lev58",'.SkeletonContainer{width:100%;display:flex;flex-direction:column;gap:17px;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.SkeletonContainer .SkeletonMenuButton{display:flex;gap:20px;width:100%}.SkeletonContainer .SkeletonMenuButton.Mobile{margin-top:10px}.SkeletonContainer .SkeletonTextContainer{width:100%;min-height:140px}.SkeletonContainer .SkeletonOptionContainer{display:flex;flex-direction:column;width:100%;min-height:200px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption{display:flex;flex-direction:row;align-items:center;gap:10px;width:100%;margin:0 0 13px}.SkeletonContainer .SkeletonOptionContainer .SkeletonOption .SkeletonOptionText{width:20%;margin-top:10px}.SkeletonContainer .SkeletonOptionContainer .Button{margin-top:5px}.successMessage{position:absolute;display:block;top:25px;left:50px;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessage.successMessageMobile{display:none}.successMessageMobile{display:block;background:var(--emw--color-valid, var(--emw--color-green, #48952a));font-size:14px;border-radius:5px;padding:10px;color:var(--emw--color-white, #FFFFFF)}.successMessageMobile.successMessage{display:none}.TextContainer{display:flex;flex-direction:column;padding:10px 20px}.customRadio{margin-top:15px}.customRadio div{margin:0 0 20px}.customRadio input[type=radio]{position:absolute;left:-9999px}.customRadio input[type=radio]+label{position:relative;padding:3px 0 0 30px;cursor:pointer}.customRadio input[type=radio]+label:before{content:"";background:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-300, #58586B);height:16px;width:16px;border-radius:50%;position:absolute;top:0;left:0}.customRadio input[type=radio]+label:after{content:"";background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));width:14px;height:14px;border-radius:50%;position:absolute;top:2px;left:2px;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.customRadio input[type=radio]:checked+label:after{opacity:1;transform:scale(1)}.RealityCheckDescription{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));line-height:24px}.RealityCheckDescription p{min-height:140px}.RealityCheckDescription.RealityChecktionMobile{font-size:12px;line-height:18px}.PlayerDetailsContent{display:grid;grid-column-gap:50px;grid-row-gap:20px;grid-template-rows:auto;grid-template-columns:1fr;padding-bottom:30px}.PlayerRealityCheckWrapper{position:relative;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));padding:50px;max-width:760px}.PlayerRealityCheckWrapper.PlayerRealityCheckWrapperMobile{padding:20px 15px;max-width:unset}.RealityCheckTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.RealityCheckTitleMobile{font-size:16px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.RealityCheckTitleNone{display:none}.BottomButtonsArea{display:grid;grid-column-gap:30px;grid-template-rows:auto;grid-template-columns:1fr 1fr;margin-top:20px}.BottomButtonsArea.BottomButtonsAreaMobile{width:100%;grid-template-columns:1fr}.PlayerRealityCheckButton{cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.PlayerRealityCheckButton.ButtonInactive{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);cursor:not-allowed;opacity:0.6;color:var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B)}.PlayerRealityCheckButton{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerDetailsContent{grid-template-columns:1fr}.containerTimeout{animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:20PX}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}')}function V(i,t,a){const l=i.slice();return l[33]=t[a].value,l[34]=t[a].text,l[36]=a,l}function G(i,t,a){const l=i.slice();return l[30]=t[a],l}function Y(i){let t,a,l,n,r=i[5]("titleRealityCheck")+"",s,y,u,h,k=i[5]("realityCheckText")+"",v,g,C,b,d,p,f=i[5]("setFrequency")+"",x,T,F,H,L,j=i[6]&&Z(i),R=i[4]&&N(i),q=e.ensure_array_like(i[7]),w=[];for(let m=0;m<q.length;m+=1)w[m]=D(V(i,q,m));return{c(){t=e.element("div"),j&&j.c(),a=e.space(),R&&R.c(),l=e.space(),n=e.element("h2"),s=e.text(r),y=e.space(),u=e.element("div"),h=e.element("p"),v=e.text(k),g=e.space(),C=e.element("form");for(let m=0;m<w.length;m+=1)w[m].c();b=e.space(),d=e.element("div"),p=e.element("button"),x=e.text(f),e.attr(n,"class","RealityCheckTitle "+(i[6]?"RealityCheckTitleNone":"")),e.attr(u,"class","RealityCheckDescription "+(i[6]?"RealityCheckDescriptionMobile":"")),e.attr(p,"class",T="PlayerRealityCheckButton "+(i[3]===i[2]?"ButtonInactive":"")),p.disabled=F=i[3]===i[2],e.attr(d,"class","BottomButtonsArea "+(i[6]?"BottomButtonsAreaMobile":"")),e.attr(C,"class","customRadio"),e.attr(t,"class","containerTimeout")},m(m,S){e.insert(m,t,S),j&&j.m(t,null),e.append(t,a),R&&R.m(t,null),e.append(t,l),e.append(t,n),e.append(n,s),e.append(t,y),e.append(t,u),e.append(u,h),e.append(h,v),e.append(t,g),e.append(t,C);for(let _=0;_<w.length;_+=1)w[_]&&w[_].m(C,null);e.append(C,b),e.append(C,d),e.append(d,p),e.append(p,x),H||(L=e.listen(p,"click",i[8]),H=!0)},p(m,S){if(m[6]&&j.p(m,S),m[4]?R?R.p(m,S):(R=N(m),R.c(),R.m(t,l)):R&&(R.d(1),R=null),S[0]&32&&r!==(r=m[5]("titleRealityCheck")+"")&&e.set_data(s,r),S[0]&32&&k!==(k=m[5]("realityCheckText")+"")&&e.set_data(v,k),S[0]&132){q=e.ensure_array_like(m[7]);let _;for(_=0;_<q.length;_+=1){const P=V(m,q,_);w[_]?w[_].p(P,S):(w[_]=D(P),w[_].c(),w[_].m(C,b))}for(;_<w.length;_+=1)w[_].d(1);w.length=q.length}S[0]&32&&f!==(f=m[5]("setFrequency")+"")&&e.set_data(x,f),S[0]&12&&T!==(T="PlayerRealityCheckButton "+(m[3]===m[2]?"ButtonInactive":""))&&e.attr(p,"class",T),S[0]&12&&F!==(F=m[3]===m[2])&&(p.disabled=F)},d(m){m&&e.detach(t),j&&j.d(),R&&R.d(),e.destroy_each(w,m),H=!1,L()}}}function J(i){let t,a,l,n,r,s,y,u,h;function k(d,p){return d[6]?Q:K}let g=k(i)(i),C=e.ensure_array_like({length:6}),b=[];for(let d=0;d<C.length;d+=1)b[d]=$(G(i,C,d));return{c(){t=e.element("div"),g.c(),a=e.space(),l=e.element("div"),n=e.element("ui-skeleton"),r=e.space(),s=e.element("div");for(let d=0;d<b.length;d+=1)b[d].c();y=e.space(),u=e.element("div"),h=e.element("ui-skeleton"),e.set_custom_element_data(n,"structure","text"),e.set_custom_element_data(n,"height","15px"),e.set_custom_element_data(n,"width","100%"),e.set_custom_element_data(n,"margin-bottom","7px"),e.set_custom_element_data(n,"rows",i[6]?"5":"3"),e.attr(l,"class","SkeletonTextContainer"),e.set_custom_element_data(h,"structure","rectangle"),e.set_custom_element_data(h,"height","50px"),e.set_custom_element_data(h,"margin-bottom","0"),e.set_custom_element_data(h,"borderRadius","5px"),e.set_custom_element_data(h,"width",i[6]?"100%":"350px"),e.attr(u,"class","Button"),e.attr(s,"class","SkeletonOptionContainer"),e.attr(t,"class","SkeletonContainer")},m(d,p){e.insert(d,t,p),g.m(t,null),e.append(t,a),e.append(t,l),e.append(l,n),e.append(t,r),e.append(t,s);for(let f=0;f<b.length;f+=1)b[f]&&b[f].m(s,null);e.append(s,y),e.append(s,u),e.append(u,h)},p(d,p){g.p(d,p)},d(d){d&&e.detach(t),g.d(),e.destroy_each(b,d)}}}function Z(i){let t,a,l,n,r,s,y,u,h,k,v,g=i[5]("titleRealityCheck")+"",C,b,d,p=i[4]&&E(i);return{c(){p&&p.c(),t=e.space(),a=e.element("div"),l=e.svg_element("svg"),n=e.svg_element("defs"),r=e.svg_element("style"),s=e.text(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"),y=e.svg_element("g"),u=e.svg_element("g"),h=e.svg_element("path"),k=e.space(),v=e.element("h2"),C=e.text(g),e.attr(h,"class","aaa"),e.attr(h,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),e.attr(h,"transform","translate(15 15) rotate(180)"),e.attr(u,"transform","translate(20 158)"),e.attr(y,"transform","translate(-20 -158)"),e.attr(l,"xmlns","http://www.w3.org/2000/svg"),e.attr(l,"width","15"),e.attr(l,"height","15"),e.attr(l,"viewBox","0 0 15 15"),e.attr(v,"class","RealityCheckTitleMobile"),e.attr(a,"class","MenuReturnButton")},m(f,x){p&&p.m(f,x),e.insert(f,t,x),e.insert(f,a,x),e.append(a,l),e.append(l,n),e.append(n,r),e.append(r,s),e.append(l,y),e.append(y,u),e.append(u,h),e.append(a,k),e.append(a,v),e.append(v,C),b||(d=[e.listen(a,"click",i[18]),e.listen(a,"keydown",null)],b=!0)},p(f,x){f[4]?p?p.p(f,x):(p=E(f),p.c(),p.m(t.parentNode,t)):p&&(p.d(1),p=null),x[0]&32&&g!==(g=f[5]("titleRealityCheck")+"")&&e.set_data(C,g)},d(f){f&&(e.detach(t),e.detach(a)),p&&p.d(f),b=!1,e.run_all(d)}}}function E(i){let t,a=i[5]("successMessage")+"",l;return{c(){t=e.element("div"),l=e.text(a),e.attr(t,"class","successMessageMobile")},m(n,r){e.insert(n,t,r),e.append(t,l)},p(n,r){r[0]&32&&a!==(a=n[5]("successMessage")+"")&&e.set_data(l,a)},d(n){n&&e.detach(t)}}}function N(i){let t,a=i[5]("successMessage")+"",l;return{c(){t=e.element("div"),l=e.text(a),e.attr(t,"class","successMessage "+(i[6]?"successMessageMobile":""))},m(n,r){e.insert(n,t,r),e.append(t,l)},p(n,r){r[0]&32&&a!==(a=n[5]("successMessage")+"")&&e.set_data(l,a)},d(n){n&&e.detach(t)}}}function D(i){let t,a,l,n,r=i[34]+"",s,y,u,h;return y=e.init_binding_group(i[20][0]),{c(){t=e.element("div"),a=e.element("input"),l=e.space(),n=e.element("label"),s=e.text(r),e.attr(a,"type","radio"),e.attr(a,"id",i[33]),a.__value=i[33],e.set_input_value(a,a.__value),e.attr(n,"for",i[33]),y.p(a)},m(k,v){e.insert(k,t,v),e.append(t,a),a.checked=a.__value===i[2],e.append(t,l),e.append(t,n),e.append(n,s),u||(h=e.listen(a,"change",i[19]),u=!0)},p(k,v){v[0]&4&&(a.checked=a.__value===k[2])},d(k){k&&e.detach(t),y.r(),u=!1,h()}}}function K(i){let t;return{c(){t=e.element("div"),t.innerHTML='<ui-skeleton structure="title" width="200px" margin-top="20px"></ui-skeleton>',e.attr(t,"class","SkeletonHeaderText")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Q(i){let t,a,l,n;return{c(){t=e.element("div"),a=e.element("ui-skeleton"),l=e.space(),n=e.element("ui-skeleton"),e.set_custom_element_data(a,"structure","title"),e.set_custom_element_data(a,"width","20px"),e.set_custom_element_data(a,"height","20px"),e.set_custom_element_data(a,"margin-top","5px"),e.set_custom_element_data(a,"margin-bottom","15px"),e.set_custom_element_data(n,"structure","title"),e.set_custom_element_data(n,"width","100px"),e.set_custom_element_data(n,"height","20px"),e.set_custom_element_data(n,"margin-top","5px"),e.set_custom_element_data(n,"margin-bottom","15px"),e.attr(t,"class","SkeletonMenuButton "+(i[6]?"Mobile":""))},m(r,s){e.insert(r,t,s),e.append(t,a),e.append(t,l),e.append(t,n)},p:e.noop,d(r){r&&e.detach(t)}}}function $(i){let t;return{c(){t=e.element("div"),t.innerHTML='<div class="SkeletonOptionCircle"><ui-skeleton structure="circle" size="20px"></ui-skeleton></div> <div class="SkeletonOptionText"><ui-skeleton structure="text" height="10px" width="auto"></ui-skeleton></div>',e.attr(t,"class","SkeletonOption")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function ee(i){let t;function a(r,s){return r[1]?J:Y}let l=a(i),n=l(i);return{c(){t=e.element("div"),n.c(),e.attr(t,"class","PlayerRealityCheckWrapper "+(i[6]?"PlayerRealityCheckWrapperMobile":""))},m(r,s){e.insert(r,t,s),n.m(t,null),i[21](t)},p(r,s){l===(l=a(r))&&n?n.p(r,s):(n.d(1),n=l(r),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(r){r&&e.detach(t),n.d(),i[21](null)}}}function te(i,t,a){let l;e.component_subscribe(i,e.$format,o=>a(5,l=o));let{endpoint:n=""}=t,{playerid:r=""}=t,{session:s=""}=t,{lang:y="en"}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{mbsource:k}=t,{translationurl:v=""}=t,g,C=e.getDevice(window.navigator.userAgent)!=="PC",b=!0,d,p,f=!1,x=[];const T=()=>{const o=new URL(`${n}/v1/player/${r}/realitycheck`),c=new Headers;c.append("X-SessionID",s);const B={method:"GET",headers:c};fetch(o.href,B).then(M=>M.json()).then(M=>{a(2,d=a(3,p=M.UserRealityCheckValue))},M=>{console.error(M)})},F=()=>{const o=new URL(`${n}/v1/player/${r}/availablerealityvalues`),c=new Headers;c.append("X-SessionID",s),c.append("accept","application/json");const B={method:"GET",headers:c};fetch(o.href,B).then(M=>M.json()).then(M=>{H(M.AvailableRealityCheckValues),a(1,b=!1)},M=>{console.error(M)})},H=o=>{o.forEach(c=>{c==0?x.push({value:c.toString(),text:l("never")}):c<60?x.push({value:c.toString(),text:c+" "+l("minutes")}):c==60?x.push({value:c.toString(),text:l("oneHour")}):c>60&&x.push({value:c.toString(),text:c/60+" "+l("hours")})})},L=()=>z(this,null,function*(){const o=new URL(`${n}/v1/player/${r}/realitycheck`),c=new Headers;c.append("X-SessionID",s),c.append("Content-Type","application/json"),c.append("Accept","application/json"),c.append("realityCheckValue",`${parseInt(d,10)}`);const B={method:"POST",headers:c};return yield fetch(o.href,B).then(M=>M.status==200,M=>(console.error(M),!1))}),j=o=>{o.preventDefault(),L().then(c=>{c&&(R(),T())})},R=()=>{window.postMessage({type:"WidgetNotification",data:{type:"success",message:l("realityCheckSuccess")}},window.location.href),a(4,f=!0),setTimeout(()=>a(4,f=!1),2e3)},q=()=>{window.postMessage({type:"PlayerAccountMenuActive",isMobile:C},window.location.href)},w=()=>{W(y)},m=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(B=>{O(B,c[B])})}).catch(c=>{console.log(c)})};Object.keys(A).forEach(o=>{O(o,A[o])}),e.onMount(()=>()=>{});const S=[[]],_=()=>q();function P(){d=this.__value,a(2,d)}function I(o){e.binding_callbacks[o?"unshift":"push"](()=>{g=o,a(0,g)})}return i.$$set=o=>{"endpoint"in o&&a(10,n=o.endpoint),"playerid"in o&&a(11,r=o.playerid),"session"in o&&a(12,s=o.session),"lang"in o&&a(13,y=o.lang),"clientstyling"in o&&a(14,u=o.clientstyling),"clientstylingurl"in o&&a(15,h=o.clientstylingurl),"mbsource"in o&&a(16,k=o.mbsource),"translationurl"in o&&a(17,v=o.translationurl)},i.$$.update=()=>{i.$$.dirty[0]&8192&&y&&w(),i.$$.dirty[0]&7168&&n&&r&&s&&T(),i.$$.dirty[0]&7168&&n&&r&&s&&F(),i.$$.dirty[0]&16385&&u&&g&&e.setClientStyling(g,u),i.$$.dirty[0]&32769&&h&&g&&e.setClientStylingURL(g,h),i.$$.dirty[0]&65537&&k&&g&&e.setStreamStyling(g,`${k}.Style`),i.$$.dirty[0]&131072&&v&&m()},[g,b,d,p,f,l,C,x,j,q,n,r,s,y,u,h,k,v,_,P,S,I]}class U extends e.SvelteComponent{constructor(t){super(),e.init(this,t,te,ee,e.safe_not_equal,{endpoint:10,playerid:11,session:12,lang:13,clientstyling:14,clientstylingurl:15,mbsource:16,translationurl:17},X,[-1,-1])}get endpoint(){return this.$$.ctx[10]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get playerid(){return this.$$.ctx[11]}set playerid(t){this.$$set({playerid:t}),e.flush()}get session(){return this.$$.ctx[12]}set session(t){this.$$set({session:t}),e.flush()}get lang(){return this.$$.ctx[13]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get mbsource(){return this.$$.ctx[16]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get translationurl(){return this.$$.ctx[17]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}}e.create_custom_element(U,{endpoint:{},playerid:{},session:{},lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{}},[],[],!0);exports.default=U;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountController-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/PlayerAccountController-B80HzE7V.cjs")).then(({default:t})=>{!customElements.get("player-account-controller")&&customElements.define("player-account-controller",t.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/PlayerAccountController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/PlayerAccountController-xYLqRf9I.js").then(({ default: t }) => {
|
|
14
14
|
!customElements.get("player-account-controller") && customElements.define("player-account-controller", t.element);
|
|
15
15
|
});
|
|
16
16
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as re, c as F, h as c, g as br, H as bo } from "./index-13661b98-
|
|
2
|
-
import { P as zf } from "./pam-change-password-f4a1e7e7-
|
|
1
|
+
import { r as re, c as F, h as c, g as br, H as bo } from "./index-13661b98-CJJ3jEr6.js";
|
|
2
|
+
import { P as zf } from "./pam-change-password-f4a1e7e7-DP4pNc5Y.js";
|
|
3
3
|
const Cs = "en", yo = {
|
|
4
4
|
en: {
|
|
5
5
|
dateError: "The selected date should be between {min} and {max}",
|
|
@@ -18852,7 +18852,7 @@ const Tf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.toggl
|
|
|
18852
18852
|
}
|
|
18853
18853
|
};
|
|
18854
18854
|
Sf.style = Pf;
|
|
18855
|
-
const Af = ":host{display:block
|
|
18855
|
+
const Af = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", Df = Af, Of = class {
|
|
18856
18856
|
constructor(i) {
|
|
18857
18857
|
re(this, i), this.stylingValue = {
|
|
18858
18858
|
width: this.handleStylingProps(this.width),
|
|
@@ -18861,8 +18861,9 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18861
18861
|
marginBottom: this.handleStylingProps(this.marginBottom),
|
|
18862
18862
|
marginTop: this.handleStylingProps(this.marginTop),
|
|
18863
18863
|
marginLeft: this.handleStylingProps(this.marginLeft),
|
|
18864
|
-
marginRight: this.handleStylingProps(this.marginRight)
|
|
18865
|
-
|
|
18864
|
+
marginRight: this.handleStylingProps(this.marginRight),
|
|
18865
|
+
size: this.handleStylingProps(this.size)
|
|
18866
|
+
}, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%";
|
|
18866
18867
|
}
|
|
18867
18868
|
handleStructureChange(i, e) {
|
|
18868
18869
|
e !== i && this.handleStructure(i);
|
|
@@ -18928,9 +18929,6 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18928
18929
|
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
18929
18930
|
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
18930
18931
|
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
18931
|
-
--emw-skeleton-logo-background: ${this.color};
|
|
18932
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18933
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
18934
18932
|
}
|
|
18935
18933
|
`;
|
|
18936
18934
|
break;
|
|
@@ -18944,9 +18942,6 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18944
18942
|
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18945
18943
|
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
18946
18944
|
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
18947
|
-
--emw-skeleton-image-background: ${this.color};
|
|
18948
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18949
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
18950
18945
|
}
|
|
18951
18946
|
`;
|
|
18952
18947
|
break;
|
|
@@ -18960,9 +18955,6 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18960
18955
|
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
18961
18956
|
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
18962
18957
|
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
18963
|
-
--emw-skeleton-title-background: ${this.color};
|
|
18964
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18965
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
18966
18958
|
}
|
|
18967
18959
|
`;
|
|
18968
18960
|
break;
|
|
@@ -18976,9 +18968,6 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18976
18968
|
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
18977
18969
|
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
18978
18970
|
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
18979
|
-
--emw-skeleton-text-background: ${this.color};
|
|
18980
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18981
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
18982
18971
|
}
|
|
18983
18972
|
`;
|
|
18984
18973
|
break;
|
|
@@ -18992,26 +18981,20 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18992
18981
|
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
18993
18982
|
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
18994
18983
|
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
18995
|
-
--emw-skeleton-rectangle-background: ${this.color};
|
|
18996
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18997
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
18998
18984
|
}
|
|
18999
18985
|
`;
|
|
19000
18986
|
break;
|
|
19001
18987
|
case "circle":
|
|
19002
18988
|
i = `
|
|
19003
18989
|
:host {
|
|
19004
|
-
--emw-skeleton-circle-size: ${this.size};
|
|
19005
|
-
--emw-skeleton-circle-background: ${this.color};
|
|
19006
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
19007
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
18990
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
19008
18991
|
}
|
|
19009
18992
|
`;
|
|
19010
18993
|
break;
|
|
19011
18994
|
default:
|
|
19012
18995
|
i = "";
|
|
19013
18996
|
}
|
|
19014
|
-
return c(bo, { key: "
|
|
18997
|
+
return c(bo, { key: "e6b885bfd985ce7663d990756fe9101e25eb97f0" }, c("style", { key: "06ae24c7bb74f4dacfc12ae58085333f9dc89da5" }, i), this.handleStructure(this.structure));
|
|
19015
18998
|
}
|
|
19016
18999
|
static get watchers() {
|
|
19017
19000
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as re, c as F, h as c, g as br, H as bo } from "./index-13661b98
|
|
2
|
-
import { P as zf } from "./pam-change-password-f4a1e7e7-
|
|
1
|
+
import { r as re, c as F, h as c, g as br, H as bo } from "./index-13661b98--TO2PAgo.js";
|
|
2
|
+
import { P as zf } from "./pam-change-password-f4a1e7e7-CHxgdWbX.js";
|
|
3
3
|
const Cs = "en", yo = {
|
|
4
4
|
en: {
|
|
5
5
|
dateError: "The selected date should be between {min} and {max}",
|
|
@@ -18852,7 +18852,7 @@ const Tf = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.toggl
|
|
|
18852
18852
|
}
|
|
18853
18853
|
};
|
|
18854
18854
|
Sf.style = Pf;
|
|
18855
|
-
const Af = ":host{display:block
|
|
18855
|
+
const Af = ":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.Rectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.Circle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.Text{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.Text:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.Title{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.Image{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.Logo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}", Df = Af, Of = class {
|
|
18856
18856
|
constructor(i) {
|
|
18857
18857
|
re(this, i), this.stylingValue = {
|
|
18858
18858
|
width: this.handleStylingProps(this.width),
|
|
@@ -18861,8 +18861,9 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18861
18861
|
marginBottom: this.handleStylingProps(this.marginBottom),
|
|
18862
18862
|
marginTop: this.handleStylingProps(this.marginTop),
|
|
18863
18863
|
marginLeft: this.handleStylingProps(this.marginLeft),
|
|
18864
|
-
marginRight: this.handleStylingProps(this.marginRight)
|
|
18865
|
-
|
|
18864
|
+
marginRight: this.handleStylingProps(this.marginRight),
|
|
18865
|
+
size: this.handleStylingProps(this.size)
|
|
18866
|
+
}, this.structure = void 0, this.width = "unset", this.height = "unset", this.borderRadius = "unset", this.marginBottom = "unset", this.marginTop = "unset", this.marginLeft = "unset", this.marginRight = "unset", this.animation = !0, this.rows = 0, this.size = "100%";
|
|
18866
18867
|
}
|
|
18867
18868
|
handleStructureChange(i, e) {
|
|
18868
18869
|
e !== i && this.handleStructure(i);
|
|
@@ -18928,9 +18929,6 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18928
18929
|
--emw-skeleton-logo-margin-top: ${this.stylingValue.marginTop};
|
|
18929
18930
|
--emw-skeleton-logo-margin-left: ${this.stylingValue.marginLeft};
|
|
18930
18931
|
--emw-skeleton-logo-margin-right: ${this.stylingValue.marginRight};
|
|
18931
|
-
--emw-skeleton-logo-background: ${this.color};
|
|
18932
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18933
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
18934
18932
|
}
|
|
18935
18933
|
`;
|
|
18936
18934
|
break;
|
|
@@ -18944,9 +18942,6 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18944
18942
|
--emw-skeleton-image-margin-top: ${this.stylingValue.marginTop};
|
|
18945
18943
|
--emw-skeleton-image-margin-left: ${this.stylingValue.marginLeft};
|
|
18946
18944
|
--emw-skeleton-image-margin-right: ${this.stylingValue.marginRight};
|
|
18947
|
-
--emw-skeleton-image-background: ${this.color};
|
|
18948
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18949
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
18950
18945
|
}
|
|
18951
18946
|
`;
|
|
18952
18947
|
break;
|
|
@@ -18960,9 +18955,6 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18960
18955
|
--emw-skeleton-title-margin-top: ${this.stylingValue.marginTop};
|
|
18961
18956
|
--emw-skeleton-title-margin-left: ${this.stylingValue.marginLeft};
|
|
18962
18957
|
--emw-skeleton-title-margin-right: ${this.stylingValue.marginRight};
|
|
18963
|
-
--emw-skeleton-title-background: ${this.color};
|
|
18964
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18965
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
18966
18958
|
}
|
|
18967
18959
|
`;
|
|
18968
18960
|
break;
|
|
@@ -18976,9 +18968,6 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18976
18968
|
--emw-skeleton-text-margin-top: ${this.stylingValue.marginTop};
|
|
18977
18969
|
--emw-skeleton-text-margin-left: ${this.stylingValue.marginLeft};
|
|
18978
18970
|
--emw-skeleton-text-margin-right: ${this.stylingValue.marginRight};
|
|
18979
|
-
--emw-skeleton-text-background: ${this.color};
|
|
18980
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18981
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
18982
18971
|
}
|
|
18983
18972
|
`;
|
|
18984
18973
|
break;
|
|
@@ -18992,26 +18981,20 @@ const Af = ":host{display:block;--emw-skeleton-rectangle-background:#c2c2c2;--em
|
|
|
18992
18981
|
--emw-skeleton-rectangle-margin-top: ${this.stylingValue.marginTop};
|
|
18993
18982
|
--emw-skeleton-rectangle-margin-left: ${this.stylingValue.marginLeft};
|
|
18994
18983
|
--emw-skeleton-rectangle-margin-right: ${this.stylingValue.marginRight};
|
|
18995
|
-
--emw-skeleton-rectangle-background: ${this.color};
|
|
18996
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
18997
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
18998
18984
|
}
|
|
18999
18985
|
`;
|
|
19000
18986
|
break;
|
|
19001
18987
|
case "circle":
|
|
19002
18988
|
i = `
|
|
19003
18989
|
:host {
|
|
19004
|
-
--emw-skeleton-circle-size: ${this.size};
|
|
19005
|
-
--emw-skeleton-circle-background: ${this.color};
|
|
19006
|
-
--emw-skeleton-primary-color: ${this.primaryColor};
|
|
19007
|
-
--emw-skeleton-secondary-color: ${this.secondaryColor};
|
|
18990
|
+
--emw-skeleton-circle-size: ${this.stylingValue.size};
|
|
19008
18991
|
}
|
|
19009
18992
|
`;
|
|
19010
18993
|
break;
|
|
19011
18994
|
default:
|
|
19012
18995
|
i = "";
|
|
19013
18996
|
}
|
|
19014
|
-
return c(bo, { key: "
|
|
18997
|
+
return c(bo, { key: "e6b885bfd985ce7663d990756fe9101e25eb97f0" }, c("style", { key: "06ae24c7bb74f4dacfc12ae58085333f9dc89da5" }, i), this.handleStructure(this.structure));
|
|
19015
18998
|
}
|
|
19016
18999
|
static get watchers() {
|
|
19017
19000
|
return {
|