@everymatrix/casino-my-games 1.43.0 → 1.43.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/casino-my-games.js +64 -64
- package/dist/casino-my-games.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-my-games.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* https://svelte.dev/docs#run-time-svelte-onmount
|
|
10
10
|
*/
|
|
11
|
-
function G(e){(function(){if(!l)throw new Error("Function called outside component initialization");return l})().$$.on_mount.push(e)}const M=[],T=[];let L=[];const P=[],I=Promise.resolve();let A=!1;function
|
|
11
|
+
function G(e){(function(){if(!l)throw new Error("Function called outside component initialization");return l})().$$.on_mount.push(e)}const M=[],T=[];let L=[];const P=[],I=Promise.resolve();let A=!1;function D(){A||(A=!0,I.then(B))}function O(){return D(),I}function N(e){L.push(e)}
|
|
12
12
|
// flush() calls callbacks in this order:
|
|
13
13
|
// 1. All beforeUpdate callbacks, in order: parents before children
|
|
14
14
|
// 2. All bind:this callbacks, in reverse order: children before parents.
|
|
@@ -55,7 +55,7 @@ props:d,update:t,not_equal:u,bound:r(),
|
|
|
55
55
|
// lifecycle
|
|
56
56
|
on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(f?f.$$.context:[])),
|
|
57
57
|
// everything else
|
|
58
|
-
callbacks:r(),dirty:m,skip_bound:!1,root:s.target||f.$$.root};h&&h(g.root);let y=!1;if(g.ctx=o?o(e,s.props||{},((t,n,...r)=>{const a=r.length?r[0]:n;return g.ctx&&u(g.ctx[t],g.ctx[t]=a)&&(!g.skip_bound&&g.bound[t]&&g.bound[t](a),y&&function(e,t){-1===e.$$.dirty[0]&&(M.push(e),
|
|
58
|
+
callbacks:r(),dirty:m,skip_bound:!1,root:s.target||f.$$.root};h&&h(g.root);let y=!1;if(g.ctx=o?o(e,s.props||{},((t,n,...r)=>{const a=r.length?r[0]:n;return g.ctx&&u(g.ctx[t],g.ctx[t]=a)&&(!g.skip_bound&&g.bound[t]&&g.bound[t](a),y&&function(e,t){-1===e.$$.dirty[0]&&(M.push(e),D(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}(e,t)),n})):[],g.update(),y=!0,a(g.before_update),
|
|
59
59
|
// `false` as a special case of no DOM component
|
|
60
60
|
g.fragment=!!c&&c(g.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
|
|
61
61
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
@@ -131,7 +131,7 @@ self.fetch.bind(self);
|
|
|
131
131
|
PERFORMANCE OF THIS SOFTWARE.
|
|
132
132
|
***************************************************************************** */
|
|
133
133
|
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
|
134
|
-
var ve=function(e,t){return ve=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])},ve(e,t)};function be(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}ve(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function we(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 xe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s}function _e(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);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}"function"==typeof SuppressedError&&SuppressedError;var ke=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 Fe(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ce=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,a;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=we(i),o=s.next();!o.done;o=s.next()){o.value.remove(this)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);var l=this.initialTeardown;if($e(l))try{l()}catch(e){a=e instanceof ke?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=we(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{Me(h)}catch(e){a=null!=a?a:[],e instanceof ke?a=_e(_e([],xe(a)),xe(e.errors)):a.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(a)throw new ke(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Me(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)&&Fe(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Fe(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ee=Ce.EMPTY;function Ge(e){return e instanceof Ce||e&&"closed"in e&&$e(e.remove)&&$e(e.add)&&$e(e.unsubscribe)}function Me(e){$e(e)?e():e.unsubscribe()}var Te={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Le={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=Le.delegate;return(null==a?void 0:a.setTimeout)?a.setTimeout.apply(a,_e([e,t],xe(n))):setTimeout.apply(void 0,_e([e,t],xe(n)))},clearTimeout:function(e){var t=Le.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Pe(){}var Ie=null;function Ae(e){if(Te.useDeprecatedSynchronousErrorHandling){var t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){var n=Ie,r=n.errorThrown,a=n.error;if(Ie=null,r)throw a}}else e()}var Oe=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Ge(t)&&t.add(n)):n.destination=Ue,n}return be(t,e),t.create=function(e,t,n){return new He(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}(Ce),De=Function.prototype.bind;function Ne(e,t){return De.call(e,t)}var Re=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){Be(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Be(e)}else Be(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Be(e)}},e}(),He=function(e){function t(t,n,r){var a,i,s=e.call(this)||this;$e(t)||!t?a={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&Te.useDeprecatedNextContext?((i=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},a={next:t.next&&Ne(t.next,i),error:t.error&&Ne(t.error,i),complete:t.complete&&Ne(t.complete,i)}):a=t;return s.destination=new Re(a),s}return be(t,e),t}(Oe);function Be(e){var t;t=e,Le.setTimeout((function(){throw t}))}var Ue={closed:!0,next:Pe,error:function(e){throw e},complete:Pe},Ye="function"==typeof Symbol&&Symbol.observable||"@@observable";function je(e){return e}var ze=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,a=this,i=(r=e)&&r instanceof Oe||function(e){return e&&$e(e.next)&&$e(e.error)&&$e(e.complete)}(r)&&Ge(r)?e:new He(e,t,n);return Ae((function(){var e=a,t=e.operator,n=e.source;i.add(t?t.call(i,n):n?a._subscribe(i):a._trySubscribe(i))})),i},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=We(t))((function(t,r){var a=new He({next:function(t){try{e(t)}catch(e){r(e),a.unsubscribe()}},error:r,complete:t});n.subscribe(a)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ye]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?je:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=We(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 We(e){var t;return null!==(t=null!=e?e:Te.Promise)&&void 0!==t?t:Promise}var Ve=Se((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ze=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 be(t,e),t.prototype.lift=function(e){var t=new Ke(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ve},t.prototype.next=function(e){var t=this;Ae((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var a=we(t.currentObservers),i=a.next();!i.done;i=a.next()){i.value.next(e)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ae((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;Ae((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,a=n.isStopped,i=n.observers;return r||a?Ee:(this.currentObservers=null,i.push(e),new Ce((function(){t.currentObservers=null,Fe(i,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,a=t.isStopped;n?e.error(r):a&&e.complete()},t.prototype.asObservable=function(){var e=new ze;return e.source=this,e},t.create=function(e,t){return new Ke(e,t)},t}(ze),Ke=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return be(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:Ee},t}(Ze),qe={now:function(){return(qe.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=qe);var a=e.call(this)||this;return a._bufferSize=t,a._windowTime=n,a._timestampProvider=r,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,t),a._windowTime=Math.max(1,n),a}return be(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,a=n._buffer,i=n._infiniteTimeWindow,s=n._timestampProvider,o=n._windowTime;r||(a.push(t),!i&&a.push(s.now()+o)),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(),a=0;a<r.length&&!e.closed;a+=n?1:2)e.next(r[a]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,a=e._infiniteTimeWindow,i=(a?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!a){for(var s=n.now(),o=0,l=1;l<r.length&&r[l]<=s;l+=2)o=l;o&&r.splice(0,o+1)}},t}(Ze);let Je=[],Qe={};
|
|
134
|
+
var ve=function(e,t){return ve=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])},ve(e,t)};function be(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}ve(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function we(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 xe(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,a,i=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(e){a={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s}function _e(e,t,n){if(n||2===arguments.length)for(var r,a=0,i=t.length;a<i;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);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}"function"==typeof SuppressedError&&SuppressedError;var ke=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 Fe(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ce=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,a;if(!this.closed){this.closed=!0;var i=this._parentage;if(i)if(this._parentage=null,Array.isArray(i))try{for(var s=we(i),o=s.next();!o.done;o=s.next()){o.value.remove(this)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else i.remove(this);var l=this.initialTeardown;if($e(l))try{l()}catch(e){a=e instanceof ke?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=we(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{Me(h)}catch(e){a=null!=a?a:[],e instanceof ke?a=_e(_e([],xe(a)),xe(e.errors)):a.push(e)}}}catch(e){n={error:e}}finally{try{d&&!d.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(a)throw new ke(a)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Me(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)&&Fe(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Fe(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ee=Ce.EMPTY;function Ge(e){return e instanceof Ce||e&&"closed"in e&&$e(e.remove)&&$e(e.add)&&$e(e.unsubscribe)}function Me(e){$e(e)?e():e.unsubscribe()}var Te={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Le={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var a=Le.delegate;return(null==a?void 0:a.setTimeout)?a.setTimeout.apply(a,_e([e,t],xe(n))):setTimeout.apply(void 0,_e([e,t],xe(n)))},clearTimeout:function(e){var t=Le.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Pe(){}var Ie=null;function Ae(e){if(Te.useDeprecatedSynchronousErrorHandling){var t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){var n=Ie,r=n.errorThrown,a=n.error;if(Ie=null,r)throw a}}else e()}var De=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Ge(t)&&t.add(n)):n.destination=Ue,n}return be(t,e),t.create=function(e,t,n){return new He(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}(Ce),Oe=Function.prototype.bind;function Ne(e,t){return Oe.call(e,t)}var Re=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){Be(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Be(e)}else Be(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Be(e)}},e}(),He=function(e){function t(t,n,r){var a,i,s=e.call(this)||this;$e(t)||!t?a={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&Te.useDeprecatedNextContext?((i=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},a={next:t.next&&Ne(t.next,i),error:t.error&&Ne(t.error,i),complete:t.complete&&Ne(t.complete,i)}):a=t;return s.destination=new Re(a),s}return be(t,e),t}(De);function Be(e){var t;t=e,Le.setTimeout((function(){throw t}))}var Ue={closed:!0,next:Pe,error:function(e){throw e},complete:Pe},Ye="function"==typeof Symbol&&Symbol.observable||"@@observable";function je(e){return e}var ze=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,a=this,i=(r=e)&&r instanceof De||function(e){return e&&$e(e.next)&&$e(e.error)&&$e(e.complete)}(r)&&Ge(r)?e:new He(e,t,n);return Ae((function(){var e=a,t=e.operator,n=e.source;i.add(t?t.call(i,n):n?a._subscribe(i):a._trySubscribe(i))})),i},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=We(t))((function(t,r){var a=new He({next:function(t){try{e(t)}catch(e){r(e),a.unsubscribe()}},error:r,complete:t});n.subscribe(a)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ye]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?je:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=We(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 We(e){var t;return null!==(t=null!=e?e:Te.Promise)&&void 0!==t?t:Promise}var Ve=Se((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ze=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 be(t,e),t.prototype.lift=function(e){var t=new Ke(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ve},t.prototype.next=function(e){var t=this;Ae((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var a=we(t.currentObservers),i=a.next();!i.done;i=a.next()){i.value.next(e)}}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ae((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;Ae((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,a=n.isStopped,i=n.observers;return r||a?Ee:(this.currentObservers=null,i.push(e),new Ce((function(){t.currentObservers=null,Fe(i,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,a=t.isStopped;n?e.error(r):a&&e.complete()},t.prototype.asObservable=function(){var e=new ze;return e.source=this,e},t.create=function(e,t){return new Ke(e,t)},t}(ze),Ke=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return be(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:Ee},t}(Ze),qe={now:function(){return(qe.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=qe);var a=e.call(this)||this;return a._bufferSize=t,a._windowTime=n,a._timestampProvider=r,a._buffer=[],a._infiniteTimeWindow=!0,a._infiniteTimeWindow=n===1/0,a._bufferSize=Math.max(1,t),a._windowTime=Math.max(1,n),a}return be(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,a=n._buffer,i=n._infiniteTimeWindow,s=n._timestampProvider,o=n._windowTime;r||(a.push(t),!i&&a.push(s.now()+o)),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(),a=0;a<r.length&&!e.closed;a+=n?1:2)e.next(r[a]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,a=e._infiniteTimeWindow,i=(a?1:2)*t;if(t<1/0&&i<r.length&&r.splice(0,r.length-i),!a){for(var s=n.now(),o=0,l=1;l<r.length&&r[l]<=s;l+=2)o=l;o&&r.splice(0,o+1)}},t}(Ze);let Je=[],Qe={};
|
|
135
135
|
/**
|
|
136
136
|
* @name topic
|
|
137
137
|
* @description A small wrapper over the rxjs to offer the topic method on top of it
|
|
@@ -313,20 +313,20 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
|
|
|
313
313
|
case"x":// 1, 2, 3, 4: The ISO8601 varios formats
|
|
314
314
|
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
|
|
315
315
|
// @generated from regex-gen.ts
|
|
316
|
-
var Pt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var It=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,At=/^(@+)?(\+|#+)?[rs]?$/g,
|
|
316
|
+
var Pt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var It=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,At=/^(@+)?(\+|#+)?[rs]?$/g,Dt=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(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(At,(function(e,n,r){
|
|
317
317
|
// @@@ case
|
|
318
318
|
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 Ht(e){
|
|
319
319
|
// Engineering
|
|
320
|
-
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)),!
|
|
320
|
+
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)),!Ot.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Bt(e){var t=Rt(e);return t||{}}
|
|
321
321
|
/**
|
|
322
322
|
* https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
|
|
323
323
|
*/function Ut(e){for(var t={},n=0,r=e;n<r.length;n++){var a=r[n];switch(a.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=a.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=a.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=yt(yt(yt({},t),{notation:"scientific"}),a.options.reduce((function(e,t){return yt(yt({},e),Bt(t))}),{}));continue;case"engineering":t=yt(yt(yt({},t),{notation:"engineering"}),a.options.reduce((function(e,t){return yt(yt({},e),Bt(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
|
|
324
324
|
// https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
|
|
325
325
|
case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(a.options[0]);continue;
|
|
326
326
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
|
327
|
-
case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(
|
|
327
|
+
case"integer-width":if(a.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");a.options[0].replace(Dt,(function(e,n,r,a,i,s){if(n)t.minimumIntegerDigits=r.length;else{if(a&&i)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
|
|
328
328
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
|
|
329
|
-
if(
|
|
329
|
+
if(Ot.test(a.stem))t.minimumIntegerDigits=a.stem.length;else if(It.test(a.stem)){
|
|
330
330
|
// Precision
|
|
331
331
|
// https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
|
|
332
332
|
// precision-integer case
|
|
@@ -627,7 +627,7 @@ if(_t(u)){var m="string"==typeof u.style?r.date[u.style]:Gt(u.style)?u.style.par
|
|
|
627
627
|
See the accompanying LICENSE file for terms.
|
|
628
628
|
*/
|
|
629
629
|
// -- MessageFormat --------------------------------------------------------
|
|
630
|
-
function
|
|
630
|
+
function Dn(e,t){return t?Object.keys(e).reduce((function(n,r){var a,i;return n[r]=(a=e[r],(i=t[r])?yt(yt(yt({},a||{}),i||{}),Object.keys(a).reduce((function(e,t){return e[t]=yt(yt({},a[t]),i[t]||{}),e}),{})):a),n}),yt({},e)):e}function On(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"}(Gn||(Gn={}));var Nn=/** @class */function(){function e(t,n,r,a){var i,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
|
|
631
631
|
// Hot path for straight simple msg translations
|
|
632
632
|
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Gn.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 An(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
|
|
633
633
|
// Defined first because it's used to build the format pattern.
|
|
@@ -636,7 +636,7 @@ this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(thi
|
|
|
636
636
|
this.ast=e.__parse(t,{ignoreTag:null==a?void 0:a.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.");
|
|
637
637
|
// Creates a new object with the specified `formats` merged with the default
|
|
638
638
|
// formats.
|
|
639
|
-
this.formats=
|
|
639
|
+
this.formats=Dn(e.formats,r),this.formatters=a&&a.formatters||(void 0===(i=this.formatterCache)&&(i={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,vt([void 0],t,!1)))}),{cache:On(i.number),strategy:En.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,vt([void 0],t,!1)))}),{cache:On(i.dateTime),strategy:En.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,vt([void 0],t,!1)))}),{cache:On(i.pluralRules),strategy:En.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,
|
|
640
640
|
// Default format options used as the prototype of the `formats` provided to the
|
|
641
641
|
// constructor. These are used when constructing the internal Intl.NumberFormat
|
|
642
642
|
// and Intl.DateTimeFormat instances.
|
|
@@ -649,13 +649,13 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
|
|
|
649
649
|
* @param {String} userAgent window.navigator.userAgent
|
|
650
650
|
* @returns {Boolean} true or false
|
|
651
651
|
*/
|
|
652
|
-
const Ar=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),
|
|
652
|
+
const Ar=e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),Dr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";
|
|
653
653
|
/**
|
|
654
654
|
* @name getDevice
|
|
655
655
|
* @description A method that returns the type of the device
|
|
656
656
|
* @param {String} userAgent window.navigator.userAgent
|
|
657
657
|
* @returns {String} Android/iPhone/iPad/PC
|
|
658
|
-
*/function
|
|
658
|
+
*/function Or(e,t){Wn(e,t)}const Nr={en:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"zh-hk":{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},de:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},it:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},fr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},es:{favorites:"Favoritos",mostPlayed:"Más jugados",recentlyPlayed:"Últimos jugados"},tr:{favorites:"Favoriler",mostPlayed:"En Çok Oynananlar",recentlyPlayed:"Son Oynananlar"},ru:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},ro:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},hr:{favorites:"Favoriti",mostPlayed:"Najčešće igrano",recentlyPlayed:"Zadnje igrano"},hu:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},pt:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sl:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},sr:{favorites:"Favorites",mostPlayed:"Most Played",recentlyPlayed:"Last Played"},"pt-br":{favorites:"Favoritos",mostPlayed:"O mais jogado",recentlyPlayed:"Ultimo jogo"},"es-mx":{favorites:"Favoritos",mostPlayed:"Los más Jugados",recentlyPlayed:"Último juego"}};function Rr(e,t){Wn(e,t)}const Hr={en:{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:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting"},it:{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:{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:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando"},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",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.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor"},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"},ro:{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:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje"},hu:{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:{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:{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:{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:{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."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando"},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando"}};var Br=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return ye(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
|
|
659
659
|
// This is done to register the method called with moment()
|
|
660
660
|
// without creating circular dependencies.
|
|
661
661
|
function a(e){t=e}function i(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){
|
|
@@ -677,14 +677,14 @@ function _(e){x(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
|
|
|
677
677
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
|
678
678
|
this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function T(e,t){var n,r=m({},e);for(n in t)o(t,n)&&(s(e[n])&&s(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)o(e,n)&&!o(t,n)&&s(e[n])&&(
|
|
679
679
|
// make sure changes to properties don't modify parent config
|
|
680
|
-
r[n]=m({},r[n]));return r}function L(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,F=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)o(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 I(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return G(r)?r.call(t,n):r}function A(e,t,n){var r=""+Math.abs(e),a=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var
|
|
680
|
+
r[n]=m({},r[n]));return r}function L(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,F=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)o(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 I(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return G(r)?r.call(t,n):r}function A(e,t,n){var r=""+Math.abs(e),a=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+r}var D=/(\[[^\[]*\])|(\\)?([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,O=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,N={},R={};
|
|
681
681
|
// token: 'M'
|
|
682
682
|
// padded: ['MM', 2]
|
|
683
683
|
// ordinal: 'Mo'
|
|
684
684
|
// callback: function () { this.month() + 1 }
|
|
685
|
-
function H(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(R[e]=a),t&&(R[t[0]]=function(){return A(a.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(a.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(
|
|
685
|
+
function H(e,t,n,r){var a=r;"string"==typeof r&&(a=function(){return this[r]()}),e&&(R[e]=a),t&&(R[t[0]]=function(){return A(a.apply(this,arguments),t[1],t[2])}),n&&(R[n]=function(){return this.localeData().ordinal(a.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(D);for(t=0,n=r.length;t<n;t++)R[r[t]]?r[t]=R[r[t]]:r[t]=B(r[t]);return function(t){var a,i="";for(a=0;a<n;a++)i+=G(r[a])?r[a].call(t,e):r[a];return i}}
|
|
686
686
|
// format date using native date object
|
|
687
|
-
function Y(e,t){return e.isValid()?(t=j(t,e.localeData()),N[t]=N[t]||U(t),N[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(
|
|
687
|
+
function Y(e,t){return e.isValid()?(t=j(t,e.localeData()),N[t]=N[t]||U(t),N[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(O.lastIndex=0;n>=0&&O.test(e);)e=e.replace(O,r),O.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(D).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",q=/\d{1,2}/;function X(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 a=this._relativeTime[n];return G(a)?a(e,t,n,r):a.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return G(n)?n(t):n.replace(/%s/i,t)}var te={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ne(e){return"string"==typeof e?te[e]||te[e.toLowerCase()]:void 0}function re(e){var t,n,r={};for(n in e)o(e,n)&&(t=ne(n))&&(r[t]=e[n]);return r}var ae={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function ie(e){var t,n=[];for(t in e)o(e,t)&&n.push({unit:t,priority:ae[t]});return n.sort((function(e,t){return e.priority-t.priority})),n}var// 0-99
|
|
688
688
|
se,oe=/\d/,// 0 - 9
|
|
689
689
|
le=/\d\d/,// 00 - 99
|
|
690
690
|
ce=/\d{3}/,// 000 - 999
|
|
@@ -706,16 +706,16 @@ $e=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
|
|
|
706
706
|
Se=/[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,ke=/^[1-9]\d?/,// 1-99
|
|
707
707
|
Fe=/^([1-9]\d|\d)/;function Ce(e,t,n){se[e]=G(t)?t:function(e,r){return e&&n?n:t}}function Ee(e,t){return o(se,e)?se[e](t._strict,t._locale):new RegExp(Ge(e))}
|
|
708
708
|
// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
|
|
709
|
-
function Ge(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a})))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Te(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Le(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Te(t)),n}se={};var Pe={};function Ie(e,t){var n,r,a=t;for("string"==typeof e&&(e=[e]),u(t)&&(a=function(e,n){n[t]=Le(e)}),r=e.length,n=0;n<r;n++)Pe[e[n]]=a}function Ae(e,t){Ie(e,(function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)}))}function
|
|
709
|
+
function Ge(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,a){return t||n||r||a})))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Te(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Le(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=Te(t)),n}se={};var Pe={};function Ie(e,t){var n,r,a=t;for("string"==typeof e&&(e=[e]),u(t)&&(a=function(e,n){n[t]=Le(e)}),r=e.length,n=0;n<r;n++)Pe[e[n]]=a}function Ae(e,t){Ie(e,(function(e,n,r,a){r._w=r._w||{},t(e,r._w,r,a)}))}function De(e,t,n){null!=t&&o(Pe,e)&&Pe[e](t,n._a,n,e)}function Oe(e){return e%4==0&&e%100!=0||e%400==0}var Ne=0,Re=1,He=2,Be=3,Ue=4,Ye=5,je=6,ze=7,We=8;
|
|
710
710
|
// FORMATTING
|
|
711
711
|
// HELPERS
|
|
712
|
-
function Ve(e){return
|
|
712
|
+
function Ve(e){return Oe(e)?366:365}
|
|
713
713
|
// HOOKS
|
|
714
714
|
H("Y",0,0,(function(){var e=this.year();return e<=9999?A(e,4):"+"+e})),H(0,["YY",2],0,(function(){return this.year()%100})),H(0,["YYYY",4],0,"year"),H(0,["YYYYY",5],0,"year"),H(0,["YYYYYY",6,!0],0,"year"),
|
|
715
715
|
// PARSING
|
|
716
716
|
Ce("Y",we),Ce("YY",he,le),Ce("YYYY",ge,ue),Ce("YYYYY",ve,de),Ce("YYYYYY",ve,de),Ie(["YYYYY","YYYYYY"],Ne),Ie("YYYY",(function(e,t){t[Ne]=2===e.length?r.parseTwoDigitYear(e):Le(e)})),Ie("YY",(function(e,t){t[Ne]=r.parseTwoDigitYear(e)})),Ie("Y",(function(e,t){t[Ne]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return Le(e)+(Le(e)>68?1900:2e3)};
|
|
717
717
|
// MOMENTS
|
|
718
|
-
var Ze,Ke=Xe("FullYear",!0);function qe(){return
|
|
718
|
+
var Ze,Ke=Xe("FullYear",!0);function qe(){return Oe(this.year())}function Xe(e,t){return function(n){return null!=n?(Qe(this,e,n),r.updateOffset(this,t),this):Je(this,e)}}function Je(e,t){if(!e.isValid())return NaN;var n=e._d,r=e._isUTC;switch(t){case"Milliseconds":return r?n.getUTCMilliseconds():n.getMilliseconds();case"Seconds":return r?n.getUTCSeconds():n.getSeconds();case"Minutes":return r?n.getUTCMinutes():n.getMinutes();case"Hours":return r?n.getUTCHours():n.getHours();case"Date":return r?n.getUTCDate():n.getDate();case"Day":return r?n.getUTCDay():n.getDay();case"Month":return r?n.getUTCMonth():n.getMonth();case"FullYear":return r?n.getUTCFullYear():n.getFullYear();default:return NaN;// Just in case
|
|
719
719
|
}}function Qe(e,t,n){var r,a,i,s,o;if(e.isValid()&&!isNaN(n)){switch(r=e._d,a=e._isUTC,t){case"Milliseconds":return void(a?r.setUTCMilliseconds(n):r.setMilliseconds(n));case"Seconds":return void(a?r.setUTCSeconds(n):r.setSeconds(n));case"Minutes":return void(a?r.setUTCMinutes(n):r.setMinutes(n));case"Hours":return void(a?r.setUTCHours(n):r.setHours(n));case"Date":return void(a?r.setUTCDate(n):r.setDate(n));
|
|
720
720
|
// case 'Day': // Not real
|
|
721
721
|
// return void (isUTC ? d.setUTCDay(value) : d.setDay(value));
|
|
@@ -723,9 +723,9 @@ var Ze,Ke=Xe("FullYear",!0);function qe(){return De(this.year())}function Xe(e,t
|
|
|
723
723
|
// return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));
|
|
724
724
|
case"FullYear":break;// See below ...
|
|
725
725
|
default:return;// Just in case
|
|
726
|
-
}i=n,s=e.month(),o=29!==(o=e.date())||1!==s||
|
|
726
|
+
}i=n,s=e.month(),o=29!==(o=e.date())||1!==s||Oe(i)?o:28,a?r.setUTCFullYear(i,s,o):r.setFullYear(i,s,o)}}
|
|
727
727
|
// MOMENTS
|
|
728
|
-
function et(e){return G(this[e=ne(e)])?this[e]():this}function tt(e,t){if("object"==typeof e){var n,r=ie(e=re(e)),a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(G(this[e=ne(e)]))return this[e](t);return this}function nt(e,t){return(e%t+t)%t}function rt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=nt(t,12);return e+=(t-n)/12,1===n?
|
|
728
|
+
function et(e){return G(this[e=ne(e)])?this[e]():this}function tt(e,t){if("object"==typeof e){var n,r=ie(e=re(e)),a=r.length;for(n=0;n<a;n++)this[r[n].unit](e[r[n].unit])}else if(G(this[e=ne(e)]))return this[e](t);return this}function nt(e,t){return(e%t+t)%t}function rt(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=nt(t,12);return e+=(t-n)/12,1===n?Oe(e)?29:28:31-n%7%2}
|
|
729
729
|
// FORMATTING
|
|
730
730
|
Ze=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
|
|
731
731
|
// I know
|
|
@@ -790,7 +790,7 @@ function Pt(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H(
|
|
|
790
790
|
// PARSING
|
|
791
791
|
Ce("d",he),Ce("e",he),Ce("E",he),Ce("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ce("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ce("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ae(["dd","ddd","dddd"],(function(e,t,n,r){var a=n._locale.weekdaysParse(e,r,n._strict);
|
|
792
792
|
// if we didn't get a weekday name, mark the date as invalid
|
|
793
|
-
null!=a?t.d=a:g(n).invalidWeekday=e})),Ae(["d","e","E"],(function(e,t,n,r){t[r]=Le(e)}));var It="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),At="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
|
|
793
|
+
null!=a?t.d=a:g(n).invalidWeekday=e})),Ae(["d","e","E"],(function(e,t,n,r){t[r]=Le(e)}));var It="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),At="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Dt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Ot=Se,Nt=Se,Rt=Se;function Ht(e,t){var n=i(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,a,i,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)i=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(i,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(a=Ze.call(this._weekdaysParse,s))?a:null:"ddd"===t?-1!==(a=Ze.call(this._shortWeekdaysParse,s))?a:null:-1!==(a=Ze.call(this._minWeekdaysParse,s))?a:null:"dddd"===t?-1!==(a=Ze.call(this._weekdaysParse,s))||-1!==(a=Ze.call(this._shortWeekdaysParse,s))||-1!==(a=Ze.call(this._minWeekdaysParse,s))?a:null:"ddd"===t?-1!==(a=Ze.call(this._shortWeekdaysParse,s))||-1!==(a=Ze.call(this._weekdaysParse,s))||-1!==(a=Ze.call(this._minWeekdaysParse,s))?a:null:-1!==(a=Ze.call(this._minWeekdaysParse,s))||-1!==(a=Ze.call(this._weekdaysParse,s))||-1!==(a=Ze.call(this._shortWeekdaysParse,s))?a:null}function jt(e,t,n){var r,a,i;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++){
|
|
794
794
|
// test the regex
|
|
795
795
|
if(
|
|
796
796
|
// make the regex if we don't have it already
|
|
@@ -800,7 +800,7 @@ function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=Je(this,"Day");r
|
|
|
800
800
|
// behaves the same as moment#day except
|
|
801
801
|
// as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
|
|
802
802
|
// as a setter, sunday should belong to the previous week.
|
|
803
|
-
if(null!=e){var t=Lt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=
|
|
803
|
+
if(null!=e){var t=Lt(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Ot),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Kt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Nt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Xt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Rt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Xt(){function e(e,t){return t.length-e.length}var t,n,r,a,i,s=[],o=[],l=[],c=[];for(t=0;t<7;t++)
|
|
804
804
|
// make the regex if we don't have it already
|
|
805
805
|
n=p([2e3,1]).day(t),r=Me(this.weekdaysMin(n,"")),a=Me(this.weekdaysShort(n,"")),i=Me(this.weekdays(n,"")),s.push(r),o.push(a),l.push(i),c.push(r),c.push(a),c.push(i);
|
|
806
806
|
// Sorting makes sure if one weekday (or abbr) is a prefix of another it
|
|
@@ -819,7 +819,7 @@ return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",
|
|
|
819
819
|
// specified which hour they want. So trying to maintain the same hour (in
|
|
820
820
|
// a new timezone) makes sense. Adding/subtracting hours does not follow
|
|
821
821
|
// this rule.
|
|
822
|
-
an=Xe("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,ln={calendar:P,longDateFormat:z,invalidDate:V,ordinal:K,dayOfMonthOrdinalParse:q,relativeTime:J,months:at,monthsShort:it,week:Ft,weekdays:It,weekdaysMin:
|
|
822
|
+
an=Xe("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var on,ln={calendar:P,longDateFormat:z,invalidDate:V,ordinal:K,dayOfMonthOrdinalParse:q,relativeTime:J,months:at,monthsShort:it,week:Ft,weekdays:It,weekdaysMin:Dt,weekdaysShort:At,meridiemParse:rn},cn={},un={};
|
|
823
823
|
// internal storage for locale config files
|
|
824
824
|
function dn(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 hn(e){return e?e.toLowerCase().replace("_","-"):e}
|
|
825
825
|
// pick the locale from the array
|
|
@@ -883,9 +883,9 @@ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\
|
|
|
883
883
|
// the only allowed military tz is Z
|
|
884
884
|
return 0;var r=parseInt(n,10),a=r%100;return(r-a)/100*60+a}
|
|
885
885
|
// date and time from ref 2822 format
|
|
886
|
-
function
|
|
886
|
+
function Dn(e){var t,n=En.exec(Pn(e._i));if(n){if(t=Tn(n[4],n[3],n[2],n[5],n[6],n[7]),!In(n[1],t,e))return;e._a=t,e._tzm=An(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}
|
|
887
887
|
// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
|
|
888
|
-
function
|
|
888
|
+
function On(e){var t=Cn.exec(e._i);null===t?(Mn(e),!1===e._isValid&&(delete e._isValid,Dn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
|
|
889
889
|
// Final attempt, use Input Fallback
|
|
890
890
|
r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
|
|
891
891
|
// Pick the first defined of two or three arguments.
|
|
@@ -935,9 +935,9 @@ function Un(e){
|
|
|
935
935
|
// TODO: Move this to another part of the creation flow to prevent circular deps
|
|
936
936
|
if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],g(e).empty=!0;
|
|
937
937
|
// This array is used to make a Date, either with `new Date` or `Date.UTC`
|
|
938
|
-
var t,n,a,i,s,o,l,c=""+e._i,u=c.length,d=0;for(l=(a=j(e._f,e._locale).match(
|
|
938
|
+
var t,n,a,i,s,o,l,c=""+e._i,u=c.length,d=0;for(l=(a=j(e._f,e._locale).match(D)||[]).length,t=0;t<l;t++)i=a[t],(n=(c.match(Ee(i,e))||[])[0])&&((s=c.substr(0,c.indexOf(n))).length>0&&g(e).unusedInput.push(s),c=c.slice(c.indexOf(n)+n.length),d+=n.length),
|
|
939
939
|
// don't parse if it's not a known token
|
|
940
|
-
R[i]?(n?g(e).empty=!1:g(e).unusedTokens.push(i),
|
|
940
|
+
R[i]?(n?g(e).empty=!1:g(e).unusedTokens.push(i),De(i,n,e)):e._strict&&!n&&g(e).unusedTokens.push(i);
|
|
941
941
|
// add remaining unparsed input length to the string
|
|
942
942
|
g(e).charsLeftOver=u-d,c.length>0&&g(e).unusedInput.push(c),
|
|
943
943
|
// clear _12h flag if hour is <= 12
|
|
@@ -945,7 +945,7 @@ e._a[Be]<=12&&!0===g(e).bigHour&&e._a[Be]>0&&(g(e).bigHour=void 0),g(e).parsedDa
|
|
|
945
945
|
// handle meridiem
|
|
946
946
|
e._a[Be]=Yn(e._locale,e._a[Be],e._meridiem),null!==(
|
|
947
947
|
// handle era
|
|
948
|
-
o=g(e).era)&&(e._a[Ne]=e._locale.erasConvertYear(o,e._a[Ne])),Hn(e),xn(e)}else
|
|
948
|
+
o=g(e).era)&&(e._a[Ne]=e._locale.erasConvertYear(o,e._a[Ne])),Hn(e),xn(e)}else Dn(e);else Mn(e)}function Yn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
|
|
949
949
|
// Fallback
|
|
950
950
|
(r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}
|
|
951
951
|
// date from string and array of format strings
|
|
@@ -955,7 +955,7 @@ i+=g(t).charsLeftOver,
|
|
|
955
955
|
//or tokens
|
|
956
956
|
i+=10*g(t).unusedTokens.length,g(t).score=i,o?i<r&&(r=i,n=t):(null==r||i<r||s)&&(r=i,n=t,s&&(o=!0));m(e,n||t)}function zn(e){if(!e._d){var t=re(e._i),n=void 0===t.day?t.date:t.day;e._a=h([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 _(xn(Vn(e)));return t._nextDay&&(
|
|
957
957
|
// Adding is smart enough around DST
|
|
958
|
-
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)),$(t)?new _(xn(t)):(d(t)?e._d=t:i(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()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?
|
|
958
|
+
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)),$(t)?new _(xn(t)):(d(t)?e._d=t:i(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()):d(t)?e._d=new Date(t.valueOf()):"string"==typeof t?On(e):i(t)?(e._a=h(t.slice(0),(function(e){return parseInt(e,10)})),Hn(e)):s(t)?zn(e):u(t)?
|
|
959
959
|
// from milliseconds
|
|
960
960
|
e._d=new Date(t):r.createFromInputFallback(e)}function Kn(e,t,n,r,a){var o={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||i(e)&&0===e.length)&&(e=void 0),
|
|
961
961
|
// object construction must be done this way.
|
|
@@ -1034,9 +1034,9 @@ return(isNaN(n)?0:n)*t}function Tr(e,t){var n={};return n.months=t.month()-e.mon
|
|
|
1034
1034
|
// TODO: remove 'name' arg after deprecation is removed
|
|
1035
1035
|
function Pr(e,t){return function(n,r){var a;
|
|
1036
1036
|
//invert the arguments, but complain about it
|
|
1037
|
-
return null===r||isNaN(+r)||(E(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."),a=n,n=r,r=a),Ir(this,Gr(n,r),e),this}}function Ir(e,t,n,a){var i=t._milliseconds,s=cr(t._days),o=cr(t._months);e.isValid()&&(a=null==a||a,o&&mt(e,Je(e,"Month")+o*n),s&&Qe(e,"Date",Je(e,"Date")+s*n),i&&e._d.setTime(e._d.valueOf()+i*n),a&&r.updateOffset(e,s||o))}Gr.fn=or.prototype,Gr.invalid=sr;var Ar=Pr(1,"add"),
|
|
1037
|
+
return null===r||isNaN(+r)||(E(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."),a=n,n=r,r=a),Ir(this,Gr(n,r),e),this}}function Ir(e,t,n,a){var i=t._milliseconds,s=cr(t._days),o=cr(t._months);e.isValid()&&(a=null==a||a,o&&mt(e,Je(e,"Month")+o*n),s&&Qe(e,"Date",Je(e,"Date")+s*n),i&&e._d.setTime(e._d.valueOf()+i*n),a&&r.updateOffset(e,s||o))}Gr.fn=or.prototype,Gr.invalid=sr;var Ar=Pr(1,"add"),Dr=Pr(-1,"subtract");function Or(e){return"string"==typeof e||e instanceof String}
|
|
1038
1038
|
// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
|
|
1039
|
-
function Nr(e){return $(e)||d(e)||
|
|
1039
|
+
function Nr(e){return $(e)||d(e)||Or(e)||u(e)||Hr(e)||Rr(e)||null==e}function Rr(e){var t,n,r=s(e)&&!l(e),a=!1,i=["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=i.length;for(t=0;t<c;t+=1)n=i[t],a=a||o(e,n);return r&&a}function Hr(e){var t=i(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Or(e)})).length),t&&n}function Br(e){var t,n,r=s(e)&&!l(e),a=!1,i=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<i.length;t+=1)n=i[t],a=a||o(e,n);return r&&a}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){
|
|
1040
1040
|
// Support for single parameter, formats only overload to the calendar function
|
|
1041
1041
|
1===arguments.length&&(arguments[0]?Nr(arguments[0])?(e=arguments[0],t=void 0):Br(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
|
|
1042
1042
|
// We want to compare the start of today, vs this.
|
|
@@ -1087,7 +1087,7 @@ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e]
|
|
|
1087
1087
|
// truncate time
|
|
1088
1088
|
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 Aa(){var e,t,n,a,i=this.localeData().eras();for(e=0,t=i.length;e<t;++e)if(n=i[e].since<=i[e].until?1:-1,
|
|
1089
1089
|
// truncate time
|
|
1090
|
-
a=this.clone().startOf("day").valueOf(),i[e].since<=a&&a<=i[e].until||i[e].until<=a&&a<=i[e].since)return(this.year()-r(i[e].since).year())*n+i[e].offset;return this.year()}function
|
|
1090
|
+
a=this.clone().startOf("day").valueOf(),i[e].since<=a&&a<=i[e].until||i[e].until<=a&&a<=i[e].since)return(this.year()-r(i[e].since).year())*n+i[e].offset;return this.year()}function Da(e){return o(this,"_erasNameRegex")||Ya.call(this),e?this._erasNameRegex:this._erasRegex}function Oa(e){return o(this,"_erasAbbrRegex")||Ya.call(this),e?this._erasAbbrRegex:this._erasRegex}function Na(e){return o(this,"_erasNarrowRegex")||Ya.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ra(e,t){return t.erasAbbrRegex(e)}function Ha(e,t){return t.erasNameRegex(e)}function Ba(e,t){return t.erasNarrowRegex(e)}function Ua(e,t){return t._eraYearOrdinalRegex||be}function Ya(){var e,t,n,r,a,i=[],s=[],o=[],l=[],c=this.eras();for(e=0,t=c.length;e<t;++e)n=Me(c[e].name),r=Me(c[e].abbr),a=Me(c[e].narrow),s.push(n),i.push(r),o.push(a),l.push(n),l.push(r),l.push(a);this._erasRegex=new RegExp("^("+l.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+s.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+o.join("|")+")","i")}
|
|
1091
1091
|
// FORMATTING
|
|
1092
1092
|
function ja(e,t){H(0,[e,e.length],0,t)}
|
|
1093
1093
|
// MOMENTS
|
|
@@ -1133,7 +1133,7 @@ Ce("S",fe,oe),Ce("SS",fe,le),Ce("SSS",fe,ce),ri="SSSS";ri.length<=9;ri+="S")Ce(r
|
|
|
1133
1133
|
// MOMENTS
|
|
1134
1134
|
function oi(){return this._isUTC?"UTC":""}function li(){return this._isUTC?"Coordinated Universal Time":""}ai=Xe("Milliseconds",!1),
|
|
1135
1135
|
// FORMATTING
|
|
1136
|
-
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ci=_.prototype;function ui(e){return qn(1e3*e)}function di(){return qn.apply(null,arguments).parseZone()}function hi(e){return e}ci.add=Ar,ci.calendar=Yr,ci.clone=jr,ci.diff=Xr,ci.endOf=va,ci.format=na,ci.from=ra,ci.fromNow=aa,ci.to=ia,ci.toNow=sa,ci.get=et,ci.invalidAt=Ca,ci.isAfter=zr,ci.isBefore=Wr,ci.isBetween=Vr,ci.isSame=Zr,ci.isSameOrAfter=Kr,ci.isSameOrBefore=qr,ci.isValid=ka,ci.lang=la,ci.locale=oa,ci.localeData=ca,ci.max=Jn,ci.min=Xn,ci.parsingFlags=Fa,ci.set=tt,ci.startOf=ya,ci.subtract=
|
|
1136
|
+
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ci=_.prototype;function ui(e){return qn(1e3*e)}function di(){return qn.apply(null,arguments).parseZone()}function hi(e){return e}ci.add=Ar,ci.calendar=Yr,ci.clone=jr,ci.diff=Xr,ci.endOf=va,ci.format=na,ci.from=ra,ci.fromNow=aa,ci.to=ia,ci.toNow=sa,ci.get=et,ci.invalidAt=Ca,ci.isAfter=zr,ci.isBefore=Wr,ci.isBetween=Vr,ci.isSame=Zr,ci.isSameOrAfter=Kr,ci.isSameOrBefore=qr,ci.isValid=ka,ci.lang=la,ci.locale=oa,ci.localeData=ca,ci.max=Jn,ci.min=Xn,ci.parsingFlags=Fa,ci.set=tt,ci.startOf=ya,ci.subtract=Dr,ci.toArray=_a,ci.toObject=$a,ci.toDate=xa,ci.toISOString=ea,ci.inspect=ta,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ci[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ci.toJSON=Sa,ci.toString=Qr,ci.unix=wa,ci.valueOf=ba,ci.creationData=Ea,ci.eraName=La,ci.eraNarrow=Pa,ci.eraAbbr=Ia,ci.eraYear=Aa,ci.year=Ke,ci.isLeapYear=qe,ci.weekYear=za,ci.isoWeekYear=Wa,ci.quarter=ci.quarters=Qa,ci.month=pt,ci.daysInMonth=ft,ci.week=ci.weeks=Gt,ci.isoWeek=ci.isoWeeks=Mt,ci.weeksInYear=Ka,ci.weeksInWeekYear=qa,ci.isoWeeksInYear=Va,ci.isoWeeksInISOWeekYear=Za,ci.date=ei,ci.day=ci.days=zt,ci.weekday=Wt,ci.isoWeekday=Vt,ci.dayOfYear=ti,ci.hour=ci.hours=an,ci.minute=ci.minutes=ni,ci.second=ci.seconds=ii,ci.millisecond=ci.milliseconds=ai,ci.utcOffset=gr,ci.utc=vr,ci.local=br,ci.parseZone=wr,ci.hasAlignedHourOffset=xr,ci.isDST=_r,ci.isLocal=Sr,ci.isUtcOffset=kr,ci.isUtc=Fr,ci.isUTC=Fr,ci.zoneAbbr=oi,ci.zoneName=li,ci.dates=k("dates accessor is deprecated. Use date instead.",ei),ci.months=k("months accessor is deprecated. Use month instead",pt),ci.years=k("years accessor is deprecated. Use year instead",Ke),ci.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ci.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",$r);var mi=L.prototype;function pi(e,t,n,r){var a=bn(),i=p().set(r,t);return a[n](i,e)}function fi(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return pi(e,t,n,"month");var r,a=[];for(r=0;r<12;r++)a[r]=pi(e,r,n,"month");return a}
|
|
1137
1137
|
// ()
|
|
1138
1138
|
// (5)
|
|
1139
1139
|
// (fmt, 5)
|
|
@@ -1142,7 +1142,7 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ci=_.prototype;function ui(e){r
|
|
|
1142
1142
|
// (true, 5)
|
|
1143
1143
|
// (true, fmt, 5)
|
|
1144
1144
|
// (true, fmt)
|
|
1145
|
-
function gi(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 a,i=bn(),s=e?i._week.dow:0,o=[];if(null!=n)return pi(t,(n+s)%7,r,"day");for(a=0;a<7;a++)o[a]=pi(t,(a+s)%7,r,"day");return o}function yi(e,t){return fi(e,t,"months")}function vi(e,t){return fi(e,t,"monthsShort")}function bi(e,t,n){return gi(e,t,n,"weekdays")}function wi(e,t,n){return gi(e,t,n,"weekdaysShort")}function xi(e,t,n){return gi(e,t,n,"weekdaysMin")}mi.calendar=I,mi.longDateFormat=W,mi.invalidDate=Z,mi.ordinal=X,mi.preparse=hi,mi.postformat=hi,mi.relativeTime=Q,mi.pastFuture=ee,mi.set=M,mi.eras=Ga,mi.erasParse=Ma,mi.erasConvertYear=Ta,mi.erasAbbrRegex=
|
|
1145
|
+
function gi(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 a,i=bn(),s=e?i._week.dow:0,o=[];if(null!=n)return pi(t,(n+s)%7,r,"day");for(a=0;a<7;a++)o[a]=pi(t,(a+s)%7,r,"day");return o}function yi(e,t){return fi(e,t,"months")}function vi(e,t){return fi(e,t,"monthsShort")}function bi(e,t,n){return gi(e,t,n,"weekdays")}function wi(e,t,n){return gi(e,t,n,"weekdaysShort")}function xi(e,t,n){return gi(e,t,n,"weekdaysMin")}mi.calendar=I,mi.longDateFormat=W,mi.invalidDate=Z,mi.ordinal=X,mi.preparse=hi,mi.postformat=hi,mi.relativeTime=Q,mi.pastFuture=ee,mi.set=M,mi.eras=Ga,mi.erasParse=Ma,mi.erasConvertYear=Ta,mi.erasAbbrRegex=Oa,mi.erasNameRegex=Da,mi.erasNarrowRegex=Na,mi.months=ct,mi.monthsShort=ut,mi.monthsParse=ht,mi.monthsRegex=yt,mi.monthsShortRegex=gt,mi.week=kt,mi.firstDayOfYear=Et,mi.firstDayOfWeek=Ct,mi.weekdays=Ht,mi.weekdaysMin=Ut,mi.weekdaysShort=Bt,mi.weekdaysParse=jt,mi.weekdaysRegex=Zt,mi.weekdaysShortRegex=Kt,mi.weekdaysMinRegex=qt,mi.isPM=nn,mi.meridiem=sn,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===Le(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
|
|
1146
1146
|
// Side effect imports
|
|
1147
1147
|
r.lang=k("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=k("moment.langData is deprecated. Use moment.localeData instead.",bn);var _i=Math.abs;function $i(){var e=this._data;return this._milliseconds=_i(this._milliseconds),this._days=_i(this._days),this._months=_i(this._months),e.milliseconds=_i(e.milliseconds),e.seconds=_i(e.seconds),e.minutes=_i(e.minutes),e.hours=_i(e.hours),e.months=_i(e.months),e.years=_i(e.years),this}function Si(e,t,n,r){var a=Gr(t,n);return e._milliseconds+=r*a._milliseconds,e._days+=r*a._days,e._months+=r*a._months,e._bubble()}
|
|
1148
1148
|
// supports only 2.0-style add(1, 's') or add(duration)
|
|
@@ -1167,7 +1167,7 @@ return 146097*e/4800}function Ti(e){if(!this.isValid())return NaN;var t,n,r=this
|
|
|
1167
1167
|
// handle milliseconds separately because of floating point math errors (issue #1867)
|
|
1168
1168
|
t=this._days+Math.round(Mi(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;
|
|
1169
1169
|
// Math.floor prevents floating point math errors here
|
|
1170
|
-
case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Li(e){return function(){return this.as(e)}}var Pi=Li("ms"),Ii=Li("s"),Ai=Li("m"),
|
|
1170
|
+
case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}function Li(e){return function(){return this.as(e)}}var Pi=Li("ms"),Ii=Li("s"),Ai=Li("m"),Di=Li("h"),Oi=Li("d"),Ni=Li("w"),Ri=Li("M"),Hi=Li("Q"),Bi=Li("y"),Ui=Pi;function Yi(){return Gr(this)}function ji(e){return e=ne(e),this.isValid()?this[e+"s"]():NaN}function zi(e){return function(){return this.isValid()?this._data[e]:NaN}}var Wi=zi("milliseconds"),Vi=zi("seconds"),Zi=zi("minutes"),Ki=zi("hours"),qi=zi("days"),Xi=zi("months"),Ji=zi("years");function Qi(){return Te(this.days()/7)}var es=Math.round,ts={ss:44,// a few seconds to seconds
|
|
1171
1171
|
s:45,// seconds to minute
|
|
1172
1172
|
m:45,// minutes to hour
|
|
1173
1173
|
h:22,// hours to day
|
|
@@ -1193,7 +1193,7 @@ e=Te(l/60),t=Te(e/60),l%=60,e%=60,
|
|
|
1193
1193
|
// 12 months -> 1 year
|
|
1194
1194
|
n=Te(u/12),u%=12,
|
|
1195
1195
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
|
1196
|
-
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",i=ls(this._months)!==ls(d)?"-":"",s=ls(this._days)!==ls(d)?"-":"",o=ls(this._milliseconds)!==ls(d)?"-":"",a+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?s+c+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+r+"S":"")):"P0D"}var us=or.prototype;return us.isValid=ir,us.abs=$i,us.add=ki,us.subtract=Fi,us.as=Ti,us.asMilliseconds=Pi,us.asSeconds=Ii,us.asMinutes=Ai,us.asHours=
|
|
1196
|
+
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",a=d<0?"-":"",i=ls(this._months)!==ls(d)?"-":"",s=ls(this._days)!==ls(d)?"-":"",o=ls(this._milliseconds)!==ls(d)?"-":"",a+"P"+(n?i+n+"Y":"")+(u?i+u+"M":"")+(c?s+c+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+r+"S":"")):"P0D"}var us=or.prototype;return us.isValid=ir,us.abs=$i,us.add=ki,us.subtract=Fi,us.as=Ti,us.asMilliseconds=Pi,us.asSeconds=Ii,us.asMinutes=Ai,us.asHours=Di,us.asDays=Oi,us.asWeeks=Ni,us.asMonths=Ri,us.asQuarters=Hi,us.asYears=Bi,us.valueOf=Ui,us._bubble=Ei,us.clone=Yi,us.get=ji,us.milliseconds=Wi,us.seconds=Vi,us.minutes=Zi,us.hours=Ki,us.days=qi,us.weeks=Qi,us.months=Xi,us.years=Ji,us.humanize=ss,us.toISOString=cs,us.toString=cs,us.toJSON=cs,us.locale=oa,us.localeData=ca,us.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cs),us.lang=la,
|
|
1197
1197
|
// FORMATTING
|
|
1198
1198
|
H("X",0,0,"unix"),H("x",0,0,"valueOf"),
|
|
1199
1199
|
// PARSING
|
|
@@ -1221,14 +1221,14 @@ function Zr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=g("span"),n=v(r),_(t
|
|
|
1221
1221
|
function Kr(e){let t,n;return{c(){t=g("span"),n=v(/*gametag*/e[8]),_(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*gametag*/256&t[0]&&S(n,/*gametag*/e[8])},d(e){e&&p(t)}}}
|
|
1222
1222
|
// (557:8) {#if livegamedata}
|
|
1223
1223
|
function qr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&Xr(e);function a(e,t){/*isopen*/
|
|
1224
|
-
return e[22]&&/*displaytype*/e[19]
|
|
1224
|
+
return e[22]&&/*displaytype*/e[19]===ha?Qr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===ma?Jr:void 0}let i=a(e),s=i&&i(e);return{c(){r&&r.c(),t=b(),s&&s.c(),n=w()},m(e,a){r&&r.m(e,a),m(e,t,a),s&&s.m(e,a),m(e,n,a)},p(e,o){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,o):(r=Xr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),i===(i=a(e))&&s?s.p(e,o):(s&&s.d(1),s=i&&i(e),s&&(s.c(),s.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&p(t),s&&s.d(e),e&&p(n)}}}
|
|
1225
1225
|
// (558:10) {#if !isopen && starttime && timeformat}
|
|
1226
1226
|
function Xr(e){let t,n,r,a,i,s,o,l,c,u,d=/*$_*/e[35]("opens")+"",f=Br.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",y=/*renderDealerName*/e[41](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=g("div"),n=g("div"),r=v(d),a=b(),i=g("span"),s=v(f),o=b(),l=new F(!1),c=b(),u=new F(!1),_(n,"class","ClosedGame"),l.a=c,u.a=null,_(t,"class","GameProp LiveProps")},m(e,d){m(e,t,d),h(t,n),h(n,r),h(n,a),h(n,i),h(i,s),h(t,o),l.m(y,t),h(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&d!==(d=/*$_*/e[35]("opens")+"")&&S(r,d),/*starttime, timeformat*/3145728&t[0]&&f!==(f=Br.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&S(s,f),/*dealername*/8&t[1]&&y!==(y=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&l.p(y),/*min, max, currencySymbol*/234881024&t[0]&&w!==(w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&u.p(w)},d(e){e&&p(t)}}}
|
|
1227
1227
|
// (591:70)
|
|
1228
1228
|
function Jr(e){let t,n,r,a,i,s,o=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"",c=new Array(fa),u=[];for(let t=0;t<c.length;t+=1)u[t]=ra(zr(e,c,t));return{c(){t=g("div"),n=g("div");for(let e=0;e<u.length;e+=1)u[e].c();r=b(),a=new F(!1),i=b(),s=new F(!1),_(n,"class","LiveIcons"),a.a=i,s.a=null,_(t,"class",/*roulettecontainerclassname*/e[30])},m(c,d){m(c,t,d),h(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
|
|
1229
1229
|
/*div0_binding*/e[64](n),h(t,r),a.m(o,t),h(t,i),s.m(l,t)},p(e,r){if(/*roulleteresults, isdouble*/536887296&r[0]|/*renderSpan, colorsourcearray*/2049&r[1]){let t;for(c=new Array(fa),t=0;t<c.length;t+=1){const a=zr(e,c,t);u[t]?u[t].p(a,r):(u[t]=ra(a),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]&&o!==(o=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&a.p(o),/*min, max, currencySymbol*/234881024&r[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&s.p(l),/*roulettecontainerclassname*/1073741824&r[0]&&_(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&p(t),f(u,n),
|
|
1230
1230
|
/*div0_binding*/e[64](null)}}}
|
|
1231
|
-
// (570:10) {#if isopen && displaytype
|
|
1231
|
+
// (570:10) {#if isopen && displaytype === BLACKJACK}
|
|
1232
1232
|
function Qr(e){let t,n,r,a,i,s,o=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";function c(e,t){/*istablefull*/
|
|
1233
1233
|
return e[32]?ia:aa}let u=c(e),d=u(e);return{c(){t=g("div"),n=g("div"),d.c(),r=b(),a=new F(!1),i=b(),s=new F(!1),_(n,"class","LiveIcons"),a.a=i,s.a=null,_(t,"class","GameProp LiveProps BlackjackDisplay"),_(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){m(e,t,c),h(t,n),d.m(n,null),h(t,r),a.m(o,t),h(t,i),s.m(l,t)},p(e,t){u===(u=c(e))&&d?d.p(e,t):(d.d(1),d=u(e),d&&(d.c(),d.m(n,null))),/*dealername*/8&t[1]&&o!==(o=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&a.p(o),/*min, max, currencySymbol*/234881024&t[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&s.p(l)},d(e){e&&p(t),d.d()}}}
|
|
1234
1234
|
// (595:18) {#if roulleteresults && roulleteresults[i]}
|
|
@@ -1253,12 +1253,12 @@ function la(e){let n,r,a;return{c(){n=g("div"),n.innerHTML='<svg version="1.1" c
|
|
|
1253
1253
|
// (613:6) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
|
1254
1254
|
function ca(e){let n,r,a;return{c(){n=g("div"),n.innerHTML='<svg version="1.1" class="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: var(--emfe-w-color-white, #FFFFFF);" 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")},m(t,i){m(t,n,i),r||(a=x(n,"click",/*click_handler_1*/e[65]),r=!0)},p:t,d(e){e&&p(n),r=!1,a()}}}
|
|
1255
1255
|
// (641:2) {#if showgamename === 'true'}
|
|
1256
|
-
function ua(e){let t,n;return{c(){t=g("p"),n=v(/*gamename*/e[4]),_(t,"class","GameNameBelow"),_(t,"title",/*gamename*/e[4])},m(e,r){m(e,t,r),h(t,n)},p(e,r){/*gamename*/16&r[0]&&S(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&_(t,"title",/*gamename*/e[4])},d(e){e&&p(t)}}}function da(e){let n,r,a,i,s,o,l,u,d,f,y,w,x,$,F,C,E,G,M,T,L,P,I,A,O,
|
|
1257
|
-
return 65541&t[0]&&(L=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(P=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(I=null),null==L&&(L=!(Ar(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),L?ca:(null==P&&(P=!(Ar(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),P?la:(null==I&&(I=!!(Ar(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),I?oa:void 0))}let j=Y(e,[-1,-1,-1,-1]),z=j&&j(e),W=/*showgamename*/"true"===e[10]&&ua(e);return{c(){n=g("div"),r=g("div"),a=g("img"),o=b(),l=g("div"),u=g("div"),d=g("p"),f=v(/*gamename*/e[4]),y=b(),R&&R.c(),w=b(),x=g("span"),$=v(N),F=b(),C=g("div"),E=g("div"),H&&H.c(),G=b(),B&&B.c(),M=b(),U&&U.c(),T=b(),z&&z.c(),
|
|
1258
|
-
/*img_binding*/e[62](a),h(r,o),h(r,l),h(l,u),h(u,d),h(d,f),h(u,y),R&&R.m(u,null),h(l,w),h(l,x),h(x,$),h(r,F),h(r,C),h(C,E),H&&H.m(E,null),h(E,G),B&&B.m(E,null),h(E,M),U&&U.m(E,null),h(C,T),z&&z.m(C,null),h(n,
|
|
1259
|
-
/*div5_binding*/,e[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!c(a.src,i=/*gamethumbnail*/e[3])&&_(a,"src",i),/*gamecellsize, loaded*/131584&t[0]&&s!==(s=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&_(a,"class",s),/*gamename*/16&t[0]&&S(f,/*gamename*/e[4]),/*gamename*/16&t[0]&&_(d,"title",/*gamename*/e[4]),/*lang*/e[1]?R?R.p(e,t):(R=Vr(e),R.c(),R.m(u,null)):R&&(R.d(1),R=null),/*gamevendor*/32&t[0]&&N!==(N=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S($,N),/*gameisnew*/e[7]?H?H.p(e,t):(H=Zr(e),H.c(),H.m(E,G)):H&&(H.d(1),H=null),/*gametag*/e[8]?B?B.p(e,t):(B=Kr(e),B.c(),B.m(E,M)):B&&(B.d(1),B=null),/*livegamedata*/e[13]?U?U.p(e,t):(U=qr(e),U.c(),U.m(E,null)):U&&(U.d(1),U=null),j===(j=Y(e,t))&&z?z.p(e,t):(z&&z.d(1),z=j&&j(e),z&&(z.c(),z.m(C,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&A!==(A="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&_(r,"class",A),/*showgamename*/"true"===e[10]?W?W.p(e,t):(W=ua(e),W.c(),W.m(n,null)):W&&(W.d(1),W=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&
|
|
1256
|
+
function ua(e){let t,n;return{c(){t=g("p"),n=v(/*gamename*/e[4]),_(t,"class","GameNameBelow"),_(t,"title",/*gamename*/e[4])},m(e,r){m(e,t,r),h(t,n)},p(e,r){/*gamename*/16&r[0]&&S(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&_(t,"title",/*gamename*/e[4])},d(e){e&&p(t)}}}function da(e){let n,r,a,i,s,o,l,u,d,f,y,w,x,$,F,C,E,G,M,T,L,P,I,A,D,O,N=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"",R=/*lang*/e[1]&&Vr(e),H=/*gameisnew*/e[7]&&Zr(e),B=/*gametag*/e[8]&&Kr(e),U=/*livegamedata*/e[13]&&qr(e);function Y(e,t){/*gamefavorite, isLoggedIn, favorites*/
|
|
1257
|
+
return 65541&t[0]&&(L=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(P=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(I=null),null==L&&(L=!(Ar(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),L?ca:(null==P&&(P=!(Ar(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),P?la:(null==I&&(I=!!(Ar(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),I?oa:void 0))}let j=Y(e,[-1,-1,-1,-1]),z=j&&j(e),W=/*showgamename*/"true"===e[10]&&ua(e);return{c(){n=g("div"),r=g("div"),a=g("img"),o=b(),l=g("div"),u=g("div"),d=g("p"),f=v(/*gamename*/e[4]),y=b(),R&&R.c(),w=b(),x=g("span"),$=v(N),F=b(),C=g("div"),E=g("div"),H&&H.c(),G=b(),B&&B.c(),M=b(),U&&U.c(),T=b(),z&&z.c(),D=b(),W&&W.c(),this.c=t,c(a.src,i=/*gamethumbnail*/e[3])||_(a,"src",i),_(a,"class",s=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`),_(a,"alt",""),_(a,"loading","lazy"),_(d,"class","GameInfoName"),_(d,"title",/*gamename*/e[4]),_(u,"class","GameInfo"),_(x,"class","GameInfoVendor"),_(l,"class","GameInfoWrapper"),_(E,"class","GameExtraInfo"),_(C,"class","GameExtraInfoContainer"),_(r,"class",A="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":"")),_(n,"class",O=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`),k(n,"WithGameName",/*showgamename*/e[10])},m(t,i){m(t,n,i),h(n,r),h(r,a),
|
|
1258
|
+
/*img_binding*/e[62](a),h(r,o),h(r,l),h(l,u),h(u,d),h(d,f),h(u,y),R&&R.m(u,null),h(l,w),h(l,x),h(x,$),h(r,F),h(r,C),h(C,E),H&&H.m(E,null),h(E,G),B&&B.m(E,null),h(E,M),U&&U.m(E,null),h(C,T),z&&z.m(C,null),h(n,D),W&&W.m(n,null)
|
|
1259
|
+
/*div5_binding*/,e[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!c(a.src,i=/*gamethumbnail*/e[3])&&_(a,"src",i),/*gamecellsize, loaded*/131584&t[0]&&s!==(s=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&_(a,"class",s),/*gamename*/16&t[0]&&S(f,/*gamename*/e[4]),/*gamename*/16&t[0]&&_(d,"title",/*gamename*/e[4]),/*lang*/e[1]?R?R.p(e,t):(R=Vr(e),R.c(),R.m(u,null)):R&&(R.d(1),R=null),/*gamevendor*/32&t[0]&&N!==(N=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S($,N),/*gameisnew*/e[7]?H?H.p(e,t):(H=Zr(e),H.c(),H.m(E,G)):H&&(H.d(1),H=null),/*gametag*/e[8]?B?B.p(e,t):(B=Kr(e),B.c(),B.m(E,M)):B&&(B.d(1),B=null),/*livegamedata*/e[13]?U?U.p(e,t):(U=qr(e),U.c(),U.m(E,null)):U&&(U.d(1),U=null),j===(j=Y(e,t))&&z?z.p(e,t):(z&&z.d(1),z=j&&j(e),z&&(z.c(),z.m(C,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&A!==(A="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&_(r,"class",A),/*showgamename*/"true"===e[10]?W?W.p(e,t):(W=ua(e),W.c(),W.m(n,null)):W&&(W.d(1),W=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&O!==(O=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&_(n,"class",O),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&k(n,"WithGameName",/*showgamename*/e[10])},i:t,o:t,d(t){t&&p(n)
|
|
1260
1260
|
/*img_binding*/,e[62](null),R&&R.d(),H&&H.d(),B&&B.d(),U&&U.d(),z&&z.d(),W&&W.d()
|
|
1261
|
-
/*div5_binding*/,e[67](null)}}}const ha="blackjack",ma="roulette",pa="doubleballroulette",fa=5;function ga(e,t,n){let r;d(e,Ir,(e=>n(35,r=e)));let a,i,s,o,l,c,u,h,m,p,f,g,y,v,b,w,x,_,$,S,k,F,C,E,M,{session:L=""}=t,{userid:P=""}=t,{lang:I="en"}=t,{clientstyling:A=""}=t,{clientstylingurl:
|
|
1261
|
+
/*div5_binding*/,e[67](null)}}}const ha="blackjack",ma="roulette",pa="doubleballroulette",fa=5;function ga(e,t,n){let r;d(e,Ir,(e=>n(35,r=e)));let a,i,s,o,l,c,u,h,m,p,f,g,y,v,b,w,x,_,$,S,k,F,C,E,M,{session:L=""}=t,{userid:P=""}=t,{lang:I="en"}=t,{clientstyling:A=""}=t,{clientstylingurl:D=""}=t,{translationurl:N=""}=t,{favorites:R=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gamelaunchurl:Y=""}=t,{gameid:j=""}=t,{gameisnew:z=""}=t,{gametag:W=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:q=!1}=t,{showgamename:X=""}=t,{currency:J=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{categoryid:te=""}=t,{livelobbyendpoint:ne=""}=t,{connectlive:re=""}=t,{visibilityconnect:ae=""}=t,{integratedgameframedesktop:ie="false"}=t,{integratedgameframemobile:se="false"}=t,{casinogamesgridslider:oe="false"}=t,le=!1,ce=!1,ue=window.navigator.userAgent,de="HH:mm",he={},me=[],pe="EUR",fe="";const ge=[ha],ye=[ma,pa],ve={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},be={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(Yr).forEach((e=>{Ur(e,Yr[e])}));const we=e=>{e.data.type!==`AddFavoriteThumbnail_${j}`||q||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${j}`||q||n(0,Z=!1),"UserSessionID"===e.data.type&&(n(16,le=!0),e.data.session,a=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,o=null)},xe=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
|
|
1262
1262
|
//Analytics event -- if game was searched
|
|
1263
1263
|
"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${a||"Not logged in"}`}),
|
|
1264
1264
|
// Case mobile
|
|
@@ -1268,20 +1268,20 @@ Ar(ue)||"true"!=ie?Ar(ue)||"false"!=ie||window.postMessage({type:"ShowGameModal"
|
|
|
1268
1268
|
// eslint-disable-next-line no-console
|
|
1269
1269
|
console.error("MESSAGE PARSING ERROR: ",e)}if(a){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
|
|
1270
1270
|
r,Seats:// Roads, // for baccarat
|
|
1271
|
-
i,Open:s}=a;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(n(28,y=i),n(13,o.currentOccupiedSeats=i,o),await
|
|
1271
|
+
i,Open:s}=a;if(e)switch(t){case"SeatsUpdated":i&&Array.isArray(i)&&(n(28,y=i),n(13,o.currentOccupiedSeats=i,o),await O());break;case"RouletteResultsUpdated":r&&Array.isArray(r)&&(v=r,n(13,o.currentRouletteNumbers=r,o),await O());break;case"DoubleBallRouletteResultsUpdated":r&&Array.isArray(r)&&(b=r,n(13,o.currentDoubleBallRouletteNumbers=r,o),await O());break;case"TableOpened":case"TableClosed":n(22,h=s),n(13,o.isOpen=s,o),await O()}// default case
|
|
1272
1272
|
}}// default case
|
|
1273
1273
|
},Ce=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",Ee=(e,t)=>e.some((e=>e===t)),Ge=()=>{if(o){if(n(22,h=o.isOpen),he=o.betLimit||{},n(23,m=o.openHours),n(24,me=(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}})(o).seats),m&&m.value){const{value:{startTime:e,originalTimeFormat:t}}=m;/* , timeFormat: timeFormatRaw */n(20,u=e),n(21,de=t||de)}h&&n(19,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();Ee(ge,e)?t=ha:Ee(ye,e)&&(t=ma)}// else if (contains(baccaratCategory, gameTypeToLower)) {
|
|
1274
1274
|
// GameComponent = 'baccarat';
|
|
1275
1275
|
}// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
|
|
1276
1276
|
// GameComponent = 'poker';
|
|
1277
1277
|
// }
|
|
1278
|
-
return t})(o)),n(25,pe=jr[J]),n(26,p=(he.min||{})[J]),n(27,f=(he.max||{})[J]),v=o.currentRouletteNumbers,b=o.currentDoubleBallRouletteNumbers,w=o.vendorCategory,n(29,x=w.toLowerCase()===pa),n(14,_=(x?b:v)||[]),n(30,$="GameProp LiveProps RoulleteProps"),n(30,$+=x?" Double":""),n(31,S=Ee(ye,w.toLowerCase())?be:ve),F=k,n(32,k=Array.isArray(y)&&y.length===g),o.dealer&&n(34,E=o.dealer.DealerName),M=o.numberOfPlayers,n(33,fe="ListGame"),o.isOpen&&o.currentRouletteNumbers&&n(33,fe+=" GameBackdrop"),h&&k&&p&&f&&o.currentOccupiedSeats?n(33,fe+=" GameContainerDimmed"):!1===h&&u&&n(33,fe+=" GameContainerFullyDimmed"),s&&(!F&&k?(n(33,fe+=" PulsatingRedShadow"),n(33,fe=fe.replace(" PulsatingGreenShadow",""))):F&&!k&&(n(33,fe+=" PulsatingGreenShadow"),n(33,fe=fe.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(
|
|
1278
|
+
return t})(o)),n(25,pe=jr[J]),n(26,p=(he.min||{})[J]),n(27,f=(he.max||{})[J]),v=o.currentRouletteNumbers,b=o.currentDoubleBallRouletteNumbers,w=o.vendorCategory,n(29,x=w.toLowerCase()===pa),n(14,_=(x?b:v)||[]),n(30,$="GameProp LiveProps RoulleteProps"),n(30,$+=x?" Double":""),n(31,S=Ee(ye,w.toLowerCase())?be:ve),F=k,n(32,k=Array.isArray(y)&&y.length===g),o.dealer&&n(34,E=o.dealer.DealerName),M=o.numberOfPlayers,n(33,fe="ListGame"),o.isOpen&&o.currentRouletteNumbers&&n(33,fe+=" GameBackdrop"),h&&k&&p&&f&&o.currentOccupiedSeats?n(33,fe+=" GameContainerDimmed"):!1===h&&u&&n(33,fe+=" GameContainerFullyDimmed"),s&&(!F&&k?(n(33,fe+=" PulsatingRedShadow"),n(33,fe=fe.replace(" PulsatingGreenShadow",""))):F&&!k&&(n(33,fe+=" PulsatingGreenShadow"),n(33,fe=fe.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(D),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{s.appendChild(t)}),1)}))};G((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Fe)})));return e.$$set=e=>{"session"in e&&n(43,L=e.session),"userid"in e&&n(44,P=e.userid),"lang"in e&&n(1,I=e.lang),"clientstyling"in e&&n(45,A=e.clientstyling),"clientstylingurl"in e&&n(46,D=e.clientstylingurl),"translationurl"in e&&n(47,N=e.translationurl),"favorites"in e&&n(2,R=e.favorites),"gamethumbnail"in e&&n(3,H=e.gamethumbnail),"gamename"in e&&n(4,B=e.gamename),"gamevendor"in e&&n(5,U=e.gamevendor),"gamelaunchurl"in e&&n(48,Y=e.gamelaunchurl),"gameid"in e&&n(6,j=e.gameid),"gameisnew"in e&&n(7,z=e.gameisnew),"gametag"in e&&n(8,W=e.gametag),"gamefunmode"in e&&n(49,V=e.gamefunmode),"gamefavorite"in e&&n(0,Z=e.gamefavorite),"gamecellsize"in e&&n(9,K=e.gamecellsize),"showfavoredcategory"in e&&n(50,q=e.showfavoredcategory),"showgamename"in e&&n(10,X=e.showgamename),"currency"in e&&n(51,J=e.currency),"gamepagemodalurl"in e&&n(52,Q=e.gamepagemodalurl),"endpoint"in e&&n(53,ee=e.endpoint),"categoryid"in e&&n(54,te=e.categoryid),"livelobbyendpoint"in e&&n(55,ne=e.livelobbyendpoint),"connectlive"in e&&n(56,re=e.connectlive),"visibilityconnect"in e&&n(57,ae=e.visibilityconnect),"integratedgameframedesktop"in e&&n(58,ie=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(59,se=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,oe=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?ke():"connect"===re&&Se()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ae&&("disconnect"===ae?ke():"connect"===ae&&"connect"===re&&Se()),/*lang*/2&e.$$.dirty[0]&&I&&$e(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&L&&P&&ee&&(n(16,le=!0),a=P),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&i&&n(18,i.onload=()=>{n(17,ce=!0)},i),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstyling*/16384&e.$$.dirty[1]&&A&&s&&(()=>{let e=document.createElement("style");e.innerHTML=A,s.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&D&&s&&Me(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&N&&fetch(N).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ur(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&K&&D&&Me(),/*endpoint, livelobbyendpoint*/20971520&e.$$.dirty[1]&&ee&&ne&&(()=>{let e=new URL(`${ne.split("?")[0]}`);e.searchParams.append("platform",Dr(ue)),e.searchParams.append("language",I),
|
|
1279
1279
|
// let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
|
|
1280
|
-
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,o=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&o&&Ge(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&C&&_&&(()=>{const e="FirstElementAnimated",t=C.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,I,R,H,B,U,j,z,W,K,X,oe,s,o,_,C,le,ce,i,c,u,de,h,m,me,pe,p,f,y,x,$,S,k,fe,E,r,ue,xe,_e,Ee,(e,t,n)=>{let r,a;return null!=e&&null!=t&&(a=`\n <span>\n ${n}\n </span>\n ${Ce(e)}-${Ce(t)}`),M&&(r=`\n <svg fill="var(--emfe-w-color-white, #FFFFFF);" 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">${M}</span>`),r||a?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${a||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const a=`${e} ${r}`,i=t.toString().match(/first0|second0|0/g);return 0===t||i&&0!==i.length?`\n <span\n id=${t}\n class="${a}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${a}">\n ${n}\n </span>\n `},L,P,A,O,N,Y,V,q,J,Q,ee,te,ne,re,ae,ie,se,ve,be,function(e){T[e?"unshift":"push"]((()=>{i=e,n(18,i)}))},()=>xe(j),function(e){T[e?"unshift":"push"]((()=>{C=e,n(15,C)}))},()=>_e(j),()=>_e(j),function(e){T[e?"unshift":"push"]((()=>{s=e,n(12,s)}))}]}function ya(e,t){Wn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.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;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));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:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.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}.UnfavoredIcon{display:none}.FavIconContainer{display:flex;justify-content:center;align-items:center;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:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 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}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},ga,da,s,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),B()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),B()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),B()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),B()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),B()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),B()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),B()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),B()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),B()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),B()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),B()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),B()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),B()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),B()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),B()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),B()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),B()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),B()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),B()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const va={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};
|
|
1280
|
+
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,o=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&o&&Ge(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&C&&_&&(()=>{const e="FirstElementAnimated",t=C.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,I,R,H,B,U,j,z,W,K,X,oe,s,o,_,C,le,ce,i,c,u,de,h,m,me,pe,p,f,y,x,$,S,k,fe,E,r,ue,xe,_e,Ee,(e,t,n)=>{let r,a;return null!=e&&null!=t&&(a=`\n <span>\n ${n}\n </span>\n ${Ce(e)}-${Ce(t)}`),M&&(r=`\n <svg fill="var(--emfe-w-color-white, #FFFFFF);" 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">${M}</span>`),r||a?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${a||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const a=`${e} ${r}`,i=t.toString().match(/first0|second0|0/g);return 0===t||i&&0!==i.length?`\n <span\n id=${t}\n class="${a}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${a}">\n ${n}\n </span>\n `},L,P,A,D,N,Y,V,q,J,Q,ee,te,ne,re,ae,ie,se,ve,be,function(e){T[e?"unshift":"push"]((()=>{i=e,n(18,i)}))},()=>xe(j),function(e){T[e?"unshift":"push"]((()=>{C=e,n(15,C)}))},()=>_e(j),()=>_e(j),function(e){T[e?"unshift":"push"]((()=>{s=e,n(12,s)}))}]}function ya(e,t){Wn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.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;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));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:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.GameInnerContainer:hover .GameExtraInfo{opacity:0.3}.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}.UnfavoredIcon{display:none}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 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:0px;right:0;width:100%;padding:0;background:linear-gradient(to top, var(--emfe-w-color-black, #000000), var(--emfe-w-color-black, #000000), transparent);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;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}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},ga,da,s,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),B()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),B()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),B()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),B()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),B()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),B()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),B()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),B()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),B()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),B()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),B()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),B()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),B()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),B()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),B()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),B()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),B()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),B()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),B()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const va={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};
|
|
1281
1281
|
/* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.59.2 */function ba(e,t,n){const r=e.slice();return r[36]=t[n],r[37]=t,r[38]=n,r}
|
|
1282
1282
|
// (178:4) {#if !isLoading}
|
|
1283
|
-
function wa(e){let t,n,r,i,s,o,l,c,u,d,w,$,k,F,C,E,G,M,T,L,P,I,A,O,
|
|
1284
|
-
return e[7]?$a:_a}let Z=V(e),K=Z(e),q=/*vendorArray*/e[5],X=[];for(let t=0;t<q.length;t+=1)X[t]=Fa(ba(e,q,t));return{c(){t=g("div"),n=g("div"),r=g("div"),i=y("svg"),s=y("path"),o=b(),l=g("div"),c=g("span"),u=v(j),d=b(),w=g("div"),$=g("span"),k=v(z),F=b(),K.c(),C=b(),E=g("span"),G=y("svg"),M=y("path"),P=b(),I=g("div"),A=g("ul");for(let e=0;e<X.length;e+=1)X[e].c();
|
|
1283
|
+
function wa(e){let t,n,r,i,s,o,l,c,u,d,w,$,k,F,C,E,G,M,T,L,P,I,A,D,O,N,R,H,B,U,Y,j=/*$_*/e[11]("filterby")+"",z=/*$_*/e[11]("providers")+"",W=/*$_*/e[11]("clear")+"";function V(e,t){/*fullSelection*/
|
|
1284
|
+
return e[7]?$a:_a}let Z=V(e),K=Z(e),q=/*vendorArray*/e[5],X=[];for(let t=0;t<q.length;t+=1)X[t]=Fa(ba(e,q,t));return{c(){t=g("div"),n=g("div"),r=g("div"),i=y("svg"),s=y("path"),o=b(),l=g("div"),c=g("span"),u=v(j),d=b(),w=g("div"),$=g("span"),k=v(z),F=b(),K.c(),C=b(),E=g("span"),G=y("svg"),M=y("path"),P=b(),I=g("div"),A=g("ul");for(let e=0;e<X.length;e+=1)X[e].c();D=b(),O=g("button"),N=v(W),_(s,"id","noun_filter_736223"),_(s,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),_(s,"transform","translate(-5 -6.2)"),_(s,"fill","#fff"),_(i,"xmlns","http://www.w3.org/2000/svg"),_(i,"width","16"),_(i,"height","16"),_(i,"viewBox","0 0 16 16"),_(c,"class","FilterName"),_(w,"class","FilterValueContainer"),_(l,"class","FilterTextContainer"),_(r,"class","FilterMainArea"),_(M,"id","arrow"),_(M,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),_(M,"transform","translate(-274.511 -441.088)"),_(M,"fill","#d1d1d1"),_(G,"xmlns","http://www.w3.org/2000/svg"),_(G,"width","14"),_(G,"height","6.835"),_(G,"viewBox","0 0 14 6.835"),_(E,"class",T="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":"")),_(n,"class",L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),_(A,"class","FilterDropdown"),_(O,"class","ClearFilters"),O.disabled=R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length,_(I,"class",H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":"")),_(t,"class",B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))},m(a,p){m(a,t,p),h(t,n),h(n,r),h(r,i),h(i,s),h(r,o),h(r,l),h(l,c),h(c,u),h(l,d),h(l,w),h(w,$),h($,k),h(w,F),K.m(w,null),h(n,C),h(n,E),h(E,G),h(G,M),h(t,P),h(t,I),h(I,A);for(let e=0;e<X.length;e+=1)X[e]&&X[e].m(A,null);h(I,D),h(I,O),h(O,N),U||(Y=[x(n,"click",/*click_handler*/e[22]),x(O,"click",/*click_handler_2*/e[25])],U=!0)},p(e,r){if(/*$_*/2048&r[0]&&j!==(j=/*$_*/e[11]("filterby")+"")&&S(u,j),/*$_*/2048&r[0]&&z!==(z=/*$_*/e[11]("providers")+"")&&S(k,z),Z===(Z=V(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(w,null))),/*isFilterActive*/16&r[0]&&T!==(T="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&_(E,"class",T),/*isFilterActive*/16&r[0]&&L!==(L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&_(n,"class",L),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(q=/*vendorArray*/e[5],t=0;t<q.length;t+=1){const n=ba(e,q,t);X[t]?X[t].p(n,r):(X[t]=Fa(n),X[t].c(),X[t].m(A,null))}for(;t<X.length;t+=1)X[t].d(1);X.length=q.length}/*$_*/2048&r[0]&&W!==(W=/*$_*/e[11]("clear")+"")&&S(N,W),/*fullSelection, selectedVendorArray, vendorArray*/224&r[0]&&R!==(R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length)&&(O.disabled=R),/*isFilterActive*/16&r[0]&&H!==(H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":""))&&_(I,"class",H),/*addfilterselector, addsortingselector*/3&r[0]&&B!==(B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))&&_(t,"class",B)},d(e){e&&p(t),K.d(),f(X,e),U=!1,a(Y)}}}
|
|
1285
1285
|
// (175:2) {#if hasErrors}
|
|
1286
1286
|
function xa(e){let t,n,r=/*$_*/e[11]("500")+"";return{c(){t=g("p"),n=v(r),_(t,"class","SearchLoading")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("500")+"")&&S(n,r)},d(e){e&&p(t)}}}
|
|
1287
1287
|
// (191:14) {:else}
|
|
@@ -1307,14 +1307,14 @@ return e[10]?xa:/*isLoading*/e[9]?void 0:wa}let a=r(e),i=a&&a(e);return{c(){n=g(
|
|
|
1307
1307
|
// end custom styling area
|
|
1308
1308
|
w[h]&&(w={[h]:[]});const k=()=>{n(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},F=e=>{let t=localStorage.getItem("vendorFiltersByCategory");e.isFilterSelected=!e.isFilterSelected,b.length&&0!=b.filter((t=>t.name===e.name)).length?n(6,b=b.filter((t=>t.name!==e.name))):b.push(e),null==t?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})):(t=JSON.parse(t),t[h]=b.map((e=>e.id)),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(t))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),C()},C=()=>{
|
|
1309
1309
|
// update filters value
|
|
1310
|
-
n(7,x=b.length===v.length||0==b.length),n(8,_=b.length)},E=()=>{const e=new URL(`${i}/v1/casino/vendors`);n(4,g=!1),e.searchParams.append("fields","id,name,logo,subVendors,games"),e.searchParams.append("language",o),e.searchParams.append("datasource",s),e.searchParams.append("platform",
|
|
1310
|
+
n(7,x=b.length===v.length||0==b.length),n(8,_=b.length)},E=()=>{const e=new URL(`${i}/v1/casino/vendors`);n(4,g=!1),e.searchParams.append("fields","id,name,logo,subVendors,games"),e.searchParams.append("language",o),e.searchParams.append("datasource",s),e.searchParams.append("platform",Dr(y)),(h.match(/\$/g)||[]).length>1?(e.searchParams.append("filter",`games(subGroups=${h})`),e.searchParams.append("subVendors",`games(subGroups=${h})`)):e.searchParams.append("filter",`games(groups=${h})`),(e=>{n(9,$=!0),new Promise(((t,r)=>{fetch(e).then((e=>e.json())).then((e=>{e=e.items,t(e.items),n(6,b=[]);let r=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));e.forEach((e=>{var t;r||(r={currentCategoryId:[]}),(null===(t=r[h])||void 0===t?void 0:t.indexOf(e.id))>=0?(e.isFilterSelected=!0,b.push(e)):e.isFilterSelected=!1})),n(5,v=e),
|
|
1311
1311
|
// needed to force the update of the filters value
|
|
1312
1312
|
C()})).catch((e=>{console.error(e),n(10,S=!0),r(e)})).finally((()=>{n(9,$=!1)}))}))})(e)},M=()=>{n(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})),v.forEach((e=>e.isFilterSelected=!1)),
|
|
1313
1313
|
// this reassignation of the pointer value is required in order to have Svelte trigger a re-render
|
|
1314
1314
|
n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,x=!0),n(4,g=!1)},L=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};G((()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})));return e.$$set=e=>{"endpoint"in e&&n(15,i=e.endpoint),"datasource"in e&&n(16,s=e.datasource),"lang"in e&&n(17,o=e.lang),"translationurl"in e&&n(18,l=e.translationurl),"clientstyling"in e&&n(19,c=e.clientstyling),"clientstylingurl"in e&&n(20,u=e.clientstylingurl),"categoryid"in e&&n(21,h=e.categoryid),"addfilterselector"in e&&n(0,m=e.addfilterselector),"addsortingselector"in e&&n(1,p=e.addsortingselector),"filterbylogo"in e&&n(2,f=e.filterbylogo)},e.$$.update=()=>{/*endpoint, datasource, categoryid, filterbylogo*/2195460&e.$$.dirty[0]&&i&&s&&h&&f&&E(),/*clientstyling, customStylingContainer*/524296&e.$$.dirty[0]&&c&&a&&(()=>{let e=document.createElement("style");e.innerHTML=c,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1048584&e.$$.dirty[0]&&u&&a&&(()=>{let e=document.createElement("style");fetch(new URL(u)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{a.appendChild(e)}),1)}))})(),/*translationurl*/262144&e.$$.dirty[0]&&l&&fetch(l).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ya(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,p,f,a,g,v,b,x,_,$,S,r,k,F,M,i,s,o,l,c,u,h,()=>k(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>F(e),()=>M(),function(e){T[e?"unshift":"push"]((()=>{a=e,n(3,a)}))}]}function Ga(e,t){Wn(e,t)}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ea,Ca,s,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),B()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),B()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),B()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),B()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),B()}});const Ma={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};
|
|
1315
1315
|
/* ../casino-sort/src/CasinoSort.svelte generated by Svelte v3.59.2 */function Ta(e,t,n){const r=e.slice();return r[23]=t[n],r}
|
|
1316
1316
|
// (114:4) {#if !isLoading}
|
|
1317
|
-
function La(e){let t,n,r,a,i,s,o,l,c,u,d,w,$,k,F,C,E,G,M,T,L,P,I,A,O,
|
|
1317
|
+
function La(e){let t,n,r,a,i,s,o,l,c,u,d,w,$,k,F,C,E,G,M,T,L,P,I,A,D,O,N,R,H=/*$_*/e[4]("sortby")+"",B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"",U=Object.values(/*vendorMap*/e[5]),Y=[];for(let t=0;t<U.length;t+=1)Y[t]=Pa(Ta(e,U,t));return{c(){t=g("div"),n=g("div"),r=g("div"),a=y("svg"),i=y("g"),s=y("path"),o=y("path"),l=y("path"),c=b(),u=g("div"),d=g("span"),w=v(H),$=b(),k=g("div"),F=g("span"),C=v(B),E=b(),G=g("span"),M=y("svg"),T=y("path"),I=b(),A=g("div"),D=g("ul");for(let e=0;e<Y.length;e+=1)Y[e].c();_(s,"id","Path_5267"),_(s,"data-name","Path 5267"),_(s,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),_(s,"transform","translate(-206.448 0)"),_(s,"fill","#fff"),_(o,"id","Path_5268"),_(o,"data-name","Path 5268"),_(o,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),_(o,"transform","translate(0 0)"),_(o,"fill","#fff"),_(l,"id","Path_5269"),_(l,"data-name","Path 5269"),_(l,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),_(l,"transform","translate(-412.896 0)"),_(l,"fill","#fff"),_(i,"id","sortby"),_(i,"transform","translate(-306 -342)"),_(a,"xmlns","http://www.w3.org/2000/svg"),_(a,"width","20"),_(a,"height","20"),_(a,"viewBox","0 0 26.003 22.819"),_(d,"class","SorterName"),_(k,"class","SorterValueContainer"),_(u,"class","SorterTextContainer"),_(r,"class","SorterMainArea"),_(T,"id","arrow"),_(T,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),_(T,"transform","translate(-274.511 -441.088)"),_(T,"fill","#d1d1d1"),_(M,"xmlns","http://www.w3.org/2000/svg"),_(M,"width","14"),_(M,"height","6.835"),_(M,"viewBox","0 0 14 6.835"),_(G,"class",L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),_(n,"class",P="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),_(D,"class","SorterDropdown"),_(A,"class",O="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":"")),_(t,"class","SorterContainer")},m(p,f){m(p,t,f),h(t,n),h(n,r),h(r,a),h(a,i),h(i,s),h(i,o),h(i,l),h(r,c),h(r,u),h(u,d),h(d,w),h(u,$),h(u,k),h(k,F),h(F,C),h(n,E),h(n,G),h(G,M),h(M,T),h(t,I),h(t,A),h(A,D);for(let e=0;e<Y.length;e+=1)Y[e]&&Y[e].m(D,null);N||(R=x(n,"click",/*click_handler*/e[13]),N=!0)},p(e,t){if(/*$_*/16&t&&H!==(H=/*$_*/e[4]("sortby")+"")&&S(w,H),/*vendorSortingBy, $_*/24&t&&B!==(B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"")&&S(C,B),/*isSorterActive*/2&t&&L!==(L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&_(G,"class",L),/*isSorterActive*/2&t&&P!==(P="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":""))&&_(n,"class",P),/*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/120&t){let n;for(U=Object.values(/*vendorMap*/e[5]),n=0;n<U.length;n+=1){const r=Ta(e,U,n);Y[n]?Y[n].p(r,t):(Y[n]=Pa(r),Y[n].c(),Y[n].m(D,null))}for(;n<Y.length;n+=1)Y[n].d(1);Y.length=U.length}/*isSorterActive*/2&t&&O!==(O="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":""))&&_(A,"class",O)},d(e){e&&p(t),f(Y,e),N=!1,R()}}}
|
|
1318
1318
|
// (140:10) {#each Object.values(vendorMap) as sort}
|
|
1319
1319
|
function Pa(e){let t,n,r,a,i,s,o,l,c,u,d,f,y=/*sort*/e[23]+"";function w(){/*click_handler_1*/
|
|
1320
1320
|
return e[14](/*sort*/e[23])}return{c(){t=g("li"),n=g("label"),r=g("input"),i=b(),s=g("span"),o=b(),l=g("span"),c=v(y),u=b(),_(r,"type","radio"),_(r,"name","radio"),r.value=/*sort*/e[23],r.checked=a=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"),_(s,"class","SortersCheckmark"),_(n,"class","SorterLabel CustomRadioButton"),_(t,"class","SorterItem"),t.value=/*sort*/e[23]},m(e,a){m(e,t,a),h(t,n),h(n,r),h(n,i),h(n,s),h(n,o),h(n,l),h(l,c),h(t,u),d||(f=x(r,"click",w),d=!0)},p(t,n){e=t,/*vendorSortingBy, $_*/24&n&&a!==(a=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"))&&(r.checked=a)},d(e){e&&p(t),d=!1,f()}}}function Ia(e){let n;function r(e,t){if(!/*isLoading*/e[2])return La}let a=r(e),i=a&&a(e);return{c(){n=g("div"),i&&i.c(),this.c=t},m(t,r){m(t,n,r),i&&i.m(n,null)
|
|
@@ -1323,7 +1323,7 @@ return e[14](/*sort*/e[23])}return{c(){t=g("li"),n=g("label"),r=g("input"),i=b()
|
|
|
1323
1323
|
/*dictionary.set(translations);
|
|
1324
1324
|
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Ma).forEach((e=>{Ga(e,Ma[e])}));const f={All:r("all"),name:r("az"),isNew:r("newest"),"advancedTags(name(hot))":r("hottest")},g=e=>{n(3,p=e);let t=localStorage.getItem("vendorSortingBy");m=e;for(let t in f)if(f[t]===e){m=t;break}null==t?localStorage.setItem("vendorSortingBy",JSON.stringify({[c]:m})):(t=JSON.parse(t),t[c]=m,localStorage.setItem("vendorSortingBy",JSON.stringify(t))),window.postMessage({type:"ApplySorter",sortBy:m,itemId:c},window.location.href),n(1,u=!u)},y=()=>{n(1,u=!u),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&n(1,u=!1)};G((()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})));return e.$$set=e=>{"lang"in e&&n(8,i=e.lang),"translationurl"in e&&n(9,s=e.translationurl),"clientstyling"in e&&n(10,o=e.clientstyling),"clientstylingurl"in e&&n(11,l=e.clientstylingurl),"categoryid"in e&&n(12,c=e.categoryid)},e.$$.update=()=>{/*categoryid*/4096&e.$$.dirty&&c&&(()=>{var e;n(3,p="All"),n(2,h=!1),n(1,u=!1);let t=null===(e=JSON.parse(localStorage.getItem("vendorSortingBy")))||void 0===e?void 0:e[c];n(3,p=t||"All"),n(3,p=f[t])})(),/*clientstyling, customStylingContainer*/1025&e.$$.dirty&&o&&a&&(()=>{let e=document.createElement("style");e.innerHTML=o,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2049&e.$$.dirty&&l&&a&&(()=>{let e=document.createElement("style");fetch(new URL(l)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{a.appendChild(e)}),1)}))})(),/*translationurl*/512&e.$$.dirty&&s&&fetch(s).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ga(t,e[t])}))})).catch((e=>{console.log(e)}))},[a,u,h,p,r,f,g,y,i,s,o,l,c,()=>y(),e=>g(e),function(e){T[e?"unshift":"push"]((()=>{a=e,n(0,a)}))}]}
|
|
1325
1325
|
/* ../casino-games-category-section/src/CasinoGamesCategorySection.svelte generated by Svelte v3.59.2 */
|
|
1326
|
-
function
|
|
1326
|
+
function Da(e,t,n){const r=e.slice();return r[91]=t[n],r[93]=n,r}function Oa(e,t,n){const r=e.slice();return r[91]=t[n],r[94]=t,r[93]=n,r}function Na(e,t,n){const r=e.slice();return r[91]=t[n],r[93]=n,r}
|
|
1327
1327
|
// (757:4) {:else}
|
|
1328
1328
|
function Ra(e){let t;function n(e,t){/*categoryData*/
|
|
1329
1329
|
return e[26]?Ya:/*showFavGamesCategory*/e[37]?Ua:void 0}let r=n(e),a=r&&r(e);return{c(){t=g("div"),a&&a.c()},m(e,n){m(e,t,n),a&&a.m(t,null)},p(e,i){r===(r=n(e))&&a?a.p(e,i):(a&&a.d(1),a=r&&r(e),a&&(a.c(),a.m(t,null)))},d(e){e&&p(t),a&&a.d()}}}
|
|
@@ -1349,7 +1349,7 @@ function ja(e){let t,n,r,a,i,s,o,l,c=/*$_*/e[41]("favorites")+"",u=/*favoriteGam
|
|
|
1349
1349
|
// (963:18) {:else}
|
|
1350
1350
|
function za(e){let t,n,r=/*$_*/e[41]("waiting")+"";return{c(){t=g("p"),n=v(r)},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("waiting")+"")&&S(n,r)},d(e){e&&p(t)}}}
|
|
1351
1351
|
// (865:18) {#if favoriteGamesData}
|
|
1352
|
-
function Wa(e){let t,n=/*favoriteGamesData*/e[40].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=ni(
|
|
1352
|
+
function Wa(e){let t,n=/*favoriteGamesData*/e[40].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=ni(Da(e,n,t));let a=null;return n.length||(a=Za(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=w(),a&&a.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);m(e,t,n),a&&a.m(e,n)},p(e,i){if(/*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/262121&i[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/8128&i[1]){let s;for(n=/*favoriteGamesData*/e[40].items,s=0;s<n.length;s+=1){const a=Da(e,n,s);r[s]?r[s].p(a,i):(r[s]=ni(a),r[s].c(),r[s].m(t.parentNode,t))}for(;s<r.length;s+=1)r[s].d(1);r.length=n.length,!n.length&&a?a.p(e,i):n.length?a&&(a.d(1),a=null):(a=Za(e),a.c(),a.m(t.parentNode,t))}},d(e){f(r,e),e&&p(t),a&&a.d(e)}}}
|
|
1353
1353
|
// (862:16) {#if isLoading && !isLazyLoading}
|
|
1354
1354
|
function Va(e){let n;return{c(){n=g("div"),_(n,"class","lds-dual-ring")},m(e,t){m(e,n,t)},p:t,d(e){e&&p(n)}}}
|
|
1355
1355
|
// (944:20) {:else}
|
|
@@ -1389,8 +1389,8 @@ function oi(e){let t;return{c(){t=g("casino-sort"),$(t,"clientstylingurl",/*clie
|
|
|
1389
1389
|
// (845:14) {:else}
|
|
1390
1390
|
function li(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("p"),n=v(r),_(t,"class","NoSearchResults")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&S(n,r)},d(e){e&&p(t)}}}
|
|
1391
1391
|
// (804:14) {#if shownCategoryData.length !== 0 }
|
|
1392
|
-
function ci(e){let t,n,r=/*shownCategoryData*/e[27],a=[];for(let t=0;t<r.length;t+=1)a[t]=di(
|
|
1393
|
-
/*ul_binding*/e[54](t)},p(e,i){if(/*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/139722729&i[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/4480&i[1]){let n;for(r=/*shownCategoryData*/e[27],n=0;n<r.length;n+=1){const s=
|
|
1392
|
+
function ci(e){let t,n,r=/*shownCategoryData*/e[27],a=[];for(let t=0;t<r.length;t+=1)a[t]=di(Oa(e,r,t));return{c(){t=g("ul");for(let e=0;e<a.length;e+=1)a[e].c();_(t,"class",n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(n,r){m(n,t,r);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(t,null);
|
|
1393
|
+
/*ul_binding*/e[54](t)},p(e,i){if(/*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/139722729&i[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/4480&i[1]){let n;for(r=/*shownCategoryData*/e[27],n=0;n<r.length;n+=1){const s=Oa(e,r,n);a[n]?a[n].p(s,i):(a[n]=di(s),a[n].c(),a[n].m(t,null))}for(;n<a.length;n+=1)a[n].d(1);a.length=r.length}/*lobbyView, casinogamesgridslider*/34603008&i[0]|/*favoriteGamesData, showFavGamesCategory*/576&i[1]&&n!==(n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&_(t,"class",n)},d(n){n&&p(t),f(a,n),
|
|
1394
1394
|
/*ul_binding*/e[54](null)}}}
|
|
1395
1395
|
// (801:12) {#if isLoading && !isLazyLoading}
|
|
1396
1396
|
function ui(e){let n;return{c(){n=g("div"),_(n,"class","lds-dual-ring"),_(n,"part","lds-dual-ring")},m(e,t){m(e,n,t)},p:t,d(e){e&&p(n)}}}
|
|
@@ -1417,7 +1417,7 @@ function bi(e){let t;return{c(){t=g("p"),t.textContent="500 Error - Internal Ser
|
|
|
1417
1417
|
function wi(e){let t;return{c(){t=g("p"),t.textContent="404 Error - No result found.",_(t,"class","SearchLoading")},m(e,n){m(e,t,n)},d(e){e&&p(t)}}}function xi(e){let n;function r(e,t){/*hasErrors*/
|
|
1418
1418
|
return e[24]?Ba:/*searched*/e[29]?Ha:Ra}let a=r(e),i=a(e);return{c(){n=g("div"),i.c(),this.c=t,_(n,"class","CasinoGamesCategorySectionContainer")},m(t,r){m(t,n,r),i.m(n,null),
|
|
1419
1419
|
/*div_binding*/e[57](n)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i.d(1),i=a(e),i&&(i.c(),i.m(n,null)))},i:t,o:t,d(t){t&&p(n),i.d(),
|
|
1420
|
-
/*div_binding*/e[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Aa,Ia,s,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),B()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),B()}});const _i="game-tile-";function $i(t,n,r){let a;d(t,Ir,(e=>r(41,a=e)));let i,s,o,l,c,u,h,m,p,f,{endpoint:g=""}=n,{datasource:y=""}=n,{lang:v=""}=n,{session:b=""}=n,{userid:w=""}=n,{favorites:x=""}=n,{clientstyling:_=""}=n,{clientstylingurl:$=""}=n,{translationurl:S=""}=n,{currency:k=""}=n,{categoryid:F=""}=n,{showgamename:C=""}=n,{livecasino:E="false"}=n,{gamepagemodalurl:M="true"}=n,{integratedgameframedesktop:L="false"}=n,{integratedgameframemobile:P="false"}=n,{casinomygames:I="false"}=n,{addfilterselector:A="false"}=n,{addsortingselector:
|
|
1420
|
+
/*div_binding*/e[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Aa,Ia,s,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),B()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),B()}});const _i="game-tile-";function $i(t,n,r){let a;d(t,Ir,(e=>r(41,a=e)));let i,s,o,l,c,u,h,m,p,f,{endpoint:g=""}=n,{datasource:y=""}=n,{lang:v=""}=n,{session:b=""}=n,{userid:w=""}=n,{favorites:x=""}=n,{clientstyling:_=""}=n,{clientstylingurl:$=""}=n,{translationurl:S=""}=n,{currency:k=""}=n,{categoryid:F=""}=n,{showgamename:C=""}=n,{livecasino:E="false"}=n,{gamepagemodalurl:M="true"}=n,{integratedgameframedesktop:L="false"}=n,{integratedgameframemobile:P="false"}=n,{casinomygames:I="false"}=n,{addfilterselector:A="false"}=n,{addsortingselector:D="false"}=n,{filterbylogo:O=""}=n,{casinogamesgridslider:N="false"}=n,{fetchviaevent:R="false"}=n,{showallpage:H="casino"}=n,{actionevent:B="CategoryChange"}=n,{displayedgamecount:U="10"}=n,{showallbuttongamescount:Y="10"}=n,j=!0,z=!1,W=!0,V=window.navigator.userAgent,Z=[],K=!0,q=40,X=!1,J=!1,Q=!1,ee=!1,te=!1,ne=!0,re=!1,ae=!1,ie=!1,se=new Array(1e4),oe={},le="",ce="",ue=[],de=new AbortController,he={items:[],count:0,name:""};Object.keys(Hr).forEach((e=>{Rr(e,Hr[e])})),void 0!==document.hidden?
|
|
1421
1421
|
// Opera 12.10 and Firefox 18 and later support
|
|
1422
1422
|
m="hidden":void 0!==document.msHidden?m="msHidden":void 0!==document.webkitHidden&&(m="webkitHidden");
|
|
1423
1423
|
// IntersectionObserver used for loading more games
|
|
@@ -1425,9 +1425,9 @@ let me=new IntersectionObserver((e=>{e.forEach((async e=>{let t=e.target.gameid,
|
|
|
1425
1425
|
// eslint-disable-line
|
|
1426
1426
|
e.isIntersecting?(1.2*n>q&&$e(F),r(38,oe[t]=1,oe)):r(38,oe[t]=0,oe)}))}));
|
|
1427
1427
|
// Start favored games section
|
|
1428
|
-
const pe=(e,t)=>{let n=`${g}/v1/player/${t}/favorites/`;r(23,j=!0);let a={method:"GET",headers:{"X-SessionID":e}};return new Promise(((e,t)=>{fetch(n,a).then((e=>e.json())).then((t=>{r(23,j=!1),f=[],t?(t.items.forEach((e=>{e.gameModel&&(f.push(e),ue.includes(e.id)||ue.push(e.id))})),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:f})):f=[],"FAVORITES"===F&&_e(f),Z.forEach((e=>{e.isFavorite=ve(e.id)}));let n=Z;r(27,Z=void 0),r(27,Z=n),e(f)})).catch((e=>{console.error(e),t(e)}))}))},fe=(e,t,n)=>{de&&de.abort(),de=new AbortController;const a=de.signal;r(23,j=!0);let i="",s="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),l=JSON.parse(localStorage.getItem("vendorSortingBy"));return(e.match(/\$/g)||[]).length>1?(i=e.split("$").slice(0,2).join("$"),s=new URL(`${g}/v1/casino/groups/${y}/${i}/subGroups`)):s=new URL(`${g}/v1/casino/groups/${y}/${e}`),new Promise(((i,u)=>{if(s.searchParams.delete("pagination"),s.searchParams.append("expand","games(vendor)"),s.searchParams.append("fields","id,name,games"),s.searchParams.append("platform",
|
|
1428
|
+
const pe=(e,t)=>{let n=`${g}/v1/player/${t}/favorites/`;r(23,j=!0);let a={method:"GET",headers:{"X-SessionID":e}};return new Promise(((e,t)=>{fetch(n,a).then((e=>e.json())).then((t=>{r(23,j=!1),f=[],t?(t.items.forEach((e=>{e.gameModel&&(f.push(e),ue.includes(e.id)||ue.push(e.id))})),window.postMessage({type:"UpdateFavoritesCount",favoriteGames:f})):f=[],"FAVORITES"===F&&_e(f),Z.forEach((e=>{e.isFavorite=ve(e.id)}));let n=Z;r(27,Z=void 0),r(27,Z=n),e(f)})).catch((e=>{console.error(e),t(e)}))}))},fe=(e,t,n)=>{de&&de.abort(),de=new AbortController;const a=de.signal;r(23,j=!0);let i="",s="",o=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),l=JSON.parse(localStorage.getItem("vendorSortingBy"));return(e.match(/\$/g)||[]).length>1?(i=e.split("$").slice(0,2).join("$"),s=new URL(`${g}/v1/casino/groups/${y}/${i}/subGroups`)):s=new URL(`${g}/v1/casino/groups/${y}/${e}`),new Promise(((i,u)=>{if(s.searchParams.delete("pagination"),s.searchParams.append("expand","games(vendor)"),s.searchParams.append("fields","id,name,games"),s.searchParams.append("platform",Dr(V)),s.searchParams.append("pagination",`games(offset=${t},limit=${n})`),s.searchParams.append("language",v),
|
|
1429
1429
|
// if vendor filters are active, get filtered games
|
|
1430
|
-
window.postMessage({type:"CategoryVendors",categoryid:e},window.location.href),o&&o[e])if(o[e].length&&!1===W&&!1===ae){let t="";r(32,te=!0),o[e].forEach((e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`})),s.searchParams.append("filter",`${t}`)}else r(32,te=!1);l&&(l[e]?l[e]&&"All"!=l[e]&&("isNew"==l[e]||"advancedTags(name(hot))"==l[e]?(s.searchParams.append("sortedField",`games(${l[e]})`),s.searchParams.append("orderBy","DES")):s.searchParams.append("sortedField",`games(${l[e]})`)):ce&&"All"!=ce&&("advancedTags(name(hot))"==ce||"isNew"==ce?(s.searchParams.append("sortedField",`games(${ce})`),s.searchParams.append("orderBy","DES")):s.searchParams.append("sortedField",`games(${ce})`))),fetch(s,{signal:a}).then((e=>e.json())).then((t=>{a.aborted||(r(23,j=!1),(e.match(/\$/g)||[]).length>1&&(t=t.items.filter((t=>{if(t.id==e)return t}))[0]),r(50,p=!0),r(24,z=!1),c=t.games.total,r(34,re=!0),i(t))})).catch((e=>{"AbortError"!==e.name&&(r(24,z=!0),console.error(e),u(e))}))}))},ge=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==F&&(r(29,X=!1),r(25,W=!1),r(28,K=!1),r(27,Z=e.data.mostPlayedGames),r(26,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),r(23,j=!1);break;case"LastPlayedData":"LASTPLAYED"==F&&(r(29,X=!1),r(25,W=!1),r(28,K=!1),r(27,Z=e.data.lastPlayedGames),r(26,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),r(23,j=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":r(29,X=!0),r(30,J=!0),e.data.searchData.length>0?(r(27,Z=e.data.searchData),r(33,ne=!0),Z&&Z.forEach((e=>{e.isFavorite=ve(e.id)}))):(r(27,Z=[]),r(33,ne=!1));break;case"OutOfRecentSearches":r(29,X=!1),r(30,J=!1);break;case"SearchData":r(29,X=!0),r(30,J=!1),r(27,Z=e.data.searchData.items||[]),r(31,ee=!0),e.data.receivedFavoriteResults&&(f=e.data.receivedFavoriteResults.items),Z&&Z.forEach((e=>{e.isFavorite=ve(e.id)}));break;case`CategoryData_${F}`:r(29,X=!1),r(25,W=!0),r(1,A="false"),r(2,
|
|
1430
|
+
window.postMessage({type:"CategoryVendors",categoryid:e},window.location.href),o&&o[e])if(o[e].length&&!1===W&&!1===ae){let t="";r(32,te=!0),o[e].forEach((e=>{t+=t?`,games(vendor(id=${e}))`:`games(vendor(id=${e}))`})),s.searchParams.append("filter",`${t}`)}else r(32,te=!1);l&&(l[e]?l[e]&&"All"!=l[e]&&("isNew"==l[e]||"advancedTags(name(hot))"==l[e]?(s.searchParams.append("sortedField",`games(${l[e]})`),s.searchParams.append("orderBy","DES")):s.searchParams.append("sortedField",`games(${l[e]})`)):ce&&"All"!=ce&&("advancedTags(name(hot))"==ce||"isNew"==ce?(s.searchParams.append("sortedField",`games(${ce})`),s.searchParams.append("orderBy","DES")):s.searchParams.append("sortedField",`games(${ce})`))),fetch(s,{signal:a}).then((e=>e.json())).then((t=>{a.aborted||(r(23,j=!1),(e.match(/\$/g)||[]).length>1&&(t=t.items.filter((t=>{if(t.id==e)return t}))[0]),r(50,p=!0),r(24,z=!1),c=t.games.total,r(34,re=!0),i(t))})).catch((e=>{"AbortError"!==e.name&&(r(24,z=!0),console.error(e),u(e))}))}))},ge=e=>{if(e.data)switch(e.data.type){case"MostPlayedData":"MOSTPLAYED"==F&&(r(29,X=!1),r(25,W=!1),r(28,K=!1),r(27,Z=e.data.mostPlayedGames),r(26,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:e.data.mostPlayedGames.length,total:e.data.mostPlayedGames.length,items:e.data.mostPlayedGames}})),r(23,j=!1);break;case"LastPlayedData":"LASTPLAYED"==F&&(r(29,X=!1),r(25,W=!1),r(28,K=!1),r(27,Z=e.data.lastPlayedGames),r(26,o={id:"LASTPLAYED",name:"Last Played Games",games:{count:e.data.lastPlayedGames.length,total:e.data.lastPlayedGames.length,items:e.data.lastPlayedGames}})),r(23,j=!1);break;case"CustomOperatorData":e.data.operatordetail;break;case"RecentSearchData":r(29,X=!0),r(30,J=!0),e.data.searchData.length>0?(r(27,Z=e.data.searchData),r(33,ne=!0),Z&&Z.forEach((e=>{e.isFavorite=ve(e.id)}))):(r(27,Z=[]),r(33,ne=!1));break;case"OutOfRecentSearches":r(29,X=!1),r(30,J=!1);break;case"SearchData":r(29,X=!0),r(30,J=!1),r(27,Z=e.data.searchData.items||[]),r(31,ee=!0),e.data.receivedFavoriteResults&&(f=e.data.receivedFavoriteResults.items),Z&&Z.forEach((e=>{e.isFavorite=ve(e.id)}));break;case`CategoryData_${F}`:r(29,X=!1),r(25,W=!0),r(1,A="false"),r(2,D="false"),r(31,ee=!1),ie=!1,e.data.receivedFavoriteResults&&(f=e.data.receivedFavoriteResults.items),fe(e.data.categoryId,0,e.data.visiblegames).then((t=>{r(26,o=t),r(27,Z=o.games.items),c<=e.data.visiblegames?r(28,K=!1):r(28,K=!0),Z&&Z.forEach((e=>{e.isFavorite=ve(e.id)}))}));break;case"CategoryChange":q=20;break;case"ApplySorter":r(0,F=e.data.itemId),ce=e.data.sortBy,fe(F,0,q).then((e=>{r(26,o=e),r(27,Z=o.games.items),r(28,K=!1)}));break;case"CategoryUpdate":ye(e.data.itemId);break;case`SetUnfavoredGame${F}`:we(`${g}/v1/player/${w}/favorites`,b,e.data.id);break;case`SetFavoredGame${F}`:be(`${g}/v1/player/${w}/favorites`,b,e.data.id);break;case"UserSessionID":i=e.data.session,s=e.data.userID,"true"==x&&s&&s.length&&i&&i.length>0&&pe(i,s);break;case"UpdateFavoredList":"FAVORITES"===F&&xe(e.data.url,e.data.sessionID)}},ye=t=>{r(29,X=!1),r(25,W=!1),r(31,ee=!1),ie=!0,r(34,re=!1),r(0,F=t),"MOSTPLAYED"!==F&&r(28,K=!1),"true"!==I&&fe(F,0,q).then((t=>{r(26,o=t),o.games.items.forEach((e=>{e.isFavorite=ve(e.id)})),r(27,Z=o.games.items),r(28,K=!1),
|
|
1431
1431
|
// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
|
|
1432
1432
|
Z.length<10&&0==e.data.origin&&(Q=!0,setTimeout((()=>{window.postMessage({type:"WidgetTopReference",scrollTop:Q},window.location.href)}),500))}))},ve=e=>{var t;return null!==(t=null==f?void 0:f.some((t=>t.id===e)))&&void 0!==t&&t};
|
|
1433
1433
|
// @TODO categoryId type
|
|
@@ -1446,16 +1446,16 @@ return Ar(t)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad"
|
|
|
1446
1446
|
*/
|
|
1447
1447
|
o.games.items.length>Z.length&&(r(27,Z=o.games.items),Z.forEach((e=>{e.isFavorite=ve(e.id)}))),r(34,re=!1)}))},Se=e=>{window.postMessage({type:`${B}`,itemId:e,showallpage:H},window.location.href)},ke=()=>{var e;e=v,pr.set(e)};
|
|
1448
1448
|
//Fetch fav list and pass to be updated
|
|
1449
|
-
G((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?r(39,le="disconnect"):r(39,le="connect")})),window.addEventListener("message",ge,!1),()=>{window.removeEventListener("message",ge),window.removeEventListener("visibilitychange",ge)})));return t.$$set=e=>{"endpoint"in e&&r(3,g=e.endpoint),"datasource"in e&&r(4,y=e.datasource),"lang"in e&&r(5,v=e.lang),"session"in e&&r(6,b=e.session),"userid"in e&&r(7,w=e.userid),"favorites"in e&&r(8,x=e.favorites),"clientstyling"in e&&r(9,_=e.clientstyling),"clientstylingurl"in e&&r(10,$=e.clientstylingurl),"translationurl"in e&&r(11,S=e.translationurl),"currency"in e&&r(12,k=e.currency),"categoryid"in e&&r(0,F=e.categoryid),"showgamename"in e&&r(13,C=e.showgamename),"livecasino"in e&&r(14,E=e.livecasino),"gamepagemodalurl"in e&&r(15,M=e.gamepagemodalurl),"integratedgameframedesktop"in e&&r(16,L=e.integratedgameframedesktop),"integratedgameframemobile"in e&&r(17,P=e.integratedgameframemobile),"casinomygames"in e&&r(18,I=e.casinomygames),"addfilterselector"in e&&r(1,A=e.addfilterselector),"addsortingselector"in e&&r(2,
|
|
1449
|
+
G((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?r(39,le="disconnect"):r(39,le="connect")})),window.addEventListener("message",ge,!1),()=>{window.removeEventListener("message",ge),window.removeEventListener("visibilitychange",ge)})));return t.$$set=e=>{"endpoint"in e&&r(3,g=e.endpoint),"datasource"in e&&r(4,y=e.datasource),"lang"in e&&r(5,v=e.lang),"session"in e&&r(6,b=e.session),"userid"in e&&r(7,w=e.userid),"favorites"in e&&r(8,x=e.favorites),"clientstyling"in e&&r(9,_=e.clientstyling),"clientstylingurl"in e&&r(10,$=e.clientstylingurl),"translationurl"in e&&r(11,S=e.translationurl),"currency"in e&&r(12,k=e.currency),"categoryid"in e&&r(0,F=e.categoryid),"showgamename"in e&&r(13,C=e.showgamename),"livecasino"in e&&r(14,E=e.livecasino),"gamepagemodalurl"in e&&r(15,M=e.gamepagemodalurl),"integratedgameframedesktop"in e&&r(16,L=e.integratedgameframedesktop),"integratedgameframemobile"in e&&r(17,P=e.integratedgameframemobile),"casinomygames"in e&&r(18,I=e.casinomygames),"addfilterselector"in e&&r(1,A=e.addfilterselector),"addsortingselector"in e&&r(2,D=e.addsortingselector),"filterbylogo"in e&&r(19,O=e.filterbylogo),"casinogamesgridslider"in e&&r(20,N=e.casinogamesgridslider),"fetchviaevent"in e&&r(45,R=e.fetchviaevent),"showallpage"in e&&r(46,H=e.showallpage),"actionevent"in e&&r(47,B=e.actionevent),"displayedgamecount"in e&&r(48,U=e.displayedgamecount),"showallbuttongamescount"in e&&r(49,Y=e.showallbuttongamescount)},t.$$.update=()=>{/*lang*/32&t.$$.dirty[0]&&v&&ke(),/*endpoint, lang, categoryid, datasource*/57&t.$$.dirty[0]|/*fetchviaevent, displayedgamecount, showallbuttongamescount*/409600&t.$$.dirty[1]&&(
|
|
1450
1450
|
//Widget is working as standalone when fetchviaevent isn't set
|
|
1451
|
-
"false"===R||""===R)&&g&&v&&F&&y&&U&&Y&&((e,t,n)=>{""!==e&&(r(29,X=!1),r(25,W=!0),r(1,A="false"),r(2,
|
|
1451
|
+
"false"===R||""===R)&&g&&v&&F&&y&&U&&Y&&((e,t,n)=>{""!==e&&(r(29,X=!1),r(25,W=!0),r(1,A="false"),r(2,D="false"),r(31,ee=!1),ie=!1,r(28,K=+t>+n),fe(e,0,+t).then((e=>{r(26,o=e),r(27,Z=o.games.items),Z&&Z.forEach((e=>{e.isFavorite=ve(e.id)}))})))})(F,U,Y),/*favorites, endpoint, session, userid*/456&t.$$.dirty[0]&&
|
|
1452
1452
|
//Call the fav. list fetch when widget is standalone
|
|
1453
1453
|
"true"===x&&g&&b&&w&&pe(b,w),/*thumbnailContainer*/4194304&t.$$.dirty[0]|/*dataloaded*/524288&t.$$.dirty[1]&&p&&se&&ie&&se.forEach(((e,t)=>{e&&(
|
|
1454
1454
|
// Hack to make sure that I can identify the thumbnail index
|
|
1455
1455
|
e.elems_index=t,me.observe(e))})),/*lang, categoryid*/33&t.$$.dirty[0]&&v&&F&&(()=>{
|
|
1456
1456
|
// showFavGamesCategory vs categoryData
|
|
1457
1457
|
// favoriteGamesData vs shownCategoryData
|
|
1458
|
-
switch(F){case"FAVORITES":w&&b&&r(37,ae=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===I&&w&&b&&r(37,ae=!1);break;default:ye(F)}})(),/*translationurl*/2048&t.$$.dirty[0]&&S&&fetch(S).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Rr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&t.$$.dirty[0]&&_&&h&&(()=>{let e=document.createElement("style");e.innerHTML=_,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&t.$$.dirty[0]&&$&&h&&(()=>{let e=new URL($),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[F,A,
|
|
1458
|
+
switch(F){case"FAVORITES":w&&b&&r(37,ae=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===I&&w&&b&&r(37,ae=!1);break;default:ye(F)}})(),/*translationurl*/2048&t.$$.dirty[0]&&S&&fetch(S).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Rr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&t.$$.dirty[0]&&_&&h&&(()=>{let e=document.createElement("style");e.innerHTML=_,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&t.$$.dirty[0]&&$&&h&&(()=>{let e=new URL($),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[F,A,D,g,y,v,b,w,x,_,$,S,k,C,E,M,L,P,I,O,N,h,se,j,z,W,o,Z,K,X,J,ee,te,ne,re,l,u,ae,oe,le,he,a,V,e=>{if(0===(null==e?void 0:e.length))return"";let t,n="",r=999999999999;const a=new Date(Date.now());return e.forEach(((i,s)=>{const o=new Date(i.schedules[0].startTime),l=new Date(i.schedules[0].endTime);Br(l).diff(a)<r&&(r=Br(l).diff(a),t=s),Br(a).isAfter(o)&&Br(a).isBefore(l)&&(n=e[t].name)})),n},Se,R,H,B,U,Y,p,function(e){T[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},e=>Se(o.id),function(e,t){T[e?"unshift":"push"]((()=>{se[t]=e,r(22,se)}))},function(e){T[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){T[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},function(e){T[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){T[e?"unshift":"push"]((()=>{h=e,r(21,h)}))}]}
|
|
1459
1459
|
/* ../casino-favorites-section/src/CasinoFavoritesSection.svelte generated by Svelte v3.59.2 */
|
|
1460
1460
|
function Si(e){let n,r;return{c(){n=g("div"),r=g("casino-games-category-section"),this.c=t,$(r,"session",/*session*/e[4]),$(r,"userid",/*userid*/e[5]),$(r,"endpoint",/*endpoint*/e[0]),$(r,"datasource",/*datasource*/e[1]),$(r,"lang",/*lang*/e[3]),$(r,"currency",/*currency*/e[2]),$(r,"favorites",/*favorites*/e[14]),$(r,"fetchviaevent",/*fetchviaevent*/e[16]),$(r,"categoryid","FAVORITES"),$(r,"class","CategoryContainer"),$(r,"showgamename",/*showgamename*/e[11]),$(r,"clientstyling",/*clientstyling*/e[6]),$(r,"clientstylingurl",/*clientstylingurl*/e[7]),$(r,"livecasino",/*livecasino*/e[8]),$(r,"visiblegames",/*visiblegames*/e[13]),$(r,"gamepagemodalurl",/*gamepagemodalurl*/e[12]),$(r,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),$(r,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),$(r,"casinomygames",/*casinomygames*/e[15]),_(n,"class","CasinoFavoritesSectionContainer")},m(t,a){m(t,n,a),h(n,r),
|
|
1461
1461
|
/*div_binding*/e[18](n)},p(e,[t]){/*session*/16&t&&$(r,"session",/*session*/e[4]),/*userid*/32&t&&$(r,"userid",/*userid*/e[5]),/*endpoint*/1&t&&$(r,"endpoint",/*endpoint*/e[0]),/*datasource*/2&t&&$(r,"datasource",/*datasource*/e[1]),/*lang*/8&t&&$(r,"lang",/*lang*/e[3]),/*currency*/4&t&&$(r,"currency",/*currency*/e[2]),/*favorites*/16384&t&&$(r,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&t&&$(r,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/2048&t&&$(r,"showgamename",/*showgamename*/e[11]),/*clientstyling*/64&t&&$(r,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&t&&$(r,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&t&&$(r,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&t&&$(r,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/4096&t&&$(r,"gamepagemodalurl",/*gamepagemodalurl*/e[12]),/*integratedgameframedesktop*/1024&t&&$(r,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&t&&$(r,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&t&&$(r,"casinomygames",/*casinomygames*/e[15])},i:t,o:t,d(t){t&&p(n)
|
|
@@ -1467,13 +1467,13 @@ function Si(e){let n,r;return{c(){n=g("div"),r=g("casino-games-category-section"
|
|
|
1467
1467
|
function Gi(e){let t,n,r=/*$_*/e[19]("noRecentGames")+"";return{c(){t=g("p"),n=v(r),_(t,"class","SearchLoading")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noRecentGames")+"")&&S(n,r)},d(e){e&&p(t)}}}function Mi(e){let n,r;function a(e,t){/*lastPlayedEmpty*/
|
|
1468
1468
|
return e[18]?Gi:Ei}let i=a(e),s=i(e);return{c(){n=g("div"),r=g("div"),s.c(),this.c=t,_(r,"class","CasinoLastPlayedSection"),_(n,"class","CasinoGamesCategorySectionContainer")},m(t,a){m(t,n,a),h(n,r),s.m(r,null),
|
|
1469
1469
|
/*div1_binding*/e[25](n)},p(e,t){i===(i=a(e))&&s?s.p(e,t):(s.d(1),s=i(e),s&&(s.c(),s.m(r,null)))},i:t,o:t,d(t){t&&p(n),s.d(),
|
|
1470
|
-
/*div1_binding*/e[25](null)}}}function Ti(e,t,n){let r;d(e,Ir,(e=>n(19,r=e)));let a,i,{endpoint:s=""}=t,{datasource:o=""}=t,{currency:l=""}=t,{lang:c=""}=t,{session:u=""}=t,{userid:h=""}=t,{clientstyling:m=""}=t,{clientstylingurl:p=""}=t,{translationurl:f=""}=t,{livecasino:g="false"}=t,{integratedgameframemobile:y="false"}=t,{integratedgameframedesktop:v="false"}=t,{gamepagemodalurl:b="false"}=t,{showgamename:w=""}=t,{visiblegames:x=""}=t,{favorites:_=""}=t,{lastplayedperiod:$="Last30Days"}=t,{lastplayedorder:S=""}=t,{lastplayedlimit:k=""}=t,{casinomygames:F="false"}=t,{lastplayedunique:C="true"}=t,{fetchviaevent:E="true"}=t,G=window.navigator.userAgent,M=!1,L=[];Object.keys(Ci).forEach((e=>{Fi(e,Ci[e])}));const P=()=>{new Promise(((e,t)=>{let n=new URL(`${s}/v1/player/${h}/games/last-played`);n.searchParams.append("unique",C),n.searchParams.append("limit",k),n.searchParams.append("order",S),n.searchParams.append("period",$),"PC"===
|
|
1470
|
+
/*div1_binding*/e[25](null)}}}function Ti(e,t,n){let r;d(e,Ir,(e=>n(19,r=e)));let a,i,{endpoint:s=""}=t,{datasource:o=""}=t,{currency:l=""}=t,{lang:c=""}=t,{session:u=""}=t,{userid:h=""}=t,{clientstyling:m=""}=t,{clientstylingurl:p=""}=t,{translationurl:f=""}=t,{livecasino:g="false"}=t,{integratedgameframemobile:y="false"}=t,{integratedgameframedesktop:v="false"}=t,{gamepagemodalurl:b="false"}=t,{showgamename:w=""}=t,{visiblegames:x=""}=t,{favorites:_=""}=t,{lastplayedperiod:$="Last30Days"}=t,{lastplayedorder:S=""}=t,{lastplayedlimit:k=""}=t,{casinomygames:F="false"}=t,{lastplayedunique:C="true"}=t,{fetchviaevent:E="true"}=t,G=window.navigator.userAgent,M=!1,L=[];Object.keys(Ci).forEach((e=>{Fi(e,Ci[e])}));const P=()=>{new Promise(((e,t)=>{let n=new URL(`${s}/v1/player/${h}/games/last-played`);n.searchParams.append("unique",C),n.searchParams.append("limit",k),n.searchParams.append("order",S),n.searchParams.append("period",$),"PC"===Dr(G)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),a=g?n:n.href,fetch(a).then((e=>e.json())).then((t=>{t.items=t.items.filter((e=>{let n=!0;return"OddsMatrix2"==e.gameCode&&(t.count--,n=!1),n})),e(t),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:t},window.location.href)})).catch((e=>{console.error(e),t(e)}))})).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${s}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",o),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{L=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===F&&(L=L.slice(0,JSON.parse(x))),window.postMessage({type:"LastPlayedData",lastPlayedGames:L},window.location.href)}))}else n(18,M=!0)}))},I=()=>{var e;e=c,pr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,s=e.endpoint),"datasource"in e&&n(1,o=e.datasource),"currency"in e&&n(2,l=e.currency),"lang"in e&&n(3,c=e.lang),"session"in e&&n(4,u=e.session),"userid"in e&&n(5,h=e.userid),"clientstyling"in e&&n(6,m=e.clientstyling),"clientstylingurl"in e&&n(7,p=e.clientstylingurl),"translationurl"in e&&n(20,f=e.translationurl),"livecasino"in e&&n(8,g=e.livecasino),"integratedgameframemobile"in e&&n(9,y=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,v=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,b=e.gamepagemodalurl),"showgamename"in e&&n(12,w=e.showgamename),"visiblegames"in e&&n(13,x=e.visiblegames),"favorites"in e&&n(14,_=e.favorites),"lastplayedperiod"in e&&n(21,$=e.lastplayedperiod),"lastplayedorder"in e&&n(22,S=e.lastplayedorder),"lastplayedlimit"in e&&n(23,k=e.lastplayedlimit),"casinomygames"in e&&n(15,F=e.casinomygames),"lastplayedunique"in e&&n(24,C=e.lastplayedunique),"fetchviaevent"in e&&n(16,E=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&s&&h&&c&&P(),/*translationurl*/1048576&e.$$.dirty[0]&&f&&fetch(f).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Fi(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&m&&i&&(()=>{let e=document.createElement("style");e.innerHTML=m,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&p&&i&&(()=>{let e=document.createElement("style");fetch(new URL(p)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*lang*/8&e.$$.dirty[0]&&c&&I()},[s,o,l,c,u,h,m,p,g,y,v,b,w,x,_,F,E,i,M,r,f,$,S,k,C,function(e){T[e?"unshift":"push"]((()=>{i=e,n(17,i)}))}]}function Li(e,t){Wn(e,t)}!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ti,Mi,s,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:20,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastplayedperiod:21,lastplayedorder:22,lastplayedlimit:23,casinomygames:15,lastplayedunique:24,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","translationurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastplayedperiod","lastplayedorder","lastplayedlimit","casinomygames","lastplayedunique","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),B()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),B()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),B()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),B()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),B()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),B()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),B()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),B()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),B()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),B()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),B()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),B()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}});const Pi={en:{noGames:"No games in most played"},"zh-hk":{noGames:"No games in most played"},de:{noGames:"No games in most played"},it:{noGames:"No games in most played"},fr:{noGames:"No games in most played"},es:{noGames:"No hay juegos en más jugados."},tr:{noGames:"En çok oynananlarda oyun yok"},ru:{noGames:"No games in most played"},ro:{noGames:"No games in most played"},hr:{noGames:"Nema igara u najigranijim"},hu:{noGames:"No games in most played"},pl:{noGames:"No games in most played"},pt:{noGames:"No games in most played"},sl:{noGames:"No games in most played"},sr:{noGames:"No games in most played"},"pt-br":{noGames:"Não há jogos nos mais jogados"},"es-mx":{noGames:"No hay juegos en los más jugados"}};
|
|
1471
1471
|
/* ../casino-most-played-section/src/CasinoMostPlayedSection.svelte generated by Svelte v3.59.2 */function Ii(e){let t;return{c(){t=g("casino-games-category-section"),$(t,"session",/*session*/e[4]),$(t,"userid",/*userid*/e[5]),$(t,"endpoint",/*endpoint*/e[0]),$(t,"datasource",/*datasource*/e[1]),$(t,"lang",/*lang*/e[3]),$(t,"currency",/*currency*/e[2]),$(t,"favorites",/*favorites*/e[14]),$(t,"fetchviaevent",/*fetchviaevent*/e[16]),$(t,"categoryid","MOSTPLAYED"),$(t,"categoryindex","1"),$(t,"categorygames","9"),$(t,"class","CategoryContainer"),$(t,"showgamename",/*showgamename*/e[12]),$(t,"clientstyling",/*clientstyling*/e[6]),$(t,"clientstylingurl",/*clientstylingurl*/e[7]),$(t,"livecasino",/*livecasino*/e[8]),$(t,"visiblegames",/*visiblegames*/e[13]),$(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),$(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),$(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),$(t,"casinomygames",/*casinomygames*/e[15])},m(e,n){m(e,t,n)},p(e,n){/*session*/16&n[0]&&$(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&$(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&$(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&$(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&$(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&$(t,"currency",/*currency*/e[2]),/*favorites*/16384&n[0]&&$(t,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&n[0]&&$(t,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/4096&n[0]&&$(t,"showgamename",/*showgamename*/e[12]),/*clientstyling*/64&n[0]&&$(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&$(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&$(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&n[0]&&$(t,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/2048&n[0]&&$(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&$(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&$(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&n[0]&&$(t,"casinomygames",/*casinomygames*/e[15])},d(e){e&&p(t)}}}
|
|
1472
1472
|
// (153:4) {#if mostPlayedEmpty}
|
|
1473
|
-
function Ai(e){let t,n,r=/*$_*/e[19]("noGames")+"";return{c(){t=g("p"),n=v(r),_(t,"class","SearchLoading")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noGames")+"")&&S(n,r)},d(e){e&&p(t)}}}function
|
|
1473
|
+
function Ai(e){let t,n,r=/*$_*/e[19]("noGames")+"";return{c(){t=g("p"),n=v(r),_(t,"class","SearchLoading")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noGames")+"")&&S(n,r)},d(e){e&&p(t)}}}function Di(e){let n,r;function a(e,t){/*mostPlayedEmpty*/
|
|
1474
1474
|
return e[18]?Ai:Ii}let i=a(e),s=i(e);return{c(){n=g("div"),r=g("div"),s.c(),this.c=t,_(r,"class","casino-most-played-section"),_(n,"class","CasinoGamesCategorySectionContainer")},m(t,a){m(t,n,a),h(n,r),s.m(r,null),
|
|
1475
1475
|
/*div1_binding*/e[23](n)},p(e,t){i===(i=a(e))&&s?s.p(e,t):(s.d(1),s=i(e),s&&(s.c(),s.m(r,null)))},i:t,o:t,d(t){t&&p(n),s.d(),
|
|
1476
|
-
/*div1_binding*/e[23](null)}}}function
|
|
1476
|
+
/*div1_binding*/e[23](null)}}}function Oi(e,t,n){let r;d(e,Ir,(e=>n(19,r=e)));let{endpoint:a=""}=t,{datasource:i=""}=t,{currency:s=""}=t,{lang:o=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:p="false"}=t,{integratedgameframedesktop:f="false"}=t,{gamepagemodalurl:g="false"}=t,{showgamename:y=""}=t,{visiblegames:v}=t,{favorites:b=""}=t,{translationurl:w=""}=t,{casinomygames:x="false"}=t,{mostplayedperiod:_="Last30Days"}=t,{mostplayedrounds:$="10"}=t,{fetchviaevent:S="true"}=t,k=window.navigator.userAgent;Object.keys(Pi).forEach((e=>{Li(e,Pi[e])}));let F,C,E=[],G=!1;const M=()=>{(e=>{let t=new URL(`${a}/v1/player/${c}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games"),t.searchParams.append("period",_);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),F=m?t:t.href,new Promise(((e,t)=>{fetch(F).then((e=>e.json())).then((t=>{t.items=t.items.filter((e=>{let n=!0;return"OddsMatrix2"==e.gameCode&&(t.count--,n=!1),n})),e(t)})).catch((e=>{console.error(e),t(e)}))}))})({limit:100,device:Dr(k),rounds:$}).then((e=>{if(e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${a}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",i),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{E=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===x&&(E=E.slice(0,JSON.parse(v))),window.postMessage({type:"MostPlayedData",mostPlayedGames:E},window.location.href)}))}else n(18,G=!0)}))},L=()=>{var e;e=o,pr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,a=e.endpoint),"datasource"in e&&n(1,i=e.datasource),"currency"in e&&n(2,s=e.currency),"lang"in e&&n(3,o=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,p=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,f=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"showgamename"in e&&n(12,y=e.showgamename),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"translationurl"in e&&n(20,w=e.translationurl),"casinomygames"in e&&n(15,x=e.casinomygames),"mostplayedperiod"in e&&n(21,_=e.mostplayedperiod),"mostplayedrounds"in e&&n(22,$=e.mostplayedrounds),"fetchviaevent"in e&&n(16,S=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&a&&c&&o&&M(),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&u&&C&&(()=>{let e=document.createElement("style");e.innerHTML=u,C.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&h&&C&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{C.appendChild(e)}),1)}))})(),/*translationurl*/1048576&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Li(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&o&&L()},[a,i,s,o,l,c,u,h,m,p,f,g,y,v,b,x,S,C,G,r,w,_,$,function(e){T[e?"unshift":"push"]((()=>{C=e,n(17,C)}))}]}
|
|
1477
1477
|
/* src/CasinoMyGames.svelte generated by Svelte v3.59.2 */
|
|
1478
1478
|
function Ni(e,t,n){const r=e.slice();return r[43]=t[n],r}
|
|
1479
1479
|
// (120:4) {#if casinomygames}
|
|
@@ -1494,7 +1494,7 @@ function zi(e){let t;return{c(){t=g("casino-most-played-section"),$(t,"endpoint"
|
|
|
1494
1494
|
// (144:10) {#if gamesType == 'Favorites'}
|
|
1495
1495
|
function Wi(e){let t;return{c(){t=g("casino-favorites-section"),$(t,"session",/*session*/e[1]),$(t,"userid",/*userid*/e[0]),$(t,"endpoint",/*endpoint*/e[2]),$(t,"datasource",/*datasource*/e[3]),$(t,"lang",/*lang*/e[4]),$(t,"currency",/*currency*/e[5]),$(t,"favorites",/*favorites*/e[14]),$(t,"categoryid","FAVORITES"),$(t,"class","CategoryContainer"),$(t,"showgamename",/*showgamename*/e[11]),$(t,"clientstyling",/*clientstyling*/e[6]),$(t,"clientstylingurl",/*clientstylingurl*/e[7]),$(t,"livecasino",/*livecasino*/e[8]),$(t,"visiblegames",/*visiblegames*/e[9]),$(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),$(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),$(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),$(t,"casinomygames",/*casinomygames*/e[17])},m(e,n){m(e,t,n)},p(e,n){/*session*/2&n[0]&&$(t,"session",/*session*/e[1]),/*userid*/1&n[0]&&$(t,"userid",/*userid*/e[0]),/*endpoint*/4&n[0]&&$(t,"endpoint",/*endpoint*/e[2]),/*datasource*/8&n[0]&&$(t,"datasource",/*datasource*/e[3]),/*lang*/16&n[0]&&$(t,"lang",/*lang*/e[4]),/*currency*/32&n[0]&&$(t,"currency",/*currency*/e[5]),/*favorites*/16384&n[0]&&$(t,"favorites",/*favorites*/e[14]),/*showgamename*/2048&n[0]&&$(t,"showgamename",/*showgamename*/e[11]),/*clientstyling*/64&n[0]&&$(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&$(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&$(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/512&n[0]&&$(t,"visiblegames",/*visiblegames*/e[9]),/*gamepagemodalurl*/1024&n[0]&&$(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),/*integratedgameframedesktop*/4096&n[0]&&$(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&n[0]&&$(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),/*casinomygames*/131072&n[0]&&$(t,"casinomygames",/*casinomygames*/e[17])},d(e){e&&p(t)}}}function Vi(e){let n;function r(e,t){if(/*casinomygames*/e[17])return Ri}let a=r(e),i=a&&a(e);return{c(){n=g("div"),i&&i.c(),this.c=t},m(t,r){m(t,n,r),i&&i.m(n,null)
|
|
1496
1496
|
/*div_binding*/,e[35](n)},p(e,t){a===(a=r(e))&&i?i.p(e,t):(i&&i.d(1),i=a&&a(e),i&&(i.c(),i.m(n,null)))},i:t,o:t,d(t){t&&p(n),i&&i.d()
|
|
1497
|
-
/*div_binding*/,e[35](null)}}}function Zi(e,t,n){let r;d(e,Ir,(e=>n(29,r=e)));let a,{userid:i=""}=t,{session:s=""}=t,{endpoint:o=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{currency:u=""}=t,{clientstyling:h=""}=t,{clientstylingurl:m=""}=t,{livecasino:p=""}=t,{visiblegames:f=""}=t,{gamepagemodalurl:g=""}=t,{showgamename:y=""}=t,{integratedgameframedesktop:v=""}=t,{integratedgameframemobile:b=""}=t,{translationurl:w=""}=t,{favorites:x="false"}=t,{mostplayed:_="false"}=t,{lastplayed:$="false"}=t,{casinomygames:S="false"}=t,{lastplayedperiod:k="Last30Days"}=t,{mostplayedperiod:F="Last30Days"}=t,{lastplayedorder:C=""}=t,{lastplayedlimit:E=""}=t,{lastplayedunique:M="true"}=t,{mostplayedrounds:L=""}=t,P=window.navigator.userAgent,I="",A=!1,
|
|
1497
|
+
/*div_binding*/,e[35](null)}}}function Zi(e,t,n){let r;d(e,Ir,(e=>n(29,r=e)));let a,{userid:i=""}=t,{session:s=""}=t,{endpoint:o=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{currency:u=""}=t,{clientstyling:h=""}=t,{clientstylingurl:m=""}=t,{livecasino:p=""}=t,{visiblegames:f=""}=t,{gamepagemodalurl:g=""}=t,{showgamename:y=""}=t,{integratedgameframedesktop:v=""}=t,{integratedgameframemobile:b=""}=t,{translationurl:w=""}=t,{favorites:x="false"}=t,{mostplayed:_="false"}=t,{lastplayed:$="false"}=t,{casinomygames:S="false"}=t,{lastplayedperiod:k="Last30Days"}=t,{mostplayedperiod:F="Last30Days"}=t,{lastplayedorder:C=""}=t,{lastplayedlimit:E=""}=t,{lastplayedunique:M="true"}=t,{mostplayedrounds:L=""}=t,P=window.navigator.userAgent,I="",A=!1,D=["","",""],O="0";!function({withLocale:e,translations:t}){pr.subscribe((n=>{null==n&&(Yn.set(t),pr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
1498
1498
|
/*dictionary.set(translations);
|
|
1499
|
-
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Nr).forEach((e=>{Dr(e,Nr[e])}));const N=e=>{I!==e&&n(25,I=e)},R=()=>{var e;n(25,I="true"===x?"Favorites":"true"===_?"MostPlayed":"true"===$?"LastPlayed":""),n(27,O[0]="true"===x?"Favorites":"",O),n(27,O[1]="true"===_?"MostPlayed":"",O),n(27,O[2]="true"===$?"LastPlayed":"",O),e=c,pr.set(e)},H=e=>{var t,r;if(e.data&&"UpdateFavoritesCount"===e.data.type)e.data.favoriteGames?n(28,D=null===(t=e.data.favoriteGames)||void 0===t?void 0:t.length):n(28,D=null===(r=e.data.listOfFavoritesGames)||void 0===r?void 0:r.length)};G((()=>(window.addEventListener("message",H,!1),n(26,A=Ar(P)),()=>{window.removeEventListener("message",H)})));return e.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,s=e.session),"endpoint"in e&&n(2,o=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,u=e.currency),"clientstyling"in e&&n(6,h=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,p=e.livecasino),"visiblegames"in e&&n(9,f=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"showgamename"in e&&n(11,y=e.showgamename),"integratedgameframedesktop"in e&&n(12,v=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,b=e.integratedgameframemobile),"translationurl"in e&&n(31,w=e.translationurl),"favorites"in e&&n(14,x=e.favorites),"mostplayed"in e&&n(15,_=e.mostplayed),"lastplayed"in e&&n(16,$=e.lastplayed),"casinomygames"in e&&n(17,S=e.casinomygames),"lastplayedperiod"in e&&n(18,k=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,F=e.mostplayedperiod),"lastplayedorder"in e&&n(20,C=e.lastplayedorder),"lastplayedlimit"in e&&n(21,E=e.lastplayedlimit),"lastplayedunique"in e&&n(22,M=e.lastplayedunique),"mostplayedrounds"in e&&n(23,L=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, datasource, lang*/28&e.$$.dirty[0]&&o&&l&&c&&R(),/*favorites, mostplayed, lastplayed*/114688&e.$$.dirty[0]&&x&&_&&$&&R(),/*translationurl*/1&e.$$.dirty[1]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Dr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/16777280&e.$$.dirty[0]&&h&&a&&(()=>{let e=document.createElement("style");e.innerHTML=h,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/16777344&e.$$.dirty[0]&&m&&a&&(()=>{let e=document.createElement("style");fetch(new URL(m)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{a.appendChild(e)}),1)}))})()},[i,s,o,l,c,u,h,m,p,f,g,y,v,b,x,_,$,S,k,F,C,E,M,L,a,I,A,O,D,r,N,w,()=>N("Favorites"),()=>N("MostPlayed"),()=>N("LastPlayed"),function(e){T[e?"unshift":"push"]((()=>{a=e,n(24,a)}))}]}!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::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-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Di,Oi,s,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),B()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),B()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),B()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),B()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),B()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),B()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),B()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),B()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),B()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),B()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}});class Ki extends W{constructor(e){super();const t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}",this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Zi,Vi,s,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","showgamename","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),B()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),B()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),B()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),B()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),B()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),B()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),B()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),B()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),B()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),B()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),B()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),B()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),B()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),B()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),B()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),B()}}return!customElements.get("casino-my-games")&&customElements.define("casino-my-games",Ki),Ki}));
|
|
1499
|
+
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Nr).forEach((e=>{Or(e,Nr[e])}));const N=e=>{I!==e&&n(25,I=e)},R=()=>{var e;n(25,I="true"===x?"Favorites":"true"===_?"MostPlayed":"true"===$?"LastPlayed":""),n(27,D[0]="true"===x?"Favorites":"",D),n(27,D[1]="true"===_?"MostPlayed":"",D),n(27,D[2]="true"===$?"LastPlayed":"",D),e=c,pr.set(e)},H=e=>{var t,r;if(e.data&&"UpdateFavoritesCount"===e.data.type)e.data.favoriteGames?n(28,O=null===(t=e.data.favoriteGames)||void 0===t?void 0:t.length):n(28,O=null===(r=e.data.listOfFavoritesGames)||void 0===r?void 0:r.length)};G((()=>(window.addEventListener("message",H,!1),n(26,A=Ar(P)),()=>{window.removeEventListener("message",H)})));return e.$$set=e=>{"userid"in e&&n(0,i=e.userid),"session"in e&&n(1,s=e.session),"endpoint"in e&&n(2,o=e.endpoint),"datasource"in e&&n(3,l=e.datasource),"lang"in e&&n(4,c=e.lang),"currency"in e&&n(5,u=e.currency),"clientstyling"in e&&n(6,h=e.clientstyling),"clientstylingurl"in e&&n(7,m=e.clientstylingurl),"livecasino"in e&&n(8,p=e.livecasino),"visiblegames"in e&&n(9,f=e.visiblegames),"gamepagemodalurl"in e&&n(10,g=e.gamepagemodalurl),"showgamename"in e&&n(11,y=e.showgamename),"integratedgameframedesktop"in e&&n(12,v=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(13,b=e.integratedgameframemobile),"translationurl"in e&&n(31,w=e.translationurl),"favorites"in e&&n(14,x=e.favorites),"mostplayed"in e&&n(15,_=e.mostplayed),"lastplayed"in e&&n(16,$=e.lastplayed),"casinomygames"in e&&n(17,S=e.casinomygames),"lastplayedperiod"in e&&n(18,k=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,F=e.mostplayedperiod),"lastplayedorder"in e&&n(20,C=e.lastplayedorder),"lastplayedlimit"in e&&n(21,E=e.lastplayedlimit),"lastplayedunique"in e&&n(22,M=e.lastplayedunique),"mostplayedrounds"in e&&n(23,L=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, datasource, lang*/28&e.$$.dirty[0]&&o&&l&&c&&R(),/*favorites, mostplayed, lastplayed*/114688&e.$$.dirty[0]&&x&&_&&$&&R(),/*translationurl*/1&e.$$.dirty[1]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Or(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/16777280&e.$$.dirty[0]&&h&&a&&(()=>{let e=document.createElement("style");e.innerHTML=h,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/16777344&e.$$.dirty[0]&&m&&a&&(()=>{let e=document.createElement("style");fetch(new URL(m)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{a.appendChild(e)}),1)}))})()},[i,s,o,l,c,u,h,m,p,f,g,y,v,b,x,_,$,S,k,F,C,E,M,L,a,I,A,D,O,r,N,w,()=>N("Favorites"),()=>N("MostPlayed"),()=>N("LastPlayed"),function(e){T[e?"unshift":"push"]((()=>{a=e,n(24,a)}))}]}!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::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-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Oi,Di,s,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),B()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),B()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),B()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),B()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),B()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),B()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),B()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),B()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),B()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),B()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}});class Ki extends W{constructor(e){super();const t=document.createElement("style");t.textContent=".CasinoMyGames{background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));width:100%;margin:50px 0;box-sizing:border-box}.CasinoMyGames.Mobile{padding:25px 10px}.MyGamesHeader{display:flex;justify-content:space-between;margin-bottom:40px}.MyGamesButtonsContainer{display:flex;flex-direction:row;-ms-overflow-style:none;scrollbar-width:none;overflow-y:scroll;gap:32px}.MyGamesButton{border:none;background:none;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:20px;font-weight:500;margin-right:0px;transition:linear 100ms;border-bottom:1px solid transparent;cursor:pointer}.MyGamesButton:hover{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton:focus{color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px;padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));padding-bottom:10px}.MyGamesButton.Active{border-bottom:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));line-height:36px}.Mobile .MyGamesButtonsContainer{width:100%;gap:32px;align-items:center;justify-content:space-evenly}.Mobile .MyGamesHeader{justify-content:flex-start}.Mobile .MyGamesButton{font-size:16px;white-space:nowrap;padding:5px}.Mobile .MyGamesButton.Active{padding-bottom:5px}",this.shadowRoot.appendChild(t),z(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Zi,Vi,s,{userid:0,session:1,endpoint:2,datasource:3,lang:4,currency:5,clientstyling:6,clientstylingurl:7,livecasino:8,visiblegames:9,gamepagemodalurl:10,showgamename:11,integratedgameframedesktop:12,integratedgameframemobile:13,translationurl:31,favorites:14,mostplayed:15,lastplayed:16,casinomygames:17,lastplayedperiod:18,mostplayedperiod:19,lastplayedorder:20,lastplayedlimit:21,lastplayedunique:22,mostplayedrounds:23},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["userid","session","endpoint","datasource","lang","currency","clientstyling","clientstylingurl","livecasino","visiblegames","gamepagemodalurl","showgamename","integratedgameframedesktop","integratedgameframemobile","translationurl","favorites","mostplayed","lastplayed","casinomygames","lastplayedperiod","mostplayedperiod","lastplayedorder","lastplayedlimit","lastplayedunique","mostplayedrounds"]}get userid(){return this.$$.ctx[0]}set userid(e){this.$$set({userid:e}),B()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),B()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),B()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),B()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),B()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),B()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),B()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),B()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),B()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),B()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),B()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),B()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),B()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),B()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),B()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),B()}}return!customElements.get("casino-my-games")&&customElements.define("casino-my-games",Ki),Ki}));
|
|
1500
1500
|
//# sourceMappingURL=casino-my-games.js.map
|