@everymatrix/casino-my-games-nd 1.77.18 → 1.77.20

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.
Files changed (43) hide show
  1. package/components/CasinoFavoritesSectionNd-BVC1650M.cjs +16 -0
  2. package/components/{CasinoFavoritesSectionNd-yL7bG7cr.js → CasinoFavoritesSectionNd-BW053lHx.js} +1159 -1129
  3. package/components/{CasinoFavoritesSectionNd-CIaQmLaZ.js → CasinoFavoritesSectionNd-nG2ynMJJ.js} +1123 -1093
  4. package/components/{CasinoFilter-Do8RpGVV.js → CasinoFilter-BNyX6f2y.js} +157 -225
  5. package/components/CasinoFilter-D_bF3IJE.cjs +3 -0
  6. package/components/{CasinoFilter-C9-vbAdr.js → CasinoFilter-Dj714vut.js} +239 -309
  7. package/components/{CasinoGameThumbnailNd-Bfc5gihp.js → CasinoGameThumbnailNd-CWjsIAeY.js} +3 -3
  8. package/components/{CasinoGameThumbnailNd-aSAssa6M.cjs → CasinoGameThumbnailNd-Dd3kp87R.cjs} +1 -1
  9. package/components/{CasinoGameThumbnailNd-CIzMLSSe.js → CasinoGameThumbnailNd-o2OCgL48.js} +3 -3
  10. package/components/{CasinoGamesCategorySectionNd-Dc_wSU_N.js → CasinoGamesCategorySectionNd-BpWe-6bs.js} +60 -60
  11. package/components/{CasinoGamesCategorySectionNd-ByRcEXhY.js → CasinoGamesCategorySectionNd-CLedgRK9.js} +127 -127
  12. package/components/{CasinoGamesCategorySectionNd-DTFGyINc.cjs → CasinoGamesCategorySectionNd-upR5fOZe.cjs} +1 -1
  13. package/components/{CasinoLastPlayedSectionNd-EqZB4qaX.cjs → CasinoLastPlayedSectionNd-5jzzfUzp.cjs} +1 -1
  14. package/components/{CasinoLastPlayedSectionNd-1sY6IwWp.js → CasinoLastPlayedSectionNd-BJ4ENstr.js} +36 -36
  15. package/components/{CasinoLastPlayedSectionNd-CeP6reIP.js → CasinoLastPlayedSectionNd-C6RqMd30.js} +36 -36
  16. package/components/{CasinoMostPlayedSectionNd-CYQhxyW8.js → CasinoMostPlayedSectionNd-BSTtmAYL.js} +26 -26
  17. package/components/{CasinoMostPlayedSectionNd-BJup9vMb.js → CasinoMostPlayedSectionNd-DDcuJkEU.js} +26 -26
  18. package/components/{CasinoMostPlayedSectionNd-B6Oa9omn.cjs → CasinoMostPlayedSectionNd-se3ZyDIi.cjs} +1 -1
  19. package/components/{CasinoMyGamesNd-Dzi-kA2k.js → CasinoMyGamesNd-CsLusGyl.js} +21 -21
  20. package/components/{CasinoMyGamesNd-CT2PNyPj.cjs → CasinoMyGamesNd-D_u-w13U.cjs} +1 -1
  21. package/components/{CasinoMyGamesNd-CYQuetAd.js → CasinoMyGamesNd-LmN1UL9A.js} +23 -23
  22. package/components/{CasinoSort-Cij3MZNh.js → CasinoSort-CE2_DwIO.js} +13 -13
  23. package/components/{CasinoSort-C1FHS127.js → CasinoSort-DG_n7paF.js} +13 -13
  24. package/components/{CasinoSort-CzuM3yRC.cjs → CasinoSort-DTc5vM44.cjs} +1 -1
  25. package/es2015/casino-my-games-nd.cjs +1 -1
  26. package/es2015/casino-my-games-nd.js +1 -1
  27. package/esnext/casino-my-games-nd.js +1 -1
  28. package/package.json +1 -1
  29. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-B0NIExnR.js} +2 -2
  30. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-D6HPqRtr.js} +2 -2
  31. package/stencil/index-97d17652-DNpK20ur.cjs +1 -0
  32. package/stencil/{ui-image-CHeV8e9p.js → ui-image-BY8ZO6br.js} +1 -1
  33. package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-DJSOH8ZL.cjs} +1 -1
  34. package/stencil/{ui-image-C7s6Uvn5.js → ui-image-DfVgiF6v.js} +1 -1
  35. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
  36. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
  37. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
  38. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Cdo33umq.cjs} +1 -1
  39. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-DbQ7SENq.js} +2 -2
  40. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-L-CYescb.js} +2 -2
  41. package/components/CasinoFavoritesSectionNd-BXf5dIxF.cjs +0 -3
  42. package/components/CasinoFilter-C0HjHa4h.cjs +0 -16
  43. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
@@ -0,0 +1,3 @@
1
+ "use strict";const r=require("./CasinoFavoritesSectionNd-BVC1650M.cjs");function I(i){return typeof i=="function"}function de(i){var t=function(n){Error.call(n),n.stack=new Error().stack},e=i(t);return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}var K=de(function(i){return function(e){i(this),this.message=e?e.length+` errors occurred during unsubscription:
2
+ `+e.map(function(n,l){return l+1+") "+n.toString()}).join(`
3
+ `):"",this.name="UnsubscriptionError",this.errors=e}});function Q(i,t){if(i){var e=i.indexOf(t);0<=e&&i.splice(e,1)}}var G=function(){function i(t){this.initialTeardown=t,this.closed=!1,this._parentage=null,this._finalizers=null}return i.prototype.unsubscribe=function(){var t,e,n,l,o;if(!this.closed){this.closed=!0;var s=this._parentage;if(s)if(this._parentage=null,Array.isArray(s))try{for(var u=r.__values(s),d=u.next();!d.done;d=u.next()){var m=d.value;m.remove(this)}}catch(b){t={error:b}}finally{try{d&&!d.done&&(e=u.return)&&e.call(u)}finally{if(t)throw t.error}}else s.remove(this);var f=this.initialTeardown;if(I(f))try{f()}catch(b){o=b instanceof K?b.errors:[b]}var _=this._finalizers;if(_){this._finalizers=null;try{for(var g=r.__values(_),x=g.next();!x.done;x=g.next()){var C=x.value;try{ee(C)}catch(b){o=o!=null?o:[],b instanceof K?o=r.__spreadArray(r.__spreadArray([],r.__read(o)),r.__read(b.errors)):o.push(b)}}}catch(b){n={error:b}}finally{try{x&&!x.done&&(l=g.return)&&l.call(g)}finally{if(n)throw n.error}}}if(o)throw new K(o)}},i.prototype.add=function(t){var e;if(t&&t!==this)if(this.closed)ee(t);else{if(t instanceof i){if(t.closed||t._hasParent(this))return;t._addParent(this)}(this._finalizers=(e=this._finalizers)!==null&&e!==void 0?e:[]).push(t)}},i.prototype._hasParent=function(t){var e=this._parentage;return e===t||Array.isArray(e)&&e.includes(t)},i.prototype._addParent=function(t){var e=this._parentage;this._parentage=Array.isArray(e)?(e.push(t),e):e?[e,t]:t},i.prototype._removeParent=function(t){var e=this._parentage;e===t?this._parentage=null:Array.isArray(e)&&Q(e,t)},i.prototype.remove=function(t){var e=this._finalizers;e&&Q(e,t),t instanceof i&&t._removeParent(this)},i.EMPTY=function(){var t=new i;return t.closed=!0,t}(),i}(),pe=G.EMPTY;function fe(i){return i instanceof G||i&&"closed"in i&&I(i.remove)&&I(i.add)&&I(i.unsubscribe)}function ee(i){I(i)?i():i.unsubscribe()}var Fe={Promise:void 0},we={setTimeout:function(i,t){for(var e=[],n=2;n<arguments.length;n++)e[n-2]=arguments[n];return setTimeout.apply(void 0,r.__spreadArray([i,t],r.__read(e)))},clearTimeout:function(i){return clearTimeout(i)},delegate:void 0};function Se(i){we.setTimeout(function(){throw i})}function te(){}function Z(i){i()}var he=function(i){r.__extends(t,i);function t(e){var n=i.call(this)||this;return n.isStopped=!1,e?(n.destination=e,fe(e)&&e.add(n)):n.destination=ke,n}return t.create=function(e,n,l){return new X(e,n,l)},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,i.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}(G),xe=function(){function i(t){this.partialObserver=t}return i.prototype.next=function(t){var e=this.partialObserver;if(e.next)try{e.next(t)}catch(n){Y(n)}},i.prototype.error=function(t){var e=this.partialObserver;if(e.error)try{e.error(t)}catch(n){Y(n)}else Y(t)},i.prototype.complete=function(){var t=this.partialObserver;if(t.complete)try{t.complete()}catch(e){Y(e)}},i}(),X=function(i){r.__extends(t,i);function t(e,n,l){var o=i.call(this)||this,s;return I(e)||!e?s={next:e!=null?e:void 0,error:n!=null?n:void 0,complete:l!=null?l:void 0}:s=e,o.destination=new xe(s),o}return t}(he);function Y(i){Se(i)}function Ce(i){throw i}var ke={closed:!0,next:te,error:Ce,complete:te},Pe=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}();function Ee(i){return i}function Ie(i){return i.length===0?Ee:i.length===1?i[0]:function(e){return i.reduce(function(n,l){return l(n)},e)}}var re=function(){function i(t){t&&(this._subscribe=t)}return i.prototype.lift=function(t){var e=new i;return e.source=this,e.operator=t,e},i.prototype.subscribe=function(t,e,n){var l=this,o=Oe(t)?t:new X(t,e,n);return Z(function(){var s=l,u=s.operator,d=s.source;o.add(u?u.call(o,d):d?l._subscribe(o):l._trySubscribe(o))}),o},i.prototype._trySubscribe=function(t){try{return this._subscribe(t)}catch(e){t.error(e)}},i.prototype.forEach=function(t,e){var n=this;return e=ie(e),new e(function(l,o){var s=new X({next:function(u){try{t(u)}catch(d){o(d),s.unsubscribe()}},error:o,complete:l});n.subscribe(s)})},i.prototype._subscribe=function(t){var e;return(e=this.source)===null||e===void 0?void 0:e.subscribe(t)},i.prototype[Pe]=function(){return this},i.prototype.pipe=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];return Ie(t)(this)},i.prototype.toPromise=function(t){var e=this;return t=ie(t),new t(function(n,l){var o;e.subscribe(function(s){return o=s},function(s){return l(s)},function(){return n(o)})})},i.create=function(t){return new i(t)},i}();function ie(i){var t;return(t=i!=null?i:Fe.Promise)!==null&&t!==void 0?t:Promise}function Le(i){return i&&I(i.next)&&I(i.error)&&I(i.complete)}function Oe(i){return i&&i instanceof he||Le(i)&&fe(i)}var Te=de(function(i){return function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}}),me=function(i){r.__extends(t,i);function t(){var e=i.call(this)||this;return e.closed=!1,e.currentObservers=null,e.observers=[],e.isStopped=!1,e.hasError=!1,e.thrownError=null,e}return t.prototype.lift=function(e){var n=new ne(this,this);return n.operator=e,n},t.prototype._throwIfClosed=function(){if(this.closed)throw new Te},t.prototype.next=function(e){var n=this;Z(function(){var l,o;if(n._throwIfClosed(),!n.isStopped){n.currentObservers||(n.currentObservers=Array.from(n.observers));try{for(var s=r.__values(n.currentObservers),u=s.next();!u.done;u=s.next()){var d=u.value;d.next(e)}}catch(m){l={error:m}}finally{try{u&&!u.done&&(o=s.return)&&o.call(s)}finally{if(l)throw l.error}}}})},t.prototype.error=function(e){var n=this;Z(function(){if(n._throwIfClosed(),!n.isStopped){n.hasError=n.isStopped=!0,n.thrownError=e;for(var l=n.observers;l.length;)l.shift().error(e)}})},t.prototype.complete=function(){var e=this;Z(function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var n=e.observers;n.length;)n.shift().complete()}})},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return((e=this.observers)===null||e===void 0?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(e){return this._throwIfClosed(),i.prototype._trySubscribe.call(this,e)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var n=this,l=this,o=l.hasError,s=l.isStopped,u=l.observers;return o||s?pe:(this.currentObservers=null,u.push(e),new G(function(){n.currentObservers=null,Q(u,e)}))},t.prototype._checkFinalizedStatuses=function(e){var n=this,l=n.hasError,o=n.thrownError,s=n.isStopped;l?e.error(o):s&&e.complete()},t.prototype.asObservable=function(){var e=new re;return e.source=this,e},t.create=function(e,n){return new ne(e,n)},t}(re),ne=function(i){r.__extends(t,i);function t(e,n){var l=i.call(this)||this;return l.destination=e,l.source=n,l}return t.prototype.next=function(e){var n,l;(l=(n=this.destination)===null||n===void 0?void 0:n.next)===null||l===void 0||l.call(n,e)},t.prototype.error=function(e){var n,l;(l=(n=this.destination)===null||n===void 0?void 0:n.error)===null||l===void 0||l.call(n,e)},t.prototype.complete=function(){var e,n;(n=(e=this.destination)===null||e===void 0?void 0:e.complete)===null||n===void 0||n.call(e)},t.prototype._subscribe=function(e){var n,l;return(l=(n=this.source)===null||n===void 0?void 0:n.subscribe(e))!==null&&l!==void 0?l:pe},t}(me),be={now:function(){return(be.delegate||Date).now()},delegate:void 0},Ae=function(i){r.__extends(t,i);function t(e,n,l){e===void 0&&(e=1/0),n===void 0&&(n=1/0),l===void 0&&(l=be);var o=i.call(this)||this;return o._bufferSize=e,o._windowTime=n,o._timestampProvider=l,o._buffer=[],o._infiniteTimeWindow=!0,o._infiniteTimeWindow=n===1/0,o._bufferSize=Math.max(1,e),o._windowTime=Math.max(1,n),o}return t.prototype.next=function(e){var n=this,l=n.isStopped,o=n._buffer,s=n._infiniteTimeWindow,u=n._timestampProvider,d=n._windowTime;l||(o.push(e),!s&&o.push(u.now()+d)),this._trimBuffer(),i.prototype.next.call(this,e)},t.prototype._subscribe=function(e){this._throwIfClosed(),this._trimBuffer();for(var n=this._innerSubscribe(e),l=this,o=l._infiniteTimeWindow,s=l._buffer,u=s.slice(),d=0;d<u.length&&!e.closed;d+=o?1:2)e.next(u[d]);return this._checkFinalizedStatuses(e),n},t.prototype._trimBuffer=function(){var e=this,n=e._bufferSize,l=e._timestampProvider,o=e._buffer,s=e._infiniteTimeWindow,u=(s?1:2)*n;if(n<1/0&&u<o.length&&o.splice(0,o.length-u),!s){for(var d=l.now(),m=0,f=1;f<o.length&&o[f]<=d;f+=2)m=f;m&&o.splice(0,m+1)}},t}(me);const le=[],oe={},je=(i,t=0)=>{if(le.indexOf(i)==-1){const e=new Ae(t);oe[i]=e,le.push(i)}return oe[i]};window.emWidgets={topic:je};const ge=i=>!!(i.toLowerCase().match(/android/i)||i.toLowerCase().match(/blackberry|bb/i)||i.toLowerCase().match(/iphone|ipad|ipod/i)||i.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)),ve=i=>i.toLowerCase().match(/android/i)?"Android":i.toLowerCase().match(/iphone/i)?"iPhone":i.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";function Me(i,t){const e=window.navigator.userAgent;return ge(e)?t=i.filter(n=>{if(n.gameModel&&(n.gameModel.platform.includes("iPad")||n.gameModel.platform.includes("iPhone")||n.gameModel.platform.includes("Android")))return n}):t=i.filter(n=>{if(n.gameModel&&n.gameModel.platform.includes("PC"))return n}),t}function Be({withLocale:i,translations:t}){r.$locale.subscribe(e=>{e==null&&(r.$dictionary.set(t),r.$locale.set(i))})}function ae(i,t){r.addMessages(i,t)}const se={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"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function We(i){r.append_styles(i,"svelte-14m0j7n",':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--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(--emw--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(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.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 var(--emw--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(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.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(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--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}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}')}function ce(i,t,e){const n=i.slice();return n[37]=t[e],n[38]=t,n[39]=e,n}function ze(i){let t,e,n,l,o,s,u,d,m=i[11]("filterby")+"",f,_,g,x,C=i[11]("providers")+"",b,S,F,v,h,P,L,A,W,w,O,R,E,j=i[11]("clear")+"",z,M,D,B,U,H;function J(c,y){return c[7]?Ve:Ue}let V=J(i),k=V(i),T=r.ensure_array_like(i[5]),a=[];for(let c=0;c<T.length;c+=1)a[c]=ue(ce(i,T,c));return{c(){t=r.element("div"),e=r.element("div"),n=r.element("div"),l=r.svg_element("svg"),o=r.svg_element("path"),s=r.space(),u=r.element("div"),d=r.element("span"),f=r.text(m),_=r.space(),g=r.element("div"),x=r.element("span"),b=r.text(C),S=r.space(),k.c(),F=r.space(),v=r.element("span"),h=r.svg_element("svg"),P=r.svg_element("path"),W=r.space(),w=r.element("div"),O=r.element("ul");for(let c=0;c<a.length;c+=1)a[c].c();R=r.space(),E=r.element("button"),z=r.text(j),r.attr(o,"id","noun_filter_736223"),r.attr(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"),r.attr(o,"transform","translate(-5 -6.2)"),r.attr(o,"fill","#fff"),r.attr(l,"xmlns","http://www.w3.org/2000/svg"),r.attr(l,"width","16"),r.attr(l,"height","16"),r.attr(l,"viewBox","0 0 16 16"),r.attr(d,"class","FilterName"),r.attr(g,"class","FilterValueContainer"),r.attr(u,"class","FilterTextContainer"),r.attr(n,"class","FilterMainArea"),r.attr(P,"id","arrow"),r.attr(P,"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"),r.attr(P,"transform","translate(-274.511 -441.088)"),r.attr(P,"fill","#d1d1d1"),r.attr(h,"xmlns","http://www.w3.org/2000/svg"),r.attr(h,"width","14"),r.attr(h,"height","6.835"),r.attr(h,"viewBox","0 0 14 6.835"),r.attr(v,"class",L="TriangleInactive "+(i[4]?"TriangleActive":"")),r.attr(e,"class",A="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),r.attr(O,"class","FilterDropdown"),r.attr(E,"class","ClearFilters"),E.disabled=M=i[7]&&i[6].length!=i[5].length,r.attr(w,"class",D="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),r.attr(t,"class",B="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(c,y){r.insert(c,t,y),r.append(t,e),r.append(e,n),r.append(n,l),r.append(l,o),r.append(n,s),r.append(n,u),r.append(u,d),r.append(d,f),r.append(u,_),r.append(u,g),r.append(g,x),r.append(x,b),r.append(g,S),k.m(g,null),r.append(e,F),r.append(e,v),r.append(v,h),r.append(h,P),r.append(t,W),r.append(t,w),r.append(w,O);for(let p=0;p<a.length;p+=1)a[p]&&a[p].m(O,null);r.append(w,R),r.append(w,E),r.append(E,z),U||(H=[r.listen(e,"click",i[24]),r.listen(E,"click",i[27])],U=!0)},p(c,y){if(y[0]&2048&&m!==(m=c[11]("filterby")+"")&&r.set_data(f,m),y[0]&2048&&C!==(C=c[11]("providers")+"")&&r.set_data(b,C),V===(V=J(c))&&k?k.p(c,y):(k.d(1),k=V(c),k&&(k.c(),k.m(g,null))),y[0]&16&&L!==(L="TriangleInactive "+(c[4]?"TriangleActive":""))&&r.attr(v,"class",L),y[0]&16&&A!==(A="FilterSelector "+(c[4]?"FilterSelectorOpen":""))&&r.attr(e,"class",A),y[0]&8228){T=r.ensure_array_like(c[5]);let p;for(p=0;p<T.length;p+=1){const N=ce(c,T,p);a[p]?a[p].p(N,y):(a[p]=ue(N),a[p].c(),a[p].m(O,null))}for(;p<a.length;p+=1)a[p].d(1);a.length=T.length}y[0]&2048&&j!==(j=c[11]("clear")+"")&&r.set_data(z,j),y[0]&224&&M!==(M=c[7]&&c[6].length!=c[5].length)&&(E.disabled=M),y[0]&16&&D!==(D="FilterDropdownContainer "+(c[4]?"FilterOpen":""))&&r.attr(w,"class",D),y[0]&3&&B!==(B="FilterContainer "+(c[0]=="true"&&c[1]=="true"?"FilerContainerSplit":""))&&r.attr(t,"class",B)},d(c){c&&r.detach(t),k.d(),r.destroy_each(a,c),U=!1,r.run_all(H)}}}function De(i){let t,e=i[11]("500")+"";return{c(){t=r.element("p"),r.attr(t,"class","SearchLoading")},m(n,l){r.insert(n,t,l),t.innerHTML=e},p(n,l){l[0]&2048&&e!==(e=n[11]("500")+"")&&(t.innerHTML=e)},d(n){n&&r.detach(t)}}}function Ue(i){let t,e;return{c(){t=r.element("span"),e=r.text(i[8]),r.attr(t,"class","FilterCounter")},m(n,l){r.insert(n,t,l),r.append(t,e)},p(n,l){l[0]&256&&r.set_data(e,n[8])},d(n){n&&r.detach(t)}}}function Ve(i){let t,e=i[11]("all")+"",n;return{c(){t=r.element("span"),n=r.text(e),r.attr(t,"class","FilterCounter")},m(l,o){r.insert(l,t,o),r.append(t,n)},p(l,o){o[0]&2048&&e!==(e=l[11]("all")+"")&&r.set_data(n,e)},d(l){l&&r.detach(t)}}}function Ne(i){let t,e;return{c(){t=r.element("img"),r.src_url_equal(t.src,e=i[37].logo)||r.attr(t,"src",e),r.attr(t,"alt","vendor logo")},m(n,l){r.insert(n,t,l)},p(n,l){l[0]&32&&!r.src_url_equal(t.src,e=n[37].logo)&&r.attr(t,"src",e)},d(n){n&&r.detach(t)}}}function Re(i){let t,e,n=i[37].name+"",l,o,s,u,d=i[37].games.total+"",m,f;return{c(){t=r.element("div"),e=r.element("span"),l=r.text(n),o=r.space(),s=r.element("span"),u=r.text("("),m=r.text(d),f=r.text(")"),r.attr(e,"class","VendorName"),r.attr(t,"class","FilterItemLabel")},m(_,g){r.insert(_,t,g),r.append(t,e),r.append(e,l),r.append(t,o),r.append(t,s),r.append(s,u),r.append(s,m),r.append(s,f)},p(_,g){g[0]&32&&n!==(n=_[37].name+"")&&r.set_data(l,n),g[0]&32&&d!==(d=_[37].games.total+"")&&r.set_data(m,d)},d(_){_&&r.detach(t)}}}function ue(i){let t,e,n,l,o,s,u,d,m,f,_,g;function x(){i[25].call(n,i[38],i[39])}function C(){return i[26](i[37])}function b(v,h){if(v[2]==="false")return Re;if(v[2]==="true")return Ne}let S=b(i),F=S&&S(i);return{c(){t=r.element("li"),e=r.element("label"),n=r.element("input"),o=r.space(),s=r.element("span"),u=r.space(),F&&F.c(),d=r.space(),r.attr(n,"type","checkbox"),r.attr(n,"name","checkbox"),n.__value=l=i[37].name,r.set_input_value(n,n.__value),r.attr(s,"class","FiltersCheckmark"),r.attr(e,"class","FilterLabel"),r.attr(t,"class",m="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=f=i[37].name},m(v,h){r.insert(v,t,h),r.append(t,e),r.append(e,n),n.checked=i[37].isFilterSelected,r.append(e,o),r.append(e,s),r.append(e,u),F&&F.m(e,null),r.append(t,d),_||(g=[r.listen(n,"change",x),r.listen(n,"click",C)],_=!0)},p(v,h){i=v,h[0]&32&&l!==(l=i[37].name)&&(n.__value=l,r.set_input_value(n,n.__value)),h[0]&32&&(n.checked=i[37].isFilterSelected),S===(S=b(i))&&F?F.p(i,h):(F&&F.d(1),F=S&&S(i),F&&(F.c(),F.m(e,null))),h[0]&4&&m!==(m="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&r.attr(t,"class",m),h[0]&32&&f!==(f=i[37].name)&&(t.value=f)},d(v){v&&r.detach(t),F&&F.d(),_=!1,r.run_all(g)}}}function He(i){let t;function e(o,s){if(o[10])return De;if(!o[9])return ze}let n=e(i),l=n&&n(i);return{c(){t=r.element("div"),l&&l.c()},m(o,s){r.insert(o,t,s),l&&l.m(t,null),i[28](t)},p(o,s){n===(n=e(o))&&l?l.p(o,s):(l&&l.d(1),l=n&&n(o),l&&(l.c(),l.m(t,null)))},i:r.noop,o:r.noop,d(o){o&&r.detach(t),l&&l.d(),i[28](null)}}}function Je(i,t,e){let n;r.component_subscribe(i,r.$format,a=>e(11,n=a));let{endpoint:l=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{translationurl:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:m=""}=t,{categoryid:f=""}=t,{addfilterselector:_="false"}=t,{addsortingselector:g="false"}=t,{filterbylogo:x="false"}=t,{mbsource:C}=t,{usesinglevendorfilter:b="false"}=t,S=!1,F=window.navigator.userAgent,v=[],h=[],P={},L=!1,A=0,W=!0,w,O=!1;Be({withLocale:"en",translations:{}});const R=()=>{fetch(u).then(c=>c.json()).then(c=>{Object.keys(c).forEach(y=>{ae(y,c[y])})}).catch(c=>{console.log(c)})};Object.keys(se).forEach(a=>{ae(a,se[a])}),P[f]&&(P={[f]:[]});const E=()=>{e(4,S=!S),window.postMessage({type:"FilterOpened"},window.location.href)},j=a=>(e(9,W=!0),new Promise((c,y)=>{fetch(a).then(p=>p.json()).then(p=>{p=p.items,c(p.items),e(6,h=[]);let N=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const _e=b==="true"?"*":f;p.forEach(q=>{var $;N||(N={currentCategoryId:[]}),(($=N[_e])==null?void 0:$.indexOf(q.id))>=0?(q.isFilterSelected=!0,h.push(q)):q.isFilterSelected=!1}),e(5,v=p),M()}).catch(p=>{console.error(p),e(10,O=!0),y(p)}).finally(()=>{e(9,W=!1)})})),z=a=>{let c=localStorage.getItem("vendorFiltersByCategory");a.isFilterSelected=!a.isFilterSelected,!h.length||h.filter(p=>p.name===a.name).length==0?h.push(a):e(6,h=h.filter(p=>p.name!==a.name));const y=b==="true"?"*":f;c==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(P={[y]:h.map(p=>p.id)})):(c=JSON.parse(c),c[y]=h.map(p=>p.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(c))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),M()},M=()=>{e(7,L=h.length===v.length||h.length==0),e(8,A=h.length)},D=()=>{if(v.length&&b==="true")return;const a=new URL(`${l}/v1/casino/vendors`);e(4,S=!1),a.searchParams.append("fields","id,name,logo,subVendors,games"),a.searchParams.append("language",s),a.searchParams.append("datasource",o),a.searchParams.append("platform",ve(F)),b==="true"||((f.match(/\$/g)||[]).length>1?(a.searchParams.append("filter",`games(subGroups=${f})`),a.searchParams.append("subVendors",`games(subGroups=${f})`)):a.searchParams.append("filter",`games(groups=${f})`)),j(a)},B=()=>{e(6,h=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(P={[b==="true"?"*":f]:h.map(a=>a.id)})),v.forEach(a=>a.isFilterSelected=!1),e(5,v),window.postMessage({type:"ApplyFilters"},window.location.href),e(7,L=!0),e(4,S=!1)},U=a=>{a.data.type=="SortingOpened"&&e(4,S=!1)};r.onMount(()=>(window.addEventListener("message",U,!1),()=>{window.removeEventListener("message",U)}));const H=()=>E();function J(a,c){a[c].isFilterSelected=this.checked,e(5,v)}const V=a=>z(a),k=()=>B();function T(a){r.binding_callbacks[a?"unshift":"push"](()=>{w=a,e(3,w)})}return i.$$set=a=>{"endpoint"in a&&e(15,l=a.endpoint),"datasource"in a&&e(16,o=a.datasource),"lang"in a&&e(17,s=a.lang),"translationurl"in a&&e(18,u=a.translationurl),"clientstyling"in a&&e(19,d=a.clientstyling),"clientstylingurl"in a&&e(20,m=a.clientstylingurl),"categoryid"in a&&e(21,f=a.categoryid),"addfilterselector"in a&&e(0,_=a.addfilterselector),"addsortingselector"in a&&e(1,g=a.addsortingselector),"filterbylogo"in a&&e(2,x=a.filterbylogo),"mbsource"in a&&e(22,C=a.mbsource),"usesinglevendorfilter"in a&&e(23,b=a.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&l&&o&&f&&x&&D(),i.$$.dirty[0]&524296&&d&&w&&r.setClientStyling(w,d),i.$$.dirty[0]&1048584&&m&&w&&r.setClientStylingURL(w,m),i.$$.dirty[0]&4194312&&w&&r.setStreamStyling(w,`${C}.Style`),i.$$.dirty[0]&262144&&u&&R()},[_,g,x,w,S,v,h,L,A,W,O,n,E,z,B,l,o,s,u,d,m,f,C,b,H,J,V,k,T]}class ye extends r.SvelteComponent{constructor(t){super(),r.init(this,t,Je,He,r.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2,mbsource:22,usesinglevendorfilter:23},We,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),r.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),r.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),r.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),r.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),r.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),r.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),r.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),r.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),r.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),r.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),r.flush()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),r.flush()}}r.create_custom_element(ye,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);const qe=Object.freeze(Object.defineProperty({__proto__:null,default:ye},Symbol.toStringTag,{value:"Module"}));exports.CasinoFilter_ce=qe;exports.getDevice=ve;exports.isMobile=ge;exports.platformFavorite=Me;