@everymatrix/casino-winners 1.35.0 → 1.36.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.
@@ -578,7 +578,7 @@ this.formats=_t(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 At={},Ht=(e,t,r)=>r?(t in At||(At[t]={}),e in At[t]||(At[t][e]=r),r):r,St=(e,t)=>{if(null==t)return;if(t in At&&e in At[t])return At[t][e];const r=Jt(t);for(let n=0;n<r.length;n++){const i=Lt(r[n],e);if(i)return Ht(e,t,i)}};let Pt;const Ct=W({});function Ot(e){return e in Pt}function Lt(e,t){if(!Ot(e))return null;const r=function(e){return Pt[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 xt(e,...t){delete At[e],Ct.update((r=>(r[e]=J.all([r[e]||{},...t]),r)))}k([Ct],(([e])=>Object.keys(e))),Ct.subscribe((e=>Pt=e));const It={};function Nt(e){return It[e]}function Mt(e){return null!=e&&Jt(e).some((e=>{var t;return null==(t=Nt(e))?void 0:t.size}))}function Rt(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=>xt(e,...t)))}const $t={};function Ut(e){if(!Mt(e))return e in $t?$t[e]:Promise.resolve();const t=function(e){return Jt(e).map((e=>{const t=Nt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return $t[e]=Promise.all(t.map((([e,t])=>Rt(e,t)))).then((()=>{if(Mt(e))return Ut(e);delete $t[e]})),$t[e]}const Dt={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 Dt}const Ft=W(!1);var Wt=Object.defineProperty,kt=Object.defineProperties,jt=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,zt=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,Kt=(e,t,r)=>t in e?Wt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;let Yt;const Zt=W(null);function qt(e){return e.split("-").map(((e,t,r)=>r.slice(0,t+1).join("-"))).reverse()}function Jt(e,t=Gt().fallbackLocale){const r=qt(e);return t?[...new Set([...r,...qt(t)])]:r}function Qt(){return null!=Yt?Yt:void 0}Zt.subscribe((e=>{Yt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const er=(tr=((e,t)=>{for(var r in t||(t={}))zt.call(t,r)&&Kt(e,r,t[r]);if(Vt)for(var r of Vt(t))Xt.call(t,r)&&Kt(e,r,t[r]);return e})({},Zt),kt(tr,jt({set:e=>{if(e&&function(e){if(null==e)return;const t=Jt(e);for(let e=0;e<t.length;e++){const r=t[e];if(Ot(r))return r}}(e)&&Mt(e)){const{loadingDelay:t}=Gt();let r;return"undefined"!=typeof window&&null!=Qt()&&t?r=window.setTimeout((()=>Ft.set(!0)),t):Ft.set(!0),Ut(e).then((()=>{Zt.set(e)})).finally((()=>{clearTimeout(r),Ft.set(!1)}))}return Zt.set(e)}})));var tr;const rr=e=>{const t=Object.create(null);return r=>{const n=JSON.stringify(r);return n in t?t[n]:t[n]=e(r)}};var nr=Object.defineProperty,ir=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,ar=(e,t,r)=>t in e?nr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,lr=(e,t)=>{for(var r in t||(t={}))or.call(t,r)&&ar(e,r,t[r]);if(ir)for(var r of ir(t))sr.call(t,r)&&ar(e,r,t[r]);return e},cr=(e,t)=>{var r={};for(var n in e)or.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&ir)for(var n of ir(e))t.indexOf(n)<0&&sr.call(e,n)&&(r[n]=e[n]);return r};const ur=(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.`)},hr=rr((e=>{var t=e,{locale:r,format:n}=t,i=cr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=ur("number",n)),new Intl.NumberFormat(r,i)})),fr=rr((e=>{var t=e,{locale:r,format:n}=t,i=cr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=ur("date",n):0===Object.keys(i).length&&(i=ur("date","short")),new Intl.DateTimeFormat(r,i)})),pr=rr((e=>{var t=e,{locale:r,format:n}=t,i=cr(t,["locale","format"]);if(null==r)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=ur("time",n):0===Object.keys(i).length&&(i=ur("time","short")),new Intl.DateTimeFormat(r,i)})),dr=rr((
580
580
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
581
- (e,t=Qt())=>new Bt(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),mr=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Qt(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=St(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(o=null!=(i=null==(n=(r=Gt()).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:c}))?i:c)?o:e;if(!a)return u;let h=u;try{h=dr(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},yr=(e,t)=>((e={})=>{var t=e,{locale:r=Qt()}=t,n=cr(t,["locale"]);return pr(lr({locale:r},n))})(t).format(e),br=(e,t)=>((e={})=>{var t=e,{locale:r=Qt()}=t,n=cr(t,["locale"]);return fr(lr({locale:r},n))})(t).format(e),gr=(e,t)=>((e={})=>{var t=e,{locale:r=Qt()}=t,n=cr(t,["locale"]);return hr(lr({locale:r},n))})(t).format(e),vr=(e,t=Qt())=>St(e,t),Er=k([er,Ct],(()=>mr));function wr(e,t){xt(e,t)}k([er],(()=>yr)),k([er],(()=>br)),k([er],(()=>gr)),k([er,Ct],(()=>vr));const _r={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"}};
581
+ (e,t=Qt())=>new Bt(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),mr=(e,t={})=>{var r,n,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Qt(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=St(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(o=null!=(i=null==(n=(r=Gt()).handleMissingMessage)?void 0:n.call(r,{locale:l,id:e,defaultValue:c}))?i:c)?o:e;if(!a)return u;let h=u;try{h=dr(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},yr=(e,t)=>((e={})=>{var t=e,{locale:r=Qt()}=t,n=cr(t,["locale"]);return pr(lr({locale:r},n))})(t).format(e),br=(e,t)=>((e={})=>{var t=e,{locale:r=Qt()}=t,n=cr(t,["locale"]);return fr(lr({locale:r},n))})(t).format(e),gr=(e,t)=>((e={})=>{var t=e,{locale:r=Qt()}=t,n=cr(t,["locale"]);return hr(lr({locale:r},n))})(t).format(e),vr=(e,t=Qt())=>St(e,t),Er=k([er,Ct],(()=>mr));function wr(e,t){xt(e,t)}k([er],(()=>yr)),k([er],(()=>br)),k([er],(()=>gr)),k([er,Ct],(()=>vr));const _r={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores"},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano"}};
582
582
  /* eslint-disable no-prototype-builtins */var Tr="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
583
583
  // eslint-disable-next-line no-undef
584
584
  "undefined"!=typeof global&&global||{},Br="URLSearchParams"in Tr,Ar="Symbol"in Tr&&"iterator"in Symbol,Hr="FileReader"in Tr&&"Blob"in Tr&&function(){try{return new Blob,!0}catch(e){return!1}}(),Sr="FormData"in Tr,Pr="ArrayBuffer"in Tr;if(Pr)var Cr=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Or=ArrayBuffer.isView||function(e){return e&&Cr.indexOf(Object.prototype.toString.call(e))>-1};function Lr(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function xr(e){return"string"!=typeof e&&(e=String(e)),e}