@everymatrix/general-player-sms-verification-form 1.29.5 → 1.29.7

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.
@@ -578,7 +578,7 @@ this.formats=yt(e.formats,n),this.formatters=i&&i.formatters||(void 0===(o=this.
578
578
  // and Intl.DateTimeFormat instances.
579
579
  e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},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"}}},e}();const Tt={},Ht=(e,t,r)=>r?(t in Tt||(Tt[t]={}),e in Tt[t]||(Tt[t][e]=r),r):r,_t=(e,t)=>{if(null==t)return;if(t in Tt&&e in Tt[t])return Tt[t][e];const r=Yt(t);for(let n=0;n<r.length;n++){const i=Pt(r[n],e);if(i)return Ht(e,t,i)}};let Bt;const At=D({});function St(e){return e in Bt}function Pt(e,t){if(!St(e))return null;const r=function(e){return Bt[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 Tt[e],At.update((r=>(r[e]=Y.all([r[e]||{},...t]),r)))}k([At],(([e])=>Object.keys(e))),At.subscribe((e=>Bt=e));const wt={};function Lt(e){return wt[e]}function It(e){return null!=e&&Yt(e).some((e=>{var t;return null==(t=Lt(e))?void 0:t.size}))}function Nt(e,t){const r=Promise.all(t.map((t=>(function(e,t){wt[e].delete(t),0===wt[e].size&&delete wt[e]}(e,t),t().then((e=>e.default||e))))));return r.then((t=>Ct(e,...t)))}const Mt={};function Ot(e){if(!It(e))return e in Mt?Mt[e]:Promise.resolve();const t=function(e){return Yt(e).map((e=>{const t=Lt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Mt[e]=Promise.all(t.map((([e,t])=>Nt(e,t)))).then((()=>{if(It(e))return Ot(e);delete Mt[e]})),Mt[e]}const Rt={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 Ut(){return Rt}const Gt=D(!1);var Dt=Object.defineProperty,kt=Object.defineProperties,$t=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,xt=Object.prototype.hasOwnProperty,jt=Object.prototype.propertyIsEnumerable,Vt=(e,t,r)=>t in e?Dt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let Xt;const Kt=D(null);function zt(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function Yt(e,t=Ut().fallbackLocale){const r=zt(e);return t?[...new Set([...r,...zt(t)])]:r}function Zt(){return null!=Xt?Xt:void 0}Kt.subscribe((e=>{Xt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Wt=(qt=((e,t)=>{for(var r in t||(t={}))xt.call(t,r)&&Vt(e,r,t[r]);if(Ft)for(var r of Ft(t))jt.call(t,r)&&Vt(e,r,t[r]);return e})({},Kt),kt(qt,$t({set:e=>{if(e&&function(e){if(null==e)return;const t=Yt(e);for(let e=0;e<t.length;e++){const r=t[e];if(St(r))return r}}(e)&&It(e)){const{loadingDelay:t}=Ut();let r;return"undefined"!=typeof window&&null!=Zt()&&t?r=window.setTimeout((()=>Gt.set(!0)),t):Gt.set(!0),Ot(e).then((()=>{Kt.set(e)})).finally((()=>{clearTimeout(r),Gt.set(!1)}))}return Kt.set(e)}})));var qt;const Jt=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var Qt=Object.defineProperty,er=Object.getOwnPropertySymbols,tr=Object.prototype.hasOwnProperty,rr=Object.prototype.propertyIsEnumerable,nr=(e,t,r)=>t in e?Qt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ir=(e,t)=>{for(var r in t||(t={}))tr.call(t,r)&&nr(e,r,t[r]);if(er)for(var r of er(t))rr.call(t,r)&&nr(e,r,t[r]);return e},or=(e,t)=>{var r={};for(var n in e)tr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&er)for(var n of er(e))t.indexOf(n)<0&&rr.call(e,n)&&(r[n]=e[n]);return r};const sr=(e,t)=>{const{formats:r}=Ut();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ar=Jt((e=>{var t=e,{locale:r,format:n}=t,i=or(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=sr("number",n)),new Intl.NumberFormat(r,i)})),cr=Jt((e=>{var t=e,{locale:r,format:n}=t,i=or(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=sr("date",n):0===Object.keys(i).length&&(i=sr("date","short")),new Intl.DateTimeFormat(r,i)})),lr=Jt((e=>{var t=e,{locale:r,format:n}=t,i=or(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=sr("time",n):0===Object.keys(i).length&&(i=sr("time","short")),new Intl.DateTimeFormat(r,i)})),hr=Jt((
580
580
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
581
- (e,t=Zt())=>new Et(e,t,Ut().formats,{ignoreTag:Ut().ignoreTag}))),ur=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:c=Zt(),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=Ut()).handleMissingMessage)?void 0:n.call(r,{locale:c,id:e,defaultValue:l}))?i:l)?o:e;if(!a)return h;let u=h;try{u=hr(h,c).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},fr=(e,t)=>((e={})=>{var t=e,{locale:r=Zt()}=t,n=or(t,["locale"]);return lr(ir({locale:r},n))})(t).format(e),pr=(e,t)=>((e={})=>{var t=e,{locale:r=Zt()}=t,n=or(t,["locale"]);return cr(ir({locale:r},n))})(t).format(e),dr=(e,t)=>((e={})=>{var t=e,{locale:r=Zt()}=t,n=or(t,["locale"]);return ar(ir({locale:r},n))})(t).format(e),mr=(e,t=Zt())=>_t(e,t),gr=k([Wt,At],(()=>ur));function br(e,t){Ct(e,t)}k([Wt],(()=>fr)),k([Wt],(()=>pr)),k([Wt],(()=>dr)),k([Wt,At],(()=>mr));const yr={en:{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-hk":{title:"请输入您在号码上收到的验证码",errorTitle:"您的代码无效,您可以重新发送代码并重试",code:"短信代码",smsCodeError:"短信验证码无效,请重新发送验证码",resendMessage:"新的验证码已发送至您的手机号码",activate:"激活账户",resend:"重发"},fr:{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:{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:{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:{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:{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"},hr:{title:"Unesite verifikacijski kod koji ste primili na svoj broj telefona",errorTitle:"Vaš kod je nevažeći",code:"Sms kod",smsCodeError:"Nevažeći sms kod",resendMessage:"Novi verifkacijski kod poslan je na vaš broj telefona.",activate:"Aktiviraj račun",resend:"Ponovno pošalji",loginSMSHint:"Novi verifkacijski kod poslan je na vaš broj telefona"},"pt-br":{title:'Por favor, insira o código de verificação que você recebeu no seu número de celular"',errorTitle:"Código inválido,vôce pode reenviar o código e tentar novamente",code:"Código SMS",smsCodeError:"Código SMS inválido,vôce pode reenviar o código",resendMessage:"Um novo código de verificação foi enviado para o seu número de celular.",activate:"Ativar conta",resend:"Reenviar",loginSMSHint:"Um novo código de verificação foi enviado para o seu número de celular."},"es-mx":{title:"Por favor ingrese el código de verificación que recibió en su número móvil",errorTitle:"Código inválido,Puede enviar el código e intentar de nuevo",code:"Código SMS",smsCodeError:"Código SMS inválido,Puede reenviar el código",resendMessage:"Un nuevo código de verificación ha sido enviado a su número móvil .",activate:"Activar Cuenta",resend:"Reenviar",loginSMSHint:"Un nuevo código de verificación ha sido enviado a su número móvil ."}};
581
+ (e,t=Zt())=>new Et(e,t,Ut().formats,{ignoreTag:Ut().ignoreTag}))),ur=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:c=Zt(),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=Ut()).handleMissingMessage)?void 0:n.call(r,{locale:c,id:e,defaultValue:l}))?i:l)?o:e;if(!a)return h;let u=h;try{u=hr(h,c).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return u},fr=(e,t)=>((e={})=>{var t=e,{locale:r=Zt()}=t,n=or(t,["locale"]);return lr(ir({locale:r},n))})(t).format(e),pr=(e,t)=>((e={})=>{var t=e,{locale:r=Zt()}=t,n=or(t,["locale"]);return cr(ir({locale:r},n))})(t).format(e),dr=(e,t)=>((e={})=>{var t=e,{locale:r=Zt()}=t,n=or(t,["locale"]);return ar(ir({locale:r},n))})(t).format(e),mr=(e,t=Zt())=>_t(e,t),gr=k([Wt,At],(()=>ur));function br(e,t){Ct(e,t)}k([Wt],(()=>fr)),k([Wt],(()=>pr)),k([Wt],(()=>dr)),k([Wt,At],(()=>mr));const yr={en:{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-hk":{title:"请输入您在号码上收到的验证码",errorTitle:"您的代码无效,您可以重新发送代码并重试",code:"短信代码",smsCodeError:"短信验证码无效,请重新发送验证码",resendMessage:"新的验证码已发送至您的手机号码",activate:"激活账户",resend:"重发"},fr:{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:{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:{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:{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:{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"},hr:{title:"Unesite verifikacijski kod koji ste primili na svoj broj telefona",errorTitle:"Vaš kod je nevažeći",code:"Sms kod",smsCodeError:"Nevažeći sms kod",resendMessage:"Novi verifkacijski kod poslan je na vaš broj telefona.",activate:"Aktiviraj račun",resend:"Ponovno pošalji",loginSMSHint:"Novi verifkacijski kod poslan je na vaš broj telefona"},"pt-br":{title:"Por favor, insira o código de verificação que você recebeu no seu número de celular",errorTitle:"Código inválido,vôce pode reenviar o código e tentar novamente",code:"Código SMS",smsCodeError:"Código SMS inválido,vôce pode reenviar o código",resendMessage:"Um novo código de verificação foi enviado para o seu número de celular.",activate:"Ativar conta",resend:"Reenviar",loginSMSHint:"Um novo código de verificação foi enviado para o seu número de celular."},"es-mx":{title:"Por favor ingrese el código de verificación que recibió en su número móvil",errorTitle:"Código inválido,Puede enviar el código e intentar de nuevo",code:"Código SMS",smsCodeError:"Código SMS inválido,Puede reenviar el código",resendMessage:"Un nuevo código de verificación ha sido enviado a su número móvil .",activate:"Activar Cuenta",resend:"Reenviar",loginSMSHint:"Un nuevo código de verificación ha sido enviado a su número móvil ."}};
582
582
  /* src/GeneralPlayerSmsVerificationForm.svelte generated by Svelte v3.59.2 */function vr(e){let t,r=/*$_*/e[5]("errorTitle")+"";return{c(){t=u(r)},m(e,r){c(e,t,r)},p(e,n){/*$_*/32&n&&r!==(r=/*$_*/e[5]("errorTitle")+"")&&m(t,r)},d(e){e&&l(t)}}}
583
583
  // (155:4) {#if isSmsValid}
584
584
  function Er(e){let t,r=/*$_*/e[5]("title")+"";return{c(){t=u(r)},m(e,r){c(e,t,r)},p(e,n){/*$_*/32&n&&r!==(r=/*$_*/e[5]("title")+"")&&m(t,r)},d(e){e&&l(t)}}}