@everymatrix/casino-tournaments-slider-controller 1.27.2 → 1.27.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -665,7 +665,7 @@ this.formats=Yn(e.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.
665
665
  // and Intl.DateTimeFormat instances.
666
666
  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 $n={},er=(e,t,n)=>n?(t in $n||($n[t]={}),e in $n[t]||($n[t][e]=n),n):n,tr=(e,t)=>{if(null==t)return;if(t in $n&&e in $n[t])return $n[t][e];const n=Cr(t);for(let r=0;r<n.length;r++){const i=or(n[r],e);if(i)return er(e,t,i)}};let nr;const rr=gt({});function ir(e){return e in nr}function or(e,t){if(!ir(e))return null;const n=function(e){return nr[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function sr(e,...t){delete $n[e],rr.update((n=>(n[e]=It.all([n[e]||{},...t]),n)))}mt([rr],(([e])=>Object.keys(e))),rr.subscribe((e=>nr=e));const ar={};function lr(e){return ar[e]}function cr(e){return null!=e&&Cr(e).some((e=>{var t;return null==(t=lr(e))?void 0:t.size}))}function ur(e,t){const n=Promise.all(t.map((t=>(function(e,t){ar[e].delete(t),0===ar[e].size&&delete ar[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>sr(e,...t)))}const hr={};function pr(e){if(!cr(e))return e in hr?hr[e]:Promise.resolve();const t=function(e){return Cr(e).map((e=>{const t=lr(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return hr[e]=Promise.all(t.map((([e,t])=>ur(e,t)))).then((()=>{if(cr(e))return pr(e);delete hr[e]})),hr[e]}const fr={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 dr(){return fr}const gr=gt(!1);var mr=Object.defineProperty,yr=Object.defineProperties,Ar=Object.getOwnPropertyDescriptors,vr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,wr=(e,t,n)=>t in e?mr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Br;const Tr=gt(null);function Ir(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Cr(e,t=dr().fallbackLocale){const n=Ir(e);return t?[...new Set([...n,...Ir(t)])]:n}function Rr(){return null!=Br?Br:void 0}Tr.subscribe((e=>{Br=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Hr=(Sr=((e,t)=>{for(var n in t||(t={}))br.call(t,n)&&wr(e,n,t[n]);if(vr)for(var n of vr(t))Er.call(t,n)&&wr(e,n,t[n]);return e})({},Tr),yr(Sr,Ar({set:e=>{if(e&&function(e){if(null==e)return;const t=Cr(e);for(let e=0;e<t.length;e++){const n=t[e];if(ir(n))return n}}(e)&&cr(e)){const{loadingDelay:t}=dr();let n;return"undefined"!=typeof window&&null!=Rr()&&t?n=window.setTimeout((()=>gr.set(!0)),t):gr.set(!0),pr(e).then((()=>{Tr.set(e)})).finally((()=>{clearTimeout(n),gr.set(!1)}))}return Tr.set(e)}})));var Sr;const Or=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var Lr=Object.defineProperty,kr=Object.getOwnPropertySymbols,xr=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,Nr=(e,t,n)=>t in e?Lr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Dr=(e,t)=>{for(var n in t||(t={}))xr.call(t,n)&&Nr(e,n,t[n]);if(kr)for(var n of kr(t))Pr.call(t,n)&&Nr(e,n,t[n]);return e},Ur=(e,t)=>{var n={};for(var r in e)xr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&kr)for(var r of kr(e))t.indexOf(r)<0&&Pr.call(e,r)&&(n[r]=e[r]);return n};const Mr=(e,t)=>{const{formats:n}=dr();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},_r=Or((e=>{var t=e,{locale:n,format:r}=t,i=Ur(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=Mr("number",r)),new Intl.NumberFormat(n,i)})),Gr=Or((e=>{var t=e,{locale:n,format:r}=t,i=Ur(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=Mr("date",r):0===Object.keys(i).length&&(i=Mr("date","short")),new Intl.DateTimeFormat(n,i)})),jr=Or((e=>{var t=e,{locale:n,format:r}=t,i=Ur(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=Mr("time",r):0===Object.keys(i).length&&(i=Mr("time","short")),new Intl.DateTimeFormat(n,i)})),Qr=Or((
667
667
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
668
- (e,t=Rr())=>new Wn(e,t,dr().formats,{ignoreTag:dr().ignoreTag}))),Fr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Rr(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=tr(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==(r=(n=dr()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?o:e;if(!a)return u;let h=u;try{h=Qr(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},zr=(e,t)=>((e={})=>{var t=e,{locale:n=Rr()}=t,r=Ur(t,["locale"]);return jr(Dr({locale:n},r))})(t).format(e),Jr=(e,t)=>((e={})=>{var t=e,{locale:n=Rr()}=t,r=Ur(t,["locale"]);return Gr(Dr({locale:n},r))})(t).format(e),Xr=(e,t)=>((e={})=>{var t=e,{locale:n=Rr()}=t,r=Ur(t,["locale"]);return _r(Dr({locale:n},r))})(t).format(e),Kr=(e,t=Rr())=>tr(e,t),Zr=mt([Hr,rr],(()=>Fr));function Vr(e,t){sr(e,t)}mt([Hr],(()=>zr)),mt([Hr],(()=>Jr)),mt([Hr],(()=>Xr)),mt([Hr,rr],(()=>Kr)),window.emWidgets={topic:(e,t=0)=>{if(-1==pt.indexOf(e)){let n=new ht(t);ft[e]=n,pt.push(e)}return ft[e]}};const Yr={en:{tournamentsSlider:{loading:"Loading"}},ro:{tournamentsSlider:{loading:"Se încarcă"}},tr:{tournamentsSlider:{loading:"Yükleniyor"}},el:{tournamentsSlider:{loading:"Φο’ρτωση"}},es:{tournamentsSlider:{loading:"Cargando"}},hu:{tournamentsSlider:{loading:"Betöltés"}}};var qr=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}((function(e,t){
668
+ (e,t=Rr())=>new Wn(e,t,dr().formats,{ignoreTag:dr().ignoreTag}))),Fr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Rr(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=tr(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==(r=(n=dr()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?o:e;if(!a)return u;let h=u;try{h=Qr(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},zr=(e,t)=>((e={})=>{var t=e,{locale:n=Rr()}=t,r=Ur(t,["locale"]);return jr(Dr({locale:n},r))})(t).format(e),Jr=(e,t)=>((e={})=>{var t=e,{locale:n=Rr()}=t,r=Ur(t,["locale"]);return Gr(Dr({locale:n},r))})(t).format(e),Xr=(e,t)=>((e={})=>{var t=e,{locale:n=Rr()}=t,r=Ur(t,["locale"]);return _r(Dr({locale:n},r))})(t).format(e),Kr=(e,t=Rr())=>tr(e,t),Zr=mt([Hr,rr],(()=>Fr));function Vr(e,t){sr(e,t)}mt([Hr],(()=>zr)),mt([Hr],(()=>Jr)),mt([Hr],(()=>Xr)),mt([Hr,rr],(()=>Kr)),window.emWidgets={topic:(e,t=0)=>{if(-1==pt.indexOf(e)){let n=new ht(t);ft[e]=n,pt.push(e)}return ft[e]}};const Yr={en:{tournamentsSlider:{loading:"Loading"}},hr:{tournamentsSlider:{loading:"Učitavanje"}},ro:{tournamentsSlider:{loading:"Se încarcă"}},tr:{tournamentsSlider:{loading:"Yükleniyor"}},el:{tournamentsSlider:{loading:"Φο’ρτωση"}},es:{tournamentsSlider:{loading:"Cargando"}},hu:{tournamentsSlider:{loading:"Betöltés"}}};var qr=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}((function(e,t){
669
669
  /** @license
670
670
  * eventsource.js
671
671
  * Available under MIT License (MIT)