@everymatrix/general-player-sms-verification-form 1.4.0 → 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,17 +17,17 @@
17
17
  // 3. During afterUpdate, any updated components will NOT have their afterUpdate
18
18
  // callback called a second time; the seen_callbacks set, outside the flush()
19
19
  // function, guarantees this behavior.
20
- const L=new Set;let w=0;// Do *not* move this inside the flush() function
20
+ const L=new Set;let C=0;// Do *not* move this inside the flush() function
21
21
  function I(){const e=y;do{
22
22
  // first, call beforeUpdate functions
23
23
  // and update components
24
- for(;w<T.length;){const e=T[w];w++,E(e),C(e.$$)}for(E(null),T.length=0,w=0;H.length;)H.pop()();
24
+ for(;C<T.length;){const e=T[C];C++,E(e),w(e.$$)}for(E(null),T.length=0,C=0;H.length;)H.pop()();
25
25
  // then, once components are updated, call
26
26
  // afterUpdate functions. This may cause
27
27
  // subsequent updates...
28
28
  for(let e=0;e<B.length;e+=1){const t=B[e];L.has(t)||(
29
29
  // ...so guard against infinite loops
30
- L.add(t),t())}B.length=0}while(T.length);for(;_.length;)_.pop()();S=!1,L.clear(),E(e)}function C(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(P)}}const N=new Set;function M(e,t){-1===e.$$.dirty[0]&&(T.push(e),S||(S=!0,A.then(I)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function O(o,s,a,c,h,u,f,p=[-1]){const m=y;E(o);const d=o.$$={fragment:null,ctx:null,
30
+ L.add(t),t())}B.length=0}while(T.length);for(;_.length;)_.pop()();S=!1,L.clear(),E(e)}function w(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(P)}}const N=new Set;function M(e,t){-1===e.$$.dirty[0]&&(T.push(e),S||(S=!0,A.then(I)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function O(o,s,a,c,h,u,f,p=[-1]){const m=y;E(o);const d=o.$$={fragment:null,ctx:null,
31
31
  // state
32
32
  props:u,update:e,not_equal:h,bound:r(),
33
33
  // lifecycle
@@ -269,17 +269,17 @@ e.hourCycles.length&&(
269
269
  // @ts-ignore
270
270
  t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}
271
271
  // TODO: Once hourCycle is fully supported remove the following with data generation
272
- var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(Se[r||""]||Se[n||""]||Se["".concat(n,"-001")]||Se["001"])[0]}var Le=new RegExp("^".concat(fe.source,"*")),we=new RegExp("".concat(fe.source,"*$"));function Ie(e,t){return{start:e,end:t}}
272
+ var r,n=e.language;return"root"!==n&&(r=e.maximize().region),(Se[r||""]||Se[n||""]||Se["".concat(n,"-001")]||Se["001"])[0]}var Le=new RegExp("^".concat(fe.source,"*")),Ce=new RegExp("".concat(fe.source,"*$"));function Ie(e,t){return{start:e,end:t}}
273
273
  // #region Ponyfills
274
274
  // Consolidate these variables up top for easier toggling during debugging
275
- var Ce=!!String.prototype.startsWith,Ne=!!String.fromCodePoint,Me=!!Object.fromEntries,Oe=!!String.prototype.codePointAt,Re=!!String.prototype.trimStart,Ue=!!String.prototype.trimEnd,Ge=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},De=!0;try{
275
+ var we=!!String.prototype.startsWith,Ne=!!String.fromCodePoint,Me=!!Object.fromEntries,Oe=!!String.prototype.codePointAt,Re=!!String.prototype.trimStart,Ue=!!String.prototype.trimEnd,Ge=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},De=!0;try{
276
276
  /**
277
277
  * legacy Edge or Xbox One browser
278
278
  * Unicode flag support: supported
279
279
  * Pattern_Syntax support: not supported
280
280
  * See https://github.com/formatjs/formatjs/issues/2822
281
281
  */
282
- De="a"===(null===(Ae=Ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ae?void 0:Ae[0])}catch(e){De=!1}var Fe,$e=Ce?// Native
282
+ De="a"===(null===(Ae=Ke("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ae?void 0:Ae[0])}catch(e){De=!1}var Fe,$e=we?// Native
283
283
  function(e,t,r){return e.startsWith(t,r)}:// For IE11
284
284
  function(e,t,r){return e.slice(r,r+t.length)===t},ke=Ne?String.fromCodePoint:// IE11
285
285
  function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r,n="",i=e.length,o=0;i>o;){if((r=e[o++])>1114111)throw RangeError(r+" is not a valid code point");n+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return n},xe=
@@ -291,7 +291,7 @@ function(e,t){var r=e.length;if(!(t<0||t>=r)){var n,i=e.charCodeAt(t);return i<5
291
291
  function(e){return e.trimStart()}:// Ponyfill
292
292
  function(e){return e.replace(Le,"")},Xe=Ue?// Native
293
293
  function(e){return e.trimEnd()}:// Ponyfill
294
- function(e){return e.replace(we,"")};
294
+ function(e){return e.replace(Ce,"")};
295
295
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
296
296
  function Ke(e,t){return new RegExp(e,t)}
297
297
  // #endregion
@@ -553,7 +553,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
553
553
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
554
554
  Copyrights licensed under the New BSD License.
555
555
  See the accompanying LICENSE file for terms.
556
- */const Ht={},Bt=(e,t,r)=>r?(t in Ht||(Ht[t]={}),e in Ht[t]||(Ht[t][e]=r),r):r,_t=(e,t)=>{if(null==t)return;if(t in Ht&&e in Ht[t])return Ht[t][e];const r=xt(t);for(let n=0;n<r.length;n++){const i=Lt(r[n],e);if(i)return Bt(e,t,i)}};let At;const St=G({});function Pt(e){return e in At}function Lt(e,t){if(!Pt(e))return null;const r=function(e){return At[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(e>0){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(r,t)}function wt(e,...t){delete Ht[e],St.update((r=>(r[e]=z.all([r[e]||{},...t]),r)))}D([St],(([e])=>Object.keys(e))),St.subscribe((e=>At=e));const It={};function Ct(e){return It[e]}function Nt(e){return null!=e&&xt(e).some((e=>{var t;return null===(t=Ct(e))||void 0===t?void 0:t.size}))}const Mt={};function Ot(e){if(!Nt(e))return e in Mt?Mt[e]:Promise.resolve();const t=function(e){return xt(e).map((e=>{const t=Ct(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Mt[e]=Promise.all(t.map((([e,t])=>function(e,t){const r=Promise.all(t.map((t=>(function(e,t){It[e].delete(t),0===It[e].size&&delete It[e]}(e,t),t().then((e=>e.default||e))))));return r.then((t=>wt(e,...t)))}(e,t)))).then((()=>{if(Nt(e))return Ot(e);delete Mt[e]})),Mt[e]}
556
+ */const Ht={},Bt=(e,t,r)=>r?(t in Ht||(Ht[t]={}),e in Ht[t]||(Ht[t][e]=r),r):r,_t=(e,t)=>{if(null==t)return;if(t in Ht&&e in Ht[t])return Ht[t][e];const r=xt(t);for(let n=0;n<r.length;n++){const i=Lt(r[n],e);if(i)return Bt(e,t,i)}};let At;const St=G({});function Pt(e){return e in At}function Lt(e,t){if(!Pt(e))return null;const r=function(e){return At[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let e=0;e<r.length;e++)if("object"==typeof n){if(e>0){const t=r.slice(e,r.length).join(".");if(t in n){n=n[t];break}}n=n[r[e]]}else n=void 0;return n}(r,t)}function Ct(e,...t){delete Ht[e],St.update((r=>(r[e]=z.all([r[e]||{},...t]),r)))}D([St],(([e])=>Object.keys(e))),St.subscribe((e=>At=e));const It={};function wt(e){return It[e]}function Nt(e){return null!=e&&xt(e).some((e=>{var t;return null===(t=wt(e))||void 0===t?void 0:t.size}))}const Mt={};function Ot(e){if(!Nt(e))return e in Mt?Mt[e]:Promise.resolve();const t=function(e){return xt(e).map((e=>{const t=wt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Mt[e]=Promise.all(t.map((([e,t])=>function(e,t){const r=Promise.all(t.map((t=>(function(e,t){It[e].delete(t),0===It[e].size&&delete It[e]}(e,t),t().then((e=>e.default||e))))));return r.then((t=>Ct(e,...t)))}(e,t)))).then((()=>{if(Nt(e))return Ot(e);delete Mt[e]})),Mt[e]}
557
557
  /*! *****************************************************************************
558
558
  Copyright (c) Microsoft Corporation.
559
559
 
@@ -567,22 +567,22 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
567
567
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
568
568
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
569
569
  PERFORMANCE OF THIS SOFTWARE.
570
- ***************************************************************************** */function Rt(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}const Ut={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Gt(){return Ut}const Dt=G(!1);let Ft;const $t=G(null);function kt(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function xt(e,t=Gt().fallbackLocale){const r=kt(e);return t?[...new Set([...r,...kt(t)])]:r}function Vt(){return null!=Ft?Ft:void 0}$t.subscribe((e=>{Ft=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const jt=Object.assign(Object.assign({},$t),{set:e=>{if(e&&function(e){if(null==e)return;const t=xt(e);for(let e=0;e<t.length;e++){const r=t[e];if(Pt(r))return r}}(e)&&Nt(e)){const{loadingDelay:t}=Gt();let r;return"undefined"!=typeof window&&null!=Vt()&&t?r=window.setTimeout((()=>Dt.set(!0)),t):Dt.set(!0),Ot(e).then((()=>{$t.set(e)})).finally((()=>{clearTimeout(r),Dt.set(!1)}))}return $t.set(e)}}),Xt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Kt=(e,t)=>{const{formats:r}=Gt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},zt=Xt((e=>{var{locale:t,format:r}=e,n=Rt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Kt("number",r)),new Intl.NumberFormat(t,n)})),Yt=Xt((e=>{var{locale:t,format:r}=e,n=Rt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Kt("date",r):0===Object.keys(n).length&&(n=Kt("date","short")),new Intl.DateTimeFormat(t,n)})),Zt=Xt((e=>{var{locale:t,format:r}=e,n=Rt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Kt("time",r):0===Object.keys(n).length&&(n=Kt("time","short")),new Intl.DateTimeFormat(t,n)})),Wt=Xt(((e,t=Vt())=>new Tt(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),Jt=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:c=Vt(),default:l}=s;if(null==c)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=_t(e,c);if(h){if("string"!=typeof h)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h}else h=null!==(o=null!==(i=null===(n=(r=Gt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:c,id:e,defaultValue:l}))&&void 0!==i?i:l)&&void 0!==o?o:e;if(!a)return h;let u=h;try{u=Wt(h,c).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},qt=(e,t)=>((e={})=>{var{locale:t=Vt()}=e,r=Rt(e,["locale"]);return Zt(Object.assign({locale:t},r))})(t).format(e),Qt=(e,t)=>((e={})=>{var{locale:t=Vt()}=e,r=Rt(e,["locale"]);return Yt(Object.assign({locale:t},r))})(t).format(e),er=(e,t)=>((e={})=>{var{locale:t=Vt()}=e,r=Rt(e,["locale"]);return zt(Object.assign({locale:t},r))})(t).format(e),tr=(e,t=Vt())=>_t(e,t),rr=D([jt,St],(()=>Jt));function nr(e,t){wt(e,t)}D([jt],(()=>qt)),D([jt],(()=>Qt)),D([jt],(()=>er)),D([jt,St],(()=>tr));const ir={en:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"A new verification code has been sent to your phone number.",activate:"Activate Account",resend:"Resend",loginSMSHint:"A new verification code has been sent to your phone number"}},zh:{smsVerification:{title:"请输入您在号码上收到的验证码",errorTitle:"您的代码无效,您可以重新发送代码并重试",code:"短信代码",smsCodeError:"短信验证码无效,请重新发送验证码",resendMessage:"新的验证码已发送至您的手机号码",activate:"激活账户",resend:"重发"}},fr:{smsVerification:{title:"Veuillez entrer le code de vérification que vous avez reçu sur votre numéro",errorTitle:"Votre code n'était pas valide, vous pouvez renvoyer le code et réessayer",code:"Code SMS",smsCodeError:"Code sms invalide, vous pouvez renvoyer le code",resendMessage:"Un nouveau code de vérification a été envoyé à votre numéro de téléphone.",activate:"Activer le compte",resend:"Renvoyer"}},tr:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Telefon numaranıza yeni bir doğrulama kodu gönderildi.",activate:"Activate Account",resend:"Resend"}},ro:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Un nou cod de verificare a fost trimis catre numarul dumneavoastra.",activate:"Activate Account",resend:"Resend"}},es:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Se ha enviado un nuevo código de verificación a su número de teléfono.",activate:"Activate Account",resend:"Resend"}},pt:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Um novo código de verificação foi enviado para o seu número de telefone.",activate:"Activate Account",resend:"Resend"}}};
570
+ ***************************************************************************** */function Rt(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}const Ut={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Gt(){return Ut}const Dt=G(!1);let Ft;const $t=G(null);function kt(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function xt(e,t=Gt().fallbackLocale){const r=kt(e);return t?[...new Set([...r,...kt(t)])]:r}function Vt(){return null!=Ft?Ft:void 0}$t.subscribe((e=>{Ft=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const jt=Object.assign(Object.assign({},$t),{set:e=>{if(e&&function(e){if(null==e)return;const t=xt(e);for(let e=0;e<t.length;e++){const r=t[e];if(Pt(r))return r}}(e)&&Nt(e)){const{loadingDelay:t}=Gt();let r;return"undefined"!=typeof window&&null!=Vt()&&t?r=window.setTimeout((()=>Dt.set(!0)),t):Dt.set(!0),Ot(e).then((()=>{$t.set(e)})).finally((()=>{clearTimeout(r),Dt.set(!1)}))}return $t.set(e)}}),Xt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}},Kt=(e,t)=>{const{formats:r}=Gt();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},zt=Xt((e=>{var{locale:t,format:r}=e,n=Rt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(n=Kt("number",r)),new Intl.NumberFormat(t,n)})),Yt=Xt((e=>{var{locale:t,format:r}=e,n=Rt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?n=Kt("date",r):0===Object.keys(n).length&&(n=Kt("date","short")),new Intl.DateTimeFormat(t,n)})),Zt=Xt((e=>{var{locale:t,format:r}=e,n=Rt(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?n=Kt("time",r):0===Object.keys(n).length&&(n=Kt("time","short")),new Intl.DateTimeFormat(t,n)})),Wt=Xt(((e,t=Vt())=>new Tt(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),Jt=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:c=Vt(),default:l}=s;if(null==c)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=_t(e,c);if(h){if("string"!=typeof h)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h}else h=null!==(o=null!==(i=null===(n=(r=Gt()).handleMissingMessage)||void 0===n?void 0:n.call(r,{locale:c,id:e,defaultValue:l}))&&void 0!==i?i:l)&&void 0!==o?o:e;if(!a)return h;let u=h;try{u=Wt(h,c).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},qt=(e,t)=>((e={})=>{var{locale:t=Vt()}=e,r=Rt(e,["locale"]);return Zt(Object.assign({locale:t},r))})(t).format(e),Qt=(e,t)=>((e={})=>{var{locale:t=Vt()}=e,r=Rt(e,["locale"]);return Yt(Object.assign({locale:t},r))})(t).format(e),er=(e,t)=>((e={})=>{var{locale:t=Vt()}=e,r=Rt(e,["locale"]);return zt(Object.assign({locale:t},r))})(t).format(e),tr=(e,t=Vt())=>_t(e,t),rr=D([jt,St],(()=>Jt));function nr(e,t){Ct(e,t)}D([jt],(()=>qt)),D([jt],(()=>Qt)),D([jt],(()=>er)),D([jt,St],(()=>tr));const ir={en:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"A new verification code has been sent to your phone number.",activate:"Activate Account",resend:"Resend",loginSMSHint:"A new verification code has been sent to your phone number"}},zh:{smsVerification:{title:"请输入您在号码上收到的验证码",errorTitle:"您的代码无效,您可以重新发送代码并重试",code:"短信代码",smsCodeError:"短信验证码无效,请重新发送验证码",resendMessage:"新的验证码已发送至您的手机号码",activate:"激活账户",resend:"重发"}},fr:{smsVerification:{title:"Veuillez entrer le code de vérification que vous avez reçu sur votre numéro",errorTitle:"Votre code n'était pas valide, vous pouvez renvoyer le code et réessayer",code:"Code SMS",smsCodeError:"Code sms invalide, vous pouvez renvoyer le code",resendMessage:"Un nouveau code de vérification a été envoyé à votre numéro de téléphone.",activate:"Activer le compte",resend:"Renvoyer"}},tr:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Telefon numaranıza yeni bir doğrulama kodu gönderildi.",activate:"Activate Account",resend:"Resend"}},ro:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Un nou cod de verificare a fost trimis catre numarul dumneavoastra.",activate:"Activate Account",resend:"Resend"}},es:{smsVerification:{title:"Por favor ingrese su código de verificación enviado por mensaje de texto a su número de telefono",errorTitle:"Su código es invalido",code:"Código SMS",smsCodeError:"Código SMS invalido",resendMessage:"Un nuevo codigo de verificación ha sido enviado a tu número celular.",activate:"Activar Cuenta",resend:"Reenviar"}},pt:{smsVerification:{title:"Please enter the verification code you received on your number",errorTitle:"Your code was invalid, you can resend the code and try again",code:"Sms code",smsCodeError:"Invalid sms code, you can resend the code",resendMessage:"Um novo código de verificação foi enviado para o seu número de telefone.",activate:"Activate Account",resend:"Resend"}}};
571
571
  /* src/GeneralPlayerSmsVerificationForm.svelte generated by Svelte v3.48.0 */function or(e){let t,r=/*$_*/e[5]("smsVerification.errorTitle")+"";return{c(){t=u(r)},m(e,r){c(e,t,r)},p(e,n){/*$_*/32&n&&r!==(r=/*$_*/e[5]("smsVerification.errorTitle")+"")&&d(t,r)},d(e){e&&l(t)}}}
572
- // (160:4) {#if isSmsValid}
572
+ // (155:4) {#if isSmsValid}
573
573
  function sr(e){let t,r=/*$_*/e[5]("smsVerification.title")+"";return{c(){t=u(r)},m(e,r){c(e,t,r)},p(e,n){/*$_*/32&n&&r!==(r=/*$_*/e[5]("smsVerification.title")+"")&&d(t,r)},d(e){e&&l(t)}}}
574
- // (173:4) {#if !isSmsValid}
574
+ // (168:4) {#if !isSmsValid}
575
575
  function ar(e){let t,r,n=/*$_*/e[5]("smsVerification.smsCodeError")+"";return{c(){t=h("p"),r=u(n),m(t,"class","InvalidInput"),m(t,"part","InvalidInput")},m(e,n){c(e,t,n),a(t,r)},p(e,t){/*$_*/32&t&&n!==(n=/*$_*/e[5]("smsVerification.smsCodeError")+"")&&d(r,n)},d(e){e&&l(t)}}}
576
- // (178:2) {#if timer}
576
+ // (173:2) {#if timer}
577
577
  function cr(e){let t,r,n=/*$_*/e[5]("smsVerification.resendMessage")+"";return{c(){t=h("p"),r=u(n),m(t,"class","SmsVerificationResendMessage"),m(t,"part","SmsVerificationResendMessage")},m(e,n){c(e,t,n),a(t,r)},p(e,t){/*$_*/32&t&&n!==(n=/*$_*/e[5]("smsVerification.resendMessage")+"")&&d(r,n)},d(e){e&&l(t)}}}
578
- // (193:35) {#if timer}
579
- function lr(e){let t,r,n,i,o,s=/*secondsLeft*/e[4]<10?"0":"";return{c(){t=h("span"),r=u("(0:"),n=u(s),i=u(/*secondsLeft*/e[4]),o=u(")"),m(t,"class","SmsVerificationResendTimer")},m(e,s){c(e,t,s),a(t,r),a(t,n),a(t,i),a(t,o)},p(e,t){/*secondsLeft*/16&t&&s!==(s=/*secondsLeft*/e[4]<10?"0":"")&&d(n,s),/*secondsLeft*/16&t&&d(i,/*secondsLeft*/e[4])},d(e){e&&l(t)}}}function hr(t){let r,i,o,s,b,y,E,v,T,H,B,_,A,S,P,L,w,I,C,N,M,O,R,U=/*$_*/t[5]("smsVerification.code")+"",G=/*$_*/t[5]("smsVerification.activate")+"",D=/*$_*/t[5]("smsVerification.resend")+"";function F(e,t){/*isSmsValid*/
580
- return e[2]?sr:or}let $=F(t),k=$(t),x=!/*isSmsValid*/t[2]&&ar(t),V=/*timer*/t[3]&&cr(t),j=/*timer*/t[3]&&lr(t);return{c(){r=h("div"),i=h("h3"),k.c(),o=f(),s=h("div"),b=h("label"),y=u(U),E=u(":"),v=h("span"),v.textContent="*",T=f(),H=h("input"),B=f(),x&&x.c(),S=f(),V&&V.c(),P=f(),L=h("button"),w=u(G),I=f(),C=h("button"),N=u(D),M=f(),j&&j.c(),this.c=e,m(i,"class","Title"),m(i,"part","Title"),m(v,"class","FormRequired"),m(v,"part","FormRequired"),m(b,"for","SmsCode"),m(H,"type","text"),m(H,"id","SmsCode"),m(H,"inputmode","numeric"),m(H,"pattern","[0-9]*"),m(H,"maxlength","6"),m(s,"class",_="Field SmsVerificationField "+(/*isSmsValid*/t[2]?"":"InvalidField")),m(s,"part",A="SmsVerificationField "+(/*isSmsValid*/t[2]?"":"InvalidField")),m(L,"class","Button SmsVerificationValidate"),m(L,"part","SmsVerificationValidate"),m(C,"class","Button SmsVerificationResend"),m(C,"part","SmsVerificationResend"),C.disabled=/*timer*/t[3],m(r,"class","Container SmsVerificationContainer"),m(r,"part","SmsVerificationContainer")},m(e,n){c(e,r,n),a(r,i),k.m(i,null),a(r,o),a(r,s),a(s,b),a(b,y),a(b,E),a(b,v),a(s,T),a(s,H),g(H,/*smsCode*/t[1]),a(s,B),x&&x.m(s,null),a(r,S),V&&V.m(r,null),a(r,P),a(r,L),a(L,w),a(r,I),a(r,C),a(C,N),a(C,M),j&&j.m(C,null)
581
- /*div1_binding*/,t[19](r),O||(R=[p(H,"input",/*input_input_handler*/t[17]),p(H,"keydown",/*keydown_handler*/t[18]),p(L,"click",/*activateUser*/t[6]),p(C,"click",/*resendCode*/t[7])],O=!0)},p(e,[t]){$===($=F(e))&&k?k.p(e,t):(k.d(1),k=$(e),k&&(k.c(),k.m(i,null))),/*$_*/32&t&&U!==(U=/*$_*/e[5]("smsVerification.code")+"")&&d(y,U),/*smsCode*/2&t&&H.value!==/*smsCode*/e[1]&&g(H,/*smsCode*/e[1]),/*isSmsValid*/e[2]?x&&(x.d(1),x=null):x?x.p(e,t):(x=ar(e),x.c(),x.m(s,null)),/*isSmsValid*/4&t&&_!==(_="Field SmsVerificationField "+(/*isSmsValid*/e[2]?"":"InvalidField"))&&m(s,"class",_),/*isSmsValid*/4&t&&A!==(A="SmsVerificationField "+(/*isSmsValid*/e[2]?"":"InvalidField"))&&m(s,"part",A),/*timer*/e[3]?V?V.p(e,t):(V=cr(e),V.c(),V.m(r,P)):V&&(V.d(1),V=null),/*$_*/32&t&&G!==(G=/*$_*/e[5]("smsVerification.activate")+"")&&d(w,G),/*$_*/32&t&&D!==(D=/*$_*/e[5]("smsVerification.resend")+"")&&d(N,D),/*timer*/e[3]?j?j.p(e,t):(j=lr(e),j.c(),j.m(C,null)):j&&(j.d(1),j=null),/*timer*/8&t&&(C.disabled=/*timer*/e[3])},i:e,o:e,d(e){e&&l(r),k.d(),x&&x.d(),V&&V.d(),j&&j.d()
578
+ // (188:35) {#if timer}
579
+ function lr(e){let t,r,n,i,o,s=/*secondsLeft*/e[4]<10?"0":"";return{c(){t=h("span"),r=u("(0:"),n=u(s),i=u(/*secondsLeft*/e[4]),o=u(")"),m(t,"class","SmsVerificationResendTimer")},m(e,s){c(e,t,s),a(t,r),a(t,n),a(t,i),a(t,o)},p(e,t){/*secondsLeft*/16&t&&s!==(s=/*secondsLeft*/e[4]<10?"0":"")&&d(n,s),/*secondsLeft*/16&t&&d(i,/*secondsLeft*/e[4])},d(e){e&&l(t)}}}function hr(t){let r,i,o,s,b,y,E,v,T,H,B,_,A,S,P,L,C,I,w,N,M,O,R,U=/*$_*/t[5]("smsVerification.code")+"",G=/*$_*/t[5]("smsVerification.activate")+"",D=/*$_*/t[5]("smsVerification.resend")+"";function F(e,t){/*isSmsValid*/
580
+ return e[2]?sr:or}let $=F(t),k=$(t),x=!/*isSmsValid*/t[2]&&ar(t),V=/*timer*/t[3]&&cr(t),j=/*timer*/t[3]&&lr(t);return{c(){r=h("div"),i=h("h3"),k.c(),o=f(),s=h("div"),b=h("label"),y=u(U),E=u(":"),v=h("span"),v.textContent="*",T=f(),H=h("input"),B=f(),x&&x.c(),S=f(),V&&V.c(),P=f(),L=h("button"),C=u(G),I=f(),w=h("button"),N=u(D),M=f(),j&&j.c(),this.c=e,m(i,"class","Title"),m(i,"part","Title"),m(v,"class","FormRequired"),m(v,"part","FormRequired"),m(b,"for","SmsCode"),m(H,"type","text"),m(H,"id","SmsCode"),m(H,"inputmode","numeric"),m(H,"pattern","[0-9]*"),m(H,"maxlength","6"),m(s,"class",_="Field SmsVerificationField "+(/*isSmsValid*/t[2]?"":"InvalidField")),m(s,"part",A="SmsVerificationField "+(/*isSmsValid*/t[2]?"":"InvalidField")),m(L,"class","Button SmsVerificationValidate"),m(L,"part","SmsVerificationValidate"),m(w,"class","Button SmsVerificationResend"),m(w,"part","SmsVerificationResend"),w.disabled=/*timer*/t[3],m(r,"class","Container SmsVerificationContainer"),m(r,"part","SmsVerificationContainer")},m(e,n){c(e,r,n),a(r,i),k.m(i,null),a(r,o),a(r,s),a(s,b),a(b,y),a(b,E),a(b,v),a(s,T),a(s,H),g(H,/*smsCode*/t[1]),a(s,B),x&&x.m(s,null),a(r,S),V&&V.m(r,null),a(r,P),a(r,L),a(L,C),a(r,I),a(r,w),a(w,N),a(w,M),j&&j.m(w,null)
581
+ /*div1_binding*/,t[19](r),O||(R=[p(H,"input",/*input_input_handler*/t[17]),p(H,"keydown",/*keydown_handler*/t[18]),p(L,"click",/*activateUser*/t[6]),p(w,"click",/*resendCode*/t[7])],O=!0)},p(e,[t]){$===($=F(e))&&k?k.p(e,t):(k.d(1),k=$(e),k&&(k.c(),k.m(i,null))),/*$_*/32&t&&U!==(U=/*$_*/e[5]("smsVerification.code")+"")&&d(y,U),/*smsCode*/2&t&&H.value!==/*smsCode*/e[1]&&g(H,/*smsCode*/e[1]),/*isSmsValid*/e[2]?x&&(x.d(1),x=null):x?x.p(e,t):(x=ar(e),x.c(),x.m(s,null)),/*isSmsValid*/4&t&&_!==(_="Field SmsVerificationField "+(/*isSmsValid*/e[2]?"":"InvalidField"))&&m(s,"class",_),/*isSmsValid*/4&t&&A!==(A="SmsVerificationField "+(/*isSmsValid*/e[2]?"":"InvalidField"))&&m(s,"part",A),/*timer*/e[3]?V?V.p(e,t):(V=cr(e),V.c(),V.m(r,P)):V&&(V.d(1),V=null),/*$_*/32&t&&G!==(G=/*$_*/e[5]("smsVerification.activate")+"")&&d(C,G),/*$_*/32&t&&D!==(D=/*$_*/e[5]("smsVerification.resend")+"")&&d(N,D),/*timer*/e[3]?j?j.p(e,t):(j=lr(e),j.c(),j.m(w,null)):j&&(j.d(1),j=null),/*timer*/8&t&&(w.disabled=/*timer*/e[3])},i:e,o:e,d(e){e&&l(r),k.d(),x&&x.d(),V&&V.d(),j&&j.d()
582
582
  /*div1_binding*/,t[19](null),O=!1,n(R)}}}function ur(e,t,r){let n;var i,o;i=rr,o=e=>r(5,n=e),e.$$.on_destroy.push(s(i,o));let a,c,l,{endpoint:h=""}=t,{tokenid:u=""}=t,{playerid:f=""}=t,{smstemplate:p="Please use this code {0} to activate your accout"}=t,{number:m=""}=t,{clientstyling:d=""}=t,{clientstylingurl:g=""}=t,{translationurl:b=""}=t,y=!0,E=!1,T=+localStorage.getItem("smsTimer")||0,B=Date.now()/1e3-T,_=60-Math.floor(B);const A={numeric:/^[0-9]{0,6}$/};!function({withLocale:e,translations:t}){jt.subscribe((r=>{null==r&&(St.set(t),jt.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
583
583
  /*dictionary.set(translations);
584
584
  locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(ir).forEach((e=>{nr(e,ir[e])}));const S=()=>{_>0?r(4,_--,_):(clearInterval(c),r(3,c=!1),r(4,_=60))},P=()=>{B<60&&r(3,c=setInterval((()=>{S()}),1e3))},L=e=>{A.numeric.test(e.key)||8===e.keyCode||9===e.keyCode||46===e.keyCode||e.preventDefault()};v((()=>{if(!f||!m){
585
585
  /* fix for when trying to log in after registeration & mail confirmation (without sms confirmation),
586
586
  upon switching between sms validation and register, the playerid and phone number would be lost */
587
- let e=JSON.parse(localStorage.getItem("playerData"));r(10,f=e.playerid),r(11,m=e.number)}P()}));return e.$$set=e=>{"endpoint"in e&&r(12,h=e.endpoint),"tokenid"in e&&r(9,u=e.tokenid),"playerid"in e&&r(10,f=e.playerid),"smstemplate"in e&&r(13,p=e.smstemplate),"number"in e&&r(11,m=e.number),"clientstyling"in e&&r(14,d=e.clientstyling),"clientstylingurl"in e&&r(15,g=e.clientstylingurl),"translationurl"in e&&r(16,b=e.translationurl)},e.$$.update=()=>{e.$$.dirty,/*clientstyling, customStylingContainer*/16385&e.$$.dirty&&d&&l&&(()=>{let e=document.createElement("style");e.innerHTML=d,l.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/32769&e.$$.dirty&&g&&l&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{l.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),/*translationurl*/65536&e.$$.dirty&&b&&fetch(b).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{nr(t,e[t])}))})).catch((e=>{console.log(e)}))},[l,a,y,c,_,n,async()=>{try{if(!(await fetch(`${h}/player/${f}/activateSMS?tokenId=${u}&validationCode=${a}`,{headers:{"Content-Type":"application/json",accept:"application/json"}})).ok)throw window.postMessage({type:"WidgetNotification",data:{type:"error",message:"Could not activate user"}},window.location.href),r(2,y=!1),new Error("Could not activate user");r(2,y=!0),window.postMessage({type:"SmsHasBeenValidated"},window.location.href)}catch(e){window.postMessage({type:"WidgetNotification",data:{type:"error",message:"Could not activate user"}},window.location.href),r(2,y=!1),console.log(e)}},async()=>{localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3))),P();try{const e=await fetch(`${h}/player/sms/token`,{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:f,messageTemplate:p,destination:m})}),t=await e.json();if(!e.ok)throw E=!0,new Error("Failed to fetch");r(9,u=t.id),E=!1,S()}catch(e){E=!0,console.error(e)}},L,u,f,m,h,p,d,g,b,function(){a=this.value,r(1,a)},e=>L(e),function(e){H[e?"unshift":"push"]((()=>{l=e,r(0,l)}))}]}class fr extends R{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px}.Button{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emfe-w-color-gray-50, #F9F8F8);color:var(--emfe-w-color-black, #000000)}</style>",O(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},ur,hr,o,{endpoint:12,tokenid:9,playerid:10,smstemplate:13,number:11,clientstyling:14,clientstylingurl:15,translationurl:16},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["endpoint","tokenid","playerid","smstemplate","number","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),I()}get tokenid(){return this.$$.ctx[9]}set tokenid(e){this.$$set({tokenid:e}),I()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$$set({playerid:e}),I()}get smstemplate(){return this.$$.ctx[13]}set smstemplate(e){this.$$set({smstemplate:e}),I()}get number(){return this.$$.ctx[11]}set number(e){this.$$set({number:e}),I()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),I()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),I()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),I()}}return!customElements.get("general-player-sms-verification-form")&&customElements.define("general-player-sms-verification-form",fr),fr}));
587
+ let e=JSON.parse(localStorage.getItem("playerData"));r(10,f=e.playerid),r(11,m=e.number)}P()}));return e.$$set=e=>{"endpoint"in e&&r(12,h=e.endpoint),"tokenid"in e&&r(9,u=e.tokenid),"playerid"in e&&r(10,f=e.playerid),"smstemplate"in e&&r(13,p=e.smstemplate),"number"in e&&r(11,m=e.number),"clientstyling"in e&&r(14,d=e.clientstyling),"clientstylingurl"in e&&r(15,g=e.clientstylingurl),"translationurl"in e&&r(16,b=e.translationurl)},e.$$.update=()=>{e.$$.dirty,/*clientstyling, customStylingContainer*/16385&e.$$.dirty&&d&&l&&(()=>{let e=document.createElement("style");e.innerHTML=d,l.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/32769&e.$$.dirty&&g&&l&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{l.appendChild(t)}),1),setTimeout((()=>{}),500)}))})(),/*translationurl*/65536&e.$$.dirty&&b&&fetch(b).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{nr(t,e[t])}))})).catch((e=>{console.log(e)}))},[l,a,y,c,_,n,async()=>{try{if(!(await fetch(`${h}/player/${f}/activateSMS?tokenId=${u}&validationCode=${a}`,{headers:{"Content-Type":"application/json",accept:"application/json"}})).ok)throw window.postMessage({type:"WidgetNotification",data:{type:"error",message:"Could not activate user"}},window.location.href),r(2,y=!1),new Error("Could not activate user");r(2,y=!0),window.postMessage({type:"SmsHasBeenValidated"},window.location.href)}catch(e){console.log(e)}},async()=>{localStorage.setItem("smsTimer",JSON.stringify(Math.floor(Date.now()/1e3))),P();try{const e=await fetch(`${h}/player/sms/token`,{method:"POST",headers:{"Content-Type":"application/json",accept:"application/json"},body:JSON.stringify({userId:f,messageTemplate:p,destination:m})}),t=await e.json();if(!e.ok)throw E=!0,new Error("Failed to fetch");r(9,u=t.id),E=!1,S()}catch(e){E=!0,console.error(e)}},L,u,f,m,h,p,d,g,b,function(){a=this.value,r(1,a)},e=>L(e),function(e){H[e?"unshift":"push"]((()=>{l=e,r(0,l)}))}]}class fr extends R{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emfe-w-color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input{width:100%;height:44px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary-50, #FBECF4);color:var(--emfe-w-color-primary, #D0046C)}.InvalidInput{color:var(--emfe-w-color-error, #FD2839);font-size:10px;line-height:10px}.Button{color:var(--emfe-w-color-white, #FFFFFF);background:var(--emfe-w-color-primary, #D0046C);border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emfe-w-color-gray-50, #F9F8F8);color:var(--emfe-w-color-black, #000000)}</style>",O(this,{target:this.shadowRoot,props:b(this.attributes),customElement:!0},ur,hr,o,{endpoint:12,tokenid:9,playerid:10,smstemplate:13,number:11,clientstyling:14,clientstylingurl:15,translationurl:16},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),I()))}static get observedAttributes(){return["endpoint","tokenid","playerid","smstemplate","number","clientstyling","clientstylingurl","translationurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),I()}get tokenid(){return this.$$.ctx[9]}set tokenid(e){this.$$set({tokenid:e}),I()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$$set({playerid:e}),I()}get smstemplate(){return this.$$.ctx[13]}set smstemplate(e){this.$$set({smstemplate:e}),I()}get number(){return this.$$.ctx[11]}set number(e){this.$$set({number:e}),I()}get clientstyling(){return this.$$.ctx[14]}set clientstyling(e){this.$$set({clientstyling:e}),I()}get clientstylingurl(){return this.$$.ctx[15]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),I()}get translationurl(){return this.$$.ctx[16]}set translationurl(e){this.$$set({translationurl:e}),I()}}return!customElements.get("general-player-sms-verification-form")&&customElements.define("general-player-sms-verification-form",fr),fr}));
588
588
  //# sourceMappingURL=general-player-sms-verification-form.js.map