@everymatrix/casino-my-games 1.31.0 → 1.31.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 +236 -241
- package/dist/casino-my-games.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-my-games.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,o;function l(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function u(e,t,n){e.$$.on_destroy.push(c(t,n))}function d(e,t){e.appendChild(t)}function h(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function f(e){return document.createElement(e)}function g(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function y(e){return document.createTextNode(e)}function v(){return y(" ")}function b(){return y("")}function w(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function x(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function _(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:x(e,t,n)}function S(e,t){t=""+t,e.data!==t&&(e.data=t)}function $(e,t,n){e.classList[n?"add":"remove"](t)}class F{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=g(t.nodeName):this.e=f(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)h(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(m)}}function C(e){const t={};for(const n of e)t[n.name]=n.value;return t}function
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,o;function l(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function u(e,t,n){e.$$.on_destroy.push(c(t,n))}function d(e,t){e.appendChild(t)}function h(e,t,n){e.insertBefore(t,n||null)}function m(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function f(e){return document.createElement(e)}function g(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function y(e){return document.createTextNode(e)}function v(){return y(" ")}function b(){return y("")}function w(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function x(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function _(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:x(e,t,n)}function S(e,t){t=""+t,e.data!==t&&(e.data=t)}function $(e,t,n){e.classList[n?"add":"remove"](t)}class F{constructor(e=!1){this.is_svg=!1,this.is_svg=e,this.e=this.n=null}c(e){this.h(e)}m(e,t,n=null){this.e||(this.is_svg?this.e=g(t.nodeName):this.e=f(11===t.nodeType?"TEMPLATE":t.nodeName),this.t="TEMPLATE"!==t.tagName?t:t.content,this.c(e)),this.i(n)}h(e){this.e.innerHTML=e,this.n=Array.from("TEMPLATE"===this.e.nodeName?this.e.content.childNodes:this.e.childNodes)}i(e){for(let t=0;t<this.n.length;t+=1)h(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(m)}}function C(e){const t={};for(const n of e)t[n.name]=n.value;return t}function G(e){o=e}
|
|
2
2
|
/**
|
|
3
3
|
* The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
|
|
4
4
|
* It must be called during the component's initialisation (but doesn't need to live *inside* the component;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*
|
|
9
9
|
* https://svelte.dev/docs#run-time-svelte-onmount
|
|
10
10
|
*/
|
|
11
|
-
function
|
|
11
|
+
function E(e){(function(){if(!o)throw new Error("Function called outside component initialization");return o})().$$.on_mount.push(e)}const k=[],M=[];let L=[];const T=[],P=Promise.resolve();let I=!1;function A(){I||(I=!0,P.then(H))}function D(){return A(),P}function O(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.
|
|
@@ -35,21 +35,21 @@ function H(){
|
|
|
35
35
|
if(0!==R)return;const e=o;do{
|
|
36
36
|
// first, call beforeUpdate functions
|
|
37
37
|
// and update components
|
|
38
|
-
try{for(;R<k.length;){const e=k[R];R++,
|
|
38
|
+
try{for(;R<k.length;){const e=k[R];R++,G(e),B(e.$$)}}catch(e){
|
|
39
39
|
// reset dirty state to not end up in a deadlocked state and then rethrow
|
|
40
|
-
throw k.length=0,R=0,e}for(
|
|
40
|
+
throw k.length=0,R=0,e}for(G(null),k.length=0,R=0;M.length;)M.pop()();
|
|
41
41
|
// then, once components are updated, call
|
|
42
42
|
// afterUpdate functions. This may cause
|
|
43
43
|
// subsequent updates...
|
|
44
44
|
for(let e=0;e<L.length;e+=1){const t=L[e];N.has(t)||(
|
|
45
45
|
// ...so guard against infinite loops
|
|
46
|
-
N.add(t),t())}L.length=0}while(k.length);for(;T.length;)T.pop()();I=!1,N.clear(),
|
|
46
|
+
N.add(t),t())}L.length=0}while(k.length);for(;T.length;)T.pop()();I=!1,N.clear(),G(e)}function B(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(O)}}
|
|
47
47
|
/**
|
|
48
48
|
* Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
|
|
49
49
|
*/const U=new Set;function Y(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];L.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),L=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
|
|
50
50
|
// TODO null out other refs, including component.$$ (but need to
|
|
51
51
|
// preserve final state?)
|
|
52
|
-
n.on_destroy=n.fragment=null,n.ctx=[])}function j(a,s,l,c,u,d,h,p=[-1]){const f=o;
|
|
52
|
+
n.on_destroy=n.fragment=null,n.ctx=[])}function j(a,s,l,c,u,d,h,p=[-1]){const f=o;G(a);const g=a.$$={fragment:null,ctx:[],
|
|
53
53
|
// state
|
|
54
54
|
props:d,update:e,not_equal:u,bound:n(),
|
|
55
55
|
// lifecycle
|
|
@@ -70,7 +70,7 @@ O((()=>{const n=e.$$.on_mount.map(t).filter(i);
|
|
|
70
70
|
e.$$.on_destroy?e.$$.on_destroy.push(...n):
|
|
71
71
|
// Edge case - component was destroyed immediately,
|
|
72
72
|
// most likely as a result of a binding initialising
|
|
73
|
-
r(n),e.$$.on_mount=[]})),l.forEach(O)}(a,s.target,s.anchor,s.customElement),H()}var v,b;
|
|
73
|
+
r(n),e.$$.on_mount=[]})),l.forEach(O)}(a,s.target,s.anchor,s.customElement),H()}var v,b;G(f)}let z;"function"==typeof HTMLElement&&(z=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
|
|
74
74
|
// @ts-ignore todo: improve typings
|
|
75
75
|
for(const e in this.$$.slotted)
|
|
76
76
|
// @ts-ignore todo: improve typings
|
|
@@ -131,7 +131,7 @@ self.fetch.bind(self);
|
|
|
131
131
|
PERFORMANCE OF THIS SOFTWARE.
|
|
132
132
|
***************************************************************************** */
|
|
133
133
|
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
134
|
-
var ye=function(e,t){return ye=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])},ye(e,t)};function ve(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}ye(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function be(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 we(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return s}function xe(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _e(e){return"function"==typeof e}function Se(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var $e=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,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=be(a),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 a.remove(this);var l=this.initialTeardown;if(_e(l))try{l()}catch(e){i=e instanceof $e?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=be(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{ke(h)}catch(e){i=null!=i?i:[],e instanceof $e?i=xe(xe([],we(i)),we(e.errors)):i.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(i)throw new $e(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)ke(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 ke(e){_e(e)?e():e.unsubscribe()}var Me={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 i=Le.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,xe([e,t],we(n))):setTimeout.apply(void 0,xe([e,t],we(n)))},clearTimeout:function(e){var t=Le.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Te(){}var Pe=null;function Ie(e){if(Me.useDeprecatedSynchronousErrorHandling){var t=!Pe;if(t&&(Pe={errorThrown:!1,error:null}),e(),t){var n=Pe,r=n.errorThrown,i=n.error;if(Pe=null,r)throw i}}else e()}var Ae=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=Be,n}return ve(t,e),t.create=function(e,t,n){return new Re(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ce),De=Function.prototype.bind;function Oe(e,t){return De.call(e,t)}var Ne=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){He(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){He(e)}else He(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){He(e)}},e}(),Re=function(e){function t(t,n,r){var i,a,s=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&Me.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Oe(t.next,a),error:t.error&&Oe(t.error,a),complete:t.complete&&Oe(t.complete,a)}):i=t;return s.destination=new Ne(i),s}return ve(t,e),t}(Ae);function He(e){var t;t=e,Le.setTimeout((function(){throw t}))}var Be={closed:!0,next:Te,error:function(e){throw e},complete:Te},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var je=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Ae||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&Ge(r)?e:new Re(e,t,n);return Ie((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=ze(t))((function(t,r){var i=new Re({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ue]=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?Ye: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=ze(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function ze(e){var t;return null!==(t=null!=e?e:Me.Promise)&&void 0!==t?t:Promise}var We=Se((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ve(t,e),t.prototype.lift=function(e){var t=new Ze(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new We},t.prototype.next=function(e){var t=this;Ie((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=be(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ie((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;Ie((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?Ee:(this.currentObservers=null,a.push(e),new Ce((function(){t.currentObservers=null,Fe(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new je;return e.source=this,e},t.create=function(e,t){return new Ze(e,t)},t}(je),Ze=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ve(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}(Ve),Ke={now:function(){return(Ke.delegate||Date).now()},delegate:void 0},qe=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ke);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ve(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,s=n._timestampProvider,o=n._windowTime;r||(i.push(t),!a&&i.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(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var s=n.now(),o=0,l=1;l<r.length&&r[l]<=s;l+=2)o=l;o&&r.splice(0,o+1)}},t}(Ve);let Xe=[],Je={};
|
|
134
|
+
var ye=function(e,t){return ye=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])},ye(e,t)};function ve(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}ye(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function be(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 we(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)s.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return s}function xe(e,t,n){if(n||2===arguments.length)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function _e(e){return"function"==typeof e}function Se(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var $e=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,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var s=be(a),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 a.remove(this);var l=this.initialTeardown;if(_e(l))try{l()}catch(e){i=e instanceof $e?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=be(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{ke(h)}catch(e){i=null!=i?i:[],e instanceof $e?i=xe(xe([],we(i)),we(e.errors)):i.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(i)throw new $e(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)ke(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}(),Ge=Ce.EMPTY;function Ee(e){return e instanceof Ce||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function ke(e){_e(e)?e():e.unsubscribe()}var Me={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 i=Le.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,xe([e,t],we(n))):setTimeout.apply(void 0,xe([e,t],we(n)))},clearTimeout:function(e){var t=Le.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Te(){}var Pe=null;function Ie(e){if(Me.useDeprecatedSynchronousErrorHandling){var t=!Pe;if(t&&(Pe={errorThrown:!1,error:null}),e(),t){var n=Pe,r=n.errorThrown,i=n.error;if(Pe=null,r)throw i}}else e()}var Ae=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Ee(t)&&t.add(n)):n.destination=Be,n}return ve(t,e),t.create=function(e,t,n){return new Re(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ce),De=Function.prototype.bind;function Oe(e,t){return De.call(e,t)}var Ne=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){He(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){He(e)}else He(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){He(e)}},e}(),Re=function(e){function t(t,n,r){var i,a,s=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&Me.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Oe(t.next,a),error:t.error&&Oe(t.error,a),complete:t.complete&&Oe(t.complete,a)}):i=t;return s.destination=new Ne(i),s}return ve(t,e),t}(Ae);function He(e){var t;t=e,Le.setTimeout((function(){throw t}))}var Be={closed:!0,next:Te,error:function(e){throw e},complete:Te},Ue="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var je=function(){function e(e){e&&(this._subscribe=e)}return e.prototype.lift=function(t){var n=new e;return n.source=this,n.operator=t,n},e.prototype.subscribe=function(e,t,n){var r,i=this,a=(r=e)&&r instanceof Ae||function(e){return e&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&Ee(r)?e:new Re(e,t,n);return Ie((function(){var e=i,t=e.operator,n=e.source;a.add(t?t.call(a,n):n?i._subscribe(a):i._trySubscribe(a))})),a},e.prototype._trySubscribe=function(e){try{return this._subscribe(e)}catch(t){e.error(t)}},e.prototype.forEach=function(e,t){var n=this;return new(t=ze(t))((function(t,r){var i=new Re({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ue]=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?Ye: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=ze(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function ze(e){var t;return null!==(t=null!=e?e:Me.Promise)&&void 0!==t?t:Promise}var We=Se((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ve(t,e),t.prototype.lift=function(e){var t=new Ze(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new We},t.prototype.next=function(e){var t=this;Ie((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=be(t.currentObservers),a=i.next();!a.done;a=i.next()){a.value.next(e)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}))},t.prototype.error=function(e){var t=this;Ie((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;Ie((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,a=n.observers;return r||i?Ge:(this.currentObservers=null,a.push(e),new Ce((function(){t.currentObservers=null,Fe(a,e)})))},t.prototype._checkFinalizedStatuses=function(e){var t=this,n=t.hasError,r=t.thrownError,i=t.isStopped;n?e.error(r):i&&e.complete()},t.prototype.asObservable=function(){var e=new je;return e.source=this,e},t.create=function(e,t){return new Ze(e,t)},t}(je),Ze=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ve(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:Ge},t}(Ve),Ke={now:function(){return(Ke.delegate||Date).now()},delegate:void 0},qe=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Ke);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ve(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,s=n._timestampProvider,o=n._windowTime;r||(i.push(t),!a&&i.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(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var s=n.now(),o=0,l=1;l<r.length&&r[l]<=s;l+=2)o=l;o&&r.splice(0,o+1)}},t}(Ve);let Xe=[],Je={};
|
|
135
135
|
/**
|
|
136
136
|
* @name topic
|
|
137
137
|
* @description A small wrapper over the rxjs to offer the topic method on top of it
|
|
@@ -168,7 +168,7 @@ n.cloneUnlessOtherwiseSpecified=it;var r=Array.isArray(t);return r===Array.isArr
|
|
|
168
168
|
/**
|
|
169
169
|
* Type Guards
|
|
170
170
|
*/
|
|
171
|
-
function vt(e){return e.type===pt.literal}function bt(e){return e.type===pt.argument}function wt(e){return e.type===pt.number}function xt(e){return e.type===pt.date}function _t(e){return e.type===pt.time}function St(e){return e.type===pt.select}function $t(e){return e.type===pt.plural}function Ft(e){return e.type===pt.pound}function Ct(e){return e.type===pt.tag}function
|
|
171
|
+
function vt(e){return e.type===pt.literal}function bt(e){return e.type===pt.argument}function wt(e){return e.type===pt.number}function xt(e){return e.type===pt.date}function _t(e){return e.type===pt.time}function St(e){return e.type===pt.select}function $t(e){return e.type===pt.plural}function Ft(e){return e.type===pt.pound}function Ct(e){return e.type===pt.tag}function Gt(e){return!(!e||"object"!=typeof e||e.type!==ft.number)}function Et(e){return!(!e||"object"!=typeof e||e.type!==ft.dateTime)}
|
|
172
172
|
// @generated from regex-gen.ts
|
|
173
173
|
"function"==typeof SuppressedError&&SuppressedError,function(e){
|
|
174
174
|
/** Argument is unclosed (e.g. `{0`) */
|
|
@@ -577,7 +577,7 @@ function pn(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||
|
|
|
577
577
|
/**
|
|
578
578
|
* Code point equivalent of regex `\p{Pattern_Syntax}`.
|
|
579
579
|
* See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
|
|
580
|
-
*/function fn(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function gn(e){e.forEach((function(e){if(delete e.location,St(e)||$t(e))for(var t in e.options)delete e.options[t].location,gn(e.options[t].value);else wt(e)&&
|
|
580
|
+
*/function fn(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function gn(e){e.forEach((function(e){if(delete e.location,St(e)||$t(e))for(var t in e.options)delete e.options[t].location,gn(e.options[t].value);else wt(e)&&Gt(e.style)||(xt(e)||_t(e))&&Et(e.style)?delete e.style.location:Ct(e)&&gn(e.children)}))}function yn(e,t){void 0===t&&(t={}),t=gt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new hn(e,t).parse();if(n.err){var r=SyntaxError(mt[n.err.kind]);
|
|
581
581
|
// @ts-expect-error Assign to error object
|
|
582
582
|
throw r.location=n.err.location,
|
|
583
583
|
// @ts-expect-error Assign to error object
|
|
@@ -597,52 +597,52 @@ var Sn=function(){return JSON.stringify(arguments)};
|
|
|
597
597
|
|
|
598
598
|
function $n(){this.cache=Object.create(null)}$n.prototype.get=function(e){return this.cache[e]},$n.prototype.set=function(e,t){this.cache[e]=t};var Fn,Cn={create:function(){
|
|
599
599
|
// @ts-ignore
|
|
600
|
-
return new $n}},
|
|
600
|
+
return new $n}},Gn={variadic:function(e,t){return xn(e,this,wn,t.cache.create(),t.serializer)},monadic:function(e,t){return xn(e,this,bn,t.cache.create(),t.serializer)}};!function(e){
|
|
601
601
|
// When we have a placeholder but no value to format
|
|
602
602
|
e.MISSING_VALUE="MISSING_VALUE",
|
|
603
603
|
// When value supplied is invalid
|
|
604
604
|
e.INVALID_VALUE="INVALID_VALUE",
|
|
605
605
|
// When we need specific Intl API but it's not available
|
|
606
|
-
e.MISSING_INTL_API="MISSING_INTL_API"}(Fn||(Fn={}));var
|
|
606
|
+
e.MISSING_INTL_API="MISSING_INTL_API"}(Fn||(Fn={}));var En,kn=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return ht(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Mn=/** @class */function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Fn.INVALID_VALUE,i)||this}return ht(t,e),t}(kn),Ln=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Fn.INVALID_VALUE,r)||this}return ht(t,e),t}(kn),Tn=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Fn.MISSING_VALUE,n)||this}return ht(t,e),t}(kn);function Pn(e){return"function"==typeof e}
|
|
607
607
|
// TODO(skeleton): add skeleton support
|
|
608
608
|
function In(e,t,n,r,i,a,
|
|
609
609
|
// For debugging
|
|
610
610
|
s){
|
|
611
611
|
// Hot path for straight simple msg translations
|
|
612
|
-
if(1===e.length&&vt(e[0]))return[{type:
|
|
612
|
+
if(1===e.length&&vt(e[0]))return[{type:En.literal,value:e[0].value}];for(var o=[],l=0,c=e;l<c.length;l++){var u=c[l];
|
|
613
613
|
// Exit early for string parts.
|
|
614
|
-
if(vt(u))o.push({type:
|
|
614
|
+
if(vt(u))o.push({type:En.literal,value:u.value});else
|
|
615
615
|
// TODO: should this part be literal type?
|
|
616
616
|
// Replace `#` in plural rules with the actual numeric value.
|
|
617
|
-
if(Ft(u))"number"==typeof a&&o.push({type:
|
|
617
|
+
if(Ft(u))"number"==typeof a&&o.push({type:En.literal,value:n.getNumberFormat(t).format(a)});else{var d=u.value;
|
|
618
618
|
// Enforce that all required values are provided by the caller.
|
|
619
|
-
if(!i||!(d in i))throw new Tn(d,s);var h=i[d];if(bt(u))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),o.push({type:"string"==typeof h?
|
|
619
|
+
if(!i||!(d in i))throw new Tn(d,s);var h=i[d];if(bt(u))h&&"string"!=typeof h&&"number"!=typeof h||(h="string"==typeof h||"number"==typeof h?String(h):""),o.push({type:"string"==typeof h?En.literal:En.object,value:h});else
|
|
620
620
|
// Recursively format plural and select parts' option — which can be a
|
|
621
621
|
// nested pattern structure. The choosing of the option to use is
|
|
622
622
|
// abstracted-by and delegated-to the part helper object.
|
|
623
|
-
if(xt(u)){var m="string"==typeof u.style?r.date[u.style]:
|
|
623
|
+
if(xt(u)){var m="string"==typeof u.style?r.date[u.style]:Et(u.style)?u.style.parsedOptions:void 0;o.push({type:En.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(_t(u)){m="string"==typeof u.style?r.time[u.style]:Et(u.style)?u.style.parsedOptions:r.time.medium;o.push({type:En.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(wt(u)){(m="string"==typeof u.style?r.number[u.style]:Gt(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),o.push({type:En.literal,value:n.getNumberFormat(t,m).format(h)})}else{if(Ct(u)){var p=u.children,f=u.value,g=i[f];if(!Pn(g))throw new Ln(f,"function",s);var y=g(In(p,t,n,r,i,a).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),o.push.apply(o,y.map((function(e){return{type:"string"==typeof e?En.literal:En.object,value:e}})))}if(St(u)){if(!(v=u.options[h]||u.options.other))throw new Mn(u.value,h,Object.keys(u.options),s);o.push.apply(o,In(v.value,t,n,r,i))}else if($t(u)){var v;if(!(v=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new kn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Fn.MISSING_INTL_API,s);var b=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0));v=u.options[b]||u.options.other}if(!v)throw new Mn(u.value,h,Object.keys(u.options),s);o.push.apply(o,In(v.value,t,n,r,i,h-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===En.literal&&t.type===En.literal?n.value+=t.value:e.push(t),e}),[])}(o)}
|
|
624
624
|
/*
|
|
625
625
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
|
626
626
|
Copyrights licensed under the New BSD License.
|
|
627
627
|
See the accompanying LICENSE file for terms.
|
|
628
628
|
*/
|
|
629
629
|
// -- MessageFormat --------------------------------------------------------
|
|
630
|
-
function An(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?gt(gt(gt({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=gt(gt({},i[t]),a[t]||{}),e}),{})):i),n}),gt({},e)):e}function Dn(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"}(
|
|
630
|
+
function An(e,t){return t?Object.keys(e).reduce((function(n,r){var i,a;return n[r]=(i=e[r],(a=t[r])?gt(gt(gt({},i||{}),a||{}),Object.keys(i).reduce((function(e,t){return e[t]=gt(gt({},i[t]),a[t]||{}),e}),{})):i),n}),gt({},e)):e}function Dn(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"}(En||(En={}));var On=/** @class */function(){function e(t,n,r,i){var a,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
|
-
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===
|
|
632
|
+
if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===En.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 In(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.
|
|
634
634
|
this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
635
635
|
// Parse string messages into an AST.
|
|
636
636
|
this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");
|
|
637
637
|
// Creates a new object with the specified `formats` merged with the default
|
|
638
638
|
// formats.
|
|
639
|
-
this.formats=An(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:Dn(a.number),strategy:
|
|
639
|
+
this.formats=An(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:Dn(a.number),strategy:Gn.variadic}),getDateTimeFormat:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:Dn(a.dateTime),strategy:Gn.variadic}),getPluralRules:vn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,yt([void 0],t,!1)))}),{cache:Dn(a.pluralRules),strategy:Gn.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=yn,
|
|
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.
|
|
643
|
-
e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const Nn={},Rn=(e,t,n)=>n?(t in Nn||(Nn[t]={}),e in Nn[t]||(Nn[t][e]=n),n):n,Hn=(e,t)=>{if(null==t)return;if(t in Nn&&e in Nn[t])return Nn[t][e];const n=dr(t);for(let r=0;r<n.length;r++){const i=jn(n[r],e);if(i)return Rn(e,t,i)}};let Bn;const Un=et({});function Yn(e){return e in Bn}function jn(e,t){if(!Yn(e))return null;const n=function(e){return Bn[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function zn(e,...t){delete Nn[e],Un.update((n=>(n[e]=ut.all([n[e]||{},...t]),n)))}tt([Un],(([e])=>Object.keys(e))),Un.subscribe((e=>Bn=e));const Wn={};function Vn(e){return Wn[e]}function Zn(e){return null!=e&&dr(e).some((e=>{var t;return null==(t=Vn(e))?void 0:t.size}))}function Kn(e,t){const n=Promise.all(t.map((t=>(function(e,t){Wn[e].delete(t),0===Wn[e].size&&delete Wn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>zn(e,...t)))}const qn={};function Xn(e){if(!Zn(e))return e in qn?qn[e]:Promise.resolve();const t=function(e){return dr(e).map((e=>{const t=Vn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return qn[e]=Promise.all(t.map((([e,t])=>Kn(e,t)))).then((()=>{if(Zn(e))return Xn(e);delete qn[e]})),qn[e]}const Jn={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Qn(){return Jn}const er=et(!1);var tr=Object.defineProperty,nr=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,or=(e,t,n)=>t in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let lr;const cr=et(null);function ur(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function dr(e,t=Qn().fallbackLocale){const n=ur(e);return t?[...new Set([...n,...ur(t)])]:n}function hr(){return null!=lr?lr:void 0}cr.subscribe((e=>{lr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const mr=(pr=((e,t)=>{for(var n in t||(t={}))ar.call(t,n)&&or(e,n,t[n]);if(ir)for(var n of ir(t))sr.call(t,n)&&or(e,n,t[n]);return e})({},cr),nr(pr,rr({set:e=>{if(e&&function(e){if(null==e)return;const t=dr(e);for(let e=0;e<t.length;e++){const n=t[e];if(Yn(n))return n}}(e)&&Zn(e)){const{loadingDelay:t}=Qn();let n;return"undefined"!=typeof window&&null!=hr()&&t?n=window.setTimeout((()=>er.set(!0)),t):er.set(!0),Xn(e).then((()=>{cr.set(e)})).finally((()=>{clearTimeout(n),er.set(!1)}))}return cr.set(e)}})));var pr;const fr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var gr=Object.defineProperty,yr=Object.getOwnPropertySymbols,vr=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,wr=(e,t,n)=>t in e?gr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xr=(e,t)=>{for(var n in t||(t={}))vr.call(t,n)&&wr(e,n,t[n]);if(yr)for(var n of yr(t))br.call(t,n)&&wr(e,n,t[n]);return e},_r=(e,t)=>{var n={};for(var r in e)vr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&yr)for(var r of yr(e))t.indexOf(r)<0&&br.call(e,r)&&(n[r]=e[r]);return n};const Sr=(e,t)=>{const{formats:n}=Qn();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},$r=fr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=Sr("number",r)),new Intl.NumberFormat(n,i)})),Fr=fr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=Sr("date",r):0===Object.keys(i).length&&(i=Sr("date","short")),new Intl.DateTimeFormat(n,i)})),Cr=fr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=Sr("time",r):0===Object.keys(i).length&&(i=Sr("time","short")),new Intl.DateTimeFormat(n,i)})),
|
|
643
|
+
e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const Nn={},Rn=(e,t,n)=>n?(t in Nn||(Nn[t]={}),e in Nn[t]||(Nn[t][e]=n),n):n,Hn=(e,t)=>{if(null==t)return;if(t in Nn&&e in Nn[t])return Nn[t][e];const n=dr(t);for(let r=0;r<n.length;r++){const i=jn(n[r],e);if(i)return Rn(e,t,i)}};let Bn;const Un=et({});function Yn(e){return e in Bn}function jn(e,t){if(!Yn(e))return null;const n=function(e){return Bn[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function zn(e,...t){delete Nn[e],Un.update((n=>(n[e]=ut.all([n[e]||{},...t]),n)))}tt([Un],(([e])=>Object.keys(e))),Un.subscribe((e=>Bn=e));const Wn={};function Vn(e){return Wn[e]}function Zn(e){return null!=e&&dr(e).some((e=>{var t;return null==(t=Vn(e))?void 0:t.size}))}function Kn(e,t){const n=Promise.all(t.map((t=>(function(e,t){Wn[e].delete(t),0===Wn[e].size&&delete Wn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>zn(e,...t)))}const qn={};function Xn(e){if(!Zn(e))return e in qn?qn[e]:Promise.resolve();const t=function(e){return dr(e).map((e=>{const t=Vn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return qn[e]=Promise.all(t.map((([e,t])=>Kn(e,t)))).then((()=>{if(Zn(e))return Xn(e);delete qn[e]})),qn[e]}const Jn={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Qn(){return Jn}const er=et(!1);var tr=Object.defineProperty,nr=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,ir=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,or=(e,t,n)=>t in e?tr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let lr;const cr=et(null);function ur(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function dr(e,t=Qn().fallbackLocale){const n=ur(e);return t?[...new Set([...n,...ur(t)])]:n}function hr(){return null!=lr?lr:void 0}cr.subscribe((e=>{lr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const mr=(pr=((e,t)=>{for(var n in t||(t={}))ar.call(t,n)&&or(e,n,t[n]);if(ir)for(var n of ir(t))sr.call(t,n)&&or(e,n,t[n]);return e})({},cr),nr(pr,rr({set:e=>{if(e&&function(e){if(null==e)return;const t=dr(e);for(let e=0;e<t.length;e++){const n=t[e];if(Yn(n))return n}}(e)&&Zn(e)){const{loadingDelay:t}=Qn();let n;return"undefined"!=typeof window&&null!=hr()&&t?n=window.setTimeout((()=>er.set(!0)),t):er.set(!0),Xn(e).then((()=>{cr.set(e)})).finally((()=>{clearTimeout(n),er.set(!1)}))}return cr.set(e)}})));var pr;const fr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var gr=Object.defineProperty,yr=Object.getOwnPropertySymbols,vr=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,wr=(e,t,n)=>t in e?gr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xr=(e,t)=>{for(var n in t||(t={}))vr.call(t,n)&&wr(e,n,t[n]);if(yr)for(var n of yr(t))br.call(t,n)&&wr(e,n,t[n]);return e},_r=(e,t)=>{var n={};for(var r in e)vr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&yr)for(var r of yr(e))t.indexOf(r)<0&&br.call(e,r)&&(n[r]=e[r]);return n};const Sr=(e,t)=>{const{formats:n}=Qn();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},$r=fr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=Sr("number",r)),new Intl.NumberFormat(n,i)})),Fr=fr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=Sr("date",r):0===Object.keys(i).length&&(i=Sr("date","short")),new Intl.DateTimeFormat(n,i)})),Cr=fr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=Sr("time",r):0===Object.keys(i).length&&(i=Sr("time","short")),new Intl.DateTimeFormat(n,i)})),Gr=fr((
|
|
644
644
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
645
|
-
(e,t=hr())=>new On(e,t,Qn().formats,{ignoreTag:Qn().ignoreTag}))),
|
|
645
|
+
(e,t=hr())=>new On(e,t,Qn().formats,{ignoreTag:Qn().ignoreTag}))),Er=(e,t={})=>{var n,r,i,a;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:o,locale:l=hr(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Hn(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(a=null!=(i=null==(r=(n=Qn()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?a:e;if(!o)return u;let d=u;try{d=Gr(u,l).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},kr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=_r(t,["locale"]);return Cr(xr({locale:n},r))})(t).format(e),Mr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=_r(t,["locale"]);return Fr(xr({locale:n},r))})(t).format(e),Lr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=_r(t,["locale"]);return $r(xr({locale:n},r))})(t).format(e),Tr=(e,t=hr())=>Hn(e,t),Pr=tt([mr,Un],(()=>Er));tt([mr],(()=>kr)),tt([mr],(()=>Mr)),tt([mr],(()=>Lr)),tt([mr,Un],(()=>Tr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Xe.indexOf(e)){let n=new qe(t);Je[e]=n,Xe.push(e)}return Je[e]}};
|
|
646
646
|
/**
|
|
647
647
|
* @name isMobile
|
|
648
648
|
* @description A method that returns if the browser used to access the app is from a mobile device or not
|
|
@@ -671,7 +671,7 @@ n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n
|
|
|
671
671
|
function _(e){x(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
|
|
672
672
|
// Prevent infinite loop in case updateOffset creates new moment
|
|
673
673
|
// objects.
|
|
674
|
-
!1===w&&(w=!0,r.updateOffset(this),w=!1)}function S(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function $(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function F(e,t){var n=!0;return m((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,s,l=[],c=arguments.length;for(a=0;a<c;a++){if(i="","object"==typeof arguments[a]){for(s in i+="\n["+a+"] ",arguments[0])o(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}$(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,
|
|
674
|
+
!1===w&&(w=!0,r.updateOffset(this),w=!1)}function S(e){return e instanceof _||null!=e&&null!=e._isAMomentObject}function $(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function F(e,t){var n=!0;return m((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,a,s,l=[],c=arguments.length;for(a=0;a<c;a++){if(i="","object"==typeof arguments[a]){for(s in i+="\n["+a+"] ",arguments[0])o(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}$(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,G={};function E(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),G[e]||($(t),G[e]=!0)}function k(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function M(e){var t,n;for(n in e)o(e,n)&&(k(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
|
|
675
675
|
// Lenient ordinal parsing accepts just a number in addition to
|
|
676
676
|
// number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
|
|
677
677
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
|
@@ -695,8 +695,8 @@ Se=/\d\d?/,// 0 - 99
|
|
|
695
695
|
$e=/\d\d\d\d?/,// 999 - 9999
|
|
696
696
|
Fe=/\d\d\d\d\d\d?/,// 99999 - 999999
|
|
697
697
|
Ce=/\d{1,3}/,// 0 - 999
|
|
698
|
-
|
|
699
|
-
|
|
698
|
+
Ge=/\d{1,4}/,// 0 - 9999
|
|
699
|
+
Ee=/[+-]?\d{1,6}/,// -999999 - 999999
|
|
700
700
|
ke=/\d+/,// 0 - inf
|
|
701
701
|
Me=/[+-]?\d+/,// -inf - inf
|
|
702
702
|
Le=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
|
|
@@ -752,7 +752,7 @@ ne("year","y"),
|
|
|
752
752
|
// PRIORITIES
|
|
753
753
|
se("year",1),
|
|
754
754
|
// PARSING
|
|
755
|
-
Ae("Y",Me),Ae("YY",Se,be),Ae("YYYY",
|
|
755
|
+
Ae("Y",Me),Ae("YY",Se,be),Ae("YYYY",Ge,xe),Ae("YYYYY",Ee,_e),Ae("YYYYYY",Ee,_e),He(["YYYYY","YYYYYY"],je),He("YYYY",(function(e,t){t[je]=2===e.length?r.parseTwoDigitYear(e):ue(e)})),He("YY",(function(e,t){t[je]=r.parseTwoDigitYear(e)})),He("Y",(function(e,t){t[je]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};
|
|
756
756
|
// MOMENTS
|
|
757
757
|
var yt=de("FullYear",!0);function vt(){return le(this.year())}function bt(e,t,n,r,i,a,s){
|
|
758
758
|
// can't just apply() to create a date:
|
|
@@ -781,7 +781,7 @@ ne("week","w"),ne("isoWeek","W"),
|
|
|
781
781
|
se("week",5),se("isoWeek",5),
|
|
782
782
|
// PARSING
|
|
783
783
|
Ae("w",Se),Ae("ww",Se,be),Ae("W",Se),Ae("WW",Se,be),Be(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ue(e)}));var Ct={dow:0,// Sunday is the first day of the week.
|
|
784
|
-
doy:6};function
|
|
784
|
+
doy:6};function Gt(){return this._week.dow}function Et(){return this._week.doy}
|
|
785
785
|
// MOMENTS
|
|
786
786
|
function kt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Mt(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
|
|
787
787
|
// FORMATTING
|
|
@@ -853,7 +853,7 @@ function gn(e,t){var n;return e&&((n=c(t)?bn(e):yn(e,t))?
|
|
|
853
853
|
// moment.duration._locale = moment._locale = data;
|
|
854
854
|
on=n:"undefined"!=typeof console&&console.warn&&
|
|
855
855
|
//warn user if arguments are passed but the locale could not be set
|
|
856
|
-
console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[e])
|
|
856
|
+
console.warn("Locale "+e+" not found. Did you forget to load it?")),on._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[e])E("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=fn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new T(L(r,t)),un[e]&&un[e].forEach((function(e){yn(e.name,e.config)})),
|
|
857
857
|
// backwards compat for now: also set the locale
|
|
858
858
|
// make sure we set the locale AFTER all child locales have been
|
|
859
859
|
// created, so we won't end up with the child locale set.
|
|
@@ -880,9 +880,9 @@ t=fn(e))return t;e=[e]}return mn(e)}function wn(){return C(cn)}function xn(e){va
|
|
|
880
880
|
// 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)
|
|
881
881
|
var _n=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,$n=/Z|[+-]\d\d(?::?\d\d)?/,Fn=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],
|
|
882
882
|
// iso time formats and regexes
|
|
883
|
-
Cn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],
|
|
883
|
+
Cn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Gn=/^\/?Date\((-?\d+)/i,
|
|
884
884
|
// RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
|
|
885
|
-
|
|
885
|
+
En=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,kn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
|
|
886
886
|
// date from iso format
|
|
887
887
|
function Mn(e){var t,n,r,i,a,s,o=e._i,l=_n.exec(o)||Sn.exec(o),c=Fn.length,u=Cn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(Fn[t][1].exec(l[1])){i=Fn[t][0],r=!1!==Fn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(Cn[t][1].exec(l[3])){
|
|
888
888
|
// match[2] should be 'T' or space
|
|
@@ -892,9 +892,9 @@ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\
|
|
|
892
892
|
// the only allowed military tz is Z
|
|
893
893
|
return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
|
|
894
894
|
// date and time from ref 2822 format
|
|
895
|
-
function Dn(e){var t,n=
|
|
895
|
+
function Dn(e){var t,n=En.exec(Pn(e._i));if(n){if(t=Ln(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}
|
|
896
896
|
// date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
|
|
897
|
-
function On(e){var t=
|
|
897
|
+
function On(e){var t=Gn.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:
|
|
898
898
|
// Final attempt, use Input Fallback
|
|
899
899
|
r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
|
|
900
900
|
// Pick the first defined of two or three arguments.
|
|
@@ -1025,13 +1025,13 @@ return-Math.round(e._d.getTimezoneOffset())}
|
|
|
1025
1025
|
// there is no such time in the given timezone.
|
|
1026
1026
|
function gr(e,t,n){var i,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mr(Te,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=fr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ir(this,kr(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:fr(this)}function yr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function br(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(fr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mr(Le,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function xr(e){return!!this.isValid()&&(e=e?qn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function _r(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return x(t,this),(t=Vn(t))._a?(e=t._isUTC?p(t._a):qn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function $r(){return!!this.isValid()&&!this._isUTC}function Fr(){return!!this.isValid()&&this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
|
|
1027
1027
|
// ASP.NET json date format regex
|
|
1028
|
-
r.updateOffset=function(){};var
|
|
1028
|
+
r.updateOffset=function(){};var Gr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
|
|
1029
1029
|
// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
|
|
1030
1030
|
// somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
|
|
1031
1031
|
// and further modified to allow for strings containing both week and day
|
|
1032
|
-
|
|
1032
|
+
Er=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function kr(e,t){var n,r,i,a=e,
|
|
1033
1033
|
// matching against regexp is expensive, do it on demand
|
|
1034
|
-
s=null;return lr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(s=
|
|
1034
|
+
s=null;return lr(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(s=Gr.exec(e))?(n="-"===s[1]?-1:1,a={y:0,d:ue(s[We])*n,h:ue(s[Ve])*n,m:ue(s[Ze])*n,s:ue(s[Ke])*n,ms:ue(cr(1e3*s[qe]))*n}):(s=Er.exec(e))?(n="-"===s[1]?-1:1,a={y:Mr(s[2],n),M:Mr(s[3],n),w:Mr(s[4],n),d:Mr(s[5],n),h:Mr(s[6],n),m:Mr(s[7],n),s:Mr(s[8],n)}):null==a?
|
|
1035
1035
|
// checks for null or undefined
|
|
1036
1036
|
a={}:"object"==typeof a&&("from"in a||"to"in a)&&(i=Tr(qn(a.from),qn(a.to)),(a={}).ms=i.milliseconds,a.M=i.months),r=new or(a),lr(e)&&o(e,"_locale")&&(r._locale=e._locale),lr(e)&&o(e,"_isValid")&&(r._isValid=e._isValid),r}function Mr(e,t){
|
|
1037
1037
|
// We'd normally use ~~inp for this, but unfortunately it also
|
|
@@ -1043,7 +1043,7 @@ return(isNaN(n)?0:n)*t}function Lr(e,t){var n={};return n.months=t.month()-e.mon
|
|
|
1043
1043
|
// TODO: remove 'name' arg after deprecation is removed
|
|
1044
1044
|
function Pr(e,t){return function(n,r){var i;
|
|
1045
1045
|
//invert the arguments, but complain about it
|
|
1046
|
-
return null===r||isNaN(+r)||(
|
|
1046
|
+
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."),i=n,n=r,r=i),Ir(this,kr(n,r),e),this}}function Ir(e,t,n,i){var a=t._milliseconds,s=cr(t._days),o=cr(t._months);e.isValid()&&(i=null==i||i,o&&ut(e,he(e,"Month")+o*n),s&&me(e,"Date",he(e,"Date")+s*n),a&&e._d.setTime(e._d.valueOf()+a*n),i&&r.updateOffset(e,s||o))}kr.fn=or.prototype,kr.invalid=sr;var Ar=Pr(1,"add"),Dr=Pr(-1,"subtract");function Or(e){return"string"==typeof e||e instanceof String}
|
|
1047
1047
|
// type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
|
|
1048
1048
|
function Nr(e){return S(e)||d(e)||Or(e)||u(e)||Hr(e)||Rr(e)||null==e}function Rr(e){var t,n,r=s(e)&&!l(e),i=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],c=a.length;for(t=0;t<c;t+=1)n=a[t],i=i||o(e,n);return r&&i}function Hr(e){var t=a(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Or(e)})).length),t&&n}function Br(e){var t,n,r=s(e)&&!l(e),i=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)n=a[t],i=i||o(e,n);return r&&i}function Ur(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Yr(e,t){
|
|
1049
1049
|
// Support for single parameter, formats only overload to the calendar function
|
|
@@ -1084,7 +1084,7 @@ return e<100&&e>=0?new Date(e+400,t,n)-mi:new Date(e,t,n).valueOf()}function gi(
|
|
|
1084
1084
|
// Date.UTC remaps years 0-99 to 1900-1999
|
|
1085
1085
|
return e<100&&e>=0?Date.UTC(e+400,t,n)-mi:Date.UTC(e,t,n)}function yi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:fi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=pi(t+(this._isUTC?0:this.utcOffset()*di),hi);break;case"minute":t=this._d.valueOf(),t-=pi(t,di);break;case"second":t=this._d.valueOf(),t-=pi(t,ui)}return this._d.setTime(t),r.updateOffset(this,!0),this}function vi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:fi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=hi-pi(t+(this._isUTC?0:this.utcOffset()*di),hi)-1;break;case"minute":t=this._d.valueOf(),t+=di-pi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=ui-pi(t,ui)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function bi(){return this._d.valueOf()-6e4*(this._offset||0)}function wi(){return Math.floor(this.valueOf()/1e3)}function xi(){return new Date(this.valueOf())}function _i(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Si(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function $i(){
|
|
1086
1086
|
// new Date(NaN).toJSON() === null
|
|
1087
|
-
return this.isValid()?this.toISOString():null}function Fi(){return y(this)}function Ci(){return m({},g(this))}function
|
|
1087
|
+
return this.isValid()?this.toISOString():null}function Fi(){return y(this)}function Ci(){return m({},g(this))}function Gi(){return g(this).overflow}function Ei(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function ki(e,t){var n,i,a,s=this._eras||bn("en")._eras;for(n=0,i=s.length;n<i;++n)switch("string"==typeof s[n].since&&(
|
|
1088
1088
|
// truncate time
|
|
1089
1089
|
a=r(s[n].since).startOf("day"),s[n].since=a.valueOf()),typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":
|
|
1090
1090
|
// truncate time
|
|
@@ -1111,7 +1111,7 @@ ne("weekYear","gg"),ne("isoWeekYear","GG"),
|
|
|
1111
1111
|
// PRIORITY
|
|
1112
1112
|
se("weekYear",1),se("isoWeekYear",1),
|
|
1113
1113
|
// PARSING
|
|
1114
|
-
Ae("G",Me),Ae("g",Me),Ae("GG",Se,be),Ae("gg",Se,be),Ae("GGGG",
|
|
1114
|
+
Ae("G",Me),Ae("g",Me),Ae("GG",Se,be),Ae("gg",Se,be),Ae("GGGG",Ge,xe),Ae("gggg",Ge,xe),Ae("GGGGG",Ee,_e),Ae("ggggg",Ee,_e),Be(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ue(e)})),Be(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),H("Q",0,"Qo","quarter"),
|
|
1115
1115
|
// ALIASES
|
|
1116
1116
|
ne("quarter","Q"),
|
|
1117
1117
|
// PRIORITY
|
|
@@ -1169,7 +1169,7 @@ Ae("S",Ce,ve),Ae("SS",Ce,be),Ae("SSS",Ce,we),ra="SSSS";ra.length<=9;ra+="S")Ae(r
|
|
|
1169
1169
|
// MOMENTS
|
|
1170
1170
|
function oa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ia=de("Milliseconds",!1),
|
|
1171
1171
|
// FORMATTING
|
|
1172
|
-
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=_.prototype;function ua(e){return qn(1e3*e)}function da(){return qn.apply(null,arguments).parseZone()}function ha(e){return e}ca.add=Ar,ca.calendar=Yr,ca.clone=jr,ca.diff=Xr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=si,ca.get=pe,ca.invalidAt=
|
|
1172
|
+
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=_.prototype;function ua(e){return qn(1e3*e)}function da(){return qn.apply(null,arguments).parseZone()}function ha(e){return e}ca.add=Ar,ca.calendar=Yr,ca.clone=jr,ca.diff=Xr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=si,ca.get=pe,ca.invalidAt=Gi,ca.isAfter=zr,ca.isBefore=Wr,ca.isBetween=Vr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=qr,ca.isValid=Fi,ca.lang=li,ca.locale=oi,ca.localeData=ci,ca.max=Jn,ca.min=Xn,ca.parsingFlags=Ci,ca.set=fe,ca.startOf=yi,ca.subtract=Dr,ca.toArray=_i,ca.toObject=Si,ca.toDate=xi,ca.toISOString=ei,ca.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ca[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ca.toJSON=$i,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=Ei,ca.eraName=Ti,ca.eraNarrow=Pi,ca.eraAbbr=Ii,ca.eraYear=Ai,ca.year=yt,ca.isLeapYear=vt,ca.weekYear=zi,ca.isoWeekYear=Wi,ca.quarter=ca.quarters=Qi,ca.month=dt,ca.daysInMonth=ht,ca.week=ca.weeks=kt,ca.isoWeek=ca.isoWeeks=Mt,ca.weeksInYear=Ki,ca.weeksInWeekYear=qi,ca.isoWeeksInYear=Vi,ca.isoWeeksInISOWeekYear=Zi,ca.date=ea,ca.day=ca.days=zt,ca.weekday=Wt,ca.isoWeekday=Vt,ca.dayOfYear=ta,ca.hour=ca.hours=an,ca.minute=ca.minutes=na,ca.second=ca.seconds=aa,ca.millisecond=ca.milliseconds=ia,ca.utcOffset=gr,ca.utc=vr,ca.local=br,ca.parseZone=wr,ca.hasAlignedHourOffset=xr,ca.isDST=_r,ca.isLocal=$r,ca.isUtcOffset=Fr,ca.isUtc=Cr,ca.isUTC=Cr,ca.zoneAbbr=oa,ca.zoneName=la,ca.dates=F("dates accessor is deprecated. Use date instead.",ea),ca.months=F("months accessor is deprecated. Use month instead",dt),ca.years=F("years accessor is deprecated. Use year instead",yt),ca.zone=F("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),ca.isDSTShifted=F("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var ma=T.prototype;function pa(e,t,n,r){var i=bn(),a=p().set(r,t);return i[n](a,e)}function fa(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return pa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=pa(e,r,n,"month");return i}
|
|
1173
1173
|
// ()
|
|
1174
1174
|
// (5)
|
|
1175
1175
|
// (fmt, 5)
|
|
@@ -1178,21 +1178,21 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=_.prototype;function ua(e){r
|
|
|
1178
1178
|
// (true, 5)
|
|
1179
1179
|
// (true, fmt, 5)
|
|
1180
1180
|
// (true, fmt)
|
|
1181
|
-
function ga(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=bn(),s=e?a._week.dow:0,o=[];if(null!=n)return pa(t,(n+s)%7,r,"day");for(i=0;i<7;i++)o[i]=pa(t,(i+s)%7,r,"day");return o}function ya(e,t){return fa(e,t,"months")}function va(e,t){return fa(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function xa(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=I,ma.longDateFormat=W,ma.invalidDate=Z,ma.ordinal=X,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=M,ma.eras=ki,ma.erasParse=Mi,ma.erasConvertYear=Li,ma.erasAbbrRegex=Oi,ma.erasNameRegex=Di,ma.erasNarrowRegex=Ni,ma.months=st,ma.monthsShort=ot,ma.monthsParse=ct,ma.monthsRegex=pt,ma.monthsShortRegex=mt,ma.week=Ft,ma.firstDayOfYear=
|
|
1181
|
+
function ga(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=bn(),s=e?a._week.dow:0,o=[];if(null!=n)return pa(t,(n+s)%7,r,"day");for(i=0;i<7;i++)o[i]=pa(t,(i+s)%7,r,"day");return o}function ya(e,t){return fa(e,t,"months")}function va(e,t){return fa(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function xa(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=I,ma.longDateFormat=W,ma.invalidDate=Z,ma.ordinal=X,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=M,ma.eras=ki,ma.erasParse=Mi,ma.erasConvertYear=Li,ma.erasAbbrRegex=Oi,ma.erasNameRegex=Di,ma.erasNarrowRegex=Ni,ma.months=st,ma.monthsShort=ot,ma.monthsParse=ct,ma.monthsRegex=pt,ma.monthsShortRegex=mt,ma.week=Ft,ma.firstDayOfYear=Et,ma.firstDayOfWeek=Gt,ma.weekdays=Ht,ma.weekdaysMin=Ut,ma.weekdaysShort=Bt,ma.weekdaysParse=jt,ma.weekdaysRegex=Zt,ma.weekdaysShortRegex=Kt,ma.weekdaysMinRegex=qt,ma.isPM=nn,ma.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===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
|
|
1182
1182
|
// Side effect imports
|
|
1183
1183
|
r.lang=F("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=F("moment.langData is deprecated. Use moment.localeData instead.",bn);var _a=Math.abs;function Sa(){var e=this._data;return this._milliseconds=_a(this._milliseconds),this._days=_a(this._days),this._months=_a(this._months),e.milliseconds=_a(e.milliseconds),e.seconds=_a(e.seconds),e.minutes=_a(e.minutes),e.hours=_a(e.hours),e.months=_a(e.months),e.years=_a(e.years),this}function $a(e,t,n,r){var i=kr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
|
|
1184
1184
|
// supports only 2.0-style add(1, 's') or add(duration)
|
|
1185
1185
|
function Fa(e,t){return $a(this,e,t,1)}
|
|
1186
1186
|
// supports only 2.0-style subtract(1, 's') or subtract(duration)
|
|
1187
|
-
function Ca(e,t){return $a(this,e,t,-1)}function
|
|
1187
|
+
function Ca(e,t){return $a(this,e,t,-1)}function Ga(e){return e<0?Math.floor(e):Math.ceil(e)}function Ea(){var e,t,n,r,i,a=this._milliseconds,s=this._days,o=this._months,l=this._data;
|
|
1188
1188
|
// if we have a mix of positive and negative values, bubble down first
|
|
1189
1189
|
// check: https://github.com/moment/moment/issues/2166
|
|
1190
|
-
return a>=0&&s>=0&&o>=0||a<=0&&s<=0&&o<=0||(a+=864e5*
|
|
1190
|
+
return a>=0&&s>=0&&o>=0||a<=0&&s<=0&&o<=0||(a+=864e5*Ga(Ma(o)+s),s=0,o=0),
|
|
1191
1191
|
// The following code bubbles up values, see the tests for
|
|
1192
1192
|
// examples of what that means.
|
|
1193
1193
|
l.milliseconds=a%1e3,e=ce(a/1e3),l.seconds=e%60,t=ce(e/60),l.minutes=t%60,n=ce(t/60),l.hours=n%24,s+=ce(n/24),o+=
|
|
1194
1194
|
// convert days to months
|
|
1195
|
-
i=ce(ka(s)),s-=
|
|
1195
|
+
i=ce(ka(s)),s-=Ga(Ma(i)),
|
|
1196
1196
|
// 12 months -> 1 year
|
|
1197
1197
|
r=ce(o/12),o%=12,l.days=s,l.months=o,l.years=r,this}function ka(e){
|
|
1198
1198
|
// 400 years have 146097 days (taking into account leap year rules)
|
|
@@ -1231,7 +1231,7 @@ e=ce(l/60),t=ce(e/60),l%=60,e%=60,
|
|
|
1231
1231
|
// 12 months -> 1 year
|
|
1232
1232
|
n=ce(u/12),u%=12,
|
|
1233
1233
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
|
1234
|
-
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=ls(this._months)!==ls(d)?"-":"",s=ls(this._days)!==ls(d)?"-":"",o=ls(this._milliseconds)!==ls(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+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=ar,us.abs=Sa,us.add=Fa,us.subtract=Ca,us.as=La,us.asMilliseconds=Ia,us.asSeconds=Aa,us.asMinutes=Da,us.asHours=Oa,us.asDays=Na,us.asWeeks=Ra,us.asMonths=Ha,us.asQuarters=Ba,us.asYears=Ua,us.valueOf=Ta,us._bubble=
|
|
1234
|
+
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=ls(this._months)!==ls(d)?"-":"",s=ls(this._days)!==ls(d)?"-":"",o=ls(this._milliseconds)!==ls(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+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=ar,us.abs=Sa,us.add=Fa,us.subtract=Ca,us.as=La,us.asMilliseconds=Ia,us.asSeconds=Aa,us.asMinutes=Da,us.asHours=Oa,us.asDays=Na,us.asWeeks=Ra,us.asMonths=Ha,us.asQuarters=Ba,us.asYears=Ua,us.valueOf=Ta,us._bubble=Ea,us.clone=Ya,us.get=ja,us.milliseconds=Wa,us.seconds=Va,us.minutes=Za,us.hours=Ka,us.days=qa,us.weeks=Qa,us.months=Xa,us.years=Ja,us.humanize=ss,us.toISOString=cs,us.toString=cs,us.toJSON=cs,us.locale=oi,us.localeData=ci,us.toIsoString=F("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cs),us.lang=li,
|
|
1235
1235
|
// FORMATTING
|
|
1236
1236
|
H("X",0,0,"unix"),H("x",0,0,"valueOf"),
|
|
1237
1237
|
// PARSING
|
|
@@ -1251,216 +1251,211 @@ MONTH:"YYYY-MM"},r}()}));function Br(e,t){zn(e,t)}const Ur={en:{playNow:"Start n
|
|
|
1251
1251
|
/* eslint-disable quote-props */
|
|
1252
1252
|
/* ../casino-game-thumbnail/src/CasinoGameThumbnail.svelte generated by Svelte v3.59.2 */
|
|
1253
1253
|
function jr(e,t,n){const r=e.slice();return r[103]=t[n],r[105]=n,r}function zr(e,t,n){const r=e.slice();return r[100]=t[n],r}
|
|
1254
|
-
// (
|
|
1255
|
-
function Wr(e){let t;
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
// (
|
|
1264
|
-
function qr(e){let t,n,r=/*$_*/e[
|
|
1265
|
-
// (
|
|
1266
|
-
function Xr(e){let t,n;return{c(){t=f("
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
// (
|
|
1273
|
-
function
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
// (
|
|
1280
|
-
function ni(e){let t;
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
return 65541&t[0]&&(P=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(I=null),null==P&&(P=!(Ir(/*userAgent*/e[37])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),P?ui:(null==I&&(I=!!(Ir(/*userAgent*/e[37])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),I?ci:void 0)}let W=z(t,[-1,-1,-1,-1]),V=W&&W(t),Z=/*showgamename*/"true"===t[10]&&di(t);return{c(){n=f("div"),r=f("div"),i=f("img"),o=v(),c=f("div"),u=f("div"),H&&H.c(),p=v(),g=f("p"),b=y(/*gamename*/t[4]),w=v(),B&&B.c(),_=v(),F=f("span"),C=y(R),E=v(),G=f("div"),k=f("div"),U&&U.c(),M=v(),Y&&Y.c(),L=v(),j&&j.c(),T=v(),V&&V.c(),D=v(),Z&&Z.c(),this.c=e,l(i.src,a=/*gamethumbnail*/t[3])||x(i,"src",a),x(i,"class",s=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*loaded*/t[18]?"Loaded":""}`),x(i,"alt",""),x(i,"loading","lazy"),x(g,"class","GameInfoName"),x(g,"title",/*gamename*/t[4]),x(u,"class","GameInfo"),x(F,"class","GameInfoVendor"),x(c,"class","GameInfoWrapper"),x(k,"class","GameExtraInfo"),x(G,"class","GameExtraInfoContainer"),x(r,"class",A="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[23]&&/*openhours*/t[24].value||/*livegamedata*/t[13]&&/*istablefull*/t[33]?"GameInnerContainerUnavailable":"")),x(n,"class",O=`GameContainer ${/*extraclassname*/t[34]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),$(n,"WithGameName",/*showgamename*/t[10])},m(e,a){h(e,n,a),d(n,r),d(r,i),
|
|
1301
|
-
/*img_binding*/t[62](i),d(r,o),d(r,c),d(c,u),H&&H.m(u,null),d(u,p),d(u,g),d(g,b),d(u,w),B&&B.m(u,null),d(c,_),d(c,F),d(F,C),d(r,E),d(r,G),d(G,k),U&&U.m(k,null),d(k,M),Y&&Y.m(k,null),d(k,L),j&&j.m(k,null),d(G,T),V&&V.m(G,null),d(n,D),Z&&Z.m(n,null)
|
|
1302
|
-
/*div5_binding*/,t[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(i.src,a=/*gamethumbnail*/e[3])&&x(i,"src",a),/*gamecellsize, loaded*/262656&t[0]&&s!==(s=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[18]?"Loaded":""}`)&&x(i,"class",s),/*gamefavorite, isLoggedIn*/65537&t[0]&&(N=!Ir(/*userAgent*/e[37])&&!/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]),N?H?H.p(e,t):(H=Wr(e),H.c(),H.m(u,p)):H&&(H.d(1),H=null),/*gamename*/16&t[0]&&S(b,/*gamename*/e[4]),/*gamename*/16&t[0]&&x(g,"title",/*gamename*/e[4]),/*lang*/e[1]?B?B.p(e,t):(B=Kr(e),B.c(),B.m(u,null)):B&&(B.d(1),B=null),/*gamevendor*/32&t[0]&&R!==(R=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&S(C,R),/*gameisnew*/e[7]?U?U.p(e,t):(U=qr(e),U.c(),U.m(k,M)):U&&(U.d(1),U=null),/*gametag*/e[8]?Y?Y.p(e,t):(Y=Xr(e),Y.c(),Y.m(k,L)):Y&&(Y.d(1),Y=null),/*livegamedata*/e[13]?j?j.p(e,t):(j=Jr(e),j.c(),j.m(k,null)):j&&(j.d(1),j=null),W===(W=z(e,t))&&V?V.p(e,t):(V&&V.d(1),V=W&&W(e),V&&(V.c(),V.m(G,null))),/*livegamedata, isopen, openhours*/25174016&t[0]|/*istablefull*/4&t[1]&&A!==(A="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[23]&&/*openhours*/e[24].value||/*livegamedata*/e[13]&&/*istablefull*/e[33]?"GameInnerContainerUnavailable":""))&&x(r,"class",A),/*showgamename*/"true"===e[10]?Z?Z.p(e,t):(Z=di(e),Z.c(),Z.m(n,null)):Z&&(Z.d(1),Z=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/8&t[1]&&O!==(O=`GameContainer ${/*extraclassname*/e[34]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&x(n,"class",O),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/8&t[1]&&$(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&m(n)
|
|
1303
|
-
/*img_binding*/,t[62](null),H&&H.d(),B&&B.d(),U&&U.d(),Y&&Y.d(),j&&j.d(),V&&V.d(),Z&&Z.d()
|
|
1304
|
-
/*div5_binding*/,t[67](null)}}}const mi="blackjack",pi="roulette",fi="doubleballroulette",gi=5;function yi(e,t,n){let r;u(e,Pr,(e=>n(36,r=e)));let i,a,s,o,l,c,d,h,m,p,f,g,y,v,b,w,x,_,S,$,F,C,E,k,L,{session:T=""}=t,{userid:P=""}=t,{lang:I="en"}=t,{clientstyling:A=""}=t,{clientstylingurl:O=""}=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,{livelobbyendpoint:te=""}=t,{connectlive:ne=""}=t,{visibilityconnect:re=""}=t,{integratedgameframedesktop:ie="false"}=t,{integratedgameframemobile:ae="false"}=t,{casinogamesgridslider:se="false"}=t,oe=!1,le=!1,ce=!1,ue=window.navigator.userAgent,de="HH:mm",he={},me=[],pe="EUR",fe="";const ge=[mi],ye=[pi,fi],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(Ur).forEach((e=>{Br(e,Ur[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,oe=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,o=null)},xe=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
|
|
1254
|
+
// (541:8) {#if lang}
|
|
1255
|
+
function Wr(e){let t,n,r,i,a=/*$_*/e[35]("playNow")+"";return{c(){t=f("button"),n=y(a),x(t,"class","GameInfoBtn")},m(a,s){h(a,t,s),d(t,n),r||(i=w(t,"click",/*click_handler*/e[62]),r=!0)},p(e,t){/*$_*/16&t[1]&&a!==(a=/*$_*/e[35]("playNow")+"")&&S(n,a)},d(e){e&&m(t),r=!1,i()}}}
|
|
1256
|
+
// (551:8) {#if gameisnew}
|
|
1257
|
+
function Vr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=f("span"),n=y(r),x(t,"class","GameExtraInfoLabel NewGameTag")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("new")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
|
1258
|
+
// (554:8) {#if gametag}
|
|
1259
|
+
function Zr(e){let t,n;return{c(){t=f("span"),n=y(/*gametag*/e[8]),x(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*gametag*/256&t[0]&&S(n,/*gametag*/e[8])},d(e){e&&m(t)}}}
|
|
1260
|
+
// (557:8) {#if livegamedata}
|
|
1261
|
+
function Kr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&qr(e);function i(e,t){/*isopen*/
|
|
1262
|
+
return e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===di?Jr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===hi?Xr:void 0}let a=i(e),s=a&&a(e);return{c(){r&&r.c(),t=v(),s&&s.c(),n=b()},m(e,i){r&&r.m(e,i),h(e,t,i),s&&s.m(e,i),h(e,n,i)},p(e,o){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,o):(r=qr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=i(e))&&s?s.p(e,o):(s&&s.d(1),s=a&&a(e),s&&(s.c(),s.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&m(t),s&&s.d(e),e&&m(n)}}}
|
|
1263
|
+
// (558:10) {#if !isopen && starttime && timeformat}
|
|
1264
|
+
function qr(e){let t,n,r,i,a,s,o,l,c,u,p=/*$_*/e[35]("opens")+"",g=Hr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",b=/*renderDealerName*/e[41](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=f("div"),n=f("div"),r=y(p),i=v(),a=f("span"),s=y(g),o=v(),l=new F(!1),c=v(),u=new F(!1),x(n,"class","ClosedGame"),l.a=c,u.a=null,x(t,"class","GameProp LiveProps")},m(e,m){h(e,t,m),d(t,n),d(n,r),d(n,i),d(n,a),d(a,s),d(t,o),l.m(b,t),d(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&p!==(p=/*$_*/e[35]("opens")+"")&&S(r,p),/*starttime, timeformat*/3145728&t[0]&&g!==(g=Hr.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&S(s,g),/*dealername*/8&t[1]&&b!==(b=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&l.p(b),/*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&&m(t)}}}
|
|
1265
|
+
// (591:70)
|
|
1266
|
+
function Xr(e){let t,n,r,i,a,s,o=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"",c=new Array(pi),u=[];for(let t=0;t<c.length;t+=1)u[t]=ni(jr(e,c,t));return{c(){t=f("div"),n=f("div");for(let e=0;e<u.length;e+=1)u[e].c();r=v(),i=new F(!1),a=v(),s=new F(!1),x(n,"class","LiveIcons"),i.a=a,s.a=null,x(t,"class",/*roulettecontainerclassname*/e[30])},m(c,m){h(c,t,m),d(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
|
|
1267
|
+
/*div0_binding*/e[63](n),d(t,r),i.m(o,t),d(t,a),s.m(l,t)},p(e,r){if(/*roulleteresults, isdouble*/536887296&r[0]|/*renderSpan, colorsourcearray*/2049&r[1]){let t;for(c=new Array(pi),t=0;t<c.length;t+=1){const i=jr(e,c,t);u[t]?u[t].p(i,r):(u[t]=ni(i),u[t].c(),u[t].m(n,null))}for(;t<u.length;t+=1)u[t].d(1);u.length=c.length}/*dealername*/8&r[1]&&o!==(o=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.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]&&x(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&m(t),p(u,n),
|
|
1268
|
+
/*div0_binding*/e[63](null)}}}
|
|
1269
|
+
// (570:10) {#if isopen && displaytype && displaytype === BLACKJACK}
|
|
1270
|
+
function Jr(e){let t,n,r,i,a,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*/
|
|
1271
|
+
return e[32]?ii:ri}let u=c(e),p=u(e);return{c(){t=f("div"),n=f("div"),p.c(),r=v(),i=new F(!1),a=v(),s=new F(!1),x(n,"class","LiveIcons"),i.a=a,s.a=null,x(t,"class","GameProp LiveProps BlackjackDisplay"),x(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){h(e,t,c),d(t,n),p.m(n,null),d(t,r),i.m(o,t),d(t,a),s.m(l,t)},p(e,t){u===(u=c(e))&&p?p.p(e,t):(p.d(1),p=u(e),p&&(p.c(),p.m(n,null))),/*dealername*/8&t[1]&&o!==(o=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.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&&m(t),p.d()}}}
|
|
1272
|
+
// (595:18) {#if roulleteresults && roulleteresults[i]}
|
|
1273
|
+
function Qr(e){let t;function n(e,t){/*isdouble*/
|
|
1274
|
+
return e[29]?ti:ei}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),h(e,t,n)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&m(t)}}}
|
|
1275
|
+
// (601:20) {:else}
|
|
1276
|
+
function ei(e){let t,n,r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[105]?"First":""),e[105],/*roulleteresults*/e[14][/*i*/e[105]],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[105]]])+"";return{c(){t=new F(!1),n=b(),t.a=n},m(e,i){t.m(r,e,i),h(e,n,i)},p(e,n){/*roulleteresults*/16384&n[0]|/*colorsourcearray*/1&n[1]&&r!==(r=/*renderSpan*/e[42]("LatestResult "/*i*/+(/*i*/0===e[105]?"First":""),e[105],/*roulleteresults*/e[14][/*i*/e[105]],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[105]]])+"")&&t.p(r)},d(e){e&&m(n),e&&t.d()}}}
|
|
1277
|
+
// (596:20) {#if isdouble}
|
|
1278
|
+
function ti(e){let t,n,r,i,a,s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[105]?"First":""),`first${/*i*/e[105]}${/*roulleteresults*/e[14][/*i*/e[105]][0]}`/*roulleteresults*/,e[14][/*i*/e[105]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[105]][0]])+"",o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[105]?"First":""),`second${/*i*/e[105]}${/*roulleteresults*/e[14][/*i*/e[105]][1]}`/*roulleteresults*/,e[14][/*i*/e[105]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[105]][1]])+"";return{c(){t=f("div"),n=new F(!1),r=v(),i=new F(!1),a=v(),n.a=r,i.a=a,x(t,"class","Double")},m(e,l){h(e,t,l),n.m(s,t),d(t,r),i.m(o,t),d(t,a)},p(e,t){/*roulleteresults*/16384&t[0]|/*colorsourcearray*/1&t[1]&&s!==(s=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[105]?"First":""),`first${/*i*/e[105]}${/*roulleteresults*/e[14][/*i*/e[105]][0]}`/*roulleteresults*/,e[14][/*i*/e[105]][0],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[105]][0]])+"")&&n.p(s),/*roulleteresults*/16384&t[0]|/*colorsourcearray*/1&t[1]&&o!==(o=/*renderSpan*/e[42]("LatestResult "+(/*i*/0===e[105]?"First":""),`second${/*i*/e[105]}${/*roulleteresults*/e[14][/*i*/e[105]][1]}`/*roulleteresults*/,e[14][/*i*/e[105]][1],/*colorsourcearray*/e[31][/*roulleteresults*/e[14][/*i*/e[105]][1]])+"")&&i.p(o)},d(e){e&&m(t)}}}
|
|
1279
|
+
// (594:16) {#each new Array(numberofdisplayedresults) as garbage, i}
|
|
1280
|
+
function ni(e){let t,n=/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[105]]&&Qr(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e[105]]?n?n.p(e,r):(n=Qr(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
|
|
1281
|
+
// (577:16) {:else}
|
|
1282
|
+
function ri(e){let t,n=/*seats*/e[24],r=[];for(let t=0;t<n.length;t+=1)r[t]=ai(zr(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);h(e,t,n)},p(e,i){if(/*currentoccupiedseats, seats*/285212672&i[0]|/*contains*/256&i[1]){let a;for(n=/*seats*/e[24],a=0;a<n.length;a+=1){const s=zr(e,n,a);r[a]?r[a].p(s,i):(r[a]=ai(s),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(e){p(r,e),e&&m(t)}}}
|
|
1283
|
+
// (573:16) {#if istablefull}
|
|
1284
|
+
function ii(e){let t,n,r=/*$_*/e[35]("full")+"";return{c(){t=f("span"),n=y(r),x(t,"class","FullTable")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("full")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
|
1285
|
+
// (578:18) {#each seats as seatData}
|
|
1286
|
+
function ai(e){let t,n,r,i,a,s;return{c(){t=f("span"),n=g("svg"),r=g("path"),i=g("path"),a=v(),x(r,"d","M11.58 6c-1.17 0-2.13.95-2.13 2.12v.4a8.82 8.82 0 00-2.92-.4c-1.54 0-2.45.22-2.92.4v-.4A2.136 2.136 0 001.48 6a1.33 1.33 0 00-.5 2.55c.14.07.24.21.24.37l.26 1.06c0 .96.73 1.75 1.65 1.85a.65.65 0 00.28 1.23.65.65 0 00.3-1.22h5.64a.65.65 0 00.3 1.22.65.65 0 00.28-1.23c.93-.1 1.65-.9 1.65-1.85l.27-1.06c0-.16.1-.3.24-.37A1.33 1.33 0 0011.58 6z"),x(i,"d","M4.34 7.5c.55-.1 1.27-.17 2.2-.17.91 0 1.63.07 2.18.17.21-.96.9-1.74 1.8-2.1V4a3.99 3.99 0 00-7.97 0v1.4c.9.36 1.58 1.14 1.79 2.1z"),x(n,"xmlns","http://www.w3.org/2000/svg"),x(n,"width","13"),x(n,"height","14"),x(n,"viewBox","0 0 13 14"),x(t,"class",s=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[100].toString())?"ClosedSeat":"OpenSeat")},m(e,s){h(e,t,s),d(t,n),d(n,r),d(n,i),d(t,a)},p(e,n){/*currentoccupiedseats, seats*/285212672&n[0]&&s!==(s=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[100].toString())?"ClosedSeat":"OpenSeat")&&x(t,"class",s)},d(e){e&&m(t)}}}
|
|
1287
|
+
// (632:79)
|
|
1288
|
+
function si(t){let n;return{c(){n=f("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>',x(n,"class","FavIconContainer")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
|
|
1289
|
+
// (619:68)
|
|
1290
|
+
function oi(t){let n,r,i;return{c(){n=f("div"),n.innerHTML='<svg version="1.1" class="UnfavoredIcon" part="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"></path></svg>',x(n,"class","FavIconContainer")},m(e,a){h(e,n,a),r||(i=w(n,"click",/*click_handler_2*/t[65]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
|
|
1291
|
+
// (613:6) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
|
1292
|
+
function li(t){let n,r,i;return{c(){n=f("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>',x(n,"class","FavIconContainer")},m(e,a){h(e,n,a),r||(i=w(n,"click",/*click_handler_1*/t[64]),r=!0)},p:e,d(e){e&&m(n),r=!1,i()}}}
|
|
1293
|
+
// (641:2) {#if showgamename === 'true'}
|
|
1294
|
+
function ci(e){let t,n;return{c(){t=f("p"),n=y(/*gamename*/e[4]),x(t,"class","GameNameBelow"),x(t,"title",/*gamename*/e[4])},m(e,r){h(e,t,r),d(t,n)},p(e,r){/*gamename*/16&r[0]&&S(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&x(t,"title",/*gamename*/e[4])},d(e){e&&m(t)}}}function ui(t){let n,r,i,a,s,o,c,u,p,g,b,w,_,F,C,G,E,k,M,L,T,P,I,A,D,O,N=/*gamevendor*/(t[5]?/*gamevendor*/t[5]:"-")+"",R=/*lang*/t[1]&&Wr(t),H=/*gameisnew*/t[7]&&Vr(t),B=/*gametag*/t[8]&&Zr(t),U=/*livegamedata*/t[13]&&Kr(t);function Y(e,t){/*gamefavorite, isLoggedIn, favorites*/
|
|
1295
|
+
return 65541&t[0]&&(T=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(P=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(I=null),null==T&&(T=!(Ir(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),T?li:(null==P&&(P=!(Ir(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),P?oi:(null==I&&(I=!!(Ir(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),I?si:void 0))}let j=Y(t,[-1,-1,-1,-1]),z=j&&j(t),W=/*showgamename*/"true"===t[10]&&ci(t);return{c(){n=f("div"),r=f("div"),i=f("img"),o=v(),c=f("div"),u=f("div"),p=f("p"),g=y(/*gamename*/t[4]),b=v(),R&&R.c(),w=v(),_=f("span"),F=y(N),C=v(),G=f("div"),E=f("div"),H&&H.c(),k=v(),B&&B.c(),M=v(),U&&U.c(),L=v(),z&&z.c(),D=v(),W&&W.c(),this.c=e,l(i.src,a=/*gamethumbnail*/t[3])||x(i,"src",a),x(i,"class",s=`GameBg GameBg-${/*gamecellsize*/t[9]} ${/*loaded*/t[17]?"Loaded":""}`),x(i,"alt",""),x(i,"loading","lazy"),x(p,"class","GameInfoName"),x(p,"title",/*gamename*/t[4]),x(u,"class","GameInfo"),x(_,"class","GameInfoVendor"),x(c,"class","GameInfoWrapper"),x(E,"class","GameExtraInfo"),x(G,"class","GameExtraInfoContainer"),x(r,"class",A="GameInnerContainer "+(/*livegamedata*/t[13]&&!/*isopen*/t[22]&&/*openhours*/t[23].value||/*livegamedata*/t[13]&&/*istablefull*/t[32]?"GameInnerContainerUnavailable":"")),x(n,"class",O=`GameContainer ${/*extraclassname*/t[33]} ${/*casinogamesgridslider*/"true"==t[11]?"CasinoGamesGridSlider":""}`),$(n,"WithGameName",/*showgamename*/t[10])},m(e,a){h(e,n,a),d(n,r),d(r,i),
|
|
1296
|
+
/*img_binding*/t[61](i),d(r,o),d(r,c),d(c,u),d(u,p),d(p,g),d(u,b),R&&R.m(u,null),d(c,w),d(c,_),d(_,F),d(r,C),d(r,G),d(G,E),H&&H.m(E,null),d(E,k),B&&B.m(E,null),d(E,M),U&&U.m(E,null),d(G,L),z&&z.m(G,null),d(n,D),W&&W.m(n,null)
|
|
1297
|
+
/*div5_binding*/,t[66](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!l(i.src,a=/*gamethumbnail*/e[3])&&x(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&s!==(s=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&x(i,"class",s),/*gamename*/16&t[0]&&S(g,/*gamename*/e[4]),/*gamename*/16&t[0]&&x(p,"title",/*gamename*/e[4]),/*lang*/e[1]?R?R.p(e,t):(R=Wr(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(F,N),/*gameisnew*/e[7]?H?H.p(e,t):(H=Vr(e),H.c(),H.m(E,k)):H&&(H.d(1),H=null),/*gametag*/e[8]?B?B.p(e,t):(B=Zr(e),B.c(),B.m(E,M)):B&&(B.d(1),B=null),/*livegamedata*/e[13]?U?U.p(e,t):(U=Kr(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(G,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":""))&&x(r,"class",A),/*showgamename*/"true"===e[10]?W?W.p(e,t):(W=ci(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":""}`)&&x(n,"class",O),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&$(n,"WithGameName",/*showgamename*/e[10])},i:e,o:e,d(e){e&&m(n)
|
|
1298
|
+
/*img_binding*/,t[61](null),R&&R.d(),H&&H.d(),B&&B.d(),U&&U.d(),z&&z.d(),W&&W.d()
|
|
1299
|
+
/*div5_binding*/,t[66](null)}}}const di="blackjack",hi="roulette",mi="doubleballroulette",pi=5;function fi(e,t,n){let r;u(e,Pr,(e=>n(35,r=e)));let i,a,s,o,l,c,d,h,m,p,f,g,y,v,b,w,x,_,S,$,F,C,G,k,L,{session:T=""}=t,{userid:P=""}=t,{lang:I="en"}=t,{clientstyling:A=""}=t,{clientstylingurl:O=""}=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,{livelobbyendpoint:te=""}=t,{connectlive:ne=""}=t,{visibilityconnect:re=""}=t,{integratedgameframedesktop:ie="false"}=t,{integratedgameframemobile:ae="false"}=t,{casinogamesgridslider:se="false"}=t,oe=!1,le=!1,ce=window.navigator.userAgent,ue="HH:mm",de={},he=[],me="EUR",pe="";const fe=[di],ge=[hi,mi],ye={"01":"Yellow","02":"Blue",10:"Green",40:"Red","05":"Purple",20:"Orange",X7:"Gold",X2:"Gold"},ve={1:"Red",3:"Red",5:"Red",7:"Red",9:"Red",12:"Red",14:"Red",16:"Red",18:"Red",19:"Red",21:"Red",23:"Red",25:"Red",27:"Red",30:"Red",32:"Red",34:"Red",36:"Red",2:"Black",4:"Black",6:"Black",8:"Black",10:"Black",11:"Black",13:"Black",15:"Black",17:"Black",20:"Black",22:"Black",24:"Black",26:"Black",28:"Black",29:"Black",31:"Black",33:"Black",35:"Black",0:"Green","00":"Green"};Object.keys(Ur).forEach((e=>{Br(e,Ur[e])}));const be=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,oe=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,o=null)},we=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
|
|
1305
1300
|
//Analytics event -- if game was searched
|
|
1306
1301
|
"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
|
|
1307
1302
|
// Case mobile
|
|
1308
|
-
Ir(
|
|
1303
|
+
Ir(ce)&&"true"==ae?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Ir(ce),source:"GameThumbnail",identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href):Ir(ce)&&"false"==ae&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ir(ce)},window.location.href),
|
|
1309
1304
|
// Case desktop
|
|
1310
|
-
Ir(
|
|
1305
|
+
Ir(ce)||"true"!=ie?Ir(ce)||"false"!=ie||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Ir(ce)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Ir(ce),identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href)},xe=e=>{let t="thumbnail";Z?window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:t},window.location.href):window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:t},window.location.href)},_e=()=>{var e;e=I,mr.set(e)},Se=()=>{te&&EventSource&&!l&&U&&j&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${U}/${j}`),l.addEventListener("message",Fe))},$e=()=>{l&&(l.close(),l=void 0)},Fe=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
|
|
1311
1306
|
// eslint-disable-next-line no-console
|
|
1312
1307
|
console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
|
|
1313
1308
|
r,Seats:// Roads, // for baccarat
|
|
1314
|
-
a,Open:s}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(
|
|
1309
|
+
a,Open:s}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(13,o.currentOccupiedSeats=a,o),await D());break;case"RouletteResultsUpdated":r&&Array.isArray(r)&&(v=r,n(13,o.currentRouletteNumbers=r,o),await D());break;case"DoubleBallRouletteResultsUpdated":r&&Array.isArray(r)&&(b=r,n(13,o.currentDoubleBallRouletteNumbers=r,o),await D());break;case"TableOpened":case"TableClosed":n(22,h=s),n(13,o.isOpen=s,o),await D()}// default case
|
|
1315
1310
|
}}// default case
|
|
1316
|
-
},
|
|
1311
|
+
},Ce=(e,t=",")=>null!=e?`${e}`.replace(/\B(?=(\d{3})+(?!\d))/g,t):"",Ge=(e,t)=>e.some((e=>e===t)),Ee=()=>{if(o){if(n(22,h=o.isOpen),de=o.betLimit||{},n(23,m=o.openHours),n(24,he=(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,d=e),n(21,ue=t||ue)}h&&n(19,c=(e=>{let t=null;if(e){const{vendorCategory:n}=e;if(n){const e=n.toLowerCase();Ge(fe,e)?t=di:Ge(ge,e)&&(t=hi)}// else if (contains(baccaratCategory, gameTypeToLower)) {
|
|
1317
1312
|
// GameComponent = 'baccarat';
|
|
1318
1313
|
}// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
|
|
1319
1314
|
// GameComponent = 'poker';
|
|
1320
1315
|
// }
|
|
1321
|
-
return t})(o)),n(
|
|
1316
|
+
return t})(o)),n(25,me=Yr[J]),n(26,p=(de.min||{})[J]),n(27,f=(de.max||{})[J]),v=o.currentRouletteNumbers,b=o.currentDoubleBallRouletteNumbers,w=o.vendorCategory,n(29,x=w.toLowerCase()===mi),n(14,_=(x?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=x?" Double":""),n(31,$=Ge(ge,w.toLowerCase())?ve:ye),C=F,n(32,F=Array.isArray(y)&&y.length===g),o.dealer&&n(34,k=o.dealer.DealerName),L=o.numberOfPlayers,n(33,pe="ListGame"),o.isOpen&&o.currentRouletteNumbers&&n(33,pe+=" GameBackdrop"),h&&F&&p&&f&&o.currentOccupiedSeats?n(33,pe+=" GameContainerDimmed"):!1===h&&d&&n(33,pe+=" GameContainerFullyDimmed"),s&&(!C&&F?(n(33,pe+=" PulsatingRedShadow"),n(33,pe=pe.replace(" PulsatingGreenShadow",""))):C&&!F&&(n(33,pe+=" PulsatingGreenShadow"),n(33,pe=pe.replace(" PulsatingRedShadow",""))))}},ke=()=>{let e=new URL(O),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{s.appendChild(t)}),1)}))};E((()=>(window.addEventListener("message",be,!1),()=>{window.removeEventListener("message",be),l&&l.removeEventListener("message",Fe)})));return e.$$set=e=>{"session"in e&&n(43,T=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,O=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),"livelobbyendpoint"in e&&n(54,te=e.livelobbyendpoint),"connectlive"in e&&n(55,ne=e.connectlive),"visibilityconnect"in e&&n(56,re=e.visibilityconnect),"integratedgameframedesktop"in e&&n(57,ie=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(58,ae=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,se=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/16777216&e.$$.dirty[1]&&ne&&("disconnect"===ne?$e():"connect"===ne&&Se()),/*visibilityconnect*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?$e():"connect"===re&&"connect"===ne&&Se()),/*lang*/2&e.$$.dirty[0]&&I&&_e(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&T&&P&&ee&&(n(16,oe=!0),i=P),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(18,a.onload=()=>{n(17,le=!0)},a),/*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]&&O&&s&&ke(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&N&&fetch(N).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Br(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&K&&O&&ke(),/*endpoint, livelobbyendpoint*/12582912&e.$$.dirty[1]&&ee&&te&&(()=>{let e=new URL(`${te.split("?")[0]}`);e.searchParams.append("platform",Ar(ce)),e.searchParams.append("language",I),
|
|
1322
1317
|
// let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
|
|
1323
|
-
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,o=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&o&&ke(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&E&&_&&(()=>{const e="FirstElementAnimated",t=E.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,se,s,o,_,E,oe,le,ce,a,c,d,de,h,m,me,pe,p,f,y,x,S,$,F,fe,k,r,ue,xe,_e,Ge,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ee(e)}-${Ee(t)}`),L&&(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">${L}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},T,P,A,O,N,Y,V,q,J,Q,ee,te,ne,re,ie,ae,ve,be,function(e){M[e?"unshift":"push"]((()=>{a=e,n(19,a)}))},()=>_e(j),()=>xe(j),function(e){M[e?"unshift":"push"]((()=>{E=e,n(15,E)}))},()=>_e(j),function(e){M[e?"unshift":"push"]((()=>{s=e,n(12,s)}))}]}function vi(e,t){zn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends z{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}.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)}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{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}.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),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},yi,hi,a,{session:44,userid:45,lang:1,clientstyling:46,clientstylingurl:47,translationurl:48,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:49,gameid:6,gameisnew:7,gametag:8,gamefunmode:50,gamefavorite:0,gamecellsize:9,showfavoredcategory:51,showgamename:10,currency:52,gamepagemodalurl:53,endpoint: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&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[44]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[45]}set userid(e){this.$$set({userid:e}),H()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),H()}get clientstyling(){return this.$$.ctx[46]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[47]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[48]}set translationurl(e){this.$$set({translationurl:e}),H()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),H()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),H()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),H()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),H()}get gamelaunchurl(){return this.$$.ctx[49]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),H()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),H()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),H()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),H()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$$set({gamefunmode:e}),H()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),H()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),H()}get showfavoredcategory(){return this.$$.ctx[51]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),H()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),H()}get currency(){return this.$$.ctx[52]}set currency(e){this.$$set({currency:e}),H()}get gamepagemodalurl(){return this.$$.ctx[53]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get endpoint(){return this.$$.ctx[54]}set endpoint(e){this.$$set({endpoint:e}),H()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),H()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),H()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),H()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const bi={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:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},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"}};
|
|
1324
|
-
/* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.59.2 */function
|
|
1318
|
+
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,o=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&o&&Ee(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&G&&_&&(()=>{const e="FirstElementAnimated",t=G.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,se,s,o,_,G,oe,le,a,c,d,ue,h,m,he,me,p,f,y,x,S,$,F,pe,k,r,ce,we,xe,Ge,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ce(e)}-${Ce(t)}`),L&&(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">${L}</span>`),r||i?`\n <p class="LiveLimits">\n <span class="BetLimitLeft">\n ${i||""}\n </span>\n <span class="BetLimitRight">\n ${r||""}\n </span>\n </p>`:""},e=>e?`\n <p class="LiveLimits">\n <span class="DealerName">${r("dealer")}: ${e}</span>\n </p>\n `:"",(e,t,n,r="")=>{const i=`${e} ${r}`,a=t.toString().match(/first0|second0|0/g);return 0===t||a&&0!==a.length?`\n <span\n id=${t}\n class="${i}"\n >\n ${n}\n </span>\n `:`\n <span id=${t} class="${i}">\n ${n}\n </span>\n `},T,P,A,O,N,Y,V,q,J,Q,ee,te,ne,re,ie,ae,ye,ve,function(e){M[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>we(j),function(e){M[e?"unshift":"push"]((()=>{G=e,n(15,G)}))},()=>xe(j),()=>xe(j),function(e){M[e?"unshift":"push"]((()=>{s=e,n(12,s)}))}]}function gi(e,t){zn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends z{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),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},fi,ui,a,{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,livelobbyendpoint:54,connectlive:55,visibilityconnect:56,integratedgameframedesktop:57,integratedgameframemobile:58,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:59,ROULETTE_COLOR_MAP:60},null,[-1,-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","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}),H()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),H()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),H()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),H()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),H()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),H()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),H()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),H()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),H()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),H()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),H()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),H()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),H()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),H()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),H()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),H()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),H()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),H()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),H()}get livelobbyendpoint(){return this.$$.ctx[54]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),H()}get connectlive(){return this.$$.ctx[55]}set connectlive(e){this.$$set({connectlive:e}),H()}get visibilityconnect(){return this.$$.ctx[56]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[57]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[58]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),H()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[59]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[60]}});const yi={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:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},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"}};
|
|
1319
|
+
/* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.59.2 */function vi(e,t,n){const r=e.slice();return r[36]=t[n],r[37]=t,r[38]=n,r}
|
|
1325
1320
|
// (178:4) {#if !isLoading}
|
|
1326
|
-
function
|
|
1327
|
-
return e[7]
|
|
1321
|
+
function bi(e){let t,n,i,a,s,o,l,c,u,b,_,$,F,C,G,E,k,M,L,T,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*/
|
|
1322
|
+
return e[7]?_i:xi}let Z=V(e),K=Z(e),q=/*vendorArray*/e[5],X=[];for(let t=0;t<q.length;t+=1)X[t]=Fi(vi(e,q,t));return{c(){t=f("div"),n=f("div"),i=f("div"),a=g("svg"),s=g("path"),o=v(),l=f("div"),c=f("span"),u=y(j),b=v(),_=f("div"),$=f("span"),F=y(z),C=v(),K.c(),G=v(),E=f("span"),k=g("svg"),M=g("path"),P=v(),I=f("div"),A=f("ul");for(let e=0;e<X.length;e+=1)X[e].c();D=v(),O=f("button"),N=y(W),x(s,"id","noun_filter_736223"),x(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"),x(s,"transform","translate(-5 -6.2)"),x(s,"fill","#fff"),x(a,"xmlns","http://www.w3.org/2000/svg"),x(a,"width","16"),x(a,"height","16"),x(a,"viewBox","0 0 16 16"),x(c,"class","FilterName"),x(_,"class","FilterValueContainer"),x(l,"class","FilterTextContainer"),x(i,"class","FilterMainArea"),x(M,"id","arrow"),x(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"),x(M,"transform","translate(-274.511 -441.088)"),x(M,"fill","#d1d1d1"),x(k,"xmlns","http://www.w3.org/2000/svg"),x(k,"width","14"),x(k,"height","6.835"),x(k,"viewBox","0 0 14 6.835"),x(E,"class",L="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":"")),x(n,"class",T="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),x(A,"class","FilterDropdown"),x(O,"class","ClearFilters"),O.disabled=R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length,x(I,"class",H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":"")),x(t,"class",B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))},m(r,m){h(r,t,m),d(t,n),d(n,i),d(i,a),d(a,s),d(i,o),d(i,l),d(l,c),d(c,u),d(l,b),d(l,_),d(_,$),d($,F),d(_,C),K.m(_,null),d(n,G),d(n,E),d(E,k),d(k,M),d(t,P),d(t,I),d(I,A);for(let e=0;e<X.length;e+=1)X[e]&&X[e].m(A,null);d(I,D),d(I,O),d(O,N),U||(Y=[w(n,"click",/*click_handler*/e[22]),w(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(F,z),Z===(Z=V(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(_,null))),/*isFilterActive*/16&r[0]&&L!==(L="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&x(E,"class",L),/*isFilterActive*/16&r[0]&&T!==(T="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&x(n,"class",T),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(q=/*vendorArray*/e[5],t=0;t<q.length;t+=1){const n=vi(e,q,t);X[t]?X[t].p(n,r):(X[t]=Fi(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":""))&&x(I,"class",H),/*addfilterselector, addsortingselector*/3&r[0]&&B!==(B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))&&x(t,"class",B)},d(e){e&&m(t),K.d(),p(X,e),U=!1,r(Y)}}}
|
|
1328
1323
|
// (175:2) {#if hasErrors}
|
|
1329
|
-
function
|
|
1324
|
+
function wi(e){let t,n,r=/*$_*/e[11]("500")+"";return{c(){t=f("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("500")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
|
1330
1325
|
// (191:14) {:else}
|
|
1331
|
-
function
|
|
1326
|
+
function xi(e){let t,n;return{c(){t=f("span"),n=y(/*selectionNumber*/e[8]),x(t,"class","FilterCounter")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*selectionNumber*/256&t[0]&&S(n,/*selectionNumber*/e[8])},d(e){e&&m(t)}}}
|
|
1332
1327
|
// (189:14) {#if fullSelection}
|
|
1333
|
-
function
|
|
1328
|
+
function _i(e){let t,n,r=/*$_*/e[11]("all")+"";return{c(){t=f("span"),n=y(r),x(t,"class","FilterCounter")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("all")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
|
1334
1329
|
// (213:50)
|
|
1335
|
-
function
|
|
1330
|
+
function Si(e){let t,n;return{c(){t=f("img"),l(t.src,n=/*vendor*/e[36].logo)||x(t,"src",n),x(t,"alt","vendor logo")},m(e,n){h(e,t,n)},p(e,r){/*vendorArray*/32&r[0]&&!l(t.src,n=/*vendor*/e[36].logo)&&x(t,"src",n)},d(e){e&&m(t)}}}
|
|
1336
1331
|
// (211:16) {#if filterbylogo === "false"}
|
|
1337
|
-
function
|
|
1332
|
+
function $i(e){let t,n,r,i,a,s,o,l,c=/*vendor*/e[36].name+"",u=/*vendor*/e[36].games.count+"";return{c(){t=f("div"),n=f("span"),r=y(c),i=v(),a=f("span"),s=y("("),o=y(u),l=y(")"),x(t,"class","FilterItemLabel")},m(e,c){h(e,t,c),d(t,n),d(n,r),d(t,i),d(t,a),d(a,s),d(a,o),d(a,l)},p(e,t){/*vendorArray*/32&t[0]&&c!==(c=/*vendor*/e[36].name+"")&&S(r,c),/*vendorArray*/32&t[0]&&u!==(u=/*vendor*/e[36].games.count+"")&&S(o,u)},d(e){e&&m(t)}}}
|
|
1338
1333
|
// (206:10) {#each vendorArray as vendor}
|
|
1339
|
-
function
|
|
1334
|
+
function Fi(e){let t,n,i,a,s,o,l,c,u,p,g,y;function b(){
|
|
1340
1335
|
/*input_change_handler*/e[23].call(i,/*each_value*/e[37],/*vendor_index*/e[38])}function _(){/*click_handler_1*/
|
|
1341
1336
|
return e[24](/*vendor*/e[36])}function S(e,t){/*filterbylogo*/
|
|
1342
|
-
return"false"===e[2]
|
|
1343
|
-
return e[10]?
|
|
1337
|
+
return"false"===e[2]?$i:/*filterbylogo*/"true"===e[2]?Si:void 0}let $=S(e),F=$&&$(e);return{c(){t=f("li"),n=f("label"),i=f("input"),s=v(),o=f("span"),l=v(),F&&F.c(),c=v(),x(i,"type","checkbox"),x(i,"name","checkbox"),i.__value=a=/*vendor*/e[36].name,i.value=i.__value,x(o,"class","FiltersCheckmark"),x(n,"class","FilterLabel"),x(t,"class",u="FilterItem "+(/*filterbylogo*/"true"===e[2]?"FilterItemWithLogos":"")),t.value=p=/*vendor*/e[36].name},m(r,a){h(r,t,a),d(t,n),d(n,i),i.checked=/*vendor*/e[36].isFilterSelected,d(n,s),d(n,o),d(n,l),F&&F.m(n,null),d(t,c),g||(y=[w(i,"change",b),w(i,"click",_)],g=!0)},p(r,s){e=r,/*vendorArray*/32&s[0]&&a!==(a=/*vendor*/e[36].name)&&(i.__value=a,i.value=i.__value),/*vendorArray*/32&s[0]&&(i.checked=/*vendor*/e[36].isFilterSelected),$===($=S(e))&&F?F.p(e,s):(F&&F.d(1),F=$&&$(e),F&&(F.c(),F.m(n,null))),/*filterbylogo*/4&s[0]&&u!==(u="FilterItem "+(/*filterbylogo*/"true"===e[2]?"FilterItemWithLogos":""))&&x(t,"class",u),/*vendorArray*/32&s[0]&&p!==(p=/*vendor*/e[36].name)&&(t.value=p)},d(e){e&&m(t),F&&F.d(),g=!1,r(y)}}}function Ci(t){let n;function r(e,t){/*hasErrors*/
|
|
1338
|
+
return e[10]?wi:/*isLoading*/e[9]?void 0:bi}let i=r(t),a=i&&i(t);return{c(){n=f("div"),a&&a.c(),this.c=e},m(e,r){h(e,n,r),a&&a.m(n,null)
|
|
1344
1339
|
/*div_binding*/,t[26](n)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),a=i&&i(e),a&&(a.c(),a.m(n,null)))},i:e,o:e,d(e){e&&m(n),a&&a.d()
|
|
1345
|
-
/*div_binding*/,t[26](null)}}}function
|
|
1340
|
+
/*div_binding*/,t[26](null)}}}function Gi(e,t,n){let r;u(e,Pr,(e=>n(11,r=e)));let i,{endpoint:a=""}=t,{datasource:s=""}=t,{lang:o=""}=t,{translationurl:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:d=""}=t,{categoryid:h=""}=t,{addfilterselector:m="false"}=t,{addsortingselector:p="false"}=t,{filterbylogo:f="false"}=t,g=!1,y=window.navigator.userAgent,v=[],b=[],w={},x=!1,_=0,S=!0,$=!1;
|
|
1346
1341
|
// start translations area
|
|
1347
1342
|
!function({withLocale:e,translations:t}){mr.subscribe((n=>{null==n&&(Un.set(t),mr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
1348
1343
|
/*dictionary.set(translations);
|
|
1349
|
-
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(
|
|
1344
|
+
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(yi).forEach((e=>{gi(e,yi[e])}));
|
|
1350
1345
|
// end custom styling area
|
|
1351
|
-
w[h]&&(w={[h]:[]});const F=()=>{n(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},C=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),
|
|
1346
|
+
w[h]&&(w={[h]:[]});const F=()=>{n(4,g=!g),window.postMessage({type:"FilterOpened"},window.location.href)},C=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),G()},G=()=>{
|
|
1352
1347
|
// update filters value
|
|
1353
1348
|
n(7,x=b.length===v.length||0==b.length),n(8,_=b.length)},k=()=>{const e=new URL(`${a}/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",Ar(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,S=!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),
|
|
1354
1349
|
// needed to force the update of the filters value
|
|
1355
|
-
|
|
1350
|
+
G()})).catch((e=>{console.error(e),n(10,$=!0),r(e)})).finally((()=>{n(9,S=!1)}))}))})(e)},L=()=>{n(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})),v.forEach((e=>e.isFilterSelected=!1)),
|
|
1356
1351
|
// this reassignation of the pointer value is required in order to have Svelte trigger a re-render
|
|
1357
|
-
n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,x=!0),n(4,g=!1)},T=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};
|
|
1358
|
-
/* ../casino-sort/src/CasinoSort.svelte generated by Svelte v3.59.2 */function
|
|
1352
|
+
n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,x=!0),n(4,g=!1)},T=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};E((()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)})));return e.$$set=e=>{"endpoint"in e&&n(15,a=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,d=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]&&a&&s&&h&&f&&k(),/*clientstyling, customStylingContainer*/524296&e.$$.dirty[0]&&c&&i&&(()=>{let e=document.createElement("style");e.innerHTML=c,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1048584&e.$$.dirty[0]&&d&&i&&(()=>{let e=document.createElement("style");fetch(new URL(d)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/262144&e.$$.dirty[0]&&l&&fetch(l).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{gi(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,p,f,i,g,v,b,x,_,S,$,r,F,C,L,a,s,o,l,c,d,h,()=>F(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>C(e),()=>L(),function(e){M[e?"unshift":"push"]((()=>{i=e,n(3,i)}))}]}function Ei(e,t){zn(e,t)}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends z{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),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Gi,Ci,a,{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&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}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}),H()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),H()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),H()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),H()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}});const ki={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:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},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"}};
|
|
1353
|
+
/* ../casino-sort/src/CasinoSort.svelte generated by Svelte v3.59.2 */function Mi(e,t,n){const r=e.slice();return r[23]=t[n],r}
|
|
1359
1354
|
// (114:4) {#if !isLoading}
|
|
1360
|
-
function
|
|
1355
|
+
function Li(e){let t,n,r,i,a,s,o,l,c,u,b,_,$,F,C,G,E,k,M,L,T,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]=Ti(Mi(e,U,t));return{c(){t=f("div"),n=f("div"),r=f("div"),i=g("svg"),a=g("g"),s=g("path"),o=g("path"),l=g("path"),c=v(),u=f("div"),b=f("span"),_=y(H),$=v(),F=f("div"),C=f("span"),G=y(B),E=v(),k=f("span"),M=g("svg"),L=g("path"),I=v(),A=f("div"),D=f("ul");for(let e=0;e<Y.length;e+=1)Y[e].c();x(s,"id","Path_5267"),x(s,"data-name","Path 5267"),x(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"),x(s,"transform","translate(-206.448 0)"),x(s,"fill","#fff"),x(o,"id","Path_5268"),x(o,"data-name","Path 5268"),x(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"),x(o,"transform","translate(0 0)"),x(o,"fill","#fff"),x(l,"id","Path_5269"),x(l,"data-name","Path 5269"),x(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"),x(l,"transform","translate(-412.896 0)"),x(l,"fill","#fff"),x(a,"id","sortby"),x(a,"transform","translate(-306 -342)"),x(i,"xmlns","http://www.w3.org/2000/svg"),x(i,"width","20"),x(i,"height","20"),x(i,"viewBox","0 0 26.003 22.819"),x(b,"class","SorterName"),x(F,"class","SorterValueContainer"),x(u,"class","SorterTextContainer"),x(r,"class","SorterMainArea"),x(L,"id","arrow"),x(L,"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"),x(L,"transform","translate(-274.511 -441.088)"),x(L,"fill","#d1d1d1"),x(M,"xmlns","http://www.w3.org/2000/svg"),x(M,"width","14"),x(M,"height","6.835"),x(M,"viewBox","0 0 14 6.835"),x(k,"class",T="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),x(n,"class",P="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),x(D,"class","SorterDropdown"),x(A,"class",O="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":"")),x(t,"class","SorterContainer")},m(m,p){h(m,t,p),d(t,n),d(n,r),d(r,i),d(i,a),d(a,s),d(a,o),d(a,l),d(r,c),d(r,u),d(u,b),d(b,_),d(u,$),d(u,F),d(F,C),d(C,G),d(n,E),d(n,k),d(k,M),d(M,L),d(t,I),d(t,A),d(A,D);for(let e=0;e<Y.length;e+=1)Y[e]&&Y[e].m(D,null);N||(R=w(n,"click",/*click_handler*/e[13]),N=!0)},p(e,t){if(/*$_*/16&t&&H!==(H=/*$_*/e[4]("sortby")+"")&&S(_,H),/*vendorSortingBy, $_*/24&t&&B!==(B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"")&&S(G,B),/*isSorterActive*/2&t&&T!==(T="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&x(k,"class",T),/*isSorterActive*/2&t&&P!==(P="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":""))&&x(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=Mi(e,U,n);Y[n]?Y[n].p(r,t):(Y[n]=Ti(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":""))&&x(A,"class",O)},d(e){e&&m(t),p(Y,e),N=!1,R()}}}
|
|
1361
1356
|
// (140:10) {#each Object.values(vendorMap) as sort}
|
|
1362
|
-
function
|
|
1363
|
-
return e[14](/*sort*/e[23])}return{c(){t=f("li"),n=f("label"),r=f("input"),a=v(),s=f("span"),o=v(),l=f("span"),c=y(b),u=v(),x(r,"type","radio"),x(r,"name","radio"),r.value=/*sort*/e[23],r.checked=i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"),x(s,"class","SortersCheckmark"),x(n,"class","SorterLabel CustomRadioButton"),x(t,"class","SorterItem"),t.value=/*sort*/e[23]},m(e,i){h(e,t,i),d(t,n),d(n,r),d(n,a),d(n,s),d(n,o),d(n,l),d(l,c),d(t,u),p||(g=w(r,"click",_),p=!0)},p(t,n){e=t,/*vendorSortingBy, $_*/24&n&&i!==(i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"))&&(r.checked=i)},d(e){e&&m(t),p=!1,g()}}}function
|
|
1357
|
+
function Ti(e){let t,n,r,i,a,s,o,l,c,u,p,g,b=/*sort*/e[23]+"";function _(){/*click_handler_1*/
|
|
1358
|
+
return e[14](/*sort*/e[23])}return{c(){t=f("li"),n=f("label"),r=f("input"),a=v(),s=f("span"),o=v(),l=f("span"),c=y(b),u=v(),x(r,"type","radio"),x(r,"name","radio"),r.value=/*sort*/e[23],r.checked=i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"),x(s,"class","SortersCheckmark"),x(n,"class","SorterLabel CustomRadioButton"),x(t,"class","SorterItem"),t.value=/*sort*/e[23]},m(e,i){h(e,t,i),d(t,n),d(n,r),d(n,a),d(n,s),d(n,o),d(n,l),d(l,c),d(t,u),p||(g=w(r,"click",_),p=!0)},p(t,n){e=t,/*vendorSortingBy, $_*/24&n&&i!==(i=/*vendorSortingBy*/e[3]==/*sort*/e[23]||/*vendorSortingBy*/null==e[3]&&/*sort*/e[23]==/*$_*/e[4]("all"))&&(r.checked=i)},d(e){e&&m(t),p=!1,g()}}}function Pi(t){let n;function r(e,t){if(!/*isLoading*/e[2])return Li}let i=r(t),a=i&&i(t);return{c(){n=f("div"),a&&a.c(),this.c=e},m(e,r){h(e,n,r),a&&a.m(n,null)
|
|
1364
1359
|
/*div_binding*/,t[15](n)},p(e,[t]){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),a=i&&i(e),a&&(a.c(),a.m(n,null)))},i:e,o:e,d(e){e&&m(n),a&&a.d()
|
|
1365
|
-
/*div_binding*/,t[15](null)}}}function
|
|
1360
|
+
/*div_binding*/,t[15](null)}}}function Ii(e,t,n){let r;u(e,Pr,(e=>n(4,r=e)));let i,{lang:a=""}=t,{translationurl:s=""}=t,{clientstyling:o=""}=t,{clientstylingurl:l=""}=t,{categoryid:c=""}=t,d=!1,h=!0,m="",p="All";!function({withLocale:e,translations:t}){mr.subscribe((n=>{null==n&&(Un.set(t),mr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
1366
1361
|
/*dictionary.set(translations);
|
|
1367
|
-
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(
|
|
1362
|
+
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(ki).forEach((e=>{Ei(e,ki[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,d=!d)},y=()=>{n(1,d=!d),window.postMessage({type:"SortingOpened"},window.location.href)},v=e=>{"FilterOpened"==e.data.type&&n(1,d=!1)};E((()=>(window.addEventListener("message",v,!1),()=>{window.removeEventListener("message",v)})));return e.$$set=e=>{"lang"in e&&n(8,a=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,d=!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&&i&&(()=>{let e=document.createElement("style");e.innerHTML=o,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2049&e.$$.dirty&&l&&i&&(()=>{let e=document.createElement("style");fetch(new URL(l)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})(),/*translationurl*/512&e.$$.dirty&&s&&fetch(s).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ei(t,e[t])}))})).catch((e=>{console.log(e)}))},[i,d,h,p,r,f,g,y,a,s,o,l,c,()=>y(),e=>g(e),function(e){M[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}
|
|
1368
1363
|
/* ../casino-games-category-section/src/CasinoGamesCategorySection.svelte generated by Svelte v3.59.2 */
|
|
1369
|
-
function
|
|
1370
|
-
// (
|
|
1371
|
-
function
|
|
1372
|
-
return e[25]?
|
|
1373
|
-
// (
|
|
1374
|
-
function
|
|
1375
|
-
return e[29]?
|
|
1376
|
-
return e[26]?
|
|
1377
|
-
// (
|
|
1378
|
-
function
|
|
1379
|
-
return e[31]?
|
|
1380
|
-
// (
|
|
1381
|
-
function
|
|
1382
|
-
return e[22]&&!/*isLazyLoading*/e[33]?
|
|
1383
|
-
/*ul_binding_1*/e[53](r)},p(e,c){/*casinomygames*/"true"!==e[17]?a?a.p(e,c):(a=
|
|
1364
|
+
function Ai(e,t,n){const r=e.slice();return r[80]=t[n],r[82]=n,r}function Di(e,t,n){const r=e.slice();return r[80]=t[n],r[83]=t,r[82]=n,r}function Oi(e,t,n){const r=e.slice();return r[80]=t[n],r[82]=n,r}
|
|
1365
|
+
// (665:4) {:else}
|
|
1366
|
+
function Ni(e){let t;function n(e,t){/*categoryData*/
|
|
1367
|
+
return e[25]?Ui:/*showFavGamesCategory*/e[36]?Bi:void 0}let r=n(e),i=r&&r(e);return{c(){t=f("div"),i&&i.c()},m(e,n){h(e,t,n),i&&i.m(t,null)},p(e,a){r===(r=n(e))&&i?i.p(e,a):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(e){e&&m(t),i&&i.d()}}}
|
|
1368
|
+
// (604:4) {#if searched}
|
|
1369
|
+
function Ri(e){let t,n,r;function i(e,t){/*recentSearched*/
|
|
1370
|
+
return e[29]?ma:/*shownCategoryData*/e[26].length?da:ha}let a=i(e),s=a(e);function o(e,t){/*shownCategoryData*/
|
|
1371
|
+
return e[26]?fa:pa}let l=o(e),c=l(e);return{c(){t=f("div"),n=f("div"),s.c(),r=v(),c.c(),x(n,"class","CasinoGamesHeader Searched "+(Ir(/*userAgent*/e[41])?"CasinoGamesHeaderMobile":"")),x(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),d(t,n),s.m(n,null),d(t,r),c.m(t,null)},p(e,r){a===(a=i(e))&&s?s.p(e,r):(s.d(1),s=a(e),s&&(s.c(),s.m(n,null))),l===(l=o(e))&&c?c.p(e,r):(c.d(1),c=l(e),c&&(c.c(),c.m(t,null)))},d(e){e&&m(t),s.d(),c.d()}}}
|
|
1372
|
+
// (596:2) {#if hasErrors}
|
|
1373
|
+
function Hi(e){let t;function n(e,t){/*presentFilters*/
|
|
1374
|
+
return e[31]?ba:va}let r=n(e),i=r(e);return{c(){i.c(),t=b()},m(e,n){i.m(e,n),h(e,t,n)},p(e,a){r!==(r=n(e))&&(i.d(1),i=r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i.d(e),e&&m(t)}}}
|
|
1375
|
+
// (756:39)
|
|
1376
|
+
function Bi(e){let t,n,r,i,a=/*casinomygames*/"true"!==e[17]&&Yi(e);function s(e,t){/*isLoading*/
|
|
1377
|
+
return e[22]&&!/*isLazyLoading*/e[33]?Wi:/*favoriteGamesData*/e[39]?zi:ji}let o=s(e),l=o(e);return{c(){t=f("div"),a&&a.c(),n=v(),r=f("ul"),l.c(),x(r,"class",i=/*favoriteGamesData*/(0!=e[39].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),x(t,"class","CasinoGamesContainer")},m(i,s){h(i,t,s),a&&a.m(t,null),d(t,n),d(t,r),l.m(r,null),
|
|
1378
|
+
/*ul_binding_1*/e[53](r)},p(e,c){/*casinomygames*/"true"!==e[17]?a?a.p(e,c):(a=Yi(e),a.c(),a.m(t,n)):a&&(a.d(1),a=null),o===(o=s(e))&&l?l.p(e,c):(l.d(1),l=o(e),l&&(l.c(),l.m(r,null))),/*favoriteGamesData*/256&c[1]&&i!==(i=/*favoriteGamesData*/(0!=e[39].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&x(r,"class",i)},d(n){n&&m(t),a&&a.d(),l.d(),
|
|
1384
1379
|
/*ul_binding_1*/e[53](null)}}}
|
|
1385
|
-
// (
|
|
1386
|
-
function
|
|
1387
|
-
return e[22]&&!/*isLazyLoading*/e[33]?
|
|
1388
|
-
// (
|
|
1389
|
-
function
|
|
1380
|
+
// (667:8) {#if categoryData}
|
|
1381
|
+
function Ui(e){let t,n,r=/*casinomygames*/"true"!==e[17]&&na(e);function i(e,t){/*isLoading*/
|
|
1382
|
+
return e[22]&&!/*isLazyLoading*/e[33]?ca:/*shownCategoryData*/0!==e[26].length?la:oa}let a=i(e),s=a(e);return{c(){t=f("div"),r&&r.c(),n=v(),s.c(),x(t,"class","CasinoGamesContainer")},m(e,i){h(e,t,i),r&&r.m(t,null),d(t,n),s.m(t,null)},p(e,o){/*casinomygames*/"true"!==e[17]?r?r.p(e,o):(r=na(e),r.c(),r.m(t,n)):r&&(r.d(1),r=null),a===(a=i(e))&&s?s.p(e,o):(s.d(1),s=a(e),s&&(s.c(),s.m(t,null)))},d(e){e&&m(t),r&&r.d(),s.d()}}}
|
|
1383
|
+
// (758:14) {#if casinomygames !== 'true'}
|
|
1384
|
+
function Yi(e){let t,n,r,i,a,s,o,l,c=/*$_*/e[40]("favorites")+"",u=/*favoriteGamesData*/e[39].items.length+"";return{c(){t=f("div"),n=f("h3"),r=y(c),i=v(),a=f("span"),s=y("("),o=y(u),l=y(")"),x(a,"class","CategoryFavName"),x(n,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(c,u){h(c,t,u),d(t,n),d(n,r),d(n,i),d(n,a),d(a,s),d(a,o),d(a,l),
|
|
1390
1385
|
/*h3_binding_1*/e[52](n)},p(e,t){/*$_*/512&t[1]&&c!==(c=/*$_*/e[40]("favorites")+"")&&S(r,c),/*favoriteGamesData*/256&t[1]&&u!==(u=/*favoriteGamesData*/e[39].items.length+"")&&S(o,u)},d(n){n&&m(t)
|
|
1391
1386
|
/*h3_binding_1*/,e[52](null)}}}
|
|
1392
|
-
// (
|
|
1393
|
-
function
|
|
1394
|
-
// (
|
|
1395
|
-
function
|
|
1396
|
-
// (
|
|
1397
|
-
function
|
|
1398
|
-
// (
|
|
1399
|
-
function
|
|
1400
|
-
// (
|
|
1401
|
-
function
|
|
1402
|
-
// (
|
|
1403
|
-
function
|
|
1404
|
-
// (
|
|
1405
|
-
function
|
|
1406
|
-
// (
|
|
1407
|
-
function
|
|
1408
|
-
// (
|
|
1387
|
+
// (865:18) {:else}
|
|
1388
|
+
function ji(e){let t,n,r=/*$_*/e[40]("waiting")+"";return{c(){t=f("p"),n=y(r)},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/512&t[1]&&r!==(r=/*$_*/e[40]("waiting")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
|
1389
|
+
// (771:18) {#if favoriteGamesData}
|
|
1390
|
+
function zi(e){let t,n=/*favoriteGamesData*/e[39].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=ta(Ai(e,n,t));let i=null;return n.length||(i=Vi(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=b(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);h(e,t,n),i&&i.m(e,n)},p(e,a){if(/*session, userid, lang, favorites, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/131048&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/4064&a[1]){let s;for(n=/*favoriteGamesData*/e[39].items,s=0;s<n.length;s+=1){const i=Ai(e,n,s);r[s]?r[s].p(i,a):(r[s]=ta(i),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&&i?i.p(e,a):n.length?i&&(i.d(1),i=null):(i=Vi(e),i.c(),i.m(t.parentNode,t))}},d(e){p(r,e),e&&m(t),i&&i.d(e)}}}
|
|
1391
|
+
// (768:16) {#if isLoading && !isLazyLoading}
|
|
1392
|
+
function Wi(t){let n;return{c(){n=f("div"),x(n,"class","lds-dual-ring")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
|
|
1393
|
+
// (846:20) {:else}
|
|
1394
|
+
function Vi(e){let t,n,r,i,a,s,o,l,c,u,p,b,w,_,$=/*$_*/e[40]("noFavoritesTitle")+"";let F=function(e,t){return Ir(/*userAgent*/e[41])?Ki:Zi}(e),C=F(e);return{c(){t=f("p"),n=g("svg"),r=g("rect"),i=g("rect"),a=g("circle"),s=g("path"),o=g("path"),l=g("path"),c=g("path"),u=v(),p=f("span"),b=y($),w=v(),C.c(),_=v(),x(r,"x","1"),x(r,"y","18.053"),x(r,"width","90.263"),x(r,"height","90.263"),x(r,"rx","12"),x(r,"stroke","var(--emfe-w-color-gray-150, #828282)"),x(r,"stroke-width","1.5"),x(i,"x","106.737"),x(i,"y","56.737"),x(i,"width","90.263"),x(i,"height","90.263"),x(i,"rx","12"),x(i,"stroke","var(--emfe-w-color-gray-150, #828282)"),x(i,"stroke-width","1.5"),x(a,"cx","70.5"),x(a,"cy","32.237"),x(a,"r","31.487"),x(a,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(a,"stroke-width","1.5"),x(a,"stroke-dasharray","5 0"),x(s,"d","M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"),x(s,"fill","var(--emfe-w-color-gray-150, #828282)"),x(o,"d","M78 43h11v13H78V43z"),x(o,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(l,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),x(l,"fill","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(l,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(l,"stroke-linecap","round"),x(l,"stroke-linejoin","round"),x(c,"d","m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"),x(c,"stroke","var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"),x(c,"stroke-width","1.5"),x(c,"stroke-linecap","round"),x(c,"stroke-linejoin","round"),x(n,"width","198"),x(n,"height","148"),x(n,"viewBox","0 0 198 148"),x(n,"fill","none"),x(n,"xmlns","http://www.w3.org/2000/svg"),x(p,"class","NoFavoriteText NoFavoriteTextHighlight"),x(t,"class","NoFavoriteGames "+(Ir(/*userAgent*/e[41])?"NoFavoriteGamesMobile":""))},m(e,m){h(e,t,m),d(t,n),d(n,r),d(n,i),d(n,a),d(n,s),d(n,o),d(n,l),d(n,c),d(t,u),d(t,p),d(p,b),d(t,w),C.m(t,null),d(t,_)},p(e,t){/*$_*/512&t[1]&&$!==($=/*$_*/e[40]("noFavoritesTitle")+"")&&S(b,$),C.p(e,t)},d(e){e&&m(t),C.d()}}}
|
|
1395
|
+
// (860:24) {:else}
|
|
1396
|
+
function Zi(e){let t,n,r=/*$_*/e[40]("noFavorites")+"";return{c(){t=f("span"),n=y(r),x(t,"class","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/512&t[1]&&r!==(r=/*$_*/e[40]("noFavorites")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
|
1397
|
+
// (858:24) {#if isMobile(userAgent)}
|
|
1398
|
+
function Ki(e){let t,n,r=/*$_*/e[40]("noFavoritesMobile")+"";return{c(){t=f("span"),n=y(r),x(t,"class","NoFavoriteText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/512&t[1]&&r!==(r=/*$_*/e[40]("noFavoritesMobile")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
|
1399
|
+
// (773:22) {#if gameprops.gameModel}
|
|
1400
|
+
function qi(e){let t,n=/*gameprops*/e[80].gameModel.isFavorite&&Xi(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*gameprops*/e[80].gameModel.isFavorite?n?n.p(e,r):(n=Xi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
|
|
1401
|
+
// (774:24) {#if gameprops.gameModel.isFavorite}
|
|
1402
|
+
function Xi(e){let t,n=
|
|
1403
|
+
// (775:26) {#if intersecting || nativeLoading}
|
|
1409
1404
|
function(e){let t,n,r;function i(e,r){/*favoriteGamesData*/
|
|
1410
|
-
return 256&r[1]&&(n=null),null==t&&(t=!!Ir(/*userAgent*/e[41])),t?
|
|
1411
|
-
// (
|
|
1412
|
-
(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}function
|
|
1413
|
-
// (
|
|
1414
|
-
function
|
|
1415
|
-
// (
|
|
1416
|
-
function
|
|
1417
|
-
// (
|
|
1418
|
-
function
|
|
1419
|
-
// (
|
|
1420
|
-
function
|
|
1421
|
-
return e[27]?
|
|
1405
|
+
return 256&r[1]&&(n=null),null==t&&(t=!!Ir(/*userAgent*/e[41])),t?Qi:(null==n&&(n=!!/*gameprops*/e[80].gameModel.platform.includes("PC")),n?Ji:void 0)}let a=i(e,[-1,-1,-1]),s=a&&a(e);return{c(){s&&s.c(),r=b()},m(e,t){s&&s.m(e,t),h(e,r,t)},p(e,t){a===(a=i(e,t))&&s?s.p(e,t):(s&&s.d(1),s=a&&a(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){s&&s.d(e),e&&m(r)}}}
|
|
1406
|
+
// (810:82)
|
|
1407
|
+
(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}function Ji(e){let t,n,r,i,a,s,o,l,c,u,d,p,g,y,v;return{c(){t=f("casino-game-thumbnail"),_(t,"class",n=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1"))),_(t,"part",r=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"favorites",/*favorites*/e[8]),_(t,"gamethumbnail",i=/*gameprops*/e[80].gameModel.thumbnail),_(t,"gamename",a=/*gameprops*/e[80].gameModel.name),_(t,"gamevendor",s=/*gameprops*/e[80].gameModel.vendor.name),_(t,"gamelaunchurl",o=/*gameprops*/e[80].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[80].gameModel.isNew),_(t,"gametag",c=/*gameprops*/e[80].gameModel.advancedTags?.length>0&&/*addGameTag*/e[42](/*gameprops*/e[80].gameModel.advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[80].cellSize),_(t,"gameid",d=/*gameprops*/e[80].gameModel.id),_(t,"gamefunmode",p=/*gameprops*/e[80].gameModel.hasFunMode),_(t,"showgamename",/*showgamename*/e[12]),_(t,"gamefavorite",g=/*gameprops*/e[80].gameModel.isFavorite),_(t,"showfavoredcategory",/*showFavGamesCategory*/e[36]),_(t,"connectlive",y=/*intersectingIndexes*/1==e[37][/*gameprops*/e[80].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[38]),_(t,"currency",/*currency*/e[11]),_(t,"livelobbyendpoint",v=/*gameprops*/e[80].gameModel.details?/*gameprops*/e[80].gameModel.launchUrl:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[13]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[14]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[15]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[16])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/256&h[1]&&n!==(n=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1")))&&_(t,"class",n),/*favoriteGamesData*/256&h[1]&&r!==(r=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*favoriteGamesData*/256&h[1]&&i!==(i=/*gameprops*/e[80].gameModel.thumbnail)&&_(t,"gamethumbnail",i),/*favoriteGamesData*/256&h[1]&&a!==(a=/*gameprops*/e[80].gameModel.name)&&_(t,"gamename",a),/*favoriteGamesData*/256&h[1]&&s!==(s=/*gameprops*/e[80].gameModel.vendor.name)&&_(t,"gamevendor",s),/*favoriteGamesData*/256&h[1]&&o!==(o=/*gameprops*/e[80].launchUrl)&&_(t,"gamelaunchurl",o),/*favoriteGamesData*/256&h[1]&&l!==(l=/*gameprops*/e[80].gameModel.isNew)&&_(t,"gameisnew",l),/*favoriteGamesData*/256&h[1]&&c!==(c=/*gameprops*/e[80].gameModel.advancedTags?.length>0&&/*addGameTag*/e[42](/*gameprops*/e[80].gameModel.advancedTags))&&_(t,"gametag",c),/*favoriteGamesData*/256&h[1]&&u!==(u=/*gameprops*/e[80].cellSize)&&_(t,"gamecellsize",u),/*favoriteGamesData*/256&h[1]&&d!==(d=/*gameprops*/e[80].gameModel.id)&&_(t,"gameid",d),/*favoriteGamesData*/256&h[1]&&p!==(p=/*gameprops*/e[80].gameModel.hasFunMode)&&_(t,"gamefunmode",p),/*showgamename*/4096&h[0]&&_(t,"showgamename",/*showgamename*/e[12]),/*favoriteGamesData*/256&h[1]&&g!==(g=/*gameprops*/e[80].gameModel.isFavorite)&&_(t,"gamefavorite",g),/*showFavGamesCategory*/32&h[1]&&_(t,"showfavoredcategory",/*showFavGamesCategory*/e[36]),/*intersectingIndexes, favoriteGamesData*/320&h[1]&&y!==(y=/*intersectingIndexes*/1==e[37][/*gameprops*/e[80].id]?"connect":"disconnect")&&_(t,"connectlive",y),/*visibilityconnect*/128&h[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[38]),/*currency*/2048&h[0]&&_(t,"currency",/*currency*/e[11]),/*favoriteGamesData*/256&h[1]&&v!==(v=/*gameprops*/e[80].gameModel.details?/*gameprops*/e[80].gameModel.launchUrl:"")&&_(t,"livelobbyendpoint",v),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/8192&h[0]&&_(t,"livecasino",/*livecasino*/e[13]),/*gamepagemodalurl*/16384&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[14]),/*integratedgameframedesktop*/32768&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[15]),/*integratedgameframemobile*/65536&h[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[16])},d(e){e&&m(t)}}}
|
|
1408
|
+
// (776:28) {#if isMobile(userAgent)}
|
|
1409
|
+
function Qi(e){let t,n=/*gameprops*/e[80].gameModel.platform.includes("iPad")||/*gameprops*/e[80].gameModel.platform.includes("iPhone")||/*gameprops*/e[80].gameModel.platform.includes("Android"),r=n&&ea(e);return{c(){r&&r.c(),t=b()},m(e,n){r&&r.m(e,n),h(e,t,n)},p(e,i){/*favoriteGamesData*/256&i[1]&&(n=/*gameprops*/e[80].gameModel.platform.includes("iPad")||/*gameprops*/e[80].gameModel.platform.includes("iPhone")||/*gameprops*/e[80].gameModel.platform.includes("Android")),n?r?r.p(e,i):(r=ea(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&m(t)}}}
|
|
1410
|
+
// (777:30) {#if (gameprops.gameModel.platform.includes("iPad") || gameprops.gameModel.platform.includes("iPhone") || gameprops.gameModel.platform.includes("Android"))}
|
|
1411
|
+
function ea(e){let t,n,r,i,a,s,o,l,c,u,d,p,g,y,v;return{c(){t=f("casino-game-thumbnail"),_(t,"class",n=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1"))),_(t,"part",r=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"favorites",/*favorites*/e[8]),_(t,"gamethumbnail",i=/*gameprops*/e[80].gameModel.thumbnail),_(t,"gamename",a=/*gameprops*/e[80].gameModel.name),_(t,"gamevendor",s=/*gameprops*/e[80].gameModel.vendor.name),_(t,"gamelaunchurl",o=/*gameprops*/e[80].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[80].gameModel.isNew),_(t,"gametag",c=/*gameprops*/e[80].gameModel.advancedTags?.length>0&&/*addGameTag*/e[42](/*gameprops*/e[80].gameModel.advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[80].cellSize),_(t,"gameid",d=/*gameprops*/e[80].gameModel.id),_(t,"gamefunmode",p=/*gameprops*/e[80].gameModel.hasFunMode),_(t,"showgamename",/*showgamename*/e[12]),_(t,"gamefavorite",g=/*gameprops*/e[80].gameModel.isFavorite),_(t,"showfavoredcategory",/*showFavGamesCategory*/e[36]),_(t,"connectlive",y=/*intersectingIndexes*/1==e[37][/*gameprops*/e[80].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[38]),_(t,"currency",/*currency*/e[11]),_(t,"livelobbyendpoint",v=/*gameprops*/e[80].gameModel.details?/*gameprops*/e[80].gameModel.launchUrl:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[13]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[14]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[15]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[16])},m(e,n){h(e,t,n)},p(e,h){/*favoriteGamesData*/256&h[1]&&n!==(n=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1")))&&_(t,"class",n),/*favoriteGamesData*/256&h[1]&&r!==(r=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*favoriteGamesData*/256&h[1]&&i!==(i=/*gameprops*/e[80].gameModel.thumbnail)&&_(t,"gamethumbnail",i),/*favoriteGamesData*/256&h[1]&&a!==(a=/*gameprops*/e[80].gameModel.name)&&_(t,"gamename",a),/*favoriteGamesData*/256&h[1]&&s!==(s=/*gameprops*/e[80].gameModel.vendor.name)&&_(t,"gamevendor",s),/*favoriteGamesData*/256&h[1]&&o!==(o=/*gameprops*/e[80].launchUrl)&&_(t,"gamelaunchurl",o),/*favoriteGamesData*/256&h[1]&&l!==(l=/*gameprops*/e[80].gameModel.isNew)&&_(t,"gameisnew",l),/*favoriteGamesData*/256&h[1]&&c!==(c=/*gameprops*/e[80].gameModel.advancedTags?.length>0&&/*addGameTag*/e[42](/*gameprops*/e[80].gameModel.advancedTags))&&_(t,"gametag",c),/*favoriteGamesData*/256&h[1]&&u!==(u=/*gameprops*/e[80].cellSize)&&_(t,"gamecellsize",u),/*favoriteGamesData*/256&h[1]&&d!==(d=/*gameprops*/e[80].gameModel.id)&&_(t,"gameid",d),/*favoriteGamesData*/256&h[1]&&p!==(p=/*gameprops*/e[80].gameModel.hasFunMode)&&_(t,"gamefunmode",p),/*showgamename*/4096&h[0]&&_(t,"showgamename",/*showgamename*/e[12]),/*favoriteGamesData*/256&h[1]&&g!==(g=/*gameprops*/e[80].gameModel.isFavorite)&&_(t,"gamefavorite",g),/*showFavGamesCategory*/32&h[1]&&_(t,"showfavoredcategory",/*showFavGamesCategory*/e[36]),/*intersectingIndexes, favoriteGamesData*/320&h[1]&&y!==(y=/*intersectingIndexes*/1==e[37][/*gameprops*/e[80].id]?"connect":"disconnect")&&_(t,"connectlive",y),/*visibilityconnect*/128&h[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[38]),/*currency*/2048&h[0]&&_(t,"currency",/*currency*/e[11]),/*favoriteGamesData*/256&h[1]&&v!==(v=/*gameprops*/e[80].gameModel.details?/*gameprops*/e[80].gameModel.launchUrl:"")&&_(t,"livelobbyendpoint",v),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/8192&h[0]&&_(t,"livecasino",/*livecasino*/e[13]),/*gamepagemodalurl*/16384&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[14]),/*integratedgameframedesktop*/32768&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[15]),/*integratedgameframemobile*/65536&h[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[16])},d(e){e&&m(t)}}}
|
|
1412
|
+
// (772:20) {#each favoriteGamesData.items as gameprops, index}
|
|
1413
|
+
function ta(e){let t,n=/*gameprops*/e[80].gameModel&&qi(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,r){/*gameprops*/e[80].gameModel?n?n.p(e,r):(n=qi(e),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(e){n&&n.d(e),e&&m(t)}}}
|
|
1414
|
+
// (669:12) {#if casinomygames !== 'true'}
|
|
1415
|
+
function na(e){let t,n,r,i,a=/*categoryData*/e[25].name+"";function s(e,t){/*showLoadCategory*/
|
|
1416
|
+
return e[27]?ia:ra}let o=s(e),l=o(e);return{c(){t=f("div"),n=f("h3"),r=y(a),i=v(),l.c(),x(n,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(a,s){h(a,t,s),d(t,n),d(n,r),
|
|
1422
1417
|
/*h3_binding*/e[48](n),d(t,i),l.m(t,null)},p(e,n){/*categoryData*/33554432&n[0]&&a!==(a=/*categoryData*/e[25].name+"")&&S(r,a),o===(o=s(e))&&l?l.p(e,n):(l.d(1),l=o(e),l&&(l.c(),l.m(t,null)))},d(n){n&&m(t)
|
|
1423
1418
|
/*h3_binding*/,e[48](null),l.d()}}}
|
|
1424
|
-
// (
|
|
1425
|
-
function
|
|
1426
|
-
// (
|
|
1427
|
-
function
|
|
1428
|
-
// (
|
|
1429
|
-
function
|
|
1430
|
-
// (
|
|
1431
|
-
function
|
|
1432
|
-
// (
|
|
1433
|
-
function
|
|
1434
|
-
// (
|
|
1435
|
-
function
|
|
1436
|
-
/*ul_binding*/e[51](t)},p(e,a){if(/*session, userid, lang, shownCategoryData, favorites, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/69861352&a[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/2240&a[1]){let n;for(r=/*shownCategoryData*/e[26],n=0;n<r.length;n+=1){const s=
|
|
1419
|
+
// (681:16) {:else}
|
|
1420
|
+
function ra(e){let t,n,r,i=/*addfilterselector*/"true"==e[1]&&aa(e),a=/*addsortingselector*/"true"==e[2]&&sa(e);return{c(){t=f("div"),i&&i.c(),n=v(),a&&a.c(),x(t,"class",r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")},m(e,r){h(e,t,r),i&&i.m(t,null),d(t,n),a&&a.m(t,null)},p(e,s){/*addfilterselector*/"true"==e[1]?i?i.p(e,s):(i=aa(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*addsortingselector*/"true"==e[2]?a?a.p(e,s):(a=sa(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null),/*addfilterselector, addsortingselector*/6&s[0]&&r!==(r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")&&x(t,"class",r)},d(e){e&&m(t),i&&i.d(),a&&a.d()}}}
|
|
1421
|
+
// (674:16) {#if showLoadCategory}
|
|
1422
|
+
function ia(e){let t,n,r,i,a,s,o,l,c=/*$_*/e[40]("viewAll")+"",u=/*categoryData*/e[25].games.total+"";return{c(){t=f("a"),n=f("span"),r=y(c),i=y(" ("),a=y(u),s=y(")"),x(n,"class","CategoryLoadMore"),x(t,"class","CategoryNameLink")},m(c,u){h(c,t,u),d(t,n),d(n,r),d(n,i),d(n,a),d(n,s),o||(l=w(t,"click",/*click_handler*/e[49]),o=!0)},p(e,t){/*$_*/512&t[1]&&c!==(c=/*$_*/e[40]("viewAll")+"")&&S(r,c),/*categoryData*/33554432&t[0]&&u!==(u=/*categoryData*/e[25].games.total+"")&&S(a,u)},d(e){e&&m(t),o=!1,l()}}}
|
|
1423
|
+
// (683:22) {#if addfilterselector == "true"}
|
|
1424
|
+
function aa(e){let t;return{c(){t=f("casino-filter"),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"datasource",/*datasource*/e[4]),_(t,"lang",/*lang*/e[5]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"addfilterselector",/*addfilterselector*/e[1]),_(t,"addsortingselector",/*addsortingselector*/e[2]),_(t,"filterbylogo",/*filterbylogo*/e[18])},m(e,n){h(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*endpoint*/8&n[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*datasource*/16&n[0]&&_(t,"datasource",/*datasource*/e[4]),/*lang*/32&n[0]&&_(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*addfilterselector*/2&n[0]&&_(t,"addfilterselector",/*addfilterselector*/e[1]),/*addsortingselector*/4&n[0]&&_(t,"addsortingselector",/*addsortingselector*/e[2]),/*filterbylogo*/262144&n[0]&&_(t,"filterbylogo",/*filterbylogo*/e[18])},d(e){e&&m(t)}}}
|
|
1425
|
+
// (696:22) {#if addsortingselector == "true"}
|
|
1426
|
+
function sa(e){let t;return{c(){t=f("casino-sort"),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"lang",/*lang*/e[5]),_(t,"categoryid",/*categoryid*/e[0]),_(t,"addsortingselector",/*addsortingselector*/e[2])},m(e,n){h(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*lang*/32&n[0]&&_(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&_(t,"categoryid",/*categoryid*/e[0]),/*addsortingselector*/4&n[0]&&_(t,"addsortingselector",/*addsortingselector*/e[2])},d(e){e&&m(t)}}}
|
|
1427
|
+
// (751:14) {:else}
|
|
1428
|
+
function oa(e){let t,n,r=/*$_*/e[40]("noResults")+"";return{c(){t=f("p"),n=y(r),x(t,"class","NoSearchResults")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/512&t[1]&&r!==(r=/*$_*/e[40]("noResults")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
|
1429
|
+
// (712:14) {#if shownCategoryData.length !== 0 }
|
|
1430
|
+
function la(e){let t,n,r=/*shownCategoryData*/e[26],i=[];for(let t=0;t<r.length;t+=1)i[t]=ua(Di(e,r,t));return{c(){t=f("ul");for(let e=0;e<i.length;e+=1)i[e].c();x(t,"class",n=/*favoriteGamesData*/(0===e[39].items.length&&/*showFavGamesCategory*/e[36]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[24]&&/*casinogamesgridslider*/"true"==e[19]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(n,r){h(n,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);
|
|
1431
|
+
/*ul_binding*/e[51](t)},p(e,a){if(/*session, userid, lang, shownCategoryData, favorites, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/69861352&a[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/2240&a[1]){let n;for(r=/*shownCategoryData*/e[26],n=0;n<r.length;n+=1){const s=Di(e,r,n);i[n]?i[n].p(s,a):(i[n]=ua(s),i[n].c(),i[n].m(t,null))}for(;n<i.length;n+=1)i[n].d(1);i.length=r.length}/*lobbyView, casinogamesgridslider*/17301504&a[0]|/*favoriteGamesData, showFavGamesCategory*/288&a[1]&&n!==(n=/*favoriteGamesData*/(0===e[39].items.length&&/*showFavGamesCategory*/e[36]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[24]&&/*casinogamesgridslider*/"true"==e[19]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&x(t,"class",n)},d(n){n&&m(t),p(i,n),
|
|
1437
1432
|
/*ul_binding*/e[51](null)}}}
|
|
1438
|
-
// (
|
|
1439
|
-
function
|
|
1440
|
-
// (
|
|
1441
|
-
// (
|
|
1442
|
-
function
|
|
1443
|
-
// (
|
|
1444
|
-
function
|
|
1445
|
-
// (
|
|
1446
|
-
function
|
|
1447
|
-
// (
|
|
1448
|
-
function
|
|
1449
|
-
// (
|
|
1450
|
-
function
|
|
1451
|
-
// (
|
|
1452
|
-
function
|
|
1453
|
-
// (
|
|
1454
|
-
function
|
|
1455
|
-
// (
|
|
1456
|
-
function
|
|
1457
|
-
// (
|
|
1458
|
-
function
|
|
1459
|
-
// (
|
|
1460
|
-
function
|
|
1461
|
-
return e[23]?
|
|
1433
|
+
// (709:12) {#if isLoading && !isLazyLoading}
|
|
1434
|
+
function ca(t){let n;return{c(){n=f("div"),x(n,"class","lds-dual-ring"),x(n,"part","lds-dual-ring")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
|
|
1435
|
+
// (715:18) {#if intersecting || nativeLoading}
|
|
1436
|
+
// (714:18) {#each shownCategoryData as gameprops, index}
|
|
1437
|
+
function ua(e){let t,n=function(e){let t,n,r,i,a,s,o,l,c,u,d,p,g,y,v,b=/*index*/e[82];const w=()=>/*casino_game_thumbnail_binding*/e[50](t,b),x=()=>/*casino_game_thumbnail_binding*/e[50](null,b);return{c(){t=f("casino-game-thumbnail"),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"class",n=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1"))),_(t,"part",r=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1"))),_(t,"favorites",/*favorites*/e[8]),_(t,"gamethumbnail",i=/*gameprops*/e[80].thumbnail),_(t,"gamename",a=/*gameprops*/e[80].name),_(t,"gamevendor",s=/*gameprops*/e[80].vendor.name),_(t,"gamelaunchurl",o=/*gameprops*/e[80].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[80].isNew),_(t,"gametag",c=/*gameprops*/e[80].advancedTags?.length>0&&/*addGameTag*/e[42](/*gameprops*/e[80].advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[80].cellSize),_(t,"gameid",d=/*gameprops*/e[80].id),_(t,"gamefunmode",p=/*gameprops*/e[80].hasFunMode),_(t,"gamefavorite",g=/*gameprops*/e[80].isFavorite),_(t,"showgamename",/*showgamename*/e[12]),_(t,"connectlive",y=/*intersectingIndexes*/1==e[37][/*gameprops*/e[80].id]?"connect":"disconnect"),_(t,"visibilityconnect",/*visibilityconnect*/e[38]),_(t,"currency",/*currency*/e[11]),_(t,"livelobbyendpoint",v=/*gameprops*/e[80].details?/*gameprops*/e[80].href:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[13]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[14]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[15]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[16]),_(t,"casinogamesgridslider",/*casinogamesgridslider*/e[19])},m(e,n){h(e,t,n),w()},p(h,m){e=h,/*session*/64&m[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&_(t,"lang",/*lang*/e[5]),/*shownCategoryData*/67108864&m[0]&&n!==(n=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1")))&&_(t,"class",n),/*shownCategoryData*/67108864&m[0]&&r!==(r=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1")))&&_(t,"part",r),/*favorites*/256&m[0]&&_(t,"favorites",/*favorites*/e[8]),/*shownCategoryData*/67108864&m[0]&&i!==(i=/*gameprops*/e[80].thumbnail)&&_(t,"gamethumbnail",i),/*shownCategoryData*/67108864&m[0]&&a!==(a=/*gameprops*/e[80].name)&&_(t,"gamename",a),/*shownCategoryData*/67108864&m[0]&&s!==(s=/*gameprops*/e[80].vendor.name)&&_(t,"gamevendor",s),/*shownCategoryData*/67108864&m[0]&&o!==(o=/*gameprops*/e[80].launchUrl)&&_(t,"gamelaunchurl",o),/*shownCategoryData*/67108864&m[0]&&l!==(l=/*gameprops*/e[80].isNew)&&_(t,"gameisnew",l),/*shownCategoryData*/67108864&m[0]&&c!==(c=/*gameprops*/e[80].advancedTags?.length>0&&/*addGameTag*/e[42](/*gameprops*/e[80].advancedTags))&&_(t,"gametag",c),/*shownCategoryData*/67108864&m[0]&&u!==(u=/*gameprops*/e[80].cellSize)&&_(t,"gamecellsize",u),/*shownCategoryData*/67108864&m[0]&&d!==(d=/*gameprops*/e[80].id)&&_(t,"gameid",d),/*shownCategoryData*/67108864&m[0]&&p!==(p=/*gameprops*/e[80].hasFunMode)&&_(t,"gamefunmode",p),/*shownCategoryData*/67108864&m[0]&&g!==(g=/*gameprops*/e[80].isFavorite)&&_(t,"gamefavorite",g),/*showgamename*/4096&m[0]&&_(t,"showgamename",/*showgamename*/e[12]),/*shownCategoryData*/67108864&m[0]|/*intersectingIndexes*/64&m[1]&&y!==(y=/*intersectingIndexes*/1==e[37][/*gameprops*/e[80].id]?"connect":"disconnect")&&_(t,"connectlive",y),/*visibilityconnect*/128&m[1]&&_(t,"visibilityconnect",/*visibilityconnect*/e[38]),/*currency*/2048&m[0]&&_(t,"currency",/*currency*/e[11]),/*shownCategoryData*/67108864&m[0]&&v!==(v=/*gameprops*/e[80].details?/*gameprops*/e[80].href:"")&&_(t,"livelobbyendpoint",v),/*clientstyling*/512&m[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/8192&m[0]&&_(t,"livecasino",/*livecasino*/e[13]),/*gamepagemodalurl*/16384&m[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[14]),/*integratedgameframedesktop*/32768&m[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[15]),/*integratedgameframemobile*/65536&m[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[16]),/*casinogamesgridslider*/524288&m[0]&&_(t,"casinogamesgridslider",/*casinogamesgridslider*/e[19]),b!==/*index*/e[82]&&(x(),b=/*index*/e[82],w())},d(e){e&&m(t),x()}}}(e);return{c(){n&&n.c(),t=b()},m(e,r){n&&n.m(e,r),h(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&m(t)}}}
|
|
1438
|
+
// (616:12) {:else}
|
|
1439
|
+
function da(e){let t,n,r=/*$_*/e[40]("searchedItems")+"";return{c(){t=f("h3"),n=y(r),x(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/512&t[1]&&r!==(r=/*$_*/e[40]("searchedItems")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
|
1440
|
+
// (612:12) {#if !shownCategoryData.length}
|
|
1441
|
+
function ha(e){let t,n,r=/*$_*/e[40]("noResults")+"";return{c(){t=f("h3"),n=y(r),x(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/512&t[1]&&r!==(r=/*$_*/e[40]("noResults")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
|
1442
|
+
// (607:10) {#if recentSearched}
|
|
1443
|
+
function ma(e){let t,n,r=/*$_*/e[40]("recentSearchedItems")+"";return{c(){t=f("h3"),n=y(r),x(t,"class","StatusText")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/512&t[1]&&r!==(r=/*$_*/e[40]("recentSearchedItems")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
|
1444
|
+
// (661:8) {:else}
|
|
1445
|
+
function pa(t){let n;return{c(){n=f("p"),n.textContent="Waiting",x(n,"class","SearchWaiting")},m(e,t){h(e,n,t)},p:e,d(e){e&&m(n)}}}
|
|
1446
|
+
// (623:8) {#if shownCategoryData}
|
|
1447
|
+
function fa(e){let t,n,r=!/*showItems*/e[32]&&ga(e),i=/*shownCategoryData*/e[26],a=[];for(let t=0;t<i.length;t+=1)a[t]=ya(Oi(e,i,t));return{c(){r&&r.c(),t=v(),n=f("ul");for(let e=0;e<a.length;e+=1)a[e].c();x(n,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,i){r&&r.m(e,i),h(e,t,i),h(e,n,i);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(n,null)},p(e,s){if(/*showItems*/e[32]?r&&(r.d(1),r=null):r?r.p(e,s):(r=ga(e),r.c(),r.m(t.parentNode,t)),/*shownCategoryData, session, userid, lang, searchItem, favorites, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/1140981736&s[0]|/*addGameTag*/2048&s[1]){let t;for(i=/*shownCategoryData*/e[26],t=0;t<i.length;t+=1){const r=Oi(e,i,t);a[t]?a[t].p(r,s):(a[t]=ya(r),a[t].c(),a[t].m(n,null))}for(;t<a.length;t+=1)a[t].d(1);a.length=i.length}},d(e){r&&r.d(e),e&&m(t),e&&m(n),p(a,e)}}}
|
|
1448
|
+
// (625:10) {#if !showItems}
|
|
1449
|
+
function ga(e){let t,n,r=/*$_*/e[40]("noRecentSearch")+"";return{c(){t=f("p"),n=y(r),x(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Ir(/*userAgent*/e[41])?"NoRecentSearchesMobile":""))},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/512&t[1]&&r!==(r=/*$_*/e[40]("noRecentSearch")+"")&&S(n,r)},d(e){e&&m(t)}}}
|
|
1450
|
+
// (629:12) {#each shownCategoryData as gameprops, index}
|
|
1451
|
+
function ya(e){let t,n,r,i,a,s,o,l,c,u,d,p,g,y;return{c(){t=f("casino-game-thumbnail"),_(t,"class",n=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1"))),_(t,"part",r=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1"))),_(t,"session",/*session*/e[6]),_(t,"userid",/*userid*/e[7]),_(t,"lang",/*lang*/e[5]),_(t,"searchitem",/*searchItem*/e[30]),_(t,"favorites",/*favorites*/e[8]),_(t,"gamethumbnail",i=/*gameprops*/e[80].thumbnail),_(t,"gamename",a=/*gameprops*/e[80].name),_(t,"gamevendor",s=/*gameprops*/e[80].vendor.name),_(t,"gamelaunchurl",o=/*gameprops*/e[80].launchUrl),_(t,"gameisnew",l=/*gameprops*/e[80].isNew),_(t,"gametag",c=/*gameprops*/e[80].advancedTags?.length>0&&/*addGameTag*/e[42](/*gameprops*/e[80].advancedTags)),_(t,"gamecellsize",u=/*gameprops*/e[80].cellSize),_(t,"gameid",d=/*gameprops*/e[80].id),_(t,"gamefunmode",p=/*gameprops*/e[80].hasFunMode),_(t,"showgamename",/*showgamename*/e[12]),_(t,"gamefavorite",g=/*gameprops*/e[80].isFavorite),_(t,"currency",/*currency*/e[11]),_(t,"livelobbyendpoint",y=/*gameprops*/e[80].details?/*gameprops*/e[80].href:""),_(t,"clientstyling",/*clientstyling*/e[9]),_(t,"clientstylingurl",/*clientstylingurl*/e[10]),_(t,"endpoint",/*endpoint*/e[3]),_(t,"livecasino",/*livecasino*/e[13]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[14]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[15]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[16])},m(e,n){h(e,t,n)},p(e,h){/*shownCategoryData*/67108864&h[0]&&n!==(n=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1")))&&_(t,"class",n),/*shownCategoryData*/67108864&h[0]&&r!==(r=""+(xa+(/*gameprops*/e[80].cellSize?/*gameprops*/e[80].cellSize:"1x1")))&&_(t,"part",r),/*session*/64&h[0]&&_(t,"session",/*session*/e[6]),/*userid*/128&h[0]&&_(t,"userid",/*userid*/e[7]),/*lang*/32&h[0]&&_(t,"lang",/*lang*/e[5]),/*searchItem*/1073741824&h[0]&&_(t,"searchitem",/*searchItem*/e[30]),/*favorites*/256&h[0]&&_(t,"favorites",/*favorites*/e[8]),/*shownCategoryData*/67108864&h[0]&&i!==(i=/*gameprops*/e[80].thumbnail)&&_(t,"gamethumbnail",i),/*shownCategoryData*/67108864&h[0]&&a!==(a=/*gameprops*/e[80].name)&&_(t,"gamename",a),/*shownCategoryData*/67108864&h[0]&&s!==(s=/*gameprops*/e[80].vendor.name)&&_(t,"gamevendor",s),/*shownCategoryData*/67108864&h[0]&&o!==(o=/*gameprops*/e[80].launchUrl)&&_(t,"gamelaunchurl",o),/*shownCategoryData*/67108864&h[0]&&l!==(l=/*gameprops*/e[80].isNew)&&_(t,"gameisnew",l),/*shownCategoryData*/67108864&h[0]&&c!==(c=/*gameprops*/e[80].advancedTags?.length>0&&/*addGameTag*/e[42](/*gameprops*/e[80].advancedTags))&&_(t,"gametag",c),/*shownCategoryData*/67108864&h[0]&&u!==(u=/*gameprops*/e[80].cellSize)&&_(t,"gamecellsize",u),/*shownCategoryData*/67108864&h[0]&&d!==(d=/*gameprops*/e[80].id)&&_(t,"gameid",d),/*shownCategoryData*/67108864&h[0]&&p!==(p=/*gameprops*/e[80].hasFunMode)&&_(t,"gamefunmode",p),/*showgamename*/4096&h[0]&&_(t,"showgamename",/*showgamename*/e[12]),/*shownCategoryData*/67108864&h[0]&&g!==(g=/*gameprops*/e[80].isFavorite)&&_(t,"gamefavorite",g),/*currency*/2048&h[0]&&_(t,"currency",/*currency*/e[11]),/*shownCategoryData*/67108864&h[0]&&y!==(y=/*gameprops*/e[80].details?/*gameprops*/e[80].href:"")&&_(t,"livelobbyendpoint",y),/*clientstyling*/512&h[0]&&_(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&h[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&h[0]&&_(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/8192&h[0]&&_(t,"livecasino",/*livecasino*/e[13]),/*gamepagemodalurl*/16384&h[0]&&_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[14]),/*integratedgameframedesktop*/32768&h[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[15]),/*integratedgameframemobile*/65536&h[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[16])},d(e){e&&m(t)}}}
|
|
1452
|
+
// (600:4) {:else}
|
|
1453
|
+
function va(e){let t;return{c(){t=f("p"),t.textContent="500 Error - Internal Server Error.",x(t,"class","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}
|
|
1454
|
+
// (598:4) {#if presentFilters}
|
|
1455
|
+
function ba(e){let t;return{c(){t=f("p"),t.textContent="404 Error - No result found.",x(t,"class","SearchLoading")},m(e,n){h(e,t,n)},d(e){e&&m(t)}}}function wa(t){let n;function r(e,t){/*hasErrors*/
|
|
1456
|
+
return e[23]?Hi:/*searched*/e[28]?Ri:Ni}let i=r(t),a=i(t);return{c(){n=f("div"),a.c(),this.c=e,x(n,"class","CasinoGamesCategorySectionContainer")},m(e,r){h(e,n,r),a.m(n,null),
|
|
1462
1457
|
/*div_binding*/t[54](n)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),a=i(e),a&&(a.c(),a.m(n,null)))},i:e,o:e,d(e){e&&m(n),a.d(),
|
|
1463
|
-
/*div_binding*/t[54](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends z{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),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},
|
|
1458
|
+
/*div_binding*/t[54](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends z{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),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ii,Pi,a,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),H()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),H()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),H()}});const xa="game-tile-";function _a(e,t,n){let r;u(e,Pr,(e=>n(40,r=e)));let i,a,s,o,l,c,d,h,m,p,{endpoint:f=""}=t,{datasource:g=""}=t,{lang:y=""}=t,{session:v=""}=t,{userid:b=""}=t,{favorites:w=""}=t,{clientstyling:x=""}=t,{clientstylingurl:_=""}=t,{translationurl:S=""}=t,{currency:$=""}=t,{categoryid:F=""}=t,{showgamename:C=""}=t,{livecasino:G="false"}=t,{gamepagemodalurl:k="true"}=t,{integratedgameframedesktop:L="false"}=t,{integratedgameframemobile:T="false"}=t,{casinomygames:P="false"}=t,{addfilterselector:I="false"}=t,{addsortingselector:A="false"}=t,{filterbylogo:D=""}=t,{casinogamesgridslider:O="false"}=t,{fetchviaevent:N="false"}=t,{displayedgamecount:R="10"}=t,H=!0,B=!1,U=!0,Y=window.navigator.userAgent,j=[],z=!0,W=40,V=!1,Z=!1,K=!1,q=!1,X=!1,J=!0,Q=!1,ee=!1,te=!1,ne=new Array(1e4),re={},ie="",ae="",se={items:[],count:0,name:""};Object.keys(Rr).forEach((e=>{Nr(e,Rr[e])})),void 0!==document.hidden?
|
|
1464
1459
|
// Opera 12.10 and Firefox 18 and later support
|
|
1465
1460
|
m="hidden":void 0!==document.msHidden?m="msHidden":void 0!==document.webkitHidden&&(m="webkitHidden");
|
|
1466
1461
|
// IntersectionObserver used for loading more games
|
|
@@ -1485,55 +1480,55 @@ return Ir(n)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad"
|
|
|
1485
1480
|
*/
|
|
1486
1481
|
s.games.items.length>j.length&&(n(26,j=s.games.items),j.forEach((e=>{e.isFavorite=de(e.id)}))),n(33,Q=!1)}))},de=e=>!!d&&-1!==d.findIndex((t=>t.id==e)),he=e=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href)},me=()=>{var e;e=y,mr.set(e)};
|
|
1487
1482
|
// @TODO categoryId type
|
|
1488
|
-
|
|
1483
|
+
E((()=>{if("true"===N)return window.addEventListener("visibilitychange",(e=>{document[m]?n(38,ie="disconnect"):n(38,ie="connect")})),window.addEventListener("message",ce,!1),"FAVORITES"===F&&window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ce),window.removeEventListener("visibilitychange",ce)}}));return e.$$set=e=>{"endpoint"in e&&n(3,f=e.endpoint),"datasource"in e&&n(4,g=e.datasource),"lang"in e&&n(5,y=e.lang),"session"in e&&n(6,v=e.session),"userid"in e&&n(7,b=e.userid),"favorites"in e&&n(8,w=e.favorites),"clientstyling"in e&&n(9,x=e.clientstyling),"clientstylingurl"in e&&n(10,_=e.clientstylingurl),"translationurl"in e&&n(44,S=e.translationurl),"currency"in e&&n(11,$=e.currency),"categoryid"in e&&n(0,F=e.categoryid),"showgamename"in e&&n(12,C=e.showgamename),"livecasino"in e&&n(13,G=e.livecasino),"gamepagemodalurl"in e&&n(14,k=e.gamepagemodalurl),"integratedgameframedesktop"in e&&n(15,L=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(16,T=e.integratedgameframemobile),"casinomygames"in e&&n(17,P=e.casinomygames),"addfilterselector"in e&&n(1,I=e.addfilterselector),"addsortingselector"in e&&n(2,A=e.addsortingselector),"filterbylogo"in e&&n(18,D=e.filterbylogo),"casinogamesgridslider"in e&&n(19,O=e.casinogamesgridslider),"fetchviaevent"in e&&n(45,N=e.fetchviaevent),"displayedgamecount"in e&&n(46,R=e.displayedgamecount)},e.$$.update=()=>{/*lang*/32&e.$$.dirty[0]&&y&&me(),/*endpoint, lang, categoryid, datasource*/57&e.$$.dirty[0]|/*fetchviaevent, displayedgamecount*/49152&e.$$.dirty[1]&&("false"===N||""===N)&&f&&y&&F&&g&&R&&((e,t)=>{""!==e&&(n(28,V=!1),n(24,U=!0),n(1,I="false"),n(2,A="false"),n(27,z=!0),n(30,q=!1),te=!1,le(0,0,+t).then((e=>{n(25,s=e),n(26,j=s.games.items),j&&j.forEach((e=>{e.isFavorite=de(e.id)}))})))})(F,R),/*thumbnailContainer*/2097152&e.$$.dirty[0]|/*dataloaded*/65536&e.$$.dirty[1]&&p&&ne&&te&&ne.forEach(((e,t)=>{e&&(
|
|
1489
1484
|
// Hack to make sure that I can identify the thumbnail index
|
|
1490
1485
|
e.elems_index=t,oe.observe(e))})),/*lang, categoryid*/33&e.$$.dirty[0]&&y&&F&&(()=>{
|
|
1491
1486
|
// showFavGamesCategory vs categoryData
|
|
1492
1487
|
// favoriteGamesData vs shownCategoryData
|
|
1493
|
-
switch(F){case"FAVORITES":n(36,ee=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===P&&n(36,ee=!1)}})(),/*translationurl*/8192&e.$$.dirty[1]&&S&&fetch(S).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/1049088&e.$$.dirty[0]&&x&&h&&(()=>{let e=document.createElement("style");e.innerHTML=x,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1049600&e.$$.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,I,A,f,g,y,v,b,w,x,_,$,C,
|
|
1488
|
+
switch(F){case"FAVORITES":n(36,ee=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===P&&n(36,ee=!1)}})(),/*translationurl*/8192&e.$$.dirty[1]&&S&&fetch(S).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/1049088&e.$$.dirty[0]&&x&&h&&(()=>{let e=document.createElement("style");e.innerHTML=x,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/1049600&e.$$.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,I,A,f,g,y,v,b,w,x,_,$,C,G,k,L,T,P,D,O,h,ne,H,B,U,s,j,z,V,Z,q,X,J,Q,o,c,ee,re,ie,se,r,Y,e=>{if(0===(null==e?void 0:e.length))return"";let t,n="",r=999999999999;const i=new Date(Date.now());return e.forEach(((a,s)=>{const o=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Hr(l).diff(i)<r&&(r=Hr(l).diff(i),t=s),Hr(i).isAfter(o)&&Hr(i).isBefore(l)&&(n=e[t].name)})),n},he,S,N,R,p,function(e){M[e?"unshift":"push"]((()=>{c=e,n(35,c)}))},e=>he(s.id),function(e,t){M[e?"unshift":"push"]((()=>{ne[t]=e,n(21,ne)}))},function(e){M[e?"unshift":"push"]((()=>{o=e,n(34,o)}))},function(e){M[e?"unshift":"push"]((()=>{c=e,n(35,c)}))},function(e){M[e?"unshift":"push"]((()=>{o=e,n(34,o)}))},function(e){M[e?"unshift":"push"]((()=>{h=e,n(20,h)}))}]}
|
|
1494
1489
|
/* ../casino-favorites-section/src/CasinoFavoritesSection.svelte generated by Svelte v3.59.2 */
|
|
1495
|
-
function
|
|
1496
|
-
/*div_binding*/t[
|
|
1497
|
-
/*div_binding*/,t[
|
|
1490
|
+
function Sa(t){let n,r;return{c(){n=f("div"),r=f("casino-games-category-section"),this.c=e,_(r,"session",/*session*/t[0]),_(r,"userid",/*userid*/t[1]),_(r,"endpoint",/*endpoint*/t[2]),_(r,"datasource",/*datasource*/t[3]),_(r,"lang",/*lang*/t[5]),_(r,"currency",/*currency*/t[4]),_(r,"favorites",/*favorites*/t[14]),_(r,"fetchviaevent",/*fetchviaevent*/t[16]),_(r,"categoryid","FAVORITES"),_(r,"class","CategoryContainer"),_(r,"showgamename",/*showgamename*/t[11]),_(r,"clientstyling",/*clientstyling*/t[6]),_(r,"clientstylingurl",/*clientstylingurl*/t[7]),_(r,"livecasino",/*livecasino*/t[8]),_(r,"visiblegames",/*visiblegames*/t[13]),_(r,"gamepagemodalurl",/*gamepagemodalurl*/t[12]),_(r,"integratedgameframedesktop",/*integratedgameframedesktop*/t[10]),_(r,"integratedgameframemobile",/*integratedgameframemobile*/t[9]),_(r,"casinomygames",/*casinomygames*/t[15]),x(n,"class","CasinoFavoritesSectionContainer")},m(e,i){h(e,n,i),d(n,r),
|
|
1491
|
+
/*div_binding*/t[19](n)},p(e,t){/*session*/1&t[0]&&_(r,"session",/*session*/e[0]),/*userid*/2&t[0]&&_(r,"userid",/*userid*/e[1]),/*endpoint*/4&t[0]&&_(r,"endpoint",/*endpoint*/e[2]),/*datasource*/8&t[0]&&_(r,"datasource",/*datasource*/e[3]),/*lang*/32&t[0]&&_(r,"lang",/*lang*/e[5]),/*currency*/16&t[0]&&_(r,"currency",/*currency*/e[4]),/*favorites*/16384&t[0]&&_(r,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&t[0]&&_(r,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/2048&t[0]&&_(r,"showgamename",/*showgamename*/e[11]),/*clientstyling*/64&t[0]&&_(r,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&t[0]&&_(r,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&t[0]&&_(r,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&t[0]&&_(r,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/4096&t[0]&&_(r,"gamepagemodalurl",/*gamepagemodalurl*/e[12]),/*integratedgameframedesktop*/1024&t[0]&&_(r,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&t[0]&&_(r,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&t[0]&&_(r,"casinomygames",/*casinomygames*/e[15])},i:e,o:e,d(e){e&&m(n)
|
|
1492
|
+
/*div_binding*/,t[19](null)}}}function $a(e,t,n){let r,i,{endpoint:a=""}=t,{datasource:s=""}=t,{currency:o=""}=t,{lang:l=""}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:p="false"}=t,{integratedgameframedesktop:f="false"}=t,{showgamename:g=""}=t,{gamepagemodalurl:y="false"}=t,{visiblegames:v=""}=t,{favorites:b=""}=t,{categoryid:w=""}=t,{casinomygames:x="false"}=t,{fetchviaevent:_="true"}=t,S=[];!function({withLocale:e,translations:t}){mr.subscribe((n=>{null==n&&(Un.set(t),mr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
1498
1493
|
/*dictionary.set(translations);
|
|
1499
|
-
locale.set(_locale);*/}({withLocale:"en",translations:{}});const
|
|
1494
|
+
locale.set(_locale);*/}({withLocale:"en",translations:{}});const $=e=>{if(e.data)switch(e.data.type){case"UserSessionID":n(0,c=e.data.session),n(1,u=e.data.userID),u&&u.length&&c&&c.length>0&&F(a,c,u);break;case"SetUnfavoredGame":G(`${a}/v1/player/${u}/favorites`,c,u,e.data.id,e.data.triggerFactor);break;case"SetFavoredGame":C(`${a}/v1/player/${u}/favorites`,c,u,e.data.id,e.data.triggerFactor);break;case"GetFavoredGame":u&&u.length&&c&&c.length>0&&F(a,c,u)}};let F=(e,t,n)=>{if("true"==b&&c&&n){fetch(`${e}/v1/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then((e=>e.json())).then((e=>(i=e,i&&(L(),window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i,favStadalone:!0},window.location.href),T(i.items)),i))).then((e=>e)).catch((e=>{console.error(e)}))}},C=(e,t,n,r,i)=>{
|
|
1500
1495
|
// When adding new favored games, the api requires an array with all the current favored games due to the fact that it overwrites the old ones with the ones found in the body of the POST request
|
|
1501
|
-
|
|
1496
|
+
S.includes(r)||S.push(r);let a={items:S},s={method:"POST",headers:{"X-SessionID":t,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(a)};fetch(e,s).then((e=>e.json())).then((()=>{window.postMessage({type:`AddFavoriteThumbnail_${r}`},window.location.href),k(e,t)})).catch((e=>{console.error("Err",e)}))};const G=(e,t,n,r,i)=>{S.includes(r)&&(S=S.filter((e=>e!=r))),fetch(`${e}/${r}`,{method:"DELETE",headers:{"X-SessionID":t}}).then((e=>e.json())).then((()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${r}`},window.location.href),k(e,t)}))};let k=(e,t)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then((e=>e.json())).then((e=>(i=e,L(),i&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i,favStadalone:!0},window.location.href),i))).catch((e=>{console.error(e)}))};const L=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:i},window.location.href)},T=(e=[])=>(
|
|
1502
1497
|
// construct favorite array used to check if game id is not already present in fav list
|
|
1503
|
-
_=[],e.length>0&&e.forEach((e=>{_.push(e.id)})),_);return G((()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)}))),e.$$set=e=>{"endpoint"in e&&n(2,a=e.endpoint),"datasource"in e&&n(3,s=e.datasource),"currency"in e&&n(4,o=e.currency),"lang"in e&&n(5,l=e.lang),"session"in e&&n(0,c=e.session),"userid"in e&&n(1,u=e.userid),"clientstyling"in e&&n(6,d=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),"showgamename"in e&&n(11,g=e.showgamename),"gamepagemodalurl"in e&&n(12,y=e.gamepagemodalurl),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"categoryid"in e&&n(17,w=e.categoryid),"casinomygames"in e&&n(15,x=e.casinomygames)},e.$$.update=()=>{/*endpoint, userid, session, lang, favorites*/16423&e.$$.dirty[0]&&a&&u&&c&&l&&b&&"true"==b&&$(a,c,u),/*clientstyling, customStylingContainer*/65600&e.$$.dirty[0]&&d&&r&&(()=>{let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/65664&e.$$.dirty[0]&&h&&r&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{r.appendChild(e)}),1)}))})()},[c,u,a,s,o,l,d,h,m,p,f,g,y,v,b,x,r,w,function(e){M[e?"unshift":"push"]((()=>{r=e,n(16,r)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},$a,_a,a,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:44,currency:11,categoryid:0,showgamename:12,livecasino:13,gamepagemodalurl:14,integratedgameframedesktop:15,integratedgameframemobile:16,casinomygames:17,addfilterselector:1,addsortingselector:2,filterbylogo:18,casinogamesgridslider:19,fetchviaevent:45,displayedgamecount:46},null,[-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","displayedgamecount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),H()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),H()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[44]}set translationurl(e){this.$$set({translationurl:e}),H()}get currency(){return this.$$.ctx[11]}set currency(e){this.$$set({currency:e}),H()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),H()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),H()}get livecasino(){return this.$$.ctx[13]}set livecasino(e){this.$$set({livecasino:e}),H()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[15]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[16]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[18]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}get casinogamesgridslider(){return this.$$.ctx[19]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),H()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}get displayedgamecount(){return this.$$.ctx[46]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),H()}});function Ea(e,t){zn(e,t)}!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{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),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ca,Fa,a,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,categoryid:17,casinomygames:15},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),H()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get categoryid(){return this.$$.ctx[17]}set categoryid(e){this.$$set({categoryid:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}});const Ga={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."}};
|
|
1504
|
-
/* ../casino-last-played-section/src/CasinoLastPlayedSection.svelte generated by Svelte v3.59.2 */function
|
|
1505
|
-
// (
|
|
1506
|
-
function
|
|
1507
|
-
return e[
|
|
1498
|
+
S=[],e.length>0&&e.forEach((e=>{S.push(e.id)})),S);return E((()=>(window.addEventListener("message",$,!1),()=>{window.removeEventListener("message",$)}))),e.$$set=e=>{"endpoint"in e&&n(2,a=e.endpoint),"datasource"in e&&n(3,s=e.datasource),"currency"in e&&n(4,o=e.currency),"lang"in e&&n(5,l=e.lang),"session"in e&&n(0,c=e.session),"userid"in e&&n(1,u=e.userid),"clientstyling"in e&&n(6,d=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),"showgamename"in e&&n(11,g=e.showgamename),"gamepagemodalurl"in e&&n(12,y=e.gamepagemodalurl),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"categoryid"in e&&n(18,w=e.categoryid),"casinomygames"in e&&n(15,x=e.casinomygames),"fetchviaevent"in e&&n(16,_=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, session, lang, favorites*/16423&e.$$.dirty[0]&&a&&u&&c&&l&&b&&"true"==b&&F(a,c,u),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&d&&r&&(()=>{let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&h&&r&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{r.appendChild(e)}),1)}))})()},[c,u,a,s,o,l,d,h,m,p,f,g,y,v,b,x,_,r,w,function(e){M[e?"unshift":"push"]((()=>{r=e,n(17,r)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},_a,wa,a,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:44,currency:11,categoryid:0,showgamename:12,livecasino:13,gamepagemodalurl:14,integratedgameframedesktop:15,integratedgameframemobile:16,casinomygames:17,addfilterselector:1,addsortingselector:2,filterbylogo:18,casinogamesgridslider:19,fetchviaevent:45,displayedgamecount:46},null,[-1,-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","displayedgamecount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),H()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),H()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[44]}set translationurl(e){this.$$set({translationurl:e}),H()}get currency(){return this.$$.ctx[11]}set currency(e){this.$$set({currency:e}),H()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),H()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),H()}get livecasino(){return this.$$.ctx[13]}set livecasino(e){this.$$set({livecasino:e}),H()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[15]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[16]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),H()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),H()}get filterbylogo(){return this.$$.ctx[18]}set filterbylogo(e){this.$$set({filterbylogo:e}),H()}get casinogamesgridslider(){return this.$$.ctx[19]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),H()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}get displayedgamecount(){return this.$$.ctx[46]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),H()}});function Fa(e,t){zn(e,t)}!customElements.get("casino-favorites-section")&&customElements.define("casino-favorites-section",class extends z{constructor(e){super();const t=document.createElement("style");t.textContent=".CasinoFavoritesSectionContainer{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),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},$a,Sa,a,{endpoint:2,datasource:3,currency:4,lang:5,session:0,userid:1,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,showgamename:11,gamepagemodalurl:12,visiblegames:13,favorites:14,categoryid:18,casinomygames:15,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","showgamename","gamepagemodalurl","visiblegames","favorites","categoryid","casinomygames","fetchviaevent"]}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[4]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[0]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[1]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),H()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get categoryid(){return this.$$.ctx[18]}set categoryid(e){this.$$set({categoryid:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}});const Ca={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."}};
|
|
1499
|
+
/* ../casino-last-played-section/src/CasinoLastPlayedSection.svelte generated by Svelte v3.59.2 */function Ga(e){let t;return{c(){t=f("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","LASTPLAYED"),_(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){h(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&&m(t)}}}
|
|
1500
|
+
// (140:4) {#if lastPlayedEmpty}
|
|
1501
|
+
function Ea(e){let t,n,r=/*$_*/e[19]("noRecentGames")+"";return{c(){t=f("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noRecentGames")+"")&&S(n,r)},d(e){e&&m(t)}}}function ka(t){let n,r;function i(e,t){/*lastPlayedEmpty*/
|
|
1502
|
+
return e[18]?Ea:Ga}let a=i(t),s=a(t);return{c(){n=f("div"),r=f("div"),s.c(),this.c=e,x(r,"class","CasinoLastPlayedSection"),x(n,"class","CasinoGamesCategorySectionContainer")},m(e,i){h(e,n,i),d(n,r),s.m(r,null),
|
|
1503
|
+
/*div1_binding*/t[25](n)},p(e,t){a===(a=i(e))&&s?s.p(e,t):(s.d(1),s=a(e),s&&(s.c(),s.m(r,null)))},i:e,o:e,d(e){e&&m(n),s.d(),
|
|
1504
|
+
/*div1_binding*/t[25](null)}}}function Ma(e,t,n){let r;u(e,Pr,(e=>n(19,r=e)));let i,a,{endpoint:s=""}=t,{datasource:o=""}=t,{currency:l=""}=t,{lang:c=""}=t,{session:d=""}=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:S="Last30Days"}=t,{lastplayedorder:$=""}=t,{lastplayedlimit:F=""}=t,{casinomygames:C="false"}=t,{lastplayedunique:G="true"}=t,{fetchviaevent:E="true"}=t,k=window.navigator.userAgent,L=!1,T=[];Object.keys(Ca).forEach((e=>{Fa(e,Ca[e])}));const P=()=>{new Promise(((e,t)=>{let n=new URL(`${s}/v1/player/${h}/games/last-played`);n.searchParams.append("unique",G),n.searchParams.append("limit",F),n.searchParams.append("order",$),n.searchParams.append("period",S),"PC"===Ar(k)?n.searchParams.append("device","Desktop"):n.searchParams.append("device","Mobile"),i=g?n:n.href,fetch(i).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(window.postMessage({type:"GetFavoredGame"},window.location.href),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=>{T=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===C&&(T=T.slice(0,JSON.parse(x))),window.postMessage({type:"LastPlayedData",lastPlayedGames:T},window.location.href)}))}else n(18,L=!0)}))},I=()=>{var e;e=c,mr.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,d=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,S=e.lastplayedperiod),"lastplayedorder"in e&&n(22,$=e.lastplayedorder),"lastplayedlimit"in e&&n(23,F=e.lastplayedlimit),"casinomygames"in e&&n(15,C=e.casinomygames),"lastplayedunique"in e&&n(24,G=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=>{Fa(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&m&&a&&(()=>{let e=document.createElement("style");e.innerHTML=m,a.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&p&&a&&(()=>{let e=document.createElement("style");fetch(new URL(p)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{a.appendChild(e)}),1)}))})(),/*lang*/8&e.$$.dirty[0]&&c&&I()},[s,o,l,c,d,h,m,p,g,y,v,b,w,x,_,C,E,a,L,r,f,S,$,F,G,function(e){M[e?"unshift":"push"]((()=>{a=e,n(17,a)}))}]}function La(e,t){zn(e,t)}!customElements.get("casino-last-played-section")&&customElements.define("casino-last-played-section",class extends z{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),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ma,ka,a,{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&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}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}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get lastplayedperiod(){return this.$$.ctx[21]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),H()}get lastplayedorder(){return this.$$.ctx[22]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),H()}get lastplayedlimit(){return this.$$.ctx[23]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get lastplayedunique(){return this.$$.ctx[24]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),H()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}});const Ta={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:"No games in most played"},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"}};
|
|
1505
|
+
/* ../casino-most-played-section/src/CasinoMostPlayedSection.svelte generated by Svelte v3.59.2 */function Pa(e){let t;return{c(){t=f("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){h(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&&m(t)}}}
|
|
1506
|
+
// (154:4) {#if mostPlayedEmpty}
|
|
1507
|
+
function Ia(e){let t,n,r=/*$_*/e[19]("noGames")+"";return{c(){t=f("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noGames")+"")&&S(n,r)},d(e){e&&m(t)}}}function Aa(t){let n,r;function i(e,t){/*mostPlayedEmpty*/
|
|
1508
|
+
return e[18]?Ia:Pa}let a=i(t),s=a(t);return{c(){n=f("div"),r=f("div"),s.c(),this.c=e,x(r,"class","casino-most-played-section"),x(n,"class","CasinoGamesCategorySectionContainer")},m(e,i){h(e,n,i),d(n,r),s.m(r,null),
|
|
1508
1509
|
/*div1_binding*/t[24](n)},p(e,t){a===(a=i(e))&&s?s.p(e,t):(s.d(1),s=a(e),s&&(s.c(),s.m(r,null)))},i:e,o:e,d(e){e&&m(n),s.d(),
|
|
1509
|
-
/*div1_binding*/t[24](null)}}}function
|
|
1510
|
-
/* ../casino-most-played-section/src/CasinoMostPlayedSection.svelte generated by Svelte v3.59.2 */function Aa(e){let t;return{c(){t=f("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,"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){h(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]),/*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&&m(t)}}}
|
|
1511
|
-
// (153:4) {#if mostPlayedEmpty}
|
|
1512
|
-
function Da(e){let t,n,r=/*$_*/e[18]("noGames")+"";return{c(){t=f("p"),n=y(r),x(t,"class","SearchLoading")},m(e,r){h(e,t,r),d(t,n)},p(e,t){/*$_*/262144&t[0]&&r!==(r=/*$_*/e[18]("noGames")+"")&&S(n,r)},d(e){e&&m(t)}}}function Oa(t){let n,r;function i(e,t){/*mostPlayedEmpty*/
|
|
1513
|
-
return e[17]?Da:Aa}let a=i(t),s=a(t);return{c(){n=f("div"),r=f("div"),s.c(),this.c=e,x(r,"class","casino-most-played-section"),x(n,"class","CasinoGamesCategorySectionContainer")},m(e,i){h(e,n,i),d(n,r),s.m(r,null),
|
|
1514
|
-
/*div1_binding*/t[23](n)},p(e,t){a===(a=i(e))&&s?s.p(e,t):(s.d(1),s=a(e),s&&(s.c(),s.m(r,null)))},i:e,o:e,d(e){e&&m(n),s.d(),
|
|
1515
|
-
/*div1_binding*/t[23](null)}}}function Na(e,t,n){let r;u(e,Pr,(e=>n(18,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:s=""}=t,{lang:o=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=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,{lastPlayedEmpty:w=""}=t,{translationurl:x=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:S="Last30Days"}=t,{mostplayedrounds:$="10"}=t,F=window.navigator.userAgent;Object.keys(Ia).forEach((e=>{Pa(e,Ia[e])}));let C,E,G=[],k=!1;const L=()=>{(e=>{let t=new URL(`${i}/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",S);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),C=m?t:t.href,new Promise(((e,t)=>{fetch(C).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:Ar(F),rounds:$}).then((e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{G=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===_&&(G=G.slice(0,JSON.parse(v))),window.postMessage({type:"MostPlayedData",mostPlayedGames:G},window.location.href)}))}else n(17,k=!0)}))},T=()=>{var e;e=o,mr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=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,d=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),"lastPlayedEmpty"in e&&n(19,w=e.lastPlayedEmpty),"translationurl"in e&&n(20,x=e.translationurl),"casinomygames"in e&&n(15,_=e.casinomygames),"mostplayedperiod"in e&&n(21,S=e.mostplayedperiod),"mostplayedrounds"in e&&n(22,$=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&o&&L(),/*clientstyling, customStylingContainer*/65600&e.$$.dirty[0]&&d&&E&&(()=>{let e=document.createElement("style");e.innerHTML=d,E.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/65664&e.$$.dirty[0]&&h&&E&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{E.appendChild(e)}),1)}))})(),/*translationurl*/1048576&e.$$.dirty[0]&&x&&fetch(x).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Pa(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&o&&T()},[i,a,s,o,l,c,d,h,m,p,f,g,y,v,b,_,E,k,r,w,x,S,$,function(e){M[e?"unshift":"push"]((()=>{E=e,n(16,E)}))}]}
|
|
1510
|
+
/*div1_binding*/t[24](null)}}}function Da(e,t,n){let r;u(e,Pr,(e=>n(19,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:s=""}=t,{lang:o=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=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,{lastPlayedEmpty:w=""}=t,{translationurl:x=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:S="Last30Days"}=t,{mostplayedrounds:$="10"}=t,{fetchviaevent:F="true"}=t,C=window.navigator.userAgent;Object.keys(Ta).forEach((e=>{La(e,Ta[e])}));let G,E,k=[],L=!1;const T=()=>{(e=>{let t=new URL(`${i}/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",S);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),G=m?t:t.href,new Promise(((e,t)=>{fetch(G).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:Ar(C),rounds:$}).then((e=>{if(window.postMessage({type:"GetFavoredGame"},window.location.href),e.count>0){let t=[];e.items.forEach((e=>{let n=new URL(`${i}/v1/casino/games/${e.gameId}`);n.searchParams.append("datasource",a),t.push(fetch(n.href).then((e=>e.json())))})),Promise.all(t).then((e=>{k=e.filter((e=>!("error"in e))).map((e=>e[0])),"true"===_&&(k=k.slice(0,JSON.parse(v))),window.postMessage({type:"MostPlayedData",mostPlayedGames:k},window.location.href)}))}else n(18,L=!0)}))},P=()=>{var e;e=o,mr.set(e)};return e.$$set=e=>{"endpoint"in e&&n(0,i=e.endpoint),"datasource"in e&&n(1,a=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,d=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),"lastPlayedEmpty"in e&&n(20,w=e.lastPlayedEmpty),"translationurl"in e&&n(21,x=e.translationurl),"casinomygames"in e&&n(15,_=e.casinomygames),"mostplayedperiod"in e&&n(22,S=e.mostplayedperiod),"mostplayedrounds"in e&&n(23,$=e.mostplayedrounds),"fetchviaevent"in e&&n(16,F=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&o&&T(),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&d&&E&&(()=>{let e=document.createElement("style");e.innerHTML=d,E.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/131200&e.$$.dirty[0]&&h&&E&&(()=>{let e=document.createElement("style");fetch(new URL(h)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{E.appendChild(e)}),1)}))})(),/*translationurl*/2097152&e.$$.dirty[0]&&x&&fetch(x).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{La(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&o&&P()},[i,a,s,o,l,c,d,h,m,p,f,g,y,v,b,_,F,E,L,r,w,x,S,$,function(e){M[e?"unshift":"push"]((()=>{E=e,n(17,E)}))}]}
|
|
1516
1511
|
/* src/CasinoMyGames.svelte generated by Svelte v3.59.2 */
|
|
1517
|
-
function
|
|
1512
|
+
function Oa(e,t,n){const r=e.slice();return r[43]=t[n],r}
|
|
1518
1513
|
// (114:4) {#if casinomygames}
|
|
1519
|
-
function
|
|
1520
|
-
return"Favorites"==e[25]?
|
|
1514
|
+
function Na(e){let t,n,r,i,a,s,o=/*tabsArray*/e[27],l=[];for(let t=0;t<o.length;t+=1)l[t]=Ua(Oa(e,o,t));function c(e,t){/*gamesType*/
|
|
1515
|
+
return"Favorites"==e[25]?za:/*gamesType*/"MostPlayed"==e[25]?ja:/*gamesType*/"LastPlayed"==e[25]?Ya:void 0}let u=c(e),g=u&&u(e);return{c(){t=f("div"),n=f("div"),r=f("div");for(let e=0;e<l.length;e+=1)l[e].c();i=v(),a=f("div"),g&&g.c(),x(r,"class","MyGamesButtonsContainer"),x(n,"class","MyGamesHeader"),x(t,"class",s="CasinoMyGames "+(/*mobile*/e[26]?"Mobile":""))},m(e,s){h(e,t,s),d(t,n),d(n,r);for(let e=0;e<l.length;e+=1)l[e]&&l[e].m(r,null);d(t,i),d(t,a),g&&g.m(a,null)},p(e,n){if(/*gamesType, lastplayed, toggleTab, $_, tabsArray, mostplayed, favorites, favoritesCount*/2046935040&n[0]){let t;for(o=/*tabsArray*/e[27],t=0;t<o.length;t+=1){const i=Oa(e,o,t);l[t]?l[t].p(i,n):(l[t]=Ua(i),l[t].c(),l[t].m(r,null))}for(;t<l.length;t+=1)l[t].d(1);l.length=o.length}u===(u=c(e))&&g?g.p(e,n):(g&&g.d(1),g=u&&u(e),g&&(g.c(),g.m(a,null))),/*mobile*/67108864&n[0]&&s!==(s="CasinoMyGames "+(/*mobile*/e[26]?"Mobile":""))&&x(t,"class",s)},d(e){e&&m(t),p(l,e),g&&g.d()}}}
|
|
1521
1516
|
// (119:14) {#if tab == 'Favorites'}
|
|
1522
|
-
function
|
|
1517
|
+
function Ra(e){let t,n,r,i,a,s,o,l,c,u,p=/*$_*/e[29]("favorites")+"";return{c(){t=f("button"),n=y(p),r=v(),i=f("span"),a=y("("),s=y(/*favoritesCount*/e[28]),o=y(")"),x(t,"class",l="MyGamesButton "+(/*gamesType*/"Favorites"==e[25]?"Active":"")+" "+(/*favorites*/"false"==e[14]?"Off":""))},m(l,m){h(l,t,m),d(t,n),d(t,r),d(t,i),d(i,a),d(i,s),d(i,o),c||(u=w(t,"click",/*click_handler*/e[32]),c=!0)},p(e,r){/*$_*/536870912&r[0]&&p!==(p=/*$_*/e[29]("favorites")+"")&&S(n,p),/*favoritesCount*/268435456&r[0]&&S(s,/*favoritesCount*/e[28]),/*gamesType, favorites*/33570816&r[0]&&l!==(l="MyGamesButton "+(/*gamesType*/"Favorites"==e[25]?"Active":"")+" "+(/*favorites*/"false"==e[14]?"Off":""))&&x(t,"class",l)},d(e){e&&m(t),c=!1,u()}}}
|
|
1523
1518
|
// (124:14) {#if tab == 'MostPlayed'}
|
|
1524
|
-
function
|
|
1519
|
+
function Ha(e){let t,n,r,i,a,s=/*$_*/e[29]("mostPlayed")+"";return{c(){t=f("button"),n=y(s),x(t,"class",r="MyGamesButton "+(/*gamesType*/"MostPlayed"==e[25]?"Active":"")+" "+(/*mostplayed*/"false"==e[15]?"Off":""))},m(r,s){h(r,t,s),d(t,n),i||(a=w(t,"click",/*click_handler_1*/e[33]),i=!0)},p(e,i){/*$_*/536870912&i[0]&&s!==(s=/*$_*/e[29]("mostPlayed")+"")&&S(n,s),/*gamesType, mostplayed*/33587200&i[0]&&r!==(r="MyGamesButton "+(/*gamesType*/"MostPlayed"==e[25]?"Active":"")+" "+(/*mostplayed*/"false"==e[15]?"Off":""))&&x(t,"class",r)},d(e){e&&m(t),i=!1,a()}}}
|
|
1525
1520
|
// (129:14) {#if tab == 'LastPlayed'}
|
|
1526
|
-
function
|
|
1521
|
+
function Ba(e){let t,n,r,i,a,s,o=/*$_*/e[29]("recentlyPlayed")+"";return{c(){t=f("button"),n=y(o),r=v(),x(t,"class",i="MyGamesButton "+(/*gamesType*/"LastPlayed"==e[25]?"Active":"")+" "+(/*lastplayed*/"false"==e[16]?"Off":""))},m(i,o){h(i,t,o),d(t,n),d(t,r),a||(s=w(t,"click",/*click_handler_2*/e[34]),a=!0)},p(e,r){/*$_*/536870912&r[0]&&o!==(o=/*$_*/e[29]("recentlyPlayed")+"")&&S(n,o),/*gamesType, lastplayed*/33619968&r[0]&&i!==(i="MyGamesButton "+(/*gamesType*/"LastPlayed"==e[25]?"Active":"")+" "+(/*lastplayed*/"false"==e[16]?"Off":""))&&x(t,"class",i)},d(e){e&&m(t),a=!1,s()}}}
|
|
1527
1522
|
// (118:12) {#each tabsArray as tab}
|
|
1528
|
-
function
|
|
1523
|
+
function Ua(e){let t,n,r,i=/*tab*/"Favorites"==e[43]&&Ra(e),a=/*tab*/"MostPlayed"==e[43]&&Ha(e),s=/*tab*/"LastPlayed"==e[43]&&Ba(e);return{c(){i&&i.c(),t=v(),a&&a.c(),n=v(),s&&s.c(),r=b()},m(e,o){i&&i.m(e,o),h(e,t,o),a&&a.m(e,o),h(e,n,o),s&&s.m(e,o),h(e,r,o)},p(e,o){/*tab*/"Favorites"==e[43]?i?i.p(e,o):(i=Ra(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),/*tab*/"MostPlayed"==e[43]?a?a.p(e,o):(a=Ha(e),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),/*tab*/"LastPlayed"==e[43]?s?s.p(e,o):(s=Ba(e),s.c(),s.m(r.parentNode,r)):s&&(s.d(1),s=null)},d(e){i&&i.d(e),e&&m(t),a&&a.d(e),e&&m(n),s&&s.d(e),e&&m(r)}}}
|
|
1529
1524
|
// (180:47)
|
|
1530
|
-
function
|
|
1525
|
+
function Ya(e){let t;return{c(){t=f("casino-last-played-section"),_(t,"userid",/*userid*/e[0]),_(t,"endpoint",/*endpoint*/e[2]),_(t,"datasource",/*datasource*/e[3]),_(t,"favorites",/*favorites*/e[14]),_(t,"lang",/*lang*/e[4]),_(t,"currency",/*currency*/e[5]),_(t,"session",/*session*/e[1]),_(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,"lastplayedperiod",/*lastplayedperiod*/e[18]),_(t,"lastplayedorder",/*lastplayedorder*/e[20]),_(t,"lastplayedlimit",/*lastplayedlimit*/e[21]),_(t,"lastplayedunique",/*lastplayedunique*/e[22]),_(t,"gamepagemodalurl",/*gamepagemodalurl*/e[10]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),_(t,"casinomygames",/*casinomygames*/e[17])},m(e,n){h(e,t,n)},p(e,n){/*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]),/*favorites*/16384&n[0]&&_(t,"favorites",/*favorites*/e[14]),/*lang*/16&n[0]&&_(t,"lang",/*lang*/e[4]),/*currency*/32&n[0]&&_(t,"currency",/*currency*/e[5]),/*session*/2&n[0]&&_(t,"session",/*session*/e[1]),/*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]),/*lastplayedperiod*/262144&n[0]&&_(t,"lastplayedperiod",/*lastplayedperiod*/e[18]),/*lastplayedorder*/1048576&n[0]&&_(t,"lastplayedorder",/*lastplayedorder*/e[20]),/*lastplayedlimit*/2097152&n[0]&&_(t,"lastplayedlimit",/*lastplayedlimit*/e[21]),/*lastplayedunique*/4194304&n[0]&&_(t,"lastplayedunique",/*lastplayedunique*/e[22]),/*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&&m(t)}}}
|
|
1531
1526
|
// (158:46)
|
|
1532
|
-
function
|
|
1527
|
+
function ja(e){let t;return{c(){t=f("casino-most-played-section"),_(t,"endpoint",/*endpoint*/e[2]),_(t,"datasource",/*datasource*/e[3]),_(t,"lang",/*lang*/e[4]),_(t,"currency",/*currency*/e[5]),_(t,"session",/*session*/e[1]),_(t,"userid",/*userid*/e[0]),_(t,"favorites",/*favorites*/e[14]),_(t,"categoryindex","0"),_(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,"mostplayedrounds",/*mostplayedrounds*/e[23]),_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),_(t,"mostplayedperiod",/*mostplayedperiod*/e[19]),_(t,"casinomygames",/*casinomygames*/e[17])},m(e,n){h(e,t,n)},p(e,n){/*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]),/*session*/2&n[0]&&_(t,"session",/*session*/e[1]),/*userid*/1&n[0]&&_(t,"userid",/*userid*/e[0]),/*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]),/*mostplayedrounds*/8388608&n[0]&&_(t,"mostplayedrounds",/*mostplayedrounds*/e[23]),/*integratedgameframedesktop*/4096&n[0]&&_(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[12]),/*integratedgameframemobile*/8192&n[0]&&_(t,"integratedgameframemobile",/*integratedgameframemobile*/e[13]),/*mostplayedperiod*/524288&n[0]&&_(t,"mostplayedperiod",/*mostplayedperiod*/e[19]),/*casinomygames*/131072&n[0]&&_(t,"casinomygames",/*casinomygames*/e[17])},d(e){e&&m(t)}}}
|
|
1533
1528
|
// (138:10) {#if gamesType == 'Favorites'}
|
|
1534
|
-
function
|
|
1529
|
+
function za(e){let t;return{c(){t=f("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){h(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&&m(t)}}}function Wa(t){let n;function r(e,t){if(/*casinomygames*/e[17])return Na}let i=r(t),a=i&&i(t);return{c(){n=f("div"),a&&a.c(),this.c=e},m(e,r){h(e,n,r),a&&a.m(n,null)
|
|
1535
1530
|
/*div_binding*/,t[35](n)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),a=i&&i(e),a&&(a.c(),a.m(n,null)))},i:e,o:e,d(e){e&&m(n),a&&a.d()
|
|
1536
|
-
/*div_binding*/,t[35](null)}}}function
|
|
1531
|
+
/*div_binding*/,t[35](null)}}}function Va(e,t,n){let r;u(e,Pr,(e=>n(29,r=e)));let i,{userid:a=""}=t,{session:s=""}=t,{endpoint:o=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{currency:d=""}=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:S="false"}=t,{casinomygames:$="false"}=t,{lastplayedperiod:F="Last30Days"}=t,{mostplayedperiod:C="Last30Days"}=t,{lastplayedorder:G=""}=t,{lastplayedlimit:k=""}=t,{lastplayedunique:L="true"}=t,{mostplayedrounds:T=""}=t,P=window.navigator.userAgent,I="",A=!1,D=["","",""],O="0";!function({withLocale:e,translations:t}){mr.subscribe((n=>{null==n&&(Un.set(t),mr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
|
1537
1532
|
/*dictionary.set(translations);
|
|
1538
|
-
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Or).forEach((e=>{Dr(e,Or[e])}));const N=e=>{I!==e&&n(25,I=e)},R=()=>{var e;n(25,I="true"===x?"Favorites":"true"===_?"MostPlayed":"true"===S?"LastPlayed":""),n(27,D[0]="true"===x?"Favorites":"",D),n(27,D[1]="true"===_?"MostPlayed":"",D),n(27,D[2]="true"===S?"LastPlayed":"",D),e=c,mr.set(e)},H=e=>{if(e.data&&"UpdateCategoryFavoriteGames"===e.data.type)n(28,O=e.data.receivedFavoriteResults.count)};G((()=>(window.addEventListener("message",H,!1),n(26,A=Ir(P)),()=>{window.removeEventListener("message",H)})));return e.$$set=e=>{"userid"in e&&n(0,a=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,d=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,S=e.lastplayed),"casinomygames"in e&&n(17,$=e.casinomygames),"lastplayedperiod"in e&&n(18,F=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,C=e.mostplayedperiod),"lastplayedorder"in e&&n(20,E=e.lastplayedorder),"lastplayedlimit"in e&&n(21,k=e.lastplayedlimit),"lastplayedunique"in e&&n(22,L=e.lastplayedunique),"mostplayedrounds"in e&&n(23,T=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, datasource, lang*/28&e.$$.dirty[0]&&o&&l&&c&&R(),/*favorites, mostplayed, lastplayed*/114688&e.$$.dirty[0]&&x&&_&&S&&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&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/16777344&e.$$.dirty[0]&&m&&i&&(()=>{let e=document.createElement("style");fetch(new URL(m)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})()},[a,s,o,l,c,d,h,m,p,f,g,y,v,b,x,_,S,$,F,C,E,k,L,T,i,I,A,D,O,r,N,w,()=>N("Favorites"),()=>N("MostPlayed"),()=>N("LastPlayed"),function(e){M[e?"unshift":"push"]((()=>{i=e,n(24,i)}))}]}!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",class extends z{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),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Na,Oa,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastPlayedEmpty:19,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastPlayedEmpty","translationurl","casinomygames","mostplayedperiod","mostplayedrounds"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get lastPlayedEmpty(){return this.$$.ctx[19]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),H()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),H()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),H()}});class qa extends z{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),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Ka,Za,a,{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&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}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}),H()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),H()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),H()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),H()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),H()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),H()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),H()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),H()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),H()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),H()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),H()}}return!customElements.get("casino-my-games")&&customElements.define("casino-my-games",qa),qa}));
|
|
1533
|
+
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Or).forEach((e=>{Dr(e,Or[e])}));const N=e=>{I!==e&&n(25,I=e)},R=()=>{var e;n(25,I="true"===x?"Favorites":"true"===_?"MostPlayed":"true"===S?"LastPlayed":""),n(27,D[0]="true"===x?"Favorites":"",D),n(27,D[1]="true"===_?"MostPlayed":"",D),n(27,D[2]="true"===S?"LastPlayed":"",D),e=c,mr.set(e)},H=e=>{if(e.data&&"UpdateCategoryFavoriteGames"===e.data.type)n(28,O=e.data.receivedFavoriteResults.count)};E((()=>(window.addEventListener("message",H,!1),n(26,A=Ir(P)),()=>{window.removeEventListener("message",H)})));return e.$$set=e=>{"userid"in e&&n(0,a=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,d=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,S=e.lastplayed),"casinomygames"in e&&n(17,$=e.casinomygames),"lastplayedperiod"in e&&n(18,F=e.lastplayedperiod),"mostplayedperiod"in e&&n(19,C=e.mostplayedperiod),"lastplayedorder"in e&&n(20,G=e.lastplayedorder),"lastplayedlimit"in e&&n(21,k=e.lastplayedlimit),"lastplayedunique"in e&&n(22,L=e.lastplayedunique),"mostplayedrounds"in e&&n(23,T=e.mostplayedrounds)},e.$$.update=()=>{/*endpoint, datasource, lang*/28&e.$$.dirty[0]&&o&&l&&c&&R(),/*favorites, mostplayed, lastplayed*/114688&e.$$.dirty[0]&&x&&_&&S&&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&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/16777344&e.$$.dirty[0]&&m&&i&&(()=>{let e=document.createElement("style");fetch(new URL(m)).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{i.appendChild(e)}),1)}))})()},[a,s,o,l,c,d,h,m,p,f,g,y,v,b,x,_,S,$,F,C,G,k,L,T,i,I,A,D,O,r,N,w,()=>N("Favorites"),()=>N("MostPlayed"),()=>N("LastPlayed"),function(e){M[e?"unshift":"push"]((()=>{i=e,n(24,i)}))}]}!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",class extends z{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),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Da,Aa,a,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,lastPlayedEmpty:20,translationurl:21,casinomygames:15,mostplayedperiod:22,mostplayedrounds:23,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","lastPlayedEmpty","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),H()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),H()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),H()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),H()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),H()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get lastPlayedEmpty(){return this.$$.ctx[20]}set lastPlayedEmpty(e){this.$$set({lastPlayedEmpty:e}),H()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),H()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get mostplayedperiod(){return this.$$.ctx[22]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),H()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),H()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),H()}});class Za extends z{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),j(this,{target:this.shadowRoot,props:C(this.attributes),customElement:!0},Va,Wa,a,{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&&h(e.target,this,e.anchor),e.props&&(this.$set(e.props),H()))}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}),H()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),H()}get endpoint(){return this.$$.ctx[2]}set endpoint(e){this.$$set({endpoint:e}),H()}get datasource(){return this.$$.ctx[3]}set datasource(e){this.$$set({datasource:e}),H()}get lang(){return this.$$.ctx[4]}set lang(e){this.$$set({lang:e}),H()}get currency(){return this.$$.ctx[5]}set currency(e){this.$$set({currency:e}),H()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),H()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),H()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),H()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),H()}get gamepagemodalurl(){return this.$$.ctx[10]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),H()}get showgamename(){return this.$$.ctx[11]}set showgamename(e){this.$$set({showgamename:e}),H()}get integratedgameframedesktop(){return this.$$.ctx[12]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),H()}get integratedgameframemobile(){return this.$$.ctx[13]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),H()}get translationurl(){return this.$$.ctx[31]}set translationurl(e){this.$$set({translationurl:e}),H()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),H()}get mostplayed(){return this.$$.ctx[15]}set mostplayed(e){this.$$set({mostplayed:e}),H()}get lastplayed(){return this.$$.ctx[16]}set lastplayed(e){this.$$set({lastplayed:e}),H()}get casinomygames(){return this.$$.ctx[17]}set casinomygames(e){this.$$set({casinomygames:e}),H()}get lastplayedperiod(){return this.$$.ctx[18]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),H()}get mostplayedperiod(){return this.$$.ctx[19]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),H()}get lastplayedorder(){return this.$$.ctx[20]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),H()}get lastplayedlimit(){return this.$$.ctx[21]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),H()}get lastplayedunique(){return this.$$.ctx[22]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),H()}get mostplayedrounds(){return this.$$.ctx[23]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),H()}}return!customElements.get("casino-my-games")&&customElements.define("casino-my-games",Za),Za}));
|
|
1539
1534
|
//# sourceMappingURL=casino-my-games.js.map
|