@everymatrix/casino-tournaments-slider-controller 1.8.1 → 1.8.4

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.
@@ -645,7 +645,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
645
645
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
646
646
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
647
647
  PERFORMANCE OF THIS SOFTWARE.
648
- ***************************************************************************** */function dr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}const gr={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 mr(){return gr}const Ar=gt(!1);let yr;const vr=gt(null);function br(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function wr(e,t=mr().fallbackLocale){const n=br(e);return t?[...new Set([...n,...br(t)])]:n}function Er(){return null!=yr?yr:void 0}vr.subscribe((e=>{yr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Br=Object.assign(Object.assign({},vr),{set:e=>{if(e&&function(e){if(null==e)return;const t=wr(e);for(let e=0;e<t.length;e++){const n=t[e];if(sr(n))return n}}(e)&&hr(e)){const{loadingDelay:t}=mr();let n;return"undefined"!=typeof window&&null!=Er()&&t?n=window.setTimeout((()=>Ar.set(!0)),t):Ar.set(!0),fr(e).then((()=>{vr.set(e)})).finally((()=>{clearTimeout(n),Ar.set(!1)}))}return vr.set(e)}}),Tr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},Ir=(e,t)=>{const{formats:n}=mr();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Cr=Tr((e=>{var{locale:t,format:n}=e,r=dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Ir("number",n)),new Intl.NumberFormat(t,r)})),Rr=Tr((e=>{var{locale:t,format:n}=e,r=dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Ir("date",n):0===Object.keys(r).length&&(r=Ir("date","short")),new Intl.DateTimeFormat(t,r)})),Hr=Tr((e=>{var{locale:t,format:n}=e,r=dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Ir("time",n):0===Object.keys(r).length&&(r=Ir("time","short")),new Intl.DateTimeFormat(t,r)})),Sr=Tr(((e,t=Er())=>new er(e,t,mr().formats,{ignoreTag:mr().ignoreTag}))),Or=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Er(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=rr(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=mr()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==o?o:e;if(!a)return u;let h=u;try{h=Sr(u,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},kr=(e,t)=>((e={})=>{var{locale:t=Er()}=e,n=dr(e,["locale"]);return Hr(Object.assign({locale:t},n))})(t).format(e),Lr=(e,t)=>((e={})=>{var{locale:t=Er()}=e,n=dr(e,["locale"]);return Rr(Object.assign({locale:t},n))})(t).format(e),xr=(e,t)=>((e={})=>{var{locale:t=Er()}=e,n=dr(e,["locale"]);return Cr(Object.assign({locale:t},n))})(t).format(e),Pr=(e,t=Er())=>rr(e,t),Nr=mt([Br,or],(()=>Or));function Dr(e,t){lr(e,t)}mt([Br],(()=>kr)),mt([Br],(()=>Lr)),mt([Br],(()=>xr)),mt([Br,or],(()=>Pr)),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 Mr={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 Ur=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){
648
+ ***************************************************************************** */function dr(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}const gr={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 mr(){return gr}const Ar=gt(!1);let yr;const vr=gt(null);function br(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function wr(e,t=mr().fallbackLocale){const n=br(e);return t?[...new Set([...n,...br(t)])]:n}function Er(){return null!=yr?yr:void 0}vr.subscribe((e=>{yr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Br=Object.assign(Object.assign({},vr),{set:e=>{if(e&&function(e){if(null==e)return;const t=wr(e);for(let e=0;e<t.length;e++){const n=t[e];if(sr(n))return n}}(e)&&hr(e)){const{loadingDelay:t}=mr();let n;return"undefined"!=typeof window&&null!=Er()&&t?n=window.setTimeout((()=>Ar.set(!0)),t):Ar.set(!0),fr(e).then((()=>{vr.set(e)})).finally((()=>{clearTimeout(n),Ar.set(!1)}))}return vr.set(e)}}),Tr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},Ir=(e,t)=>{const{formats:n}=mr();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Cr=Tr((e=>{var{locale:t,format:n}=e,r=dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Ir("number",n)),new Intl.NumberFormat(t,r)})),Rr=Tr((e=>{var{locale:t,format:n}=e,r=dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Ir("date",n):0===Object.keys(r).length&&(r=Ir("date","short")),new Intl.DateTimeFormat(t,r)})),Hr=Tr((e=>{var{locale:t,format:n}=e,r=dr(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Ir("time",n):0===Object.keys(r).length&&(r=Ir("time","short")),new Intl.DateTimeFormat(t,r)})),Sr=Tr(((e,t=Er())=>new er(e,t,mr().formats,{ignoreTag:mr().ignoreTag}))),Or=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Er(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=rr(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=mr()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==o?o:e;if(!a)return u;let h=u;try{h=Sr(u,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},kr=(e,t)=>((e={})=>{var{locale:t=Er()}=e,n=dr(e,["locale"]);return Hr(Object.assign({locale:t},n))})(t).format(e),Lr=(e,t)=>((e={})=>{var{locale:t=Er()}=e,n=dr(e,["locale"]);return Rr(Object.assign({locale:t},n))})(t).format(e),xr=(e,t)=>((e={})=>{var{locale:t=Er()}=e,n=dr(e,["locale"]);return Cr(Object.assign({locale:t},n))})(t).format(e),Pr=(e,t=Er())=>rr(e,t),Nr=mt([Br,or],(()=>Or));function Dr(e,t){lr(e,t)}mt([Br],(()=>kr)),mt([Br],(()=>Lr)),mt([Br],(()=>xr)),mt([Br,or],(()=>Pr)),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 Mr={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 Ur=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){
649
649
  /** @license
650
650
  * eventsource.js
651
651
  * Available under MIT License (MIT)