@everymatrix/casino-most-played-section 1.0.13 → 1.0.14
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.
@@ -1,4 +1,4 @@
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let o,s;function l(e,t){return o||(o=document.createElement("a")),o.href=t,e===o.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function u(e,t,n){e.$$.on_destroy.push(c(t,n))}function h(e,t){e.appendChild(t)}function d(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode.removeChild(e)}function f(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function p(e){return document.createElement(e)}function g(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function y(e){return document.createTextNode(e)}function v(){return y(" ")}function b(){return y("")}function w(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function _(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function S(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:_(e,t,n)}function x(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function E(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}class G{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=g(t.nodeName):this.e=p(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)d(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(m)}}function T(e){const t={};for(const n of e)t[n.name]=n.value;return t}function M(e){s=e}function C(e){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const L=[],k=[],I=[],F=[],P=Promise.resolve();let O=!1;function D(){O||(O=!0,P.then(H))}function
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let o,s;function l(e,t){return o||(o=document.createElement("a")),o.href=t,e===o.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function u(e,t,n){e.$$.on_destroy.push(c(t,n))}function h(e,t){e.appendChild(t)}function d(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode.removeChild(e)}function f(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function p(e){return document.createElement(e)}function g(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function y(e){return document.createTextNode(e)}function v(){return y(" ")}function b(){return y("")}function w(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function _(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function S(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:_(e,t,n)}function x(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function E(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}class G{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=g(t.nodeName):this.e=p(t.nodeName),this.t=t,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from(this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)d(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(m)}}function T(e){const t={};for(const n of e)t[n.name]=n.value;return t}function M(e){s=e}function C(e){(function(){if(!s)throw new Error("Function called outside component initialization");return s})().$$.on_mount.push(e)}const L=[],k=[],I=[],F=[],P=Promise.resolve();let O=!1;function D(){O||(O=!0,P.then(H))}function $(){return D(),P}function N(e){I.push(e)}
|
2
2
|
// flush() calls callbacks in this order:
|
3
3
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
4
4
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
@@ -27,7 +27,7 @@ for(;A<L.length;){const e=L[A];A++,M(e),B(e.$$)}for(M(null),L.length=0,A=0;k.len
|
|
27
27
|
// subsequent updates...
|
28
28
|
for(let e=0;e<I.length;e+=1){const t=I[e];R.has(t)||(
|
29
29
|
// ...so guard against infinite loops
|
30
|
-
R.add(t),t())}I.length=0}while(L.length);for(;F.length;)F.pop()();O=!1,R.clear(),M(e)}function B(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(
|
30
|
+
R.add(t),t())}I.length=0}while(L.length);for(;F.length;)F.pop()();O=!1,R.clear(),M(e)}function B(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(N)}}const U=new Set;function Y(a,o,l,c,u,h,d,f=[-1]){const p=s;M(a);const g=a.$$={fragment:null,ctx:null,
|
31
31
|
// state
|
32
32
|
props:h,update:e,not_equal:u,bound:n(),
|
33
33
|
// lifecycle
|
@@ -41,10 +41,10 @@ g.fragment&&g.fragment.l(e),e.forEach(m)}else
|
|
41
41
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
42
42
|
g.fragment&&g.fragment.c();o.intro&&((v=a.$$.fragment)&&v.i&&(U.delete(v),v.i(b))),function(e,n,a,o){const{fragment:s,on_mount:l,on_destroy:c,after_update:u}=e.$$;s&&s.m(n,a),o||
|
43
43
|
// onMount happens before the initial afterUpdate
|
44
|
-
|
44
|
+
N((()=>{const n=l.map(t).filter(i);c?c.push(...n):
|
45
45
|
// Edge case - component was destroyed immediately,
|
46
46
|
// most likely as a result of a binding initialising
|
47
|
-
r(n),e.$$.on_mount=[]})),u.forEach(
|
47
|
+
r(n),e.$$.on_mount=[]})),u.forEach(N)}(a,o.target,o.anchor,o.customElement),H()}var v,b;M(p)}let j;"function"==typeof HTMLElement&&(j=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
|
48
48
|
// @ts-ignore todo: improve typings
|
49
49
|
for(const e in this.$$.slotted)
|
50
50
|
// @ts-ignore todo: improve typings
|
@@ -101,7 +101,7 @@ self.fetch.bind(self);
|
|
101
101
|
PERFORMANCE OF THIS SOFTWARE.
|
102
102
|
***************************************************************************** */
|
103
103
|
/* global Reflect, Promise */
|
104
|
-
var ge=function(e,t){return ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ge(e,t)};function ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function be(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function we(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _e(e){return"function"==typeof e}function Se(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var xe=Se((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Ee(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ge=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=ve(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(_e(l))try{l()}catch(e){i=e instanceof xe?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ve(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{Ce(d)}catch(e){i=null!=i?i:[],e instanceof xe?i=we(we([],be(i)),be(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new xe(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Ce(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ee(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ee(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Te=Ge.EMPTY;function Me(e){return e instanceof Ge||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function Ce(e){_e(e)?e():e.unsubscribe()}var Le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ke={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=ke.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,we([e,t],be(n))):setTimeout.apply(void 0,we([e,t],be(n)))},clearTimeout:function(e){var t=ke.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ie(){}var Fe=null;function Pe(e){if(Le.useDeprecatedSynchronousErrorHandling){var t=!Fe;if(t&&(Fe={errorThrown:!1,error:null}),e(),t){var n=Fe,r=n.errorThrown,i=n.error;if(Fe=null,r)throw i}}else e()}var Oe=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Me(t)&&t.add(n)):n.destination=He,n}return ye(t,e),t.create=function(e,t,n){return new Re(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},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(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ge),De=Function.prototype.bind;function Ne(e,t){return De.call(e,t)}var $e=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ae(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ae(e)}else Ae(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ae(e)}},e}(),Re=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&Le.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&Ne(t.next,a),error:t.error&&Ne(t.error,a),complete:t.complete&&Ne(t.complete,a)}):i=t;return o.destination=new $e(i),o}return ye(t,e),t}(Oe);function Ae(e){var t;t=e,ke.setTimeout((function(){throw t}))}var He={closed:!0,next:Ie,error:function(e){throw e},complete:Ie},Be="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ue(e){return e}function Ye(e){return 0===e.length?Ue:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var je=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Oe||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&Me(r)?e:new Re(e,t,n);return Pe((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=ze(t))((function(t,r){var i=new Re({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Be]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ye(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=ze(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function ze(e){var t;return null!==(t=null!=e?e:Le.Promise)&&void 0!==t?t:Promise}var We=Se((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ye(t,e),t.prototype.lift=function(e){var t=new Ze(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new We},t.prototype.next=function(e){var t=this;Pe((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ve(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Pe((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Pe((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?Te:(this.currentObservers=null,a.push(e),new Ge((function(){t.currentObservers=null,Ee(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new je;return e.source=this,e},t.create=function(e,t){return new Ze(e,t)},t}(je),Ze=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ye(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:Te},t}(Ve),Ke={now:function(){return(Ke.delegate||Date).now()},delegate:void 0},Xe=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ke);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ye(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Ve);let qe=[],Je={};
|
104
|
+
var ge=function(e,t){return ge=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ge(e,t)};function ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ge(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ve(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function be(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function we(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _e(e){return"function"==typeof e}function Se(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}var xe=Se((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Ee(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ge=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=ve(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(_e(l))try{l()}catch(e){i=e instanceof xe?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ve(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{Ce(d)}catch(e){i=null!=i?i:[],e instanceof xe?i=we(we([],be(i)),be(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new xe(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Ce(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ee(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ee(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Te=Ge.EMPTY;function Me(e){return e instanceof Ge||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function Ce(e){_e(e)?e():e.unsubscribe()}var Le={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},ke={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=ke.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,we([e,t],be(n))):setTimeout.apply(void 0,we([e,t],be(n)))},clearTimeout:function(e){var t=ke.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ie(){}var Fe=null;function Pe(e){if(Le.useDeprecatedSynchronousErrorHandling){var t=!Fe;if(t&&(Fe={errorThrown:!1,error:null}),e(),t){var n=Fe,r=n.errorThrown,i=n.error;if(Fe=null,r)throw i}}else e()}var Oe=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Me(t)&&t.add(n)):n.destination=He,n}return ye(t,e),t.create=function(e,t,n){return new Re(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},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(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ge),De=Function.prototype.bind;function $e(e,t){return De.call(e,t)}var Ne=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ae(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ae(e)}else Ae(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ae(e)}},e}(),Re=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&Le.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&$e(t.next,a),error:t.error&&$e(t.error,a),complete:t.complete&&$e(t.complete,a)}):i=t;return o.destination=new Ne(i),o}return ye(t,e),t}(Oe);function Ae(e){var t;t=e,ke.setTimeout((function(){throw t}))}var He={closed:!0,next:Ie,error:function(e){throw e},complete:Ie},Be="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ue(e){return e}function Ye(e){return 0===e.length?Ue:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)}}var je=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Oe||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&Me(r)?e:new Re(e,t,n);return Pe((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=ze(t))((function(t,r){var i=new Re({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Be]=function(){return this},e.prototype.pipe=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return Ye(e)(this)},e.prototype.toPromise=function(e){var t=this;return new(e=ze(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function ze(e){var t;return null!==(t=null!=e?e:Le.Promise)&&void 0!==t?t:Promise}var We=Se((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ye(t,e),t.prototype.lift=function(e){var t=new Ze(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new We},t.prototype.next=function(e){var t=this;Pe((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ve(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Pe((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Pe((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?Te:(this.currentObservers=null,a.push(e),new Ge((function(){t.currentObservers=null,Ee(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new je;return e.source=this,e},t.create=function(e,t){return new Ze(e,t)},t}(je),Ze=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ye(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:Te},t}(Ve),Ke={now:function(){return(Ke.delegate||Date).now()},delegate:void 0},Xe=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ke);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ye(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Ve);let qe=[],Je={};
|
105
105
|
/**
|
106
106
|
* @name topic
|
107
107
|
* @description A small wrapper over the rxjs to offer the topic method on top of it
|
@@ -279,11 +279,11 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
|
|
279
279
|
case"x":// 1, 2, 3, 4: The ISO8601 varios formats
|
280
280
|
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
|
281
281
|
// @generated from regex-gen.ts
|
282
|
-
var Ft=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ot=/^(@+)?(\+|#+)?[rs]?$/g,Dt=/(\*)(0+)|(#+)(0+)|(0+)/g
|
282
|
+
var Ft=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ot=/^(@+)?(\+|#+)?[rs]?$/g,Dt=/(\*)(0+)|(#+)(0+)|(0+)/g,$t=/^(0+)$/;function Nt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ot,(function(e,n,r){
|
283
283
|
// @@@ case
|
284
284
|
return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Rt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function At(e){
|
285
285
|
// Engineering
|
286
|
-
var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2))
|
286
|
+
var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!$t.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ht(e){var t=Rt(e);return t||{}}
|
287
287
|
/**
|
288
288
|
* https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
|
289
289
|
*/function Bt(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=gt(gt(gt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return gt(gt({},e),Ht(t))}),{}));continue;case"engineering":t=gt(gt(gt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return gt(gt({},e),Ht(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
|
@@ -292,7 +292,7 @@ case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";
|
|
292
292
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
293
293
|
case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Dt,(function(e,n,r,i,a,o){if(n)t.minimumIntegerDigits=r.length;else{if(i&&a)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}
|
294
294
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
295
|
-
if(
|
295
|
+
if($t.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(Pt.test(i.stem)){
|
296
296
|
// Precision
|
297
297
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
|
298
298
|
// precision-integer case
|
@@ -300,9 +300,9 @@ if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept
|
|
300
300
|
// .000* case (before ICU67 it was .000+)
|
301
301
|
return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:a&&o?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+o.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var a=i.options[0];
|
302
302
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
|
303
|
-
"w"===a?t=gt(gt({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=gt(gt({},t)
|
303
|
+
"w"===a?t=gt(gt({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=gt(gt({},t),Nt(a)))}
|
304
304
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
|
305
|
-
else if(Ot.test(i.stem))t=gt(gt({},t)
|
305
|
+
else if(Ot.test(i.stem))t=gt(gt({},t),Nt(i.stem));else{var o=Rt(i.stem);o&&(t=gt(gt({},t),o));var s=At(i.stem);s&&(t=gt(gt({},t),s))}}return t}
|
306
306
|
// @generated from time-data-gen.ts
|
307
307
|
// prettier-ignore
|
308
308
|
var Ut,Yt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
|
@@ -592,7 +592,7 @@ if(_t(u)){var m="string"==typeof u.style?r.date[u.style]:Ct(u.style)?u.style.par
|
|
592
592
|
See the accompanying LICENSE file for terms.
|
593
593
|
*/
|
594
594
|
// -- MessageFormat --------------------------------------------------------
|
595
|
-
function
|
595
|
+
function $n(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?gt(gt(gt({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=gt(gt({},i[t]),a[t]||{}),e}),{})):i),n}),gt({},e)):e}function Nn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(Ln||(Ln={}));var Rn=/** @class */function(){function e(t,n,r,i){var a,o=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=o.formatToParts(e);
|
596
596
|
// Hot path for straight simple msg translations
|
597
597
|
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Ln.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Dn(o.ast,o.locales,o.formatters,o.formats,e,void 0,o.message)},this.resolvedOptions=function(){return{locale:o.resolvedLocale.toString()}},this.getAst=function(){return o.ast},
|
598
598
|
// Defined first because it's used to build the format pattern.
|
@@ -601,7 +601,7 @@ this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(thi
|
|
601
601
|
this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,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.");
|
602
602
|
// Creates a new object with the specified `formats` merged with the default
|
603
603
|
// formats.
|
604
|
-
this.formats
|
604
|
+
this.formats=$n(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:Nn(a.number),strategy:Cn.variadic}),getDateTimeFormat:bn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:Nn(a.dateTime),strategy:Cn.variadic}),getPluralRules:bn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,yt([void 0],t,!1)))}),{cache:Nn(a.pluralRules),strategy:Cn.variadic})})}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(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=vn,
|
605
605
|
// Default format options used as the prototype of the `formats` provided to the
|
606
606
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
607
607
|
// and Intl.DateTimeFormat instances.
|
@@ -637,7 +637,7 @@ const _r=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackbe
|
|
637
637
|
* @description A method that returns the type of the device
|
638
638
|
* @param {String} userAgent window.navigator.userAgent
|
639
639
|
* @returns {String} Android/iPhone/iPad/PC
|
640
|
-
*/const
|
640
|
+
*/function xr(e,t){Vn(e,t)}const Er={en:{gamesCategorySection:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"You can now add games to favorites by tapping on the star icon located on the game page.",noFavorites:"You can now add games to favorites by clicking on the star icon located on the game thumbnail.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"}},zh:{gamesCategorySection:{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"}},de:{gamesCategorySection:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, kein Treffer. Bitte erneut versuchen."}},it:{gamesCategorySection:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare."}},fr:{gamesCategorySection:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",noFavorites:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente"}},es:{gamesCategorySection:{showMore:"Más",viewAll:"Mostrar todo",searchedItems:"Resultado de búsqueda",recentSearchedItems:"Aún no se ha iniciado ninguna búsqueda. Simplemente busca un juego.",favorites:"Favorito",noRecentSearch:"Aún no se inició ninguna búsqueda. Simplemente busque un juego.",noResults:"Lo sentimos, no se encontraron resultados. Inténtalo de nuevo.",noFavoritesMobile:"Ahora puede agregar juegos a favoritos tocando el ícono de estrella ubicado en la página del juego.",noFavorites:"Ahora puede agregar juegos a favoritos haciendo clic en el ícono de estrella ubicado en la miniatura del juego.",noFavoritesTitle:"Aún no tienes ningún juego favorito.",waiting:"Esperando"}},tr:{gamesCategorySection:{showMore:"Daha fazla göster",viewAll:"Hepsini gör",searchedItems:"Aranan öğeler",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin"}},ru:{gamesCategorySection:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"}},ro:{gamesCategorySection:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare"}},hr:{gamesCategorySection:{showMore:"Više",viewAll:"Pokaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnje pretrage",noRecentSearch:"Pretraživanje nije pokrenuto. Jednostavno potražite željenu igru.",noResults:"Žao nam je, nema rezultata. Molimo pokušajte ponovno."}},hu:{gamesCategorySection:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra."}},pl:{gamesCategorySection:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie."}},pt:{gamesCategorySection:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando"}},sl:{gamesCategorySection:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno."}},sr:{gamesCategorySection:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo."}}};var Gr=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return pe(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
|
641
641
|
// This is done to register the method called with moment()
|
642
642
|
// without creating circular dependencies.
|
643
643
|
function i(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function o(e){
|
@@ -659,14 +659,14 @@ function S(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
|
|
659
659
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
660
660
|
this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function I(e,t){var n,r=m({},e);for(n in t)s(t,n)&&(o(e[n])&&o(t[n])?(r[n]={},m(r[n],e[n]),m(r[n],t[n])):null!=t[n]?r[n]=t[n]:delete r[n]);for(n in e)s(e,n)&&!s(t,n)&&o(e[n])&&(
|
661
661
|
// make sure changes to properties don't modify parent config
|
662
|
-
r[n]=m({},r[n]));return r}function F(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var P={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function O(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return L(r)?r.call(t,n):r}function D(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var
|
662
|
+
r[n]=m({},r[n]));return r}function F(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,T=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)s(e,t)&&n.push(t);return n};var P={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function O(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return L(r)?r.call(t,n):r}function D(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var $=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,N=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},A={};
|
663
663
|
// token: 'M'
|
664
664
|
// padded: ['MM', 2]
|
665
665
|
// ordinal: 'Mo'
|
666
666
|
// callback: function () { this.month() + 1 }
|
667
|
-
function H(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(A[e]=i),t&&(A[t[0]]=function(){return D(i.apply(this,arguments),t[1],t[2])}),n&&(A[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(
|
667
|
+
function H(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(A[e]=i),t&&(A[t[0]]=function(){return D(i.apply(this,arguments),t[1],t[2])}),n&&(A[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function B(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match($);for(t=0,n=r.length;t<n;t++)A[r[t]]?r[t]=A[r[t]]:r[t]=B(r[t]);return function(t){var i,a="";for(i=0;i<n;i++)a+=L(r[i])?r[i].call(t,e):r[i];return a}}
|
668
668
|
// format date using native date object
|
669
|
-
function Y(e,t){return e.isValid()?(t=j(t,e.localeData()),R[t]=R[t]||U(t),R[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(
|
669
|
+
function Y(e,t){return e.isValid()?(t=j(t,e.localeData()),R[t]=R[t]||U(t),R[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(N.lastIndex=0;n>=0&&N.test(e);)e=e.replace(N,r),N.lastIndex=0,n-=1;return e}var z={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match($).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var V="Invalid date";function Z(){return this._invalidDate}var K="%d",X=/\d{1,2}/;function q(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var i=this._relativeTime[n];return L(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return L(n)?n(t):n.replace(/%s/i,t)}var te={};function ne(e,t){var n=e.toLowerCase();te[n]=te[n+"s"]=te[t]=e}function re(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function ie(e){var t,n,r={};for(n in e)s(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var ae={};function oe(e,t){ae[e]=t}function se(e){var t,n=[];for(t in e)s(e,t)&&n.push({unit:t,priority:ae[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}function le(e){return e%4==0&&e%100!=0||e%400==0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function he(e,t){return function(n){return null!=n?(me(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function me(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
|
670
670
|
// MOMENTS
|
671
671
|
function fe(e){return L(this[e=re(e)])?this[e]():this}function ge(e,t){if("object"==typeof e){var n,r=se(e=ie(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(L(this[e=re(e)]))return this[e](t);return this}var ye,ve=/\d/,// 0 - 9
|
672
672
|
be=/\d\d/,// 00 - 99
|
@@ -686,9 +686,9 @@ Fe=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
|
|
686
686
|
Pe=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
|
687
687
|
// any word (or two) characters or numbers including two/three word month in arabic.
|
688
688
|
// includes scottish gaelic two word and hyphenated months
|
689
|
-
Oe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function De(e,t,n){ye[e]=L(t)?t:function(e,r){return e&&n?n:t}}function
|
689
|
+
Oe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i;function De(e,t,n){ye[e]=L(t)?t:function(e,r){return e&&n?n:t}}function $e(e,t){return s(ye,e)?ye[e](t._strict,t._locale):new RegExp(Ne(e))}
|
690
690
|
// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
|
691
|
-
function
|
691
|
+
function Ne(e){return Re(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Re(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Ae={};function He(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=ue(e)}),r=e.length,n=0;n<r;n++)Ae[e[n]]=i}function Be(e,t){He(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&s(Ae,e)&&Ae[e](t,n._a,n,e)}var Ye,je=0,ze=1,We=2,Ve=3,Ze=4,Ke=5,Xe=6,qe=7,Je=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
|
692
692
|
// FORMATTING
|
693
693
|
Ye=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
|
694
694
|
// I know
|
@@ -778,7 +778,7 @@ oe("day",11),oe("weekday",11),oe("isoWeekday",11),
|
|
778
778
|
// PARSING
|
779
779
|
De("d",xe),De("e",xe),De("E",xe),De("dd",(function(e,t){return t.weekdaysMinRegex(e)})),De("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),De("dddd",(function(e,t){return t.weekdaysRegex(e)})),Be(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
|
780
780
|
// if we didn't get a weekday name, mark the date as invalid
|
781
|
-
null!=i?t.d=i:g(n).invalidWeekday=e})),Be(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var Ot="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_")
|
781
|
+
null!=i?t.d=i:g(n).invalidWeekday=e})),Be(["d","e","E"],(function(e,t,n,r){t[r]=ue(e)}));var Ot="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),$t="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nt=Oe,Rt=Oe,At=Oe;function Ht(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Pt(n,this._week.dow):e?n[e.day()]:n}function Bt(e){return!0===e?Pt(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?Pt(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Yt(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ye.call(this._weekdaysParse,o))||-1!==(i=Ye.call(this._shortWeekdaysParse,o))||-1!==(i=Ye.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ye.call(this._shortWeekdaysParse,o))||-1!==(i=Ye.call(this._weekdaysParse,o))||-1!==(i=Ye.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ye.call(this._minWeekdaysParse,o))||-1!==(i=Ye.call(this._weekdaysParse,o))||-1!==(i=Ye.call(this._shortWeekdaysParse,o))?i:null}function jt(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Yt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
|
782
782
|
// test the regex
|
783
783
|
if(
|
784
784
|
// make the regex if we don't have it already
|
@@ -788,7 +788,7 @@ function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this
|
|
788
788
|
// behaves the same as moment#day except
|
789
789
|
// as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
|
790
790
|
// as a setter, sunday should belong to the previous week.
|
791
|
-
if(null!=e){var t=Ft(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex
|
791
|
+
if(null!=e){var t=Ft(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(s(this,"_weekdaysRegex")||(this._weekdaysRegex=Nt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(s(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(s(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(s(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=At),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qt(){function e(e,t){return t.length-e.length}var t,n,r,i,a,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)
|
792
792
|
// make the regex if we don't have it already
|
793
793
|
n=f([2e3,1]).day(t),r=Re(this.weekdaysMin(n,"")),i=Re(this.weekdaysShort(n,"")),a=Re(this.weekdays(n,"")),o.push(r),s.push(i),l.push(a),c.push(r),c.push(i),c.push(a);
|
794
794
|
// Sorting makes sure if one weekday (or abbr) is a prefix of another it
|
@@ -811,7 +811,7 @@ oe("hour",13),De("a",tn),De("A",tn),De("H",xe),De("h",xe),De("k",xe),De("HH",xe,
|
|
811
811
|
// specified which hour they want. So trying to maintain the same hour (in
|
812
812
|
// a new timezone) makes sense. Adding/subtracting hours does not follow
|
813
813
|
// this rule.
|
814
|
-
an=he("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:P,longDateFormat:z,invalidDate:V,ordinal:K,dayOfMonthOrdinalParse:X,relativeTime:J,months:tt,monthsShort:nt,week:Tt,weekdays:Ot,weekdaysMin
|
814
|
+
an=he("Hours",!0);function on(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var sn,ln={calendar:P,longDateFormat:z,invalidDate:V,ordinal:K,dayOfMonthOrdinalParse:X,relativeTime:J,months:tt,monthsShort:nt,week:Tt,weekdays:Ot,weekdaysMin:$t,weekdaysShort:Dt,meridiemParse:rn},cn={},un={};
|
815
815
|
// internal storage for locale config files
|
816
816
|
function hn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}
|
817
817
|
// pick the locale from the array
|
@@ -874,9 +874,9 @@ return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s
|
|
874
874
|
// the only allowed military tz is Z
|
875
875
|
return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
|
876
876
|
// date and time from ref 2822 format
|
877
|
-
function
|
877
|
+
function $n(e){var t,n=Cn.exec(Pn(e._i));if(n){if(t=In(n[4],n[3],n[2],n[5],n[6],n[7]),!On(n[1],t,e))return;e._a=t,e._tzm=Dn(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
|
878
878
|
// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
|
879
|
-
function
|
879
|
+
function Nn(e){var t=Mn.exec(e._i);null===t?(kn(e),!1===e._isValid&&(delete e._isValid,$n(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
|
880
880
|
// Final attempt, use Input Fallback
|
881
881
|
r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
|
882
882
|
// Pick the first defined of two or three arguments.
|
@@ -926,7 +926,7 @@ function Un(e){
|
|
926
926
|
// TODO: Move this to another part of the creation flow to prevent circular deps
|
927
927
|
if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;
|
928
928
|
// This array is used to make a Date, either with `new Date` or `Date.UTC`
|
929
|
-
var t,n,i,a,o,s,l,c=""+e._i,u=c.length,h=0;for(l=(i=j(e._f,e._locale).match(
|
929
|
+
var t,n,i,a,o,s,l,c=""+e._i,u=c.length,h=0;for(l=(i=j(e._f,e._locale).match($)||[]).length,t=0;t<l;t++)a=i[t],(n=(c.match($e(a,e))||[])[0])&&((o=c.substr(0,c.indexOf(n))).length>0&&g(e).unusedInput.push(o),c=c.slice(c.indexOf(n)+n.length),h+=n.length),
|
930
930
|
// don't parse if it's not a known token
|
931
931
|
A[a]?(n?g(e).empty=!1:g(e).unusedTokens.push(a),Ue(a,n,e)):e._strict&&!n&&g(e).unusedTokens.push(a);
|
932
932
|
// add remaining unparsed input length to the string
|
@@ -936,7 +936,7 @@ e._a[Ve]<=12&&!0===g(e).bigHour&&e._a[Ve]>0&&(g(e).bigHour=void 0),g(e).parsedDa
|
|
936
936
|
// handle meridiem
|
937
937
|
e._a[Ve]=Yn(e._locale,e._a[Ve],e._meridiem),null!==(
|
938
938
|
// handle era
|
939
|
-
s=g(e).era)&&(e._a[je]=e._locale.erasConvertYear(s,e._a[je])),Hn(e),_n(e)}else
|
939
|
+
s=g(e).era)&&(e._a[je]=e._locale.erasConvertYear(s,e._a[je])),Hn(e),_n(e)}else $n(e);else kn(e)}function Yn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
|
940
940
|
// Fallback
|
941
941
|
(r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}
|
942
942
|
// date from string and array of format strings
|
@@ -946,7 +946,7 @@ a+=g(t).charsLeftOver,
|
|
946
946
|
//or tokens
|
947
947
|
a+=10*g(t).unusedTokens.length,g(t).score=a,s?a<r&&(r=a,n=t):(null==r||a<r||o)&&(r=a,n=t,o&&(s=!0));m(e,n||t)}function zn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Hn(e)}}function Wn(e){var t=new S(_n(Vn(e)));return t._nextDay&&(
|
948
948
|
// Adding is smart enough around DST
|
949
|
-
t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||bn(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new S(_n(t)):(h(t)?e._d=t:a(n)?jn(e):n?Un(e):Zn(e),y(e)||(e._d=null),e))}function Zn(e){var t=e._i;c(t)?e._d=new Date(r.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t
|
949
|
+
t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._locale=e._locale||bn(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new S(_n(t)):(h(t)?e._d=t:a(n)?jn(e):n?Un(e):Zn(e),y(e)||(e._d=null),e))}function Zn(e){var t=e._i;c(t)?e._d=new Date(r.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Nn(e):a(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Hn(e)):o(t)?zn(e):u(t)?
|
950
950
|
// from milliseconds
|
951
951
|
e._d=new Date(t):r.createFromInputFallback(e)}function Kn(e,t,n,r,i){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(o(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),
|
952
952
|
// object construction must be done this way.
|
@@ -1025,9 +1025,9 @@ return(isNaN(n)?0:n)*t}function Ir(e,t){var n={};return n.months=t.month()-e.mon
|
|
1025
1025
|
// TODO: remove 'name' arg after deprecation is removed
|
1026
1026
|
function Pr(e,t){return function(n,r){var i;
|
1027
1027
|
//invert the arguments, but complain about it
|
1028
|
-
return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Or(this,Lr(n,r),e),this}}function Or(e,t,n,i){var a=t._milliseconds,o=cr(t._days),s=cr(t._months);e.isValid()&&(i=null==i||i,s&&ut(e,de(e,"Month")+s*n),o&&me(e,"Date",de(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}Lr.fn=sr.prototype,Lr.invalid=or;var Dr=Pr(1,"add")
|
1028
|
+
return null===r||isNaN(+r)||(C(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=n,n=r,r=i),Or(this,Lr(n,r),e),this}}function Or(e,t,n,i){var a=t._milliseconds,o=cr(t._days),s=cr(t._months);e.isValid()&&(i=null==i||i,s&&ut(e,de(e,"Month")+s*n),o&&me(e,"Date",de(e,"Date")+o*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,o||s))}Lr.fn=sr.prototype,Lr.invalid=or;var Dr=Pr(1,"add"),$r=Pr(-1,"subtract");function Nr(e){return"string"==typeof e||e instanceof String}
|
1029
1029
|
// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
|
1030
|
-
function Rr(e){return x(e)||h(e)
|
1030
|
+
function Rr(e){return x(e)||h(e)||Nr(e)||u(e)||Hr(e)||Ar(e)||null==e}function Ar(e){var t,n,r=o(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=a.length;for(t=0;t<c;t+=1)n=a[t],i=i||s(e,n);return r&&i}function Hr(e){var t=a(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Nr(e)})).length),t&&n}function Br(e){var t,n,r=o(e)&&!l(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)n=a[t],i=i||s(e,n);return r&&i}function Ur(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Yr(e,t){
|
1031
1031
|
// Support for single parameter, formats only overload to the calendar function
|
1032
1032
|
1===arguments.length&&(arguments[0]?Rr(arguments[0])?(e=arguments[0],t=void 0):Br(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
|
1033
1033
|
// We want to compare the start of today, vs this.
|
@@ -1078,7 +1078,7 @@ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e]
|
|
1078
1078
|
// truncate time
|
1079
1079
|
n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Di(){var e,t,n,i,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(n=a[e].since<=a[e].until?1:-1,
|
1080
1080
|
// truncate time
|
1081
|
-
i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-r(a[e].since).year())*n+a[e].offset;return this.year()}function
|
1081
|
+
i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until<=i&&i<=a[e].since)return(this.year()-r(a[e].since).year())*n+a[e].offset;return this.year()}function $i(e){return s(this,"_erasNameRegex")||Yi.call(this),e?this._erasNameRegex:this._erasRegex}function Ni(e){return s(this,"_erasAbbrRegex")||Yi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ri(e){return s(this,"_erasNarrowRegex")||Yi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ai(e,t){return t.erasAbbrRegex(e)}function Hi(e,t){return t.erasNameRegex(e)}function Bi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||Le}function Yi(){var e,t,n=[],r=[],i=[],a=[],o=this.eras();for(e=0,t=o.length;e<t;++e)r.push(Re(o[e].name)),n.push(Re(o[e].abbr)),i.push(Re(o[e].narrow)),a.push(Re(o[e].name)),a.push(Re(o[e].abbr)),a.push(Re(o[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+r.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+n.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+i.join("|")+")","i")}
|
1082
1082
|
// FORMATTING
|
1083
1083
|
function ji(e,t){H(0,[e,e.length],0,t)}
|
1084
1084
|
// MOMENTS
|
@@ -1151,7 +1151,7 @@ De("S",Te,ve),De("SS",Te,be),De("SSS",Te,we),ra="SSSS";ra.length<=9;ra+="S")De(r
|
|
1151
1151
|
// MOMENTS
|
1152
1152
|
function sa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ia=he("Milliseconds",!1),
|
1153
1153
|
// FORMATTING
|
1154
|
-
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=S.prototype;function ua(e){return Xn(1e3*e)}function ha(){return Xn.apply(null,arguments).parseZone()}function da(e){return e}ca.add=Dr,ca.calendar=Yr,ca.clone=jr,ca.diff=qr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=fe,ca.invalidAt=Mi,ca.isAfter=zr,ca.isBefore=Wr,ca.isBetween=Vr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=Gi,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=Jn,ca.min=qn,ca.parsingFlags=Ti,ca.set=ge,ca.startOf=yi,ca.subtract
|
1154
|
+
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=S.prototype;function ua(e){return Xn(1e3*e)}function ha(){return Xn.apply(null,arguments).parseZone()}function da(e){return e}ca.add=Dr,ca.calendar=Yr,ca.clone=jr,ca.diff=qr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=fe,ca.invalidAt=Mi,ca.isAfter=zr,ca.isBefore=Wr,ca.isBetween=Vr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=Gi,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=Jn,ca.min=qn,ca.parsingFlags=Ti,ca.set=ge,ca.startOf=yi,ca.subtract=$r,ca.toArray=Si,ca.toObject=xi,ca.toDate=_i,ca.toISOString=ei,ca.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ca[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ca.toJSON=Ei,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=Ci,ca.eraName=Fi,ca.eraNarrow=Pi,ca.eraAbbr=Oi,ca.eraYear=Di,ca.year=yt,ca.isLeapYear=vt,ca.weekYear=zi,ca.isoWeekYear=Wi,ca.quarter=ca.quarters=Qi,ca.month=ht,ca.daysInMonth=dt,ca.week=ca.weeks=Lt,ca.isoWeek=ca.isoWeeks=kt,ca.weeksInYear=Ki,ca.weeksInWeekYear=Xi,ca.isoWeeksInYear=Vi,ca.isoWeeksInISOWeekYear=Zi,ca.date=ea,ca.day=ca.days=zt,ca.weekday=Wt,ca.isoWeekday=Vt,ca.dayOfYear=ta,ca.hour=ca.hours=an,ca.minute=ca.minutes=na,ca.second=ca.seconds=aa,ca.millisecond=ca.milliseconds=ia,ca.utcOffset=gr,ca.utc=vr,ca.local=br,ca.parseZone=wr,ca.hasAlignedHourOffset=_r,ca.isDST=Sr,ca.isLocal=Er,ca.isUtcOffset=Gr,ca.isUtc=Tr,ca.isUTC=Tr,ca.zoneAbbr=sa,ca.zoneName=la,ca.dates=G("dates accessor is deprecated. Use date instead.",ea),ca.months=G("months accessor is deprecated. Use month instead",ht),ca.years=G("years accessor is deprecated. Use year instead",yt),ca.zone=G("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=G("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",xr);var ma=F.prototype;function fa(e,t,n,r){var i=bn(),a=f().set(r,t);return i[n](a,e)}function pa(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=fa(e,r,n,"month");return i}
|
1155
1155
|
// ()
|
1156
1156
|
// (5)
|
1157
1157
|
// (fmt, 5)
|
@@ -1160,7 +1160,7 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=S.prototype;function ua(e){r
|
|
1160
1160
|
// (true, 5)
|
1161
1161
|
// (true, fmt, 5)
|
1162
1162
|
// (true, fmt)
|
1163
|
-
function ga(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=bn(),o=e?a._week.dow:0,s=[];if(null!=n)return fa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fa(t,(i+o)%7,r,"day");return s}function ya(e,t){return pa(e,t,"months")}function va(e,t){return pa(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function _a(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=O,ma.longDateFormat=W,ma.invalidDate=Z,ma.ordinal=q,ma.preparse=da,ma.postformat=da,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=k,ma.eras=Li,ma.erasParse=ki,ma.erasConvertYear=Ii,ma.erasAbbrRegex
|
1163
|
+
function ga(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=bn(),o=e?a._week.dow:0,s=[];if(null!=n)return fa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fa(t,(i+o)%7,r,"day");return s}function ya(e,t){return pa(e,t,"months")}function va(e,t){return pa(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function _a(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=O,ma.longDateFormat=W,ma.invalidDate=Z,ma.ordinal=q,ma.preparse=da,ma.postformat=da,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=k,ma.eras=Li,ma.erasParse=ki,ma.erasConvertYear=Ii,ma.erasAbbrRegex=Ni,ma.erasNameRegex=$i,ma.erasNarrowRegex=Ri,ma.months=ot,ma.monthsShort=st,ma.monthsParse=ct,ma.monthsRegex=ft,ma.monthsShortRegex=mt,ma.week=Gt,ma.firstDayOfYear=Ct,ma.firstDayOfWeek=Mt,ma.weekdays=Ht,ma.weekdaysMin=Ut,ma.weekdaysShort=Bt,ma.weekdaysParse=jt,ma.weekdaysRegex=Zt,ma.weekdaysShortRegex=Kt,ma.weekdaysMinRegex=Xt,ma.isPM=nn,ma.meridiem=on,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
|
1164
1164
|
// Side effect imports
|
1165
1165
|
r.lang=G("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=G("moment.langData is deprecated. Use moment.localeData instead.",bn);var Sa=Math.abs;function xa(){var e=this._data;return this._milliseconds=Sa(this._milliseconds),this._days=Sa(this._days),this._months=Sa(this._months),e.milliseconds=Sa(e.milliseconds),e.seconds=Sa(e.seconds),e.minutes=Sa(e.minutes),e.hours=Sa(e.hours),e.months=Sa(e.months),e.years=Sa(e.years),this}function Ea(e,t,n,r){var i=Lr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
|
1166
1166
|
// supports only 2.0-style add(1, 's') or add(duration)
|
@@ -1187,7 +1187,7 @@ t=this._days+Math.round(ka(this._months)),e){case"week":return t/7+r/6048e5;case
|
|
1187
1187
|
// Math.floor prevents floating point math errors here
|
1188
1188
|
case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
|
1189
1189
|
// TODO: Use this.as('ms')?
|
1190
|
-
function Fa(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Pa(e){return function(){return this.as(e)}}var Oa=Pa("ms"),Da=Pa("s")
|
1190
|
+
function Fa(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Pa(e){return function(){return this.as(e)}}var Oa=Pa("ms"),Da=Pa("s"),$a=Pa("m"),Na=Pa("h"),Ra=Pa("d"),Aa=Pa("w"),Ha=Pa("M"),Ba=Pa("Q"),Ua=Pa("y");function Ya(){return Lr(this)}function ja(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function za(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wa=za("milliseconds"),Va=za("seconds"),Za=za("minutes"),Ka=za("hours"),Xa=za("days"),qa=za("months"),Ja=za("years");function Qa(){return ce(this.days()/7)}var eo=Math.round,to={ss:44,// a few seconds to seconds
|
1191
1191
|
s:45,// seconds to minute
|
1192
1192
|
m:45,// minutes to hour
|
1193
1193
|
h:22,// hours to day
|
@@ -1213,7 +1213,7 @@ e=ce(l/60),t=ce(e/60),l%=60,e%=60,
|
|
1213
1213
|
// 12 months -> 1 year
|
1214
1214
|
n=ce(u/12),u%=12,
|
1215
1215
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
1216
|
-
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",a=lo(this._months)!==lo(h)?"-":"",o=lo(this._days)!==lo(h)?"-":"",s=lo(this._milliseconds)!==lo(h)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var uo=sr.prototype;return uo.isValid=ar,uo.abs=xa,uo.add=Ga,uo.subtract=Ta,uo.as=Ia,uo.asMilliseconds=Oa,uo.asSeconds=Da,uo.asMinutes
|
1216
|
+
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",a=lo(this._months)!==lo(h)?"-":"",o=lo(this._days)!==lo(h)?"-":"",s=lo(this._milliseconds)!==lo(h)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var uo=sr.prototype;return uo.isValid=ar,uo.abs=xa,uo.add=Ga,uo.subtract=Ta,uo.as=Ia,uo.asMilliseconds=Oa,uo.asSeconds=Da,uo.asMinutes=$a,uo.asHours=Na,uo.asDays=Ra,uo.asWeeks=Aa,uo.asMonths=Ha,uo.asQuarters=Ba,uo.asYears=Ua,uo.valueOf=Fa,uo._bubble=Ca,uo.clone=Ya,uo.get=ja,uo.milliseconds=Wa,uo.seconds=Va,uo.minutes=Za,uo.hours=Ka,uo.days=Xa,uo.weeks=Qa,uo.months=qa,uo.years=Ja,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=si,uo.localeData=ci,uo.toIsoString=G("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,
|
1217
1217
|
// FORMATTING
|
1218
1218
|
H("X",0,0,"unix"),H("x",0,0,"valueOf"),
|
1219
1219
|
// PARSING
|
@@ -1229,190 +1229,188 @@ TIME:"HH:mm",// <input type="time" />
|
|
1229
1229
|
TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
|
1230
1230
|
TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
|
1231
1231
|
WEEK:"GGGG-[W]WW",// <input type="week" />
|
1232
|
-
MONTH:"YYYY-MM"},r}()}));const
|
1232
|
+
MONTH:"YYYY-MM"},r}()}));function Tr(e,t){Vn(e,t)}const Mr={en:{gameThumbnail:{playNow:"Start now!",new:"NEW",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},zh:{gameThumbnail:{playNow:"現在開始!",new:"新的",hot:"熱的",opens:"打開 ",full:"滿桌 - 下注",dealer:"經銷商"}},de:{gameThumbnail:{playNow:"Jetzt beginnen!",new:"NEU",hot:"Hot",opens:"Öffnet ",full:"full - bet behind",dealer:"Dealer"}},it:{gameThumbnail:{playNow:"Inizia ora!",new:"NOVITÀ",hot:"HOT",
|
1233
1233
|
// TODO: translate all other supported languages
|
1234
|
-
opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},
|
1234
|
+
opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},fr:{gameThumbnail:{playNow:"Commencez maintenant",new:"Nouveau",hot:"Chaud",opens:"Ouvre ",full:"Table pleine - pari derrière",dealer:"Concessionnaire"}},es:{gameThumbnail:{playNow:"Empezar ahora!",new:"NUEVO",hot:"Hot",opens:"Abierto ",full:"Mesa completa - apuesta detrás",dealer:"Dealer"}},tr:{gameThumbnail:{playNow:"Şimdi oyna",new:"YENİ",hot:"SICAK",opens:"Açılır ",full:"masa dolu - bet behind",dealer:"Dealer"}},ru:{gameThumbnail:{playNow:"Играть сейчас",new:"НОВАЯ",hot:"ГОРЯЧЕЙ",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},ro:{gameThumbnail:{playNow:"Joaca acum",new:"NOU",hot:"POPULAR",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},hu:{gameThumbnail:{playNow:"Játsszon most!",new:"ÚJ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pl:{gameThumbnail:{playNow:"Rozpocznij teraz!",new:"NOWOŚĆ",hot:"Hot",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},pt:{gameThumbnail:{playNow:"Comece agora!",new:"NOVO",hot:"Hot",opens:"Abrir ",full:"Mesa cheia - aposta atrás",dealer:"Dealer"}},sl:{gameThumbnail:{playNow:"Začnite zdaj!",new:"NOVO",hot:"Vroče",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}},sr:{gameThumbnail:{playNow:"Započnite sada!",new:"NOVO",hot:"Vruće",opens:"Opens ",full:"table full - bet behind",dealer:"Dealer"}}},Cr={AED:"د.إ",AFN:"؋",ALL:"L",AMD:"֏",ANG:"ƒ",AOA:"Kz",ARS:"$",AUD:"$",AWG:"ƒ",AZN:"ман",BAM:"KM",BBD:"$",BDT:"৳",BGN:"лв",BHD:".د.ب",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BRL:"R$",BSD:"$",BTC:"฿",BTN:"Nu.",BWP:"P",BYR:"p.",BZD:"BZ$",CAD:"$",CDF:"FC",CHF:"CHF",CLP:"$",CNY:"¥",COP:"$",CRC:"₡",CUC:"$",CUP:"₱",CVE:"$",CZK:"Kč",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"دج",EEK:"kr",EGP:"£",ERN:"Nfk",ETB:"Br",ETH:"Ξ",EUR:"€",FJD:"$",FKP:"£",GBP:"£",GEL:"₾",GGP:"£",GHC:"₵",GHS:"GH₵",GIP:"£",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"₪",IMP:"£",INR:"₹",IQD:"ع.د",IRR:"﷼",ISK:"kr",JEP:"£",JMD:"J$",JOD:"JD",JPY:"¥",KES:"KSh",KGS:"лв",KHR:"៛",KMF:"CF",KPW:"₩",KRW:"₩",KWD:"KD",KYD:"$",KZT:"лв",LAK:"₭",LBP:"£",LKR:"₨",LRD:"$",LSL:"M",LTC:"Ł",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"ден",MMK:"K",MNT:"₮",MOP:"MOP$",MRO:"UM",MUR:"₨",MVR:"Rf",MWK:"MK",MXN:"$",MYR:"RM",MZN:"MT",NAD:"$",NGN:"₦",NIO:"C$",NOK:"kr",NPR:"₨",NZD:"$",OMR:"﷼",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"₱",PKR:"₨",PLN:"zł",PYG:"Gs",QAR:"﷼",RMB:"¥",RON:"lei",RSD:"Дин.",RUB:"₽",RWF:"R₣",SAR:"﷼",SBD:"$",SCR:"₨",SDG:"ج.س.",SEK:"kr",SGD:"$",SHP:"£",SLL:"Le",SOS:"S",SRD:"$",SSP:"£",STD:"Db",SVC:"$",SYP:"£",SZL:"E",THB:"฿",TJS:"SM",TMT:"T",TND:"د.ت",TOP:"T$",TRL:"₤",TRY:"₺",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"₴",UGX:"USh",USD:"$",UYU:"$U",UZS:"лв",VEF:"Bs",VND:"₫",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"Ƀ",XCD:"$",XOF:"CFA",XPF:"₣",YER:"﷼",ZAR:"R",ZWD:"Z$"};
|
1235
1235
|
/* eslint-disable quote-props */
|
1236
1236
|
/* ../casino-game-thumbnail/src/CasinoGameThumbnail.svelte generated by Svelte v3.48.0 */
|
1237
|
-
function
|
1238
|
-
// (
|
1239
|
-
function
|
1240
|
-
// (
|
1241
|
-
function
|
1242
|
-
// (
|
1243
|
-
function
|
1244
|
-
// (
|
1245
|
-
function
|
1246
|
-
// (
|
1247
|
-
function
|
1248
|
-
// (
|
1249
|
-
function
|
1250
|
-
// (
|
1251
|
-
function
|
1252
|
-
return e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===
|
1253
|
-
// (
|
1254
|
-
function
|
1255
|
-
// (
|
1256
|
-
function
|
1257
|
-
/*div0_binding*/e[
|
1258
|
-
/*div0_binding*/e[
|
1259
|
-
// (
|
1260
|
-
function
|
1261
|
-
return e[32]?
|
1262
|
-
// (
|
1263
|
-
function
|
1264
|
-
return e[29]?
|
1265
|
-
// (
|
1266
|
-
function
|
1267
|
-
// (
|
1268
|
-
function
|
1269
|
-
// (
|
1270
|
-
function
|
1271
|
-
// (
|
1272
|
-
function
|
1273
|
-
// (
|
1274
|
-
function
|
1275
|
-
// (
|
1276
|
-
function
|
1277
|
-
// (
|
1278
|
-
function
|
1279
|
-
return 16387&t[0]&&(O=null),/*gamefavorite, isLoggedIn, favorites*/16387&t[0]&&(D=null),null==O&&(O=!(_r(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[14]||/*favorites*/!e[1])),O?
|
1280
|
-
/*img_binding*/t[
|
1281
|
-
/*div4_binding*/,t[
|
1282
|
-
/*img_binding*/,t[
|
1283
|
-
/*div4_binding*/,t[
|
1237
|
+
function Lr(e,t,n){const r=e.slice();return r[109]=t[n],r[111]=n,r}function kr(e,t,n){const r=e.slice();return r[106]=t[n],r}
|
1238
|
+
// (562:8) {#if fav}
|
1239
|
+
function Ir(e){let t,n=!_r(/*userAgent*/e[36])&&!/*gamefavorite*/e[0]&&/*isLoggedIn*/e[14],r=n&&Fr(e);return{c(){r&&r.c(),t=b()},m(e,n){r&&r.m(e,n),d(e,t,n)},p(e,i){/*gamefavorite, isLoggedIn*/16385&i[0]&&(n=!_r(/*userAgent*/e[36])&&!/*gamefavorite*/e[0]&&/*isLoggedIn*/e[14]),n?r?r.p(e,i):(r=Fr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&m(t)}}}
|
1240
|
+
// (563:10) {#if !isMobile(userAgent) && !gamefavorite && isLoggedIn}
|
1241
|
+
function Fr(t){let n,r,i;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',_(n,"class","FavIconContainer"),_(n,"part","FavIconContainer")},m(e,a){d(e,n,a),r||(i=w(n,"click",/*click_handler*/t[67]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
|
1242
|
+
// (591:77)
|
1243
|
+
function Pr(t){let n;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',_(n,"class","FavIconContainer"),_(n,"part","FavIconContainer")},m(e,t){d(e,n,t)},p:e,d(e){e&&m(n)}}}
|
1244
|
+
// (585:4) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
1245
|
+
function Or(t){let n,r,i;return{c(){n=p("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" part="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',_(n,"class","FavIconContainer"),_(n,"part","FavIconContainer")},m(e,a){d(e,n,a),r||(i=w(n,"click",/*click_handler_2*/t[69]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
|
1246
|
+
// (599:6) {#if gameisnew}
|
1247
|
+
function Dr(e){let t,n,r=/*$_*/e[35]("gameThumbnail.new")+"";return{c(){t=p("span"),n=y(r),_(t,"class","GameExtraInfoLabel NewGameTag"),_(t,"part","GameExtraInfoLabel NewGameTag")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("gameThumbnail.new")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1248
|
+
// (602:6) {#if (parseInt(gamepopularity) > 0)}
|
1249
|
+
function $r(e){let t,n,r=/*$_*/e[35]("gameThumbnail.hot")+"";return{c(){t=p("span"),n=y(r),_(t,"class","GameExtraInfoLabel PopularGameTag"),_(t,"part","GameExtraInfoLabel PopularGameTag")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("gameThumbnail.hot")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1250
|
+
// (605:6) {#if livegamedata}
|
1251
|
+
function Nr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&Rr(e);function i(e,t){/*isopen*/
|
1252
|
+
return e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===Xr?Hr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===qr?Ar:void 0}let a=i(e),o=a&&a(e);return{c(){r&&r.c(),t=v(),o&&o.c(),n=b()},m(e,i){r&&r.m(e,i),d(e,t,i),o&&o.m(e,i),d(e,n,i)},p(e,s){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,s):(r=Rr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&m(t),o&&o.d(e),e&&m(n)}}}
|
1253
|
+
// (606:8) {#if !isopen && starttime && timeformat}
|
1254
|
+
function Rr(e){let t,n,r,i,a,o,s,l,c,u,f=/*$_*/e[35]("gameThumbnail.opens")+"",g=Gr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",b=/*renderDealerName*/e[45](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[44](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=p("div"),n=p("div"),r=y(f),i=v(),a=p("span"),o=y(g),s=v(),l=new G(!1),c=v(),u=new G(!1),_(n,"class","ClosedGame"),_(n,"part","ClosedGame"),l.a=c,u.a=null,_(t,"class","GameProp LiveProps"),_(t,"part","GameProp LiveProps")},m(e,m){d(e,t,m),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(t,s),l.m(b,t),h(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&f!==(f=/*$_*/e[35]("gameThumbnail.opens")+"")&&x(r,f),/*starttime, timeformat*/3145728&t[0]&&g!==(g=Gr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&x(o,g),/*dealername*/8&t[1]&&b!==(b=/*renderDealerName*/e[45](/*dealername*/e[34])+"")&&l.p(b),/*min, max, currencySymbol*/234881024&t[0]&&w!==(w=/*renderBetLimits*/e[44](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&u.p(w)},d(e){e&&m(t)}}}
|
1255
|
+
// (639:68)
|
1256
|
+
function Ar(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[45](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[44](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"",c=new Array(Qr),u=[];for(let t=0;t<c.length;t+=1)u[t]=jr(Lr(e,c,t));return{c(){t=p("div"),n=p("div");for(let e=0;e<u.length;e+=1)u[e].c();r=v(),i=new G(!1),a=v(),o=new G(!1),_(n,"class","LiveIcons"),_(n,"part","LiveIcons"),i.a=a,o.a=null,_(t,"class",/*roulettecontainerclassname*/e[30]),_(t,"part",/*roulettecontainerclassname*/e[30])},m(c,m){d(c,t,m),h(t,n);for(let e=0;e<u.length;e+=1)u[e].m(n,null);
|
1257
|
+
/*div0_binding*/e[70](n),h(t,r),i.m(s,t),h(t,a),o.m(l,t)},p(e,r){if(/*roulleteresults, isdouble*/536875008&r[0]|/*renderSpan, colorsourcearray*/32769&r[1]){let t;for(c=new Array(Qr),t=0;t<c.length;t+=1){const i=Lr(e,c,t);u[t]?u[t].p(i,r):(u[t]=jr(i),u[t].c(),u[t].m(n,null))}for(;t<u.length;t+=1)u[t].d(1);u.length=c.length}/*dealername*/8&r[1]&&s!==(s=/*renderDealerName*/e[45](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&r[0]&&l!==(l=/*renderBetLimits*/e[44](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l),/*roulettecontainerclassname*/1073741824&r[0]&&_(t,"class",/*roulettecontainerclassname*/e[30]),/*roulettecontainerclassname*/1073741824&r[0]&&_(t,"part",/*roulettecontainerclassname*/e[30])},d(n){n&&m(t),f(u,n),
|
1258
|
+
/*div0_binding*/e[70](null)}}}
|
1259
|
+
// (618:8) {#if isopen && displaytype && displaytype === BLACKJACK}
|
1260
|
+
function Hr(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[45](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[44](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";function c(e,t){/*istablefull*/
|
1261
|
+
return e[32]?Wr:zr}let u=c(e),f=u(e);return{c(){t=p("div"),n=p("div"),f.c(),r=v(),i=new G(!1),a=v(),o=new G(!1),_(n,"class","LiveIcons"),_(n,"part","LiveIcons"),i.a=a,o.a=null,_(t,"class","GameProp LiveProps BlackjackDisplay"),_(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){d(e,t,c),h(t,n),f.m(n,null),h(t,r),i.m(s,t),h(t,a),o.m(l,t)},p(e,t){u===(u=c(e))&&f?f.p(e,t):(f.d(1),f=u(e),f&&(f.c(),f.m(n,null))),/*dealername*/8&t[1]&&s!==(s=/*renderDealerName*/e[45](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&t[0]&&l!==(l=/*renderBetLimits*/e[44](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l)},d(e){e&&m(t),f.d()}}}
|
1262
|
+
// (643:16) {#if roulleteresults && roulleteresults[i]}
|
1263
|
+
function Br(e){let t;function n(e,t){/*isdouble*/
|
1264
|
+
return e[29]?Yr:Ur}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),d(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&m(t)}}}
|
1265
|
+
// (649:18) {:else}
|
1266
|
+
function Ur(e){let t,n,r=/*renderSpan*/e[46]("LatestResult "/*i*/+(/*i*/0===e[111]?"First":""),e[111],/*roulleteresults*/e[12][/*i*/e[111]],/*colorsourcearray*/e[31][/*roulleteresults*/e[12][/*i*/e[111]]])+"";return{c(){t=new G(!1),n=b(),t.a=n},m(e,i){t.m(r,e,i),d(e,n,i)},p(e,n){/*roulleteresults*/4096&n[0]|/*colorsourcearray*/1&n[1]&&r!==(r=/*renderSpan*/e[46]("LatestResult "/*i*/+(/*i*/0===e[111]?"First":""),e[111],/*roulleteresults*/e[12][/*i*/e[111]],/*colorsourcearray*/e[31][/*roulleteresults*/e[12][/*i*/e[111]]])+"")&&t.p(r)},d(e){e&&m(n),e&&t.d()}}}
|
1267
|
+
// (644:18) {#if isdouble}
|
1268
|
+
function Yr(e){let t,n,r,i,a,o=/*renderSpan*/e[46]("LatestResult "+(/*i*/0===e[111]?"First":""),`first${/*i*/e[111]}${/*roulleteresults*/e[12][/*i*/e[111]][0]}`/*roulleteresults*/,e[12][/*i*/e[111]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[12][/*i*/e[111]][0]])+"",s=/*renderSpan*/e[46]("LatestResult "+(/*i*/0===e[111]?"First":""),`second${/*i*/e[111]}${/*roulleteresults*/e[12][/*i*/e[111]][1]}`/*roulleteresults*/,e[12][/*i*/e[111]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[12][/*i*/e[111]][1]])+"";return{c(){t=p("div"),n=new G(!1),r=v(),i=new G(!1),a=v(),n.a=r,i.a=a,_(t,"class","Double"),_(t,"part","Double")},m(e,l){d(e,t,l),n.m(o,t),h(t,r),i.m(s,t),h(t,a)},p(e,t){/*roulleteresults*/4096&t[0]|/*colorsourcearray*/1&t[1]&&o!==(o=/*renderSpan*/e[46]("LatestResult "+(/*i*/0===e[111]?"First":""),`first${/*i*/e[111]}${/*roulleteresults*/e[12][/*i*/e[111]][0]}`/*roulleteresults*/,e[12][/*i*/e[111]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[12][/*i*/e[111]][0]])+"")&&n.p(o),/*roulleteresults*/4096&t[0]|/*colorsourcearray*/1&t[1]&&s!==(s=/*renderSpan*/e[46]("LatestResult "+(/*i*/0===e[111]?"First":""),`second${/*i*/e[111]}${/*roulleteresults*/e[12][/*i*/e[111]][1]}`/*roulleteresults*/,e[12][/*i*/e[111]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[12][/*i*/e[111]][1]])+"")&&i.p(s)},d(e){e&&m(t)}}}
|
1269
|
+
// (642:14) {#each new Array(numberofdisplayedresults) as garbage, i}
|
1270
|
+
function jr(e){let t,n=/*roulleteresults*/e[12]&&/*roulleteresults*/e[12][/*i*/e[111]]&&Br(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,r){/*roulleteresults*/e[12]&&/*roulleteresults*/e[12][/*i*/e[111]]?n?n.p(e,r):(n=Br(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
|
1271
|
+
// (625:14) {:else}
|
1272
|
+
function zr(e){let t,n=/*seats*/e[24],r=[];for(let t=0;t<n.length;t+=1)r[t]=Vr(kr(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b()},m(e,n){for(let t=0;t<r.length;t+=1)r[t].m(e,n);d(e,t,n)},p(e,i){if(/*currentoccupiedseats, seats*/285212672&i[0]|/*contains*/4096&i[1]){let a;for(n=/*seats*/e[24],a=0;a<n.length;a+=1){const o=kr(e,n,a);r[a]?r[a].p(o,i):(r[a]=Vr(o),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(e){f(r,e),e&&m(t)}}}
|
1273
|
+
// (621:14) {#if istablefull}
|
1274
|
+
function Wr(e){let t,n,r=/*$_*/e[35]("gameThumbnail.full")+"";return{c(){t=p("span"),n=y(r),_(t,"class","FullTable"),_(t,"part","FullTable")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("gameThumbnail.full")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1275
|
+
// (626:16) {#each seats as seatData}
|
1276
|
+
function Vr(e){let t,n,r,i,a,o,s;return{c(){t=p("span"),n=g("svg"),r=g("path"),i=g("path"),a=v(),_(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),_(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(n,"width","13"),_(n,"height","14"),_(n,"viewBox","0 0 13 14"),_(t,"class",o=/*contains*/e[43](/*currentoccupiedseats*/e[28],/*seatData*/e[106].toString())?"ClosedSeat":"OpenSeat"),_(t,"part",s=/*contains*/e[43](/*currentoccupiedseats*/e[28],/*seatData*/e[106].toString())?"ClosedSeat":"OpenSeat")},m(e,o){d(e,t,o),h(t,n),h(n,r),h(n,i),h(t,a)},p(e,n){/*currentoccupiedseats, seats*/285212672&n[0]&&o!==(o=/*contains*/e[43](/*currentoccupiedseats*/e[28],/*seatData*/e[106].toString())?"ClosedSeat":"OpenSeat")&&_(t,"class",o),/*currentoccupiedseats, seats*/285212672&n[0]&&s!==(s=/*contains*/e[43](/*currentoccupiedseats*/e[28],/*seatData*/e[106].toString())?"ClosedSeat":"OpenSeat")&&_(t,"part",s)},d(e){e&&m(t)}}}
|
1277
|
+
// (662:2) {#if showgamename}
|
1278
|
+
function Zr(e){let t,n;return{c(){t=p("p"),n=y(/*gamename*/e[3]),_(t,"class","GameNameBelow"),_(t,"part","GameNameBelow"),_(t,"title",/*gamename*/e[3])},m(e,r){d(e,t,r),h(t,n)},p(e,r){/*gamename*/8&r[0]&&x(n,/*gamename*/e[3]),/*gamename*/8&r[0]&&_(t,"title",/*gamename*/e[3])},d(e){e&&m(t)}}}function Kr(t){let n,i,a,o,s,c,u,f,g,b,S,E,G,T,M,C,L,k,I,F,P,O,D,$,N,R,A,H,B,U,Y,j,z,W,V=/*$_*/t[35]("gameThumbnail.playNow")+"",Z=/*gamevendor*/(t[4]?/*gamevendor*/t[4]:"-")+"",K=parseInt(/*gamepopularity*/t[7])>0,X=/*fav*/t[15]&&Ir(t);function q(e,t){/*gamefavorite, isLoggedIn, favorites*/
|
1279
|
+
return 16387&t[0]&&(O=null),/*gamefavorite, isLoggedIn, favorites*/16387&t[0]&&(D=null),null==O&&(O=!(_r(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[14]||/*favorites*/!e[1])),O?Or:(null==D&&(D=!!(_r(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[14]&&/*favorites*/e[1])),D?Pr:void 0)}let J=q(t,[-1,-1,-1,-1]),Q=J&&J(t),ee=/*gameisnew*/t[6]&&Dr(t),te=K&&$r(t),ne=/*livegamedata*/t[11]&&Nr(t),re=/*showgamename*/t[9]&&Zr(t);return{c(){n=p("div"),i=p("div"),a=p("img"),u=v(),f=p("div"),g=p("div"),X&&X.c(),b=v(),S=p("p"),E=y(/*gamename*/t[3]),G=v(),T=p("button"),M=y(V),k=v(),I=p("span"),F=y(Z),P=v(),Q&&Q.c(),$=v(),N=p("div"),ee&&ee.c(),R=v(),te&&te.c(),A=v(),ne&&ne.c(),U=v(),re&&re.c(),this.c=e,l(a.src,o=/*gamethumbnail*/t[2])||_(a,"src",o),_(a,"class",s=`GameBg GameBg-${/*gamecellsize*/t[8]} ${/*hover*/t[16]?"GameContainerHovered":""} ${/*loaded*/t[17]?"Loaded":""}`),_(a,"part",c="GameBg "+(/*hover*/t[16]?"GameContainerHovered":"")+" "+(/*loaded*/t[17]?"Loaded":"")),_(a,"alt",""),_(a,"loading","lazy"),_(S,"class","GameInfoName"),_(S,"part","GameInfoName"),_(S,"title",/*gamename*/t[3]),_(T,"class","GameInfoBtn"),_(T,"part","GameInfoBtn"),_(g,"class",C="GameInfo "+(/*hover*/t[16]?"GameHovered":"")),_(g,"part",L="GameInfo "+(/*hover*/t[16]?"GameHovered":"")),_(I,"class","GameInfoVendor"),_(I,"part","GameInfoVendor"),_(f,"class","GameInfoWrapper"),_(f,"part","GameInfoWrapper"),_(N,"class","GameExtraInfo"),_(N,"part","GameExtraInfo"),_(i,"class",H="GameInnerContainer "+(/*livegamedata*/t[11]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[11]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),_(i,"part",B="GameInnerContainer "+(/*livegamedata*/t[11]&&!/*isopen*/t[22]||/*livegamedata*/t[11]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),_(n,"class",Y=`GameContainer ${/*extraclassname*/t[33]}`),_(n,"part",j=`GameContainer ${/*extraclassname*/t[33]}`)},m(e,r){d(e,n,r),h(n,i),h(i,a),
|
1280
|
+
/*img_binding*/t[66](a),h(i,u),h(i,f),h(f,g),X&&X.m(g,null),h(g,b),h(g,S),h(S,E),h(g,G),h(g,T),h(T,M),h(f,k),h(f,I),h(I,F),h(i,P),Q&&Q.m(i,null),h(i,$),h(i,N),ee&&ee.m(N,null),h(N,R),te&&te.m(N,null),h(N,A),ne&&ne.m(N,null),h(n,U),re&&re.m(n,null)
|
1281
|
+
/*div4_binding*/,t[71](n),z||(W=[w(T,"click",/*click_handler_1*/t[68]),w(i,"mouseenter",/*gameHover*/t[41]),w(i,"mouseleave",/*gameBlur*/t[42]),w(i,"touchstart",/*gameTouch*/t[39],{passive:!0}),w(i,"touchend",/*gameTouchEnd*/t[40],{passive:!0})],z=!0)},p(e,t){/*gamethumbnail*/4&t[0]&&!l(a.src,o=/*gamethumbnail*/e[2])&&_(a,"src",o),/*gamecellsize, hover, loaded*/196864&t[0]&&s!==(s=`GameBg GameBg-${/*gamecellsize*/e[8]} ${/*hover*/e[16]?"GameContainerHovered":""} ${/*loaded*/e[17]?"Loaded":""}`)&&_(a,"class",s),/*hover, loaded*/196608&t[0]&&c!==(c="GameBg "+(/*hover*/e[16]?"GameContainerHovered":"")+" "+(/*loaded*/e[17]?"Loaded":""))&&_(a,"part",c),/*fav*/e[15]?X?X.p(e,t):(X=Ir(e),X.c(),X.m(g,b)):X&&(X.d(1),X=null),/*gamename*/8&t[0]&&x(E,/*gamename*/e[3]),/*gamename*/8&t[0]&&_(S,"title",/*gamename*/e[3]),/*$_*/16&t[1]&&V!==(V=/*$_*/e[35]("gameThumbnail.playNow")+"")&&x(M,V),/*hover*/65536&t[0]&&C!==(C="GameInfo "+(/*hover*/e[16]?"GameHovered":""))&&_(g,"class",C),/*hover*/65536&t[0]&&L!==(L="GameInfo "+(/*hover*/e[16]?"GameHovered":""))&&_(g,"part",L),/*gamevendor*/16&t[0]&&Z!==(Z=/*gamevendor*/(e[4]?/*gamevendor*/e[4]:"-")+"")&&x(F,Z),J===(J=q(e,t))&&Q?Q.p(e,t):(Q&&Q.d(1),Q=J&&J(e),Q&&(Q.c(),Q.m(i,$))),/*gameisnew*/e[6]?ee?ee.p(e,t):(ee=Dr(e),ee.c(),ee.m(N,R)):ee&&(ee.d(1),ee=null),/*gamepopularity*/128&t[0]&&(K=parseInt(/*gamepopularity*/e[7])>0),K?te?te.p(e,t):(te=$r(e),te.c(),te.m(N,A)):te&&(te.d(1),te=null),/*livegamedata*/e[11]?ne?ne.p(e,t):(ne=Nr(e),ne.c(),ne.m(N,null)):ne&&(ne.d(1),ne=null),/*livegamedata, isopen, openhours*/12584960&t[0]|/*istablefull*/2&t[1]&&H!==(H="GameInnerContainer "+(/*livegamedata*/e[11]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[11]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&_(i,"class",H),/*livegamedata, isopen*/4196352&t[0]|/*istablefull*/2&t[1]&&B!==(B="GameInnerContainer "+(/*livegamedata*/e[11]&&!/*isopen*/e[22]||/*livegamedata*/e[11]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&_(i,"part",B),/*showgamename*/e[9]?re?re.p(e,t):(re=Zr(e),re.c(),re.m(n,null)):re&&(re.d(1),re=null),/*extraclassname*/4&t[1]&&Y!==(Y=`GameContainer ${/*extraclassname*/e[33]}`)&&_(n,"class",Y),/*extraclassname*/4&t[1]&&j!==(j=`GameContainer ${/*extraclassname*/e[33]}`)&&_(n,"part",j)},i:e,o:e,d(e){e&&m(n)
|
1282
|
+
/*img_binding*/,t[66](null),X&&X.d(),Q&&Q.d(),ee&&ee.d(),te&&te.d(),ne&&ne.d(),re&&re.d()
|
1283
|
+
/*div4_binding*/,t[71](null),z=!1,r(W)}}}const Xr="blackjack",qr="roulette",Jr="doubleballroulette",Qr=5;function ei(e,t,n){let r;u(e,wr,(e=>n(35,r=e)));let i,a,o,s,l,c,h,d,m,f,p,g,y,v,b,w,_,S,x,E,G,T,M,L,I,{session:F=""}=t,{userid:P=""}=t,{lang:O=""}=t,{clientstyling:D=""}=t,{clientstylingurl:N=""}=t,{translationUrl:R=""}=t,{favorites:A=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gameid:Y=""}=t,{gameisnew:j=""}=t,{gamepopularity:z=""}=t,{gamefunmode:W=!1}=t,{searchitem:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:q=!1}=t,{currency:J=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{livelobbyendpoint:te=""}=t,{connectlive:ne=""}=t,{visibilityconnect:re=""}=t,{integratedgameframedesktop:ie="false"}=t,{integratedgameframemobile:ae="false"}=t,oe=!1,se=!1,le=!1,ce=window.navigator.userAgent,ue="HH:mm",he={},de=[],me="EUR",fe="";const pe=[Xr],ge=[qr,Jr],ye={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ve={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(Mr).forEach((e=>{Tr(e,Mr[e])}));const be=e=>{e.data.type!==`AddFavoriteThumbnail_${Y}`||X||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${Y}`||X||n(0,Z=!1),"UserSessionID"===e.data.type&&(n(14,oe=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(11,s=null)},we=e=>{V?(window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
|
1284
1284
|
//Analytics event -- if game was searched
|
1285
1285
|
"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`})):
|
1286
1286
|
//Analytics event
|
1287
|
-
"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail",gameId:`${e}`,userId:`${i||"Not logged in"}`}),_r(
|
1287
|
+
"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail",gameId:`${e}`,userId:`${i||"Not logged in"}`}),_r(ce)&&"true"==ae?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:W,gamepagemodalurl:Q,isMobile:_r(ce),source:"GameThumbnail"},window.location.href):_r(ce)&&"false"==ae&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:_r(ce)},window.location.href),_r(ce)||"true"!=ie?_r(ce)||"false"!=ie||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:_r(ce)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:W,gamepagemodalurl:Q,isMobile:_r(ce)},window.location.href)},_e=e=>{let t="thumbnail";Z?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},Se=()=>{te&&EventSource&&!l&&U&&Y&&(l=new EventSource(`${ee}/encoder/lobby/updates/${U}/${Y}`),l.addEventListener("message",Ee))},xe=()=>{l&&(l.close(),l=void 0)},Ee=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
|
1288
1288
|
// eslint-disable-next-line no-console
|
1289
1289
|
console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
|
1290
1290
|
r,Seats:// Roads, // for baccarat
|
1291
|
-
a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(11,s.currentOccupiedSeats=a,s),await
|
1291
|
+
a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(11,s.currentOccupiedSeats=a,s),await $());break;case"RouletteResultsUpdated":r&&Array.isArray(r)&&(v=r,n(11,s.currentRouletteNumbers=r,s),await $());break;case"DoubleBallRouletteResultsUpdated":r&&Array.isArray(r)&&(b=r,n(11,s.currentDoubleBallRouletteNumbers=r,s),await $());break;case"TableOpened":case"TableClosed":n(22,d=o),n(11,s.isOpen=o,s),await $()}// default case
|
1292
1292
|
}}// default case
|
1293
|
-
},
|
1293
|
+
},Ge=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",Te=(e,t)=>e.some((e=>e===t)),Me=()=>{if(s){if(n(22,d=s.isOpen),he=s.betLimit||{},n(23,m=s.openHours),n(24,de=(e=>{g=e.totalSeats||7,n(28,y=e.currentOccupiedSeats||[]);const t=[];for(let e=1;e<=g;e++)t.push(e);return{seats:t}})(s).seats),m&&m.value){const{value:{startTime:e,originalTimeFormat:t}}=m;/* , timeFormat: timeFormatRaw */n(20,h=e),n(21,ue=t||ue)}d&&n(19,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();Te(pe,e)?t=Xr:Te(ge,e)&&(t=qr)}// else if (contains(baccaratCategory, gameTypeToLower)) {
|
1294
1294
|
// GameComponent = 'baccarat';
|
1295
1295
|
}// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
|
1296
1296
|
// GameComponent = 'poker';
|
1297
1297
|
// }
|
1298
|
-
return t})(s)),n(25,
|
1298
|
+
return t})(s)),n(25,me=Cr[J]),n(26,f=(he.min||{})[J]),n(27,p=(he.max||{})[J]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===Jr),n(12,S=(_?b:v)||[]),n(30,x="GameProp LiveProps RoulleteProps"),n(30,x+=_?" Double":""),n(31,E=Te(ge,w.toLowerCase())?ve:ye),T=G,n(32,G=Array.isArray(y)&&y.length===g),s.dealer&&n(34,L=s.dealer.DealerName),I=s.numberOfPlayers,n(33,fe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,fe+=" GameBackdrop"),d&&G&&f&&p&&s.currentOccupiedSeats?n(33,fe+=" GameContainerDimmed"):!1===d&&h&&n(33,fe+=" GameContainerFullyDimmed"),o&&(!T&&G?(n(33,fe+=" PulsatingRedShadow"),n(33,fe=fe.replace(" PulsatingGreenShadow",""))):T&&!G&&(n(33,fe+=" PulsatingGreenShadow"),n(33,fe=fe.replace(" PulsatingRedShadow",""))))}},Ce=()=>{let e=new URL(N),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};C((()=>(window.addEventListener("message",be,!1),()=>{window.removeEventListener("message",be),l&&l.removeEventListener("message",Ee)})));return e.$$set=e=>{"session"in e&&n(47,F=e.session),"userid"in e&&n(48,P=e.userid),"lang"in e&&n(49,O=e.lang),"clientstyling"in e&&n(50,D=e.clientstyling),"clientstylingurl"in e&&n(51,N=e.clientstylingurl),"translationUrl"in e&&n(52,R=e.translationUrl),"favorites"in e&&n(1,A=e.favorites),"gamethumbnail"in e&&n(2,H=e.gamethumbnail),"gamename"in e&&n(3,B=e.gamename),"gamevendor"in e&&n(4,U=e.gamevendor),"gameid"in e&&n(5,Y=e.gameid),"gameisnew"in e&&n(6,j=e.gameisnew),"gamepopularity"in e&&n(7,z=e.gamepopularity),"gamefunmode"in e&&n(53,W=e.gamefunmode),"searchitem"in e&&n(54,V=e.searchitem),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(8,K=e.gamecellsize),"showfavoredcategory"in e&&n(55,X=e.showfavoredcategory),"showgamename"in e&&n(9,q=e.showgamename),"currency"in e&&n(56,J=e.currency),"gamepagemodalurl"in e&&n(57,Q=e.gamepagemodalurl),"endpoint"in e&&n(58,ee=e.endpoint),"livelobbyendpoint"in e&&n(59,te=e.livelobbyendpoint),"connectlive"in e&&n(60,ne=e.connectlive),"visibilityconnect"in e&&n(61,re=e.visibilityconnect),"integratedgameframedesktop"in e&&n(62,ie=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(63,ae=e.integratedgameframemobile)},e.$$.update=()=>{/*connectlive*/536870912&e.$$.dirty[1]&&ne&&("disconnect"===ne?xe():"connect"===ne&&Se()),/*visibilityconnect*/1073741824&e.$$.dirty[1]&&re&&("disconnect"===re?xe():"connect"===re&&"connect"===ne&&Se()),e.$$.dirty[1],/*session, userid, endpoint*/134414336&e.$$.dirty[1]&&F&&P&&ee&&(n(14,oe=!0),i=P),/*gamethumbnail*/4&e.$$.dirty[0]&&H&&a&&n(18,a.onload=()=>{n(17,le=!0)},a),/*customStylingContainer*/1024&e.$$.dirty[0]|/*clientstyling*/524288&e.$$.dirty[1]&&D&&o&&(()=>{let e=document.createElement("style");e.innerHTML=D,o.appendChild(e)})(),/*customStylingContainer*/1024&e.$$.dirty[0]|/*clientstylingurl*/1048576&e.$$.dirty[1]&&N&&o&&Ce(),/*favorites*/2&e.$$.dirty[0]&&A&&"true"==A&&n(15,se=!0),/*translationUrl*/2097152&e.$$.dirty[1]&&R&&fetch(R).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Tr(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/256&e.$$.dirty[0]|/*clientstylingurl*/1048576&e.$$.dirty[1]&&K&&N&&Ce(),/*endpoint, livelobbyendpoint*/402653184&e.$$.dirty[1]&&ee&&te&&(()=>{let e=new URL(`${te.split("?")[0]}`);e.searchParams.append("platform",Sr(ce)),e.searchParams.append("language",O),fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(11,s=t)}))})(),/*livegamedata*/2048&e.$$.dirty[0]&&s&&Me(),/*roulletteref, roulleteresults*/12288&e.$$.dirty[0]&&M&&S&&(()=>{const e="FirstElementAnimated",t=M.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,A,H,B,U,Y,j,z,K,q,o,s,S,M,oe,se,!1,le,a,c,h,ue,d,m,de,me,f,p,y,_,x,E,G,fe,L,r,ce,we,_e,()=>{window.postMessage({type:"GameHoveredMobile"},window.location.href)},()=>{window.postMessage({type:"GameBlurMobile"},window.location.href)},()=>{window.postMessage({type:"GameHoveredPc"},window.location.href)},()=>{window.postMessage({type:"GameBlurPc"},window.location.href)},Te,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ge(e)}-${Ge(t)}`),I&&(r=`\n <svg fill="white" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${I}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("gameThumbnail.dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},F,P,O,D,N,R,W,V,X,J,Q,ee,te,ne,re,ie,ae,ye,ve,function(e){k[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>_e(Y),()=>we(Y),()=>_e(Y),function(e){k[e?"unshift":"push"]((()=>{M=e,n(13,M)}))},function(e){k[e?"unshift":"push"]((()=>{o=e,n(10,o)}))}]}
|
1299
1299
|
/* ../casino-games-category-section/src/CasinoGamesCategorySection.svelte generated by Svelte v3.48.0 */
|
1300
|
-
function
|
1301
|
-
// (
|
1302
|
-
function
|
1303
|
-
return e[15]?
|
1304
|
-
// (
|
1305
|
-
function
|
1306
|
-
return e[19]?
|
1307
|
-
return e[16]?
|
1308
|
-
// (
|
1309
|
-
function
|
1310
|
-
return e[21]?
|
1311
|
-
// (
|
1312
|
-
function
|
1313
|
-
return e[28]?
|
1314
|
-
/*h3_binding_1*/e[
|
1315
|
-
/*ul_binding_1*/e[
|
1316
|
-
/*h3_binding_1*/,e[
|
1317
|
-
/*ul_binding_1*/e[
|
1318
|
-
// (
|
1319
|
-
function
|
1320
|
-
return 0!==e[16].length?
|
1321
|
-
/*h3_binding*/e[
|
1322
|
-
/*h3_binding*/,e[
|
1323
|
-
// (
|
1324
|
-
function
|
1325
|
-
// (
|
1326
|
-
function
|
1327
|
-
// (
|
1328
|
-
function
|
1329
|
-
// (
|
1330
|
-
function
|
1331
|
-
// (
|
1332
|
-
function
|
1333
|
-
// (
|
1334
|
-
function
|
1335
|
-
// (
|
1336
|
-
function
|
1337
|
-
// (
|
1300
|
+
function ti(e,t,n){const r=e.slice();return r[77]=t[n],r[79]=n,r}function ni(e,t,n){const r=e.slice();return r[77]=t[n],r[80]=t,r[79]=n,r}function ri(e,t,n){const r=e.slice();return r[77]=t[n],r[79]=n,r}
|
1301
|
+
// (544:4) {:else}
|
1302
|
+
function ii(e){let t;function n(e,t){/*categoryData*/
|
1303
|
+
return e[15]?li:/*showFavGamesCategory*/e[25]?si:void 0}let r=n(e),i=r&&r(e);return{c(){t=p("div"),i&&i.c()},m(e,n){d(e,t,n),i&&i.m(t,null)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(e){e&&m(t),i&&i.d()}}}
|
1304
|
+
// (486:4) {#if searched}
|
1305
|
+
function ai(e){let t,n,r;function i(e,t){/*recentSearched*/
|
1306
|
+
return e[19]?Ti:/*shownCategoryData*/e[16].length?Ei:Gi}let a=i(e),o=a(e);function s(e,t){/*shownCategoryData*/
|
1307
|
+
return e[16]?Ci:Mi}let l=s(e),c=l(e);return{c(){t=p("div"),n=p("div"),o.c(),r=v(),c.c(),_(n,"class","CasinoGamesHeader Searched "+(_r(/*userAgent*/e[30])?"CasinoGamesHeaderMobile":"")),_(n,"part","CasinoGamesHeader Searched "+(_r(/*userAgent*/e[30])?"CasinoGamesHeaderMobile":"")),_(t,"class","CasinoGamesContainer"),_(t,"part","CasinoGamesContainer")},m(e,i){d(e,t,i),h(t,n),o.m(n,null),h(t,r),c.m(t,null)},p(e,r){a===(a=i(e))&&o?o.p(e,r):(o.d(1),o=a(e),o&&(o.c(),o.m(n,null))),l===(l=s(e))&&c?c.p(e,r):(c.d(1),c=l(e),c&&(c.c(),c.m(t,null)))},d(e){e&&m(t),o.d(),c.d()}}}
|
1308
|
+
// (478:2) {#if hasErrors}
|
1309
|
+
function oi(e){let t;function n(e,t){/*filteresPresent*/
|
1310
|
+
return e[21]?Fi:Ii}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),d(e,t,n)},p(e,a){r!==(r=n(e))&&(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&m(t)}}}
|
1311
|
+
// (602:39)
|
1312
|
+
function si(e){let t,n,r,i,a,o,s,l,c,u,f,g,b,w=/*$_*/e[29]("gamesCategorySection.favorites")+"",S=/*favoriteGamesData*/e[28].items.length+"";function E(e,t){/*favoriteGamesData*/
|
1313
|
+
return e[28]?ui:ci}let G=E(e),T=G(e);return{c(){t=p("div"),n=p("div"),r=p("h3"),i=y(w),a=v(),o=p("span"),s=y("("),l=y(S),c=y(")"),u=v(),f=p("ul"),T.c(),_(o,"class","CategoryFavName"),_(r,"class","CategoryName"),_(r,"part","CategoryName"),_(n,"class","CasinoGamesHeader"),_(n,"part","CasinoGamesHeader"),_(f,"class",g=/*favoriteGamesData*/(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),_(f,"part",b=/*favoriteGamesData*/(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),_(t,"class","CasinoGamesContainer"),_(t,"part","CasinoGamesContainer")},m(m,p){d(m,t,p),h(t,n),h(n,r),h(r,i),h(r,a),h(r,o),h(o,s),h(o,l),h(o,c),
|
1314
|
+
/*h3_binding_1*/e[48](r),h(t,u),h(t,f),T.m(f,null),
|
1315
|
+
/*ul_binding_1*/e[49](f)},p(e,t){/*$_*/536870912&t[0]&&w!==(w=/*$_*/e[29]("gamesCategorySection.favorites")+"")&&x(i,w),/*favoriteGamesData*/268435456&t[0]&&S!==(S=/*favoriteGamesData*/e[28].items.length+"")&&x(l,S),G===(G=E(e))&&T?T.p(e,t):(T.d(1),T=G(e),T&&(T.c(),T.m(f,null))),/*favoriteGamesData*/268435456&t[0]&&g!==(g=/*favoriteGamesData*/(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&_(f,"class",g),/*favoriteGamesData*/268435456&t[0]&&b!==(b=/*favoriteGamesData*/(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&_(f,"part",b)},d(n){n&&m(t)
|
1316
|
+
/*h3_binding_1*/,e[48](null),T.d(),
|
1317
|
+
/*ul_binding_1*/e[49](null)}}}
|
1318
|
+
// (546:8) {#if categoryData}
|
1319
|
+
function li(e){let t,n,r,i,a,o,s=/*categoryData*/e[15].name+"",l=/*showLoadCategory*/e[17]&&wi(e);function c(e,t){/*shownCategoryData*/
|
1320
|
+
return 0!==e[16].length?Si:_i}let u=c(e),f=u(e);return{c(){t=p("div"),n=p("div"),r=p("h3"),i=y(s),a=v(),l&&l.c(),o=v(),f.c(),_(r,"class","CategoryName"),_(r,"part","CategoryName"),_(n,"class","CasinoGamesHeader"),_(n,"part","CasinoGamesHeader"),_(t,"class","CasinoGamesContainer"),_(t,"part","CasinoGamesContainer")},m(s,c){d(s,t,c),h(t,n),h(n,r),h(r,i),
|
1321
|
+
/*h3_binding*/e[44](r),h(n,a),l&&l.m(n,null),h(t,o),f.m(t,null)},p(e,r){/*categoryData*/32768&r[0]&&s!==(s=/*categoryData*/e[15].name+"")&&x(i,s),/*showLoadCategory*/e[17]?l?l.p(e,r):(l=wi(e),l.c(),l.m(n,null)):l&&(l.d(1),l=null),u===(u=c(e))&&f?f.p(e,r):(f.d(1),f=u(e),f&&(f.c(),f.m(t,null)))},d(n){n&&m(t)
|
1322
|
+
/*h3_binding*/,e[44](null),l&&l.d(),f.d()}}}
|
1323
|
+
// (702:14) {:else}
|
1324
|
+
function ci(e){let t,n,r=/*$_*/e[29]("gamesCategorySection.waiting")+"";return{c(){t=p("p"),n=y(r)},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/536870912&t[0]&&r!==(r=/*$_*/e[29]("gamesCategorySection.waiting")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1325
|
+
// (611:14) {#if favoriteGamesData}
|
1326
|
+
function ui(e){let t,n=/*favoriteGamesData*/e[28].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=bi(ti(e,n,t));let i=null;return n.length||(i=hi(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t].m(e,n);d(e,t,n),i&&i.m(e,n)},p(e,a){if(/*favoriteGamesData, session, userid, lang, favorites, showFavGamesCategory, intersectingIndexes, visibilityconnect, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, userAgent, $_*/2113933311&a[0]){let o;for(n=/*favoriteGamesData*/e[28].items,o=0;o<n.length;o+=1){const i=ti(e,n,o);r[o]?r[o].p(i,a):(r[o]=bi(i),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length,!n.length&&i?i.p(e,a):n.length?i&&(i.d(1),i=null):(i=hi(e),i.c(),i.m(t.parentNode,t))}},d(e){f(r,e),e&&m(t),i&&i.d(e)}}}
|
1327
|
+
// (682:16) {:else}
|
1328
|
+
function hi(e){let t,n,r,i,a,o,s,l,c,u,f=/*$_*/e[29]("gamesCategorySection.noFavoritesTitle")+"";let b=function(e,t){return _r(/*userAgent*/e[30])?mi:di}(e),w=b(e);return{c(){t=p("p"),n=g("svg"),r=g("path"),i=v(),a=p("span"),o=y(f),s=v(),w.c(),l=v(),E(r,"fill","white"),_(r,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),_(n,"version","1.1"),_(n,"class","UnfavoredIcon"),_(n,"part","UnfavoredIcon"),_(n,"xmlns","http://www.w3.org/2000/svg"),_(n,"xmlns:xlink","http://www.w3.org/1999/xlink"),_(n,"x","50px"),_(n,"y","50px"),_(n,"viewBox","0 0 512.001 512.001"),E(n,"enable-background","new 0 0 512.001 512.001"),_(n,"xml:space","preserve"),_(a,"class","NoFavoriteText NoFavoriteTextHighlight"),_(a,"part","NoFavoriteText NoFavoriteTextHighlight"),_(t,"class",c="NoFavoriteGames "+(_r(/*userAgent*/e[30])?"NoFavoriteGamesMobile":"")),_(t,"part",u="NoFavoriteGames "+(_r(/*userAgent*/e[30])?"NoFavoriteGamesMobile":""))},m(e,c){d(e,t,c),h(t,n),h(n,r),h(t,i),h(t,a),h(a,o),h(t,s),w.m(t,null),h(t,l)},p(e,t){/*$_*/536870912&t[0]&&f!==(f=/*$_*/e[29]("gamesCategorySection.noFavoritesTitle")+"")&&x(o,f),w.p(e,t)},d(e){e&&m(t),w.d()}}}
|
1329
|
+
// (697:20) {:else}
|
1330
|
+
function di(e){let t,n,r=/*$_*/e[29]("gamesCategorySection.noFavorites")+"";return{c(){t=p("span"),n=y(r),_(t,"class","NoFavoriteText"),_(t,"part","NoFavoriteText")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/536870912&t[0]&&r!==(r=/*$_*/e[29]("gamesCategorySection.noFavorites")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1331
|
+
// (695:20) {#if isMobile(userAgent)}
|
1332
|
+
function mi(e){let t,n,r=/*$_*/e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){t=p("span"),n=y(r),_(t,"class","NoFavoriteText"),_(t,"part","NoFavoriteText")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/536870912&t[0]&&r!==(r=/*$_*/e[29]("gamesCategorySection.noFavoritesMobile")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1333
|
+
// (613:18) {#if gameprops.gameModel}
|
1334
|
+
function fi(e){let t,n=/*gameprops*/e[77].gameModel.isFavorite&&pi(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,r){/*gameprops*/e[77].gameModel.isFavorite?n?n.p(e,r):(n=pi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
|
1335
|
+
// (614:20) {#if gameprops.gameModel.isFavorite}
|
1336
|
+
function pi(e){let t,n=
|
1337
|
+
// (615:22) {#if intersecting || nativeLoading}
|
1338
1338
|
function(e){let t,n,r;function i(e,r){/*favoriteGamesData*/
|
1339
|
-
return 268435456&r[0]&&(n=null),null==t&&(t=!!_r(/*userAgent*/e[30])),t?
|
1340
|
-
// (
|
1341
|
-
(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}function
|
1342
|
-
// (
|
1343
|
-
function
|
1344
|
-
// (
|
1345
|
-
function
|
1346
|
-
// (
|
1347
|
-
function
|
1348
|
-
// (
|
1349
|
-
function
|
1350
|
-
// (
|
1351
|
-
function
|
1352
|
-
// (
|
1353
|
-
function
|
1354
|
-
/*ul_binding*/e[
|
1355
|
-
/*ul_binding*/e[
|
1356
|
-
// (
|
1357
|
-
// (
|
1358
|
-
function
|
1359
|
-
// (
|
1360
|
-
function
|
1361
|
-
// (
|
1362
|
-
function
|
1363
|
-
// (
|
1364
|
-
function
|
1365
|
-
// (
|
1366
|
-
function
|
1367
|
-
// (
|
1368
|
-
function
|
1369
|
-
// (
|
1370
|
-
function
|
1371
|
-
// (
|
1372
|
-
function
|
1373
|
-
// (
|
1374
|
-
function
|
1375
|
-
// (
|
1376
|
-
function
|
1377
|
-
return e[14]?
|
1378
|
-
/*div_binding*/t[
|
1379
|
-
/*div_binding*/t[49](null)}}}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",Y(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Jr,Vr,a,{session:47,userid:48,lang:49,clientstyling:50,clientstylingurl:51,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:52,searchitem:53,gamefavorite:0,gamecellsize:8,showfavoredcategory:54,showgamename:9,currency:55,gamepagemodalurl:56,endpoint:57,livelobbyendpoint:58,connectlive:59,visibilityconnect:60,integratedgameframedesktop:61,integratedgameframemobile:62,MONEY_WHEEL_COLOR_MAP:63,ROULETTE_COLOR_MAP:64},null,[-1,-1,-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),H()}get lang(){return this.$$.ctx[49]}set lang(e){this.$$set({lang:e}),H()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),H()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),H()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),H()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),H()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),H()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),H()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),H()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),H()}get searchitem(){return this.$$.ctx[53]}set searchitem(e){this.$$set({searchitem:e}),H()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),H()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),H()}get showfavoredcategory(){return this.$$.ctx[54]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),H()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),H()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),H()}get gamepagemodalurl(){return this.$$.ctx[56]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get endpoint(){return this.$$.ctx[57]}set endpoint(e){this.$$set({endpoint:e}),H()}get livelobbyendpoint(){return this.$$.ctx[58]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),H()}get connectlive(){return this.$$.ctx[59]}set connectlive(e){this.$$set({connectlive:e}),H()}get visibilityconnect(){return this.$$.ctx[60]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[61]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[62]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[63]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[64]}});const Fi="game-tile-";function Pi(e,t,n){let r;u(e,wr,(e=>n(29,r=e)));let i,a,o,s,l,c,h,d,m,f,{categoryindex:p=""}=t,{endpoint:g=""}=t,{datasource:y=""}=t,{lang:v=""}=t,{session:b=""}=t,{userid:w=""}=t,{favorites:_=""}=t,{clientstyling:S=""}=t,{clientstylingurl:x=""}=t,{currency:E=""}=t,{categoryid:G=""}=t,{categorygames:T=0}=t,{livecasino:M="false"}=t,{visiblegames:L=""}=t,{gamepagemodalurl:I="false"}=t,{integratedgameframedesktop:F="false"}=t,{integratedgameframemobile:P="false"}=t,{once:O=!0}=t,{top:D=0}=t,{bottom:N=0}=t,{left:$=0}=t,{right:R=0}=t,A=!1,H=!0,B=window.navigator.userAgent,U=[],Y=!0,j=40,z=!1,W=!1,V=!1,Z=!1,K=!1,X=!0,q=!1,J=!1,Q=!1,ee=new Array(1e4),te={},ne="",re={items:[],count:0,name:""};
|
1380
|
-
/* End Lazy Loading */
|
1381
|
-
Object.keys(xr).forEach((e=>{!function(e,t){Vn(e,t)}(e,xr[e])})),void 0!==document.hidden?
|
1339
|
+
return 268435456&r[0]&&(n=null),null==t&&(t=!!_r(/*userAgent*/e[30])),t?yi:(null==n&&(n=!!/*gameprops*/e[77].gameModel.platform.includes("PC")),n?gi:void 0)}let a=i(e,[-1,-1,-1]),o=a&&a(e);return{c(){o&&o.c(),r=b()},m(e,t){o&&o.m(e,t),d(e,r,t)},p(e,t){a===(a=i(e,t))&&o?o.p(e,t):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(r.parentNode,r)))},d(e){o&&o.d(e),e&&m(r)}}}
|
1340
|
+
// (648:78)
|
1341
|
+
(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}function gi(e){let t,n,r,i,a,o,s,l,c,u,h,f,g,y;return{c(){t=p("casino-game-thumbnail"),S(t,"class",n=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1"))),S(t,"part",r=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1"))),S(t,"session",/*session*/e[2]),S(t,"userid",/*userid*/e[3]),S(t,"lang",/*lang*/e[1]),S(t,"favorites",/*favorites*/e[4]),S(t,"gamethumbnail",i=/*gameprops*/e[77].gameModel.thumbnail),S(t,"gamename",a=/*gameprops*/e[77].gameModel.name),S(t,"gamevendor",o=/*gameprops*/e[77].gameModel.vendor.name),S(t,"gameisnew",s=/*gameprops*/e[77].gameModel.isNew),S(t,"gamepopularity",l=/*gameprops*/e[77].gameModel.popularity),S(t,"gamecellsize",c=/*gameprops*/e[77].cellSize),S(t,"gameid",u=/*gameprops*/e[77].gameModel.id),S(t,"gamefunmode",h=/*gameprops*/e[77].gameModel.hasFunMode),S(t,"gamefavorite",f=/*gameprops*/e[77].gameModel.isFavorite),S(t,"showfavoredcategory",/*showFavGamesCategory*/e[25]),S(t,"connectlive",g=/*intersectingIndexes*/1==e[26][/*gameprops*/e[77].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[27]),S(t,"currency",/*currency*/e[7]),S(t,"livelobbyendpoint",y=/*gameprops*/e[77].gameModel.details?/*gameprops*/e[77].gameModel.launchUrl:""),S(t,"clientstyling",/*clientstyling*/e[5]),S(t,"clientstylingurl",/*clientstylingurl*/e[6]),S(t,"endpoint",/*endpoint*/e[0]),S(t,"livecasino",/*livecasino*/e[8]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[9]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[11])},m(e,n){d(e,t,n)},p(e,d){/*favoriteGamesData*/268435456&d[0]&&n!==(n=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1")))&&S(t,"class",n),/*favoriteGamesData*/268435456&d[0]&&r!==(r=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1")))&&S(t,"part",r),/*session*/4&d[0]&&S(t,"session",/*session*/e[2]),/*userid*/8&d[0]&&S(t,"userid",/*userid*/e[3]),/*lang*/2&d[0]&&S(t,"lang",/*lang*/e[1]),/*favorites*/16&d[0]&&S(t,"favorites",/*favorites*/e[4]),/*favoriteGamesData*/268435456&d[0]&&i!==(i=/*gameprops*/e[77].gameModel.thumbnail)&&S(t,"gamethumbnail",i),/*favoriteGamesData*/268435456&d[0]&&a!==(a=/*gameprops*/e[77].gameModel.name)&&S(t,"gamename",a),/*favoriteGamesData*/268435456&d[0]&&o!==(o=/*gameprops*/e[77].gameModel.vendor.name)&&S(t,"gamevendor",o),/*favoriteGamesData*/268435456&d[0]&&s!==(s=/*gameprops*/e[77].gameModel.isNew)&&S(t,"gameisnew",s),/*favoriteGamesData*/268435456&d[0]&&l!==(l=/*gameprops*/e[77].gameModel.popularity)&&S(t,"gamepopularity",l),/*favoriteGamesData*/268435456&d[0]&&c!==(c=/*gameprops*/e[77].cellSize)&&S(t,"gamecellsize",c),/*favoriteGamesData*/268435456&d[0]&&u!==(u=/*gameprops*/e[77].gameModel.id)&&S(t,"gameid",u),/*favoriteGamesData*/268435456&d[0]&&h!==(h=/*gameprops*/e[77].gameModel.hasFunMode)&&S(t,"gamefunmode",h),/*favoriteGamesData*/268435456&d[0]&&f!==(f=/*gameprops*/e[77].gameModel.isFavorite)&&S(t,"gamefavorite",f),/*showFavGamesCategory*/33554432&d[0]&&S(t,"showfavoredcategory",/*showFavGamesCategory*/e[25]),/*intersectingIndexes, favoriteGamesData*/335544320&d[0]&&g!==(g=/*intersectingIndexes*/1==e[26][/*gameprops*/e[77].id]?"connect":"disconnect")&&S(t,"connectlive",g),/*visibilityconnect*/134217728&d[0]&&S(t,"visibilityconnect",/*visibilityconnect*/e[27]),/*currency*/128&d[0]&&S(t,"currency",/*currency*/e[7]),/*favoriteGamesData*/268435456&d[0]&&y!==(y=/*gameprops*/e[77].gameModel.details?/*gameprops*/e[77].gameModel.launchUrl:"")&&S(t,"livelobbyendpoint",y),/*clientstyling*/32&d[0]&&S(t,"clientstyling",/*clientstyling*/e[5]),/*clientstylingurl*/64&d[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[6]),/*endpoint*/1&d[0]&&S(t,"endpoint",/*endpoint*/e[0]),/*livecasino*/256&d[0]&&S(t,"livecasino",/*livecasino*/e[8]),/*gamepagemodalurl*/512&d[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[9]),/*integratedgameframedesktop*/1024&d[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/2048&d[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[11])},d(e){e&&m(t)}}}
|
1342
|
+
// (616:24) {#if isMobile(userAgent)}
|
1343
|
+
function yi(e){let t,n=/*gameprops*/e[77].gameModel.platform.includes("iPad")||/*gameprops*/e[77].gameModel.platform.includes("iPhone")||/*gameprops*/e[77].gameModel.platform.includes("Android"),r=n&&vi(e);return{c(){r&&r.c(),t=b()},m(e,n){r&&r.m(e,n),d(e,t,n)},p(e,i){/*favoriteGamesData*/268435456&i[0]&&(n=/*gameprops*/e[77].gameModel.platform.includes("iPad")||/*gameprops*/e[77].gameModel.platform.includes("iPhone")||/*gameprops*/e[77].gameModel.platform.includes("Android")),n?r?r.p(e,i):(r=vi(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&m(t)}}}
|
1344
|
+
// (617:26) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
|
1345
|
+
function vi(e){let t,n,r,i,a,o,s,l,c,u,h,f,g,y;return{c(){t=p("casino-game-thumbnail"),S(t,"class",n=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1"))),S(t,"part",r=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1"))),S(t,"session",/*session*/e[2]),S(t,"userid",/*userid*/e[3]),S(t,"lang",/*lang*/e[1]),S(t,"favorites",/*favorites*/e[4]),S(t,"gamethumbnail",i=/*gameprops*/e[77].gameModel.thumbnail),S(t,"gamename",a=/*gameprops*/e[77].gameModel.name),S(t,"gamevendor",o=/*gameprops*/e[77].gameModel.vendor.name),S(t,"gameisnew",s=/*gameprops*/e[77].gameModel.isNew),S(t,"gamepopularity",l=/*gameprops*/e[77].gameModel.popularity),S(t,"gamecellsize",c=/*gameprops*/e[77].cellSize),S(t,"gameid",u=/*gameprops*/e[77].gameModel.id),S(t,"gamefunmode",h=/*gameprops*/e[77].gameModel.hasFunMode),S(t,"gamefavorite",f=/*gameprops*/e[77].gameModel.isFavorite),S(t,"showfavoredcategory",/*showFavGamesCategory*/e[25]),S(t,"connectlive",g=/*intersectingIndexes*/1==e[26][/*gameprops*/e[77].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[27]),S(t,"currency",/*currency*/e[7]),S(t,"livelobbyendpoint",y=/*gameprops*/e[77].gameModel.details?/*gameprops*/e[77].gameModel.launchUrl:""),S(t,"clientstyling",/*clientstyling*/e[5]),S(t,"clientstylingurl",/*clientstylingurl*/e[6]),S(t,"endpoint",/*endpoint*/e[0]),S(t,"livecasino",/*livecasino*/e[8]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[9]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[11])},m(e,n){d(e,t,n)},p(e,d){/*favoriteGamesData*/268435456&d[0]&&n!==(n=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1")))&&S(t,"class",n),/*favoriteGamesData*/268435456&d[0]&&r!==(r=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1")))&&S(t,"part",r),/*session*/4&d[0]&&S(t,"session",/*session*/e[2]),/*userid*/8&d[0]&&S(t,"userid",/*userid*/e[3]),/*lang*/2&d[0]&&S(t,"lang",/*lang*/e[1]),/*favorites*/16&d[0]&&S(t,"favorites",/*favorites*/e[4]),/*favoriteGamesData*/268435456&d[0]&&i!==(i=/*gameprops*/e[77].gameModel.thumbnail)&&S(t,"gamethumbnail",i),/*favoriteGamesData*/268435456&d[0]&&a!==(a=/*gameprops*/e[77].gameModel.name)&&S(t,"gamename",a),/*favoriteGamesData*/268435456&d[0]&&o!==(o=/*gameprops*/e[77].gameModel.vendor.name)&&S(t,"gamevendor",o),/*favoriteGamesData*/268435456&d[0]&&s!==(s=/*gameprops*/e[77].gameModel.isNew)&&S(t,"gameisnew",s),/*favoriteGamesData*/268435456&d[0]&&l!==(l=/*gameprops*/e[77].gameModel.popularity)&&S(t,"gamepopularity",l),/*favoriteGamesData*/268435456&d[0]&&c!==(c=/*gameprops*/e[77].cellSize)&&S(t,"gamecellsize",c),/*favoriteGamesData*/268435456&d[0]&&u!==(u=/*gameprops*/e[77].gameModel.id)&&S(t,"gameid",u),/*favoriteGamesData*/268435456&d[0]&&h!==(h=/*gameprops*/e[77].gameModel.hasFunMode)&&S(t,"gamefunmode",h),/*favoriteGamesData*/268435456&d[0]&&f!==(f=/*gameprops*/e[77].gameModel.isFavorite)&&S(t,"gamefavorite",f),/*showFavGamesCategory*/33554432&d[0]&&S(t,"showfavoredcategory",/*showFavGamesCategory*/e[25]),/*intersectingIndexes, favoriteGamesData*/335544320&d[0]&&g!==(g=/*intersectingIndexes*/1==e[26][/*gameprops*/e[77].id]?"connect":"disconnect")&&S(t,"connectlive",g),/*visibilityconnect*/134217728&d[0]&&S(t,"visibilityconnect",/*visibilityconnect*/e[27]),/*currency*/128&d[0]&&S(t,"currency",/*currency*/e[7]),/*favoriteGamesData*/268435456&d[0]&&y!==(y=/*gameprops*/e[77].gameModel.details?/*gameprops*/e[77].gameModel.launchUrl:"")&&S(t,"livelobbyendpoint",y),/*clientstyling*/32&d[0]&&S(t,"clientstyling",/*clientstyling*/e[5]),/*clientstylingurl*/64&d[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[6]),/*endpoint*/1&d[0]&&S(t,"endpoint",/*endpoint*/e[0]),/*livecasino*/256&d[0]&&S(t,"livecasino",/*livecasino*/e[8]),/*gamepagemodalurl*/512&d[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[9]),/*integratedgameframedesktop*/1024&d[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/2048&d[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[11])},d(e){e&&m(t)}}}
|
1346
|
+
// (612:16) {#each favoriteGamesData.items as gameprops, index}
|
1347
|
+
function bi(e){let t,n=/*gameprops*/e[77].gameModel&&fi(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,r){/*gameprops*/e[77].gameModel?n?n.p(e,r):(n=fi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
|
1348
|
+
// (553:14) {#if showLoadCategory}
|
1349
|
+
function wi(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[29]("gamesCategorySection.viewAll")+"",u=/*categoryData*/e[15].games.total+"";return{c(){t=p("a"),n=p("span"),r=y(c),i=y(" ("),a=y(u),o=y(")"),_(n,"class","CategoryLoadMore"),_(n,"part","CategoryLoadMore"),_(t,"class","CategoryNameLink"),_(t,"part","CategoryNameLink")},m(c,u){d(c,t,u),h(t,n),h(n,r),h(n,i),h(n,a),h(n,o),s||(l=w(t,"click",/*click_handler*/e[45]),s=!0)},p(e,t){/*$_*/536870912&t[0]&&c!==(c=/*$_*/e[29]("gamesCategorySection.viewAll")+"")&&x(r,c),/*categoryData*/32768&t[0]&&u!==(u=/*categoryData*/e[15].games.total+"")&&x(a,u)},d(e){e&&m(t),s=!1,l()}}}
|
1350
|
+
// (598:12) {:else}
|
1351
|
+
function _i(t){let n;return{c(){n=p("p"),n.textContent="You don't have any games in this category.",_(n,"class","NoSearchResults"),_(n,"part","NoSearchResults")},m(e,t){d(e,n,t)},p:e,d(e){e&&m(n)}}}
|
1352
|
+
// (562:12) {#if shownCategoryData.length !== 0}
|
1353
|
+
function Si(e){let t,n,r,i=/*shownCategoryData*/e[16],a=[];for(let t=0;t<i.length;t+=1)a[t]=xi(ni(e,i,t));return{c(){t=p("ul");for(let e=0;e<a.length;e+=1)a[e].c();_(t,"class",n=/*favoriteGamesData*/(0===e[28].items.length&&/*showFavGamesCategory*/e[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),_(t,"part",r=/*favoriteGamesData*/(0===e[28].items.length&&/*showFavGamesCategory*/e[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(n,r){d(n,t,r);for(let e=0;e<a.length;e+=1)a[e].m(t,null);
|
1354
|
+
/*ul_binding*/e[47](t)},p(e,o){if(/*session, userid, lang, shownCategoryData, favorites, intersectingIndexes, visibilityconnect, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, thumbnailContainer*/201404415&o[0]){let n;for(i=/*shownCategoryData*/e[16],n=0;n<i.length;n+=1){const r=ni(e,i,n);a[n]?a[n].p(r,o):(a[n]=xi(r),a[n].c(),a[n].m(t,null))}for(;n<a.length;n+=1)a[n].d(1);a.length=i.length}/*favoriteGamesData, showFavGamesCategory*/301989888&o[0]&&n!==(n=/*favoriteGamesData*/(0===e[28].items.length&&/*showFavGamesCategory*/e[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&_(t,"class",n),/*favoriteGamesData, showFavGamesCategory*/301989888&o[0]&&r!==(r=/*favoriteGamesData*/(0===e[28].items.length&&/*showFavGamesCategory*/e[25]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&_(t,"part",r)},d(n){n&&m(t),f(a,n),
|
1355
|
+
/*ul_binding*/e[47](null)}}}
|
1356
|
+
// (565:18) {#if intersecting || nativeLoading}
|
1357
|
+
// (564:16) {#each shownCategoryData as gameprops, index}
|
1358
|
+
function xi(e){let t,n=function(e){let t,n,r,i,a,o,s,l,c,u,h,f,g,y,v=/*index*/e[79];const b=()=>/*casino_game_thumbnail_binding*/e[46](t,v),w=()=>/*casino_game_thumbnail_binding*/e[46](null,v);return{c(){t=p("casino-game-thumbnail"),S(t,"session",/*session*/e[2]),S(t,"userid",/*userid*/e[3]),S(t,"lang",/*lang*/e[1]),S(t,"class",n=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1"))),S(t,"part",r=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1"))),S(t,"favorites",/*favorites*/e[4]),S(t,"gamethumbnail",i=/*gameprops*/e[77].thumbnail),S(t,"gamename",a=/*gameprops*/e[77].name),S(t,"gamevendor",o=/*gameprops*/e[77].vendor.name),S(t,"gameisnew",s=/*gameprops*/e[77].isNew),S(t,"gamepopularity",l=/*gameprops*/e[77].popularity),S(t,"gamecellsize",c=/*gameprops*/e[77].cellSize),S(t,"gameid",u=/*gameprops*/e[77].id),S(t,"gamefunmode",h=/*gameprops*/e[77].hasFunMode),S(t,"gamefavorite",f=/*gameprops*/e[77].isFavorite),S(t,"connectlive",g=/*intersectingIndexes*/1==e[26][/*gameprops*/e[77].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[27]),S(t,"currency",/*currency*/e[7]),S(t,"livelobbyendpoint",y=/*gameprops*/e[77].details?/*gameprops*/e[77].href:""),S(t,"clientstyling",/*clientstyling*/e[5]),S(t,"clientstylingurl",/*clientstylingurl*/e[6]),S(t,"endpoint",/*endpoint*/e[0]),S(t,"livecasino",/*livecasino*/e[8]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[9]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[11])},m(e,n){d(e,t,n),b()},p(d,m){e=d,/*session*/4&m[0]&&S(t,"session",/*session*/e[2]),/*userid*/8&m[0]&&S(t,"userid",/*userid*/e[3]),/*lang*/2&m[0]&&S(t,"lang",/*lang*/e[1]),/*shownCategoryData*/65536&m[0]&&n!==(n=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1")))&&S(t,"class",n),/*shownCategoryData*/65536&m[0]&&r!==(r=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1")))&&S(t,"part",r),/*favorites*/16&m[0]&&S(t,"favorites",/*favorites*/e[4]),/*shownCategoryData*/65536&m[0]&&i!==(i=/*gameprops*/e[77].thumbnail)&&S(t,"gamethumbnail",i),/*shownCategoryData*/65536&m[0]&&a!==(a=/*gameprops*/e[77].name)&&S(t,"gamename",a),/*shownCategoryData*/65536&m[0]&&o!==(o=/*gameprops*/e[77].vendor.name)&&S(t,"gamevendor",o),/*shownCategoryData*/65536&m[0]&&s!==(s=/*gameprops*/e[77].isNew)&&S(t,"gameisnew",s),/*shownCategoryData*/65536&m[0]&&l!==(l=/*gameprops*/e[77].popularity)&&S(t,"gamepopularity",l),/*shownCategoryData*/65536&m[0]&&c!==(c=/*gameprops*/e[77].cellSize)&&S(t,"gamecellsize",c),/*shownCategoryData*/65536&m[0]&&u!==(u=/*gameprops*/e[77].id)&&S(t,"gameid",u),/*shownCategoryData*/65536&m[0]&&h!==(h=/*gameprops*/e[77].hasFunMode)&&S(t,"gamefunmode",h),/*shownCategoryData*/65536&m[0]&&f!==(f=/*gameprops*/e[77].isFavorite)&&S(t,"gamefavorite",f),/*intersectingIndexes, shownCategoryData*/67174400&m[0]&&g!==(g=/*intersectingIndexes*/1==e[26][/*gameprops*/e[77].id]?"connect":"disconnect")&&S(t,"connectlive",g),/*visibilityconnect*/134217728&m[0]&&S(t,"visibilityconnect",/*visibilityconnect*/e[27]),/*currency*/128&m[0]&&S(t,"currency",/*currency*/e[7]),/*shownCategoryData*/65536&m[0]&&y!==(y=/*gameprops*/e[77].details?/*gameprops*/e[77].href:"")&&S(t,"livelobbyendpoint",y),/*clientstyling*/32&m[0]&&S(t,"clientstyling",/*clientstyling*/e[5]),/*clientstylingurl*/64&m[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[6]),/*endpoint*/1&m[0]&&S(t,"endpoint",/*endpoint*/e[0]),/*livecasino*/256&m[0]&&S(t,"livecasino",/*livecasino*/e[8]),/*gamepagemodalurl*/512&m[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[9]),/*integratedgameframedesktop*/1024&m[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/2048&m[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[11]),v!==/*index*/e[79]&&(w(),v=/*index*/e[79],b())},d(e){e&&m(t),w()}}}(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),d(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}
|
1359
|
+
// (498:12) {:else}
|
1360
|
+
function Ei(e){let t,n,r=/*$_*/e[29]("gamesCategorySection.searchedItems")+"";return{c(){t=p("h3"),n=y(r),_(t,"class","StatusText"),_(t,"part","StatusText")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/536870912&t[0]&&r!==(r=/*$_*/e[29]("gamesCategorySection.searchedItems")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1361
|
+
// (494:12) {#if !shownCategoryData.length}
|
1362
|
+
function Gi(e){let t,n,r=/*$_*/e[29]("gamesCategorySection.noResults")+"";return{c(){t=p("h3"),n=y(r),_(t,"class","StatusText"),_(t,"part","StatusText")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/536870912&t[0]&&r!==(r=/*$_*/e[29]("gamesCategorySection.noResults")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1363
|
+
// (489:10) {#if recentSearched}
|
1364
|
+
function Ti(e){let t,n,r=/*$_*/e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){t=p("h3"),n=y(r),_(t,"class","StatusText"),_(t,"part","StatusText")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/536870912&t[0]&&r!==(r=/*$_*/e[29]("gamesCategorySection.recentSearchedItems")+"")&&x(n,r)},d(e){e&&m(t)}}}
|
1365
|
+
// (540:8) {:else}
|
1366
|
+
function Mi(t){let n;return{c(){n=p("p"),n.textContent="Waiting",_(n,"class","SearchWaiting"),_(n,"part","SearchWaiting")},m(e,t){d(e,n,t)},p:e,d(e){e&&m(n)}}}
|
1367
|
+
// (505:8) {#if shownCategoryData}
|
1368
|
+
function Ci(e){let t,n,r=!/*showItems*/e[22]&&Li(e),i=/*shownCategoryData*/e[16],a=[];for(let t=0;t<i.length;t+=1)a[t]=ki(ri(e,i,t));return{c(){r&&r.c(),t=v(),n=p("ul");for(let e=0;e<a.length;e+=1)a[e].c();_(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),_(n,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),d(e,t,i),d(e,n,i);for(let e=0;e<a.length;e+=1)a[e].m(n,null)},p(e,o){if(/*showItems*/e[22]?r&&(r.d(1),r=null):r?r.p(e,o):(r=Li(e),r.c(),r.m(t.parentNode,t)),/*shownCategoryData, session, userid, lang, searchItem, favorites, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/1118207&o[0]){let t;for(i=/*shownCategoryData*/e[16],t=0;t<i.length;t+=1){const r=ri(e,i,t);a[t]?a[t].p(r,o):(a[t]=ki(r),a[t].c(),a[t].m(n,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=i.length}},d(e){r&&r.d(e),e&&m(t),e&&m(n),f(a,e)}}}
|
1369
|
+
// (506:10) {#if !showItems}
|
1370
|
+
function Li(e){let t,n,r,i,a=/*$_*/e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){t=p("p"),n=y(a),_(t,"class",r="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(_r(/*userAgent*/e[30])?"NoRecentSearchesMobile":"")),_(t,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(_r(/*userAgent*/e[30])?"NoRecentSearchesMobile":""))},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/536870912&t[0]&&a!==(a=/*$_*/e[29]("gamesCategorySection.noRecentSearch")+"")&&x(n,a)},d(e){e&&m(t)}}}
|
1371
|
+
// (510:12) {#each shownCategoryData as gameprops, index}
|
1372
|
+
function ki(e){let t,n,r,i,a,o,s,l,c,u,h,f,g;return{c(){t=p("casino-game-thumbnail"),S(t,"class",n=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1"))),S(t,"part",r=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1"))),S(t,"session",/*session*/e[2]),S(t,"userid",/*userid*/e[3]),S(t,"lang",/*lang*/e[1]),S(t,"searchitem",/*searchItem*/e[20]),S(t,"favorites",/*favorites*/e[4]),S(t,"gamethumbnail",i=/*gameprops*/e[77].thumbnail),S(t,"gamename",a=/*gameprops*/e[77].name),S(t,"gamevendor",o=/*gameprops*/e[77].vendor.name),S(t,"gameisnew",s=/*gameprops*/e[77].isNew),S(t,"gamepopularity",l=/*gameprops*/e[77].popularity),S(t,"gamecellsize",c=/*gameprops*/e[77].cellSize),S(t,"gameid",u=/*gameprops*/e[77].id),S(t,"gamefunmode",h=/*gameprops*/e[77].hasFunMode),S(t,"gamefavorite",f=/*gameprops*/e[77].isFavorite),S(t,"currency",/*currency*/e[7]),S(t,"livelobbyendpoint",g=/*gameprops*/e[77].details?/*gameprops*/e[77].href:""),S(t,"clientstyling",/*clientstyling*/e[5]),S(t,"clientstylingurl",/*clientstylingurl*/e[6]),S(t,"endpoint",/*endpoint*/e[0]),S(t,"livecasino",/*livecasino*/e[8]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[9]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[11])},m(e,n){d(e,t,n)},p(e,d){/*shownCategoryData*/65536&d[0]&&n!==(n=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1")))&&S(t,"class",n),/*shownCategoryData*/65536&d[0]&&r!==(r=""+(Oi+(/*gameprops*/e[77].cellSize?/*gameprops*/e[77].cellSize:"1x1")))&&S(t,"part",r),/*session*/4&d[0]&&S(t,"session",/*session*/e[2]),/*userid*/8&d[0]&&S(t,"userid",/*userid*/e[3]),/*lang*/2&d[0]&&S(t,"lang",/*lang*/e[1]),/*searchItem*/1048576&d[0]&&S(t,"searchitem",/*searchItem*/e[20]),/*favorites*/16&d[0]&&S(t,"favorites",/*favorites*/e[4]),/*shownCategoryData*/65536&d[0]&&i!==(i=/*gameprops*/e[77].thumbnail)&&S(t,"gamethumbnail",i),/*shownCategoryData*/65536&d[0]&&a!==(a=/*gameprops*/e[77].name)&&S(t,"gamename",a),/*shownCategoryData*/65536&d[0]&&o!==(o=/*gameprops*/e[77].vendor.name)&&S(t,"gamevendor",o),/*shownCategoryData*/65536&d[0]&&s!==(s=/*gameprops*/e[77].isNew)&&S(t,"gameisnew",s),/*shownCategoryData*/65536&d[0]&&l!==(l=/*gameprops*/e[77].popularity)&&S(t,"gamepopularity",l),/*shownCategoryData*/65536&d[0]&&c!==(c=/*gameprops*/e[77].cellSize)&&S(t,"gamecellsize",c),/*shownCategoryData*/65536&d[0]&&u!==(u=/*gameprops*/e[77].id)&&S(t,"gameid",u),/*shownCategoryData*/65536&d[0]&&h!==(h=/*gameprops*/e[77].hasFunMode)&&S(t,"gamefunmode",h),/*shownCategoryData*/65536&d[0]&&f!==(f=/*gameprops*/e[77].isFavorite)&&S(t,"gamefavorite",f),/*currency*/128&d[0]&&S(t,"currency",/*currency*/e[7]),/*shownCategoryData*/65536&d[0]&&g!==(g=/*gameprops*/e[77].details?/*gameprops*/e[77].href:"")&&S(t,"livelobbyendpoint",g),/*clientstyling*/32&d[0]&&S(t,"clientstyling",/*clientstyling*/e[5]),/*clientstylingurl*/64&d[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[6]),/*endpoint*/1&d[0]&&S(t,"endpoint",/*endpoint*/e[0]),/*livecasino*/256&d[0]&&S(t,"livecasino",/*livecasino*/e[8]),/*gamepagemodalurl*/512&d[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[9]),/*integratedgameframedesktop*/1024&d[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/2048&d[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[11])},d(e){e&&m(t)}}}
|
1373
|
+
// (482:4) {:else}
|
1374
|
+
function Ii(e){let t;return{c(){t=p("p"),t.textContent="500 Error - Internal Server Error.",_(t,"class","SearchLoading"),_(t,"part","SearchLoading")},m(e,n){d(e,t,n)},d(e){e&&m(t)}}}
|
1375
|
+
// (480:4) {#if filteresPresent}
|
1376
|
+
function Fi(e){let t;return{c(){t=p("p"),t.textContent="404 Error - No result found.",_(t,"class","SearchLoading"),_(t,"part","SearchLoading")},m(e,n){d(e,t,n)},d(e){e&&m(t)}}}function Pi(t){let n;function r(e,t){/*hasErrors*/
|
1377
|
+
return e[14]?oi:/*searched*/e[18]?ai:ii}let i=r(t),a=i(t);return{c(){n=p("div"),a.c(),this.c=e,_(n,"class","CasinoGamesCategorySectionContainer"),_(n,"part","CasinoGamesCategorySectionContainer")},m(e,r){d(e,n,r),a.m(n,null),
|
1378
|
+
/*div_binding*/t[50](n)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n,null)))},i:e,o:e,d(e){e&&m(n),a.d(),
|
1379
|
+
/*div_binding*/t[50](null)}}}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",Y(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},ei,Kr,a,{session:47,userid:48,lang:49,clientstyling:50,clientstylingurl:51,translationUrl:52,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:53,searchitem:54,gamefavorite:0,gamecellsize:8,showfavoredcategory:55,showgamename:9,currency:56,gamepagemodalurl:57,endpoint:58,livelobbyendpoint:59,connectlive:60,visibilityconnect:61,integratedgameframedesktop:62,integratedgameframemobile:63,MONEY_WHEEL_COLOR_MAP:64,ROULETTE_COLOR_MAP:65},null,[-1,-1,-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationUrl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),H()}get lang(){return this.$$.ctx[49]}set lang(e){this.$$set({lang:e}),H()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationUrl(){return this.$$.ctx[52]}set translationUrl(e){this.$$set({translationUrl:e}),H()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),H()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),H()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),H()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),H()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),H()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),H()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),H()}get gamefunmode(){return this.$$.ctx[53]}set gamefunmode(e){this.$$set({gamefunmode:e}),H()}get searchitem(){return this.$$.ctx[54]}set searchitem(e){this.$$set({searchitem:e}),H()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),H()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),H()}get showfavoredcategory(){return this.$$.ctx[55]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),H()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),H()}get currency(){return this.$$.ctx[56]}set currency(e){this.$$set({currency:e}),H()}get gamepagemodalurl(){return this.$$.ctx[57]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get endpoint(){return this.$$.ctx[58]}set endpoint(e){this.$$set({endpoint:e}),H()}get livelobbyendpoint(){return this.$$.ctx[59]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),H()}get connectlive(){return this.$$.ctx[60]}set connectlive(e){this.$$set({connectlive:e}),H()}get visibilityconnect(){return this.$$.ctx[61]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[62]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[63]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[64]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[65]}});const Oi="game-tile-";function Di(e,t,n){let r;u(e,wr,(e=>n(29,r=e)));let i,a,o,s,l,c,h,d,m,f,{categoryindex:p=""}=t,{endpoint:g=""}=t,{datasource:y=""}=t,{lang:v=""}=t,{session:b=""}=t,{userid:w=""}=t,{favorites:_=""}=t,{clientstyling:S=""}=t,{clientstylingurl:x=""}=t,{translationUrl:E=""}=t,{currency:G=""}=t,{categoryid:T=""}=t,{categorygames:M=0}=t,{livecasino:L="false"}=t,{visiblegames:I=""}=t,{gamepagemodalurl:F="false"}=t,{integratedgameframedesktop:P="false"}=t,{integratedgameframemobile:O="false"}=t,{once:D=!0}=t,{top:$=0}=t,{bottom:N=0}=t,{left:R=0}=t,{right:A=0}=t,H=!1,B=!0,U=window.navigator.userAgent,Y=[],j=!0,z=40,W=!1,V=!1,Z=!1,K=!1,X=!1,q=!0,J=!1,Q=!1,ee=!1,te=new Array(1e4),ne={},re="",ie={items:[],count:0,name:""};Object.keys(Er).forEach((e=>{xr(e,Er[e])})),void 0!==document.hidden?
|
1382
1380
|
// Opera 12.10 and Firefox 18 and later support
|
1383
1381
|
m="hidden":void 0!==document.msHidden?m="msHidden":void 0!==document.webkitHidden&&(m="webkitHidden");
|
1384
1382
|
// IntersectionObserver used for loading more games
|
1385
|
-
let
|
1383
|
+
let ae=new IntersectionObserver((e=>{e.forEach((async e=>{let t=e.target.gameid,r=e.target.elems_index;// eslint-disable-line
|
1386
1384
|
// eslint-disable-line
|
1387
|
-
e.isIntersecting?(1.2*r>
|
1385
|
+
e.isIntersecting?(1.2*r>z&&le(T),n(26,ne[t]=1,ne)):n(26,ne[t]=0,ne)}))}));
|
1388
1386
|
// Start favored games section
|
1389
|
-
const
|
1387
|
+
const oe=(e,t,r,i=[])=>{let a="",o="";(T.match(/\$/g)||[]).length>1?(a=T.split("$").slice(0,2).join("$"),o=new URL(`${g}/casino/groups/${y}/${a}/subGroups`)):o=new URL(`${g}/casino/groups/${y}/${T}`);let s=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));return new Promise(((e,i)=>{if(o.searchParams.delete("pagination"),o.searchParams.append("expand","games(vendor)"),o.searchParams.append("fields","id,name,games"),o.searchParams.append("platform",Sr(U)),o.searchParams.append("pagination",`games(offset=${t},limit=${r})`),o.searchParams.append("language",v),
|
1390
1388
|
// if vendor filters are active, get filtered games
|
1391
|
-
window.postMessage({type:"CategoryVendors",categoryid:
|
1389
|
+
window.postMessage({type:"CategoryVendors",categoryid:T},window.location.href),s&&s[T])if(s[T].length&&!1===B&&!1===J){let e="";n(21,X=!0),s[T].forEach((t=>{e+=e?`, id=${t}`:`id=${t}`})),o.searchParams.append("filter",`games(vendor(${e}))`)}else n(21,X=!1);fetch(o).then((e=>e.json())).then((t=>{(T.match(/\$/g)||[]).length>1&&(t=t.items.filter((e=>{if(e.id==T)return e}))[0]),n(43,f=!0),n(14,H=!1),l=t.games.total,e(t)}),(e=>{n(14,H=!0),console.error(e),i(e)}))}))},se=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":n(18,W=!1),B=!1,n(17,j=!1),Q=!0,n(16,Y=e.data.mostPlayedGames),n(15,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}});break;case"LastPlayedData":n(18,W=!1),B=!1,n(17,j=!1),Q=!1,n(16,Y=e.data.lastPlayedGames),n(15,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}});break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":n(18,W=!0),Q=!1,n(19,V=!0),e.data.searchData.length>0?(n(16,Y=e.data.searchData),n(22,q=!0),Y&&Y.forEach((e=>{e.isFavorite=ce(e.id)}))):(n(16,Y=[]),n(22,q=!1));break;case"OutOfRecentSearches":n(18,W=!1),n(19,V=!1);break;case"SearchData":n(18,W=!0),Q=!1,n(19,V=!1),n(16,Y=e.data.searchData.items||[]),n(20,K=!0),e.data.receivedFavoriteResults&&(h=e.data.receivedFavoriteResults.items),Y&&Y.forEach((e=>{e.isFavorite=ce(e.id)}));break;case`CategoryData_${T}`:n(18,W=!1),B=!0,n(17,j=!0),n(20,K=!1),Q=!1,ee=!1,e.data.receivedFavoriteResults&&(h=e.data.receivedFavoriteResults.items),oe(e.data.categoryId,0,e.data.visiblegames).then((e=>{n(15,o=e),n(16,Y=o.games.items),Y&&Y.forEach((e=>{e.isFavorite=ce(e.id)}))}));break;case"CategoryChange":z=20;break;case"CategoryUpdate":n(18,W=!1),B=!1,n(20,K=!1),Q=!1,ee=!0,n(32,T=e.data.itemId),"MOSTPLAYED"!==T&&n(17,j=!1),oe(0,0,z).then((e=>{n(15,o=e),o.games.items.forEach((e=>{e.isFavorite=ce(e.id)})),n(16,Y=o.games.items),n(17,j=!1),
|
1392
1390
|
// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
|
1393
|
-
|
1391
|
+
Y.length<10&&(Z=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Z},window.location.href)}),500))}));break;case"FavoriteUpdate":Q=!1,B=!0,n(16,Y=o.games.items),Y.forEach((e=>{e.isFavorite=ce(e.id)}));break;case"UpdateCategoryFavoriteGames":if(e.data.receivedFavoriteResults){if(h=e.data.receivedFavoriteResults.items,e.data.favStadalone)return;J?B||Q||window.postMessage({type:"CategoryUpdate",itemId:T},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href)}break;case"ShowFavoriteSection":let t;B=!1,e.data&&(t=e.data.receivedFavoriteResults.items,t.length&&t.forEach((e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)})),n(28,ie.items=
|
1394
1392
|
// separate favorites array into mobile and desktop favorites
|
1395
1393
|
function(e,t){let n=window.navigator.userAgent;
|
1396
1394
|
// make sure to display favored games specific to the platform used
|
1397
|
-
return _r(n)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e})):e.filter((e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e}))}(t,
|
1395
|
+
return _r(n)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e})):e.filter((e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e}))}(t,ie.items),ie),n(28,ie.name="Favorites",ie),n(25,J=!0));break;case"UserSessionID":i=e.data.session,a=e.data.userID,"true"==_&&a&&a.length&&i&&i.length>0&&((e,t,r)=>{let i={method:"GET",headers:{"X-SessionID":t}};new Promise(((t,r)=>{fetch(e,i).then((e=>e.json())).then((e=>{h=e?e.items:[],Y.forEach((e=>{e.isFavorite=ce(e.id)}));let r=Y;n(16,Y=void 0),n(16,Y=r),t(h)})).catch((e=>{console.error(e),r(e)}))}))})(`${g}/player/${a}/favorites/`,i)}},le=e=>{z+=1,z<=l&&oe(0,0,z).then((e=>{n(15,o=e),
|
1398
1396
|
// @TODO categoryData type fix
|
1399
1397
|
/**
|
1400
1398
|
* This check is needed to prevent requests with less items
|
1401
1399
|
* that started before but ended after the last request to add items to list
|
1402
1400
|
* This could also use abort controller instead but refactoring is needed
|
1403
1401
|
*/
|
1404
|
-
o.games.items.length>
|
1402
|
+
o.games.items.length>Y.length&&(n(16,Y=o.games.items),Y.forEach((e=>{e.isFavorite=ce(e.id)})))}))},ce=e=>!!h&&-1!==h.findIndex((t=>t.id==e)),ue=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)};
|
1405
1403
|
// @TODO categoryId type
|
1406
|
-
C((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(27,
|
1404
|
+
C((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?n(27,re="disconnect"):n(27,re="connect")})),window.addEventListener("message",se,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",se),window.removeEventListener("visibilitychange",se)})));return e.$$set=e=>{"categoryindex"in e&&n(33,p=e.categoryindex),"endpoint"in e&&n(0,g=e.endpoint),"datasource"in e&&n(34,y=e.datasource),"lang"in e&&n(1,v=e.lang),"session"in e&&n(2,b=e.session),"userid"in e&&n(3,w=e.userid),"favorites"in e&&n(4,_=e.favorites),"clientstyling"in e&&n(5,S=e.clientstyling),"clientstylingurl"in e&&n(6,x=e.clientstylingurl),"translationUrl"in e&&n(35,E=e.translationUrl),"currency"in e&&n(7,G=e.currency),"categoryid"in e&&n(32,T=e.categoryid),"categorygames"in e&&n(36,M=e.categorygames),"livecasino"in e&&n(8,L=e.livecasino),"visiblegames"in e&&n(37,I=e.visiblegames),"gamepagemodalurl"in e&&n(9,F=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(10,P=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(11,O=e.integratedgameframemobile),"once"in e&&n(38,D=e.once),"top"in e&&n(39,$=e.top),"bottom"in e&&n(40,N=e.bottom),"left"in e&&n(41,R=e.left),"right"in e&&n(42,A=e.right)},e.$$.update=()=>{/*thumbnailContainer*/8192&e.$$.dirty[0]|/*dataloaded*/4096&e.$$.dirty[1]&&f&&te&&ee&&te.forEach(((e,t)=>{e&&(
|
1407
1405
|
// Hack to make sure that I can identify the thumbnail index
|
1408
|
-
e.elems_index=t,
|
1406
|
+
e.elems_index=t,ae.observe(e))})),e.$$.dirty[0],/*translationUrl*/16&e.$$.dirty[1]&&E&&fetch(E).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{xr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/4128&e.$$.dirty[0]&&S&&d&&(()=>{let e=document.createElement("style");e.innerHTML=S,d.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/4160&e.$$.dirty[0]&&x&&d&&(()=>{let e=new URL(x),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{d.appendChild(t)}),1)}))})()},[g,v,b,w,_,S,x,G,L,F,P,O,d,te,H,o,Y,j,W,V,K,X,q,s,c,J,ne,re,ie,r,U,ue,T,p,y,E,M,I,D,$,N,R,A,f,function(e){k[e?"unshift":"push"]((()=>{c=e,n(24,c)}))},e=>ue(o.id),function(e,t){k[e?"unshift":"push"]((()=>{te[t]=e,n(13,te)}))},function(e){k[e?"unshift":"push"]((()=>{s=e,n(23,s)}))},function(e){k[e?"unshift":"push"]((()=>{c=e,n(24,c)}))},function(e){k[e?"unshift":"push"]((()=>{s=e,n(23,s)}))},function(e){k[e?"unshift":"push"]((()=>{d=e,n(12,d)}))}]}
|
1409
1407
|
/* src/CasinoMostPlayedSection.svelte generated by Svelte v3.48.0 */
|
1410
|
-
function
|
1408
|
+
function $i(e){let t;return{c(){t=p("casino-games-category-section"),S(t,"session",/*session*/e[4]),S(t,"userid",/*userid*/e[5]),S(t,"endpoint",/*endpoint*/e[0]),S(t,"datasource",/*datasource*/e[1]),S(t,"lang",/*lang*/e[3]),S(t,"currency",/*currency*/e[2]),S(t,"favorites",/*favorites*/e[13]),S(t,"categoryid","MOSTPLAYED"),S(t,"categoryindex","1"),S(t,"categorygames","9"),S(t,"class","CategoryContainer"),S(t,"clientstyling",/*clientstyling*/e[6]),S(t,"clientstylingurl",/*clientstylingurl*/e[7]),S(t,"livecasino",/*livecasino*/e[8]),S(t,"visiblegames",/*visiblegames*/e[12]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9])},m(e,n){d(e,t,n)},p(e,n){/*session*/16&n&&S(t,"session",/*session*/e[4]),/*userid*/32&n&&S(t,"userid",/*userid*/e[5]),/*endpoint*/1&n&&S(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n&&S(t,"datasource",/*datasource*/e[1]),/*lang*/8&n&&S(t,"lang",/*lang*/e[3]),/*currency*/4&n&&S(t,"currency",/*currency*/e[2]),/*favorites*/8192&n&&S(t,"favorites",/*favorites*/e[13]),/*clientstyling*/64&n&&S(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n&&S(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n&&S(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/4096&n&&S(t,"visiblegames",/*visiblegames*/e[12]),/*gamepagemodalurl*/2048&n&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9])},d(e){e&&m(t)}}}
|
1411
1409
|
// (121:4) {#if mostPlayedEmpty}
|
1412
|
-
function
|
1413
|
-
return e[15]?
|
1410
|
+
function Ni(t){let n;return{c(){n=p("p"),n.textContent="No games in most played",_(n,"class","SearchLoading"),_(n,"part","SearchLoading")},m(e,t){d(e,n,t)},p:e,d(e){e&&m(n)}}}function Ri(t){let n,r;function i(e,t){/*mostPlayedEmpty*/
|
1411
|
+
return e[15]?Ni:$i}let a=i(t),o=a(t);return{c(){n=p("div"),r=p("div"),o.c(),this.c=e,_(r,"class","casino-most-played-section"),_(n,"class","CasinoGamesCategorySectionContainer"),_(n,"part","CasinoGamesCategorySectionContainer")},m(e,i){d(e,n,i),h(n,r),o.m(r,null),
|
1414
1412
|
/*div1_binding*/t[17](n)},p(e,[t]){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:e,o:e,d(e){e&&m(n),o.d(),
|
1415
|
-
/*div1_binding*/t[17](null)}}}function
|
1413
|
+
/*div1_binding*/t[17](null)}}}function Ai(e,t,n){let r,i,{endpoint:a=""}=t,{datasource:o=""}=t,{currency:s=""}=t,{lang:l=""}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:h=""}=t,{clientstylingurl:d=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{visiblegames:y}=t,{favorites:v=""}=t,{lastPlayedEmpty:b=""}=t,w=window.navigator.userAgent,_=[],S=!1;const x=()=>{(e=>{let t=new URL(`${a}/player/${u}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games");let n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),r=m?t:t.href,new Promise(((e,t)=>{fetch(r).then((e=>e.json())).then((t=>{e(t)})).catch((e=>{console.error(e),//window.postMessage({ type: 'AddNewCategory', category: { name: 'Last played', id: 'LASTPLAYED' }}, window.location.href);
|
1416
1414
|
//window.postMessage({ type: 'MostPlayedGames', data }, window.location.href);
|
1417
|
-
t(e)}))}))})({limit:100,device:Sr(w),rounds:10}).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${a}/casino/games/${e.gameId}`);n.searchParams.append("datasource",o),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{_=e.map((e=>e[0])),window.postMessage({type:"MostPlayedData",mostPlayedGames:_},window.location.href)}))}else n(15,S=!0)}))},E=()=>{var e;e=l,lr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,h=e.clientstyling),"clientstylingurl"in e&&n(7,d=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,v=e.favorites),"lastPlayedEmpty"in e&&n(16,b=e.lastPlayedEmpty)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty&&a&&u&&l&&x(),/*clientstyling, customStylingContainer*/16448&e.$$.dirty&&h&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/16512&e.$$.dirty&&d&&i&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*lang*/8&e.$$.dirty&&l&&E()},[a,o,s,l,c,u,h,d,m,f,p,g,y,v,i,S,b,function(e){k[e?"unshift":"push"]((()=>{i=e,n(14,i)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",Y(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Pi,Ii,a,{categoryindex:33,endpoint:0,datasource:34,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:32,categorygames:35,livecasino:8,visiblegames:36,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,once:37,top:38,bottom:39,left:40,right:41},null,[-1,-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[33]}set categoryindex(e){this.$$set({categoryindex:e}),H()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[34]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),H()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),H()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),H()}get categoryid(){return this.$$.ctx[32]}set categoryid(e){this.$$set({categoryid:e}),H()}get categorygames(){return this.$$.ctx[35]}set categorygames(e){this.$$set({categorygames:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get visiblegames(){return this.$$.ctx[36]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get once(){return this.$$.ctx[37]}set once(e){this.$$set({once:e}),H()}get top(){return this.$$.ctx[38]}set top(e){this.$$set({top:e}),H()}get bottom(){return this.$$.ctx[39]}set bottom(e){this.$$set({bottom:e}),H()}get left(){return this.$$.ctx[40]}set left(e){this.$$set({left:e}),H()}get right(){return this.$$.ctx[41]}set right(e){this.$$set({right:e}),H()}});class Ri extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF)}</style>",Y(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},$i,Ni,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:16},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),H()}get lastPlayedEmpty(){return this.$$.ctx[16]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),H()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",Ri),Ri}));
|
1415
|
+
t(e)}))}))})({limit:100,device:Sr(w),rounds:10}).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${a}/casino/games/${e.gameId}`);n.searchParams.append("datasource",o),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{_=e.map((e=>e[0])),window.postMessage({type:"MostPlayedData",mostPlayedGames:_},window.location.href)}))}else n(15,S=!0)}))},E=()=>{var e;e=l,lr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,l=e.lang),"session"in e&&n(4,c=e.session),"userid"in e&&n(5,u=e.userid),"clientstyling"in e&&n(6,h=e.clientstyling),"clientstylingurl"in e&&n(7,d=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"visiblegames"in e&&n(12,y=e.visiblegames),"favorites"in e&&n(13,v=e.favorites),"lastPlayedEmpty"in e&&n(16,b=e.lastPlayedEmpty)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty&&a&&u&&l&&x(),/*clientstyling, customStylingContainer*/16448&e.$$.dirty&&h&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/16512&e.$$.dirty&&d&&i&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*lang*/8&e.$$.dirty&&l&&E()},[a,o,s,l,c,u,h,d,m,f,p,g,y,v,i,S,b,function(e){k[e?"unshift":"push"]((()=>{i=e,n(14,i)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",Y(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Di,Pi,a,{categoryindex:33,endpoint:0,datasource:34,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,translationUrl:35,currency:7,categoryid:32,categorygames:36,livecasino:8,visiblegames:37,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,once:38,top:39,bottom:40,left:41,right:42},null,[-1,-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationUrl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[33]}set categoryindex(e){this.$$set({categoryindex:e}),H()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[34]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),H()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),H()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationUrl(){return this.$$.ctx[35]}set translationUrl(e){this.$$set({translationUrl:e}),H()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),H()}get categoryid(){return this.$$.ctx[32]}set categoryid(e){this.$$set({categoryid:e}),H()}get categorygames(){return this.$$.ctx[36]}set categorygames(e){this.$$set({categorygames:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get visiblegames(){return this.$$.ctx[37]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get once(){return this.$$.ctx[38]}set once(e){this.$$set({once:e}),H()}get top(){return this.$$.ctx[39]}set top(e){this.$$set({top:e}),H()}get bottom(){return this.$$.ctx[40]}set bottom(e){this.$$set({bottom:e}),H()}get left(){return this.$$.ctx[41]}set left(e){this.$$set({left:e}),H()}get right(){return this.$$.ctx[42]}set right(e){this.$$set({right:e}),H()}});class Hi extends j{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF)}</style>",Y(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Ai,Ri,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,visiblegames:12,favorites:13,lastPlayedEmpty:16},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","visiblegames","favorites","lastPlayedEmpty"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get visiblegames(){return this.$$.ctx[12]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[13]}set favorites(e){this.$$set({favorites:e}),H()}get lastPlayedEmpty(){return this.$$.ctx[16]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),H()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",Hi),Hi}));
|
1418
1416
|
//# sourceMappingURL=casino-most-played-section.js.map
|