@everymatrix/player-profile-info 1.99.57 → 1.99.59

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.
Files changed (19) hide show
  1. package/components/{PlayerAccountBiometricsAction-6C8-N-Rb.js → PlayerAccountBiometricsAction-Aev2NLKw.js} +3 -5
  2. package/components/{PlayerAccountBiometricsAction-D8SW_CvC.js → PlayerAccountBiometricsAction-DqRncDST.js} +3 -5
  3. package/components/{PlayerAccountBiometricsAction-DG2p2NxA.cjs → PlayerAccountBiometricsAction-JTTvkEaX.cjs} +1 -1
  4. package/components/{PlayerProfileInfo-BX4Crs2a.js → PlayerProfileInfo-8oKh5i5d.js} +42 -68
  5. package/components/{PlayerProfileInfo-Diy46A-k.js → PlayerProfileInfo-BSKAQ7gm.js} +43 -69
  6. package/components/{PlayerProfileInfo-D_PnWTXT.cjs → PlayerProfileInfo-CTvgJvby.cjs} +2 -2
  7. package/components/{QrSessionGenerator-D8ScvypJ.js → QrSessionGenerator-CV2auF8Y.js} +13 -25
  8. package/components/{QrSessionGenerator-CbBAkgJp.cjs → QrSessionGenerator-Dt_3JB2e.cjs} +1 -1
  9. package/components/{QrSessionGenerator--mW_LkVF.js → QrSessionGenerator-OL4q9mYr.js} +13 -25
  10. package/es2015/player-profile-info.cjs +1 -1
  11. package/es2015/player-profile-info.js +1 -1
  12. package/esnext/player-profile-info.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/{index-b2193545-R7ZoV-kY.js → index-b2193545-D9zpmD3Q.js} +2 -3
  15. package/stencil/{index-b2193545-DsMHU6jb.js → index-b2193545-OkT1QrQq.js} +2 -3
  16. package/stencil/{ui-skeleton-xXZA3rYO.js → ui-skeleton-BjsoPeRQ.js} +2 -2
  17. package/stencil/{ui-skeleton-W50o8tfg.js → ui-skeleton-COR_76lv.js} +2 -2
  18. package/stencil/{ui-skeleton-ed169f8f-CVY4B-CP.js → ui-skeleton-ed169f8f-BJHdC-wv.js} +1 -1
  19. package/stencil/{ui-skeleton-ed169f8f-D3TjbVKy.js → ui-skeleton-ed169f8f-Df2MlRR-.js} +1 -1
@@ -14,7 +14,7 @@ var R = (t, e, i) => new Promise((n, s) => {
14
14
  }, c = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(r, a);
15
15
  c((i = i.apply(t, e)).next());
16
16
  });
17
- import { a as J, $ as Q, S as V, i as Y, s as Z, f as u, b as $, n as z, d as k, c as E, e as ee, g as ie, o as te, h as w, j as se, k as ne, l as F, m as C, t as oe, p as S, q as h, r as re, u as ae, v as ce, w as le, x as be } from "./PlayerProfileInfo-Diy46A-k.js";
17
+ import { a as J, $ as Q, S as V, i as Y, s as Z, f as u, b as $, n as z, d as k, c as E, e as ee, g as ie, o as te, h as w, j as se, k as ne, l as F, m as C, t as oe, p as S, q as h, r as re, u as ae, v as ce, w as le, x as be } from "./PlayerProfileInfo-BSKAQ7gm.js";
18
18
  function me(t, e) {
19
19
  J(t, e);
20
20
  }
@@ -118,13 +118,11 @@ function X(t) {
118
118
  if (
119
119
  /*mode*/
120
120
  r[1] === "button"
121
- )
122
- return Be;
121
+ ) return Be;
123
122
  if (
124
123
  /*mode*/
125
124
  r[1] === "switch"
126
- )
127
- return he;
125
+ ) return he;
128
126
  }
129
127
  let n = i(t), s = n && n(t);
130
128
  return {
@@ -1,4 +1,4 @@
1
- import { a as W, $ as G, S as J, i as Q, f as u, s as V, c as Y, b as Z, n as I, d as k, e as E, g as $, h as ee, o as ie, j as w, k as te, l as se, m as z, p as X, t as ne, q as S, r as f, u as oe, v as re, w as ae, x as ce } from "./PlayerProfileInfo-BX4Crs2a.js";
1
+ import { a as W, $ as G, S as J, i as Q, f as u, s as V, c as Y, b as Z, n as I, d as k, e as E, g as $, h as ee, o as ie, j as w, k as te, l as se, m as z, p as X, t as ne, q as S, r as f, u as oe, v as re, w as ae, x as ce } from "./PlayerProfileInfo-8oKh5i5d.js";
2
2
  function le(t, e) {
3
3
  W(t, e);
4
4
  }
@@ -102,13 +102,11 @@ function R(t) {
102
102
  if (
103
103
  /*mode*/
104
104
  r[1] === "button"
105
- )
106
- return fe;
105
+ ) return fe;
107
106
  if (
108
107
  /*mode*/
109
108
  r[1] === "switch"
110
- )
111
- return ge;
109
+ ) return ge;
112
110
  }
113
111
  let n = i(t), s = n && n(t);
114
112
  return {
@@ -1 +1 @@
1
- "use strict";var v=(s,e,t)=>new Promise((o,n)=>{var a=b=>{try{l(t.next(b))}catch(d){n(d)}},c=b=>{try{l(t.throw(b))}catch(d){n(d)}},l=b=>b.done?o(b.value):Promise.resolve(b.value).then(a,c);l((t=t.apply(s,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./PlayerProfileInfo-D_PnWTXT.cjs");function P(s,e){i.addMessages(s,e)}function U(s){i.$locale.set(s)}const H={en:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"zh-hk":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},fr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},tr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},ro:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},es:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},pt:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},hr:{btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"pt-br":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"es-mx":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"en-us":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"}};function q(s,e,t,o=!1){if(window.emMessageBus){const n=o?a=>{!a||typeof a!="object"||Array.isArray(a)||Object.keys(a).forEach(c=>t(c,a[c]))}:t;e=window.emMessageBus.subscribe(s,n)}return e}function K(s){i.append_styles(s,"svelte-4r3z7g",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{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));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}')}function x(s){let e;function t(a,c){if(a[1]==="button")return G;if(a[1]==="switch")return W}let o=t(s),n=o&&o(s);return{c(){e=i.element("div"),n&&n.c()},m(a,c){i.insert(a,e,c),n&&n.m(e,null),s[17](e)},p(a,c){o===(o=t(a))&&n?n.p(a,c):(n&&n.d(1),n=o&&o(a),n&&(n.c(),n.m(e,null)))},d(a){a&&i.detach(e),n&&n.d(),s[17](null)}}}function W(s){let e,t,o,n,a;return{c(){e=i.element("button"),t=i.element("div"),t.innerHTML='<input type="checkbox" class="skip-switch-input"/> <span class="skip-switch-core"></span>',i.attr(t,"class","skip-switch"),i.toggle_class(t,"checked",s[4]),i.toggle_class(t,"disabled",s[5]||s[2]),i.toggle_class(t,"shake",s[6]),i.attr(e,"class","toggle-content"),e.disabled=o=s[5]||s[2]},m(c,l){i.insert(c,e,l),i.append(e,t),n||(a=i.listen(e,"click",s[8]),n=!0)},p(c,l){l&16&&i.toggle_class(t,"checked",c[4]),l&36&&i.toggle_class(t,"disabled",c[5]||c[2]),l&64&&i.toggle_class(t,"shake",c[6]),l&36&&o!==(o=c[5]||c[2])&&(e.disabled=o)},d(c){c&&i.detach(e),n=!1,a()}}}function G(s){let e,t=(s[4]?s[7]("btnDisableBiometrics"):s[7]("btnEnableBiometrics"))+"",o,n,a,c;return{c(){e=i.element("button"),o=i.text(t),i.attr(e,"class","BiometricsToggle"),e.disabled=n=s[5]||s[2]},m(l,b){i.insert(l,e,b),i.append(e,o),a||(c=i.listen(e,"click",s[16]),a=!0)},p(l,b){b&144&&t!==(t=(l[4]?l[7]("btnDisableBiometrics"):l[7]("btnEnableBiometrics"))+"")&&i.set_data(o,t),b&36&&n!==(n=l[5]||l[2])&&(e.disabled=n)},d(l){l&&i.detach(e),a=!1,c()}}}function J(s){let e,t=s[0]&&x(s);return{c(){t&&t.c(),e=i.empty()},m(o,n){t&&t.m(o,n),i.insert(o,e,n)},p(o,[n]){o[0]?t?t.p(o,n):(t=x(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:i.noop,o:i.noop,d(o){o&&i.detach(e),t&&t.d(o)}}}function Q(s,e,t){let o;i.component_subscribe(s,i.$format,r=>t(7,o=r));let{lang:n="en"}=e,{clientstyling:a=""}=e,{clientstylingurl:c=""}=e,{mbsource:l}=e,{translationurl:b=""}=e,{isNativeApp:d=!1}=e,{mode:E="button"}=e,{isFromLogin:B=!1}=e,{isLoading:_=!1}=e,m,I,h,g=null,p=!1,f=!1,y=!1;const w=r=>{Object.keys(r).forEach(u=>{P(u,r[u])})},j=()=>{fetch(b).then(u=>u.json()).then(u=>{w(u)}).catch(u=>{console.log(u)})};w(H);const R=()=>{U(n)},D={BIOMETRICS_RESPONSE:3e3,SHAKE_DURATION:500};let k=!1;const z=()=>{t(6,k=!0),setTimeout(()=>{t(6,k=!1)},D.SHAKE_DURATION)},M=()=>{g&&clearTimeout(g),g=setTimeout(()=>{t(5,f=!1),z(),L("error",o("errorMessage"))},D.BIOMETRICS_RESPONSE)},S=()=>v(this,null,function*(){f||(t(5,f=!0),y=!0,window.postMessage({type:"ToggleBiometrics",data:`${!p}`,isFromLogin:B}),M())}),T=r=>{var u,N;((u=r.data)==null?void 0:u.type)==="NativeAppReady"&&(t(0,d=!0),A()),((N=r.data)==null?void 0:N.type)==="BiometricsStatus"&&(t(4,p=r.data.status||!1),t(5,f=!1),g&&(clearTimeout(g),g=null),y&&(B||L("success",o(p?"successEnableBiometrics":"successDisableBiometrics"))),y=!1)},A=()=>{t(5,f=!0),window.postMessage({type:"GetBiometricsStatus"}),M()},X=()=>{window.postMessage({type:"CheckNativeApp"})},L=(r,u)=>{window.postMessage({type:"WidgetNotification",data:{type:r,message:u,config:{clearBefore:!0}}},window.location.href)};i.onMount(()=>(window.addEventListener("message",T),d===!0?A():X(),()=>{window.removeEventListener("message",T),h&&h.unsubscribe(),g&&clearTimeout(g)}));const F=()=>S();function C(r){i.binding_callbacks[r?"unshift":"push"](()=>{m=r,t(3,m)})}return s.$$set=r=>{"lang"in r&&t(9,n=r.lang),"clientstyling"in r&&t(10,a=r.clientstyling),"clientstylingurl"in r&&t(11,c=r.clientstylingurl),"mbsource"in r&&t(12,l=r.mbsource),"translationurl"in r&&t(13,b=r.translationurl),"isNativeApp"in r&&t(0,d=r.isNativeApp),"mode"in r&&t(1,E=r.mode),"isFromLogin"in r&&t(14,B=r.isFromLogin),"isLoading"in r&&t(2,_=r.isLoading)},s.$$.update=()=>{s.$$.dirty&512&&n&&R(),s.$$.dirty&1032&&a&&m&&i.setClientStyling(m,a),s.$$.dirty&2056&&c&&m&&i.setClientStylingURL(m,c),s.$$.dirty&4104&&l&&m&&i.setStreamStyling(m,`${l}.Style`,I),s.$$.dirty&8192&&b&&j(),s.$$.dirty&45056&&l&&!b&&t(15,h=q(`${l}.Translation`,h,w))},[d,E,_,m,p,f,k,o,S,n,a,c,l,b,B,h,F,C]}class O extends i.SvelteComponent{constructor(e){super(),i.init(this,e,Q,J,i.safe_not_equal,{lang:9,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13,isNativeApp:0,mode:1,isFromLogin:14,isLoading:2},K)}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),i.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),i.flush()}get isNativeApp(){return this.$$.ctx[0]}set isNativeApp(e){this.$$set({isNativeApp:e}),i.flush()}get mode(){return this.$$.ctx[1]}set mode(e){this.$$set({mode:e}),i.flush()}get isFromLogin(){return this.$$.ctx[14]}set isFromLogin(e){this.$$set({isFromLogin:e}),i.flush()}get isLoading(){return this.$$.ctx[2]}set isLoading(e){this.$$set({isLoading:e}),i.flush()}}i.create_custom_element(O,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},isNativeApp:{type:"Boolean"},mode:{},isFromLogin:{type:"Boolean"},isLoading:{type:"Boolean"}},[],[],!0);exports.default=O;
1
+ "use strict";var v=(s,e,t)=>new Promise((o,n)=>{var a=b=>{try{l(t.next(b))}catch(d){n(d)}},c=b=>{try{l(t.throw(b))}catch(d){n(d)}},l=b=>b.done?o(b.value):Promise.resolve(b.value).then(a,c);l((t=t.apply(s,e)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./PlayerProfileInfo-CTvgJvby.cjs");function P(s,e){i.addMessages(s,e)}function U(s){i.$locale.set(s)}const H={en:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"zh-hk":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},fr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},tr:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},ro:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},es:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},pt:{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},hr:{btnEnableBiometrics:"Omogući biometriju",btnDisableBiometrics:"Onemogući biometriju",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"pt-br":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"es-mx":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"},"en-us":{btnEnableBiometrics:"Enable biometrics",btnDisableBiometrics:"Disable biometrics",successEnableBiometrics:"Biometric authentication enabled.",successDisableBiometrics:"Biometric authentication disabled.",errorMessage:"Biometrics update failed"}};function q(s,e,t,o=!1){if(window.emMessageBus){const n=o?a=>{!a||typeof a!="object"||Array.isArray(a)||Object.keys(a).forEach(c=>t(c,a[c]))}:t;e=window.emMessageBus.subscribe(s,n)}return e}function K(s){i.append_styles(s,"svelte-4r3z7g",'*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.toggle-content{display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;border-radius:20px;cursor:pointer;gap:10px}.toggle-content:disabled{cursor:not-allowed}.toggle-content .skip-switch{display:inline-flex;align-items:center;position:relative;height:20px;vertical-align:middle;transition:opacity 0.2s}.toggle-content .skip-switch.disabled{opacity:0.5;cursor:not-allowed;pointer-events:none}.toggle-content .skip-switch.checked .skip-switch-core{border-color:var(--emw--color-primary, #22b04e);background:var(--emw--color-primary, #22b04e)}.toggle-content .skip-switch.checked .skip-switch-core::after{transform:translateX(14px)}.toggle-content .skip-switch .skip-switch-input{position:absolute;width:0;height:0;opacity:0;margin:0}.toggle-content .skip-switch .skip-switch-core{width:34px;height:20px;border-radius:20px;border:1px solid var(--emw--color-gray-300, #ababab);background:var(--emw--color-gray-300, #ababab);position:relative;cursor:pointer;transition:background-color 0.25s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.toggle-content .skip-switch .skip-switch-core::after{content:"";position:absolute;top:2px;left:2px;width:14px;height:14px;background:#fff;border-radius:50%;transform:translateX(0);transition:transform 0.25s cubic-bezier(0.22, 1, 0.36, 1)}.skip-switch.shake{animation:shake 0.4s ease}@keyframes shake{0%{transform:translateX(0)}20%{transform:translateX(-3px)}40%{transform:translateX(3px)}60%{transform:translateX(-3px)}80%{transform:translateX(3px)}100%{transform:translateX(0)}}.BiometricsToggle{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));cursor:pointer;border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box}.BiometricsToggle:disabled{opacity:0.6;cursor:not-allowed}')}function x(s){let e;function t(a,c){if(a[1]==="button")return G;if(a[1]==="switch")return W}let o=t(s),n=o&&o(s);return{c(){e=i.element("div"),n&&n.c()},m(a,c){i.insert(a,e,c),n&&n.m(e,null),s[17](e)},p(a,c){o===(o=t(a))&&n?n.p(a,c):(n&&n.d(1),n=o&&o(a),n&&(n.c(),n.m(e,null)))},d(a){a&&i.detach(e),n&&n.d(),s[17](null)}}}function W(s){let e,t,o,n,a;return{c(){e=i.element("button"),t=i.element("div"),t.innerHTML='<input type="checkbox" class="skip-switch-input"/> <span class="skip-switch-core"></span>',i.attr(t,"class","skip-switch"),i.toggle_class(t,"checked",s[4]),i.toggle_class(t,"disabled",s[5]||s[2]),i.toggle_class(t,"shake",s[6]),i.attr(e,"class","toggle-content"),e.disabled=o=s[5]||s[2]},m(c,l){i.insert(c,e,l),i.append(e,t),n||(a=i.listen(e,"click",s[8]),n=!0)},p(c,l){l&16&&i.toggle_class(t,"checked",c[4]),l&36&&i.toggle_class(t,"disabled",c[5]||c[2]),l&64&&i.toggle_class(t,"shake",c[6]),l&36&&o!==(o=c[5]||c[2])&&(e.disabled=o)},d(c){c&&i.detach(e),n=!1,a()}}}function G(s){let e,t=(s[4]?s[7]("btnDisableBiometrics"):s[7]("btnEnableBiometrics"))+"",o,n,a,c;return{c(){e=i.element("button"),o=i.text(t),i.attr(e,"class","BiometricsToggle"),e.disabled=n=s[5]||s[2]},m(l,b){i.insert(l,e,b),i.append(e,o),a||(c=i.listen(e,"click",s[16]),a=!0)},p(l,b){b&144&&t!==(t=(l[4]?l[7]("btnDisableBiometrics"):l[7]("btnEnableBiometrics"))+"")&&i.set_data(o,t),b&36&&n!==(n=l[5]||l[2])&&(e.disabled=n)},d(l){l&&i.detach(e),a=!1,c()}}}function J(s){let e,t=s[0]&&x(s);return{c(){t&&t.c(),e=i.empty()},m(o,n){t&&t.m(o,n),i.insert(o,e,n)},p(o,[n]){o[0]?t?t.p(o,n):(t=x(o),t.c(),t.m(e.parentNode,e)):t&&(t.d(1),t=null)},i:i.noop,o:i.noop,d(o){o&&i.detach(e),t&&t.d(o)}}}function Q(s,e,t){let o;i.component_subscribe(s,i.$format,r=>t(7,o=r));let{lang:n="en"}=e,{clientstyling:a=""}=e,{clientstylingurl:c=""}=e,{mbsource:l}=e,{translationurl:b=""}=e,{isNativeApp:d=!1}=e,{mode:E="button"}=e,{isFromLogin:B=!1}=e,{isLoading:_=!1}=e,m,I,h,g=null,p=!1,f=!1,y=!1;const w=r=>{Object.keys(r).forEach(u=>{P(u,r[u])})},j=()=>{fetch(b).then(u=>u.json()).then(u=>{w(u)}).catch(u=>{console.log(u)})};w(H);const R=()=>{U(n)},D={BIOMETRICS_RESPONSE:3e3,SHAKE_DURATION:500};let k=!1;const z=()=>{t(6,k=!0),setTimeout(()=>{t(6,k=!1)},D.SHAKE_DURATION)},M=()=>{g&&clearTimeout(g),g=setTimeout(()=>{t(5,f=!1),z(),L("error",o("errorMessage"))},D.BIOMETRICS_RESPONSE)},S=()=>v(this,null,function*(){f||(t(5,f=!0),y=!0,window.postMessage({type:"ToggleBiometrics",data:`${!p}`,isFromLogin:B}),M())}),T=r=>{var u,N;((u=r.data)==null?void 0:u.type)==="NativeAppReady"&&(t(0,d=!0),A()),((N=r.data)==null?void 0:N.type)==="BiometricsStatus"&&(t(4,p=r.data.status||!1),t(5,f=!1),g&&(clearTimeout(g),g=null),y&&(B||L("success",o(p?"successEnableBiometrics":"successDisableBiometrics"))),y=!1)},A=()=>{t(5,f=!0),window.postMessage({type:"GetBiometricsStatus"}),M()},X=()=>{window.postMessage({type:"CheckNativeApp"})},L=(r,u)=>{window.postMessage({type:"WidgetNotification",data:{type:r,message:u,config:{clearBefore:!0}}},window.location.href)};i.onMount(()=>(window.addEventListener("message",T),d===!0?A():X(),()=>{window.removeEventListener("message",T),h&&h.unsubscribe(),g&&clearTimeout(g)}));const F=()=>S();function C(r){i.binding_callbacks[r?"unshift":"push"](()=>{m=r,t(3,m)})}return s.$$set=r=>{"lang"in r&&t(9,n=r.lang),"clientstyling"in r&&t(10,a=r.clientstyling),"clientstylingurl"in r&&t(11,c=r.clientstylingurl),"mbsource"in r&&t(12,l=r.mbsource),"translationurl"in r&&t(13,b=r.translationurl),"isNativeApp"in r&&t(0,d=r.isNativeApp),"mode"in r&&t(1,E=r.mode),"isFromLogin"in r&&t(14,B=r.isFromLogin),"isLoading"in r&&t(2,_=r.isLoading)},s.$$.update=()=>{s.$$.dirty&512&&n&&R(),s.$$.dirty&1032&&a&&m&&i.setClientStyling(m,a),s.$$.dirty&2056&&c&&m&&i.setClientStylingURL(m,c),s.$$.dirty&4104&&l&&m&&i.setStreamStyling(m,`${l}.Style`,I),s.$$.dirty&8192&&b&&j(),s.$$.dirty&45056&&l&&!b&&t(15,h=q(`${l}.Translation`,h,w))},[d,E,_,m,p,f,k,o,S,n,a,c,l,b,B,h,F,C]}class O extends i.SvelteComponent{constructor(e){super(),i.init(this,e,Q,J,i.safe_not_equal,{lang:9,clientstyling:10,clientstylingurl:11,mbsource:12,translationurl:13,isNativeApp:0,mode:1,isFromLogin:14,isLoading:2},K)}get lang(){return this.$$.ctx[9]}set lang(e){this.$$set({lang:e}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(e){this.$$set({mbsource:e}),i.flush()}get translationurl(){return this.$$.ctx[13]}set translationurl(e){this.$$set({translationurl:e}),i.flush()}get isNativeApp(){return this.$$.ctx[0]}set isNativeApp(e){this.$$set({isNativeApp:e}),i.flush()}get mode(){return this.$$.ctx[1]}set mode(e){this.$$set({mode:e}),i.flush()}get isFromLogin(){return this.$$.ctx[14]}set isFromLogin(e){this.$$set({isFromLogin:e}),i.flush()}get isLoading(){return this.$$.ctx[2]}set isLoading(e){this.$$set({isLoading:e}),i.flush()}}i.create_custom_element(O,{lang:{},clientstyling:{},clientstylingurl:{},mbsource:{},translationurl:{},isNativeApp:{type:"Boolean"},mode:{},isFromLogin:{type:"Boolean"},isLoading:{type:"Boolean"}},[],[],!0);exports.default=O;
@@ -1,4 +1,4 @@
1
- import "../stencil/ui-skeleton-W50o8tfg.js";
1
+ import "../stencil/ui-skeleton-COR_76lv.js";
2
2
  function De() {
3
3
  }
4
4
  function ea(e) {
@@ -46,8 +46,7 @@ function La(e, t, r) {
46
46
  }
47
47
  }
48
48
  function Ua(e) {
49
- if (!e)
50
- return document;
49
+ if (!e) return document;
51
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
52
51
  return t && /** @type {ShadowRoot} */
53
52
  t.host ? (
@@ -138,8 +137,7 @@ function mr(e) {
138
137
  vr = e;
139
138
  }
140
139
  function ia() {
141
- if (!vr)
142
- throw new Error("Function called outside component initialization");
140
+ if (!vr) throw new Error("Function called outside component initialization");
143
141
  return vr;
144
142
  }
145
143
  function Ga(e) {
@@ -173,8 +171,7 @@ function K() {
173
171
  } catch (t) {
174
172
  throw Gt.length = 0, Ft = 0, t;
175
173
  }
176
- for (mr(null), Gt.length = 0, Ft = 0; br.length; )
177
- br.pop()();
174
+ for (mr(null), Gt.length = 0, Ft = 0; br.length; ) br.pop()();
178
175
  for (let t = 0; t < Qt.length; t += 1) {
179
176
  const r = Qt[t];
180
177
  en.has(r) || (en.add(r), r());
@@ -619,8 +616,7 @@ var cn = function(e, t) {
619
616
  return cn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
620
617
  r.__proto__ = i;
621
618
  } || function(r, i) {
622
- for (var n in i)
623
- Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
619
+ for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
624
620
  }, cn(e, t);
625
621
  };
626
622
  function Ti(e, t) {
@@ -636,25 +632,22 @@ var Ze = function() {
636
632
  return Ze = Object.assign || function(t) {
637
633
  for (var r, i = 1, n = arguments.length; i < n; i++) {
638
634
  r = arguments[i];
639
- for (var o in r)
640
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
635
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
641
636
  }
642
637
  return t;
643
638
  }, Ze.apply(this, arguments);
644
639
  };
645
640
  function _s(e, t) {
646
641
  var r = {};
647
- for (var i in e)
648
- Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
642
+ for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
649
643
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
650
644
  for (var n = 0, i = Object.getOwnPropertySymbols(e); n < i.length; n++)
651
645
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
652
646
  return r;
653
647
  }
654
648
  function tn(e, t, r) {
655
- if (r || arguments.length === 2)
656
- for (var i = 0, n = t.length, o; i < n; i++)
657
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
649
+ if (r || arguments.length === 2) for (var i = 0, n = t.length, o; i < n; i++)
650
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
658
651
  return e.concat(o || Array.prototype.slice.call(t));
659
652
  }
660
653
  function rn(e, t) {
@@ -709,8 +702,7 @@ var Es = function() {
709
702
  return Ii = Object.assign || function(t) {
710
703
  for (var r, i = 1, n = arguments.length; i < n; i++) {
711
704
  r = arguments[i];
712
- for (var o in r)
713
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
705
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
714
706
  }
715
707
  return t;
716
708
  }, Ii.apply(this, arguments);
@@ -856,8 +848,7 @@ var Z = function() {
856
848
  return Z = Object.assign || function(t) {
857
849
  for (var r, i = 1, n = arguments.length; i < n; i++) {
858
850
  r = arguments[i];
859
- for (var o in r)
860
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
851
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
861
852
  }
862
853
  return t;
863
854
  }, Z.apply(this, arguments);
@@ -2499,8 +2490,7 @@ function Us(e, t) {
2499
2490
  r += c;
2500
2491
  for (; a-- > 0; )
2501
2492
  r = f + r;
2502
- } else
2503
- n === "J" ? r += "H" : r += n;
2493
+ } else n === "J" ? r += "H" : r += n;
2504
2494
  }
2505
2495
  return r;
2506
2496
  }
@@ -3103,8 +3093,7 @@ function bn(e) {
3103
3093
  if (delete t.location, fa(t) || da(t))
3104
3094
  for (var r in t.options)
3105
3095
  delete t.options[r].location, bn(t.options[r].value);
3106
- else
3107
- la(t) && ha(t.style) || (ua(t) || ca(t)) && fn(t.style) ? delete t.style.location : pa(t) && bn(t.children);
3096
+ else la(t) && ha(t.style) || (ua(t) || ca(t)) && fn(t.style) ? delete t.style.location : pa(t) && bn(t.children);
3108
3097
  });
3109
3098
  }
3110
3099
  function il(e, t) {
@@ -4594,8 +4583,7 @@ function Ql(e, t) {
4594
4583
  }
4595
4584
  }
4596
4585
  function $l(e, t) {
4597
- if (!e || !t)
4598
- return;
4586
+ if (!e || !t) return;
4599
4587
  const r = new URL(t);
4600
4588
  fetch(r.href).then((i) => i.text()).then((i) => {
4601
4589
  const n = document.createElement("style");
@@ -4605,8 +4593,7 @@ function $l(e, t) {
4605
4593
  });
4606
4594
  }
4607
4595
  function ql(e, t, r, i = !1) {
4608
- if (!window.emMessageBus)
4609
- return;
4596
+ if (!window.emMessageBus) return;
4610
4597
  if (!("adoptedStyleSheets" in Document.prototype) || !i)
4611
4598
  return r = Xl(e, t), r;
4612
4599
  window[Vt] || (window[Vt] = {}), r = Zl(e, t);
@@ -4627,8 +4614,7 @@ function Xl(e, t) {
4627
4614
  }
4628
4615
  function Zl(e, t) {
4629
4616
  return window.emMessageBus.subscribe(t, (r) => {
4630
- if (!e)
4631
- return;
4617
+ if (!e) return;
4632
4618
  const i = e.getRootNode(), n = window[Vt];
4633
4619
  let o = n[t] && n[t].sheet;
4634
4620
  o ? n[t].refCount = n[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), n[t] = {
@@ -4657,8 +4643,7 @@ var gn = function(e, t) {
4657
4643
  return gn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
4658
4644
  r.__proto__ = i;
4659
4645
  } || function(r, i) {
4660
- for (var n in i)
4661
- Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
4646
+ for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
4662
4647
  }, gn(e, t);
4663
4648
  };
4664
4649
  function Cr(e, t) {
@@ -4672,40 +4657,34 @@ function Cr(e, t) {
4672
4657
  }
4673
4658
  function _n(e) {
4674
4659
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
4675
- if (r)
4676
- return r.call(e);
4677
- if (e && typeof e.length == "number")
4678
- return {
4679
- next: function() {
4680
- return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
4681
- }
4682
- };
4660
+ if (r) return r.call(e);
4661
+ if (e && typeof e.length == "number") return {
4662
+ next: function() {
4663
+ return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
4664
+ }
4665
+ };
4683
4666
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4684
4667
  }
4685
4668
  function Cn(e, t) {
4686
4669
  var r = typeof Symbol == "function" && e[Symbol.iterator];
4687
- if (!r)
4688
- return e;
4670
+ if (!r) return e;
4689
4671
  var i = r.call(e), n, o = [], a;
4690
4672
  try {
4691
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
4692
- o.push(n.value);
4673
+ for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; ) o.push(n.value);
4693
4674
  } catch (u) {
4694
4675
  a = { error: u };
4695
4676
  } finally {
4696
4677
  try {
4697
4678
  n && !n.done && (r = i.return) && r.call(i);
4698
4679
  } finally {
4699
- if (a)
4700
- throw a.error;
4680
+ if (a) throw a.error;
4701
4681
  }
4702
4682
  }
4703
4683
  return o;
4704
4684
  }
4705
4685
  function wn(e, t, r) {
4706
- if (arguments.length === 2)
4707
- for (var i = 0, n = t.length, o; i < n; i++)
4708
- (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
4686
+ if (arguments.length === 2) for (var i = 0, n = t.length, o; i < n; i++)
4687
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
4709
4688
  return e.concat(o || t);
4710
4689
  }
4711
4690
  function tt(e) {
@@ -4754,8 +4733,7 @@ var xi = function() {
4754
4733
  try {
4755
4734
  c && !c.done && (r = u.return) && r.call(u);
4756
4735
  } finally {
4757
- if (t)
4758
- throw t.error;
4736
+ if (t) throw t.error;
4759
4737
  }
4760
4738
  }
4761
4739
  else
@@ -4785,8 +4763,7 @@ var xi = function() {
4785
4763
  try {
4786
4764
  w && !w.done && (n = h.return) && n.call(h);
4787
4765
  } finally {
4788
- if (i)
4789
- throw i.error;
4766
+ if (i) throw i.error;
4790
4767
  }
4791
4768
  }
4792
4769
  }
@@ -5053,8 +5030,7 @@ var lu = Ha(function(e) {
5053
5030
  try {
5054
5031
  u && !u.done && (o = a.return) && o.call(a);
5055
5032
  } finally {
5056
- if (n)
5057
- throw n.error;
5033
+ if (n) throw n.error;
5058
5034
  }
5059
5035
  }
5060
5036
  }
@@ -5177,7 +5153,7 @@ if (typeof window < "u") {
5177
5153
  }
5178
5154
  };
5179
5155
  };
5180
- customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-D8SW_CvC.js").then(({ default: t }) => {
5156
+ customElements.define = e(customElements.define), import("./PlayerAccountBiometricsAction-DqRncDST.js").then(({ default: t }) => {
5181
5157
  !customElements.get("player-account-biometrics-action") && customElements.define("player-account-biometrics-action", t.element);
5182
5158
  });
5183
5159
  }
@@ -5193,7 +5169,7 @@ if (typeof window < "u") {
5193
5169
  }
5194
5170
  };
5195
5171
  };
5196
- customElements.define = e(customElements.define), import("./QrSessionGenerator-D8ScvypJ.js").then(({ default: t }) => {
5172
+ customElements.define = e(customElements.define), import("./QrSessionGenerator-CV2auF8Y.js").then(({ default: t }) => {
5197
5173
  !customElements.get("qr-session-generator") && customElements.define("qr-session-generator", t.element);
5198
5174
  });
5199
5175
  }
@@ -7405,8 +7381,7 @@ function Eu(e, t, r) {
7405
7381
  r(21, Ve = Ue(b.consents) !== tr);
7406
7382
  }, Re = (v) => () => {
7407
7383
  const _ = v === "mobilePrefix" || v === "mobileNumber";
7408
- if (_ && b.mobile?.readOnly || b[v]?.readOnly)
7409
- return;
7384
+ if (_ && b.mobile?.readOnly || b[v]?.readOnly) return;
7410
7385
  const N = _ ? b.mobile.value : b[v].value, M = !_ && typeof N == "string" ? N.trim() : N;
7411
7386
  switch (v) {
7412
7387
  case "lastname":
@@ -7432,15 +7407,14 @@ function Eu(e, t, r) {
7432
7407
  break;
7433
7408
  case "securityQuestion":
7434
7409
  case "securityAnswer":
7435
- if (r(16, b[v].isValid = !1, b), M)
7436
- switch (h) {
7437
- case "true":
7438
- Pt.document.test(M) && M.length <= 50 && r(16, b[v].isValid = !0, b);
7439
- break;
7440
- case "false":
7441
- M && M.length <= 120 && r(16, b[v].isValid = !0, b);
7442
- break;
7443
- }
7410
+ if (r(16, b[v].isValid = !1, b), M) switch (h) {
7411
+ case "true":
7412
+ Pt.document.test(M) && M.length <= 50 && r(16, b[v].isValid = !0, b);
7413
+ break;
7414
+ case "false":
7415
+ M && M.length <= 120 && r(16, b[v].isValid = !0, b);
7416
+ break;
7417
+ }
7444
7418
  break;
7445
7419
  case "alias":
7446
7420
  r(16, b[v].isValid = Pt.alias.test(M), b);