@everymatrix/casino-most-played-section 1.43.0 → 1.43.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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 t(){}function n(e){return e()}function r(){return Object.create(null)}function i(e){e.forEach(n)}function a(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,l;function c(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function u(e,...n){if(null==e)return t;const r=e.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function d(e,t,n){e.$$.on_destroy.push(u(t,n))}function h(e,t){e.appendChild(t)}function m(e,t,n){e.insertBefore(t,n||null)}function f(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 g(e){return document.createElement(e)}function y(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function v(e){return document.createTextNode(e)}function b(){return v(" ")}function w(){return v("")}function _(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 S(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:x(e,t,n)}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 t(){}function n(e){return e()}function r(){return Object.create(null)}function i(e){e.forEach(n)}function a(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,l;function c(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function u(e,...n){if(null==e)return t;const r=e.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function d(e,t,n){e.$$.on_destroy.push(u(t,n))}function h(e,t){e.appendChild(t)}function m(e,t,n){e.insertBefore(t,n||null)}function f(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 g(e){return document.createElement(e)}function y(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function v(e){return document.createTextNode(e)}function b(){return v(" ")}function w(){return v("")}function _(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 S(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:x(e,t,n)}function k(e,t){t=""+t,e.data!==t&&(e.data=t)}function F(e,t,n){e.classList[n?"add":"remove"](t)}class C{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=y(t.nodeName):this.e=g(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)m(this.t,this.n[t],e)}p(e){this.d(),this.h(e),this.i(this.a)}d(){this.n.forEach(f)}}function E(e){const t={};for(const n of e)t[n.name]=n.value;return t}function G(e){l=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;
|
@@ -131,7 +131,7 @@ self.fetch.bind(self);
|
|
131
131
|
PERFORMANCE OF THIS SOFTWARE.
|
132
132
|
***************************************************************************** */
|
133
133
|
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
134
|
-
var ve=function(e,t){return ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ve(e,t)};function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ve(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function we(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _e(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function 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 Se(e){return"function"==typeof e}function Fe(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var ke=Fe((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 Ce(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ee=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=we(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(Se(l))try{l()}catch(e){i=e instanceof ke?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=we(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{Me(h)}catch(e){i=null!=i?i:[],e instanceof ke?i=xe(xe([],_e(i)),_e(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 ke(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Me(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ce(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ce(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ge=Ee.EMPTY;function Te(e){return e instanceof Ee||e&&"closed"in e&&Se(e.remove)&&Se(e.add)&&Se(e.unsubscribe)}function Me(e){Se(e)?e():e.unsubscribe()}var $e={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],_e(n))):setTimeout.apply(void 0,xe([e,t],_e(n)))},clearTimeout:function(e){var t=Le.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ie(){}var Ae=null;function De(e){if($e.useDeprecatedSynchronousErrorHandling){var t=!Ae;if(t&&(Ae={errorThrown:!1,error:null}),e(),t){var n=Ae,r=n.errorThrown,i=n.error;if(Ae=null,r)throw i}}else e()}var Oe=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Te(t)&&t.add(n)):n.destination=Ue,n}return be(t,e),t.create=function(e,t,n){return new He(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ee),Ne=Function.prototype.bind;function Pe(e,t){return Ne.call(e,t)}var Re=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Be(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Be(e)}else Be(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Be(e)}},e}(),He=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;Se(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&$e.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&Pe(t.next,a),error:t.error&&Pe(t.error,a),complete:t.complete&&Pe(t.complete,a)}):i=t;return o.destination=new Re(i),o}return be(t,e),t}(Oe);function Be(e){var t;t=e,Le.setTimeout((function(){throw t}))}var Ue={closed:!0,next:Ie,error:function(e){throw e},complete:Ie},Ye="function"==typeof Symbol&&Symbol.observable||"@@observable";function ze(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 Oe||function(e){return e&&Se(e.next)&&Se(e.error)&&Se(e.complete)}(r)&&Te(r)?e:new He(e,t,n);return De((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=We(t))((function(t,r){var i=new He({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[Ye]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?ze:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=We(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function We(e){var t;return null!==(t=null!=e?e:$e.Promise)&&void 0!==t?t:Promise}var Ve=Fe((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ze=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return be(t,e),t.prototype.lift=function(e){var t=new Ke(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ve},t.prototype.next=function(e){var t=this;De((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=we(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;De((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;De((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 Ee((function(){t.currentObservers=null,Ce(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 Ke(e,t)},t}(je),Ke=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return be(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:Ge},t}(Ze),Xe={now:function(){return(Xe.delegate||Date).now()},delegate:void 0},Je=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Xe);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 be(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Ze);let qe=[],Qe={};
|
134
|
+
var ve=function(e,t){return ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ve(e,t)};function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ve(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function we(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function _e(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function 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 Se(e){return"function"==typeof e}function ke(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 Fe=ke((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 Ce(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Ee=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}return e.prototype.unsubscribe=function(){var e,t,n,r,i;if(!this.closed){this.closed=!0;var a=this._parentage;if(a)if(this._parentage=null,Array.isArray(a))try{for(var o=we(a),s=o.next();!s.done;s=o.next()){s.value.remove(this)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}else a.remove(this);var l=this.initialTeardown;if(Se(l))try{l()}catch(e){i=e instanceof Fe?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=we(c),d=u.next();!d.done;d=u.next()){var h=d.value;try{Me(h)}catch(e){i=null!=i?i:[],e instanceof Fe?i=xe(xe([],_e(i)),_e(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 Fe(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Me(t);else{if(t instanceof e){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=null!==(n=this._finalizers)&&void 0!==n?n:[]).push(t)}},e.prototype._hasParent=function(e){var t=this._parentage;return t===e||Array.isArray(t)&&t.includes(e)},e.prototype._addParent=function(e){var t=this._parentage;this._parentage=Array.isArray(t)?(t.push(e),t):t?[t,e]:e},e.prototype._removeParent=function(e){var t=this._parentage;t===e?this._parentage=null:Array.isArray(t)&&Ce(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ce(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Ge=Ee.EMPTY;function Te(e){return e instanceof Ee||e&&"closed"in e&&Se(e.remove)&&Se(e.add)&&Se(e.unsubscribe)}function Me(e){Se(e)?e():e.unsubscribe()}var $e={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],_e(n))):setTimeout.apply(void 0,xe([e,t],_e(n)))},clearTimeout:function(e){var t=Le.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ie(){}var Ae=null;function De(e){if($e.useDeprecatedSynchronousErrorHandling){var t=!Ae;if(t&&(Ae={errorThrown:!1,error:null}),e(),t){var n=Ae,r=n.errorThrown,i=n.error;if(Ae=null,r)throw i}}else e()}var Oe=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Te(t)&&t.add(n)):n.destination=Ue,n}return be(t,e),t.create=function(e,t,n){return new He(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Ee),Ne=Function.prototype.bind;function Pe(e,t){return Ne.call(e,t)}var Re=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Be(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Be(e)}else Be(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Be(e)}},e}(),He=function(e){function t(t,n,r){var i,a,o=e.call(this)||this;Se(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:o&&$e.useDeprecatedNextContext?((a=Object.create(t)).unsubscribe=function(){return o.unsubscribe()},i={next:t.next&&Pe(t.next,a),error:t.error&&Pe(t.error,a),complete:t.complete&&Pe(t.complete,a)}):i=t;return o.destination=new Re(i),o}return be(t,e),t}(Oe);function Be(e){var t;t=e,Le.setTimeout((function(){throw t}))}var Ue={closed:!0,next:Ie,error:function(e){throw e},complete:Ie},Ye="function"==typeof Symbol&&Symbol.observable||"@@observable";function ze(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 Oe||function(e){return e&&Se(e.next)&&Se(e.error)&&Se(e.complete)}(r)&&Te(r)?e:new He(e,t,n);return De((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=We(t))((function(t,r){var i=new He({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[Ye]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?ze:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=We(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function We(e){var t;return null!==(t=null!=e?e:$e.Promise)&&void 0!==t?t:Promise}var Ve=ke((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ze=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return be(t,e),t.prototype.lift=function(e){var t=new Ke(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ve},t.prototype.next=function(e){var t=this;De((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=we(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;De((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;De((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 Ee((function(){t.currentObservers=null,Ce(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 Ke(e,t)},t}(je),Ke=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return be(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:Ge},t}(Ze),Xe={now:function(){return(Xe.delegate||Date).now()},delegate:void 0},Je=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=Xe);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 be(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,a=n._infiniteTimeWindow,o=n._timestampProvider,s=n._windowTime;r||(i.push(t),!a&&i.push(o.now()+s)),this._trimBuffer(),e.prototype.next.call(this,t)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var t=this._innerSubscribe(e),n=this._infiniteTimeWindow,r=this._buffer.slice(),i=0;i<r.length&&!e.closed;i+=n?1:2)e.next(r[i]);return this._checkFinalizedStatuses(e),t},t.prototype._trimBuffer=function(){var e=this,t=e._bufferSize,n=e._timestampProvider,r=e._buffer,i=e._infiniteTimeWindow,a=(i?1:2)*t;if(t<1/0&&a<r.length&&r.splice(0,r.length-a),!i){for(var o=n.now(),s=0,l=1;l<r.length&&r[l]<=o;l+=2)s=l;s&&r.splice(0,s+1)}},t}(Ze);let qe=[],Qe={};
|
135
135
|
/**
|
136
136
|
* @name topic
|
137
137
|
* @description A small wrapper over the rxjs to offer the topic method on top of it
|
@@ -168,7 +168,7 @@ n.cloneUnlessOtherwiseSpecified=at;var r=Array.isArray(t);return r===Array.isArr
|
|
168
168
|
/**
|
169
169
|
* Type Guards
|
170
170
|
*/
|
171
|
-
function bt(e){return e.type===pt.literal}function wt(e){return e.type===pt.argument}function _t(e){return e.type===pt.number}function xt(e){return e.type===pt.date}function St(e){return e.type===pt.time}function
|
171
|
+
function bt(e){return e.type===pt.literal}function wt(e){return e.type===pt.argument}function _t(e){return e.type===pt.number}function xt(e){return e.type===pt.date}function St(e){return e.type===pt.time}function kt(e){return e.type===pt.select}function Ft(e){return e.type===pt.plural}function Ct(e){return e.type===pt.pound}function Et(e){return e.type===pt.tag}function Gt(e){return!(!e||"object"!=typeof e||e.type!==gt.number)}function Tt(e){return!(!e||"object"!=typeof e||e.type!==gt.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 gn(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 yn(e){e.forEach((function(e){if(delete e.location,
|
580
|
+
*/function gn(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 yn(e){e.forEach((function(e){if(delete e.location,kt(e)||Ft(e))for(var t in e.options)delete e.options[t].location,yn(e.options[t].value);else _t(e)&&Gt(e.style)||(xt(e)||St(e))&&Tt(e.style)?delete e.style.location:Et(e)&&yn(e.children)}))}function vn(e,t){void 0===t&&(t={}),t=yt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new mn(e,t).parse();if(n.err){var r=SyntaxError(ft[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
|
@@ -585,19 +585,19 @@ r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||yn(n
|
|
585
585
|
|
586
586
|
// Main
|
587
587
|
|
588
|
-
function bn(e,t){var n=t&&t.cache?t.cache:En,r=t&&t.serializer?t.serializer:
|
588
|
+
function bn(e,t){var n=t&&t.cache?t.cache:En,r=t&&t.serializer?t.serializer:kn;return(t&&t.strategy?t.strategy:Sn)(e,{cache:n,serializer:r})}
|
589
589
|
|
590
590
|
// Strategy
|
591
591
|
|
592
592
|
function wn(e,t,n,r){var i,a=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),o=t.get(a);return void 0===o&&(o=e.call(this,r),t.set(a,o)),o}function _n(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),a=t.get(i);return void 0===a&&(a=e.apply(this,r),t.set(i,a)),a}function xn(e,t,n,r,i){return n.bind(t,e,r,i)}function Sn(e,t){return xn(e,this,1===e.length?wn:_n,t.cache.create(),t.serializer)}
|
593
593
|
// Serializer
|
594
|
-
var
|
594
|
+
var kn=function(){return JSON.stringify(arguments)};
|
595
595
|
|
596
596
|
// Cache
|
597
597
|
|
598
|
-
function
|
598
|
+
function Fn(){this.cache=Object.create(null)}Fn.prototype.get=function(e){return this.cache[e]},Fn.prototype.set=function(e,t){this.cache[e]=t};var Cn,En={create:function(){
|
599
599
|
// @ts-ignore
|
600
|
-
return new
|
600
|
+
return new Fn}},Gn={variadic:function(e,t){return xn(e,this,_n,t.cache.create(),t.serializer)},monadic:function(e,t){return xn(e,this,wn,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
|
@@ -620,7 +620,7 @@ if(!i||!(d in i))throw new In(d,o);var h=i[d];if(wt(u))h&&"string"!=typeof h&&"n
|
|
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]:Tt(u.style)?u.style.parsedOptions:void 0;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(St(u)){m="string"==typeof u.style?r.time[u.style]:Tt(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(_t(u)){(m="string"==typeof u.style?r.number[u.style]:Gt(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Tn.literal,value:n.getNumberFormat(t,m).format(h)})}else{if(Et(u)){var f=u.children,p=u.value,g=i[p];if(!An(g))throw new Ln(p,"function",o);var y=g(Dn(f,t,n,r,i,a).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map((function(e){return{type:"string"==typeof e?Tn.literal:Tn.object,value:e}})))}if(
|
623
|
+
if(xt(u)){var m="string"==typeof u.style?r.date[u.style]:Tt(u.style)?u.style.parsedOptions:void 0;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(St(u)){m="string"==typeof u.style?r.time[u.style]:Tt(u.style)?u.style.parsedOptions:r.time.medium;s.push({type:Tn.literal,value:n.getDateTimeFormat(t,m).format(h)})}else if(_t(u)){(m="string"==typeof u.style?r.number[u.style]:Gt(u.style)?u.style.parsedOptions:void 0)&&m.scale&&(h*=m.scale||1),s.push({type:Tn.literal,value:n.getNumberFormat(t,m).format(h)})}else{if(Et(u)){var f=u.children,p=u.value,g=i[p];if(!An(g))throw new Ln(p,"function",o);var y=g(Dn(f,t,n,r,i,a).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),s.push.apply(s,y.map((function(e){return{type:"string"==typeof e?Tn.literal:Tn.object,value:e}})))}if(kt(u)){if(!(v=u.options[h]||u.options.other))throw new $n(u.value,h,Object.keys(u.options),o);s.push.apply(s,Dn(v.value,t,n,r,i))}else if(Ft(u)){var v;if(!(v=u.options["=".concat(h)])){if(!Intl.PluralRules)throw new Mn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Cn.MISSING_INTL_API,o);var b=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0));v=u.options[b]||u.options.other}if(!v)throw new $n(u.value,h,Object.keys(u.options),o);s.push.apply(s,Dn(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===Tn.literal&&t.type===Tn.literal?n.value+=t.value:e.push(t),e}),[])}(s)}
|
624
624
|
/*
|
625
625
|
Copyright (c) 2014, Yahoo! Inc. All rights reserved.
|
626
626
|
Copyrights licensed under the New BSD License.
|
@@ -640,9 +640,9 @@ this.formats=On(e.formats,r),this.formatters=i&&i.formatters||(void 0===(a=this.
|
|
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 Rn={},Hn=(e,t,n)=>n?(t in Rn||(Rn[t]={}),e in Rn[t]||(Rn[t][e]=n),n):n,Bn=(e,t)=>{if(null==t)return;if(t in Rn&&e in Rn[t])return Rn[t][e];const n=hr(t);for(let r=0;r<n.length;r++){const i=jn(n[r],e);if(i)return Hn(e,t,i)}};let Un;const Yn=tt({});function zn(e){return e in Un}function jn(e,t){if(!zn(e))return null;const n=function(e){return Un[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 Wn(e,...t){delete Rn[e],Yn.update((n=>(n[e]=dt.all([n[e]||{},...t]),n)))}nt([Yn],(([e])=>Object.keys(e))),Yn.subscribe((e=>Un=e));const Vn={};function Zn(e){return Vn[e]}function Kn(e){return null!=e&&hr(e).some((e=>{var t;return null==(t=Zn(e))?void 0:t.size}))}function Xn(e,t){const n=Promise.all(t.map((t=>(function(e,t){Vn[e].delete(t),0===Vn[e].size&&delete Vn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Wn(e,...t)))}const Jn={};function qn(e){if(!Kn(e))return e in Jn?Jn[e]:Promise.resolve();const t=function(e){return hr(e).map((e=>{const t=Zn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Jn[e]=Promise.all(t.map((([e,t])=>Xn(e,t)))).then((()=>{if(Kn(e))return qn(e);delete Jn[e]})),Jn[e]}const Qn={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 er(){return Qn}const tr=tt(!1);var nr=Object.defineProperty,rr=Object.defineProperties,ir=Object.getOwnPropertyDescriptors,ar=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,lr=(e,t,n)=>t in e?nr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let cr;const ur=tt(null);function dr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function hr(e,t=er().fallbackLocale){const n=dr(e);return t?[...new Set([...n,...dr(t)])]:n}function mr(){return null!=cr?cr:void 0}ur.subscribe((e=>{cr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const fr=(pr=((e,t)=>{for(var n in t||(t={}))or.call(t,n)&&lr(e,n,t[n]);if(ar)for(var n of ar(t))sr.call(t,n)&&lr(e,n,t[n]);return e})({},ur),rr(pr,ir({set:e=>{if(e&&function(e){if(null==e)return;const t=hr(e);for(let e=0;e<t.length;e++){const n=t[e];if(zn(n))return n}}(e)&&Kn(e)){const{loadingDelay:t}=er();let n;return"undefined"!=typeof window&&null!=mr()&&t?n=window.setTimeout((()=>tr.set(!0)),t):tr.set(!0),qn(e).then((()=>{ur.set(e)})).finally((()=>{clearTimeout(n),tr.set(!1)}))}return ur.set(e)}})));var pr;const gr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var yr=Object.defineProperty,vr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable,_r=(e,t,n)=>t in e?yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xr=(e,t)=>{for(var n in t||(t={}))br.call(t,n)&&_r(e,n,t[n]);if(vr)for(var n of vr(t))wr.call(t,n)&&_r(e,n,t[n]);return e},Sr=(e,t)=>{var n={};for(var r in e)br.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&vr)for(var r of vr(e))t.indexOf(r)<0&&wr.call(e,r)&&(n[r]=e[r]);return n};const
|
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 Rn={},Hn=(e,t,n)=>n?(t in Rn||(Rn[t]={}),e in Rn[t]||(Rn[t][e]=n),n):n,Bn=(e,t)=>{if(null==t)return;if(t in Rn&&e in Rn[t])return Rn[t][e];const n=hr(t);for(let r=0;r<n.length;r++){const i=jn(n[r],e);if(i)return Hn(e,t,i)}};let Un;const Yn=tt({});function zn(e){return e in Un}function jn(e,t){if(!zn(e))return null;const n=function(e){return Un[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 Wn(e,...t){delete Rn[e],Yn.update((n=>(n[e]=dt.all([n[e]||{},...t]),n)))}nt([Yn],(([e])=>Object.keys(e))),Yn.subscribe((e=>Un=e));const Vn={};function Zn(e){return Vn[e]}function Kn(e){return null!=e&&hr(e).some((e=>{var t;return null==(t=Zn(e))?void 0:t.size}))}function Xn(e,t){const n=Promise.all(t.map((t=>(function(e,t){Vn[e].delete(t),0===Vn[e].size&&delete Vn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Wn(e,...t)))}const Jn={};function qn(e){if(!Kn(e))return e in Jn?Jn[e]:Promise.resolve();const t=function(e){return hr(e).map((e=>{const t=Zn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Jn[e]=Promise.all(t.map((([e,t])=>Xn(e,t)))).then((()=>{if(Kn(e))return qn(e);delete Jn[e]})),Jn[e]}const Qn={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 er(){return Qn}const tr=tt(!1);var nr=Object.defineProperty,rr=Object.defineProperties,ir=Object.getOwnPropertyDescriptors,ar=Object.getOwnPropertySymbols,or=Object.prototype.hasOwnProperty,sr=Object.prototype.propertyIsEnumerable,lr=(e,t,n)=>t in e?nr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let cr;const ur=tt(null);function dr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function hr(e,t=er().fallbackLocale){const n=dr(e);return t?[...new Set([...n,...dr(t)])]:n}function mr(){return null!=cr?cr:void 0}ur.subscribe((e=>{cr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const fr=(pr=((e,t)=>{for(var n in t||(t={}))or.call(t,n)&&lr(e,n,t[n]);if(ar)for(var n of ar(t))sr.call(t,n)&&lr(e,n,t[n]);return e})({},ur),rr(pr,ir({set:e=>{if(e&&function(e){if(null==e)return;const t=hr(e);for(let e=0;e<t.length;e++){const n=t[e];if(zn(n))return n}}(e)&&Kn(e)){const{loadingDelay:t}=er();let n;return"undefined"!=typeof window&&null!=mr()&&t?n=window.setTimeout((()=>tr.set(!0)),t):tr.set(!0),qn(e).then((()=>{ur.set(e)})).finally((()=>{clearTimeout(n),tr.set(!1)}))}return ur.set(e)}})));var pr;const gr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var yr=Object.defineProperty,vr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,wr=Object.prototype.propertyIsEnumerable,_r=(e,t,n)=>t in e?yr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xr=(e,t)=>{for(var n in t||(t={}))br.call(t,n)&&_r(e,n,t[n]);if(vr)for(var n of vr(t))wr.call(t,n)&&_r(e,n,t[n]);return e},Sr=(e,t)=>{var n={};for(var r in e)br.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&vr)for(var r of vr(e))t.indexOf(r)<0&&wr.call(e,r)&&(n[r]=e[r]);return n};const kr=(e,t)=>{const{formats:n}=er();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Fr=gr((e=>{var t=e,{locale:n,format:r}=t,i=Sr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=kr("number",r)),new Intl.NumberFormat(n,i)})),Cr=gr((e=>{var t=e,{locale:n,format:r}=t,i=Sr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=kr("date",r):0===Object.keys(i).length&&(i=kr("date","short")),new Intl.DateTimeFormat(n,i)})),Er=gr((e=>{var t=e,{locale:n,format:r}=t,i=Sr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=kr("time",r):0===Object.keys(i).length&&(i=kr("time","short")),new Intl.DateTimeFormat(n,i)})),Gr=gr((
|
644
644
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
645
|
-
(e,t=mr())=>new Pn(e,t,er().formats,{ignoreTag:er().ignoreTag}))),Tr=(e,t={})=>{var n,r,i,a;let o=t;"object"==typeof e&&(o=e,e=o.id);const{values:s,locale:l=mr(),default:c}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Bn(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=er()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?a:e;if(!s)return u;let d=u;try{d=Gr(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},Mr=(e,t)=>((e={})=>{var t=e,{locale:n=mr()}=t,r=Sr(t,["locale"]);return Er(xr({locale:n},r))})(t).format(e),$r=(e,t)=>((e={})=>{var t=e,{locale:n=mr()}=t,r=Sr(t,["locale"]);return Cr(xr({locale:n},r))})(t).format(e),Lr=(e,t)=>((e={})=>{var t=e,{locale:n=mr()}=t,r=Sr(t,["locale"]);return
|
645
|
+
(e,t=mr())=>new Pn(e,t,er().formats,{ignoreTag:er().ignoreTag}))),Tr=(e,t={})=>{var n,r,i,a;let o=t;"object"==typeof e&&(o=e,e=o.id);const{values:s,locale:l=mr(),default:c}=o;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Bn(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=er()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?a:e;if(!s)return u;let d=u;try{d=Gr(u,l).format(s)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return d},Mr=(e,t)=>((e={})=>{var t=e,{locale:n=mr()}=t,r=Sr(t,["locale"]);return Er(xr({locale:n},r))})(t).format(e),$r=(e,t)=>((e={})=>{var t=e,{locale:n=mr()}=t,r=Sr(t,["locale"]);return Cr(xr({locale:n},r))})(t).format(e),Lr=(e,t)=>((e={})=>{var t=e,{locale:n=mr()}=t,r=Sr(t,["locale"]);return Fr(xr({locale:n},r))})(t).format(e),Ir=(e,t=mr())=>Bn(e,t),Ar=nt([fr,Yn],(()=>Tr));nt([fr],(()=>Mr)),nt([fr],(()=>$r)),nt([fr],(()=>Lr)),nt([fr,Yn],(()=>Ir)),window.emWidgets={topic:(e,t=0)=>{if(-1==qe.indexOf(e)){let n=new Je(t);Qe[e]=n,qe.push(e)}return Qe[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 x(e){_(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 x||null!=e&&null!=e._isAMomentObject}function
|
674
|
+
!1===w&&(w=!0,r.updateOffset(this),w=!1)}function S(e){return e instanceof x||null!=e&&null!=e._isAMomentObject}function k(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,o,l=[],c=arguments.length;for(a=0;a<c;a++){if(i="","object"==typeof arguments[a]){for(o in i+="\n["+a+"] ",arguments[0])s(arguments[0],o)&&(i+=o+": "+arguments[0][o]+", ");i=i.slice(0,-2)}else i=arguments[a];l.push(i)}k(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var C,E={};function G(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),E[e]||(k(t),E[e]=!0)}function T(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)s(e,n)&&(T(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.
|
@@ -703,7 +703,7 @@ xe=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
|
|
703
703
|
Se=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
|
704
704
|
// any word (or two) characters or numbers including two/three word month in arabic.
|
705
705
|
// includes scottish gaelic two word and hyphenated months
|
706
|
-
|
706
|
+
ke=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,Fe=/^[1-9]\d?/,// 1-99
|
707
707
|
Ce=/^([1-9]\d|\d)/;function Ee(e,t,n){oe[e]=T(t)?t:function(e,r){return e&&n?n:t}}function Ge(e,t){return s(oe,e)?oe[e](t._strict,t._locale):new RegExp(Te(e))}
|
708
708
|
// Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
|
709
709
|
function Te(e){return Me(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Me(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function $e(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function Le(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=$e(t)),n}oe={};var Ie={};function Ae(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=Le(e)}),r=e.length,n=0;n<r;n++)Ie[e[n]]=i}function De(e,t){Ae(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Oe(e,t,n){null!=t&&s(Ie,e)&&Ie[e](t,n._a,n,e)}function Ne(e){return e%4==0&&e%100!=0||e%400==0}var Pe=0,Re=1,He=2,Be=3,Ue=4,Ye=5,ze=6,je=7,We=8;
|
@@ -731,11 +731,11 @@ Ze=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
|
|
731
731
|
// I know
|
732
732
|
var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},H("M",["MM",2],"Mo",(function(){return this.month()+1})),H("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),H("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),
|
733
733
|
// PARSING
|
734
|
-
Ee("M",he,
|
734
|
+
Ee("M",he,Fe),Ee("MM",he,le),Ee("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ee("MMMM",(function(e,t){return t.monthsRegex(e)})),Ae(["M","MM"],(function(e,t){t[Re]=Le(e)-1})),Ae(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
|
735
735
|
// if we didn't find a month name, mark the date as invalid.
|
736
736
|
null!=i?t[Re]=i:g(n).invalidMonth=e}));
|
737
737
|
// LOCALES
|
738
|
-
var it="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),at="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,st=
|
738
|
+
var it="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),at="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),ot=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,st=ke,lt=ke;function ct(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||ot).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function ut(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[ot.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function dt(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(
|
739
739
|
// this is not used
|
740
740
|
this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)a=f([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ze.call(this._shortMonthsParse,o))?i:null:-1!==(i=Ze.call(this._longMonthsParse,o))?i:null:"MMM"===t?-1!==(i=Ze.call(this._shortMonthsParse,o))||-1!==(i=Ze.call(this._longMonthsParse,o))?i:null:-1!==(i=Ze.call(this._longMonthsParse,o))||-1!==(i=Ze.call(this._shortMonthsParse,o))?i:null}function ht(e,t,n){var r,i,a;if(this._monthsParseExact)return dt.call(this,e,t,n);
|
741
741
|
// TODO: add sorting
|
@@ -772,13 +772,13 @@ return e<100&&e>=0?(
|
|
772
772
|
function _t(e,t,n){var// first-week day -- which january is always in the first week (4 for iso, 1 for other)
|
773
773
|
r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}
|
774
774
|
// https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
|
775
|
-
function xt(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+_t(e,r,i);return s<=0?o=Ve(a=e-1)+s:s>Ve(e)?(a=e+1,o=s-Ve(e)):(a=e,o=s),{year:a,dayOfYear:o}}function St(e,t,n){var r,i,a=_t(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+
|
775
|
+
function xt(e,t,n,r,i){var a,o,s=1+7*(t-1)+(7+n-r)%7+_t(e,r,i);return s<=0?o=Ve(a=e-1)+s:s>Ve(e)?(a=e+1,o=s-Ve(e)):(a=e,o=s),{year:a,dayOfYear:o}}function St(e,t,n){var r,i,a=_t(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?r=o+kt(i=e.year()-1,t,n):o>kt(e.year(),t,n)?(r=o-kt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=o),{week:r,year:i}}function kt(e,t,n){var r=_t(e,t,n),i=_t(e+1,t,n);return(Ve(e)-r+i)/7}
|
776
776
|
// FORMATTING
|
777
777
|
// HELPERS
|
778
778
|
// LOCALES
|
779
|
-
function
|
779
|
+
function Ft(e){return St(e,this._week.dow,this._week.doy).week}H("w",["ww",2],"wo","week"),H("W",["WW",2],"Wo","isoWeek"),
|
780
780
|
// PARSING
|
781
|
-
Ee("w",he,
|
781
|
+
Ee("w",he,Fe),Ee("ww",he,le),Ee("W",he,Fe),Ee("WW",he,le),De(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=Le(e)}));var Ct={dow:0,// Sunday is the first day of the week.
|
782
782
|
doy:6};function Et(){return this._week.dow}function Gt(){return this._week.doy}
|
783
783
|
// MOMENTS
|
784
784
|
function Tt(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")}
|
@@ -790,7 +790,7 @@ function It(e,t){return e.slice(t,7).concat(e.slice(0,t))}H("d",0,"do","day"),H(
|
|
790
790
|
// PARSING
|
791
791
|
Ee("d",he),Ee("e",he),Ee("E",he),Ee("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ee("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ee("dddd",(function(e,t){return t.weekdaysRegex(e)})),De(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
|
792
792
|
// if we didn't get a weekday name, mark the date as invalid
|
793
|
-
null!=i?t.d=i:g(n).invalidWeekday=e})),De(["d","e","E"],(function(e,t,n,r){t[r]=Le(e)}));var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ot="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nt=
|
793
|
+
null!=i?t.d=i:g(n).invalidWeekday=e})),De(["d","e","E"],(function(e,t,n,r){t[r]=Le(e)}));var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Dt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ot="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Nt=ke,Pt=ke,Rt=ke;function Ht(e,t){var n=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?It(n,this._week.dow):e?n[e.day()]:n}function Bt(e){return!0===e?It(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?It(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Yt(e,t,n){var r,i,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)a=f([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ze.call(this._weekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ze.call(this._shortWeekdaysParse,o))?i:null:-1!==(i=Ze.call(this._minWeekdaysParse,o))?i:null:"dddd"===t?-1!==(i=Ze.call(this._weekdaysParse,o))||-1!==(i=Ze.call(this._shortWeekdaysParse,o))||-1!==(i=Ze.call(this._minWeekdaysParse,o))?i:null:"ddd"===t?-1!==(i=Ze.call(this._shortWeekdaysParse,o))||-1!==(i=Ze.call(this._weekdaysParse,o))||-1!==(i=Ze.call(this._minWeekdaysParse,o))?i:null:-1!==(i=Ze.call(this._minWeekdaysParse,o))||-1!==(i=Ze.call(this._weekdaysParse,o))||-1!==(i=Ze.call(this._shortWeekdaysParse,o))?i:null}function zt(e,t,n){var r,i,a;if(this._weekdaysParseExact)return Yt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
|
794
794
|
// test the regex
|
795
795
|
if(
|
796
796
|
// make the regex if we don't have it already
|
@@ -814,7 +814,7 @@ function tn(e,t){return t._meridiemParse}
|
|
814
814
|
function nn(e){
|
815
815
|
// IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
|
816
816
|
// Using charAt should be more compatible.
|
817
|
-
return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,qt),H("k",["kk",2],0,Qt),H("hmm",0,0,(function(){return""+qt.apply(this)+D(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+qt.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),en("a",!0),en("A",!1),Ee("a",tn),Ee("A",tn),Ee("H",he,Ce),Ee("h",he,
|
817
|
+
return"p"===(e+"").toLowerCase().charAt(0)}H("H",["HH",2],0,"hour"),H("h",["hh",2],0,qt),H("k",["kk",2],0,Qt),H("hmm",0,0,(function(){return""+qt.apply(this)+D(this.minutes(),2)})),H("hmmss",0,0,(function(){return""+qt.apply(this)+D(this.minutes(),2)+D(this.seconds(),2)})),H("Hmm",0,0,(function(){return""+this.hours()+D(this.minutes(),2)})),H("Hmmss",0,0,(function(){return""+this.hours()+D(this.minutes(),2)+D(this.seconds(),2)})),en("a",!0),en("A",!1),Ee("a",tn),Ee("A",tn),Ee("H",he,Ce),Ee("h",he,Fe),Ee("k",he,Fe),Ee("HH",he,le),Ee("hh",he,le),Ee("kk",he,le),Ee("hmm",me),Ee("hmmss",fe),Ee("Hmm",me),Ee("Hmmss",fe),Ae(["H","HH"],Be),Ae(["k","kk"],(function(e,t,n){var r=Le(e);t[Be]=24===r?0:r})),Ae(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ae(["h","hh"],(function(e,t,n){t[Be]=Le(e),g(n).bigHour=!0})),Ae("hmm",(function(e,t,n){var r=e.length-2;t[Be]=Le(e.substr(0,r)),t[Ue]=Le(e.substr(r)),g(n).bigHour=!0})),Ae("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Be]=Le(e.substr(0,r)),t[Ue]=Le(e.substr(r,2)),t[Ye]=Le(e.substr(i)),g(n).bigHour=!0})),Ae("Hmm",(function(e,t,n){var r=e.length-2;t[Be]=Le(e.substr(0,r)),t[Ue]=Le(e.substr(r))})),Ae("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[Be]=Le(e.substr(0,r)),t[Ue]=Le(e.substr(r,2)),t[Ye]=Le(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
|
818
818
|
// Setting the hour should keep the time, because the user explicitly
|
819
819
|
// specified which hour they want. So trying to maintain the same hour (in
|
820
820
|
// a new timezone) makes sense. Adding/subtracting hours does not follow
|
@@ -869,15 +869,15 @@ function bn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)re
|
|
869
869
|
t=pn(e))return t;e=[e]}return mn(e)}function wn(){return C(cn)}function _n(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Re]<0||n[Re]>11?Re:n[He]<1||n[He]>rt(n[Pe],n[Re])?He:n[Be]<0||n[Be]>24||24===n[Be]&&(0!==n[Ue]||0!==n[Ye]||0!==n[ze])?Be:n[Ue]<0||n[Ue]>59?Ue:n[Ye]<0||n[Ye]>59?Ye:n[ze]<0||n[ze]>999?ze:-1,g(e)._overflowDayOfYear&&(t<Pe||t>He)&&(t=He),g(e)._overflowWeeks&&-1===t&&(t=je),g(e)._overflowWeekday&&-1===t&&(t=We),g(e).overflow=t),e}
|
870
870
|
// iso 8601 regex
|
871
871
|
// 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)
|
872
|
-
var xn=/^\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)?)?$/,
|
872
|
+
var xn=/^\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)?)?$/,kn=/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]],
|
873
873
|
// iso time formats and regexes
|
874
874
|
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/]],En=/^\/?Date\((-?\d+)/i,
|
875
875
|
// RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
|
876
876
|
Gn=/^(?:(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}))$/,Tn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
|
877
877
|
// date from iso format
|
878
|
-
function Mn(e){var t,n,r,i,a,o,s=e._i,l=xn.exec(s)||Sn.exec(s),c=
|
878
|
+
function Mn(e){var t,n,r,i,a,o,s=e._i,l=xn.exec(s)||Sn.exec(s),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])){
|
879
879
|
// match[2] should be 'T' or space
|
880
|
-
a=(l[2]||" ")+Cn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!
|
880
|
+
a=(l[2]||" ")+Cn[t][0];break}if(null==a)return void(e._isValid=!1)}if(!r&&null!=a)return void(e._isValid=!1);if(l[4]){if(!kn.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=i+(a||"")+(o||""),Un(e)}else e._isValid=!1}function $n(e,t,n,r,i,a){var o=[Ln(e),at.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return a&&o.push(parseInt(a,10)),o}function Ln(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function In(e){
|
881
881
|
// Remove comments and folding whitespace and replace multiple-spaces with a single space
|
882
882
|
return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function An(e,t,n){return!e||Dt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Dn(e,t,n){if(e)return Tn[e];if(t)
|
883
883
|
// the only allowed military tz is Z
|
@@ -928,7 +928,7 @@ i=t.d)<0||i>6)&&(l=!0):null!=t.e?(
|
|
928
928
|
// local weekday -- counting starts from beginning of week
|
929
929
|
i=t.e+a,(t.e<0||t.e>6)&&(l=!0)):
|
930
930
|
// default to beginning of week
|
931
|
-
i=a),r<1||r>
|
931
|
+
i=a),r<1||r>kt(n,a,o)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=xt(n,r,i,a,o),e._a[Pe]=s.year,e._dayOfYear=s.dayOfYear)}
|
932
932
|
// constant that refers to the ISO standard
|
933
933
|
// date from string and format string
|
934
934
|
function Un(e){
|
@@ -960,9 +960,9 @@ t.add(1,"d"),t._nextDay=void 0),t}function Vn(e){var t=e._i,n=e._f;return e._loc
|
|
960
960
|
e._d=new Date(t):r.createFromInputFallback(e)}function Kn(e,t,n,r,i){var s={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(o(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),
|
961
961
|
// object construction must be done this way.
|
962
962
|
// https://github.com/moment/moment/issues/1423
|
963
|
-
s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,Wn(s)}function Xn(e,t,n,r){return Kn(e,t,n,r,!1)}r.createFromInputFallback=
|
963
|
+
s._isAMomentObject=!0,s._useUTC=s._isUTC=i,s._l=n,s._i=e,s._f=t,s._strict=r,Wn(s)}function Xn(e,t,n,r){return Kn(e,t,n,r,!1)}r.createFromInputFallback=F("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),r.ISO_8601=function(){},
|
964
964
|
// constant that refers to the RFC 2822 form
|
965
|
-
r.RFC_2822=function(){};var Jn=
|
965
|
+
r.RFC_2822=function(){};var Jn=F("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Xn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),qn=F("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Xn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));
|
966
966
|
// Pick a moment m from moments so that m[fn](other) is true for all
|
967
967
|
// other. This relies on the function fn to be transitive.
|
968
968
|
|
@@ -1014,7 +1014,7 @@ return-Math.round(e._d.getTimezoneOffset())}
|
|
1014
1014
|
// a second time. In case it wants us to change the offset again
|
1015
1015
|
// _changeInProgress == true case, then we have to adjust, because
|
1016
1016
|
// there is no such time in the given timezone.
|
1017
|
-
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(xe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=pr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ar(this,Tr(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pr(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(pr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mr(_e,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?Xn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function xr(){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 _(t,this),(t=Vn(t))._a?(e=t._isUTC?f(t._a):Xn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function
|
1017
|
+
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(xe,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=pr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),a!==e&&(!t||this._changeInProgress?Ar(this,Tr(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pr(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(pr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mr(_e,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?Xn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function xr(){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 _(t,this),(t=Vn(t))._a?(e=t._isUTC?f(t._a):Xn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function kr(){return!!this.isValid()&&!this._isUTC}function Fr(){return!!this.isValid()&&this._isUTC}function Cr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
|
1018
1018
|
// ASP.NET json date format regex
|
1019
1019
|
r.updateOffset=function(){};var Er=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
|
1020
1020
|
// from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
|
@@ -1067,15 +1067,15 @@ t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).t
|
|
1067
1067
|
// If passed a locale key, it will set the locale for this
|
1068
1068
|
// instance. Otherwise, it will return the locale configuration
|
1069
1069
|
// variables for this instance.
|
1070
|
-
function si(e){var t;return void 0===e?this._locale._abbr:(null!=(t=bn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=
|
1070
|
+
function si(e){var t;return void 0===e?this._locale._abbr:(null!=(t=bn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=F("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ci(){return this._locale}var ui=1e3,di=60*ui,hi=60*di,mi=3506328*hi;
|
1071
1071
|
// actual modulo - handles negative numbers (for dates before 1970):
|
1072
1072
|
function fi(e,t){return(e%t+t)%t}function pi(e,t,n){
|
1073
1073
|
// the date constructor remaps years 0-99 to 1900-1999
|
1074
1074
|
return e<100&&e>=0?new Date(e+400,t,n)-mi:new Date(e,t,n).valueOf()}function gi(e,t,n){
|
1075
1075
|
// Date.UTC remaps years 0-99 to 1900-1999
|
1076
|
-
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=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,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-=fi(t+(this._isUTC?0:this.utcOffset()*di),hi);break;case"minute":t=this._d.valueOf(),t-=fi(t,di);break;case"second":t=this._d.valueOf(),t-=fi(t,ui)}return this._d.setTime(t),r.updateOffset(this,!0),this}function vi(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,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-fi(t+(this._isUTC?0:this.utcOffset()*di),hi)-1;break;case"minute":t=this._d.valueOf(),t+=di-fi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=ui-fi(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 _i(){return new Date(this.valueOf())}function xi(){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
|
1076
|
+
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=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,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-=fi(t+(this._isUTC?0:this.utcOffset()*di),hi);break;case"minute":t=this._d.valueOf(),t-=fi(t,di);break;case"second":t=this._d.valueOf(),t-=fi(t,ui)}return this._d.setTime(t),r.updateOffset(this,!0),this}function vi(e){var t,n;if(void 0===(e=ne(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:pi,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-fi(t+(this._isUTC?0:this.utcOffset()*di),hi)-1;break;case"minute":t=this._d.valueOf(),t+=di-fi(t,di)-1;break;case"second":t=this._d.valueOf(),t+=ui-fi(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 _i(){return new Date(this.valueOf())}function xi(){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 ki(){
|
1077
1077
|
// new Date(NaN).toJSON() === null
|
1078
|
-
return this.isValid()?this.toISOString():null}function
|
1078
|
+
return this.isValid()?this.toISOString():null}function Fi(){return y(this)}function Ci(){return m({},g(this))}function Ei(){return g(this).overflow}function Gi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Ti(e,t){var n,i,a,o=this._eras||bn("en")._eras;for(n=0,i=o.length;n<i;++n)switch("string"==typeof o[n].since&&(
|
1079
1079
|
// truncate time
|
1080
1080
|
a=r(o[n].since).startOf("day"),o[n].since=a.valueOf()),typeof o[n].until){case"undefined":o[n].until=1/0;break;case"string":
|
1081
1081
|
// truncate time
|
@@ -1091,7 +1091,7 @@ i=this.clone().startOf("day").valueOf(),a[e].since<=i&&i<=a[e].until||a[e].until
|
|
1091
1091
|
// FORMATTING
|
1092
1092
|
function zi(e,t){H(0,[e,e.length],0,t)}
|
1093
1093
|
// MOMENTS
|
1094
|
-
function ji(e){return Ji.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Wi(e){return Ji.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Vi(){return
|
1094
|
+
function ji(e){return Ji.call(this,e,this.week(),this.weekday()+this.localeData()._week.dow,this.localeData()._week.dow,this.localeData()._week.doy)}function Wi(e){return Ji.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Vi(){return kt(this.year(),1,4)}function Zi(){return kt(this.isoWeekYear(),1,4)}function Ki(){var e=this.localeData()._week;return kt(this.year(),e.dow,e.doy)}function Xi(){var e=this.localeData()._week;return kt(this.weekYear(),e.dow,e.doy)}function Ji(e,t,n,r,i){var a;return null==e?St(this,r,i).year:(t>(a=kt(e,r,i))&&(t=a),qi.call(this,e,t,n,r,i))}function qi(e,t,n,r,i){var a=xt(e,t,n,r,i),o=wt(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}
|
1095
1095
|
// FORMATTING
|
1096
1096
|
// MOMENTS
|
1097
1097
|
function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
|
@@ -1103,7 +1103,7 @@ Ee("G",we),Ee("g",we),Ee("GG",he,le),Ee("gg",he,le),Ee("GGGG",ge,ue),Ee("gggg",g
|
|
1103
1103
|
// PARSING
|
1104
1104
|
Ee("Q",se),Ae("Q",(function(e,t){t[Re]=3*(Le(e)-1)})),H("D",["DD",2],"Do","date"),
|
1105
1105
|
// PARSING
|
1106
|
-
Ee("D",he,
|
1106
|
+
Ee("D",he,Fe),Ee("DD",he,le),Ee("Do",(function(e,t){
|
1107
1107
|
// TODO: Remove "ordinalParse" fallback in next major release.
|
1108
1108
|
return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ae(["D","DD"],He),Ae("Do",(function(e,t){t[He]=Le(e.match(he)[0])}));
|
1109
1109
|
// MOMENTS
|
@@ -1133,7 +1133,7 @@ Ee("S",pe,se),Ee("SS",pe,le),Ee("SSS",pe,ce),ra="SSSS";ra.length<=9;ra+="S")Ee(r
|
|
1133
1133
|
// MOMENTS
|
1134
1134
|
function sa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ia=Je("Milliseconds",!1),
|
1135
1135
|
// FORMATTING
|
1136
|
-
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){return Xn(1e3*e)}function da(){return Xn.apply(null,arguments).parseZone()}function ha(e){return e}ca.add=Dr,ca.calendar=Yr,ca.clone=zr,ca.diff=Jr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=et,ca.invalidAt=Ei,ca.isAfter=jr,ca.isBefore=Wr,ca.isBetween=Vr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=
|
1136
|
+
H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){return Xn(1e3*e)}function da(){return Xn.apply(null,arguments).parseZone()}function ha(e){return e}ca.add=Dr,ca.calendar=Yr,ca.clone=zr,ca.diff=Jr,ca.endOf=vi,ca.format=ni,ca.from=ri,ca.fromNow=ii,ca.to=ai,ca.toNow=oi,ca.get=et,ca.invalidAt=Ei,ca.isAfter=jr,ca.isBefore=Wr,ca.isBetween=Vr,ca.isSame=Zr,ca.isSameOrAfter=Kr,ca.isSameOrBefore=Xr,ca.isValid=Fi,ca.lang=li,ca.locale=si,ca.localeData=ci,ca.max=qn,ca.min=Jn,ca.parsingFlags=Ci,ca.set=tt,ca.startOf=yi,ca.subtract=Or,ca.toArray=xi,ca.toObject=Si,ca.toDate=_i,ca.toISOString=ei,ca.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ca[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ca.toJSON=ki,ca.toString=Qr,ca.unix=wi,ca.valueOf=bi,ca.creationData=Gi,ca.eraName=Li,ca.eraNarrow=Ii,ca.eraAbbr=Ai,ca.eraYear=Di,ca.year=Ke,ca.isLeapYear=Xe,ca.weekYear=ji,ca.isoWeekYear=Wi,ca.quarter=ca.quarters=Qi,ca.month=ft,ca.daysInMonth=pt,ca.week=ca.weeks=Tt,ca.isoWeek=ca.isoWeeks=Mt,ca.weeksInYear=Ki,ca.weeksInWeekYear=Xi,ca.isoWeeksInYear=Vi,ca.isoWeeksInISOWeekYear=Zi,ca.date=ea,ca.day=ca.days=jt,ca.weekday=Wt,ca.isoWeekday=Vt,ca.dayOfYear=ta,ca.hour=ca.hours=an,ca.minute=ca.minutes=na,ca.second=ca.seconds=aa,ca.millisecond=ca.milliseconds=ia,ca.utcOffset=gr,ca.utc=vr,ca.local=br,ca.parseZone=wr,ca.hasAlignedHourOffset=_r,ca.isDST=xr,ca.isLocal=kr,ca.isUtcOffset=Fr,ca.isUtc=Cr,ca.isUTC=Cr,ca.zoneAbbr=sa,ca.zoneName=la,ca.dates=F("dates accessor is deprecated. Use date instead.",ea),ca.months=F("months accessor is deprecated. Use month instead",ft),ca.years=F("years accessor is deprecated. Use year instead",Ke),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=L.prototype;function fa(e,t,n,r){var i=bn(),a=f().set(r,t);return i[n](a,e)}function pa(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=fa(e,r,n,"month");return i}
|
1137
1137
|
// ()
|
1138
1138
|
// (5)
|
1139
1139
|
// (fmt, 5)
|
@@ -1142,13 +1142,13 @@ H("z",0,0,"zoneAbbr"),H("zz",0,0,"zoneName");var ca=x.prototype;function ua(e){r
|
|
1142
1142
|
// (true, 5)
|
1143
1143
|
// (true, fmt, 5)
|
1144
1144
|
// (true, fmt)
|
1145
|
-
function ga(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=bn(),o=e?a._week.dow:0,s=[];if(null!=n)return fa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fa(t,(i+o)%7,r,"day");return s}function ya(e,t){return pa(e,t,"months")}function va(e,t){return pa(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function _a(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=A,ma.longDateFormat=W,ma.invalidDate=Z,ma.ordinal=J,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=M,ma.eras=Ti,ma.erasParse=Mi,ma.erasConvertYear=$i,ma.erasAbbrRegex=Ni,ma.erasNameRegex=Oi,ma.erasNarrowRegex=Pi,ma.months=ct,ma.monthsShort=ut,ma.monthsParse=ht,ma.monthsRegex=yt,ma.monthsShortRegex=gt,ma.week=
|
1145
|
+
function ga(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,a=bn(),o=e?a._week.dow:0,s=[];if(null!=n)return fa(t,(n+o)%7,r,"day");for(i=0;i<7;i++)s[i]=fa(t,(i+o)%7,r,"day");return s}function ya(e,t){return pa(e,t,"months")}function va(e,t){return pa(e,t,"monthsShort")}function ba(e,t,n){return ga(e,t,n,"weekdays")}function wa(e,t,n){return ga(e,t,n,"weekdaysShort")}function _a(e,t,n){return ga(e,t,n,"weekdaysMin")}ma.calendar=A,ma.longDateFormat=W,ma.invalidDate=Z,ma.ordinal=J,ma.preparse=ha,ma.postformat=ha,ma.relativeTime=Q,ma.pastFuture=ee,ma.set=M,ma.eras=Ti,ma.erasParse=Mi,ma.erasConvertYear=$i,ma.erasAbbrRegex=Ni,ma.erasNameRegex=Oi,ma.erasNarrowRegex=Pi,ma.months=ct,ma.monthsShort=ut,ma.monthsParse=ht,ma.monthsRegex=yt,ma.monthsShortRegex=gt,ma.week=Ft,ma.firstDayOfYear=Gt,ma.firstDayOfWeek=Et,ma.weekdays=Ht,ma.weekdaysMin=Ut,ma.weekdaysShort=Bt,ma.weekdaysParse=zt,ma.weekdaysRegex=Zt,ma.weekdaysShortRegex=Kt,ma.weekdaysMinRegex=Xt,ma.isPM=nn,ma.meridiem=on,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===Le(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
|
1146
1146
|
// Side effect imports
|
1147
|
-
r.lang=
|
1147
|
+
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 xa=Math.abs;function Sa(){var e=this._data;return this._milliseconds=xa(this._milliseconds),this._days=xa(this._days),this._months=xa(this._months),e.milliseconds=xa(e.milliseconds),e.seconds=xa(e.seconds),e.minutes=xa(e.minutes),e.hours=xa(e.hours),e.months=xa(e.months),e.years=xa(e.years),this}function ka(e,t,n,r){var i=Tr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
|
1148
1148
|
// supports only 2.0-style add(1, 's') or add(duration)
|
1149
|
-
function
|
1149
|
+
function Fa(e,t){return ka(this,e,t,1)}
|
1150
1150
|
// supports only 2.0-style subtract(1, 's') or subtract(duration)
|
1151
|
-
function Ca(e,t){return
|
1151
|
+
function Ca(e,t){return ka(this,e,t,-1)}function Ea(e){return e<0?Math.floor(e):Math.ceil(e)}function Ga(){var e,t,n,r,i,a=this._milliseconds,o=this._days,s=this._months,l=this._data;
|
1152
1152
|
// if we have a mix of positive and negative values, bubble down first
|
1153
1153
|
// check: https://github.com/moment/moment/issues/2166
|
1154
1154
|
return a>=0&&o>=0&&s>=0||a<=0&&o<=0&&s<=0||(a+=864e5*Ea(Ma(s)+o),o=0,s=0),
|
@@ -1193,7 +1193,7 @@ e=$e(l/60),t=$e(e/60),l%=60,e%=60,
|
|
1193
1193
|
// 12 months -> 1 year
|
1194
1194
|
n=$e(u/12),u%=12,
|
1195
1195
|
// inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
|
1196
|
-
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=lo(this._months)!==lo(d)?"-":"",o=lo(this._days)!==lo(d)?"-":"",s=lo(this._milliseconds)!==lo(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var uo=sr.prototype;return uo.isValid=ar,uo.abs=Sa,uo.add=
|
1196
|
+
r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=d<0?"-":"",a=lo(this._months)!==lo(d)?"-":"",o=lo(this._days)!==lo(d)?"-":"",s=lo(this._milliseconds)!==lo(d)?"-":"",i+"P"+(n?a+n+"Y":"")+(u?a+u+"M":"")+(c?o+c+"D":"")+(t||e||l?"T":"")+(t?s+t+"H":"")+(e?s+e+"M":"")+(l?s+r+"S":"")):"P0D"}var uo=sr.prototype;return uo.isValid=ar,uo.abs=Sa,uo.add=Fa,uo.subtract=Ca,uo.as=$a,uo.asMilliseconds=Ia,uo.asSeconds=Aa,uo.asMinutes=Da,uo.asHours=Oa,uo.asDays=Na,uo.asWeeks=Pa,uo.asMonths=Ra,uo.asQuarters=Ha,uo.asYears=Ba,uo.valueOf=Ua,uo._bubble=Ga,uo.clone=Ya,uo.get=za,uo.milliseconds=Wa,uo.seconds=Va,uo.minutes=Za,uo.hours=Ka,uo.days=Xa,uo.weeks=Qa,uo.months=Ja,uo.years=qa,uo.humanize=oo,uo.toISOString=co,uo.toString=co,uo.toJSON=co,uo.locale=si,uo.localeData=ci,uo.toIsoString=F("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",co),uo.lang=li,
|
1197
1197
|
// FORMATTING
|
1198
1198
|
H("X",0,0,"unix"),H("x",0,0,"valueOf"),
|
1199
1199
|
// PARSING
|
@@ -1214,21 +1214,21 @@ MONTH:"YYYY-MM"},r}()}));function Ur(e,t){Wn(e,t)}const Yr={en:{playNow:"Start n
|
|
1214
1214
|
/* ../casino-game-thumbnail/src/CasinoGameThumbnail.svelte generated by Svelte v3.59.2 */
|
1215
1215
|
function jr(e,t,n){const r=e.slice();return r[104]=t[n],r[106]=n,r}function Wr(e,t,n){const r=e.slice();return r[101]=t[n],r}
|
1216
1216
|
// (541:8) {#if lang}
|
1217
|
-
function Vr(e){let t,n,r,i,a=/*$_*/e[35]("playNow")+"";return{c(){t=g("button"),n=v(a),x(t,"class","GameInfoBtn")},m(a,o){m(a,t,o),h(t,n),r||(i=_(t,"click",/*click_handler*/e[63]),r=!0)},p(e,t){/*$_*/16&t[1]&&a!==(a=/*$_*/e[35]("playNow")+"")&&
|
1217
|
+
function Vr(e){let t,n,r,i,a=/*$_*/e[35]("playNow")+"";return{c(){t=g("button"),n=v(a),x(t,"class","GameInfoBtn")},m(a,o){m(a,t,o),h(t,n),r||(i=_(t,"click",/*click_handler*/e[63]),r=!0)},p(e,t){/*$_*/16&t[1]&&a!==(a=/*$_*/e[35]("playNow")+"")&&k(n,a)},d(e){e&&f(t),r=!1,i()}}}
|
1218
1218
|
// (551:8) {#if gameisnew}
|
1219
|
-
function Zr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=g("span"),n=v(r),x(t,"class","GameExtraInfoLabel NewGameTag")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("new")+"")&&
|
1219
|
+
function Zr(e){let t,n,r=/*$_*/e[35]("new")+"";return{c(){t=g("span"),n=v(r),x(t,"class","GameExtraInfoLabel NewGameTag")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("new")+"")&&k(n,r)},d(e){e&&f(t)}}}
|
1220
1220
|
// (554:8) {#if gametag}
|
1221
|
-
function Kr(e){let t,n;return{c(){t=g("span"),n=v(/*gametag*/e[8]),x(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*gametag*/256&t[0]&&
|
1221
|
+
function Kr(e){let t,n;return{c(){t=g("span"),n=v(/*gametag*/e[8]),x(t,"class","GameExtraInfoLabel PopularGameTag")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*gametag*/256&t[0]&&k(n,/*gametag*/e[8])},d(e){e&&f(t)}}}
|
1222
1222
|
// (557:8) {#if livegamedata}
|
1223
1223
|
function Xr(e){let t,n,r=!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]&&Jr(e);function i(e,t){/*isopen*/
|
1224
|
-
return e[22]&&/*displaytype*/e[19]
|
1224
|
+
return e[22]&&/*displaytype*/e[19]===hi?Qr:/*isopen*/e[22]&&/*displaytype*/e[19]&&/*displaytype*/e[19]===mi?qr:void 0}let a=i(e),o=a&&a(e);return{c(){r&&r.c(),t=b(),o&&o.c(),n=w()},m(e,i){r&&r.m(e,i),m(e,t,i),o&&o.m(e,i),m(e,n,i)},p(e,s){!/*isopen*/e[22]&&/*starttime*/e[20]&&/*timeformat*/e[21]?r?r.p(e,s):(r=Jr(e),r.c(),r.m(t.parentNode,t)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o&&o.d(1),o=a&&a(e),o&&(o.c(),o.m(n.parentNode,n)))},d(e){r&&r.d(e),e&&f(t),o&&o.d(e),e&&f(n)}}}
|
1225
1225
|
// (558:10) {#if !isopen && starttime && timeformat}
|
1226
|
-
function Jr(e){let t,n,r,i,a,o,s,l,c,u,d=/*$_*/e[35]("opens")+"",p=Br.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",y=/*renderDealerName*/e[41](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=g("div"),n=g("div"),r=v(d),i=b(),a=g("span"),o=v(p),s=b(),l=new C(!1),c=b(),u=new C(!1),x(n,"class","ClosedGame"),l.a=c,u.a=null,x(t,"class","GameProp LiveProps")},m(e,d){m(e,t,d),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(t,s),l.m(y,t),h(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&d!==(d=/*$_*/e[35]("opens")+"")&&
|
1226
|
+
function Jr(e){let t,n,r,i,a,o,s,l,c,u,d=/*$_*/e[35]("opens")+"",p=Br.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"",y=/*renderDealerName*/e[41](/*dealername*/e[34])+"",w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";return{c(){t=g("div"),n=g("div"),r=v(d),i=b(),a=g("span"),o=v(p),s=b(),l=new C(!1),c=b(),u=new C(!1),x(n,"class","ClosedGame"),l.a=c,u.a=null,x(t,"class","GameProp LiveProps")},m(e,d){m(e,t,d),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(t,s),l.m(y,t),h(t,c),u.m(w,t)},p(e,t){/*$_*/16&t[1]&&d!==(d=/*$_*/e[35]("opens")+"")&&k(r,d),/*starttime, timeformat*/3145728&t[0]&&p!==(p=Br.utc(/*starttime*/e[20]).local().format(/*timeformat*/e[21])+"")&&k(o,p),/*dealername*/8&t[1]&&y!==(y=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&l.p(y),/*min, max, currencySymbol*/234881024&t[0]&&w!==(w=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&u.p(w)},d(e){e&&f(t)}}}
|
1227
1227
|
// (591:70)
|
1228
1228
|
function qr(e){let t,n,r,i,a,o,s=/*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]=ri(jr(e,c,t));return{c(){t=g("div"),n=g("div");for(let e=0;e<u.length;e+=1)u[e].c();r=b(),i=new C(!1),a=b(),o=new C(!1),x(n,"class","LiveIcons"),i.a=a,o.a=null,x(t,"class",/*roulettecontainerclassname*/e[30])},m(c,d){m(c,t,d),h(t,n);for(let e=0;e<u.length;e+=1)u[e]&&u[e].m(n,null);
|
1229
1229
|
/*div0_binding*/e[64](n),h(t,r),i.m(s,t),h(t,a),o.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]=ri(i),u[t].c(),u[t].m(n,null))}for(;t<u.length;t+=1)u[t].d(1);u.length=c.length}/*dealername*/8&r[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&r[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l),/*roulettecontainerclassname*/1073741824&r[0]&&x(t,"class",/*roulettecontainerclassname*/e[30])},d(n){n&&f(t),p(u,n),
|
1230
1230
|
/*div0_binding*/e[64](null)}}}
|
1231
|
-
// (570:10) {#if isopen && displaytype
|
1231
|
+
// (570:10) {#if isopen && displaytype === BLACKJACK}
|
1232
1232
|
function Qr(e){let t,n,r,i,a,o,s=/*renderDealerName*/e[41](/*dealername*/e[34])+"",l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"";function c(e,t){/*istablefull*/
|
1233
1233
|
return e[32]?ai:ii}let u=c(e),d=u(e);return{c(){t=g("div"),n=g("div"),d.c(),r=b(),i=new C(!1),a=b(),o=new C(!1),x(n,"class","LiveIcons"),i.a=a,o.a=null,x(t,"class","GameProp LiveProps BlackjackDisplay"),x(t,"part","GameProp LiveProps BlackjackDisplay")},m(e,c){m(e,t,c),h(t,n),d.m(n,null),h(t,r),i.m(s,t),h(t,a),o.m(l,t)},p(e,t){u===(u=c(e))&&d?d.p(e,t):(d.d(1),d=u(e),d&&(d.c(),d.m(n,null))),/*dealername*/8&t[1]&&s!==(s=/*renderDealerName*/e[41](/*dealername*/e[34])+"")&&i.p(s),/*min, max, currencySymbol*/234881024&t[0]&&l!==(l=/*renderBetLimits*/e[40](/*min*/e[26],/*max*/e[27],/*currencySymbol*/e[25])+"")&&o.p(l)},d(e){e&&f(t),d.d()}}}
|
1234
1234
|
// (595:18) {#if roulleteresults && roulleteresults[i]}
|
@@ -1243,7 +1243,7 @@ function ri(e){let t,n=/*roulleteresults*/e[14]&&/*roulleteresults*/e[14][/*i*/e
|
|
1243
1243
|
// (577:16) {:else}
|
1244
1244
|
function ii(e){let t,n=/*seats*/e[24],r=[];for(let t=0;t<n.length;t+=1)r[t]=oi(Wr(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=w()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);m(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 o=Wr(e,n,a);r[a]?r[a].p(o,i):(r[a]=oi(o),r[a].c(),r[a].m(t.parentNode,t))}for(;a<r.length;a+=1)r[a].d(1);r.length=n.length}},d(e){p(r,e),e&&f(t)}}}
|
1245
1245
|
// (573:16) {#if istablefull}
|
1246
|
-
function ai(e){let t,n,r=/*$_*/e[35]("full")+"";return{c(){t=g("span"),n=v(r),x(t,"class","FullTable")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("full")+"")&&
|
1246
|
+
function ai(e){let t,n,r=/*$_*/e[35]("full")+"";return{c(){t=g("span"),n=v(r),x(t,"class","FullTable")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/16&t[1]&&r!==(r=/*$_*/e[35]("full")+"")&&k(n,r)},d(e){e&&f(t)}}}
|
1247
1247
|
// (578:18) {#each seats as seatData}
|
1248
1248
|
function oi(e){let t,n,r,i,a,o;return{c(){t=g("span"),n=y("svg"),r=y("path"),i=y("path"),a=b(),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",o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")},m(e,o){m(e,t,o),h(t,n),h(n,r),h(n,i),h(t,a)},p(e,n){/*currentoccupiedseats, seats*/285212672&n[0]&&o!==(o=/*contains*/e[39](/*currentoccupiedseats*/e[28],/*seatData*/e[101].toString())?"ClosedSeat":"OpenSeat")&&x(t,"class",o)},d(e){e&&f(t)}}}
|
1249
1249
|
// (632:79)
|
@@ -1253,18 +1253,18 @@ function li(e){let n,r,i;return{c(){n=g("div"),n.innerHTML='<svg version="1.1" c
|
|
1253
1253
|
// (613:6) {#if !isMobile(userAgent) && gamefavorite && isLoggedIn && favorites}
|
1254
1254
|
function ci(e){let n,r,i;return{c(){n=g("div"),n.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: var(--emfe-w-color-white, #FFFFFF);" d="m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"></path></svg>',x(n,"class","FavIconContainer")},m(t,a){m(t,n,a),r||(i=_(n,"click",/*click_handler_1*/e[65]),r=!0)},p:t,d(e){e&&f(n),r=!1,i()}}}
|
1255
1255
|
// (641:2) {#if showgamename === 'true'}
|
1256
|
-
function ui(e){let t,n;return{c(){t=g("p"),n=v(/*gamename*/e[4]),x(t,"class","GameNameBelow"),x(t,"title",/*gamename*/e[4])},m(e,r){m(e,t,r),h(t,n)},p(e,r){/*gamename*/16&r[0]&&
|
1257
|
-
return 65541&t[0]&&(L=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(I=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(A=null),null==L&&(L=!(Dr(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),L?ci:(null==I&&(I=!(Dr(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),I?li:(null==A&&(A=!!(Dr(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),A?si:void 0))}let z=Y(e,[-1,-1,-1,-1]),j=z&&z(e),W=/*showgamename*/"true"===e[10]&&ui(e);return{c(){n=g("div"),r=g("div"),i=g("img"),s=b(),l=g("div"),u=g("div"),d=g("p"),p=v(/*gamename*/e[4]),y=b(),R&&R.c(),w=b(),_=g("span"),S=v(P),C=b(),E=g("div"),G=g("div"),H&&H.c(),T=b(),B&&B.c(),M=b(),U&&U.c(),$=b(),j&&j.c(),O=b(),W&&W.c(),this.c=t,c(i.src,a=/*gamethumbnail*/e[3])||x(i,"src",a),x(i,"class",o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`),x(i,"alt",""),x(i,"loading","lazy"),x(d,"class","GameInfoName"),x(d,"title",/*gamename*/e[4]),x(u,"class","GameInfo"),x(_,"class","GameInfoVendor"),x(l,"class","GameInfoWrapper"),x(G,"class","GameExtraInfo"),x(E,"class","GameExtraInfoContainer"),x(r,"class",D="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":"")),x(n,"class",N=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`),
|
1256
|
+
function ui(e){let t,n;return{c(){t=g("p"),n=v(/*gamename*/e[4]),x(t,"class","GameNameBelow"),x(t,"title",/*gamename*/e[4])},m(e,r){m(e,t,r),h(t,n)},p(e,r){/*gamename*/16&r[0]&&k(n,/*gamename*/e[4]),/*gamename*/16&r[0]&&x(t,"title",/*gamename*/e[4])},d(e){e&&f(t)}}}function di(e){let n,r,i,a,o,s,l,u,d,p,y,w,_,S,C,E,G,T,M,$,L,I,A,D,O,N,P=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"",R=/*lang*/e[1]&&Vr(e),H=/*gameisnew*/e[7]&&Zr(e),B=/*gametag*/e[8]&&Kr(e),U=/*livegamedata*/e[13]&&Xr(e);function Y(e,t){/*gamefavorite, isLoggedIn, favorites*/
|
1257
|
+
return 65541&t[0]&&(L=null),/*gamefavorite, isLoggedIn*/65537&t[0]&&(I=null),/*gamefavorite, isLoggedIn, favorites*/65541&t[0]&&(A=null),null==L&&(L=!(Dr(/*userAgent*/e[36])||/*gamefavorite*/!e[0]||/*isLoggedIn*/!e[16]||/*favorites*/!e[2])),L?ci:(null==I&&(I=!(Dr(/*userAgent*/e[36])||/*gamefavorite*/e[0]||/*isLoggedIn*/!e[16])),I?li:(null==A&&(A=!!(Dr(/*userAgent*/e[36])&&/*gamefavorite*/e[0]&&/*isLoggedIn*/e[16]&&/*favorites*/e[2])),A?si:void 0))}let z=Y(e,[-1,-1,-1,-1]),j=z&&z(e),W=/*showgamename*/"true"===e[10]&&ui(e);return{c(){n=g("div"),r=g("div"),i=g("img"),s=b(),l=g("div"),u=g("div"),d=g("p"),p=v(/*gamename*/e[4]),y=b(),R&&R.c(),w=b(),_=g("span"),S=v(P),C=b(),E=g("div"),G=g("div"),H&&H.c(),T=b(),B&&B.c(),M=b(),U&&U.c(),$=b(),j&&j.c(),O=b(),W&&W.c(),this.c=t,c(i.src,a=/*gamethumbnail*/e[3])||x(i,"src",a),x(i,"class",o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`),x(i,"alt",""),x(i,"loading","lazy"),x(d,"class","GameInfoName"),x(d,"title",/*gamename*/e[4]),x(u,"class","GameInfo"),x(_,"class","GameInfoVendor"),x(l,"class","GameInfoWrapper"),x(G,"class","GameExtraInfo"),x(E,"class","GameExtraInfoContainer"),x(r,"class",D="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":"")),x(n,"class",N=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`),F(n,"WithGameName",/*showgamename*/e[10])},m(t,a){m(t,n,a),h(n,r),h(r,i),
|
1258
1258
|
/*img_binding*/e[62](i),h(r,s),h(r,l),h(l,u),h(u,d),h(d,p),h(u,y),R&&R.m(u,null),h(l,w),h(l,_),h(_,S),h(r,C),h(r,E),h(E,G),H&&H.m(G,null),h(G,T),B&&B.m(G,null),h(G,M),U&&U.m(G,null),h(E,$),j&&j.m(E,null),h(n,O),W&&W.m(n,null)
|
1259
|
-
/*div5_binding*/,e[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!c(i.src,a=/*gamethumbnail*/e[3])&&x(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&x(i,"class",o),/*gamename*/16&t[0]&&
|
1259
|
+
/*div5_binding*/,e[67](n)},p(e,t){/*gamethumbnail*/8&t[0]&&!c(i.src,a=/*gamethumbnail*/e[3])&&x(i,"src",a),/*gamecellsize, loaded*/131584&t[0]&&o!==(o=`GameBg GameBg-${/*gamecellsize*/e[9]} ${/*loaded*/e[17]?"Loaded":""}`)&&x(i,"class",o),/*gamename*/16&t[0]&&k(p,/*gamename*/e[4]),/*gamename*/16&t[0]&&x(d,"title",/*gamename*/e[4]),/*lang*/e[1]?R?R.p(e,t):(R=Vr(e),R.c(),R.m(u,null)):R&&(R.d(1),R=null),/*gamevendor*/32&t[0]&&P!==(P=/*gamevendor*/(e[5]?/*gamevendor*/e[5]:"-")+"")&&k(S,P),/*gameisnew*/e[7]?H?H.p(e,t):(H=Zr(e),H.c(),H.m(G,T)):H&&(H.d(1),H=null),/*gametag*/e[8]?B?B.p(e,t):(B=Kr(e),B.c(),B.m(G,M)):B&&(B.d(1),B=null),/*livegamedata*/e[13]?U?U.p(e,t):(U=Xr(e),U.c(),U.m(G,null)):U&&(U.d(1),U=null),z===(z=Y(e,t))&&j?j.p(e,t):(j&&j.d(1),j=z&&z(e),j&&(j.c(),j.m(E,null))),/*livegamedata, isopen, openhours*/12591104&t[0]|/*istablefull*/2&t[1]&&D!==(D="GameInnerContainer "+(/*livegamedata*/e[13]&&!/*isopen*/e[22]&&/*openhours*/e[23].value||/*livegamedata*/e[13]&&/*istablefull*/e[32]?"GameInnerContainerUnavailable":""))&&x(r,"class",D),/*showgamename*/"true"===e[10]?W?W.p(e,t):(W=ui(e),W.c(),W.m(n,null)):W&&(W.d(1),W=null),/*casinogamesgridslider*/2048&t[0]|/*extraclassname*/4&t[1]&&N!==(N=`GameContainer ${/*extraclassname*/e[33]} ${/*casinogamesgridslider*/"true"==e[11]?"CasinoGamesGridSlider":""}`)&&x(n,"class",N),/*casinogamesgridslider, showgamename*/3072&t[0]|/*extraclassname*/4&t[1]&&F(n,"WithGameName",/*showgamename*/e[10])},i:t,o:t,d(t){t&&f(n)
|
1260
1260
|
/*img_binding*/,e[62](null),R&&R.d(),H&&H.d(),B&&B.d(),U&&U.d(),j&&j.d(),W&&W.d()
|
1261
|
-
/*div5_binding*/,e[67](null)}}}const hi="blackjack",mi="roulette",fi="doubleballroulette",pi=5;function gi(e,t,n){let r;d(e,Ar,(e=>n(35,r=e)));let i,a,o,s,l,c,u,h,m,f,p,g,y,v,b,w,_,x,S,F,
|
1261
|
+
/*div5_binding*/,e[67](null)}}}const hi="blackjack",mi="roulette",fi="doubleballroulette",pi=5;function gi(e,t,n){let r;d(e,Ar,(e=>n(35,r=e)));let i,a,o,s,l,c,u,h,m,f,p,g,y,v,b,w,_,x,S,k,F,C,E,G,M,{session:L=""}=t,{userid:I=""}=t,{lang:A="en"}=t,{clientstyling:D=""}=t,{clientstylingurl:O=""}=t,{translationurl:P=""}=t,{favorites:R=""}=t,{gamethumbnail:H=""}=t,{gamename:B=""}=t,{gamevendor:U=""}=t,{gamelaunchurl:Y=""}=t,{gameid:z=""}=t,{gameisnew:j=""}=t,{gametag:W=""}=t,{gamefunmode:V=!1}=t,{gamefavorite:Z=!1}=t,{gamecellsize:K=""}=t,{showfavoredcategory:X=!1}=t,{showgamename:J=""}=t,{currency:q=""}=t,{gamepagemodalurl:Q="false"}=t,{endpoint:ee=""}=t,{categoryid:te=""}=t,{livelobbyendpoint:ne=""}=t,{connectlive:re=""}=t,{visibilityconnect:ie=""}=t,{integratedgameframedesktop:ae="false"}=t,{integratedgameframemobile:oe="false"}=t,{casinogamesgridslider:se="false"}=t,le=!1,ce=!1,ue=window.navigator.userAgent,de="HH:mm",he={},me=[],fe="EUR",pe="";const ge=[hi],ye=[mi,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(Yr).forEach((e=>{Ur(e,Yr[e])}));const we=e=>{e.data.type!==`AddFavoriteThumbnail_${z}`||X||n(0,Z=!0),e.data.type!==`RemoveFavoriteThumbnail_${z}`||X||n(0,Z=!1),"UserSessionID"===e.data.type&&(n(16,le=!0),e.data.session,i=e.data.userID),"CategoryUpdate"===e.data.type&&n(13,s=null)},_e=e=>{window.postMessage({type:"SearchedItemClicked",gameId:e},window.location.href),
|
1262
1262
|
//Analytics event -- if game was searched
|
1263
1263
|
"function"==typeof gtag&>ag("event","OpenGame",{context:"GameThumbnail--Searched",gameId:`${e}`,userId:`${i||"Not logged in"}`}),
|
1264
1264
|
// Case mobile
|
1265
1265
|
Dr(ue)&&"true"==oe?window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Dr(ue),source:"GameThumbnail",identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href):Dr(ue)&&"false"==oe&&window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Dr(ue)},window.location.href),
|
1266
1266
|
// Case desktop
|
1267
|
-
Dr(ue)||"true"!=ae?Dr(ue)||"false"!=ae||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Dr(ue)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Dr(ue),identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href)},xe=e=>{Z?window.postMessage({type:`SetUnfavoredGame${te}`,id:e},window.location.href):window.postMessage({type:`SetFavoredGame${te}`,id:e},window.location.href)},Se=()=>{var e;e=A,fr.set(e)},
|
1267
|
+
Dr(ue)||"true"!=ae?Dr(ue)||"false"!=ae||window.postMessage({type:"ShowGameModal",gameId:e,isMobile:Dr(ue)},window.location.href):window.postMessage({type:"OpenGameFrame",gameId:e,gamefunmode:V,gamepagemodalurl:Q,isMobile:Dr(ue),identifier:"Lobby",subVendor:U,launchUrl:Y},window.location.href)},xe=e=>{Z?window.postMessage({type:`SetUnfavoredGame${te}`,id:e},window.location.href):window.postMessage({type:`SetFavoredGame${te}`,id:e},window.location.href)},Se=()=>{var e;e=A,fr.set(e)},ke=()=>{ne&&EventSource&&!l&&U&&z&&(l=new EventSource(`${ee}/v1/encoder/lobby/updates/${U}/${z}`),l.addEventListener("message",Ce))},Fe=()=>{l&&(l.close(),l=void 0)},Ce=async e=>{const{type:t,data:r}=e;let i;if("message"===t){if(r)try{i=JSON.parse(r)}catch(e){
|
1268
1268
|
// eslint-disable-next-line no-console
|
1269
1269
|
console.error("MESSAGE PARSING ERROR: ",e)}if(i){const{InternalTableId:e,MessageType:t,Results:// TakenSeats,
|
1270
1270
|
r,Seats:// Roads, // for baccarat
|
@@ -1275,46 +1275,46 @@ a,Open:o}=i;if(e)switch(t){case"SeatsUpdated":a&&Array.isArray(a)&&(n(28,y=a),n(
|
|
1275
1275
|
}// } else if (contains(otherLiveGamesCategory, gameTypeToLower)) {
|
1276
1276
|
// GameComponent = 'poker';
|
1277
1277
|
// }
|
1278
|
-
return t})(s)),n(25,fe=zr[q]),n(26,f=(he.min||{})[q]),n(27,p=(he.max||{})[q]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===fi),n(14,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,
|
1278
|
+
return t})(s)),n(25,fe=zr[q]),n(26,f=(he.min||{})[q]),n(27,p=(he.max||{})[q]),v=s.currentRouletteNumbers,b=s.currentDoubleBallRouletteNumbers,w=s.vendorCategory,n(29,_=w.toLowerCase()===fi),n(14,x=(_?b:v)||[]),n(30,S="GameProp LiveProps RoulleteProps"),n(30,S+=_?" Double":""),n(31,k=Ge(ye,w.toLowerCase())?be:ve),C=F,n(32,F=Array.isArray(y)&&y.length===g),s.dealer&&n(34,G=s.dealer.DealerName),M=s.numberOfPlayers,n(33,pe="ListGame"),s.isOpen&&s.currentRouletteNumbers&&n(33,pe+=" GameBackdrop"),h&&F&&f&&p&&s.currentOccupiedSeats?n(33,pe+=" GameContainerDimmed"):!1===h&&u&&n(33,pe+=" GameContainerFullyDimmed"),o&&(!C&&F?(n(33,pe+=" PulsatingRedShadow"),n(33,pe=pe.replace(" PulsatingGreenShadow",""))):C&&!F&&(n(33,pe+=" PulsatingGreenShadow"),n(33,pe=pe.replace(" PulsatingRedShadow",""))))}},Me=()=>{let e=new URL(O),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))};T((()=>(window.addEventListener("message",we,!1),()=>{window.removeEventListener("message",we),l&&l.removeEventListener("message",Ce)})));return e.$$set=e=>{"session"in e&&n(43,L=e.session),"userid"in e&&n(44,I=e.userid),"lang"in e&&n(1,A=e.lang),"clientstyling"in e&&n(45,D=e.clientstyling),"clientstylingurl"in e&&n(46,O=e.clientstylingurl),"translationurl"in e&&n(47,P=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,z=e.gameid),"gameisnew"in e&&n(7,j=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,X=e.showfavoredcategory),"showgamename"in e&&n(10,J=e.showgamename),"currency"in e&&n(51,q=e.currency),"gamepagemodalurl"in e&&n(52,Q=e.gamepagemodalurl),"endpoint"in e&&n(53,ee=e.endpoint),"categoryid"in e&&n(54,te=e.categoryid),"livelobbyendpoint"in e&&n(55,ne=e.livelobbyendpoint),"connectlive"in e&&n(56,re=e.connectlive),"visibilityconnect"in e&&n(57,ie=e.visibilityconnect),"integratedgameframedesktop"in e&&n(58,ae=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(59,oe=e.integratedgameframemobile),"casinogamesgridslider"in e&&n(11,se=e.casinogamesgridslider)},e.$$.update=()=>{/*connectlive*/33554432&e.$$.dirty[1]&&re&&("disconnect"===re?Fe():"connect"===re&&ke()),/*visibilityconnect*/67108864&e.$$.dirty[1]&&ie&&("disconnect"===ie?Fe():"connect"===ie&&"connect"===re&&ke()),/*lang*/2&e.$$.dirty[0]&&A&&Se(),/*session, userid, endpoint*/4206592&e.$$.dirty[1]&&L&&I&&ee&&(n(16,le=!0),i=I),/*gamethumbnail*/8&e.$$.dirty[0]&&H&&a&&n(18,a.onload=()=>{n(17,ce=!0)},a),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstyling*/16384&e.$$.dirty[1]&&D&&o&&(()=>{let e=document.createElement("style");e.innerHTML=D,o.appendChild(e)})(),/*customStylingContainer*/4096&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&O&&o&&Me(),e.$$.dirty[0],/*translationurl*/65536&e.$$.dirty[1]&&P&&fetch(P).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ur(t,e[t])}))})).catch((e=>{console.log(e)})),/*gamecellsize*/512&e.$$.dirty[0]|/*clientstylingurl*/32768&e.$$.dirty[1]&&K&&O&&Me(),/*endpoint, livelobbyendpoint*/20971520&e.$$.dirty[1]&&ee&&ne&&(()=>{let e=new URL(`${ne.split("?")[0]}`);e.searchParams.append("platform",Or(ue)),e.searchParams.append("language",A),
|
1279
1279
|
// let url:URL = new URL(`${endpoint}${livelobbyendpoint}`);
|
1280
|
-
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&Te(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&E&&x&&(()=>{const e="FirstElementAnimated",t=E.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,A,R,H,B,U,z,j,W,K,J,se,o,s,x,E,le,ce,a,c,u,de,h,m,me,fe,f,p,y,_,S,F,k,pe,G,r,ue,_e,xe,Ge,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ee(e)}-${Ee(t)}`),M&&(r=`\n <svg fill="var(--emfe-w-color-white, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${M}</span>`),r||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 `},L,I,D,O,P,Y,V,X,q,Q,ee,te,ne,re,ie,ae,oe,ve,be,function(e){$[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>_e(z),function(e){$[e?"unshift":"push"]((()=>{E=e,n(15,E)}))},()=>xe(z),()=>xe(z),function(e){$[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}function yi(e,t){Wn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{position:absolute;top:0;left:0;display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.UnfavoredIcon{display:none}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:0.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},gi,di,o,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),B()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),B()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),B()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),B()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),B()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),B()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),B()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),B()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),B()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),B()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),B()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),B()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),B()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),B()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),B()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),B()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),B()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),B()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),B()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const vi={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};
|
1280
|
+
fetch(e).then((e=>e.json())).then((e=>{const{details:t}=e[0];n(13,s=t)}))})(),/*livegamedata*/8192&e.$$.dirty[0]&&s&&Te(),/*roulletteref, roulleteresults*/49152&e.$$.dirty[0]&&E&&x&&(()=>{const e="FirstElementAnimated",t=E.getElementsByClassName("First")[0];t&&(t.classList.add(e),setTimeout((()=>{t.classList.remove(e)}),2e3))})()},[Z,A,R,H,B,U,z,j,W,K,J,se,o,s,x,E,le,ce,a,c,u,de,h,m,me,fe,f,p,y,_,S,k,F,pe,G,r,ue,_e,xe,Ge,(e,t,n)=>{let r,i;return null!=e&&null!=t&&(i=`\n <span>\n ${n}\n </span>\n ${Ee(e)}-${Ee(t)}`),M&&(r=`\n <svg fill="var(--emfe-w-color-white, #FFFFFF);" width="13" height="13" viewBox="0 0 13 14" xmlns="http://www.w3.org/2000/svg"><path d="M4 8.2a4.6 4.6 0 0 0 5 0c2.7.8 4 2.6 4 4.8H0c0-2.2 1.3-4 4-4.8zM6.6 8c2 0 3.8-1.7 3.8-4 0-2.1-1.7-4-3.8-4a3.9 3.9 0 0 0-3.8 4c0 2.2 1.7 4 3.8 4z"/></svg>\n <span class="NrOfPlayers">${M}</span>`),r||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 `},L,I,D,O,P,Y,V,X,q,Q,ee,te,ne,re,ie,ae,oe,ve,be,function(e){$[e?"unshift":"push"]((()=>{a=e,n(18,a)}))},()=>_e(z),function(e){$[e?"unshift":"push"]((()=>{E=e,n(15,E)}))},()=>xe(z),()=>xe(z),function(e){$[e?"unshift":"push"]((()=>{o=e,n(12,o)}))}]}function yi(e,t){Wn(e,t)}!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameContainer.WithGameName{padding-bottom:20px}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15;padding:8px 25px}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:space-evenly}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;text-align:center;font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-size:16px;border:2px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:flex;justify-content:flex-end;align-items:center;color:white;font-size:12px;font-weight:normal}.GameInnerContainer .GameExtraInfoContainer{display:flex;flex-direction:row;justify-content:space-between;align-items:center;width:100%;height:auto;padding:4px}.GameInnerContainer .GameExtraInfo{display:flex;justify-content:flex-start;align-items:center;width:100%;height:100%;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));font-weight:bold;text-transform:uppercase;border-radius:5px}.GameInnerContainer:hover,.GameInnerContainer:active{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper,.GameInnerContainer:active .GameInfoWrapper{display:flex;flex-direction:column;justify-content:center}.GameInnerContainer:hover .GameBg,.GameInnerContainer:active .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer:hover .UnfavoredIcon,.GameInnerContainer:active .UnfavoredIcon{display:flex}.GameInnerContainer:hover .GameExtraInfo{opacity:0.3}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.UnfavoredIcon{display:none}.FavIconContainer{display:flex;justify-content:center;align-items:center;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame.GameBackdrop .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, rgb(0, 0, 0) 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:" ";width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:0px;right:0;width:100%;padding:0;background:linear-gradient(to top, var(--emfe-w-color-black, #000000), var(--emfe-w-color-black, #000000), transparent);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}.LoaderRipple{width:80px;height:80px;position:absolute;top:40px;left:-8px}.LoaderRipple div{position:absolute;border:4px solid #fff;opacity:1;border-radius:50%;animation:ripple-effect 1s cubic-bezier(0, 0.2, 0.8, 1) infinite}.LoaderRipple div:nth-child(2){animation-delay:-0.5s}@keyframes ripple-effect{0%{top:36px;left:36px;width:0;height:0;opacity:0}4.9%{top:36px;left:36px;width:0;height:0;opacity:0}5%{top:36px;left:36px;width:0;height:0;opacity:1}100%{top:0px;left:0px;width:72px;height:72px;opacity:0}}@container (max-width: 480px){.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper{gap:0px;padding:8px 10px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:12px;margin-top:4px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoBtn{font-size:12px;padding:2px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:8px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .FavoredIcon,.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .UnfavoredIcon{width:14px;height:14px}.CasinoGamesGridSlider .GameInnerContainer .GameExtraInfoContainer .GameExtraInfoLabel{font-size:8px}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},gi,di,o,{session:43,userid:44,lang:1,clientstyling:45,clientstylingurl:46,translationurl:47,favorites:2,gamethumbnail:3,gamename:4,gamevendor:5,gamelaunchurl:48,gameid:6,gameisnew:7,gametag:8,gamefunmode:49,gamefavorite:0,gamecellsize:9,showfavoredcategory:50,showgamename:10,currency:51,gamepagemodalurl:52,endpoint:53,categoryid:54,livelobbyendpoint:55,connectlive:56,visibilityconnect:57,integratedgameframedesktop:58,integratedgameframemobile:59,casinogamesgridslider:11,MONEY_WHEEL_COLOR_MAP:60,ROULETTE_COLOR_MAP:61},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","translationurl","favorites","gamethumbnail","gamename","gamevendor","gamelaunchurl","gameid","gameisnew","gametag","gamefunmode","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","categoryid","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","casinogamesgridslider","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[43]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[44]}set userid(e){this.$$set({userid:e}),B()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),B()}get clientstyling(){return this.$$.ctx[45]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[46]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[47]}set translationurl(e){this.$$set({translationurl:e}),B()}get favorites(){return this.$$.ctx[2]}set favorites(e){this.$$set({favorites:e}),B()}get gamethumbnail(){return this.$$.ctx[3]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),B()}get gamename(){return this.$$.ctx[4]}set gamename(e){this.$$set({gamename:e}),B()}get gamevendor(){return this.$$.ctx[5]}set gamevendor(e){this.$$set({gamevendor:e}),B()}get gamelaunchurl(){return this.$$.ctx[48]}set gamelaunchurl(e){this.$$set({gamelaunchurl:e}),B()}get gameid(){return this.$$.ctx[6]}set gameid(e){this.$$set({gameid:e}),B()}get gameisnew(){return this.$$.ctx[7]}set gameisnew(e){this.$$set({gameisnew:e}),B()}get gametag(){return this.$$.ctx[8]}set gametag(e){this.$$set({gametag:e}),B()}get gamefunmode(){return this.$$.ctx[49]}set gamefunmode(e){this.$$set({gamefunmode:e}),B()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),B()}get gamecellsize(){return this.$$.ctx[9]}set gamecellsize(e){this.$$set({gamecellsize:e}),B()}get showfavoredcategory(){return this.$$.ctx[50]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),B()}get showgamename(){return this.$$.ctx[10]}set showgamename(e){this.$$set({showgamename:e}),B()}get currency(){return this.$$.ctx[51]}set currency(e){this.$$set({currency:e}),B()}get gamepagemodalurl(){return this.$$.ctx[52]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),B()}get categoryid(){return this.$$.ctx[54]}set categoryid(e){this.$$set({categoryid:e}),B()}get livelobbyendpoint(){return this.$$.ctx[55]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),B()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),B()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[58]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[59]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinogamesgridslider(){return this.$$.ctx[11]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[60]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[61]}});const vi={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"}};
|
1281
1281
|
/* ../casino-filter/src/CasinoFilter.svelte generated by Svelte v3.59.2 */function bi(e,t,n){const r=e.slice();return r[36]=t[n],r[37]=t,r[38]=n,r}
|
1282
1282
|
// (178:4) {#if !isLoading}
|
1283
|
-
function wi(e){let t,n,r,a,o,s,l,c,u,d,w,S,
|
1284
|
-
return e[7]?Si:xi}let Z=V(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=Ci(bi(e,X,t));return{c(){t=g("div"),n=g("div"),r=g("div"),a=y("svg"),o=y("path"),s=b(),l=g("div"),c=g("span"),u=v(z),d=b(),w=g("div"),S=g("span"),
|
1283
|
+
function wi(e){let t,n,r,a,o,s,l,c,u,d,w,S,F,C,E,G,T,M,$,L,I,A,D,O,N,P,R,H,B,U,Y,z=/*$_*/e[11]("filterby")+"",j=/*$_*/e[11]("providers")+"",W=/*$_*/e[11]("clear")+"";function V(e,t){/*fullSelection*/
|
1284
|
+
return e[7]?Si:xi}let Z=V(e),K=Z(e),X=/*vendorArray*/e[5],J=[];for(let t=0;t<X.length;t+=1)J[t]=Ci(bi(e,X,t));return{c(){t=g("div"),n=g("div"),r=g("div"),a=y("svg"),o=y("path"),s=b(),l=g("div"),c=g("span"),u=v(z),d=b(),w=g("div"),S=g("span"),F=v(j),C=b(),K.c(),E=b(),G=g("span"),T=y("svg"),M=y("path"),I=b(),A=g("div"),D=g("ul");for(let e=0;e<J.length;e+=1)J[e].c();O=b(),N=g("button"),P=v(W),x(o,"id","noun_filter_736223"),x(o,"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(o,"transform","translate(-5 -6.2)"),x(o,"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(w,"class","FilterValueContainer"),x(l,"class","FilterTextContainer"),x(r,"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(T,"xmlns","http://www.w3.org/2000/svg"),x(T,"width","14"),x(T,"height","6.835"),x(T,"viewBox","0 0 14 6.835"),x(G,"class",$="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":"")),x(n,"class",L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":"")),x(D,"class","FilterDropdown"),x(N,"class","ClearFilters"),N.disabled=R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length,x(A,"class",H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":"")),x(t,"class",B="FilterContainer "+(/*addfilterselector*/"true"==e[0]&&/*addsortingselector*/"true"==e[1]?"FilerContainerSplit":""))},m(i,f){m(i,t,f),h(t,n),h(n,r),h(r,a),h(a,o),h(r,s),h(r,l),h(l,c),h(c,u),h(l,d),h(l,w),h(w,S),h(S,F),h(w,C),K.m(w,null),h(n,E),h(n,G),h(G,T),h(T,M),h(t,I),h(t,A),h(A,D);for(let e=0;e<J.length;e+=1)J[e]&&J[e].m(D,null);h(A,O),h(A,N),h(N,P),U||(Y=[_(n,"click",/*click_handler*/e[22]),_(N,"click",/*click_handler_2*/e[25])],U=!0)},p(e,r){if(/*$_*/2048&r[0]&&z!==(z=/*$_*/e[11]("filterby")+"")&&k(u,z),/*$_*/2048&r[0]&&j!==(j=/*$_*/e[11]("providers")+"")&&k(F,j),Z===(Z=V(e))&&K?K.p(e,r):(K.d(1),K=Z(e),K&&(K.c(),K.m(w,null))),/*isFilterActive*/16&r[0]&&$!==($="TriangleInactive "+(/*isFilterActive*/e[4]?"TriangleActive":""))&&x(G,"class",$),/*isFilterActive*/16&r[0]&&L!==(L="FilterSelector "+(/*isFilterActive*/e[4]?"FilterSelectorOpen":""))&&x(n,"class",L),/*filterbylogo, vendorArray, filterByVendors*/8228&r[0]){let t;for(X=/*vendorArray*/e[5],t=0;t<X.length;t+=1){const n=bi(e,X,t);J[t]?J[t].p(n,r):(J[t]=Ci(n),J[t].c(),J[t].m(D,null))}for(;t<J.length;t+=1)J[t].d(1);J.length=X.length}/*$_*/2048&r[0]&&W!==(W=/*$_*/e[11]("clear")+"")&&k(P,W),/*fullSelection, selectedVendorArray, vendorArray*/224&r[0]&&R!==(R=/*fullSelection*/e[7]&&/*selectedVendorArray*/e[6].length!=/*vendorArray*/e[5].length)&&(N.disabled=R),/*isFilterActive*/16&r[0]&&H!==(H="FilterDropdownContainer "+(/*isFilterActive*/e[4]?"FilterOpen":""))&&x(A,"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&&f(t),K.d(),p(J,e),U=!1,i(Y)}}}
|
1285
1285
|
// (175:2) {#if hasErrors}
|
1286
|
-
function _i(e){let t,n,r=/*$_*/e[11]("500")+"";return{c(){t=g("p"),n=v(r),x(t,"class","SearchLoading")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("500")+"")&&
|
1286
|
+
function _i(e){let t,n,r=/*$_*/e[11]("500")+"";return{c(){t=g("p"),n=v(r),x(t,"class","SearchLoading")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("500")+"")&&k(n,r)},d(e){e&&f(t)}}}
|
1287
1287
|
// (191:14) {:else}
|
1288
|
-
function xi(e){let t,n;return{c(){t=g("span"),n=v(/*selectionNumber*/e[8]),x(t,"class","FilterCounter")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*selectionNumber*/256&t[0]&&
|
1288
|
+
function xi(e){let t,n;return{c(){t=g("span"),n=v(/*selectionNumber*/e[8]),x(t,"class","FilterCounter")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*selectionNumber*/256&t[0]&&k(n,/*selectionNumber*/e[8])},d(e){e&&f(t)}}}
|
1289
1289
|
// (189:14) {#if fullSelection}
|
1290
|
-
function Si(e){let t,n,r=/*$_*/e[11]("all")+"";return{c(){t=g("span"),n=v(r),x(t,"class","FilterCounter")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("all")+"")&&
|
1290
|
+
function Si(e){let t,n,r=/*$_*/e[11]("all")+"";return{c(){t=g("span"),n=v(r),x(t,"class","FilterCounter")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("all")+"")&&k(n,r)},d(e){e&&f(t)}}}
|
1291
1291
|
// (213:50)
|
1292
|
-
function
|
1292
|
+
function ki(e){let t,n;return{c(){t=g("img"),c(t.src,n=/*vendor*/e[36].logo)||x(t,"src",n),x(t,"alt","vendor logo")},m(e,n){m(e,t,n)},p(e,r){/*vendorArray*/32&r[0]&&!c(t.src,n=/*vendor*/e[36].logo)&&x(t,"src",n)},d(e){e&&f(t)}}}
|
1293
1293
|
// (211:16) {#if filterbylogo === "false"}
|
1294
|
-
function
|
1294
|
+
function Fi(e){let t,n,r,i,a,o,s,l,c=/*vendor*/e[36].name+"",u=/*vendor*/e[36].games.count+"";return{c(){t=g("div"),n=g("span"),r=v(c),i=b(),a=g("span"),o=v("("),s=v(u),l=v(")"),x(t,"class","FilterItemLabel")},m(e,c){m(e,t,c),h(t,n),h(n,r),h(t,i),h(t,a),h(a,o),h(a,s),h(a,l)},p(e,t){/*vendorArray*/32&t[0]&&c!==(c=/*vendor*/e[36].name+"")&&k(r,c),/*vendorArray*/32&t[0]&&u!==(u=/*vendor*/e[36].games.count+"")&&k(s,u)},d(e){e&&f(t)}}}
|
1295
1295
|
// (206:10) {#each vendorArray as vendor}
|
1296
1296
|
function Ci(e){let t,n,r,a,o,s,l,c,u,d,p,y;function v(){
|
1297
1297
|
/*input_change_handler*/e[23].call(r,/*each_value*/e[37],/*vendor_index*/e[38])}function w(){/*click_handler_1*/
|
1298
1298
|
return e[24](/*vendor*/e[36])}function S(e,t){/*filterbylogo*/
|
1299
|
-
return"false"===e[2]?
|
1299
|
+
return"false"===e[2]?Fi:/*filterbylogo*/"true"===e[2]?ki:void 0}let k=S(e),F=k&&k(e);return{c(){t=g("li"),n=g("label"),r=g("input"),o=b(),s=g("span"),l=b(),F&&F.c(),c=b(),x(r,"type","checkbox"),x(r,"name","checkbox"),r.__value=a=/*vendor*/e[36].name,r.value=r.__value,x(s,"class","FiltersCheckmark"),x(n,"class","FilterLabel"),x(t,"class",u="FilterItem "+(/*filterbylogo*/"true"===e[2]?"FilterItemWithLogos":"")),t.value=d=/*vendor*/e[36].name},m(i,a){m(i,t,a),h(t,n),h(n,r),r.checked=/*vendor*/e[36].isFilterSelected,h(n,o),h(n,s),h(n,l),F&&F.m(n,null),h(t,c),p||(y=[_(r,"change",v),_(r,"click",w)],p=!0)},p(i,o){e=i,/*vendorArray*/32&o[0]&&a!==(a=/*vendor*/e[36].name)&&(r.__value=a,r.value=r.__value),/*vendorArray*/32&o[0]&&(r.checked=/*vendor*/e[36].isFilterSelected),k===(k=S(e))&&F?F.p(e,o):(F&&F.d(1),F=k&&k(e),F&&(F.c(),F.m(n,null))),/*filterbylogo*/4&o[0]&&u!==(u="FilterItem "+(/*filterbylogo*/"true"===e[2]?"FilterItemWithLogos":""))&&x(t,"class",u),/*vendorArray*/32&o[0]&&d!==(d=/*vendor*/e[36].name)&&(t.value=d)},d(e){e&&f(t),F&&F.d(),p=!1,i(y)}}}function Ei(e){let n;function r(e,t){/*hasErrors*/
|
1300
1300
|
return e[10]?_i:/*isLoading*/e[9]?void 0:wi}let i=r(e),a=i&&i(e);return{c(){n=g("div"),a&&a.c(),this.c=t},m(t,r){m(t,n,r),a&&a.m(n,null)
|
1301
1301
|
/*div_binding*/,e[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:t,o:t,d(t){t&&f(n),a&&a.d()
|
1302
|
-
/*div_binding*/,e[26](null)}}}function Gi(e,t,n){let r;d(e,Ar,(e=>n(11,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{translationurl:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{categoryid:h=""}=t,{addfilterselector:m="false"}=t,{addsortingselector:f="false"}=t,{filterbylogo:p="false"}=t,g=!1,y=window.navigator.userAgent,v=[],b=[],w={},_=!1,x=0,S=!0,
|
1302
|
+
/*div_binding*/,e[26](null)}}}function Gi(e,t,n){let r;d(e,Ar,(e=>n(11,r=e)));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{translationurl:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:u=""}=t,{categoryid:h=""}=t,{addfilterselector:m="false"}=t,{addsortingselector:f="false"}=t,{filterbylogo:p="false"}=t,g=!1,y=window.navigator.userAgent,v=[],b=[],w={},_=!1,x=0,S=!0,k=!1;
|
1303
1303
|
// start translations area
|
1304
1304
|
!function({withLocale:e,translations:t}){fr.subscribe((n=>{null==n&&(Yn.set(t),fr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
|
1305
1305
|
/*dictionary.set(translations);
|
1306
1306
|
locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(vi).forEach((e=>{yi(e,vi[e])}));
|
1307
1307
|
// end custom styling area
|
1308
|
-
w[h]&&(w={[h]:[]});const
|
1308
|
+
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),E()},E=()=>{
|
1309
1309
|
// update filters value
|
1310
1310
|
n(7,_=b.length===v.length||0==b.length),n(8,x=b.length)},G=()=>{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",s),e.searchParams.append("datasource",o),e.searchParams.append("platform",Or(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),
|
1311
1311
|
// needed to force the update of the filters value
|
1312
|
-
E()})).catch((e=>{console.error(e),n(10,
|
1312
|
+
E()})).catch((e=>{console.error(e),n(10,k=!0),r(e)})).finally((()=>{n(9,S=!1)}))}))})(e)},M=()=>{n(6,b=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[h]:b.map((e=>e.id))})),v.forEach((e=>e.isFilterSelected=!1)),
|
1313
1313
|
// this reassignation of the pointer value is required in order to have Svelte trigger a re-render
|
1314
|
-
n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,_=!0),n(4,g=!1)},L=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};T((()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})));return e.$$set=e=>{"endpoint"in e&&n(15,a=e.endpoint),"datasource"in e&&n(16,o=e.datasource),"lang"in e&&n(17,s=e.lang),"translationurl"in e&&n(18,l=e.translationurl),"clientstyling"in e&&n(19,c=e.clientstyling),"clientstylingurl"in e&&n(20,u=e.clientstylingurl),"categoryid"in e&&n(21,h=e.categoryid),"addfilterselector"in e&&n(0,m=e.addfilterselector),"addsortingselector"in e&&n(1,f=e.addsortingselector),"filterbylogo"in e&&n(2,p=e.filterbylogo)},e.$$.update=()=>{/*endpoint, datasource, categoryid, filterbylogo*/2195460&e.$$.dirty[0]&&a&&o&&h&&p&&G(),/*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]&&u&&i&&(()=>{let e=document.createElement("style");fetch(new URL(u)).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=>{yi(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,f,p,i,g,v,b,_,x,S,
|
1314
|
+
n(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),n(7,_=!0),n(4,g=!1)},L=e=>{"SortingOpened"==e.data.type&&n(4,g=!1)};T((()=>(window.addEventListener("message",L,!1),()=>{window.removeEventListener("message",L)})));return e.$$set=e=>{"endpoint"in e&&n(15,a=e.endpoint),"datasource"in e&&n(16,o=e.datasource),"lang"in e&&n(17,s=e.lang),"translationurl"in e&&n(18,l=e.translationurl),"clientstyling"in e&&n(19,c=e.clientstyling),"clientstylingurl"in e&&n(20,u=e.clientstylingurl),"categoryid"in e&&n(21,h=e.categoryid),"addfilterselector"in e&&n(0,m=e.addfilterselector),"addsortingselector"in e&&n(1,f=e.addsortingselector),"filterbylogo"in e&&n(2,p=e.filterbylogo)},e.$$.update=()=>{/*endpoint, datasource, categoryid, filterbylogo*/2195460&e.$$.dirty[0]&&a&&o&&h&&p&&G(),/*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]&&u&&i&&(()=>{let e=document.createElement("style");fetch(new URL(u)).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=>{yi(t,e[t])}))})).catch((e=>{console.log(e)}))},[m,f,p,i,g,v,b,_,x,S,k,r,F,C,M,a,o,s,l,c,u,h,()=>F(),function(e,t){e[t].isFilterSelected=this.checked,n(5,v)},e=>C(e),()=>M(),function(e){$[e?"unshift":"push"]((()=>{i=e,n(3,i)}))}]}function Ti(e,t){Wn(e,t)}!customElements.get("casino-filter")&&customElements.define("casino-filter",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.FilterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.FilterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emfe-w-color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border:1px solid var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Gi,Ei,o,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","translationurl","clientstyling","clientstylingurl","categoryid","addfilterselector","addsortingselector","filterbylogo"]}get endpoint(){return this.$$.ctx[15]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[16]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[17]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[18]}set translationurl(e){this.$$set({translationurl:e}),B()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get categoryid(){return this.$$.ctx[21]}set categoryid(e){this.$$set({categoryid:e}),B()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(e){this.$$set({addfilterselector:e}),B()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(e){this.$$set({addsortingselector:e}),B()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(e){this.$$set({filterbylogo:e}),B()}});const Mi={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"}};
|
1315
1315
|
/* ../casino-sort/src/CasinoSort.svelte generated by Svelte v3.59.2 */function $i(e,t,n){const r=e.slice();return r[23]=t[n],r}
|
1316
1316
|
// (114:4) {#if !isLoading}
|
1317
|
-
function Li(e){let t,n,r,i,a,o,s,l,c,u,d,w,S,
|
1317
|
+
function Li(e){let t,n,r,i,a,o,s,l,c,u,d,w,S,F,C,E,G,T,M,$,L,I,A,D,O,N,P,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]=Ii($i(e,U,t));return{c(){t=g("div"),n=g("div"),r=g("div"),i=y("svg"),a=y("g"),o=y("path"),s=y("path"),l=y("path"),c=b(),u=g("div"),d=g("span"),w=v(H),S=b(),F=g("div"),C=g("span"),E=v(B),G=b(),T=g("span"),M=y("svg"),$=y("path"),A=b(),D=g("div"),O=g("ul");for(let e=0;e<Y.length;e+=1)Y[e].c();x(o,"id","Path_5267"),x(o,"data-name","Path 5267"),x(o,"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(o,"transform","translate(-206.448 0)"),x(o,"fill","#fff"),x(s,"id","Path_5268"),x(s,"data-name","Path 5268"),x(s,"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(s,"transform","translate(0 0)"),x(s,"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(d,"class","SorterName"),x(F,"class","SorterValueContainer"),x(u,"class","SorterTextContainer"),x(r,"class","SorterMainArea"),x($,"id","arrow"),x($,"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($,"transform","translate(-274.511 -441.088)"),x($,"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(T,"class",L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":"")),x(n,"class",I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":"")),x(O,"class","SorterDropdown"),x(D,"class",N="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":"")),x(t,"class","SorterContainer")},m(f,p){m(f,t,p),h(t,n),h(n,r),h(r,i),h(i,a),h(a,o),h(a,s),h(a,l),h(r,c),h(r,u),h(u,d),h(d,w),h(u,S),h(u,F),h(F,C),h(C,E),h(n,G),h(n,T),h(T,M),h(M,$),h(t,A),h(t,D),h(D,O);for(let e=0;e<Y.length;e+=1)Y[e]&&Y[e].m(O,null);P||(R=_(n,"click",/*click_handler*/e[13]),P=!0)},p(e,t){if(/*$_*/16&t&&H!==(H=/*$_*/e[4]("sortby")+"")&&k(w,H),/*vendorSortingBy, $_*/24&t&&B!==(B=/*vendorSortingBy*/(e[3]||/*$_*/e[4]("all"))+"")&&k(E,B),/*isSorterActive*/2&t&&L!==(L="TriangleInactive "+(/*isSorterActive*/e[1]?"TriangleActive":""))&&x(T,"class",L),/*isSorterActive*/2&t&&I!==(I="SorterSelector "+(/*isSorterActive*/e[1]?"SorterSelectorOpen":""))&&x(n,"class",I),/*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=$i(e,U,n);Y[n]?Y[n].p(r,t):(Y[n]=Ii(r),Y[n].c(),Y[n].m(O,null))}for(;n<Y.length;n+=1)Y[n].d(1);Y.length=U.length}/*isSorterActive*/2&t&&N!==(N="SorterDropdownContainer "+(/*isSorterActive*/e[1]?"SorterOpen":""))&&x(D,"class",N)},d(e){e&&f(t),p(Y,e),P=!1,R()}}}
|
1318
1318
|
// (140:10) {#each Object.values(vendorMap) as sort}
|
1319
1319
|
function Ii(e){let t,n,r,i,a,o,s,l,c,u,d,p,y=/*sort*/e[23]+"";function w(){/*click_handler_1*/
|
1320
1320
|
return e[14](/*sort*/e[23])}return{c(){t=g("li"),n=g("label"),r=g("input"),a=b(),o=g("span"),s=b(),l=g("span"),c=v(y),u=b(),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(o,"class","SortersCheckmark"),x(n,"class","SorterLabel CustomRadioButton"),x(t,"class","SorterItem"),t.value=/*sort*/e[23]},m(e,i){m(e,t,i),h(t,n),h(n,r),h(n,a),h(n,o),h(n,s),h(n,l),h(l,c),h(t,u),d||(p=_(r,"click",w),d=!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&&f(t),d=!1,p()}}}function Ai(e){let n;function r(e,t){if(!/*isLoading*/e[2])return Li}let i=r(e),a=i&&i(e);return{c(){n=g("div"),a&&a.c(),this.c=t},m(t,r){m(t,n,r),a&&a.m(n,null)
|
@@ -1344,20 +1344,20 @@ function Yi(e){let t,n,r=/*casinomygames*/"true"!==e[18]&&ra(e);function i(e,t){
|
|
1344
1344
|
return e[23]&&!/*isLazyLoading*/e[34]?ua:/*shownCategoryData*/0!==e[27].length?ca:la}let a=i(e),o=a(e);return{c(){t=g("div"),r&&r.c(),n=b(),o.c(),x(t,"class","CasinoGamesContainer")},m(e,i){m(e,t,i),r&&r.m(t,null),h(t,n),o.m(t,null)},p(e,s){/*casinomygames*/"true"!==e[18]?r?r.p(e,s):(r=ra(e),r.c(),r.m(t,n)):r&&(r.d(1),r=null),a===(a=i(e))&&o?o.p(e,s):(o.d(1),o=a(e),o&&(o.c(),o.m(t,null)))},d(e){e&&f(t),r&&r.d(),o.d()}}}
|
1345
1345
|
// (852:14) {#if casinomygames !== 'true'}
|
1346
1346
|
function zi(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[41]("favorites")+"",u=/*favoriteGamesData*/e[40].items.length+"";return{c(){t=g("div"),n=g("h3"),r=v(c),i=b(),a=g("span"),o=v("("),s=v(u),l=v(")"),x(a,"class","CategoryFavName"),x(n,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(c,u){m(c,t,u),h(t,n),h(n,r),h(n,i),h(n,a),h(a,o),h(a,s),h(a,l),
|
1347
|
-
/*h3_binding_1*/e[55](n)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("favorites")+"")&&
|
1347
|
+
/*h3_binding_1*/e[55](n)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("favorites")+"")&&k(r,c),/*favoriteGamesData*/512&t[1]&&u!==(u=/*favoriteGamesData*/e[40].items.length+"")&&k(s,u)},d(n){n&&f(t)
|
1348
1348
|
/*h3_binding_1*/,e[55](null)}}}
|
1349
1349
|
// (963:18) {:else}
|
1350
|
-
function ji(e){let t,n,r=/*$_*/e[41]("waiting")+"";return{c(){t=g("p"),n=v(r)},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("waiting")+"")&&
|
1350
|
+
function ji(e){let t,n,r=/*$_*/e[41]("waiting")+"";return{c(){t=g("p"),n=v(r)},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("waiting")+"")&&k(n,r)},d(e){e&&f(t)}}}
|
1351
1351
|
// (865:18) {#if favoriteGamesData}
|
1352
1352
|
function Wi(e){let t,n=/*favoriteGamesData*/e[40].items,r=[];for(let t=0;t<n.length;t+=1)r[t]=na(Oi(e,n,t));let i=null;return n.length||(i=Zi(e)),{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=w(),i&&i.c()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);m(e,t,n),i&&i.m(e,n)},p(e,a){if(/*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/262121&a[0]|/*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/8128&a[1]){let o;for(n=/*favoriteGamesData*/e[40].items,o=0;o<n.length;o+=1){const i=Oi(e,n,o);r[o]?r[o].p(i,a):(r[o]=na(i),r[o].c(),r[o].m(t.parentNode,t))}for(;o<r.length;o+=1)r[o].d(1);r.length=n.length,!n.length&&i?i.p(e,a):n.length?i&&(i.d(1),i=null):(i=Zi(e),i.c(),i.m(t.parentNode,t))}},d(e){p(r,e),e&&f(t),i&&i.d(e)}}}
|
1353
1353
|
// (862:16) {#if isLoading && !isLazyLoading}
|
1354
1354
|
function Vi(e){let n;return{c(){n=g("div"),x(n,"class","lds-dual-ring")},m(e,t){m(e,n,t)},p:t,d(e){e&&f(n)}}}
|
1355
1355
|
// (944:20) {:else}
|
1356
|
-
function Zi(e){let t,n,r,i,a,o,s,l,c,u,d,p,w,_,S=/*$_*/e[41]("noFavoritesTitle")+"";let
|
1356
|
+
function Zi(e){let t,n,r,i,a,o,s,l,c,u,d,p,w,_,S=/*$_*/e[41]("noFavoritesTitle")+"";let F=function(e){return Dr(/*userAgent*/e[42])?Xi:Ki}(e),C=F(e);return{c(){t=g("p"),n=y("svg"),r=y("rect"),i=y("rect"),a=y("circle"),o=y("path"),s=y("path"),l=y("path"),c=y("path"),u=b(),d=g("span"),p=v(S),w=b(),C.c(),_=b(),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(o,"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(o,"fill","var(--emfe-w-color-gray-150, #828282)"),x(s,"d","M78 43h11v13H78V43z"),x(s,"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(d,"class","NoFavoriteText NoFavoriteTextHighlight"),x(t,"class","NoFavoriteGames "+(Dr(/*userAgent*/e[42])?"NoFavoriteGamesMobile":""))},m(e,f){m(e,t,f),h(t,n),h(n,r),h(n,i),h(n,a),h(n,o),h(n,s),h(n,l),h(n,c),h(t,u),h(t,d),h(d,p),h(t,w),C.m(t,null),h(t,_)},p(e,t){/*$_*/1024&t[1]&&S!==(S=/*$_*/e[41]("noFavoritesTitle")+"")&&k(p,S),C.p(e,t)},d(e){e&&f(t),C.d()}}}
|
1357
1357
|
// (958:24) {:else}
|
1358
|
-
function Ki(e){let t,n,r=/*$_*/e[41]("noFavorites")+"";return{c(){t=g("span"),n=v(r),x(t,"class","NoFavoriteText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavorites")+"")&&
|
1358
|
+
function Ki(e){let t,n,r=/*$_*/e[41]("noFavorites")+"";return{c(){t=g("span"),n=v(r),x(t,"class","NoFavoriteText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavorites")+"")&&k(n,r)},d(e){e&&f(t)}}}
|
1359
1359
|
// (956:24) {#if isMobile(userAgent)}
|
1360
|
-
function Xi(e){let t,n,r=/*$_*/e[41]("noFavoritesMobile")+"";return{c(){t=g("span"),n=v(r),x(t,"class","NoFavoriteText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavoritesMobile")+"")&&
|
1360
|
+
function Xi(e){let t,n,r=/*$_*/e[41]("noFavoritesMobile")+"";return{c(){t=g("span"),n=v(r),x(t,"class","NoFavoriteText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noFavoritesMobile")+"")&&k(n,r)},d(e){e&&f(t)}}}
|
1361
1361
|
// (867:22) {#if gameprops.gameModel}
|
1362
1362
|
function Ji(e){let t,n=/*gameprops*/e[91].gameModel.isFavorite&&qi(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,r){/*gameprops*/e[91].gameModel.isFavorite?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&&f(t)}}}
|
1363
1363
|
// (868:24) {#if gameprops.gameModel.isFavorite}
|
@@ -1376,18 +1376,18 @@ function na(e){let t,n=/*gameprops*/e[91].gameModel&&Ji(e);return{c(){n&&n.c(),t
|
|
1376
1376
|
// (761:12) {#if casinomygames !== 'true'}
|
1377
1377
|
function ra(e){let t,n,r,i,a=/*categoryData*/e[26].name+"";function o(e,t){/*showLoadCategory*/
|
1378
1378
|
return e[28]?aa:ia}let s=o(e),l=s(e);return{c(){t=g("div"),n=g("h3"),r=v(a),i=b(),l.c(),x(n,"class","CategoryName"),x(t,"class","CasinoGamesHeader")},m(a,o){m(a,t,o),h(t,n),h(n,r),
|
1379
|
-
/*h3_binding*/e[51](n),h(t,i),l.m(t,null)},p(e,n){/*categoryData*/67108864&n[0]&&a!==(a=/*categoryData*/e[26].name+"")&&
|
1379
|
+
/*h3_binding*/e[51](n),h(t,i),l.m(t,null)},p(e,n){/*categoryData*/67108864&n[0]&&a!==(a=/*categoryData*/e[26].name+"")&&k(r,a),s===(s=o(e))&&l?l.p(e,n):(l.d(1),l=s(e),l&&(l.c(),l.m(t,null)))},d(n){n&&f(t)
|
1380
1380
|
/*h3_binding*/,e[51](null),l.d()}}}
|
1381
1381
|
// (773:16) {:else}
|
1382
1382
|
function ia(e){let t,n,r,i=/*addfilterselector*/"true"==e[1]&&oa(e),a=/*addsortingselector*/"true"==e[2]&&sa(e);return{c(){t=g("div"),i&&i.c(),n=b(),a&&a.c(),x(t,"class",r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")},m(e,r){m(e,t,r),i&&i.m(t,null),h(t,n),a&&a.m(t,null)},p(e,o){/*addfilterselector*/"true"==e[1]?i?i.p(e,o):(i=oa(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*addsortingselector*/"true"==e[2]?a?a.p(e,o):(a=sa(e),a.c(),a.m(t,null)):a&&(a.d(1),a=null),/*addfilterselector, addsortingselector*/6&o[0]&&r!==(r=/*addfilterselector*/"true"==e[1]&&/*addsortingselector*/"true"==e[2]?"CategoryFilterContainer":"")&&x(t,"class",r)},d(e){e&&f(t),i&&i.d(),a&&a.d()}}}
|
1383
1383
|
// (766:16) {#if showLoadCategory}
|
1384
|
-
function aa(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[41]("viewAll")+"",u=/*categoryData*/e[26].games.total+"";return{c(){t=g("a"),n=g("span"),r=v(c),i=v(" ("),a=v(u),o=v(")"),x(n,"class","CategoryLoadMore"),x(t,"class","CategoryNameLink")},m(c,u){m(c,t,u),h(t,n),h(n,r),h(n,i),h(n,a),h(n,o),s||(l=_(t,"click",/*click_handler*/e[52]),s=!0)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("viewAll")+"")&&
|
1384
|
+
function aa(e){let t,n,r,i,a,o,s,l,c=/*$_*/e[41]("viewAll")+"",u=/*categoryData*/e[26].games.total+"";return{c(){t=g("a"),n=g("span"),r=v(c),i=v(" ("),a=v(u),o=v(")"),x(n,"class","CategoryLoadMore"),x(t,"class","CategoryNameLink")},m(c,u){m(c,t,u),h(t,n),h(n,r),h(n,i),h(n,a),h(n,o),s||(l=_(t,"click",/*click_handler*/e[52]),s=!0)},p(e,t){/*$_*/1024&t[1]&&c!==(c=/*$_*/e[41]("viewAll")+"")&&k(r,c),/*categoryData*/67108864&t[0]&&u!==(u=/*categoryData*/e[26].games.total+"")&&k(a,u)},d(e){e&&f(t),s=!1,l()}}}
|
1385
1385
|
// (775:22) {#if addfilterselector == "true"}
|
1386
1386
|
function oa(e){let t;return{c(){t=g("casino-filter"),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"datasource",/*datasource*/e[4]),S(t,"lang",/*lang*/e[5]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"addfilterselector",/*addfilterselector*/e[1]),S(t,"addsortingselector",/*addsortingselector*/e[2]),S(t,"filterbylogo",/*filterbylogo*/e[19])},m(e,n){m(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*endpoint*/8&n[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*datasource*/16&n[0]&&S(t,"datasource",/*datasource*/e[4]),/*lang*/32&n[0]&&S(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*addfilterselector*/2&n[0]&&S(t,"addfilterselector",/*addfilterselector*/e[1]),/*addsortingselector*/4&n[0]&&S(t,"addsortingselector",/*addsortingselector*/e[2]),/*filterbylogo*/524288&n[0]&&S(t,"filterbylogo",/*filterbylogo*/e[19])},d(e){e&&f(t)}}}
|
1387
1387
|
// (788:22) {#if addsortingselector == "true"}
|
1388
1388
|
function sa(e){let t;return{c(){t=g("casino-sort"),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"lang",/*lang*/e[5]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"addsortingselector",/*addsortingselector*/e[2])},m(e,n){m(e,t,n)},p(e,n){/*clientstylingurl*/1024&n[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*clientstyling*/512&n[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*lang*/32&n[0]&&S(t,"lang",/*lang*/e[5]),/*categoryid*/1&n[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*addsortingselector*/4&n[0]&&S(t,"addsortingselector",/*addsortingselector*/e[2])},d(e){e&&f(t)}}}
|
1389
1389
|
// (845:14) {:else}
|
1390
|
-
function la(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("p"),n=v(r),x(t,"class","NoSearchResults")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&
|
1390
|
+
function la(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("p"),n=v(r),x(t,"class","NoSearchResults")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&k(n,r)},d(e){e&&f(t)}}}
|
1391
1391
|
// (804:14) {#if shownCategoryData.length !== 0 }
|
1392
1392
|
function ca(e){let t,n,r=/*shownCategoryData*/e[27],i=[];for(let t=0;t<r.length;t+=1)i[t]=da(Ni(e,r,t));return{c(){t=g("ul");for(let e=0;e<i.length;e+=1)i[e].c();x(t,"class",n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(n,r){m(n,t,r);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null);
|
1393
1393
|
/*ul_binding*/e[54](t)},p(e,a){if(/*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/139722729&a[0]|/*addGameTag, intersectingIndexes, visibilityconnect*/4480&a[1]){let n;for(r=/*shownCategoryData*/e[27],n=0;n<r.length;n+=1){const o=Ni(e,r,n);i[n]?i[n].p(o,a):(i[n]=da(o),i[n].c(),i[n].m(t,null))}for(;n<i.length;n+=1)i[n].d(1);i.length=r.length}/*lobbyView, casinogamesgridslider*/34603008&a[0]|/*favoriteGamesData, showFavGamesCategory*/576&a[1]&&n!==(n=/*favoriteGamesData*/(0===e[40].items.length&&/*showFavGamesCategory*/e[37]?"":"CasinoGamesGrid")+" "+(/*lobbyView*/e[25]&&/*casinogamesgridslider*/"true"==e[20]?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&x(t,"class",n)},d(n){n&&f(t),p(i,n),
|
@@ -1398,17 +1398,17 @@ function ua(e){let n;return{c(){n=g("div"),x(n,"class","lds-dual-ring"),x(n,"par
|
|
1398
1398
|
// (806:18) {#each shownCategoryData as gameprops, index}
|
1399
1399
|
function da(e){let t,n=function(e){let t,n,r,i,a,o,s,l,c,u,d,h,p,y,v,b=/*index*/e[93];const w=()=>/*casino_game_thumbnail_binding*/e[53](t,b),_=()=>/*casino_game_thumbnail_binding*/e[53](null,b);return{c(){t=g("casino-game-thumbnail"),S(t,"session",/*session*/e[6]),S(t,"userid",/*userid*/e[7]),S(t,"lang",/*lang*/e[5]),S(t,"class",n=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"part",r=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"favorites",/*favorites*/e[8]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"gamethumbnail",i=/*gameprops*/e[91].thumbnail),S(t,"gamename",a=/*gameprops*/e[91].name),S(t,"gamevendor",o=/*gameprops*/e[91].vendor.name),S(t,"gamelaunchurl",s=/*gameprops*/e[91].launchUrl),S(t,"gameisnew",l=/*gameprops*/e[91].isNew),S(t,"gametag",c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags)),S(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),S(t,"gameid",d=/*gameprops*/e[91].id),S(t,"gamefunmode",h=/*gameprops*/e[91].hasFunMode),S(t,"gamefavorite",p=/*gameprops*/e[91].isFavorite),S(t,"translationurl",/*translationurl*/e[11]),S(t,"showgamename",/*showgamename*/e[13]),S(t,"connectlive",y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect"),S(t,"visibilityconnect",/*visibilityconnect*/e[39]),S(t,"currency",/*currency*/e[12]),S(t,"livelobbyendpoint",v=/*gameprops*/e[91].details?/*gameprops*/e[91].href:""),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"livecasino",/*livecasino*/e[14]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),S(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20])},m(e,n){m(e,t,n),w()},p(m,f){e=m,/*session*/64&f[0]&&S(t,"session",/*session*/e[6]),/*userid*/128&f[0]&&S(t,"userid",/*userid*/e[7]),/*lang*/32&f[0]&&S(t,"lang",/*lang*/e[5]),/*shownCategoryData*/134217728&f[0]&&n!==(n=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"class",n),/*shownCategoryData*/134217728&f[0]&&r!==(r=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"part",r),/*favorites*/256&f[0]&&S(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&f[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&f[0]&&i!==(i=/*gameprops*/e[91].thumbnail)&&S(t,"gamethumbnail",i),/*shownCategoryData*/134217728&f[0]&&a!==(a=/*gameprops*/e[91].name)&&S(t,"gamename",a),/*shownCategoryData*/134217728&f[0]&&o!==(o=/*gameprops*/e[91].vendor.name)&&S(t,"gamevendor",o),/*shownCategoryData*/134217728&f[0]&&s!==(s=/*gameprops*/e[91].launchUrl)&&S(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&f[0]&&l!==(l=/*gameprops*/e[91].isNew)&&S(t,"gameisnew",l),/*shownCategoryData*/134217728&f[0]&&c!==(c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags))&&S(t,"gametag",c),/*shownCategoryData*/134217728&f[0]&&u!==(u=/*gameprops*/e[91].cellSize)&&S(t,"gamecellsize",u),/*shownCategoryData*/134217728&f[0]&&d!==(d=/*gameprops*/e[91].id)&&S(t,"gameid",d),/*shownCategoryData*/134217728&f[0]&&h!==(h=/*gameprops*/e[91].hasFunMode)&&S(t,"gamefunmode",h),/*shownCategoryData*/134217728&f[0]&&p!==(p=/*gameprops*/e[91].isFavorite)&&S(t,"gamefavorite",p),/*translationurl*/2048&f[0]&&S(t,"translationurl",/*translationurl*/e[11]),/*showgamename*/8192&f[0]&&S(t,"showgamename",/*showgamename*/e[13]),/*shownCategoryData*/134217728&f[0]|/*intersectingIndexes*/128&f[1]&&y!==(y=/*intersectingIndexes*/1==e[38][/*gameprops*/e[91].id]?"connect":"disconnect")&&S(t,"connectlive",y),/*visibilityconnect*/256&f[1]&&S(t,"visibilityconnect",/*visibilityconnect*/e[39]),/*currency*/4096&f[0]&&S(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&f[0]&&v!==(v=/*gameprops*/e[91].details?/*gameprops*/e[91].href:"")&&S(t,"livelobbyendpoint",v),/*clientstyling*/512&f[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&f[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&f[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&f[0]&&S(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&f[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&f[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&f[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17]),/*casinogamesgridslider*/1048576&f[0]&&S(t,"casinogamesgridslider",/*casinogamesgridslider*/e[20]),b!==/*index*/e[93]&&(_(),b=/*index*/e[93],w())},d(e){e&&f(t),_()}}}(e);return{c(){n&&n.c(),t=w()},m(e,r){n&&n.m(e,r),m(e,t,r)},p(e,t){n.p(e,t)},d(e){n&&n.d(e),e&&f(t)}}}
|
1400
1400
|
// (706:12) {:else}
|
1401
|
-
function ha(e){let t,n,r=/*$_*/e[41]("searchedItems")+"";return{c(){t=g("h3"),n=v(r),x(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("searchedItems")+"")&&
|
1401
|
+
function ha(e){let t,n,r=/*$_*/e[41]("searchedItems")+"";return{c(){t=g("h3"),n=v(r),x(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("searchedItems")+"")&&k(n,r)},d(e){e&&f(t)}}}
|
1402
1402
|
// (702:12) {#if !shownCategoryData.length}
|
1403
|
-
function ma(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("h3"),n=v(r),x(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&
|
1403
|
+
function ma(e){let t,n,r=/*$_*/e[41]("noResults")+"";return{c(){t=g("h3"),n=v(r),x(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noResults")+"")&&k(n,r)},d(e){e&&f(t)}}}
|
1404
1404
|
// (697:10) {#if recentSearched}
|
1405
|
-
function fa(e){let t,n,r=/*$_*/e[41]("recentSearchedItems")+"";return{c(){t=g("h3"),n=v(r),x(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("recentSearchedItems")+"")&&
|
1405
|
+
function fa(e){let t,n,r=/*$_*/e[41]("recentSearchedItems")+"";return{c(){t=g("h3"),n=v(r),x(t,"class","StatusText")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("recentSearchedItems")+"")&&k(n,r)},d(e){e&&f(t)}}}
|
1406
1406
|
// (753:8) {:else}
|
1407
1407
|
function pa(e){let n;return{c(){n=g("p"),n.textContent="Waiting",x(n,"class","SearchWaiting")},m(e,t){m(e,n,t)},p:t,d(e){e&&f(n)}}}
|
1408
1408
|
// (713:8) {#if shownCategoryData}
|
1409
1409
|
function ga(e){let t,n,r=!/*showItems*/e[33]&&ya(e),i=/*shownCategoryData*/e[27],a=[];for(let t=0;t<i.length;t+=1)a[t]=va(Pi(e,i,t));return{c(){r&&r.c(),t=b(),n=g("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),m(e,t,i),m(e,n,i);for(let e=0;e<a.length;e+=1)a[e]&&a[e].m(n,null)},p(e,o){if(/*showItems*/e[33]?r&&(r.d(1),r=null):r?r.p(e,o):(r=ya(e),r.c(),r.m(t.parentNode,t)),/*shownCategoryData, session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/134479849&o[0]|/*searchItem, addGameTag*/4097&o[1]){let t;for(i=/*shownCategoryData*/e[27],t=0;t<i.length;t+=1){const r=Pi(e,i,t);a[t]?a[t].p(r,o):(a[t]=va(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&&f(t),e&&f(n),p(a,e)}}}
|
1410
1410
|
// (715:10) {#if !showItems}
|
1411
|
-
function ya(e){let t,n,r=/*$_*/e[41]("noRecentSearch")+"";return{c(){t=g("p"),n=v(r),x(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Dr(/*userAgent*/e[42])?"NoRecentSearchesMobile":""))},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noRecentSearch")+"")&&
|
1411
|
+
function ya(e){let t,n,r=/*$_*/e[41]("noRecentSearch")+"";return{c(){t=g("p"),n=v(r),x(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Dr(/*userAgent*/e[42])?"NoRecentSearchesMobile":""))},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/1024&t[1]&&r!==(r=/*$_*/e[41]("noRecentSearch")+"")&&k(n,r)},d(e){e&&f(t)}}}
|
1412
1412
|
// (719:12) {#each shownCategoryData as gameprops, index}
|
1413
1413
|
function va(e){let t,n,r,i,a,o,s,l,c,u,d,h,p,y;return{c(){t=g("casino-game-thumbnail"),S(t,"class",n=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"part",r=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1"))),S(t,"session",/*session*/e[6]),S(t,"userid",/*userid*/e[7]),S(t,"lang",/*lang*/e[5]),S(t,"searchitem",/*searchItem*/e[31]),S(t,"favorites",/*favorites*/e[8]),S(t,"categoryid",/*categoryid*/e[0]),S(t,"gamethumbnail",i=/*gameprops*/e[91].thumbnail),S(t,"gamename",a=/*gameprops*/e[91].name),S(t,"gamevendor",o=/*gameprops*/e[91].vendor.name),S(t,"gamelaunchurl",s=/*gameprops*/e[91].launchUrl),S(t,"gameisnew",l=/*gameprops*/e[91].isNew),S(t,"gametag",c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags)),S(t,"gamecellsize",u=/*gameprops*/e[91].cellSize),S(t,"gameid",d=/*gameprops*/e[91].id),S(t,"gamefunmode",h=/*gameprops*/e[91].hasFunMode),S(t,"showgamename",/*showgamename*/e[13]),S(t,"translationurl",/*translationurl*/e[11]),S(t,"gamefavorite",p=/*gameprops*/e[91].isFavorite),S(t,"currency",/*currency*/e[12]),S(t,"livelobbyendpoint",y=/*gameprops*/e[91].details?/*gameprops*/e[91].href:""),S(t,"clientstyling",/*clientstyling*/e[9]),S(t,"clientstylingurl",/*clientstylingurl*/e[10]),S(t,"endpoint",/*endpoint*/e[3]),S(t,"livecasino",/*livecasino*/e[14]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},m(e,n){m(e,t,n)},p(e,m){/*shownCategoryData*/134217728&m[0]&&n!==(n=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"class",n),/*shownCategoryData*/134217728&m[0]&&r!==(r=""+(xa+(/*gameprops*/e[91].cellSize?/*gameprops*/e[91].cellSize:"1x1")))&&S(t,"part",r),/*session*/64&m[0]&&S(t,"session",/*session*/e[6]),/*userid*/128&m[0]&&S(t,"userid",/*userid*/e[7]),/*lang*/32&m[0]&&S(t,"lang",/*lang*/e[5]),/*searchItem*/1&m[1]&&S(t,"searchitem",/*searchItem*/e[31]),/*favorites*/256&m[0]&&S(t,"favorites",/*favorites*/e[8]),/*categoryid*/1&m[0]&&S(t,"categoryid",/*categoryid*/e[0]),/*shownCategoryData*/134217728&m[0]&&i!==(i=/*gameprops*/e[91].thumbnail)&&S(t,"gamethumbnail",i),/*shownCategoryData*/134217728&m[0]&&a!==(a=/*gameprops*/e[91].name)&&S(t,"gamename",a),/*shownCategoryData*/134217728&m[0]&&o!==(o=/*gameprops*/e[91].vendor.name)&&S(t,"gamevendor",o),/*shownCategoryData*/134217728&m[0]&&s!==(s=/*gameprops*/e[91].launchUrl)&&S(t,"gamelaunchurl",s),/*shownCategoryData*/134217728&m[0]&&l!==(l=/*gameprops*/e[91].isNew)&&S(t,"gameisnew",l),/*shownCategoryData*/134217728&m[0]&&c!==(c=/*gameprops*/e[91].advancedTags?.length>0&&/*addGameTag*/e[43](/*gameprops*/e[91].advancedTags))&&S(t,"gametag",c),/*shownCategoryData*/134217728&m[0]&&u!==(u=/*gameprops*/e[91].cellSize)&&S(t,"gamecellsize",u),/*shownCategoryData*/134217728&m[0]&&d!==(d=/*gameprops*/e[91].id)&&S(t,"gameid",d),/*shownCategoryData*/134217728&m[0]&&h!==(h=/*gameprops*/e[91].hasFunMode)&&S(t,"gamefunmode",h),/*showgamename*/8192&m[0]&&S(t,"showgamename",/*showgamename*/e[13]),/*translationurl*/2048&m[0]&&S(t,"translationurl",/*translationurl*/e[11]),/*shownCategoryData*/134217728&m[0]&&p!==(p=/*gameprops*/e[91].isFavorite)&&S(t,"gamefavorite",p),/*currency*/4096&m[0]&&S(t,"currency",/*currency*/e[12]),/*shownCategoryData*/134217728&m[0]&&y!==(y=/*gameprops*/e[91].details?/*gameprops*/e[91].href:"")&&S(t,"livelobbyendpoint",y),/*clientstyling*/512&m[0]&&S(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&m[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*endpoint*/8&m[0]&&S(t,"endpoint",/*endpoint*/e[3]),/*livecasino*/16384&m[0]&&S(t,"livecasino",/*livecasino*/e[14]),/*gamepagemodalurl*/32768&m[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[15]),/*integratedgameframedesktop*/65536&m[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[16]),/*integratedgameframemobile*/131072&m[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[17])},d(e){e&&f(t)}}}
|
1414
1414
|
// (690:4) {:else}
|
@@ -1417,7 +1417,7 @@ function ba(e){let t;return{c(){t=g("p"),t.textContent="500 Error - Internal Ser
|
|
1417
1417
|
function wa(e){let t;return{c(){t=g("p"),t.textContent="404 Error - No result found.",x(t,"class","SearchLoading")},m(e,n){m(e,t,n)},d(e){e&&f(t)}}}function _a(e){let n;function r(e,t){/*hasErrors*/
|
1418
1418
|
return e[24]?Bi:/*searched*/e[29]?Hi:Ri}let i=r(e),a=i(e);return{c(){n=g("div"),a.c(),this.c=t,x(n,"class","CasinoGamesCategorySectionContainer")},m(t,r){m(t,n,r),a.m(n,null),
|
1419
1419
|
/*div_binding*/e[57](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:t,o:t,d(t){t&&f(n),a.d(),
|
1420
|
-
/*div_binding*/e[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Di,Ai,o,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),B()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),B()}});const xa="game-tile-";function Sa(t,n,r){let i;d(t,Ar,(e=>r(41,i=e)));let a,o,s,l,c,u,h,m,f,p,{endpoint:g=""}=n,{datasource:y=""}=n,{lang:v=""}=n,{session:b=""}=n,{userid:w=""}=n,{favorites:_=""}=n,{clientstyling:x=""}=n,{clientstylingurl:S=""}=n,{translationurl:
|
1420
|
+
/*div_binding*/e[57](null)}}}!customElements.get("casino-sort")&&customElements.define("casino-sort",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.SorterContainer{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emfe-w-color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emfe-w-color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emfe-w-color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Di,Ai,o,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12},null),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["lang","translationurl","clientstyling","clientstylingurl","categoryid"]}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[9]}set translationurl(e){this.$$set({translationurl:e}),B()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get categoryid(){return this.$$.ctx[12]}set categoryid(e){this.$$set({categoryid:e}),B()}});const xa="game-tile-";function Sa(t,n,r){let i;d(t,Ar,(e=>r(41,i=e)));let a,o,s,l,c,u,h,m,f,p,{endpoint:g=""}=n,{datasource:y=""}=n,{lang:v=""}=n,{session:b=""}=n,{userid:w=""}=n,{favorites:_=""}=n,{clientstyling:x=""}=n,{clientstylingurl:S=""}=n,{translationurl:k=""}=n,{currency:F=""}=n,{categoryid:C=""}=n,{showgamename:E=""}=n,{livecasino:G="false"}=n,{gamepagemodalurl:M="true"}=n,{integratedgameframedesktop:L="false"}=n,{integratedgameframemobile:I="false"}=n,{casinomygames:A="false"}=n,{addfilterselector:D="false"}=n,{addsortingselector:O="false"}=n,{filterbylogo:N=""}=n,{casinogamesgridslider:P="false"}=n,{fetchviaevent:R="false"}=n,{showallpage:H="casino"}=n,{actionevent:B="CategoryChange"}=n,{displayedgamecount:U="10"}=n,{showallbuttongamescount:Y="10"}=n,z=!0,j=!1,W=!0,V=window.navigator.userAgent,Z=[],K=!0,X=40,J=!1,q=!1,Q=!1,ee=!1,te=!1,ne=!0,re=!1,ie=!1,ae=!1,oe=new Array(1e4),se={},le="",ce="",ue=[],de=new AbortController,he={items:[],count:0,name:""};Object.keys(Hr).forEach((e=>{Rr(e,Hr[e])})),void 0!==document.hidden?
|
1421
1421
|
// Opera 12.10 and Firefox 18 and later support
|
1422
1422
|
m="hidden":void 0!==document.msHidden?m="msHidden":void 0!==document.webkitHidden&&(m="webkitHidden");
|
1423
1423
|
// IntersectionObserver used for loading more games
|
@@ -1444,9 +1444,9 @@ return Dr(t)?e.filter((e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad"
|
|
1444
1444
|
* that started before but ended after the last request to add items to list
|
1445
1445
|
* This could also use abort controller instead but refactoring is needed
|
1446
1446
|
*/
|
1447
|
-
s.games.items.length>Z.length&&(r(27,Z=s.games.items),Z.forEach((e=>{e.isFavorite=ve(e.id)}))),r(34,re=!1)}))},
|
1447
|
+
s.games.items.length>Z.length&&(r(27,Z=s.games.items),Z.forEach((e=>{e.isFavorite=ve(e.id)}))),r(34,re=!1)}))},ke=e=>{window.postMessage({type:`${B}`,itemId:e,showallpage:H},window.location.href)},Fe=()=>{var e;e=v,fr.set(e)};
|
1448
1448
|
//Fetch fav list and pass to be updated
|
1449
|
-
T((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?r(39,le="disconnect"):r(39,le="connect")})),window.addEventListener("message",ge,!1),()=>{window.removeEventListener("message",ge),window.removeEventListener("visibilitychange",ge)})));return t.$$set=e=>{"endpoint"in e&&r(3,g=e.endpoint),"datasource"in e&&r(4,y=e.datasource),"lang"in e&&r(5,v=e.lang),"session"in e&&r(6,b=e.session),"userid"in e&&r(7,w=e.userid),"favorites"in e&&r(8,_=e.favorites),"clientstyling"in e&&r(9,x=e.clientstyling),"clientstylingurl"in e&&r(10,S=e.clientstylingurl),"translationurl"in e&&r(11,
|
1449
|
+
T((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?r(39,le="disconnect"):r(39,le="connect")})),window.addEventListener("message",ge,!1),()=>{window.removeEventListener("message",ge),window.removeEventListener("visibilitychange",ge)})));return t.$$set=e=>{"endpoint"in e&&r(3,g=e.endpoint),"datasource"in e&&r(4,y=e.datasource),"lang"in e&&r(5,v=e.lang),"session"in e&&r(6,b=e.session),"userid"in e&&r(7,w=e.userid),"favorites"in e&&r(8,_=e.favorites),"clientstyling"in e&&r(9,x=e.clientstyling),"clientstylingurl"in e&&r(10,S=e.clientstylingurl),"translationurl"in e&&r(11,k=e.translationurl),"currency"in e&&r(12,F=e.currency),"categoryid"in e&&r(0,C=e.categoryid),"showgamename"in e&&r(13,E=e.showgamename),"livecasino"in e&&r(14,G=e.livecasino),"gamepagemodalurl"in e&&r(15,M=e.gamepagemodalurl),"integratedgameframedesktop"in e&&r(16,L=e.integratedgameframedesktop),"integratedgameframemobile"in e&&r(17,I=e.integratedgameframemobile),"casinomygames"in e&&r(18,A=e.casinomygames),"addfilterselector"in e&&r(1,D=e.addfilterselector),"addsortingselector"in e&&r(2,O=e.addsortingselector),"filterbylogo"in e&&r(19,N=e.filterbylogo),"casinogamesgridslider"in e&&r(20,P=e.casinogamesgridslider),"fetchviaevent"in e&&r(45,R=e.fetchviaevent),"showallpage"in e&&r(46,H=e.showallpage),"actionevent"in e&&r(47,B=e.actionevent),"displayedgamecount"in e&&r(48,U=e.displayedgamecount),"showallbuttongamescount"in e&&r(49,Y=e.showallbuttongamescount)},t.$$.update=()=>{/*lang*/32&t.$$.dirty[0]&&v&&Fe(),/*endpoint, lang, categoryid, datasource*/57&t.$$.dirty[0]|/*fetchviaevent, displayedgamecount, showallbuttongamescount*/409600&t.$$.dirty[1]&&(
|
1450
1450
|
//Widget is working as standalone when fetchviaevent isn't set
|
1451
1451
|
"false"===R||""===R)&&g&&v&&C&&y&&U&&Y&&((e,t,n)=>{""!==e&&(r(29,J=!1),r(25,W=!0),r(1,D="false"),r(2,O="false"),r(31,ee=!1),ae=!1,r(28,K=+t>+n),pe(e,0,+t).then((e=>{r(26,s=e),r(27,Z=s.games.items),Z&&Z.forEach((e=>{e.isFavorite=ve(e.id)}))})))})(C,U,Y),/*favorites, endpoint, session, userid*/456&t.$$.dirty[0]&&
|
1452
1452
|
//Call the fav. list fetch when widget is standalone
|
@@ -1455,12 +1455,12 @@ T((()=>(window.addEventListener("visibilitychange",(e=>{document[m]?r(39,le="dis
|
|
1455
1455
|
e.elems_index=t,me.observe(e))})),/*lang, categoryid*/33&t.$$.dirty[0]&&v&&C&&(()=>{
|
1456
1456
|
// showFavGamesCategory vs categoryData
|
1457
1457
|
// favoriteGamesData vs shownCategoryData
|
1458
|
-
switch(C){case"FAVORITES":w&&b&&r(37,ie=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===A&&w&&b&&r(37,ie=!1);break;default:ye(C)}})(),/*translationurl*/2048&t.$$.dirty[0]&&
|
1458
|
+
switch(C){case"FAVORITES":w&&b&&r(37,ie=!0);break;case"MOSTPLAYED":case"LASTPLAYED":"false"===A&&w&&b&&r(37,ie=!1);break;default:ye(C)}})(),/*translationurl*/2048&t.$$.dirty[0]&&k&&fetch(k).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Rr(t,e[t])}))})).catch((e=>{console.log(e)})),/*clientstyling, customStylingContainer*/2097664&t.$$.dirty[0]&&x&&h&&(()=>{let e=document.createElement("style");e.innerHTML=x,h.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/2098176&t.$$.dirty[0]&&S&&h&&(()=>{let e=new URL(S),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{h.appendChild(t)}),1)}))})()},[C,D,O,g,y,v,b,w,_,x,S,k,F,E,G,M,L,I,A,N,P,h,oe,z,j,W,s,Z,K,J,q,ee,te,ne,re,l,u,ie,se,le,he,i,V,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,o)=>{const s=new Date(a.schedules[0].startTime),l=new Date(a.schedules[0].endTime);Br(l).diff(i)<r&&(r=Br(l).diff(i),t=o),Br(i).isAfter(s)&&Br(i).isBefore(l)&&(n=e[t].name)})),n},ke,R,H,B,U,Y,f,function(e){$[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},e=>ke(s.id),function(e,t){$[e?"unshift":"push"]((()=>{oe[t]=e,r(22,oe)}))},function(e){$[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){$[e?"unshift":"push"]((()=>{u=e,r(36,u)}))},function(e){$[e?"unshift":"push"]((()=>{l=e,r(35,l)}))},function(e){$[e?"unshift":"push"]((()=>{h=e,r(21,h)}))}]}
|
1459
1459
|
/* src/CasinoMostPlayedSection.svelte generated by Svelte v3.59.2 */
|
1460
|
-
function
|
1460
|
+
function ka(e){let t;return{c(){t=g("casino-games-category-section"),S(t,"session",/*session*/e[4]),S(t,"userid",/*userid*/e[5]),S(t,"endpoint",/*endpoint*/e[0]),S(t,"datasource",/*datasource*/e[1]),S(t,"lang",/*lang*/e[3]),S(t,"currency",/*currency*/e[2]),S(t,"favorites",/*favorites*/e[14]),S(t,"fetchviaevent",/*fetchviaevent*/e[16]),S(t,"categoryid","MOSTPLAYED"),S(t,"categoryindex","1"),S(t,"categorygames","9"),S(t,"class","CategoryContainer"),S(t,"showgamename",/*showgamename*/e[12]),S(t,"clientstyling",/*clientstyling*/e[6]),S(t,"clientstylingurl",/*clientstylingurl*/e[7]),S(t,"livecasino",/*livecasino*/e[8]),S(t,"visiblegames",/*visiblegames*/e[13]),S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),S(t,"casinomygames",/*casinomygames*/e[15])},m(e,n){m(e,t,n)},p(e,n){/*session*/16&n[0]&&S(t,"session",/*session*/e[4]),/*userid*/32&n[0]&&S(t,"userid",/*userid*/e[5]),/*endpoint*/1&n[0]&&S(t,"endpoint",/*endpoint*/e[0]),/*datasource*/2&n[0]&&S(t,"datasource",/*datasource*/e[1]),/*lang*/8&n[0]&&S(t,"lang",/*lang*/e[3]),/*currency*/4&n[0]&&S(t,"currency",/*currency*/e[2]),/*favorites*/16384&n[0]&&S(t,"favorites",/*favorites*/e[14]),/*fetchviaevent*/65536&n[0]&&S(t,"fetchviaevent",/*fetchviaevent*/e[16]),/*showgamename*/4096&n[0]&&S(t,"showgamename",/*showgamename*/e[12]),/*clientstyling*/64&n[0]&&S(t,"clientstyling",/*clientstyling*/e[6]),/*clientstylingurl*/128&n[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[7]),/*livecasino*/256&n[0]&&S(t,"livecasino",/*livecasino*/e[8]),/*visiblegames*/8192&n[0]&&S(t,"visiblegames",/*visiblegames*/e[13]),/*gamepagemodalurl*/2048&n[0]&&S(t,"gamepagemodalurl",/*gamepagemodalurl*/e[11]),/*integratedgameframedesktop*/1024&n[0]&&S(t,"integratedgameframedesktop",/*integratedgameframedesktop*/e[10]),/*integratedgameframemobile*/512&n[0]&&S(t,"integratedgameframemobile",/*integratedgameframemobile*/e[9]),/*casinomygames*/32768&n[0]&&S(t,"casinomygames",/*casinomygames*/e[15])},d(e){e&&f(t)}}}
|
1461
1461
|
// (153:4) {#if mostPlayedEmpty}
|
1462
|
-
function
|
1463
|
-
return e[18]?ka
|
1462
|
+
function Fa(e){let t,n,r=/*$_*/e[19]("noGames")+"";return{c(){t=g("p"),n=v(r),x(t,"class","SearchLoading")},m(e,r){m(e,t,r),h(t,n)},p(e,t){/*$_*/524288&t[0]&&r!==(r=/*$_*/e[19]("noGames")+"")&&k(n,r)},d(e){e&&f(t)}}}function Ca(e){let n,r;function i(e,t){/*mostPlayedEmpty*/
|
1463
|
+
return e[18]?Fa:ka}let a=i(e),o=a(e);return{c(){n=g("div"),r=g("div"),o.c(),this.c=t,x(r,"class","casino-most-played-section"),x(n,"class","CasinoGamesCategorySectionContainer")},m(t,i){m(t,n,i),h(n,r),o.m(r,null),
|
1464
1464
|
/*div1_binding*/e[23](n)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(r,null)))},i:t,o:t,d(t){t&&f(n),o.d(),
|
1465
|
-
/*div1_binding*/e[23](null)}}}function Ea(e,t,n){let r;d(e,Ar,(e=>n(19,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{showgamename:y=""}=t,{visiblegames:v}=t,{favorites:b=""}=t,{translationurl:w=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:x="Last30Days"}=t,{mostplayedrounds:S="10"}=t,{fetchviaevent:F="true"}=t,k=window.navigator.userAgent;Object.keys(Pr).forEach((e=>{Nr(e,Pr[e])}));let C,E,G=[],T=!1;const M=()=>{(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",x);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:Or(k),rounds:S}).then((e=>{if(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(18,T=!0)}))},L=()=>{var e;e=s,fr.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,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"showgamename"in e&&n(12,y=e.showgamename),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"translationurl"in e&&n(20,w=e.translationurl),"casinomygames"in e&&n(15,_=e.casinomygames),"mostplayedperiod"in e&&n(21,x=e.mostplayedperiod),"mostplayedrounds"in e&&n(22,S=e.mostplayedrounds),"fetchviaevent"in e&&n(16,F=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&M(),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&u&&E&&(()=>{let e=document.createElement("style");e.innerHTML=u,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*/1048576&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nr(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&L()},[i,a,o,s,l,c,u,h,m,f,p,g,y,v,b,_,F,E,T,r,w,x,S,function(e){$[e?"unshift":"push"]((()=>{E=e,n(17,E)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends W{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;overscroll-behavior-x:none}.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:E(this.attributes),customElement:!0},Sa,_a,o,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),B()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),B()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),B()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),B()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),B()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),B()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),B()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),B()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),B()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),B()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),B()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),B()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),B()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),B()}});class Ga extends W{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ea,Ca,o,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),B()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),B()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),B()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),B()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),B()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),B()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),B()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),B()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),B()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),B()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",Ga),Ga}));
|
1465
|
+
/*div1_binding*/e[23](null)}}}function Ea(e,t,n){let r;d(e,Ar,(e=>n(19,r=e)));let{endpoint:i=""}=t,{datasource:a=""}=t,{currency:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{livecasino:m="false"}=t,{integratedgameframemobile:f="false"}=t,{integratedgameframedesktop:p="false"}=t,{gamepagemodalurl:g="false"}=t,{showgamename:y=""}=t,{visiblegames:v}=t,{favorites:b=""}=t,{translationurl:w=""}=t,{casinomygames:_="false"}=t,{mostplayedperiod:x="Last30Days"}=t,{mostplayedrounds:S="10"}=t,{fetchviaevent:k="true"}=t,F=window.navigator.userAgent;Object.keys(Pr).forEach((e=>{Nr(e,Pr[e])}));let C,E,G=[],T=!1;const M=()=>{(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",x);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:Or(F),rounds:S}).then((e=>{if(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(18,T=!0)}))},L=()=>{var e;e=s,fr.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,o=e.currency),"lang"in e&&n(3,s=e.lang),"session"in e&&n(4,l=e.session),"userid"in e&&n(5,c=e.userid),"clientstyling"in e&&n(6,u=e.clientstyling),"clientstylingurl"in e&&n(7,h=e.clientstylingurl),"livecasino"in e&&n(8,m=e.livecasino),"integratedgameframemobile"in e&&n(9,f=e.integratedgameframemobile),"integratedgameframedesktop"in e&&n(10,p=e.integratedgameframedesktop),"gamepagemodalurl"in e&&n(11,g=e.gamepagemodalurl),"showgamename"in e&&n(12,y=e.showgamename),"visiblegames"in e&&n(13,v=e.visiblegames),"favorites"in e&&n(14,b=e.favorites),"translationurl"in e&&n(20,w=e.translationurl),"casinomygames"in e&&n(15,_=e.casinomygames),"mostplayedperiod"in e&&n(21,x=e.mostplayedperiod),"mostplayedrounds"in e&&n(22,S=e.mostplayedrounds),"fetchviaevent"in e&&n(16,k=e.fetchviaevent)},e.$$.update=()=>{/*endpoint, userid, lang*/41&e.$$.dirty[0]&&i&&c&&s&&M(),/*clientstyling, customStylingContainer*/131136&e.$$.dirty[0]&&u&&E&&(()=>{let e=document.createElement("style");e.innerHTML=u,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*/1048576&e.$$.dirty[0]&&w&&fetch(w).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nr(t,e[t])}))})).catch((e=>{console.log(e)})),/*lang*/8&e.$$.dirty[0]&&s&&L()},[i,a,o,s,l,c,u,h,m,f,p,g,y,v,b,_,k,E,T,r,w,x,S,function(e){$[e?"unshift":"push"]((()=>{E=e,n(17,E)}))}]}!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",class extends W{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;overscroll-behavior-x:none}.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:E(this.attributes),customElement:!0},Sa,_a,o,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:45,showallpage:46,actionevent:47,displayedgamecount:48,showallbuttongamescount:49},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","translationurl","currency","categoryid","showgamename","livecasino","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","casinomygames","addfilterselector","addsortingselector","filterbylogo","casinogamesgridslider","fetchviaevent","showallpage","actionevent","displayedgamecount","showallbuttongamescount"]}get endpoint(){return this.$$.ctx[3]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[4]}set datasource(e){this.$$set({datasource:e}),B()}get lang(){return this.$$.ctx[5]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[6]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[7]}set userid(e){this.$$set({userid:e}),B()}get favorites(){return this.$$.ctx[8]}set favorites(e){this.$$set({favorites:e}),B()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),B()}get currency(){return this.$$.ctx[12]}set currency(e){this.$$set({currency:e}),B()}get categoryid(){return this.$$.ctx[0]}set categoryid(e){this.$$set({categoryid:e}),B()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),B()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),B()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(e){this.$$set({addfilterselector:e}),B()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(e){this.$$set({addsortingselector:e}),B()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(e){this.$$set({filterbylogo:e}),B()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(e){this.$$set({casinogamesgridslider:e}),B()}get fetchviaevent(){return this.$$.ctx[45]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}get showallpage(){return this.$$.ctx[46]}set showallpage(e){this.$$set({showallpage:e}),B()}get actionevent(){return this.$$.ctx[47]}set actionevent(e){this.$$set({actionevent:e}),B()}get displayedgamecount(){return this.$$.ctx[48]}set displayedgamecount(e){this.$$set({displayedgamecount:e}),B()}get showallbuttongamescount(){return this.$$.ctx[49]}set showallbuttongamescount(e){this.$$set({showallbuttongamescount:e}),B()}});class Ga extends W{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:E(this.attributes),customElement:!0},Ea,Ca,o,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,livecasino:8,integratedgameframemobile:9,integratedgameframedesktop:10,gamepagemodalurl:11,showgamename:12,visiblegames:13,favorites:14,translationurl:20,casinomygames:15,mostplayedperiod:21,mostplayedrounds:22,fetchviaevent:16},null,[-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","livecasino","integratedgameframemobile","integratedgameframedesktop","gamepagemodalurl","showgamename","visiblegames","favorites","translationurl","casinomygames","mostplayedperiod","mostplayedrounds","fetchviaevent"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),B()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),B()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),B()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),B()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),B()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),B()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),B()}get integratedgameframemobile(){return this.$$.ctx[9]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),B()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),B()}get gamepagemodalurl(){return this.$$.ctx[11]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),B()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),B()}get visiblegames(){return this.$$.ctx[13]}set visiblegames(e){this.$$set({visiblegames:e}),B()}get favorites(){return this.$$.ctx[14]}set favorites(e){this.$$set({favorites:e}),B()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),B()}get casinomygames(){return this.$$.ctx[15]}set casinomygames(e){this.$$set({casinomygames:e}),B()}get mostplayedperiod(){return this.$$.ctx[21]}set mostplayedperiod(e){this.$$set({mostplayedperiod:e}),B()}get mostplayedrounds(){return this.$$.ctx[22]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),B()}get fetchviaevent(){return this.$$.ctx[16]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),B()}}return!customElements.get("casino-most-played-section")&&customElements.define("casino-most-played-section",Ga),Ga}));
|
1466
1466
|
//# sourceMappingURL=casino-most-played-section.js.map
|