@everymatrix/casino-winners 1.49.2 → 1.50.0

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.
@@ -4325,12 +4325,12 @@ if (typeof window != "undefined") {
4325
4325
  }
4326
4326
  };
4327
4327
  };
4328
- customElements.define = e(customElements.define), import("./GeneralAnimationLoading-D5ELnqTC.js").then(({ default: t }) => {
4328
+ customElements.define = e(customElements.define), import("./GeneralAnimationLoading-BrS5LqdY.js").then(({ default: t }) => {
4329
4329
  !customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
4330
4330
  });
4331
4331
  }
4332
4332
  function Ko(e) {
4333
- Pn(e, "svelte-14orrs9", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
4333
+ Pn(e, "svelte-157tecu", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
4334
4334
  }
4335
4335
  function fr(e, t, r) {
4336
4336
  const n = e.slice();
@@ -2,4 +2,4 @@
2
2
  Try polyfilling it using "@formatjs/intl-pluralrules"
3
3
  `,pe.MISSING_INTL_API,s);var A=r.getPluralRules(t,{type:c.pluralType}).select(f-(c.offset||0));T=c.options[A]||c.options.other}if(!T)throw new Kt(c.value,f,Object.keys(c.options),s);a.push.apply(a,Re(T.value,t,r,n,i,f-(c.offset||0)));continue}}return Yi(a)}function eo(e,t){return t?w(w(w({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=w(w({},e[n]),t[n]||{}),r},{})):e}function to(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=eo(e[n],t[n]),r},w({},e)):e}function nt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function ro(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:tt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,ce([void 0],r,!1)))},{cache:nt(e.number),strategy:rt.variadic}),getDateTimeFormat:tt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,ce([void 0],r,!1)))},{cache:nt(e.dateTime),strategy:rt.variadic}),getPluralRules:tt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,ce([void 0],r,!1)))},{cache:nt(e.pluralRules),strategy:rt.variadic})}}var no=function(){function e(t,r,n,i){var o=this;if(r===void 0&&(r=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=o.formatToParts(u);if(l.length===1)return l[0].value;var c=l.reduce(function(d,f){return!d.length||f.type!==W.literal||typeof d[d.length-1]!="string"?d.push(f.value):d[d.length-1]+=f.value,d},[]);return c.length<=1?c[0]||"":c},this.formatToParts=function(u){return Re(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var s=i||{};s.formatters;var a=di(s,["formatters"]);this.ast=e.__parse(t,w(w({},a),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=to(e.formats,n),this.formatters=i&&i.formatters||ro(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(typeof Intl.Locale!="undefined"){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=$i,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}();function io(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[i]]}else n=void 0;return n}const te={},oo=(e,t,r)=>r&&(t in te||(te[t]={}),e in te[t]||(te[t][e]=r),r),Xr=(e,t)=>{if(t==null)return;if(t in te&&e in te[t])return te[t][e];const r=ke(t);for(let n=0;n<r.length;n++){const i=r[n],o=ao(i,e);if(o)return oo(e,t,o)}};let Ht;const He=je({});function so(e){return Ht[e]||null}function zr(e){return e in Ht}function ao(e,t){if(!zr(e))return null;const r=so(e);return io(r,t)}function uo(e){if(e==null)return;const t=ke(e);for(let r=0;r<t.length;r++){const n=t[r];if(zr(n))return n}}function Zr(e,...t){delete te[e],He.update(r=>(r[e]=fi.all([r[e]||{},...t]),r))}ge([He],([e])=>Object.keys(e));He.subscribe(e=>Ht=e);const Ue={};function lo(e,t){Ue[e].delete(t),Ue[e].size===0&&delete Ue[e]}function Qr(e){return Ue[e]}function ho(e){return ke(e).map(t=>{const r=Qr(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function yt(e){return e==null?!1:ke(e).some(t=>{var r;return(r=Qr(t))==null?void 0:r.size})}function co(e,t){return Promise.all(t.map(n=>(lo(e,n),n().then(i=>i.default||i)))).then(n=>Zr(e,...n))}const _e={};function qr(e){if(!yt(e))return e in _e?_e[e]:Promise.resolve();const t=ho(e);return _e[e]=Promise.all(t.map(([r,n])=>co(r,n))).then(()=>{if(yt(e))return qr(e);delete _e[e]}),_e[e]}const fo={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"}}},po={fallbackLocale:null,loadingDelay:200,formats:fo,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},mo=po;function me(){return mo}const it=je(!1);var bo=Object.defineProperty,go=Object.defineProperties,yo=Object.getOwnPropertyDescriptors,er=Object.getOwnPropertySymbols,vo=Object.prototype.hasOwnProperty,_o=Object.prototype.propertyIsEnumerable,tr=(e,t,r)=>t in e?bo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Eo=(e,t)=>{for(var r in t||(t={}))vo.call(t,r)&&tr(e,r,t[r]);if(er)for(var r of er(t))_o.call(t,r)&&tr(e,r,t[r]);return e},xo=(e,t)=>go(e,yo(t));let vt;const Ge=je(null);function rr(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function ke(e,t=me().fallbackLocale){const r=rr(e);return t?[...new Set([...r,...rr(t)])]:r}function re(){return vt!=null?vt:void 0}Ge.subscribe(e=>{vt=e!=null?e:void 0,typeof window!="undefined"&&e!=null&&document.documentElement.setAttribute("lang",e)});const wo=e=>{if(e&&uo(e)&&yt(e)){const{loadingDelay:t}=me();let r;return typeof window!="undefined"&&re()!=null&&t?r=window.setTimeout(()=>it.set(!0),t):it.set(!0),qr(e).then(()=>{Ge.set(e)}).finally(()=>{clearTimeout(r),it.set(!1)})}return Ge.set(e)},ye=xo(Eo({},Ge),{set:wo}),Ve=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var So=Object.defineProperty,We=Object.getOwnPropertySymbols,Jr=Object.prototype.hasOwnProperty,Yr=Object.prototype.propertyIsEnumerable,nr=(e,t,r)=>t in e?So(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Bt=(e,t)=>{for(var r in t||(t={}))Jr.call(t,r)&&nr(e,r,t[r]);if(We)for(var r of We(t))Yr.call(t,r)&&nr(e,r,t[r]);return e},ve=(e,t)=>{var r={};for(var n in e)Jr.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&We)for(var n of We(e))t.indexOf(n)<0&&Yr.call(e,n)&&(r[n]=e[n]);return r};const Te=(e,t)=>{const{formats:r}=me();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},To=Ve(e=>{var t=e,{locale:r,format:n}=t,i=ve(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Te("number",n)),new Intl.NumberFormat(r,i)}),Ho=Ve(e=>{var t=e,{locale:r,format:n}=t,i=ve(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Te("date",n):Object.keys(i).length===0&&(i=Te("date","short")),new Intl.DateTimeFormat(r,i)}),Bo=Ve(e=>{var t=e,{locale:r,format:n}=t,i=ve(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Te("time",n):Object.keys(i).length===0&&(i=Te("time","short")),new Intl.DateTimeFormat(r,i)}),Ao=(e={})=>{var t=e,{locale:r=re()}=t,n=ve(t,["locale"]);return To(Bt({locale:r},n))},Co=(e={})=>{var t=e,{locale:r=re()}=t,n=ve(t,["locale"]);return Ho(Bt({locale:r},n))},Po=(e={})=>{var t=e,{locale:r=re()}=t,n=ve(t,["locale"]);return Bo(Bt({locale:r},n))},Oo=Ve((e,t=re())=>new no(e,t,me().formats,{ignoreTag:me().ignoreTag})),Io=(e,t={})=>{var r,n,i,o;let s=t;typeof e=="object"&&(s=e,e=s.id);const{values:a,locale:u=re(),default:l}=s;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Xr(e,u);if(!c)c=(o=(i=(n=(r=me()).handleMissingMessage)==null?void 0:n.call(r,{locale:u,id:e,defaultValue:l}))!=null?i:l)!=null?o:e;else if(typeof c!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c;if(!a)return c;let d=c;try{d=Oo(c,u).format(a)}catch(f){f instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,f.message)}return d},No=(e,t)=>Po(t).format(e),Mo=(e,t)=>Co(t).format(e),Lo=(e,t)=>Ao(t).format(e),Ro=(e,t=re())=>Xr(e,t),Uo=ge([ye,He],()=>Io);ge([ye],()=>No);ge([ye],()=>Mo);ge([ye],()=>Lo);ge([ye,He],()=>Ro);function ir(e,t){Zr(e,t)}function Do(e){ye.set(e)}const or={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"}};function Y(e){return typeof e=="function"}function Kr(e){var t=function(n){Error.call(n),n.stack=new Error().stack},r=e(t);return r.prototype=Object.create(Error.prototype),r.prototype.constructor=r,r}var ot=Kr(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
4
4
  `+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
5
- `):"",this.name="UnsubscriptionError",this.errors=r}});function _t(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Xe=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=ht(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(b){t={error:b}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var c=this.initialTeardown;if(Y(c))try{c()}catch(b){o=b instanceof ot?b.errors:[b]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var f=ht(d),p=f.next();!p.done;p=f.next()){var y=p.value;try{sr(y)}catch(b){o=o!=null?o:[],b instanceof ot?o=ce(ce([],ct(o)),ct(b.errors)):o.push(b)}}}catch(b){n={error:b}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}if(o)throw new ot(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)sr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&_t(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&_t(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),en=Xe.EMPTY;function tn(e){return e instanceof Xe||e&&"closed"in e&&Y(e.remove)&&Y(e.add)&&Y(e.unsubscribe)}function sr(e){Y(e)?e():e.unsubscribe()}var rn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},nn={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,ce([e,t],ct(r)))},clearTimeout:function(e){var t=nn.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Fo(e){nn.setTimeout(function(){throw e})}function ar(){}function De(e){e()}var on=function(e){K(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,tn(r)&&r.add(n)):n.destination=$o,n}return t.create=function(r,n,i){return new Et(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Xe),Go=Function.prototype.bind;function st(e,t){return Go.call(e,t)}var Wo=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Me(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Me(n)}else Me(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Me(r)}},e}(),Et=function(e){K(t,e);function t(r,n,i){var o=e.call(this)||this,s;if(Y(r)||!r)s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0};else{var a;o&&rn.useDeprecatedNextContext?(a=Object.create(r),a.unsubscribe=function(){return o.unsubscribe()},s={next:r.next&&st(r.next,a),error:r.error&&st(r.error,a),complete:r.complete&&st(r.complete,a)}):s=r}return o.destination=new Wo(s),o}return t}(on);function Me(e){Fo(e)}function jo(e){throw e}var $o={closed:!0,next:ar,error:jo,complete:ar},ko=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Vo(e){return e}function Xo(e){return e.length===0?Vo:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var ur=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=Zo(t)?t:new Et(t,r,n);return De(function(){var s=i,a=s.operator,u=s.source;o.add(a?a.call(o,u):u?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=lr(r),new r(function(i,o){var s=new Et({next:function(a){try{t(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[ko]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Xo(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=lr(t),new t(function(n,i){var o;r.subscribe(function(s){return o=s},function(s){return i(s)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function lr(e){var t;return(t=e!=null?e:rn.Promise)!==null&&t!==void 0?t:Promise}function zo(e){return e&&Y(e.next)&&Y(e.error)&&Y(e.complete)}function Zo(e){return e&&e instanceof on||zo(e)&&tn(e)}var Qo=Kr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),sn=function(e){K(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new hr(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Qo},t.prototype.next=function(r){var n=this;De(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=ht(n.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(r)}}catch(l){i={error:l}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;De(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;De(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?en:(this.currentObservers=null,a.push(r),new Xe(function(){n.currentObservers=null,_t(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,s=n.isStopped;i?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new ur;return r.source=this,r},t.create=function(r,n){return new hr(r,n)},t}(ur),hr=function(e){K(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:en},t}(sn),an={now:function(){return(an.delegate||Date).now()},delegate:void 0},qo=function(e){K(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=an);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,u=n._windowTime;i||(o.push(r),!s&&o.push(a.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),u=0;u<a.length&&!r.closed;u+=o?1:2)r.next(a[u]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*n;if(n<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var u=i.now(),l=0,c=1;c<o.length&&o[c]<=u;c+=2)l=c;l&&o.splice(0,l+1)}},t}(sn);const cr=[],fr={},Jo=(e,t=0)=>{if(cr.indexOf(e)==-1){const r=new qo(t);fr[e]=r,cr.push(e)}return fr[e]};window.emWidgets={topic:Jo};const Yo=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-DrA70hQW.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Ko(e){xr(e,"svelte-14orrs9","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emfe-w-color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function dr(e,t,r){const n=e.slice();return n[70]=t[r],n}function pr(e,t,r){const n=e.slice();return n[73]=t[r],n}function es(e){let t,r,n,i,o,s,a,u,l,c,d,f,p,y,b,O,R,M,T,A=Fe(e[17]),x=[];for(let g=0;g<A.length;g+=1)x[g]=yr(pr(e,A,g));function G(g,N){return g[18]?ns:rs}let F=G(e),L=F(e);return{c(){t=P("div"),r=P("div"),n=P("div");for(let g=0;g<x.length;g+=1)x[g].c();i=Q(),o=P("div"),s=P("button"),a=Ie("svg"),u=Ie("path"),c=Q(),d=P("button"),f=Ie("svg"),p=Ie("path"),O=Q(),L.c(),m(n,"class","WinnerButtonsContainer"),m(u,"style",l=e[12]>=e[11].length?"fill:#F6F6F62E":""),m(u,"id","Path_36"),m(u,"data-name","Path 36"),m(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),m(u,"transform","translate(14.656 0) rotate(90)"),m(u,"fill","#fff"),m(a,"id","Component_46_2"),m(a,"data-name","Component 46 – 2"),m(a,"xmlns","http://www.w3.org/2000/svg"),m(a,"width","15"),m(a,"height","15"),m(a,"viewBox","0 0 16 24.656"),m(s,"class","SliderButton"),m(p,"style",y=e[12]>=e[11].length?"fill:#F6F6F62E":""),m(p,"id","Path_36"),m(p,"data-name","Path 36"),m(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),m(p,"transform","translate(0 24.656) rotate(-90)"),m(p,"fill","#fff"),m(f,"id","Component_46_2"),m(f,"data-name","Component 46 – 2"),m(f,"xmlns","http://www.w3.org/2000/svg"),m(f,"width","15"),m(f,"height","15"),m(f,"viewBox","0 0 16 24.656"),m(d,"class","SliderButton"),m(o,"class",b="ButtonsContainer "+(e[6]=="true"?"ButtonsContainerNone":"")),m(r,"class","WinnersHeader"),m(t,"class",R="CasinoWinners "+(e[13]?"Mobile":""))},m(g,N){k(g,t,N),E(t,r),E(r,n);for(let S=0;S<x.length;S+=1)x[S]&&x[S].m(n,null);E(r,i),E(r,o),E(o,s),E(s,a),E(a,u),E(o,c),E(o,d),E(d,f),E(f,p),E(t,O),L.m(t,null),M||(T=[xe(s,"click",e[43]),xe(d,"click",e[44])],M=!0)},p(g,N){if(N[0]&3277827){A=Fe(g[17]);let S;for(S=0;S<A.length;S+=1){const C=pr(g,A,S);x[S]?x[S].p(C,N):(x[S]=yr(C),x[S].c(),x[S].m(n,null))}for(;S<x.length;S+=1)x[S].d(1);x.length=A.length}N[0]&6144&&l!==(l=g[12]>=g[11].length?"fill:#F6F6F62E":"")&&m(u,"style",l),N[0]&6144&&y!==(y=g[12]>=g[11].length?"fill:#F6F6F62E":"")&&m(p,"style",y),N[0]&64&&b!==(b="ButtonsContainer "+(g[6]=="true"?"ButtonsContainerNone":""))&&m(o,"class",b),F===(F=G(g))&&L?L.p(g,N):(L.d(1),L=F(g),L&&(L.c(),L.m(t,null))),N[0]&8192&&R!==(R="CasinoWinners "+(g[13]?"Mobile":""))&&m(t,"class",R)},d(g){g&&$(t),wr(x,g),L.d(),M=!1,be(T)}}}function ts(e){let t;return{c(){t=P("general-animation-loading"),ee(t,"clientstyling",e[4]),ee(t,"clientstylingurl",e[5])},m(r,n){k(r,t,n)},p(r,n){n[0]&16&&ee(t,"clientstyling",r[4]),n[0]&32&&ee(t,"clientstylingurl",r[5])},d(r){r&&$(t)}}}function mr(e){let t,r=e[0]==="true"&&br(e);return{c(){r&&r.c(),t=Sr()},m(n,i){r&&r.m(n,i),k(n,t,i)},p(n,i){n[0]==="true"?r?r.p(n,i):(r=br(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&$(t),r&&r.d(n)}}}function br(e){let t,r,n,i,o;return{c(){t=P("button"),r=J("Recent Winners"),m(t,"class",n="WinnersButton "+(e[10]=="recent"?"Active":""))},m(s,a){k(s,t,a),E(t,r),i||(o=xe(t,"click",e[41]),i=!0)},p(s,a){a[0]&1024&&n!==(n="WinnersButton "+(s[10]=="recent"?"Active":""))&&m(t,"class",n)},d(s){s&&$(t),i=!1,o()}}}function gr(e){let t,r=e[20]("topWinners")+"",n,i,o,s,a;return{c(){t=P("button"),n=J(r),i=Q(),m(t,"class",o="WinnersButton "+(e[10]=="top"?"Active":"")+" "+(e[1]=="false"?"Off":""))},m(u,l){k(u,t,l),E(t,n),E(t,i),s||(a=xe(t,"click",e[42]),s=!0)},p(u,l){l[0]&1048576&&r!==(r=u[20]("topWinners")+"")&&ae(n,r),l[0]&1026&&o!==(o="WinnersButton "+(u[10]=="top"?"Active":"")+" "+(u[1]=="false"?"Off":""))&&m(t,"class",o)},d(u){u&&$(t),s=!1,a()}}}function yr(e){let t,r,n=e[73]=="recent"&&mr(e),i=e[73]=="top"&&gr(e);return{c(){n&&n.c(),t=Q(),i&&i.c(),r=Sr()},m(o,s){n&&n.m(o,s),k(o,t,s),i&&i.m(o,s),k(o,r,s)},p(o,s){o[73]=="recent"?n?n.p(o,s):(n=mr(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),o[73]=="top"?i?i.p(o,s):(i=gr(o),i.c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(o){o&&($(t),$(r)),n&&n.d(o),i&&i.d(o)}}}function rs(e){let t,r=Fe(e[11]),n=[];for(let i=0;i<r.length;i+=1)n[i]=vr(dr(e,r,i));return{c(){t=P("div");for(let i=0;i<n.length;i+=1)n[i].c();m(t,"class","WinnersSlider")},m(i,o){k(i,t,o);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(t,null);e[47](t)},p(i,o){if(o[0]&14223500){r=Fe(i[11]);let s;for(s=0;s<r.length;s+=1){const a=dr(i,r,s);n[s]?n[s].p(a,o):(n[s]=vr(a),n[s].c(),n[s].m(t,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&$(t),wr(n,i),e[47](null)}}}function ns(e){let t;return{c(){t=P("general-animation-loading"),ee(t,"clientstyling",e[4]),ee(t,"clientstylingurl",e[5])},m(r,n){k(r,t,n)},p(r,n){n[0]&16&&ee(t,"clientstyling",r[4]),n[0]&32&&ee(t,"clientstylingurl",r[5])},d(r){r&&$(t)}}}function vr(e){let t,r,n,i,o,s,a,u=e[70].gameName+"",l,c,d,f=e[22](e[70].username)+"",p,y,b,O=e[20]("won")+"",R,M,T,A=e[70].specifiedCurrencyAmount.toFixed(2)+"",x,G,F,L=(e[7]?e[3]:e[2])+"",g,N,S,C,D;function ze(){return e[45](e[70])}return{c(){var Z,U,q,j;t=P("div"),r=P("div"),n=P("img"),s=Q(),a=P("p"),l=J(u),c=Q(),d=P("p"),p=J(f),y=Q(),b=P("p"),R=J(O),M=Q(),T=P("p"),x=J(A),G=Q(),F=P("span"),g=J(L),N=Q(),$t(n.src,i=(U=(Z=e[70])==null?void 0:Z.gameModel)==null?void 0:U.thumbnail)||m(n,"src",i),m(n,"alt",o=(j=(q=e[70])==null?void 0:q.gameModel)==null?void 0:j.thumbnail),m(n,"class","WinnersImage"),m(b,"class","WinnerUsername"),m(r,"class","WinnerCard"),m(t,"class",S="CardWrapper "+(e[16]?"CardWrapperAnimation":""))},m(Z,U){k(Z,t,U),E(t,r),E(r,n),E(r,s),E(r,a),E(a,l),E(r,c),E(r,d),E(d,p),E(r,y),E(r,b),E(b,R),E(r,M),E(r,T),E(T,x),E(T,G),E(T,F),E(F,g),E(t,N),e[46](t),C||(D=xe(n,"click",ze),C=!0)},p(Z,U){var q,j,ne,ie;e=Z,U[0]&2048&&!$t(n.src,i=(j=(q=e[70])==null?void 0:q.gameModel)==null?void 0:j.thumbnail)&&m(n,"src",i),U[0]&2048&&o!==(o=(ie=(ne=e[70])==null?void 0:ne.gameModel)==null?void 0:ie.thumbnail)&&m(n,"alt",o),U[0]&2048&&u!==(u=e[70].gameName+"")&&ae(l,u),U[0]&2048&&f!==(f=e[22](e[70].username)+"")&&ae(p,f),U[0]&1048576&&O!==(O=e[20]("won")+"")&&ae(R,O),U[0]&2048&&A!==(A=e[70].specifiedCurrencyAmount.toFixed(2)+"")&&ae(x,A),U[0]&140&&L!==(L=(e[7]?e[3]:e[2])+"")&&ae(g,L),U[0]&65536&&S!==(S="CardWrapper "+(e[16]?"CardWrapperAnimation":""))&&m(t,"class",S)},d(Z){Z&&$(t),e[46](null),C=!1,D()}}}function is(e){let t;function r(o,s){return o[14]||o[15]?ts:es}let n=r(e),i=n(e);return{c(){t=P("div"),i.c()},m(o,s){k(o,t,s),i.m(t,null),e[48](t)},p(o,s){n===(n=r(o))&&i?i.p(o,s):(i.d(1),i=n(o),i&&(i.c(),i.m(t,null)))},i:z,o:z,d(o){o&&$(t),i.d(),e[48](null)}}}function os(e,t,r){let n;Nn(e,Uo,h=>r(20,n=h));let{endpoint:i=""}=t,{session:o=""}=t,{userid:s=""}=t,{periodrecent:a="Today"}=t,{periodtop:u="Last7Days"}=t,{numberusersrecent:l="20"}=t,{numberuserstop:c="20"}=t,{amountlimit:d="1"}=t,{vendorCategory:f="All"}=t,{lang:p="en"}=t,{isrecentavailable:y="true"}=t,{istopavailable:b="true"}=t,{defaultcurrency:O=""}=t,{usercurrency:R=""}=t,{clientstyling:M=""}=t,{clientstylingurl:T=""}=t,{enableautoscroll:A=""}=t,{tabsorder:x=""}=t,{translationurl:G=""}=t,{winnersdatasources:F=""}=t,{hascustomstyling:L="false"}=t,g,N,S=[],C=0,D=0,ze=window.navigator.userAgent,Z,U,q,j,ne=!0,ie=!1,At=!1,Ct,Be,Ze,Ae,Pt=[],Qe=!1,Ce,Ot=0;const ln=()=>{let h=new URL(G);fetch(h.href).then(I=>I.json()).then(I=>{Object.keys(I).forEach(V=>{ir(V,I[V])})}).catch(I=>{console.log(I)})};Object.keys(or).forEach(h=>{ir(h,or[h])});const It=()=>{Pt=F.split(",").map(function(I){return I.trim()});const h=new URL(`${i}/v1/casino/${N}-winners`);r(18,Qe=!0),h.searchParams.append("limit",N=="recent"?l:c),h.searchParams.append("specifiedCurrency",Ae),h.searchParams.append("period",N=="recent"?a:u),h.searchParams.append("language",p),h.searchParams.append("amountLimit",d),h.searchParams.append("vendorCategory",f),Pt.forEach(I=>{h.searchParams.append("dataSource",I)}),setTimeout(()=>{fetch(h.href).then(I=>I.json()).then(I=>{r(11,S=[]),r(11,S=I.items.map(V=>V)),r(18,Qe=!1),setTimeout(()=>{fn(),Mt(),A=="true"&&(clearInterval(Be),cn()),r(14,ne=!1)},5)})},1e3)},qe=h=>{N!==h&&(r(11,S=[]),r(10,N=h),It())},hn=h=>h.slice(0,2)+h.slice(2,-2).replace(/./g,"*")+h.slice(-2),Nt=(h,I,V,Pe)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:h,launchUrl:I,gameName:V,subVendor:Pe},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${h}`,userId:`${q||"Not logged in"}`})},Mt=h=>{const I=[...g.children];Ct=I.length,I.forEach((V,Pe)=>{V.style.transform=`translateX(${100*(h?Pe-h:Pe)}%)`}),setTimeout(()=>{r(16,At=!0)},10)},cn=()=>{C=0,D<Ct?Be=setInterval(()=>{Je()},3e3):clearInterval(Be)},Lt=()=>{Mt(C)},fn=()=>{Ot=Ce.offsetWidth,r(12,D=Math.round(g.offsetWidth/Ot))},Rt=()=>{if(D>=S.length)return;const h=S.length;C===0?C=h-D:C-D<0?C=0:C=C-D,Lt()},Je=()=>{if(D>=S.length)return;const h=S.length;A=="true"&&(C===h-D?C=0:C++),A=="false"&&(C===h-D?C=0:h-D<C+D?C=h-D:C+=D),Lt()},dn=()=>{Do(p)},pn=()=>{r(7,U=!0),q=s},Ut=()=>{r(40,Ae=U?R:O)},mn=()=>{let h=document.createElement("style");h.innerHTML=M,j.appendChild(h)},bn=()=>{let h=new URL(T),I=document.createElement("style");fetch(h.href).then(V=>V.text()).then(V=>{I.innerHTML=V,setTimeout(()=>{j.appendChild(I)},1),setTimeout(()=>{},500),r(15,ie=!1)})},gn=()=>{L==="true"&&(!M&&!T&&j&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!M&&T&&r(15,ie=!0))},yn=()=>{r(17,Ze=x.split(",")),r(10,N=Ze[0]),Ut(),r(14,ne=!1)};Fn(()=>(r(13,Z=Yo(ze)),()=>{clearInterval(Be)}));const vn=()=>qe("recent"),_n=()=>qe("top"),En=()=>Rt(),xn=()=>Je(),wn=h=>Nt(h.gameId,h.gameModel.launchUrl,h.gameModel.name,h.gameModel.subVendor);function Sn(h){le[h?"unshift":"push"](()=>{Ce=h,r(19,Ce)})}function Tn(h){le[h?"unshift":"push"](()=>{g=h,r(9,g)})}function Hn(h){le[h?"unshift":"push"](()=>{j=h,r(8,j)})}return e.$$set=h=>{"endpoint"in h&&r(26,i=h.endpoint),"session"in h&&r(27,o=h.session),"userid"in h&&r(28,s=h.userid),"periodrecent"in h&&r(29,a=h.periodrecent),"periodtop"in h&&r(30,u=h.periodtop),"numberusersrecent"in h&&r(31,l=h.numberusersrecent),"numberuserstop"in h&&r(32,c=h.numberuserstop),"amountlimit"in h&&r(33,d=h.amountlimit),"vendorCategory"in h&&r(34,f=h.vendorCategory),"lang"in h&&r(35,p=h.lang),"isrecentavailable"in h&&r(0,y=h.isrecentavailable),"istopavailable"in h&&r(1,b=h.istopavailable),"defaultcurrency"in h&&r(2,O=h.defaultcurrency),"usercurrency"in h&&r(3,R=h.usercurrency),"clientstyling"in h&&r(4,M=h.clientstyling),"clientstylingurl"in h&&r(5,T=h.clientstylingurl),"enableautoscroll"in h&&r(6,A=h.enableautoscroll),"tabsorder"in h&&r(36,x=h.tabsorder),"translationurl"in h&&r(37,G=h.translationurl),"winnersdatasources"in h&&r(38,F=h.winnersdatasources),"hascustomstyling"in h&&r(39,L=h.hascustomstyling)},e.$$.update=()=>{e.$$.dirty[0]&1610612739|e.$$.dirty[1]&63&&y&&b&&a&&u&&l&&c&&d&&f&&p&&x&&yn(),e.$$.dirty[0]&134217728&&o&&pn(),e.$$.dirty[0]&140&&U&&(R||O)&&Ut(),e.$$.dirty[0]&67108864|e.$$.dirty[1]&640&&i&&F&&Ae&&It(),e.$$.dirty[1]&16&&p&&dn(),e.$$.dirty[1]&64&&G&&ln(),e.$$.dirty[1]&256&&L&&gn(),e.$$.dirty[0]&272&&M&&j&&mn(),e.$$.dirty[0]&288&&T&&j&&bn()},[y,b,O,R,M,T,A,U,j,g,N,S,D,Z,ne,ie,At,Ze,Qe,Ce,n,qe,hn,Nt,Rt,Je,i,o,s,a,u,l,c,d,f,p,x,G,F,L,Ae,vn,_n,En,xn,wn,Sn,Tn,Hn]}class un extends Ar{constructor(t){super(),Tr(this,t,os,is,wt,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:33,vendorCategory:34,lang:35,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:36,translationurl:37,winnersdatasources:38,hascustomstyling:39},Ko,[-1,-1,-1])}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),H()}get session(){return this.$$.ctx[27]}set session(t){this.$$set({session:t}),H()}get userid(){return this.$$.ctx[28]}set userid(t){this.$$set({userid:t}),H()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(t){this.$$set({periodrecent:t}),H()}get periodtop(){return this.$$.ctx[30]}set periodtop(t){this.$$set({periodtop:t}),H()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),H()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(t){this.$$set({numberuserstop:t}),H()}get amountlimit(){return this.$$.ctx[33]}set amountlimit(t){this.$$set({amountlimit:t}),H()}get vendorCategory(){return this.$$.ctx[34]}set vendorCategory(t){this.$$set({vendorCategory:t}),H()}get lang(){return this.$$.ctx[35]}set lang(t){this.$$set({lang:t}),H()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),H()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),H()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),H()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(t){this.$$set({usercurrency:t}),H()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),H()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),H()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),H()}get tabsorder(){return this.$$.ctx[36]}set tabsorder(t){this.$$set({tabsorder:t}),H()}get translationurl(){return this.$$.ctx[37]}set translationurl(t){this.$$set({translationurl:t}),H()}get winnersdatasources(){return this.$$.ctx[38]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),H()}get hascustomstyling(){return this.$$.ctx[39]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),H()}}Br(un,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{}},[],[],!0);const ss=Object.freeze(Object.defineProperty({__proto__:null,default:un},Symbol.toStringTag,{value:"Module"}));exports.CasinoWinners_ce=ss;exports.SvelteComponent=Ar;exports.append_styles=xr;exports.binding_callbacks=le;exports.create_custom_element=Br;exports.detach=$;exports.element=P;exports.flush=H;exports.init=Tr;exports.insert=k;exports.noop=z;exports.safe_not_equal=wt;
5
+ `):"",this.name="UnsubscriptionError",this.errors=r}});function _t(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var Xe=function(){function e(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var t,r,n,i,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var a=ht(s),u=a.next();!u.done;u=a.next()){var l=u.value;l.remove(this)}}catch(b){t={error:b}}finally{try{u&&!u.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}else s.remove(this);var c=this.initialTeardown;if(Y(c))try{c()}catch(b){o=b instanceof ot?b.errors:[b]}var d=this._finalizers;if(d){this._finalizers=null;try{for(var f=ht(d),p=f.next();!p.done;p=f.next()){var y=p.value;try{sr(y)}catch(b){o=o!=null?o:[],b instanceof ot?o=ce(ce([],ct(o)),ct(b.errors)):o.push(b)}}}catch(b){n={error:b}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}if(o)throw new ot(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)sr(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(r=this._finalizers)!==null&&r!==void 0?r:[]).push(t)}},e.prototype._hasParent=function(t){var r=this._parentage;return r===t||Array.isArray(r)&&r.includes(t)},e.prototype._addParent=function(t){var r=this._parentage;this._parentage=Array.isArray(r)?(r.push(t),r):r?[r,t]:t},e.prototype._removeParent=function(t){var r=this._parentage;r===t?this._parentage=null:Array.isArray(r)&&_t(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&_t(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),en=Xe.EMPTY;function tn(e){return e instanceof Xe||e&&"closed"in e&&Y(e.remove)&&Y(e.add)&&Y(e.unsubscribe)}function sr(e){Y(e)?e():e.unsubscribe()}var rn={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},nn={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,ce([e,t],ct(r)))},clearTimeout:function(e){var t=nn.delegate;return((t==null?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Fo(e){nn.setTimeout(function(){throw e})}function ar(){}function De(e){e()}var on=function(e){K(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,tn(r)&&r.add(n)):n.destination=$o,n}return t.create=function(r,n,i){return new Et(r,n,i)},t.prototype.next=function(r){this.isStopped||this._next(r)},t.prototype.error=function(r){this.isStopped||(this.isStopped=!0,this._error(r))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(r){this.destination.next(r)},t.prototype._error=function(r){try{this.destination.error(r)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Xe),Go=Function.prototype.bind;function st(e,t){return Go.call(e,t)}var Wo=function(){function e(t){this.partialObserver=t}return e.prototype.next=function(t){var r=this.partialObserver;if(r.next)try{r.next(t)}catch(n){Me(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Me(n)}else Me(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Me(r)}},e}(),Et=function(e){K(t,e);function t(r,n,i){var o=e.call(this)||this,s;if(Y(r)||!r)s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0};else{var a;o&&rn.useDeprecatedNextContext?(a=Object.create(r),a.unsubscribe=function(){return o.unsubscribe()},s={next:r.next&&st(r.next,a),error:r.error&&st(r.error,a),complete:r.complete&&st(r.complete,a)}):s=r}return o.destination=new Wo(s),o}return t}(on);function Me(e){Fo(e)}function jo(e){throw e}var $o={closed:!0,next:ar,error:jo,complete:ar},ko=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Vo(e){return e}function Xo(e){return e.length===0?Vo:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var ur=function(){function e(t){t&&(this._subscribe=t)}return e.prototype.lift=function(t){var r=new e;return r.source=this,r.operator=t,r},e.prototype.subscribe=function(t,r,n){var i=this,o=Zo(t)?t:new Et(t,r,n);return De(function(){var s=i,a=s.operator,u=s.source;o.add(a?a.call(o,u):u?i._subscribe(o):i._trySubscribe(o))}),o},e.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(r){t.error(r)}},e.prototype.forEach=function(t,r){var n=this;return r=lr(r),new r(function(i,o){var s=new Et({next:function(a){try{t(a)}catch(u){o(u),s.unsubscribe()}},error:o,complete:i});n.subscribe(s)})},e.prototype._subscribe=function(t){var r;return(r=this.source)===null||r===void 0?void 0:r.subscribe(t)},e.prototype[ko]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return Xo(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=lr(t),new t(function(n,i){var o;r.subscribe(function(s){return o=s},function(s){return i(s)},function(){return n(o)})})},e.create=function(t){return new e(t)},e}();function lr(e){var t;return(t=e!=null?e:rn.Promise)!==null&&t!==void 0?t:Promise}function zo(e){return e&&Y(e.next)&&Y(e.error)&&Y(e.complete)}function Zo(e){return e&&e instanceof on||zo(e)&&tn(e)}var Qo=Kr(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),sn=function(e){K(t,e);function t(){var r=e.call(this)||this;return r.closed=!1,r.currentObservers=null,r.observers=[],r.isStopped=!1,r.hasError=!1,r.thrownError=null,r}return t.prototype.lift=function(r){var n=new hr(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Qo},t.prototype.next=function(r){var n=this;De(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=ht(n.currentObservers),a=s.next();!a.done;a=s.next()){var u=a.value;u.next(r)}}catch(l){i={error:l}}finally{try{a&&!a.done&&(o=s.return)&&o.call(s)}finally{if(i)throw i.error}}}})},t.prototype.error=function(r){var n=this;De(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=r;for(var i=n.observers;i.length;)i.shift().error(r)}})},t.prototype.complete=function(){var r=this;De(function(){if(r._throwIfClosed(),!r.isStopped){r.isStopped=!0;for(var n=r.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var r;return((r=this.observers)===null||r===void 0?void 0:r.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(r){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,r)},t.prototype._subscribe=function(r){return this._throwIfClosed(),this._checkFinalizedStatuses(r),this._innerSubscribe(r)},t.prototype._innerSubscribe=function(r){var n=this,i=this,o=i.hasError,s=i.isStopped,a=i.observers;return o||s?en:(this.currentObservers=null,a.push(r),new Xe(function(){n.currentObservers=null,_t(a,r)}))},t.prototype._checkFinalizedStatuses=function(r){var n=this,i=n.hasError,o=n.thrownError,s=n.isStopped;i?r.error(o):s&&r.complete()},t.prototype.asObservable=function(){var r=new ur;return r.source=this,r},t.create=function(r,n){return new hr(r,n)},t}(ur),hr=function(e){K(t,e);function t(r,n){var i=e.call(this)||this;return i.destination=r,i.source=n,i}return t.prototype.next=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.next)===null||i===void 0||i.call(n,r)},t.prototype.error=function(r){var n,i;(i=(n=this.destination)===null||n===void 0?void 0:n.error)===null||i===void 0||i.call(n,r)},t.prototype.complete=function(){var r,n;(n=(r=this.destination)===null||r===void 0?void 0:r.complete)===null||n===void 0||n.call(r)},t.prototype._subscribe=function(r){var n,i;return(i=(n=this.source)===null||n===void 0?void 0:n.subscribe(r))!==null&&i!==void 0?i:en},t}(sn),an={now:function(){return(an.delegate||Date).now()},delegate:void 0},qo=function(e){K(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=an);var o=e.call(this)||this;return o._bufferSize=r,o._windowTime=n,o._timestampProvider=i,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,r),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(r){var n=this,i=n.isStopped,o=n._buffer,s=n._infiniteTimeWindow,a=n._timestampProvider,u=n._windowTime;i||(o.push(r),!s&&o.push(a.now()+u)),this._trimBuffer(),e.prototype.next.call(this,r)},t.prototype._subscribe=function(r){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(r),i=this,o=i._infiniteTimeWindow,s=i._buffer,a=s.slice(),u=0;u<a.length&&!r.closed;u+=o?1:2)r.next(a[u]);return this._checkFinalizedStatuses(r),n},t.prototype._trimBuffer=function(){var r=this,n=r._bufferSize,i=r._timestampProvider,o=r._buffer,s=r._infiniteTimeWindow,a=(s?1:2)*n;if(n<1/0&&a<o.length&&o.splice(0,o.length-a),!s){for(var u=i.now(),l=0,c=1;c<o.length&&o[c]<=u;c+=2)l=c;l&&o.splice(0,l+1)}},t}(sn);const cr=[],fr={},Jo=(e,t=0)=>{if(cr.indexOf(e)==-1){const r=new qo(t);fr[e]=r,cr.push(e)}return fr[e]};window.emWidgets={topic:Jo};const Yo=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));if(typeof window!="undefined"){let e=function(t){return function(...r){try{return t.apply(this,r)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=e(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-BQqOvv4n.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Ko(e){xr(e,"svelte-157tecu","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function dr(e,t,r){const n=e.slice();return n[70]=t[r],n}function pr(e,t,r){const n=e.slice();return n[73]=t[r],n}function es(e){let t,r,n,i,o,s,a,u,l,c,d,f,p,y,b,O,R,M,T,A=Fe(e[17]),x=[];for(let g=0;g<A.length;g+=1)x[g]=yr(pr(e,A,g));function G(g,N){return g[18]?ns:rs}let F=G(e),L=F(e);return{c(){t=P("div"),r=P("div"),n=P("div");for(let g=0;g<x.length;g+=1)x[g].c();i=Q(),o=P("div"),s=P("button"),a=Ie("svg"),u=Ie("path"),c=Q(),d=P("button"),f=Ie("svg"),p=Ie("path"),O=Q(),L.c(),m(n,"class","WinnerButtonsContainer"),m(u,"style",l=e[12]>=e[11].length?"fill:#F6F6F62E":""),m(u,"id","Path_36"),m(u,"data-name","Path 36"),m(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),m(u,"transform","translate(14.656 0) rotate(90)"),m(u,"fill","#fff"),m(a,"id","Component_46_2"),m(a,"data-name","Component 46 – 2"),m(a,"xmlns","http://www.w3.org/2000/svg"),m(a,"width","15"),m(a,"height","15"),m(a,"viewBox","0 0 16 24.656"),m(s,"class","SliderButton"),m(p,"style",y=e[12]>=e[11].length?"fill:#F6F6F62E":""),m(p,"id","Path_36"),m(p,"data-name","Path 36"),m(p,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),m(p,"transform","translate(0 24.656) rotate(-90)"),m(p,"fill","#fff"),m(f,"id","Component_46_2"),m(f,"data-name","Component 46 – 2"),m(f,"xmlns","http://www.w3.org/2000/svg"),m(f,"width","15"),m(f,"height","15"),m(f,"viewBox","0 0 16 24.656"),m(d,"class","SliderButton"),m(o,"class",b="ButtonsContainer "+(e[6]=="true"?"ButtonsContainerNone":"")),m(r,"class","WinnersHeader"),m(t,"class",R="CasinoWinners "+(e[13]?"Mobile":""))},m(g,N){k(g,t,N),E(t,r),E(r,n);for(let S=0;S<x.length;S+=1)x[S]&&x[S].m(n,null);E(r,i),E(r,o),E(o,s),E(s,a),E(a,u),E(o,c),E(o,d),E(d,f),E(f,p),E(t,O),L.m(t,null),M||(T=[xe(s,"click",e[43]),xe(d,"click",e[44])],M=!0)},p(g,N){if(N[0]&3277827){A=Fe(g[17]);let S;for(S=0;S<A.length;S+=1){const C=pr(g,A,S);x[S]?x[S].p(C,N):(x[S]=yr(C),x[S].c(),x[S].m(n,null))}for(;S<x.length;S+=1)x[S].d(1);x.length=A.length}N[0]&6144&&l!==(l=g[12]>=g[11].length?"fill:#F6F6F62E":"")&&m(u,"style",l),N[0]&6144&&y!==(y=g[12]>=g[11].length?"fill:#F6F6F62E":"")&&m(p,"style",y),N[0]&64&&b!==(b="ButtonsContainer "+(g[6]=="true"?"ButtonsContainerNone":""))&&m(o,"class",b),F===(F=G(g))&&L?L.p(g,N):(L.d(1),L=F(g),L&&(L.c(),L.m(t,null))),N[0]&8192&&R!==(R="CasinoWinners "+(g[13]?"Mobile":""))&&m(t,"class",R)},d(g){g&&$(t),wr(x,g),L.d(),M=!1,be(T)}}}function ts(e){let t;return{c(){t=P("general-animation-loading"),ee(t,"clientstyling",e[4]),ee(t,"clientstylingurl",e[5])},m(r,n){k(r,t,n)},p(r,n){n[0]&16&&ee(t,"clientstyling",r[4]),n[0]&32&&ee(t,"clientstylingurl",r[5])},d(r){r&&$(t)}}}function mr(e){let t,r=e[0]==="true"&&br(e);return{c(){r&&r.c(),t=Sr()},m(n,i){r&&r.m(n,i),k(n,t,i)},p(n,i){n[0]==="true"?r?r.p(n,i):(r=br(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&$(t),r&&r.d(n)}}}function br(e){let t,r,n,i,o;return{c(){t=P("button"),r=J("Recent Winners"),m(t,"class",n="WinnersButton "+(e[10]=="recent"?"Active":""))},m(s,a){k(s,t,a),E(t,r),i||(o=xe(t,"click",e[41]),i=!0)},p(s,a){a[0]&1024&&n!==(n="WinnersButton "+(s[10]=="recent"?"Active":""))&&m(t,"class",n)},d(s){s&&$(t),i=!1,o()}}}function gr(e){let t,r=e[20]("topWinners")+"",n,i,o,s,a;return{c(){t=P("button"),n=J(r),i=Q(),m(t,"class",o="WinnersButton "+(e[10]=="top"?"Active":"")+" "+(e[1]=="false"?"Off":""))},m(u,l){k(u,t,l),E(t,n),E(t,i),s||(a=xe(t,"click",e[42]),s=!0)},p(u,l){l[0]&1048576&&r!==(r=u[20]("topWinners")+"")&&ae(n,r),l[0]&1026&&o!==(o="WinnersButton "+(u[10]=="top"?"Active":"")+" "+(u[1]=="false"?"Off":""))&&m(t,"class",o)},d(u){u&&$(t),s=!1,a()}}}function yr(e){let t,r,n=e[73]=="recent"&&mr(e),i=e[73]=="top"&&gr(e);return{c(){n&&n.c(),t=Q(),i&&i.c(),r=Sr()},m(o,s){n&&n.m(o,s),k(o,t,s),i&&i.m(o,s),k(o,r,s)},p(o,s){o[73]=="recent"?n?n.p(o,s):(n=mr(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),o[73]=="top"?i?i.p(o,s):(i=gr(o),i.c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(o){o&&($(t),$(r)),n&&n.d(o),i&&i.d(o)}}}function rs(e){let t,r=Fe(e[11]),n=[];for(let i=0;i<r.length;i+=1)n[i]=vr(dr(e,r,i));return{c(){t=P("div");for(let i=0;i<n.length;i+=1)n[i].c();m(t,"class","WinnersSlider")},m(i,o){k(i,t,o);for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(t,null);e[47](t)},p(i,o){if(o[0]&14223500){r=Fe(i[11]);let s;for(s=0;s<r.length;s+=1){const a=dr(i,r,s);n[s]?n[s].p(a,o):(n[s]=vr(a),n[s].c(),n[s].m(t,null))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&$(t),wr(n,i),e[47](null)}}}function ns(e){let t;return{c(){t=P("general-animation-loading"),ee(t,"clientstyling",e[4]),ee(t,"clientstylingurl",e[5])},m(r,n){k(r,t,n)},p(r,n){n[0]&16&&ee(t,"clientstyling",r[4]),n[0]&32&&ee(t,"clientstylingurl",r[5])},d(r){r&&$(t)}}}function vr(e){let t,r,n,i,o,s,a,u=e[70].gameName+"",l,c,d,f=e[22](e[70].username)+"",p,y,b,O=e[20]("won")+"",R,M,T,A=e[70].specifiedCurrencyAmount.toFixed(2)+"",x,G,F,L=(e[7]?e[3]:e[2])+"",g,N,S,C,D;function ze(){return e[45](e[70])}return{c(){var Z,U,q,j;t=P("div"),r=P("div"),n=P("img"),s=Q(),a=P("p"),l=J(u),c=Q(),d=P("p"),p=J(f),y=Q(),b=P("p"),R=J(O),M=Q(),T=P("p"),x=J(A),G=Q(),F=P("span"),g=J(L),N=Q(),$t(n.src,i=(U=(Z=e[70])==null?void 0:Z.gameModel)==null?void 0:U.thumbnail)||m(n,"src",i),m(n,"alt",o=(j=(q=e[70])==null?void 0:q.gameModel)==null?void 0:j.thumbnail),m(n,"class","WinnersImage"),m(b,"class","WinnerUsername"),m(r,"class","WinnerCard"),m(t,"class",S="CardWrapper "+(e[16]?"CardWrapperAnimation":""))},m(Z,U){k(Z,t,U),E(t,r),E(r,n),E(r,s),E(r,a),E(a,l),E(r,c),E(r,d),E(d,p),E(r,y),E(r,b),E(b,R),E(r,M),E(r,T),E(T,x),E(T,G),E(T,F),E(F,g),E(t,N),e[46](t),C||(D=xe(n,"click",ze),C=!0)},p(Z,U){var q,j,ne,ie;e=Z,U[0]&2048&&!$t(n.src,i=(j=(q=e[70])==null?void 0:q.gameModel)==null?void 0:j.thumbnail)&&m(n,"src",i),U[0]&2048&&o!==(o=(ie=(ne=e[70])==null?void 0:ne.gameModel)==null?void 0:ie.thumbnail)&&m(n,"alt",o),U[0]&2048&&u!==(u=e[70].gameName+"")&&ae(l,u),U[0]&2048&&f!==(f=e[22](e[70].username)+"")&&ae(p,f),U[0]&1048576&&O!==(O=e[20]("won")+"")&&ae(R,O),U[0]&2048&&A!==(A=e[70].specifiedCurrencyAmount.toFixed(2)+"")&&ae(x,A),U[0]&140&&L!==(L=(e[7]?e[3]:e[2])+"")&&ae(g,L),U[0]&65536&&S!==(S="CardWrapper "+(e[16]?"CardWrapperAnimation":""))&&m(t,"class",S)},d(Z){Z&&$(t),e[46](null),C=!1,D()}}}function is(e){let t;function r(o,s){return o[14]||o[15]?ts:es}let n=r(e),i=n(e);return{c(){t=P("div"),i.c()},m(o,s){k(o,t,s),i.m(t,null),e[48](t)},p(o,s){n===(n=r(o))&&i?i.p(o,s):(i.d(1),i=n(o),i&&(i.c(),i.m(t,null)))},i:z,o:z,d(o){o&&$(t),i.d(),e[48](null)}}}function os(e,t,r){let n;Nn(e,Uo,h=>r(20,n=h));let{endpoint:i=""}=t,{session:o=""}=t,{userid:s=""}=t,{periodrecent:a="Today"}=t,{periodtop:u="Last7Days"}=t,{numberusersrecent:l="20"}=t,{numberuserstop:c="20"}=t,{amountlimit:d="1"}=t,{vendorCategory:f="All"}=t,{lang:p="en"}=t,{isrecentavailable:y="true"}=t,{istopavailable:b="true"}=t,{defaultcurrency:O=""}=t,{usercurrency:R=""}=t,{clientstyling:M=""}=t,{clientstylingurl:T=""}=t,{enableautoscroll:A=""}=t,{tabsorder:x=""}=t,{translationurl:G=""}=t,{winnersdatasources:F=""}=t,{hascustomstyling:L="false"}=t,g,N,S=[],C=0,D=0,ze=window.navigator.userAgent,Z,U,q,j,ne=!0,ie=!1,At=!1,Ct,Be,Ze,Ae,Pt=[],Qe=!1,Ce,Ot=0;const ln=()=>{let h=new URL(G);fetch(h.href).then(I=>I.json()).then(I=>{Object.keys(I).forEach(V=>{ir(V,I[V])})}).catch(I=>{console.log(I)})};Object.keys(or).forEach(h=>{ir(h,or[h])});const It=()=>{Pt=F.split(",").map(function(I){return I.trim()});const h=new URL(`${i}/v1/casino/${N}-winners`);r(18,Qe=!0),h.searchParams.append("limit",N=="recent"?l:c),h.searchParams.append("specifiedCurrency",Ae),h.searchParams.append("period",N=="recent"?a:u),h.searchParams.append("language",p),h.searchParams.append("amountLimit",d),h.searchParams.append("vendorCategory",f),Pt.forEach(I=>{h.searchParams.append("dataSource",I)}),setTimeout(()=>{fetch(h.href).then(I=>I.json()).then(I=>{r(11,S=[]),r(11,S=I.items.map(V=>V)),r(18,Qe=!1),setTimeout(()=>{fn(),Mt(),A=="true"&&(clearInterval(Be),cn()),r(14,ne=!1)},5)})},1e3)},qe=h=>{N!==h&&(r(11,S=[]),r(10,N=h),It())},hn=h=>h.slice(0,2)+h.slice(2,-2).replace(/./g,"*")+h.slice(-2),Nt=(h,I,V,Pe)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:h,launchUrl:I,gameName:V,subVendor:Pe},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${h}`,userId:`${q||"Not logged in"}`})},Mt=h=>{const I=[...g.children];Ct=I.length,I.forEach((V,Pe)=>{V.style.transform=`translateX(${100*(h?Pe-h:Pe)}%)`}),setTimeout(()=>{r(16,At=!0)},10)},cn=()=>{C=0,D<Ct?Be=setInterval(()=>{Je()},3e3):clearInterval(Be)},Lt=()=>{Mt(C)},fn=()=>{Ot=Ce.offsetWidth,r(12,D=Math.round(g.offsetWidth/Ot))},Rt=()=>{if(D>=S.length)return;const h=S.length;C===0?C=h-D:C-D<0?C=0:C=C-D,Lt()},Je=()=>{if(D>=S.length)return;const h=S.length;A=="true"&&(C===h-D?C=0:C++),A=="false"&&(C===h-D?C=0:h-D<C+D?C=h-D:C+=D),Lt()},dn=()=>{Do(p)},pn=()=>{r(7,U=!0),q=s},Ut=()=>{r(40,Ae=U?R:O)},mn=()=>{let h=document.createElement("style");h.innerHTML=M,j.appendChild(h)},bn=()=>{let h=new URL(T),I=document.createElement("style");fetch(h.href).then(V=>V.text()).then(V=>{I.innerHTML=V,setTimeout(()=>{j.appendChild(I)},1),setTimeout(()=>{},500),r(15,ie=!1)})},gn=()=>{L==="true"&&(!M&&!T&&j&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!M&&T&&r(15,ie=!0))},yn=()=>{r(17,Ze=x.split(",")),r(10,N=Ze[0]),Ut(),r(14,ne=!1)};Fn(()=>(r(13,Z=Yo(ze)),()=>{clearInterval(Be)}));const vn=()=>qe("recent"),_n=()=>qe("top"),En=()=>Rt(),xn=()=>Je(),wn=h=>Nt(h.gameId,h.gameModel.launchUrl,h.gameModel.name,h.gameModel.subVendor);function Sn(h){le[h?"unshift":"push"](()=>{Ce=h,r(19,Ce)})}function Tn(h){le[h?"unshift":"push"](()=>{g=h,r(9,g)})}function Hn(h){le[h?"unshift":"push"](()=>{j=h,r(8,j)})}return e.$$set=h=>{"endpoint"in h&&r(26,i=h.endpoint),"session"in h&&r(27,o=h.session),"userid"in h&&r(28,s=h.userid),"periodrecent"in h&&r(29,a=h.periodrecent),"periodtop"in h&&r(30,u=h.periodtop),"numberusersrecent"in h&&r(31,l=h.numberusersrecent),"numberuserstop"in h&&r(32,c=h.numberuserstop),"amountlimit"in h&&r(33,d=h.amountlimit),"vendorCategory"in h&&r(34,f=h.vendorCategory),"lang"in h&&r(35,p=h.lang),"isrecentavailable"in h&&r(0,y=h.isrecentavailable),"istopavailable"in h&&r(1,b=h.istopavailable),"defaultcurrency"in h&&r(2,O=h.defaultcurrency),"usercurrency"in h&&r(3,R=h.usercurrency),"clientstyling"in h&&r(4,M=h.clientstyling),"clientstylingurl"in h&&r(5,T=h.clientstylingurl),"enableautoscroll"in h&&r(6,A=h.enableautoscroll),"tabsorder"in h&&r(36,x=h.tabsorder),"translationurl"in h&&r(37,G=h.translationurl),"winnersdatasources"in h&&r(38,F=h.winnersdatasources),"hascustomstyling"in h&&r(39,L=h.hascustomstyling)},e.$$.update=()=>{e.$$.dirty[0]&1610612739|e.$$.dirty[1]&63&&y&&b&&a&&u&&l&&c&&d&&f&&p&&x&&yn(),e.$$.dirty[0]&134217728&&o&&pn(),e.$$.dirty[0]&140&&U&&(R||O)&&Ut(),e.$$.dirty[0]&67108864|e.$$.dirty[1]&640&&i&&F&&Ae&&It(),e.$$.dirty[1]&16&&p&&dn(),e.$$.dirty[1]&64&&G&&ln(),e.$$.dirty[1]&256&&L&&gn(),e.$$.dirty[0]&272&&M&&j&&mn(),e.$$.dirty[0]&288&&T&&j&&bn()},[y,b,O,R,M,T,A,U,j,g,N,S,D,Z,ne,ie,At,Ze,Qe,Ce,n,qe,hn,Nt,Rt,Je,i,o,s,a,u,l,c,d,f,p,x,G,F,L,Ae,vn,_n,En,xn,wn,Sn,Tn,Hn]}class un extends Ar{constructor(t){super(),Tr(this,t,os,is,wt,{endpoint:26,session:27,userid:28,periodrecent:29,periodtop:30,numberusersrecent:31,numberuserstop:32,amountlimit:33,vendorCategory:34,lang:35,isrecentavailable:0,istopavailable:1,defaultcurrency:2,usercurrency:3,clientstyling:4,clientstylingurl:5,enableautoscroll:6,tabsorder:36,translationurl:37,winnersdatasources:38,hascustomstyling:39},Ko,[-1,-1,-1])}get endpoint(){return this.$$.ctx[26]}set endpoint(t){this.$$set({endpoint:t}),H()}get session(){return this.$$.ctx[27]}set session(t){this.$$set({session:t}),H()}get userid(){return this.$$.ctx[28]}set userid(t){this.$$set({userid:t}),H()}get periodrecent(){return this.$$.ctx[29]}set periodrecent(t){this.$$set({periodrecent:t}),H()}get periodtop(){return this.$$.ctx[30]}set periodtop(t){this.$$set({periodtop:t}),H()}get numberusersrecent(){return this.$$.ctx[31]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),H()}get numberuserstop(){return this.$$.ctx[32]}set numberuserstop(t){this.$$set({numberuserstop:t}),H()}get amountlimit(){return this.$$.ctx[33]}set amountlimit(t){this.$$set({amountlimit:t}),H()}get vendorCategory(){return this.$$.ctx[34]}set vendorCategory(t){this.$$set({vendorCategory:t}),H()}get lang(){return this.$$.ctx[35]}set lang(t){this.$$set({lang:t}),H()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),H()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),H()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),H()}get usercurrency(){return this.$$.ctx[3]}set usercurrency(t){this.$$set({usercurrency:t}),H()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),H()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),H()}get enableautoscroll(){return this.$$.ctx[6]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),H()}get tabsorder(){return this.$$.ctx[36]}set tabsorder(t){this.$$set({tabsorder:t}),H()}get translationurl(){return this.$$.ctx[37]}set translationurl(t){this.$$set({translationurl:t}),H()}get winnersdatasources(){return this.$$.ctx[38]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),H()}get hascustomstyling(){return this.$$.ctx[39]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),H()}}Br(un,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{}},[],[],!0);const ss=Object.freeze(Object.defineProperty({__proto__:null,default:un},Symbol.toStringTag,{value:"Module"}));exports.CasinoWinners_ce=ss;exports.SvelteComponent=Ar;exports.append_styles=xr;exports.binding_callbacks=le;exports.create_custom_element=Br;exports.detach=$;exports.element=P;exports.flush=H;exports.init=Tr;exports.insert=k;exports.noop=z;exports.safe_not_equal=wt;
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoWinners-C6WVOg-l.cjs");function h(n){t.append_styles(n,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function m(n){let i;return{c(){i=t.element("div"),i.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,d){t.insert(l,i,d),n[3](i)},p:t.noop,i:t.noop,o:t.noop,d(l){l&&t.detach(i),n[3](null)}}}function g(n,i,l){let{clientstyling:d=""}=i,{clientstylingurl:r=""}=i,s;const u=()=>{let e=document.createElement("style");e.innerHTML=d,s.appendChild(e)},p=()=>{let e=new URL(r),a=document.createElement("style");fetch(e.href).then(c=>c.text()).then(c=>{a.innerHTML=c,setTimeout(()=>{s.appendChild(a)},1),setTimeout(()=>{},500)})};function f(e){t.binding_callbacks[e?"unshift":"push"](()=>{s=e,l(0,s)})}return n.$$set=e=>{"clientstyling"in e&&l(1,d=e.clientstyling),"clientstylingurl"in e&&l(2,r=e.clientstylingurl)},n.$$.update=()=>{n.$$.dirty&3&&d&&s&&u(),n.$$.dirty&5&&r&&s&&p()},[s,d,r,f]}class o extends t.SvelteComponent{constructor(i){super(),t.init(this,i,g,m,t.safe_not_equal,{clientstyling:1,clientstylingurl:2},h)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t.flush()}}t.create_custom_element(o,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=o;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoWinners-uu3no6lT.cjs");function h(n){t.append_styles(n,"svelte-gnt082",".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}")}function m(n){let i;return{c(){i=t.element("div"),i.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,d){t.insert(l,i,d),n[3](i)},p:t.noop,i:t.noop,o:t.noop,d(l){l&&t.detach(i),n[3](null)}}}function g(n,i,l){let{clientstyling:d=""}=i,{clientstylingurl:r=""}=i,s;const u=()=>{let e=document.createElement("style");e.innerHTML=d,s.appendChild(e)},p=()=>{let e=new URL(r),a=document.createElement("style");fetch(e.href).then(c=>c.text()).then(c=>{a.innerHTML=c,setTimeout(()=>{s.appendChild(a)},1),setTimeout(()=>{},500)})};function f(e){t.binding_callbacks[e?"unshift":"push"](()=>{s=e,l(0,s)})}return n.$$set=e=>{"clientstyling"in e&&l(1,d=e.clientstyling),"clientstylingurl"in e&&l(2,r=e.clientstylingurl)},n.$$.update=()=>{n.$$.dirty&3&&d&&s&&u(),n.$$.dirty&5&&r&&s&&p()},[s,d,r,f]}class o extends t.SvelteComponent{constructor(i){super(),t.init(this,i,g,m,t.safe_not_equal,{clientstyling:1,clientstylingurl:2},h)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(i){this.$$set({clientstyling:i}),t.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(i){this.$$set({clientstylingurl:i}),t.flush()}}t.create_custom_element(o,{clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=o;
@@ -1,4 +1,4 @@
1
- import { S as m, i as h, f as o, c as g, s as y, a as v, e as x, b, n as r, d as _, g as C } from "./CasinoWinners-BmVrohzg.js";
1
+ import { S as m, i as h, f as o, c as g, s as y, a as v, e as x, b, n as r, d as _, g as C } from "./CasinoWinners-CLkfZB8s.js";
2
2
  function L(e) {
3
3
  v(e, "svelte-gnt082", ".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}");
4
4
  }
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let t=function(e){return function(...s){try{return e.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("../components/CasinoWinners-C6WVOg-l.cjs")).then(e=>e.CasinoWinners_ce).then(({default:e})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let t=function(e){return function(...s){try{return e.apply(this,s)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=t(customElements.define),Promise.resolve().then(()=>require("../components/CasinoWinners-uu3no6lT.cjs")).then(e=>e.CasinoWinners_ce).then(({default:e})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoWinners-BmVrohzg.js").then((e) => e.C).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoWinners-CLkfZB8s.js").then((e) => e.C).then(({ default: e }) => {
14
14
  !customElements.get("casino-winners") && customElements.define("casino-winners", e.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-winners",
3
- "version": "1.49.2",
3
+ "version": "1.50.0",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-winners.cjs",
6
6
  "module": "es2015/casino-winners.js",