@everymatrix/casino-winners 1.87.19 → 1.87.21
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.
- package/components/{CasinoWinners-C95GgV_f.js → CasinoWinners-BAMF2-Tw.js} +2 -2
- package/components/{CasinoWinners-CmGboKPh.js → CasinoWinners-DALTold8.js} +2 -2
- package/components/{CasinoWinners-DW-_K3N0.cjs → CasinoWinners-Dw4vHszS.cjs} +1 -1
- package/components/{GeneralAnimationLoading-mNdwhF_Q.js → GeneralAnimationLoading-BAEkeriX.js} +1 -1
- package/components/{GeneralAnimationLoading-Dt3wYmeA.cjs → GeneralAnimationLoading-CknDd14w.cjs} +1 -1
- package/components/{GeneralAnimationLoading-JfziNlW6.js → GeneralAnimationLoading-DTQqC0GE.js} +1 -1
- package/es2015/casino-winners.cjs +1 -1
- package/es2015/casino-winners.js +1 -1
- package/esnext/casino-winners.js +1 -1
- package/package.json +1 -1
|
@@ -4425,7 +4425,7 @@ function us(e, t, r) {
|
|
|
4425
4425
|
}
|
|
4426
4426
|
}
|
|
4427
4427
|
function ls(e, t, r) {
|
|
4428
|
-
window.emMessageBus && window.emMessageBus.subscribe(e, r);
|
|
4428
|
+
return window.emMessageBus && (t = window.emMessageBus.subscribe(e, r)), t;
|
|
4429
4429
|
}
|
|
4430
4430
|
if (typeof window != "undefined") {
|
|
4431
4431
|
let e = function(t) {
|
|
@@ -4439,7 +4439,7 @@ if (typeof window != "undefined") {
|
|
|
4439
4439
|
}
|
|
4440
4440
|
};
|
|
4441
4441
|
};
|
|
4442
|
-
customElements.define = e(customElements.define), import("./GeneralAnimationLoading-
|
|
4442
|
+
customElements.define = e(customElements.define), import("./GeneralAnimationLoading-BAEkeriX.js").then(({ default: t }) => {
|
|
4443
4443
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
4444
4444
|
});
|
|
4445
4445
|
}
|
|
@@ -4388,7 +4388,7 @@ function Jo(e, t, r) {
|
|
|
4388
4388
|
}
|
|
4389
4389
|
}
|
|
4390
4390
|
function qo(e, t, r) {
|
|
4391
|
-
window.emMessageBus && window.emMessageBus.subscribe(e, r);
|
|
4391
|
+
return window.emMessageBus && (t = window.emMessageBus.subscribe(e, r)), t;
|
|
4392
4392
|
}
|
|
4393
4393
|
if (typeof window < "u") {
|
|
4394
4394
|
let e = function(t) {
|
|
@@ -4402,7 +4402,7 @@ if (typeof window < "u") {
|
|
|
4402
4402
|
}
|
|
4403
4403
|
};
|
|
4404
4404
|
};
|
|
4405
|
-
customElements.define = e(customElements.define), import("./GeneralAnimationLoading-
|
|
4405
|
+
customElements.define = e(customElements.define), import("./GeneralAnimationLoading-DTQqC0GE.js").then(({ default: t }) => {
|
|
4406
4406
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
4407
4407
|
});
|
|
4408
4408
|
}
|
|
@@ -15,4 +15,4 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
|
15
15
|
PERFORMANCE OF THIS SOFTWARE.
|
|
16
16
|
***************************************************************************** */var xt=function(e,t){return xt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},xt(e,t)};function He(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");xt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function wt(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function St(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function Tt(e,t,r){if(arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||t)}function K(e){return typeof e=="function"}function sn(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 ht=sn(function(e){return function(r){e(this),this.message=r?r.length+` errors occurred during unsubscription:
|
|
17
17
|
`+r.map(function(n,i){return i+1+") "+n.toString()}).join(`
|
|
18
|
-
`):"",this.name="UnsubscriptionError",this.errors=r}});function Bt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ze=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=wt(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(K(c))try{c()}catch(b){o=b instanceof ht?b.errors:[b]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var f=wt(m),d=f.next();!d.done;d=f.next()){var g=d.value;try{hr(g)}catch(b){o=o!=null?o:[],b instanceof ht?o=Tt(Tt([],St(o)),St(b.errors)):o.push(b)}}}catch(b){n={error:b}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}if(o)throw new ht(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)hr(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)&&Bt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Bt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),an=ze.EMPTY;function un(e){return e instanceof ze||e&&"closed"in e&&K(e.remove)&&K(e.add)&&K(e.unsubscribe)}function hr(e){K(e)?e():e.unsubscribe()}var Zo={Promise:void 0},qo={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Tt([e,t],St(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Qo(e){qo.setTimeout(function(){throw e})}function cr(){}function We(e){e()}var ln=function(e){He(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,un(r)&&r.add(n)):n.destination=Ko,n}return t.create=function(r,n,i){return new Ht(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}(ze),Jo=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){Ne(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Ne(n)}else Ne(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Ne(r)}},e}(),Ht=function(e){He(t,e);function t(r,n,i){var o=e.call(this)||this,s;return K(r)||!r?s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:s=r,o.destination=new Jo(s),o}return t}(ln);function Ne(e){Qo(e)}function Yo(e){throw e}var Ko={closed:!0,next:cr,error:Yo,complete:cr},es=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ts(e){return e}function rs(e){return e.length===0?ts:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var fr=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=is(t)?t:new Ht(t,r,n);return We(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=mr(r),new r(function(i,o){var s=new Ht({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[es]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return rs(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=mr(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 mr(e){var t;return(t=e!=null?e:Zo.Promise)!==null&&t!==void 0?t:Promise}function ns(e){return e&&K(e.next)&&K(e.error)&&K(e.complete)}function is(e){return e&&e instanceof ln||ns(e)&&un(e)}var os=sn(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),hn=function(e){He(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 pr(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new os},t.prototype.next=function(r){var n=this;We(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=wt(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;We(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;We(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?an:(this.currentObservers=null,a.push(r),new ze(function(){n.currentObservers=null,Bt(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 fr;return r.source=this,r},t.create=function(r,n){return new pr(r,n)},t}(fr),pr=function(e){He(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:an},t}(hn),cn={now:function(){return(cn.delegate||Date).now()},delegate:void 0},ss=function(e){He(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=cn);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}(hn);const dr=[],br={},as=(e,t=0)=>{if(dr.indexOf(e)==-1){const r=new ss(t);br[e]=r,dr.push(e)}return br[e]};window.emWidgets={topic:as};const us=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));String(Number.MAX_SAFE_INTEGER).length;function fn(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function mn(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function pn(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function ls(e,t,r){window.emMessageBus&&window.emMessageBus.subscribe(e,r)}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-Dt3wYmeA.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function hs(e){Br(e,"svelte-d1flp7","*,*::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, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.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, #22B04E));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 gr(e,t,r){const n=e.slice();return n[74]=t[r],n}function yr(e,t,r){const n=e.slice();return n[77]=t[r],n}function cs(e){let t,r,n,i,o,s,a,u,l,c,m,f,d,g,b,P,N,I,T,H=Fe(e[16]),x=[];for(let _=0;_<H.length;_+=1)x[_]=xr(yr(e,H,_));function R(_,B){return _[17]?ps:ms}let W=R(e),L=W(e);return{c(){t=C("div"),r=C("div"),n=C("div");for(let _=0;_<x.length;_+=1)x[_].c();i=J(),o=C("div"),s=C("button"),a=Ce("svg"),u=Ce("path"),c=J(),m=C("button"),f=Ce("svg"),d=Ce("path"),P=J(),L.c(),p(n,"class","WinnerButtonsContainer"),p(u,"style",l=e[11]>=e[10].length?"fill:#F6F6F62E":""),p(u,"id","Path_36"),p(u,"data-name","Path 36"),p(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),p(u,"transform","translate(14.656 0) rotate(90)"),p(u,"fill","#fff"),p(a,"id","Component_46_2"),p(a,"data-name","Component 46 – 2"),p(a,"xmlns","http://www.w3.org/2000/svg"),p(a,"width","15"),p(a,"height","15"),p(a,"viewBox","0 0 16 24.656"),p(s,"class","SliderButton"),p(d,"style",g=e[11]>=e[10].length?"fill:#F6F6F62E":""),p(d,"id","Path_36"),p(d,"data-name","Path 36"),p(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),p(d,"transform","translate(0 24.656) rotate(-90)"),p(d,"fill","#fff"),p(f,"id","Component_46_2"),p(f,"data-name","Component 46 – 2"),p(f,"xmlns","http://www.w3.org/2000/svg"),p(f,"width","15"),p(f,"height","15"),p(f,"viewBox","0 0 16 24.656"),p(m,"class","SliderButton"),p(o,"class",b="ButtonsContainer "+(e[4]=="true"?"ButtonsContainerNone":"")),p(r,"class","WinnersHeader"),p(t,"class",N="CasinoWinners "+(e[12]?"Mobile":""))},m(_,B){k(_,t,B),w(t,r),w(r,n);for(let y=0;y<x.length;y+=1)x[y]&&x[y].m(n,null);w(r,i),w(r,o),w(o,s),w(s,a),w(a,u),w(o,c),w(o,m),w(m,f),w(f,d),w(t,P),L.m(t,null),I||(T=[xe(s,"click",e[47]),xe(m,"click",e[48])],I=!0)},p(_,B){if(B[0]&852483){H=Fe(_[16]);let y;for(y=0;y<H.length;y+=1){const G=yr(_,H,y);x[y]?x[y].p(G,B):(x[y]=xr(G),x[y].c(),x[y].m(n,null))}for(;y<x.length;y+=1)x[y].d(1);x.length=H.length}B[0]&3072&&l!==(l=_[11]>=_[10].length?"fill:#F6F6F62E":"")&&p(u,"style",l),B[0]&3072&&g!==(g=_[11]>=_[10].length?"fill:#F6F6F62E":"")&&p(d,"style",g),B[0]&16&&b!==(b="ButtonsContainer "+(_[4]=="true"?"ButtonsContainerNone":""))&&p(o,"class",b),W===(W=R(_))&&L?L.p(_,B):(L.d(1),L=W(_),L&&(L.c(),L.m(t,null))),B[0]&4096&&N!==(N="CasinoWinners "+(_[12]?"Mobile":""))&&p(t,"class",N)},d(_){_&&U(t),Hr(x,_),L.d(),I=!1,pe(T)}}}function fs(e){let t;return{c(){t=C("general-animation-loading"),Q(t,"clientstyling",e[2]),Q(t,"clientstylingurl",e[3])},m(r,n){k(r,t,n)},p(r,n){n[0]&4&&Q(t,"clientstyling",r[2]),n[0]&8&&Q(t,"clientstylingurl",r[3])},d(r){r&&U(t)}}}function vr(e){let t,r=e[0]==="true"&&_r(e);return{c(){r&&r.c(),t=Ot()},m(n,i){r&&r.m(n,i),k(n,t,i)},p(n,i){n[0]==="true"?r?r.p(n,i):(r=_r(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&U(t),r&&r.d(n)}}}function _r(e){let t,r=e[18]("recentWinners")+"",n,i,o,s;return{c(){t=C("button"),n=te(r),p(t,"class",i="WinnersButton "+(e[9]=="recent"?"Active":""))},m(a,u){k(a,t,u),w(t,n),o||(s=xe(t,"click",e[45]),o=!0)},p(a,u){u[0]&262144&&r!==(r=a[18]("recentWinners")+"")&&ae(n,r),u[0]&512&&i!==(i="WinnersButton "+(a[9]=="recent"?"Active":""))&&p(t,"class",i)},d(a){a&&U(t),o=!1,s()}}}function Er(e){let t,r=e[18]("topWinners")+"",n,i,o,s,a;return{c(){t=C("button"),n=te(r),i=J(),p(t,"class",o="WinnersButton "+(e[9]=="top"?"Active":"")+" "+(e[1]=="false"?"Off":""))},m(u,l){k(u,t,l),w(t,n),w(t,i),s||(a=xe(t,"click",e[46]),s=!0)},p(u,l){l[0]&262144&&r!==(r=u[18]("topWinners")+"")&&ae(n,r),l[0]&514&&o!==(o="WinnersButton "+(u[9]=="top"?"Active":"")+" "+(u[1]=="false"?"Off":""))&&p(t,"class",o)},d(u){u&&U(t),s=!1,a()}}}function xr(e){let t,r,n=e[77]=="recent"&&vr(e),i=e[77]=="top"&&Er(e);return{c(){n&&n.c(),t=J(),i&&i.c(),r=Ot()},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[77]=="recent"?n?n.p(o,s):(n=vr(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),o[77]=="top"?i?i.p(o,s):(i=Er(o),i.c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(o){o&&(U(t),U(r)),n&&n.d(o),i&&i.d(o)}}}function ms(e){let t;function r(o,s){return o[10].length!==0?bs:ds}let n=r(e),i=n(e);return{c(){t=C("div"),i.c(),p(t,"class","WinnersSlider")},m(o,s){k(o,t,s),i.m(t,null),e[51](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)))},d(o){o&&U(t),i.d(),e[51](null)}}}function ps(e){let t;return{c(){t=C("general-animation-loading"),Q(t,"clientstyling",e[2]),Q(t,"clientstylingurl",e[3]),Q(t,"mbsource",e[5])},m(r,n){k(r,t,n)},p(r,n){n[0]&4&&Q(t,"clientstyling",r[2]),n[0]&8&&Q(t,"clientstylingurl",r[3]),n[0]&32&&Q(t,"mbsource",r[5])},d(r){r&&U(t)}}}function ds(e){let t,r=e[18]("noWinnersMessage")+"",n;return{c(){t=C("p"),n=te(r),p(t,"class","NoWinnersMessage")},m(i,o){k(i,t,o),w(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("noWinnersMessage")+"")&&ae(n,r)},d(i){i&&U(t)}}}function bs(e){let t,r=Fe(e[10]),n=[];for(let i=0;i<r.length;i+=1)n[i]=wr(gr(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=Ot()},m(i,o){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(i,o);k(i,t,o)},p(i,o){if(o[0]&20219136){r=Fe(i[10]);let s;for(s=0;s<r.length;s+=1){const a=gr(i,r,s);n[s]?n[s].p(a,o):(n[s]=wr(a),n[s].c(),n[s].m(t.parentNode,t))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&U(t),Hr(n,i)}}}function wr(e){let t,r,n,i,o,s,a,u=e[74].gameName+"",l,c,m,f=e[20](e[74].username)+"",d,g,b,P=e[18]("won")+"",N,I,T,H=e[24](e[74].specifiedCurrencyAmount)+"",x,R,W,L;function _(){return e[49](e[74])}return{c(){var B,y,G,X;t=C("div"),r=C("div"),n=C("img"),s=J(),a=C("p"),l=te(u),c=J(),m=C("p"),d=te(f),g=J(),b=C("p"),N=te(P),I=J(),T=C("p"),x=J(),Zt(n.src,i=(y=(B=e[74])==null?void 0:B.gameModel)==null?void 0:y.thumbnail)||p(n,"src",i),p(n,"alt",o=(X=(G=e[74])==null?void 0:G.gameModel)==null?void 0:X.thumbnail),p(n,"class","WinnersImage"),p(b,"class","WinnerUsername"),p(T,"class","WinnerAmount"),p(r,"class","WinnerCard"),p(t,"class",R="CardWrapper "+(e[15]?"CardWrapperAnimation":""))},m(B,y){k(B,t,y),w(t,r),w(r,n),w(r,s),w(r,a),w(a,l),w(r,c),w(r,m),w(m,d),w(r,g),w(r,b),w(b,N),w(r,I),w(r,T),T.innerHTML=H,e[50](r),w(t,x),W||(L=xe(n,"click",_),W=!0)},p(B,y){var G,X,q,z;e=B,y[0]&1024&&!Zt(n.src,i=(X=(G=e[74])==null?void 0:G.gameModel)==null?void 0:X.thumbnail)&&p(n,"src",i),y[0]&1024&&o!==(o=(z=(q=e[74])==null?void 0:q.gameModel)==null?void 0:z.thumbnail)&&p(n,"alt",o),y[0]&1024&&u!==(u=e[74].gameName+"")&&ae(l,u),y[0]&1024&&f!==(f=e[20](e[74].username)+"")&&ae(d,f),y[0]&262144&&P!==(P=e[18]("won")+"")&&ae(N,P),y[0]&1024&&H!==(H=e[24](e[74].specifiedCurrencyAmount)+"")&&(T.innerHTML=H),y[0]&32768&&R!==(R="CardWrapper "+(e[15]?"CardWrapperAnimation":""))&&p(t,"class",R)},d(B){B&&U(t),e[50](null),W=!1,L()}}}function gs(e){let t;function r(o,s){return o[13]||o[14]?fs:cs}let n=r(e),i=n(e);return{c(){t=C("div"),i.c()},m(o,s){k(o,t,s),i.m(t,null),e[52](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:V,o:V,d(o){o&&U(t),i.d(),e[52](null)}}}function ys(e,t,r){let n;jn(e,$o,h=>r(18,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:m="1"}=t,{vendorCategory:f="All"}=t,{lang:d="en"}=t,{isrecentavailable:g="true"}=t,{istopavailable:b="true"}=t,{defaultcurrency:P=""}=t,{usercurrency:N=""}=t,{customcurrencysymbol:I}=t,{clientstyling:T=""}=t,{clientstylingurl:H=""}=t,{enableautoscroll:x=""}=t,{tabsorder:R=""}=t,{translationurl:W=""}=t,{winnersdatasources:L=""}=t,{hascustomstyling:_="false"}=t,{mbsource:B}=t,{currencylocale:y=""}=t,G,X,q,z=[],F=0,D=0,bn=window.navigator.userAgent,Nt,ye,Ze,Z,qe=!0,It=!1,Lt=!1,Rt,Ae,Qe,ve,Wt=[],Je=!1,gn;const Ye=h=>{Object.keys(h).forEach(O=>{Vo(O,h[O])})},yn=()=>{let h=new URL(W);fetch(h.href).then(O=>O.json()).then(O=>{Ye(O)}).catch(O=>{console.log(O)})};Ye(zo);const Ft=()=>{Wt=L.split(",").map(function(O){return O.trim()});const h=new URL(`${i}/v1/casino/${q}-winners`);r(17,Je=!0),h.searchParams.append("limit",q=="recent"?l:c),h.searchParams.append("specifiedCurrency",ve),h.searchParams.append("period",q=="recent"?a:u),h.searchParams.append("language",d),h.searchParams.append("amountLimit",m),h.searchParams.append("vendorCategory",f),Wt.forEach(O=>{h.searchParams.append("dataSource",O)}),setTimeout(()=>{fetch(h.href).then(O=>O.json()).then(O=>Pe(this,null,function*(){r(10,z=[]),r(10,z=O.items.map(ne=>ne)),r(17,Je=!1),yield Qt(),xn(),Gt(),x=="true"&&(clearInterval(Ae),En()),r(13,qe=!1),vn()}))},1e3)},vn=()=>{const h=Z.getRootNode().host;h.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:h}}))},Ke=h=>{q!==h&&(r(10,z=[]),r(9,q=h),Ft())},_n=h=>h.slice(0,2)+h.slice(2,-2).replace(/./g,"*")+h.slice(-2),Ut=(h,O,ne,tt)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:h,launchUrl:O,gameName:ne,subVendor:tt},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"WinnersWidget",gameId:`${h}`,userId:`${Ze||"Not logged in"}`})},Gt=(h=0)=>{const O=[...G.children];Rt=O.length,O.forEach((ne,tt)=>{ne.style.transform=`translateX(${100*(tt-h)}%)`}),setTimeout(()=>{r(15,Lt=!0)},10)},En=()=>{F=0,D<Rt?Ae=setInterval(()=>{et()},3e3):clearInterval(Ae)},Dt=()=>{Gt(F)},xn=()=>Pe(this,null,function*(){yield Qt(),requestAnimationFrame(()=>{const h=X?X.offsetWidth:0;G.offsetWidth&&h?r(11,D=Math.round(G.offsetWidth/h)):r(11,D=0)})}),jt=()=>{if(D>=z.length)return;const h=z.length;F===0?F=h-D:F-D<0?F=0:F=F-D,Dt()},et=()=>{if(D>=z.length)return;const h=z.length;x=="true"&&(F===h-D?F=0:F++),x=="false"&&(F===h-D?F=0:h-D<F+D?F=h-D:F+=D),Dt()},wn=()=>{Xo(d)},Sn=()=>{r(43,ye=!0),Ze=s},kt=()=>{r(44,ve=ye?N:P)},Tn=h=>{const O=I!=null?I:ye?N:P;return`${y?Intl.NumberFormat(y,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:ve}).format(h).replace(/\s/g,""):h.toFixed(2)}<span class="CurrencySymbol">${O}</span>`},Bn=()=>{_==="true"&&(!T&&!H&&Z&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!T&&H&&r(14,It=!0))},Hn=()=>{r(16,Qe=R.split(",")),r(9,q=Qe[0]),kt(),r(13,qe=!1)};Ar(()=>(r(12,Nt=us(bn)),()=>{clearInterval(Ae)}));const An=()=>Ke("recent"),Pn=()=>Ke("top"),On=()=>jt(),Cn=()=>et(),Mn=h=>Ut(h.gameId,h.gameModel.launchUrl,h.gameModel.name,h.gameModel.subVendor);function Nn(h){ue[h?"unshift":"push"](()=>{X=h,r(8,X)})}function In(h){ue[h?"unshift":"push"](()=>{G=h,r(7,G)})}function Ln(h){ue[h?"unshift":"push"](()=>{Z=h,r(6,Z)})}return e.$$set=h=>{"endpoint"in h&&r(25,i=h.endpoint),"session"in h&&r(26,o=h.session),"userid"in h&&r(27,s=h.userid),"periodrecent"in h&&r(28,a=h.periodrecent),"periodtop"in h&&r(29,u=h.periodtop),"numberusersrecent"in h&&r(30,l=h.numberusersrecent),"numberuserstop"in h&&r(31,c=h.numberuserstop),"amountlimit"in h&&r(32,m=h.amountlimit),"vendorCategory"in h&&r(33,f=h.vendorCategory),"lang"in h&&r(34,d=h.lang),"isrecentavailable"in h&&r(0,g=h.isrecentavailable),"istopavailable"in h&&r(1,b=h.istopavailable),"defaultcurrency"in h&&r(35,P=h.defaultcurrency),"usercurrency"in h&&r(36,N=h.usercurrency),"customcurrencysymbol"in h&&r(37,I=h.customcurrencysymbol),"clientstyling"in h&&r(2,T=h.clientstyling),"clientstylingurl"in h&&r(3,H=h.clientstylingurl),"enableautoscroll"in h&&r(4,x=h.enableautoscroll),"tabsorder"in h&&r(38,R=h.tabsorder),"translationurl"in h&&r(39,W=h.translationurl),"winnersdatasources"in h&&r(40,L=h.winnersdatasources),"hascustomstyling"in h&&r(41,_=h.hascustomstyling),"mbsource"in h&&r(5,B=h.mbsource),"currencylocale"in h&&r(42,y=h.currencylocale)},e.$$.update=()=>{e.$$.dirty[0]&1879048195|e.$$.dirty[1]&143&&g&&b&&a&&u&&l&&c&&m&&f&&d&&R&&Hn(),e.$$.dirty[0]&67108864&&o&&Sn(),e.$$.dirty[1]&4144&&ye&&(N||P)&&kt(),e.$$.dirty[0]&33554432|e.$$.dirty[1]&8704&&i&&L&&ve&&Ft(),e.$$.dirty[1]&8&&d&&wn(),e.$$.dirty[1]&256&&W&&yn(),e.$$.dirty[0]&32|e.$$.dirty[1]&256&&B&&!W&&ls(`${B}.Translation`,gn,Ye),e.$$.dirty[1]&1024&&_&&Bn(),e.$$.dirty[0]&68&&T&&Z&&fn(Z,T),e.$$.dirty[0]&72&&H&&Z&&mn(Z,H),e.$$.dirty[0]&96&&Z&&pn(Z,`${B}.Style`)},[g,b,T,H,x,B,Z,G,X,q,z,D,Nt,qe,It,Lt,Qe,Je,n,Ke,_n,Ut,jt,et,Tn,i,o,s,a,u,l,c,m,f,d,P,N,I,R,W,L,_,y,ye,ve,An,Pn,On,Cn,Mn,Nn,In,Ln]}class dn extends Ir{constructor(t){super(),Cr(this,t,ys,gs,Pt,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:35,usercurrency:36,customcurrencysymbol:37,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:38,translationurl:39,winnersdatasources:40,hascustomstyling:41,mbsource:5,currencylocale:42},hs,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),S()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),S()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),S()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),S()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),S()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),S()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),S()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),S()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),S()}get lang(){return this.$$.ctx[34]}set lang(t){this.$$set({lang:t}),S()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),S()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),S()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),S()}get usercurrency(){return this.$$.ctx[36]}set usercurrency(t){this.$$set({usercurrency:t}),S()}get customcurrencysymbol(){return this.$$.ctx[37]}set customcurrencysymbol(t){this.$$set({customcurrencysymbol:t}),S()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),S()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),S()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),S()}get tabsorder(){return this.$$.ctx[38]}set tabsorder(t){this.$$set({tabsorder:t}),S()}get translationurl(){return this.$$.ctx[39]}set translationurl(t){this.$$set({translationurl:t}),S()}get winnersdatasources(){return this.$$.ctx[40]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),S()}get hascustomstyling(){return this.$$.ctx[41]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),S()}get mbsource(){return this.$$.ctx[5]}set mbsource(t){this.$$set({mbsource:t}),S()}get currencylocale(){return this.$$.ctx[42]}set currencylocale(t){this.$$set({currencylocale:t}),S()}}Nr(dn,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},customcurrencysymbol:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{},currencylocale:{}},[],[],!0);const vs=Object.freeze(Object.defineProperty({__proto__:null,default:dn},Symbol.toStringTag,{value:"Module"}));exports.CasinoWinners_ce=vs;exports.SvelteComponent=Ir;exports.append_styles=Br;exports.binding_callbacks=ue;exports.create_custom_element=Nr;exports.detach=U;exports.element=C;exports.flush=S;exports.init=Cr;exports.insert=k;exports.noop=V;exports.onMount=Ar;exports.safe_not_equal=Pt;exports.setClientStyling=fn;exports.setClientStylingURL=mn;exports.setStreamStyling=pn;
|
|
18
|
+
`):"",this.name="UnsubscriptionError",this.errors=r}});function Bt(e,t){if(e){var r=e.indexOf(t);0<=r&&e.splice(r,1)}}var ze=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=wt(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(K(c))try{c()}catch(b){o=b instanceof ht?b.errors:[b]}var m=this._finalizers;if(m){this._finalizers=null;try{for(var f=wt(m),d=f.next();!d.done;d=f.next()){var g=d.value;try{hr(g)}catch(b){o=o!=null?o:[],b instanceof ht?o=Tt(Tt([],St(o)),St(b.errors)):o.push(b)}}}catch(b){n={error:b}}finally{try{d&&!d.done&&(i=f.return)&&i.call(f)}finally{if(n)throw n.error}}}if(o)throw new ht(o)}},e.prototype.add=function(t){var r;if(t&&t!==this)if(this.closed)hr(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)&&Bt(r,t)},e.prototype.remove=function(t){var r=this._finalizers;r&&Bt(r,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),an=ze.EMPTY;function un(e){return e instanceof ze||e&&"closed"in e&&K(e.remove)&&K(e.add)&&K(e.unsubscribe)}function hr(e){K(e)?e():e.unsubscribe()}var Zo={Promise:void 0},qo={setTimeout:function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];return setTimeout.apply(void 0,Tt([e,t],St(r)))},clearTimeout:function(e){return clearTimeout(e)},delegate:void 0};function Qo(e){qo.setTimeout(function(){throw e})}function cr(){}function We(e){e()}var ln=function(e){He(t,e);function t(r){var n=e.call(this)||this;return n.isStopped=!1,r?(n.destination=r,un(r)&&r.add(n)):n.destination=Ko,n}return t.create=function(r,n,i){return new Ht(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}(ze),Jo=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){Ne(n)}},e.prototype.error=function(t){var r=this.partialObserver;if(r.error)try{r.error(t)}catch(n){Ne(n)}else Ne(t)},e.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(r){Ne(r)}},e}(),Ht=function(e){He(t,e);function t(r,n,i){var o=e.call(this)||this,s;return K(r)||!r?s={next:r!=null?r:void 0,error:n!=null?n:void 0,complete:i!=null?i:void 0}:s=r,o.destination=new Jo(s),o}return t}(ln);function Ne(e){Qo(e)}function Yo(e){throw e}var Ko={closed:!0,next:cr,error:Yo,complete:cr},es=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function ts(e){return e}function rs(e){return e.length===0?ts:e.length===1?e[0]:function(r){return e.reduce(function(n,i){return i(n)},r)}}var fr=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=is(t)?t:new Ht(t,r,n);return We(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=mr(r),new r(function(i,o){var s=new Ht({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[es]=function(){return this},e.prototype.pipe=function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return rs(t)(this)},e.prototype.toPromise=function(t){var r=this;return t=mr(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 mr(e){var t;return(t=e!=null?e:Zo.Promise)!==null&&t!==void 0?t:Promise}function ns(e){return e&&K(e.next)&&K(e.error)&&K(e.complete)}function is(e){return e&&e instanceof ln||ns(e)&&un(e)}var os=sn(function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),hn=function(e){He(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 pr(this,this);return n.operator=r,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new os},t.prototype.next=function(r){var n=this;We(function(){var i,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=wt(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;We(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;We(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?an:(this.currentObservers=null,a.push(r),new ze(function(){n.currentObservers=null,Bt(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 fr;return r.source=this,r},t.create=function(r,n){return new pr(r,n)},t}(fr),pr=function(e){He(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:an},t}(hn),cn={now:function(){return(cn.delegate||Date).now()},delegate:void 0},ss=function(e){He(t,e);function t(r,n,i){r===void 0&&(r=1/0),n===void 0&&(n=1/0),i===void 0&&(i=cn);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}(hn);const dr=[],br={},as=(e,t=0)=>{if(dr.indexOf(e)==-1){const r=new ss(t);br[e]=r,dr.push(e)}return br[e]};window.emWidgets={topic:as};const us=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));String(Number.MAX_SAFE_INTEGER).length;function fn(e,t){if(e){const r=document.createElement("style");r.innerHTML=t,e.appendChild(r)}}function mn(e,t){if(!e||!t)return;const r=new URL(t);fetch(r.href).then(n=>n.text()).then(n=>{const i=document.createElement("style");i.innerHTML=n,e&&e.appendChild(i)}).catch(n=>{console.error("There was an error while trying to load client styling from URL",n)})}function pn(e,t,r){if(window.emMessageBus){const n=document.createElement("style");window.emMessageBus.subscribe(t,i=>{n.innerHTML=i,e&&e.appendChild(n)})}}function ls(e,t,r){return window.emMessageBus&&(t=window.emMessageBus.subscribe(e,r)),t}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-CknDd14w.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function hs(e){Br(e,"svelte-d1flp7","*,*::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, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.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, #22B04E));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 gr(e,t,r){const n=e.slice();return n[74]=t[r],n}function yr(e,t,r){const n=e.slice();return n[77]=t[r],n}function cs(e){let t,r,n,i,o,s,a,u,l,c,m,f,d,g,b,P,N,I,T,H=Fe(e[16]),x=[];for(let _=0;_<H.length;_+=1)x[_]=xr(yr(e,H,_));function R(_,B){return _[17]?ps:ms}let W=R(e),L=W(e);return{c(){t=C("div"),r=C("div"),n=C("div");for(let _=0;_<x.length;_+=1)x[_].c();i=J(),o=C("div"),s=C("button"),a=Ce("svg"),u=Ce("path"),c=J(),m=C("button"),f=Ce("svg"),d=Ce("path"),P=J(),L.c(),p(n,"class","WinnerButtonsContainer"),p(u,"style",l=e[11]>=e[10].length?"fill:#F6F6F62E":""),p(u,"id","Path_36"),p(u,"data-name","Path 36"),p(u,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),p(u,"transform","translate(14.656 0) rotate(90)"),p(u,"fill","#fff"),p(a,"id","Component_46_2"),p(a,"data-name","Component 46 – 2"),p(a,"xmlns","http://www.w3.org/2000/svg"),p(a,"width","15"),p(a,"height","15"),p(a,"viewBox","0 0 16 24.656"),p(s,"class","SliderButton"),p(d,"style",g=e[11]>=e[10].length?"fill:#F6F6F62E":""),p(d,"id","Path_36"),p(d,"data-name","Path 36"),p(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),p(d,"transform","translate(0 24.656) rotate(-90)"),p(d,"fill","#fff"),p(f,"id","Component_46_2"),p(f,"data-name","Component 46 – 2"),p(f,"xmlns","http://www.w3.org/2000/svg"),p(f,"width","15"),p(f,"height","15"),p(f,"viewBox","0 0 16 24.656"),p(m,"class","SliderButton"),p(o,"class",b="ButtonsContainer "+(e[4]=="true"?"ButtonsContainerNone":"")),p(r,"class","WinnersHeader"),p(t,"class",N="CasinoWinners "+(e[12]?"Mobile":""))},m(_,B){k(_,t,B),w(t,r),w(r,n);for(let y=0;y<x.length;y+=1)x[y]&&x[y].m(n,null);w(r,i),w(r,o),w(o,s),w(s,a),w(a,u),w(o,c),w(o,m),w(m,f),w(f,d),w(t,P),L.m(t,null),I||(T=[xe(s,"click",e[47]),xe(m,"click",e[48])],I=!0)},p(_,B){if(B[0]&852483){H=Fe(_[16]);let y;for(y=0;y<H.length;y+=1){const G=yr(_,H,y);x[y]?x[y].p(G,B):(x[y]=xr(G),x[y].c(),x[y].m(n,null))}for(;y<x.length;y+=1)x[y].d(1);x.length=H.length}B[0]&3072&&l!==(l=_[11]>=_[10].length?"fill:#F6F6F62E":"")&&p(u,"style",l),B[0]&3072&&g!==(g=_[11]>=_[10].length?"fill:#F6F6F62E":"")&&p(d,"style",g),B[0]&16&&b!==(b="ButtonsContainer "+(_[4]=="true"?"ButtonsContainerNone":""))&&p(o,"class",b),W===(W=R(_))&&L?L.p(_,B):(L.d(1),L=W(_),L&&(L.c(),L.m(t,null))),B[0]&4096&&N!==(N="CasinoWinners "+(_[12]?"Mobile":""))&&p(t,"class",N)},d(_){_&&U(t),Hr(x,_),L.d(),I=!1,pe(T)}}}function fs(e){let t;return{c(){t=C("general-animation-loading"),Q(t,"clientstyling",e[2]),Q(t,"clientstylingurl",e[3])},m(r,n){k(r,t,n)},p(r,n){n[0]&4&&Q(t,"clientstyling",r[2]),n[0]&8&&Q(t,"clientstylingurl",r[3])},d(r){r&&U(t)}}}function vr(e){let t,r=e[0]==="true"&&_r(e);return{c(){r&&r.c(),t=Ot()},m(n,i){r&&r.m(n,i),k(n,t,i)},p(n,i){n[0]==="true"?r?r.p(n,i):(r=_r(n),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(n){n&&U(t),r&&r.d(n)}}}function _r(e){let t,r=e[18]("recentWinners")+"",n,i,o,s;return{c(){t=C("button"),n=te(r),p(t,"class",i="WinnersButton "+(e[9]=="recent"?"Active":""))},m(a,u){k(a,t,u),w(t,n),o||(s=xe(t,"click",e[45]),o=!0)},p(a,u){u[0]&262144&&r!==(r=a[18]("recentWinners")+"")&&ae(n,r),u[0]&512&&i!==(i="WinnersButton "+(a[9]=="recent"?"Active":""))&&p(t,"class",i)},d(a){a&&U(t),o=!1,s()}}}function Er(e){let t,r=e[18]("topWinners")+"",n,i,o,s,a;return{c(){t=C("button"),n=te(r),i=J(),p(t,"class",o="WinnersButton "+(e[9]=="top"?"Active":"")+" "+(e[1]=="false"?"Off":""))},m(u,l){k(u,t,l),w(t,n),w(t,i),s||(a=xe(t,"click",e[46]),s=!0)},p(u,l){l[0]&262144&&r!==(r=u[18]("topWinners")+"")&&ae(n,r),l[0]&514&&o!==(o="WinnersButton "+(u[9]=="top"?"Active":"")+" "+(u[1]=="false"?"Off":""))&&p(t,"class",o)},d(u){u&&U(t),s=!1,a()}}}function xr(e){let t,r,n=e[77]=="recent"&&vr(e),i=e[77]=="top"&&Er(e);return{c(){n&&n.c(),t=J(),i&&i.c(),r=Ot()},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[77]=="recent"?n?n.p(o,s):(n=vr(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null),o[77]=="top"?i?i.p(o,s):(i=Er(o),i.c(),i.m(r.parentNode,r)):i&&(i.d(1),i=null)},d(o){o&&(U(t),U(r)),n&&n.d(o),i&&i.d(o)}}}function ms(e){let t;function r(o,s){return o[10].length!==0?bs:ds}let n=r(e),i=n(e);return{c(){t=C("div"),i.c(),p(t,"class","WinnersSlider")},m(o,s){k(o,t,s),i.m(t,null),e[51](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)))},d(o){o&&U(t),i.d(),e[51](null)}}}function ps(e){let t;return{c(){t=C("general-animation-loading"),Q(t,"clientstyling",e[2]),Q(t,"clientstylingurl",e[3]),Q(t,"mbsource",e[5])},m(r,n){k(r,t,n)},p(r,n){n[0]&4&&Q(t,"clientstyling",r[2]),n[0]&8&&Q(t,"clientstylingurl",r[3]),n[0]&32&&Q(t,"mbsource",r[5])},d(r){r&&U(t)}}}function ds(e){let t,r=e[18]("noWinnersMessage")+"",n;return{c(){t=C("p"),n=te(r),p(t,"class","NoWinnersMessage")},m(i,o){k(i,t,o),w(t,n)},p(i,o){o[0]&262144&&r!==(r=i[18]("noWinnersMessage")+"")&&ae(n,r)},d(i){i&&U(t)}}}function bs(e){let t,r=Fe(e[10]),n=[];for(let i=0;i<r.length;i+=1)n[i]=wr(gr(e,r,i));return{c(){for(let i=0;i<n.length;i+=1)n[i].c();t=Ot()},m(i,o){for(let s=0;s<n.length;s+=1)n[s]&&n[s].m(i,o);k(i,t,o)},p(i,o){if(o[0]&20219136){r=Fe(i[10]);let s;for(s=0;s<r.length;s+=1){const a=gr(i,r,s);n[s]?n[s].p(a,o):(n[s]=wr(a),n[s].c(),n[s].m(t.parentNode,t))}for(;s<n.length;s+=1)n[s].d(1);n.length=r.length}},d(i){i&&U(t),Hr(n,i)}}}function wr(e){let t,r,n,i,o,s,a,u=e[74].gameName+"",l,c,m,f=e[20](e[74].username)+"",d,g,b,P=e[18]("won")+"",N,I,T,H=e[24](e[74].specifiedCurrencyAmount)+"",x,R,W,L;function _(){return e[49](e[74])}return{c(){var B,y,G,X;t=C("div"),r=C("div"),n=C("img"),s=J(),a=C("p"),l=te(u),c=J(),m=C("p"),d=te(f),g=J(),b=C("p"),N=te(P),I=J(),T=C("p"),x=J(),Zt(n.src,i=(y=(B=e[74])==null?void 0:B.gameModel)==null?void 0:y.thumbnail)||p(n,"src",i),p(n,"alt",o=(X=(G=e[74])==null?void 0:G.gameModel)==null?void 0:X.thumbnail),p(n,"class","WinnersImage"),p(b,"class","WinnerUsername"),p(T,"class","WinnerAmount"),p(r,"class","WinnerCard"),p(t,"class",R="CardWrapper "+(e[15]?"CardWrapperAnimation":""))},m(B,y){k(B,t,y),w(t,r),w(r,n),w(r,s),w(r,a),w(a,l),w(r,c),w(r,m),w(m,d),w(r,g),w(r,b),w(b,N),w(r,I),w(r,T),T.innerHTML=H,e[50](r),w(t,x),W||(L=xe(n,"click",_),W=!0)},p(B,y){var G,X,q,z;e=B,y[0]&1024&&!Zt(n.src,i=(X=(G=e[74])==null?void 0:G.gameModel)==null?void 0:X.thumbnail)&&p(n,"src",i),y[0]&1024&&o!==(o=(z=(q=e[74])==null?void 0:q.gameModel)==null?void 0:z.thumbnail)&&p(n,"alt",o),y[0]&1024&&u!==(u=e[74].gameName+"")&&ae(l,u),y[0]&1024&&f!==(f=e[20](e[74].username)+"")&&ae(d,f),y[0]&262144&&P!==(P=e[18]("won")+"")&&ae(N,P),y[0]&1024&&H!==(H=e[24](e[74].specifiedCurrencyAmount)+"")&&(T.innerHTML=H),y[0]&32768&&R!==(R="CardWrapper "+(e[15]?"CardWrapperAnimation":""))&&p(t,"class",R)},d(B){B&&U(t),e[50](null),W=!1,L()}}}function gs(e){let t;function r(o,s){return o[13]||o[14]?fs:cs}let n=r(e),i=n(e);return{c(){t=C("div"),i.c()},m(o,s){k(o,t,s),i.m(t,null),e[52](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:V,o:V,d(o){o&&U(t),i.d(),e[52](null)}}}function ys(e,t,r){let n;jn(e,$o,h=>r(18,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:m="1"}=t,{vendorCategory:f="All"}=t,{lang:d="en"}=t,{isrecentavailable:g="true"}=t,{istopavailable:b="true"}=t,{defaultcurrency:P=""}=t,{usercurrency:N=""}=t,{customcurrencysymbol:I}=t,{clientstyling:T=""}=t,{clientstylingurl:H=""}=t,{enableautoscroll:x=""}=t,{tabsorder:R=""}=t,{translationurl:W=""}=t,{winnersdatasources:L=""}=t,{hascustomstyling:_="false"}=t,{mbsource:B}=t,{currencylocale:y=""}=t,G,X,q,z=[],F=0,D=0,bn=window.navigator.userAgent,Nt,ye,Ze,Z,qe=!0,It=!1,Lt=!1,Rt,Ae,Qe,ve,Wt=[],Je=!1,gn;const Ye=h=>{Object.keys(h).forEach(O=>{Vo(O,h[O])})},yn=()=>{let h=new URL(W);fetch(h.href).then(O=>O.json()).then(O=>{Ye(O)}).catch(O=>{console.log(O)})};Ye(zo);const Ft=()=>{Wt=L.split(",").map(function(O){return O.trim()});const h=new URL(`${i}/v1/casino/${q}-winners`);r(17,Je=!0),h.searchParams.append("limit",q=="recent"?l:c),h.searchParams.append("specifiedCurrency",ve),h.searchParams.append("period",q=="recent"?a:u),h.searchParams.append("language",d),h.searchParams.append("amountLimit",m),h.searchParams.append("vendorCategory",f),Wt.forEach(O=>{h.searchParams.append("dataSource",O)}),setTimeout(()=>{fetch(h.href).then(O=>O.json()).then(O=>Pe(this,null,function*(){r(10,z=[]),r(10,z=O.items.map(ne=>ne)),r(17,Je=!1),yield Qt(),xn(),Gt(),x=="true"&&(clearInterval(Ae),En()),r(13,qe=!1),vn()}))},1e3)},vn=()=>{const h=Z.getRootNode().host;h.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:h}}))},Ke=h=>{q!==h&&(r(10,z=[]),r(9,q=h),Ft())},_n=h=>h.slice(0,2)+h.slice(2,-2).replace(/./g,"*")+h.slice(-2),Ut=(h,O,ne,tt)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:h,launchUrl:O,gameName:ne,subVendor:tt},window.location.href),typeof gtag=="function"&>ag("event","OpenGame",{context:"WinnersWidget",gameId:`${h}`,userId:`${Ze||"Not logged in"}`})},Gt=(h=0)=>{const O=[...G.children];Rt=O.length,O.forEach((ne,tt)=>{ne.style.transform=`translateX(${100*(tt-h)}%)`}),setTimeout(()=>{r(15,Lt=!0)},10)},En=()=>{F=0,D<Rt?Ae=setInterval(()=>{et()},3e3):clearInterval(Ae)},Dt=()=>{Gt(F)},xn=()=>Pe(this,null,function*(){yield Qt(),requestAnimationFrame(()=>{const h=X?X.offsetWidth:0;G.offsetWidth&&h?r(11,D=Math.round(G.offsetWidth/h)):r(11,D=0)})}),jt=()=>{if(D>=z.length)return;const h=z.length;F===0?F=h-D:F-D<0?F=0:F=F-D,Dt()},et=()=>{if(D>=z.length)return;const h=z.length;x=="true"&&(F===h-D?F=0:F++),x=="false"&&(F===h-D?F=0:h-D<F+D?F=h-D:F+=D),Dt()},wn=()=>{Xo(d)},Sn=()=>{r(43,ye=!0),Ze=s},kt=()=>{r(44,ve=ye?N:P)},Tn=h=>{const O=I!=null?I:ye?N:P;return`${y?Intl.NumberFormat(y,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:ve}).format(h).replace(/\s/g,""):h.toFixed(2)}<span class="CurrencySymbol">${O}</span>`},Bn=()=>{_==="true"&&(!T&&!H&&Z&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!T&&H&&r(14,It=!0))},Hn=()=>{r(16,Qe=R.split(",")),r(9,q=Qe[0]),kt(),r(13,qe=!1)};Ar(()=>(r(12,Nt=us(bn)),()=>{clearInterval(Ae)}));const An=()=>Ke("recent"),Pn=()=>Ke("top"),On=()=>jt(),Cn=()=>et(),Mn=h=>Ut(h.gameId,h.gameModel.launchUrl,h.gameModel.name,h.gameModel.subVendor);function Nn(h){ue[h?"unshift":"push"](()=>{X=h,r(8,X)})}function In(h){ue[h?"unshift":"push"](()=>{G=h,r(7,G)})}function Ln(h){ue[h?"unshift":"push"](()=>{Z=h,r(6,Z)})}return e.$$set=h=>{"endpoint"in h&&r(25,i=h.endpoint),"session"in h&&r(26,o=h.session),"userid"in h&&r(27,s=h.userid),"periodrecent"in h&&r(28,a=h.periodrecent),"periodtop"in h&&r(29,u=h.periodtop),"numberusersrecent"in h&&r(30,l=h.numberusersrecent),"numberuserstop"in h&&r(31,c=h.numberuserstop),"amountlimit"in h&&r(32,m=h.amountlimit),"vendorCategory"in h&&r(33,f=h.vendorCategory),"lang"in h&&r(34,d=h.lang),"isrecentavailable"in h&&r(0,g=h.isrecentavailable),"istopavailable"in h&&r(1,b=h.istopavailable),"defaultcurrency"in h&&r(35,P=h.defaultcurrency),"usercurrency"in h&&r(36,N=h.usercurrency),"customcurrencysymbol"in h&&r(37,I=h.customcurrencysymbol),"clientstyling"in h&&r(2,T=h.clientstyling),"clientstylingurl"in h&&r(3,H=h.clientstylingurl),"enableautoscroll"in h&&r(4,x=h.enableautoscroll),"tabsorder"in h&&r(38,R=h.tabsorder),"translationurl"in h&&r(39,W=h.translationurl),"winnersdatasources"in h&&r(40,L=h.winnersdatasources),"hascustomstyling"in h&&r(41,_=h.hascustomstyling),"mbsource"in h&&r(5,B=h.mbsource),"currencylocale"in h&&r(42,y=h.currencylocale)},e.$$.update=()=>{e.$$.dirty[0]&1879048195|e.$$.dirty[1]&143&&g&&b&&a&&u&&l&&c&&m&&f&&d&&R&&Hn(),e.$$.dirty[0]&67108864&&o&&Sn(),e.$$.dirty[1]&4144&&ye&&(N||P)&&kt(),e.$$.dirty[0]&33554432|e.$$.dirty[1]&8704&&i&&L&&ve&&Ft(),e.$$.dirty[1]&8&&d&&wn(),e.$$.dirty[1]&256&&W&&yn(),e.$$.dirty[0]&32|e.$$.dirty[1]&256&&B&&!W&&ls(`${B}.Translation`,gn,Ye),e.$$.dirty[1]&1024&&_&&Bn(),e.$$.dirty[0]&68&&T&&Z&&fn(Z,T),e.$$.dirty[0]&72&&H&&Z&&mn(Z,H),e.$$.dirty[0]&96&&Z&&pn(Z,`${B}.Style`)},[g,b,T,H,x,B,Z,G,X,q,z,D,Nt,qe,It,Lt,Qe,Je,n,Ke,_n,Ut,jt,et,Tn,i,o,s,a,u,l,c,m,f,d,P,N,I,R,W,L,_,y,ye,ve,An,Pn,On,Cn,Mn,Nn,In,Ln]}class dn extends Ir{constructor(t){super(),Cr(this,t,ys,gs,Pt,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:35,usercurrency:36,customcurrencysymbol:37,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:38,translationurl:39,winnersdatasources:40,hascustomstyling:41,mbsource:5,currencylocale:42},hs,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),S()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),S()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),S()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),S()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),S()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),S()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),S()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),S()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),S()}get lang(){return this.$$.ctx[34]}set lang(t){this.$$set({lang:t}),S()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),S()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),S()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),S()}get usercurrency(){return this.$$.ctx[36]}set usercurrency(t){this.$$set({usercurrency:t}),S()}get customcurrencysymbol(){return this.$$.ctx[37]}set customcurrencysymbol(t){this.$$set({customcurrencysymbol:t}),S()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),S()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),S()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),S()}get tabsorder(){return this.$$.ctx[38]}set tabsorder(t){this.$$set({tabsorder:t}),S()}get translationurl(){return this.$$.ctx[39]}set translationurl(t){this.$$set({translationurl:t}),S()}get winnersdatasources(){return this.$$.ctx[40]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),S()}get hascustomstyling(){return this.$$.ctx[41]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),S()}get mbsource(){return this.$$.ctx[5]}set mbsource(t){this.$$set({mbsource:t}),S()}get currencylocale(){return this.$$.ctx[42]}set currencylocale(t){this.$$set({currencylocale:t}),S()}}Nr(dn,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},customcurrencysymbol:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{},currencylocale:{}},[],[],!0);const vs=Object.freeze(Object.defineProperty({__proto__:null,default:dn},Symbol.toStringTag,{value:"Module"}));exports.CasinoWinners_ce=vs;exports.SvelteComponent=Ir;exports.append_styles=Br;exports.binding_callbacks=ue;exports.create_custom_element=Nr;exports.detach=U;exports.element=C;exports.flush=S;exports.init=Cr;exports.insert=k;exports.noop=V;exports.onMount=Ar;exports.safe_not_equal=Pt;exports.setClientStyling=fn;exports.setClientStylingURL=mn;exports.setStreamStyling=pn;
|
package/components/{GeneralAnimationLoading-mNdwhF_Q.js → GeneralAnimationLoading-BAEkeriX.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as u, i as f, s as m, f as c, a as g, n as d, d as y, b as h, e as p, o as b, c as v, g as x, h as _, j as S, k } from "./CasinoWinners-
|
|
1
|
+
import { S as u, i as f, s as m, f as c, a as g, n as d, d as y, b as h, e as p, o as b, c as v, g as x, h as _, j as S, k } from "./CasinoWinners-BAMF2-Tw.js";
|
|
2
2
|
function C(t) {
|
|
3
3
|
g(t, "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
|
}
|
package/components/{GeneralAnimationLoading-Dt3wYmeA.cjs → GeneralAnimationLoading-CknDd14w.cjs}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoWinners-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoWinners-Dw4vHszS.cjs");function u(e){i.append_styles(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)}}")}function f(e){let t;return{c(){t=i.element("div"),t.innerHTML='<section class="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>'},m(l,r){i.insert(l,t,r),e[4](t)},p:i.noop,i:i.noop,o:i.noop,d(l){l&&i.detach(t),e[4](null)}}}function m(e,t,l){let{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{mbsource:d}=t,n;i.onMount(()=>()=>{});function a(s){i.binding_callbacks[s?"unshift":"push"](()=>{n=s,l(0,n)})}return e.$$set=s=>{"clientstyling"in s&&l(1,r=s.clientstyling),"clientstylingurl"in s&&l(2,c=s.clientstylingurl),"mbsource"in s&&l(3,d=s.mbsource)},e.$$.update=()=>{e.$$.dirty&3&&r&&n&&i.setClientStyling(n,r),e.$$.dirty&5&&c&&n&&i.setClientStylingURL(n,c),e.$$.dirty&9&&d&&n&&i.setStreamStyling(n,`${d}.Style`)},[n,r,c,d,a]}class o extends i.SvelteComponent{constructor(t){super(),i.init(this,t,m,f,i.safe_not_equal,{clientstyling:1,clientstylingurl:2,mbsource:3},u)}get clientstyling(){return this.$$.ctx[1]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[3]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}}i.create_custom_element(o,{clientstyling:{},clientstylingurl:{},mbsource:{}},[],[],!0);exports.default=o;
|
package/components/{GeneralAnimationLoading-JfziNlW6.js → GeneralAnimationLoading-DTQqC0GE.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as u, i as f, f as c, s as m, c as g, a as y, n as d, d as h, b as p, e as b, o as v, g as x, h as _, j as S, k } from "./CasinoWinners-
|
|
1
|
+
import { S as u, i as f, f as c, s as m, c as g, a as y, n as d, d as h, b as p, e as b, o as v, g as x, h as _, j as S, k } from "./CasinoWinners-DALTold8.js";
|
|
2
2
|
function C(t) {
|
|
3
3
|
y(t, "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-
|
|
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-Dw4vHszS.cjs")).then(e=>e.CasinoWinners_ce).then(({default:e})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",e.element)})}
|
package/es2015/casino-winners.js
CHANGED
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoWinners-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoWinners-BAMF2-Tw.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/esnext/casino-winners.js
CHANGED